PageSourceSearch

https://app.textmagic.com/assets/C4M6vNTW.js

js textmagic.com collected 2026-09-24 08:29:01 UTC 2,040 bytes, 2 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`20260924-39003-d97a9715`},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n!=null)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:textmagic-web-app":!0});var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`e28437fd-ff6c-46d9-9a5e-9ba5688d25d9`,e._sentryDebugIdIdentifier=`sentry-dbid-e28437fd-ff6c-46d9-9a5e-9ba5688d25d9`)}catch{}})();import{Bt as e,Ft as t,In as n,It as r,Lt as i,Nt as a,Pt as o,Vt as s,kn as c,zt as l}from"./DLkVZSuR.js";var u=class u{static isSupportedRelations(e){return e instanceof a||e instanceof r||e instanceof t||e instanceof l||e instanceof i}static gatherRelatedModels(e,n=[]){return n.find(t=>t.entity===e.entity)||n.push(e),u.forEachFields(e,e=>{let r=e instanceof t?e.related:e.parent;r&&u.isSupportedRelations(e)&&(n.find(e=>e.entity===r.entity)||(n.push(r),u.gatherRelatedModels(r,n)))}),n}static isDependsOn(e,t){let n=!1;return u.forEachFields(e,e=>{e.parent&&u.isSupportedRelations(e)&&t.entity===e.parent.entity&&(n=!0)}),n}static gatherRelatedModelsByModels(e,t=[]){return e.forEach(e=>{t=u.gatherRelatedModels(e,t)}),t}static mappingWithDefault(e,t){let r=e.getFields(),i=Object.keys(r),a=n(r,({value:e})=>e);return t.map(e=>c({...a,...e},i))}static normalizePayload(t,n){let i=t=>{let i=t;for(let[c]of Object.entries(t))if(c in n.fields()){let l=n.fields()[c];(l instanceof s||l instanceof e||l instanceof o)&&(i[c]=l.fix(t[c])),(l instanceof a||l instanceof r)&&t[c]!==null&&(i[c]=this.normalizePayload(t[c],l.parent))}return i};return Array.isArray(t)?t.map(e=>i(e)):i(t)}static forEachFields(e,t){Object.values(e.getFields()).forEach(e=>t(e))}};export{u as t};
2//# sourceMappingURL=C4M6vNTW.js.map

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.