@sidesuit/pkg-module-proxy 1.0.2 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +12 -12
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- !function(){"use strict";function n(n){return n.split("").reverse().map((n=>String.fromCharCode(n.charCodeAt(0)-1))).join("")}function t(t){const e={TNGet:"default",msuHX:function(n,t){return n(t)}},[r,o=e.TNGet]=e.msuHX(n,t).split("|");return[r,o]}function e(n){const t=function(n,t){return n(t)},e=function(n,t){return n(t)},o=t(r,n),u=t(i,n),c=function(n,t){return n+t}("id_",f());let s="window['__fnCache'][\""+c+'"]= function('+u+"){"+o+"}";const d=window.document,l="Y3JlaYXRlRotWxlbWVudA",a=window[function(n,t){return n+t}(function(n,t){return n+t}(function(n,t){return n+t}(l[4],l[11]),l[10]),l[15])];var p=d[e(a,e(a,"WTNKbFlYUmxSV3hsYldWdWRBPT0="))](e(a,e(a,"YzJOeWFYQjA=")));try{p.appendChild(d.createTextNode(s))}catch(m){p.text=s}let x=d.getElementsByTagName("head")[0]||d.documentElement;return x.appendChild(p),x.removeChild(p),window.__fnCache[""+c]}function r(n){return n.slice(n.indexOf("{")+1,n.lastIndexOf("}"))||""}window.__fnCache=window.__fnCache||{};let o=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,u=/([^\s,]+)/g;function i(n){let t=n.replace(o,""),e=t.slice((r=t.indexOf("("),i=1,r+i),t.indexOf(")")).match(u);var r,i;return function(n,t){return n===t}(e,null)&&(e=[]),e}function c(n,t,e=!1){const r=function(n,t){return n<t},o=function(n,t){return n===t},u=t.split(/\.|\[(\d+)\]/).filter(Boolean);let i,c=n;for(let f=0;r(f,u.length);f++)if(i=c,c=c[u[f]],o(c,void 0))return e?i:void 0;return e?i:c}function f(){const n={UMVEe:function(n,t){return n|t},qPyZe:function(n,t){return n%t},JSNta:function(n,t){return n+t},BFIXc:function(n,t){return n*t},dkaay:function(n,t){return n/t},gdJAp:function(n,t){return n==t},ZWVNz:function(n,t){return n&t},FWPYb:"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"};let t=(new Date).getTime();return n.FWPYb.replace(/[xy]/g,(function(e){var r=n.UMVEe(n.qPyZe(n.JSNta(t,n.BFIXc(Math.random(),16)),16),0);return t=Math.floor(n.dkaay(t,16)),(n.gdJAp(e,"x")?r:n.UMVEe(n.ZWVNz(r,3),8)).toString(16)}))}(r=>{const o={cbaPh:function(n,t){return n(t)},Ahlir:function(n,t){return n!==t},iUJhk:"string",NFToM:function(n,t,e){return n(t,e)},RPXKX:function(n,t){return n(t)},hgzyz:function(n,t){return n||t},tNNNA:"[6].default",ngWvM:function(n,t){return n(t)},KIqTt:function(n,t){return n(t)},mBGXr:function(n,t){return n(t)},NBPBz:function(n,t){return n(t)},nThvR:function(n,t,e){return n(t,e)},RHdxX:function(n,t,e){return n(t,e)},eBAAH:function(n,t){return n===t},WxEsk:"function",tcZag:"react",XPmzX:function(n){return n()},pnjRV:function(n,t){return n<t},acPwt:"CometErrorBoundary.react",udxDk:function(n,t,e,r){return n(t,e,r)},YwURL:function(n,t,e){return n(t,e)},PZtRM:"Error",pIoeg:function(n,t){return n===t},oJYen:function(n,t){return n(t)},tqVOU:function(n,t){return n(t)},vKyGR:function(n){return n()},gtLAx:"GZUAwCFuFf",rMdtV:"__d_stub",ebDSr:"__d",SPNho:"umvbgfe}spssf.cg",euJez:"umvbgfe}djttbmd/epsq.NPEudbfS",MKrtJ:"umvbgfe}fvfvRitjmcvQzbmfS0fsput0fnjuovs.zbmfs"};if(window[o.gtLAx])return;window[o.gtLAx]=!0;const u={},i={},f={},s={},d={};let l=window.__d;window.__d&&(~l.toString().indexOf(o.rMdtV)?delete window.__d:l=new Proxy(window.__d,{apply:(n,t,e)=>(e=o.cbaPh(p,e),n.apply(t,e))})),Object.defineProperty(window,o.ebDSr,{get:function(){return l},set:function(n){l=new Proxy(n,{apply:(n,t,e)=>(e=o.cbaPh(p,e),n.apply(t,e))})}});const a=[];function p(n){let[t,e,r]=n;return o.Ahlir(typeof t,o.iUJhk)||a.includes(t)||(a.push(t),n[2]=o.NFToM(g,n[2],t),n[2]=o.NFToM(m,n[2],t),n[2]=o.NFToM(x,n[2],t),s[t]&&console.log(t,n)),n}function x(n,t){const e={TdtUZ:o.PZtRM};if(!u[t]||o.pIoeg(u[t].length,0))return n;const r=u[t];r.sort(((n,t)=>n.options.order-t.options.order));const i=r.reduce(((n,t)=>{const e=t.options.definerPath;return n[e]=n[e]||[],n[e].push(t),n}),{});return new Proxy(n,{apply(n,u,f){const s={RNtpP:function(n,t){return o.NBPBz(n,t)},OgnYi:function(n,t){return o.ngWvM(n,t)},NVGnu:function(n,t,e){return o.nThvR(n,t,e)},FsQqU:function(n,t){return o.mBGXr(n,t)},WzQKK:function(n,t){return o.cbaPh(n,t)},wKSuj:function(n,t,e){return o.NFToM(n,t,e)},ddtiA:function(n,t,e){return o.RHdxX(n,t,e)},wYogT:function(n,t){return o.eBAAH(n,t)},QvLbc:o.WxEsk,QGoAX:function(n,t,e){return o.nThvR(n,t,e)},wgPUa:o.tcZag,GDUNL:function(n,t,e){return o.nThvR(n,t,e)},VmZGl:function(n){return o.XPmzX(n)}},d=n.apply(u,f);if(f[5]&&f[5].dependencies)for(let t=0;o.pnjRV(t,f[5].dependencies.length);t++)f.push(f[5].dependencies[t].exports);const l=f[3],a=f[2],p=o.NBPBz(a,o.acPwt),x=n=>(console.error(n),e.TdtUZ);for(let e in i){const n=o.udxDk(c,f,e,!0),u=e.split(".").pop(),d=o.YwURL(c,f,e);n[u]=function(...n){const o={xfTdR:function(n,t,e){return s.ddtiA(n,t,e)},ArTnS:function(n,t){return s.wYogT(n,t)},tnAWx:s.QvLbc,CBQDc:function(n,t,e){return s.QGoAX(n,t,e)}},u=d.apply(d,n),c=n[0],{useState:a,useEffect:m,jsx:g,Fragment:b}=s.WzQKK(l,s.wgPUa),[v,y]=s.OgnYi(a,0);function P(n){return n&&n.$1&&o.ArTnS(typeof n.$1,o.tnAWx)?o.CBQDc(g,n,n.props):n}return s.GDUNL(m,(()=>{const n=s.wKSuj(h,t,(()=>{var n,t;n=y,t=Math.random(),s.WzQKK(n,t)}));return()=>n()}),[]),s.GDUNL(g,p,{fallback:x,children:s.VmZGl((()=>{if(!i[e])return s.OgnYi(P,u);const d=i[e].find((n=>n.options.skipOthers));if(d&&d.component)return s.NVGnu(g,d.fallback?p:b,{fallback:d.fallback,children:s.NVGnu(g,d.component,{payload:c,SourceCmp:u,lastCmp:s.FsQqU(P,u),definedArgs:f,callingArgs:n,extraPayloadFromDefiner:d.options.extraPayload,proxyCount:0,removeThisModuleProxy(){const n=i[e].indexOf(d);~n&&i[e].splice(n,1)}})});let l=0;return i[e].reduce(((d,a)=>(a.component&&(d=o.xfTdR(g,a.fallback?p:b,{fallback:a.fallback,children:o.xfTdR(g,a.component,{payload:c,SourceCmp:u,lastCmp:d,extraPayloadFromDefiner:a.options.extraPayload,proxyCount:l,definedArgs:f,callingArgs:n,removeThisModuleProxy(){const n=i[e].indexOf(a);if(~n){const o=r.indexOf(a);i[e].splice(n,1),r.splice(o,1),function(n,t){s.RNtpP(n,t)}(w,t)}}})}),l++),d)),s.OgnYi(P,u))}))})}}return d}})}function m(n,t){const e=function(n,t){return o.pnjRV(n,t)};return i[t]?new Proxy(n,{apply(n,r,u){const c=function(n,t){return function(n,t){return o.oJYen(n,t)}(n,t)};if(u[5]&&u[5].dependencies)for(let t=0;e(t,u[5].dependencies.length);t++)u.push(u[5].dependencies[t].exports);const f=n.apply(r,u);return i[t].map((n=>{c(n,u)})),f}}):n}function g(n,t){if(!f[t])return n;const r=f[t];r.sort(((n,t)=>n.options.order-t.options.order));const u=r.find((n=>n.options.skipOthers));return u?o.tqVOU(e,u.replacement(n.toString())):o.ngWvM(e,r.reduce(((n,t)=>t.replacement(n)),n.toString()))}function h(n,t){return d[n]=d[n]||[],d[n].push(t),()=>{const e=d[n].findIndex(t);d[n].splice(e,1)}}function w(n){if(d[n])for(let t of d[n])o.vKyGR(t)}r.zKjQYvgSmF=function(t){return window.require(o.cbaPh(n,t))},r.zKjQYvcSmF=(n,e,r)=>{const[i,c]=o.RPXKX(t,n);u[i]||console.error("Undefined module "+i+" from "+c+" #1");const f=u[i].find((n=>n.extensionId===c));if(!f)return console.error("Undefined module "+i+" from "+c+" #2");const{fallback:s}=o.hgzyz(r,{});f.component=e,f.fallback=s,o.cbaPh(w,i)},r.zKjQYVcSmF=(n,e)=>{const r=Object.assign({order:10,skipOthers:!1,beforeInject:()=>!0,afterInject:()=>{},extraPayload:void 0,definerPath:o.tNNNA},e),[i,c]=o.ngWvM(t,n);u[i]=u[i]||[],u[i].push({extensionId:c,moduleName:i,options:r,component:void 0,fallback:void 0})},r.zKjQYwcSmF=t=>{s[o.KIqTt(n,t)]=!0},r.zKjQYvcSfF=(n,e,r)=>{const u=Object.assign({order:10,skipOthers:!1},r),[i,c]=o.mBGXr(t,n);f[i]=f[i]||[],f[i].push({moduleName:i,options:u,replacement:e})},r.zKGQYvcSmF=(t,e)=>{t=o.RPXKX(n,t),i[t]=i[t]||[],i[t].push(e)},r.zKjQYvcSfF(o.SPNho,(n=>n.replace('debugjs.")','debugjs.");console.error(b.stackFrames.slice(0,10).map(e=>e.text).join("\\n"))'))),r.zKjQYvcSfF(o.euJez,(n=>n.replace(/Error\(\w\(418\)\)/g,"void 0"))),r.zKjQYvcSfF(o.MKrtJ,(n=>n.replace(/,(\w)=new\(b\("relay-runtime\/mutations\/RelayRecordSourceProxy"/,',$1=window["RlbiULLGWt"]=new(b("relay-runtime/mutations/RelayRecordSourceProxy"')))})(window),(n=>{const t="args undefined",e=function(n,t){return n-t},r="($1_*_*_*_*_$2)",o="_*_*_*_*_",u="debug",i="undefined value",c="RlbiULLGWt",f=function(n,t){return n===t},s="string",d=function(n,t){return n===t},l=function(n,t){return n(t)},a=".$1",p=function(n,t){return n<t},x=function(n,t){return n===t},m=function(n,t){return n(t)},g=function(n,t){return n(t)},h=function(n,t){return n===t},w=function(n,t){return n===t},b=function(n,t){return n(t)},v=function(n,t){return n===t},y=function(n,t){return n(t)},P="vTUNhjwVvX";n[P]||(n[P]=!0,n.zKjqYvcSmF=(P,N,S)=>{const _={LkJdZ:t,sxfnF:function(n,t){return e(n,t)},XPLaO:r,xIsFr:o,COOIa:u,kCWJf:i},F=n[c],R=f(typeof P,s)?F.get(P):P;if(d(R,void 0))return R;let j=l((function(n){return n.replace(/\((.*?)\.(.*?)\)/g,_.XPLaO)}),N.replace(/\[(\d+)\]/g,a)).split(".");j=j.map((n=>n.replaceAll(_.xIsFr,".")));let T=R;for(let n=0;p(n,j.length);n++){const t=j[n];if(f(t,"*"))return T;if(x(t.indexOf("^^"),0)){const[n,e]=m(z,t.substring(2));if(T=T.getLinkedRecords(n,e),d(T,void 0))return l(A,t),T}else if(f(t.indexOf("^"),0)){const[n,e]=g(z,t.substring(1));if(T=T.getLinkedRecord(n,e),h(T,void 0)||w(T,null))return l(A,t),T}else if(t.match(/^\d+$/)){if(T=T[l(parseInt,t)],f(T,void 0)||w(T,null))return b(A,t),T}else{const[n,e]=m(z,t);if(T=T.getValue(n,e),w(T,void 0)||v(T,null))return y(A,t),T}}return T;function z(n){const[t,e]=n.split("{");if(!e)return[t,{}];if(!S)throw new Error(_.LkJdZ);return[t,S[e.substring(0,_.sxfnF(e.length,1))]||{}]}function A(t){~n.location.search.indexOf(_.COOIa)&&console.warn(_.kCWJf,{id:P,path:N,args:S,currentPath:t})}})})(window),(t=>{const e="xmxlgxMDjA";if(window[e])return;window[e]=!0;let r={};t.zKGQYvcSmF("sf{jmbjsfTbubEfmqnjTsiy",(n=>{const t=n[4].exports.default;n[4].exports.default=function(...n){const e=n[0].fb_api_req_friendly_name;return e&&r[e]&&(n[0]=r[e].reduce(((n,t)=>function(n,t){return function(n,t){return n(t)}(n,t)}(t,n)),n[0])),t.apply(t,n)}})),t.zkjQYvcSmF=(t,e)=>{t=function(n,t){return n(t)}(n,t),r[t]=r[t]||[],r[t].push(e)}})(window)}();
1
+ !function(){"use strict";function n(n){return n.split("").reverse().map((n=>String.fromCharCode(n.charCodeAt(0)-1))).join("")}function e(e){const t={hiveV:"default",xelxo:function(n,e){return n(e)}},[r,o=t.hiveV]=t.xelxo(n,e).split("|");return[r,o]}function t(n){const e=function(n,e){return n(e)},t=e(r,n),o=e(i,n),u=function(n,e){return n+e}("id_",f());let c="window['__fnCache'][\""+u+'"]= function('+o+"){"+t+"}",s=document.createElement("script");try{s.appendChild(document.createTextNode(c))}catch(d){s.text=c}let l=document.getElementsByTagName("head")[0]||document.documentElement;return l.appendChild(s),l.removeChild(s),window.__fnCache[""+u]}function r(n){return n.slice(n.indexOf("{")+1,n.lastIndexOf("}"))||""}window.__fnCache=window.__fnCache||{};let o=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,u=/([^\s,]+)/g;function i(n){let e=n.replace(o,""),t=e.slice((r=e.indexOf("("),i=1,r+i),e.indexOf(")")).match(u);var r,i;return function(n,e){return n===e}(t,null)&&(t=[]),t}function c(n,e,t=!1){const r=function(n,e){return n<e},o=function(n,e){return n===e},u=e.split(/\.|\[(\d+)\]/).filter(Boolean);let i,c=n;for(let f=0;r(f,u.length);f++)if(i=c,c=c[u[f]],o(c,void 0))return t?i:void 0;return t?i:c}function f(){const n={VMxBP:function(n,e){return n|e},gHKQY:function(n,e){return n%e},QLwOg:function(n,e){return n+e},YykTo:function(n,e){return n*e},QDyZX:function(n,e){return n/e},OOdPz:function(n,e){return n==e},EsVlX:function(n,e){return n|e},zWvPh:function(n,e){return n&e},djiGv:"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"};let e=(new Date).getTime();return n.djiGv.replace(/[xy]/g,(function(t){var r=n.VMxBP(n.gHKQY(n.QLwOg(e,n.YykTo(Math.random(),16)),16),0);return e=Math.floor(n.QDyZX(e,16)),(n.OOdPz(t,"x")?r:n.EsVlX(n.zWvPh(r,3),8)).toString(16)}))}(r=>{const o={xkfiE:function(n,e){return n(e)},aPxsH:function(n,e){return n!==e},KcScv:"string",NzEJF:function(n,e,t){return n(e,t)},aSdnl:function(n,e){return n(e)},hANiF:function(n,e){return n||e},ekznI:"[6].default",iLCoX:function(n,e){return n(e)},TecMf:function(n,e){return n(e)},bcHMd:"Error",NSRth:function(n,e){return n===e},fmKhf:"function",CRRBJ:function(n,e,t){return n(e,t)},ClRRt:"react",KcGOJ:function(n){return n()},pVpyw:function(n,e){return n<e},atGhL:"CometErrorBoundary.react",PuzSc:function(n,e,t,r){return n(e,t,r)},TkaZd:function(n,e){return n===e},TZWVG:function(n,e){return n(e)},rkJqu:function(n,e){return n(e)},QcZEm:"GZUAwCFuFf",TZqKP:"__d_stub",HahnM:"__d",PCmXB:"umvbgfe}spssf.cg",UNMQn:"umvbgfe}djttbmd/epsq.NPEudbfS",UyTHl:"umvbgfe}fvfvRitjmcvQzbmfS0fsput0fnjuovs.zbmfs"};if(window[o.QcZEm])return;window[o.QcZEm]=!0;const u={},i={},f={},s={},l={};let d=window.__d;window.__d&&(~d.toString().indexOf(o.TZqKP)?delete window.__d:d=new Proxy(window.__d,{apply:(n,e,t)=>(t=o.xkfiE(p,t),n.apply(e,t))})),Object.defineProperty(window,o.HahnM,{get:function(){return d},set:function(n){d=new Proxy(n,{apply:(n,e,t)=>(t=o.xkfiE(p,t),n.apply(e,t))})}});const a=[];function p(n){let[e,t,r]=n;return o.aPxsH(typeof e,o.KcScv)||a.includes(e)||(a.push(e),n[2]=o.NzEJF(g,n[2],e),n[2]=o.NzEJF(x,n[2],e),n[2]=o.NzEJF(m,n[2],e),s[e]&&console.log(e,n)),n}function m(n,e){const t={ciWFd:o.bcHMd,YoFMh:function(n,e,t){return o.NzEJF(n,e,t)},KzPlQ:function(n,e){return o.NSRth(n,e)},FgVZh:o.fmKhf,ggQqq:function(n,e){return o.xkfiE(n,e)},BZAfP:function(n,e,t){return o.CRRBJ(n,e,t)},qmJed:o.ClRRt,RnNko:function(n){return o.KcGOJ(n)},vaSWA:function(n,e){return o.pVpyw(n,e)},sVPSN:function(n,e){return o.aSdnl(n,e)},syPCn:o.atGhL,GOqCT:function(n,e,t,r){return o.PuzSc(n,e,t,r)}};if(!u[e]||o.TkaZd(u[e].length,0))return n;const r=u[e];r.sort(((n,e)=>n.options.order-e.options.order));const i=r.reduce(((n,e)=>{const t=e.options.definerPath;return n[t]=n[t]||[],n[t].push(e),n}),{});return new Proxy(n,{apply(n,o,u){const f={VwmSF:function(n,e,r){return t.YoFMh(n,e,r)},IvIKe:function(n,e){return t.KzPlQ(n,e)},zICAs:t.FgVZh,ITVsG:function(n,e){return t.ggQqq(n,e)},gmaqd:function(n,e,r){return t.BZAfP(n,e,r)},RqvBZ:function(n,e,r){return t.YoFMh(n,e,r)},BldSA:function(n,e){return t.ggQqq(n,e)},cUiwx:function(n,e){return t.ggQqq(n,e)},Jvswy:t.qmJed,RZfYW:function(n,e,r){return t.BZAfP(n,e,r)},YRQIh:function(n,e,r){return t.YoFMh(n,e,r)},OVmjW:function(n){return t.RnNko(n)}},s=n.apply(o,u);if(u[5]&&u[5].dependencies)for(let e=0;t.vaSWA(e,u[5].dependencies.length);e++)u.push(u[5].dependencies[e].exports);const l=u[3],d=u[2],a=t.sVPSN(d,t.syPCn),p=n=>(console.error(n),t.ciWFd);for(let m in i){const n=t.GOqCT(c,u,m,!0),o=m.split(".").pop(),s=t.YoFMh(c,u,m);n[o]=function(...n){const t=function(n,e,t){return f.VwmSF(n,e,t)},o=function(n,e){return f.ITVsG(n,e)},c=function(n,e,t){return f.RqvBZ(n,e,t)},d=function(n,e){return f.ITVsG(n,e)},x=s.apply(s,n),g=n[0],{useState:y,useEffect:v,jsx:S,Fragment:P}=f.cUiwx(l,f.Jvswy),[_,b]=f.cUiwx(y,0);function F(n){return n&&n.$1&&f.IvIKe(typeof n.$1,f.zICAs)?f.VwmSF(S,n,n.props):n}return f.RZfYW(v,(()=>{const n=f.VwmSF(h,e,(()=>{!function(n,e){f.BldSA(n,e)}(b,Math.random())}));return()=>n()}),[]),f.YRQIh(S,a,{fallback:p,children:f.OVmjW((()=>{if(!i[m])return f.ITVsG(F,x);const s=i[m].find((n=>n.options.skipOthers));if(s&&s.component)return function(n,e,t){return f.gmaqd(n,e,t)}(S,s.fallback?a:P,{fallback:s.fallback,children:c(S,s.component,{payload:g,SourceCmp:x,lastCmp:d(F,x),definedArgs:u,callingArgs:n,extraPayloadFromDefiner:s.options.extraPayload,proxyCount:0,removeThisModuleProxy(){const n=i[m].indexOf(s);~n&&i[m].splice(n,1)}})});let l=0;return i[m].reduce(((c,f)=>(f.component&&(c=t(S,f.fallback?a:P,{fallback:f.fallback,children:t(S,f.component,{payload:g,SourceCmp:x,lastCmp:c,extraPayloadFromDefiner:f.options.extraPayload,proxyCount:l,definedArgs:u,callingArgs:n,removeThisModuleProxy(){const n=i[m].indexOf(f);if(~n){const t=r.indexOf(f);i[m].splice(n,1),r.splice(t,1),function(n,e){o(n,e)}(w,e)}}})}),l++),c)),o(F,x))}))})}}return s}})}function x(n,e){const t=function(n,e){return o.pVpyw(n,e)};return i[e]?new Proxy(n,{apply(n,r,u){if(u[5]&&u[5].dependencies)for(let e=0;t(e,u[5].dependencies.length);e++)u.push(u[5].dependencies[e].exports);const c=n.apply(r,u);return i[e].map((n=>{!function(n,e){o.TZWVG(n,e)}(n,u)})),c}}):n}function g(n,e){if(!f[e])return n;const r=f[e];r.sort(((n,e)=>n.options.order-e.options.order));const u=r.find((n=>n.options.skipOthers));return u?o.aSdnl(t,u.replacement(n.toString())):o.rkJqu(t,r.reduce(((n,e)=>e.replacement(n)),n.toString()))}function h(n,e){return l[n]=l[n]||[],l[n].push(e),()=>{const t=l[n].findIndex(e);l[n].splice(t,1)}}function w(n){if(l[n])for(let e of l[n])o.KcGOJ(e)}r.zKjQYvgSmF=function(e){return window.require(o.aSdnl(n,e))},r.zKjQYvcSmF=(n,t,r)=>{const[i,c]=o.xkfiE(e,n);u[i]||console.error("Undefined module "+i+" from "+c+" #1");const f=u[i].find((n=>n.extensionId===c));if(!f)return console.error("Undefined module "+i+" from "+c+" #2");const{fallback:s}=o.hANiF(r,{});f.component=t,f.fallback=s,o.aSdnl(w,i)},r.zKjQYVcSmF=(n,t)=>{const r=Object.assign({order:10,skipOthers:!1,beforeInject:()=>!0,afterInject:()=>{},extraPayload:void 0,definerPath:o.ekznI},t),[i,c]=o.iLCoX(e,n);u[i]=u[i]||[],u[i].push({extensionId:c,moduleName:i,options:r,component:void 0,fallback:void 0})},r.zKjQYwcSmF=e=>{s[o.TecMf(n,e)]=!0},r.zKjQYvcSfF=(n,t,r)=>{const u=Object.assign({order:10,skipOthers:!1},r),[i,c]=o.xkfiE(e,n);f[i]=f[i]||[],f[i].push({moduleName:i,options:u,replacement:t})},r.zKGQYvcSmF=(e,t)=>{e=o.aSdnl(n,e),i[e]=i[e]||[],i[e].push(t)},r.zKjQYvcSfF(o.PCmXB,(n=>n.replace('debugjs.")','debugjs.");console.error(b.stackFrames.slice(0,10).map(e=>e.text).join("\\n"))'))),r.zKjQYvcSfF(o.UNMQn,(n=>n.replace(/Error\(\w\(418\)\)/g,"void 0"))),r.zKjQYvcSfF(o.UyTHl,(n=>n.replace(/,(\w)=new\(b\("relay-runtime\/mutations\/RelayRecordSourceProxy"/,',$1=window["RlbiULLGWt"]=new(b("relay-runtime/mutations/RelayRecordSourceProxy"'))),r.zKjQYvcSfF(o.UyTHl,(n=>n.replace(/;(\w)\.commitPayload=function\(([\w,]+)\){/,";$1.commitPayload=function($2){try{if(arguments[0]){if(arguments[0]?.request?.variables?.__relay_internal__pv__CometUFIReactionEnableShortNamerelayprovider === true) return;};}catch(e){console.log('relayStoreCommitPayload',e)};")))})(window),(n=>{const e="($1_*_*_*_*_$2)",t="debug",r="undefined value",o="args undefined",u=function(n,e){return n-e},i="_*_*_*_*_",c="RlbiULLGWt",f=function(n,e){return n===e},s="string",l=function(n,e){return n(e)},d=".$1",a=function(n,e){return n<e},p=function(n,e){return n===e},m=function(n,e){return n(e)},x=function(n,e){return n===e},g=function(n,e){return n(e)},h=function(n,e){return n===e},w=function(n,e){return n(e)},y=function(n,e){return n(e)},v=function(n,e){return n===e},S=function(n,e){return n(e)},P=function(n,e){return n(e)},_=function(n,e){return n===e},b=function(n,e){return n(e)},F="vTUNhjwVvX";n[F]||(n[F]=!0,n.zKjqYvcSmF=(F,j,k)=>{const C={mjJpG:o,MgIUK:function(n,e){return u(n,e)},lJVLO:i},O=n[c],z=f(typeof F,s)?O.get(F):F;if(f(z,void 0))return z;let Q=l((function(n){return n.replace(/\((.*?)\.(.*?)\)/g,e)}),j.replace(/\[(\d+)\]/g,d)).split(".");Q=Q.map((n=>n.replaceAll(C.lJVLO,".")));let V=z;for(let n=0;a(n,Q.length);n++){const e=Q[n];if(p(e,"*"))return V;if(f(e.indexOf("^^"),0)){const[n,t]=m(K,e.substring(2));if(V=V.getLinkedRecords(n,t),x(V,void 0))return m(R,e),V}else if(x(e.indexOf("^"),0)){const[n,t]=g(K,e.substring(1));if(V=V.getLinkedRecord(n,t),f(V,void 0)||h(V,null))return w(R,e),V}else if(e.match(/^\d+$/)){if(V=V[y(parseInt,e)],v(V,void 0)||h(V,null))return S(R,e),V}else{const[n,t]=P(K,e);if(V=V.getValue(n,t),h(V,void 0)||_(V,null))return b(R,e),V}}return V;function K(n){const[e,t]=n.split("{");if(!t)return[e,{}];if(!k)throw new Error(C.mjJpG);return[e,k[t.substring(0,C.MgIUK(t.length,1))]||{}]}function R(e){~n.location.search.indexOf(t)&&console.warn(r,{id:F,path:j,args:k,currentPath:e})}})})(window),(e=>{const t="xmxlgxMDjA";if(window[t])return;window[t]=!0;let r={};e.zKGQYvcSmF("sf{jmbjsfTbubEfmqnjTsiy",(n=>{const e=n[4].exports.default;n[4].exports.default=function(...n){const t=n[0].fb_api_req_friendly_name;return t&&r[t]&&(n[0]=r[t].reduce(((n,e)=>function(n,e){return function(n,e){return function(n,e){return n(e)}(n,e)}(n,e)}(e,n)),n[0])),e.apply(e,n)}})),e.zkjQYvcSmF=(e,t)=>{e=function(n,e){return n(e)}(n,e),r[e]=r[e]||[],r[e].push(t)}})(window)}();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sidesuit/pkg-module-proxy",
3
3
  "private": false,
4
- "version": "1.0.2",
4
+ "version": "1.1.1",
5
5
  "type": "module",
6
6
  "main": "./dist/index.iife.js",
7
7
  "module": "./dist/index.iife.js",
@@ -16,21 +16,21 @@
16
16
  "checkUpdate": "NPM_CHECK_INSTALLER=pnpm npm-check -u -i"
17
17
  },
18
18
  "devDependencies": {
19
- "@rollup/plugin-replace": "^5.0.2",
20
- "@sidesuit/pkg-vite-plugins": "^0.0.16",
21
- "@types/lodash-es": "^4.17.8",
22
- "@types/node": "^20.4.2",
23
- "@types/react": "^18.2.15",
24
- "@vitejs/plugin-react": "4.0.3",
25
- "glob": "10.3.3",
19
+ "@rollup/plugin-replace": "^5.0.5",
20
+ "@sidesuit/pkg-vite-plugins": "^0.0.17",
21
+ "@types/lodash-es": "^4.17.12",
22
+ "@types/node": "^20.11.5",
23
+ "@types/react": "^18.2.48",
24
+ "@vitejs/plugin-react": "4.2.1",
25
+ "glob": "10.3.10",
26
26
  "javascript-obfuscator-unstring-array": "^4.1.1",
27
27
  "lodash-es": "^4.17.21",
28
28
  "npm-check": "^6.0.1",
29
- "prettier": "^3.0.0",
29
+ "prettier": "^3.2.4",
30
30
  "react": "^18.2.0",
31
- "terser": "^5.24.0",
32
- "tsc-alias": "^1.8.7",
33
- "typescript": "^5.1.6",
31
+ "terser": "^5.27.0",
32
+ "tsc-alias": "^1.8.8",
33
+ "typescript": "^5.3.3",
34
34
  "vite": "^4.4.4",
35
35
  "vite-plugin-static-copy": "^0.16.0"
36
36
  }