PageSourceSearch

https://www.globalblue.com/6138.e668618918338222.js

js globalblue.com collected 2026-10-02 02:28:22 UTC 4,737 bytes, 1 lines download raw bytes

1(self.webpackChunkhost=self.webpackChunkhost||[]).push([[6138],{6138(Y,m,h){h.r(m),h.d(m,{deepComputed:()=>_,getState:()=>p,isWritableStateSource:()=>P,patchState:()=>W,signalMethod:()=>k,signalState:()=>L,signalStore:()=>F,signalStoreFeature:()=>N,type:()=>q,watchState:()=>x,withComputed:()=>G,withFeature:()=>H,withHooks:()=>z,withLinkedState:()=>V,withMethods:()=>$,withProps:()=>j,withState:()=>J});var r=h(619);const M=Symbol("");function l(t){return new Proxy(t,{has(e,n){return!!this.get(e,n,void 0)},get(e,n){const o=(0,r.untracked)(e);return function K(t){if(null===t||"object"!=typeof t||function E(t){return"function"==typeof t?.[Symbol.iterator]}(t))return!1;let e=Object.getPrototypeOf(t);if(e===Object.prototype)return!0;for(;e&&e!==Object.prototype;){if(I.includes(e.constructor))return!1;e=Object.getPrototypeOf(e)}return e===Object.prototype}(o)&&n in o?((0,r.isSignal)(e[n])||(Object.defineProperty(e,n,{value:(0,r.computed)(()=>e()[n]),configurable:!0}),e[n][M]=!0),l(e[n])):((0,r.isSignal)(e[n])&&e[n][M]&&delete e[n],e[n])}})}const I=[WeakSet,WeakMap,Promise,Date,Error,RegExp,ArrayBuffer,DataView,Function];function _(t){return l((0,r.computed)(t))}function k(t,e){const n=[],o=e?.injector??(0,r.inject)(r.Injector),i=(s,c)=>{if(function O(t){return"function"==typeof t}(s)){const u=function C(){try{return(0,r.inject)(r.Injector)}catch{return}}(),f=c?.injector??u??o,g=(0,r.effect)(()=>{const d=s();(0,r.untracked)(()=>t(d))},{injector:f});return n.push(g),f.get(r.DestroyRef).onDestroy(()=>{const d=n.indexOf(g);-1!==d&&n.splice(d,1)}),g}return t(s),{destroy:()=>{}}};return i.destroy=()=>n.forEach(s=>s.destroy()),i}const S=new WeakMap,a=Symbol("");function D(t){return(0,r.isSignal)(t)&&"set"in t&&"update"in t&&"function"==typeof t.set&&"function"==typeof t.update}function P(t){const e=t[a];return Reflect.ownKeys(t[a]).every(n=>D(e[n]))}function W(t,...e){const n=(0,r.untracked)(()=>p(t)),o=e.reduce((c,u)=>({...c,..."function"==typeof u?u(c):u}),n),i=t[a],s=Reflect.ownKeys(t[a]);for(const c of Reflect.ownKeys(o))s.includes(c)&&n[c]!==o[c]&&i[c].set(o[c]);!function A(t){const e=w(t);for(const n of e)n((0,r.untracked)(()=>p(t)))}(t)}function p(t){const e=t[a];return Reflect.ownKeys(t[a]).reduce((n,o)=>{const i=e[o]();return{...n,[o]:i}},{})}function x(t,e,n){const i=(n?.injector??(0,r.inject)(r.Injector)).get(r.DestroyRef);(function T(t,e){const n=w(t);S.set(t[a],[...n,e])})(t,e),e(p(t));const s=()=>function U(t,e){const n=w(t);S.set(t[a],n.filter(o=>o!==e))}(t,e);return i.onDestroy(s),{destroy:s}}function w(t){return S.get(t[a])||[]}function L(t){const e=Reflect.ownKeys(t),n=e.reduce((i,s)=>({...i,[s]:(0,r.signal)(t[s])}),{}),o=(0,r.computed)(()=>e.reduce((i,s)=>({...i,[s]:n[s]()}),{}),{});Object.defineProperty(o,a,{value:n});for(const i of e)Object.defineProperty(o,i,{value:l(n[i])});return o}function F(...t){const e=[...t],n="function"==typeof e[0]?{}:e.shift(),o=e;return(()=>{class s{constructor(){const u=o.reduce((y,X)=>X(y),function B(){return{[a]:{},stateSignals:{},props:{},methods:{},hooks:{}}}()),{stateSignals:f,props:g,methods:d,hooks:Q}=u,v={...f,...g,...d};this[a]=u[a];for(const y of Reflect.ownKeys(v))this[y]=v[y];const{onInit:b,onDestroy:R}=Q;b&&b(),R&&(0,r.inject)(r.DestroyRef).onDestroy(R)}static \u0275fac=function(f){return new(f||s)};static \u0275prov=r.\u0275\u0275defineInjectable({token:s,factory:s.\u0275fac,providedIn:n.providedIn||null})}return s})()}function N(...t){const e="function"==typeof t[0]?t:t.slice(1);return n=>e.reduce((o,i)=>i(o),n)}function q(){}function j(t){return e=>{const n=t({[a]:e[a],...e.stateSignals,...e.props,...e.methods});return{...e,props:{...e.props,...n}}}}function G(t){return j(e=>{const n=t(e);return Reflect.ownKeys(n).reduce((i,s)=>{const c=n[s];return{...i,[s]:(0,r.isSignal)(c)?c:(0,r.computed)(c)}},{})})}function H(t){return e=>{const n={[a]:e[a],...e.stateSignals,...e.props,...e.methods};return t(n)(e)}}function z(t){return e=>{const n={[a]:e[a],...e.stateSignals,...e.props,...e.methods},o="function"==typeof t?t(n):t,i=(s,c)=>c?()=>{s&&s(),c(n)}:s;return{...e,hooks:{onInit:i(e.hooks.onInit,o.onInit),onDestroy:i(e.hooks.onDestroy,o.onDestroy)}}}}function V(t){return e=>{const n=t({...e.stateSignals,...e.props}),o=Reflect.ownKeys(n),i=e[a],s={};for(const c of o){const u=n[c];i[c]=D(u)?u:(0,r.linkedSignal)(u),s[c]=l(i[c])}return{...e,stateSignals:{...e.stateSignals,...s}}}}function $(t){return e=>{const n=t({[a]:e[a],...e.stateSignals,...e.props,...e.methods});return{...e,methods:{...e.methods,...n}}}}function J(t){return e=>{const n="function"==typeof t?t():t,o=Reflect.ownKeys(n),i=e[a],s={};for(const c of o)i[c]=(0,r.signal)(n[c]),s[c]=l(i[c]);return{...e,stateSignals:{...e.stateSignals,...s}}}}}}]);

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.