@sidesuit/pkg-module-proxy 1.2.2 → 1.2.3
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.
- package/dist/index.js +1 -1
- package/package.json +2 -2
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 r={cipWL:"default",aOTHm:function(n,t){return n(t)}},[e,o=r.cipWL]=r.aOTHm(n,t).split("|");return[e,o]}function r(n){const t=e(n),r=function(n,t){return n(t)}(i,n),o=function(n,t){return n+t}("id_",function(n){return n()}(f));let u="window['__fnCache'][\""+o+'"]= function('+r+"){"+t+"}",c=document.createElement("script");try{c.appendChild(document.createTextNode(u))}catch(l){c.text=u}let s=document.getElementsByTagName("head")[0]||document.documentElement;return s.appendChild(c),s.removeChild(c),window.__fnCache[""+o]}function e(n){return function(n){return n||""}(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,""),r=t.slice((e=t.indexOf("("),i=1,e+i),t.indexOf(")")).match(u);var e,i;return function(n,t){return n===t}(null,r)&&(r=[]),r}function c(n,t,r=!1){const e=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;e(f,u.length);f++)if(i=c,c=c[u[f]],o(void 0,c))return r?i:void 0;return r?i:c}function f(){const n={Lvarn:function(n,t){return n|t},yNuCt:function(n,t){return n%t},YMZEm:function(n,t){return n+t},hGpjx:function(n,t){return n*t},yUfrY:function(n,t){return n/t},SCwMC:function(n,t){return n==t},tvZVn:function(n,t){return n|t},PflTz:function(n,t){return n&t},KqHVy:"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"};let t=(new Date).getTime();return n.KqHVy.replace(/[xy]/g,function(r){var e=n.Lvarn(n.yNuCt(n.YMZEm(t,n.hGpjx(16,Math.random())),16),0);return t=Math.floor(n.yUfrY(t,16)),(n.SCwMC("x",r)?e:n.tvZVn(n.PflTz(3,e),8)).toString(16)})}(e=>{const o=function(n,t){return n(t)},u=function(n,t){return n<t},i=function(n,t){return n(t)},f=function(n,t,r){return n(t,r)},s=function(n,t){return n==t},l="function",d="react",a=function(n){return n()},p=function(n,t){return n<t},m="CometErrorBoundary.react",_=function(n,t,r,e){return n(t,r,e)},y=function(n,t){return n===t},h=function(n,t){return n!=t},x="string",v=function(n){return n()},w=function(n,t){return n(t)},g=function(n,t){return n||t},b="[6].default",j=function(n,t){return n(t)},S=function(n,t){return n(t)},C=function(n,t){return n(t)},k="__d_stub",F="__d",z="umvbgfe}spssf.cg",P="umvbgfe}djttbmd/epsq.NPEudbfS",Y="umvbgfe}fvfvRitjmcvQzbmfS0fsput0fnjuovs.zbmfs";if(window.GZUAwCFuFf)return;window.GZUAwCFuFf=!0;const O={},Q={},R={},T={},K={};let M=window.__d;window.__d&&(~M.toString().indexOf(k)?delete window.__d:M=new Proxy(window.__d,{apply:(n,t,r)=>(r=I(r),n.apply(t,r))})),Object.defineProperty(window,F,{get:function(){return M},set:function(n){M=new Proxy(n,{apply:(n,t,r)=>(r=I(r),n.apply(t,r))})}});const U=[];function I(n){const t={rdIqJ:function(n,t){return o(n,t)},YWmyd:function(n,t){return u(n,t)},nUXMw:function(n,t){return i(n,t)},hCrxh:function(n,t,r){return f(n,t,r)},myNNY:function(n,t){return s(n,t)},fspdB:l,nbsQQ:function(n,t){return i(n,t)},owMaC:d,JlzGt:function(n,t,r){return f(n,t,r)},NCNrX:function(n){return a(n)},TIkup:function(n,t){return p(n,t)},tnBXK:m,mmQdr:function(n,t,r,e){return _(n,t,r,e)},pzpoB:function(n,t){return y(n,t)}};let[e,v,w]=n;return h(x,typeof e)||U.includes(e)||(U.push(e),n[2]=function(n,e){if(!R[e])return n;const o=R[e];o.sort((n,t)=>n.options.order-t.options.order);const u=o.find(n=>n.options.skipOthers);return t.rdIqJ(r,u?u.replacement(n.toString()):o.reduce((n,t)=>t.replacement(n),n.toString()))}(n[2],e),n[2]=(g=n[2],Q[b=e]?new Proxy(g,{apply(n,r,e){if(e[5]&&e[5].dependencies)for(let u=0;t.YWmyd(u,e[5].dependencies.length);u++)e.push(e[5].dependencies[u].exports);const o=n.apply(r,e);return Q[b].map(n=>{!function(n,r){t.rdIqJ(n,r)}(n,e)}),o}}):g),n[2]=function(n,r){if(!O[r]||t.pzpoB(0,O[r].length))return n;const e=O[r];e.sort((n,t)=>n.options.order-t.options.order);const o=e.reduce((n,t)=>{const r=t.options.definerPath;return n[r]=n[r]||[],n[r].push(t),n},{});return new Proxy(n,{apply(n,u,i){const f={IvvyV:function(n,r){return t.rdIqJ(n,r)},FZHnq:function(n,r){return t.nUXMw(n,r)},oDRKS:function(n,r,e){return t.hCrxh(n,r,e)},uJORW:function(n,r,e){return t.hCrxh(n,r,e)},dmcRj:function(n,r){return t.nUXMw(n,r)},QVITu:function(n,r){return t.nUXMw(n,r)},mjPlU:function(n,r){return t.myNNY(n,r)},aziCH:t.fspdB,wkTRQ:function(n,r){return t.rdIqJ(n,r)},IhcoK:function(n,r){return t.nbsQQ(n,r)},JdfbK:t.owMaC,eLvrL:function(n,r,e){return t.JlzGt(n,r,e)},eMbVR:function(n){return t.NCNrX(n)}},s=n.apply(u,i);if(i[5]&&i[5].dependencies)for(let r=0;t.TIkup(r,i[5].dependencies.length);r++)i.push(i[5].dependencies[r].exports);const l=i[3],d=(0,i[2])(t.tnBXK),a=n=>(console.error(n),"Error");for(let p in o){const n=t.mmQdr(c,i,p,!0),u=p.split(".").pop(),s=t.hCrxh(c,i,p);n[u]=function(...n){const t={vmudo:function(n,t){return f.mjPlU(n,t)},jSMGF:f.aziCH,GvpEd:function(n,t,r){return f.uJORW(n,t,r)},LuZqL:function(n,t){return f.wkTRQ(n,t)}},u=s.apply(s,n),c=n[0],{useState:m,useEffect:_,jsx:y,Fragment:h}=f.IhcoK(l,f.JdfbK),[x,v]=f.dmcRj(m,0);function w(n){return n&&n.$1&&t.vmudo(t.jSMGF,typeof n.$1)?t.GvpEd(y,n,n.props):n}return f.oDRKS(_,()=>{const n=f.oDRKS(L,r,()=>{t.LuZqL(v,Math.random())});return()=>n()},[]),f.eLvrL(y,d,{fallback:a,children:f.eMbVR(()=>{if(!o[p])return f.FZHnq(w,u);const t=o[p].find(n=>n.options.skipOthers);if(t&&t.component)return f.oDRKS(y,t.fallback?d:h,{fallback:t.fallback,children:f.uJORW(y,t.component,{payload:c,SourceCmp:u,lastCmp:f.dmcRj(w,u),definedArgs:i,callingArgs:n,extraPayloadFromDefiner:t.options.extraPayload,proxyCount:0,removeThisModuleProxy(){const n=o[p].indexOf(t);~n&&o[p].splice(n,1)}})});let s=0;return o[p].reduce((t,l)=>(l.component&&(t=y(l.fallback?d:h,{fallback:l.fallback,children:y(l.component,{payload:c,SourceCmp:u,lastCmp:t,extraPayloadFromDefiner:l.options.extraPayload,proxyCount:s,definedArgs:i,callingArgs:n,removeThisModuleProxy(){const n=o[p].indexOf(l);if(~n){const t=e.indexOf(l);o[p].splice(n,1),e.splice(t,1),f.IvvyV(N,r)}}})}),s++),t),f.QVITu(w,u))})})}}return s}})}(n[2],e),T[e]&&console.log(e,n)),n;var g,b}function L(n,t){return K[n]=K[n]||[],K[n].push(t),()=>{const r=K[n].findIndex(t);K[n].splice(r,1)}}function N(n){if(K[n])for(let t of K[n])v(t)}e.zKjQYvgSmF=function(t){return window.require(i(n,t))},e.zKjQYvcSmF=(n,r,e)=>{const[u,i]=w(t,n);O[u]||console.error("Undefined module "+u+" from "+i+" #1");const c=O[u].find(n=>n.extensionId===i);if(!c)return console.error("Undefined module "+u+" from "+i+" #2");const{fallback:f}=g(e,{});c.component=r,c.fallback=f,o(N,u)},e.zKjQYVcSmF=(n,r)=>{const e=Object.assign({order:10,skipOthers:!1,beforeInject:()=>!0,afterInject:()=>{},extraPayload:void 0,definerPath:b},r),[o,u]=j(t,n);O[o]=O[o]||[],O[o].push({extensionId:u,moduleName:o,options:e,component:void 0,fallback:void 0})},e.zKjQYwcSmF=t=>{T[S(n,t)]=!0},e.zKjQYvcSfF=(n,r,e)=>{const o=Object.assign({order:10,skipOthers:!1},e),[u,c]=i(t,n);R[u]=R[u]||[],R[u].push({moduleName:u,options:o,replacement:r})},e.zKGQYvcSmF=(t,r)=>{t=C(n,t),Q[t]=Q[t]||[],Q[t].push(r)},e.zKjQYvcSfF(z,n=>n.replace('debugjs.")','debugjs.");console.error(b.stackFrames.slice(0,10).map(e=>e.text).join("\\n"))')),e.zKjQYvcSfF(P,n=>n.replace(/Error\(\w\(418\)\)/g,"void 0")),e.zKjQYvcSfF(Y,n=>n.replace(/,(\w)=new\(b\("relay-runtime\/mutations\/RelayRecordSourceProxy"/,',$1=window["RlbiULLGWt"]=new(b("relay-runtime/mutations/RelayRecordSourceProxy"')),e.zKjQYvcSfF(Y,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 t="_*_*_*_*_",r="args undefined",e=function(n,t){return n-t},o="debug",u="undefined value",i=function(n,t){return n==t},c="string",f=function(n,t){return n===t},s=".$1",l="($1_*_*_*_*_$2)",d=function(n,t){return n<t},a=function(n,t){return n===t},p=function(n,t){return n===t},m=function(n,t){return n(t)},_=function(n,t){return n===t},y=function(n,t){return n===t},h=function(n,t){return n(t)},x=function(n,t){return n(t)},v=function(n,t){return n(t)};n.vTUNhjwVvX||(n.vTUNhjwVvX=!0,n.zKjqYvcSmF=(w,g,b)=>{const j={isdUJ:t,TmCSn:r,WDTkB:function(n,t){return e(n,t)},Hsmhz:o,HmvaY:u},S=n.RlbiULLGWt,C=i(c,typeof w)?S.get(w):w;if(f(void 0,C))return C;let k=(F=g.replace(/\[(\d+)\]/g,s),F.replace(/\((.*?)\.(.*?)\)/g,l)).split(".");var F;k=k.map(n=>n.replaceAll(j.isdUJ,"."));let z=C;for(let n=0;d(n,k.length);n++){const t=k[n];if(a("*",t))return z;if(p(0,t.indexOf("^^"))){const[n,r]=m(P,t.substring(2));if(z=z.getLinkedRecords(n,r),_(void 0,z))return m(Y,t),z}else if(y(0,t.indexOf("^"))){const[n,r]=m(P,t.substring(1));if(z=z.getLinkedRecord(n,r),i(null,z))return h(Y,t),z}else if(t.match(/^\d+$/)){if(z=z[h(parseInt,t)],i(null,z))return m(Y,t),z}else{const[n,r]=x(P,t);if(z=z.getValue(n,r),i(null,z))return v(Y,t),z}}return z;function P(n){const[t,r]=n.split("{");if(!r)return[t,{}];if(!b)throw new Error(j.TmCSn);return[t,b[r.substring(0,j.WDTkB(r.length,1))]||{}]}function Y(t){~n.location.search.indexOf(j.Hsmhz)&&console.warn(j.HmvaY,{id:w,path:g,args:b,currentPath:t})}})})(window),(n=>{const t=function(n,t){return n instanceof t},r=function(n,t){return n!==t},e="__id",o="__typename",u=function(n,t){return n==t},i="object",c=function(n,t){return n!==t},f=function(n,t){return n in t},s="__ref",l=function(n,t){return n===t},d="__refs",a=function(n,t){return n!==t},p=function(n,t){return n!==t},m=function(n,t){return n==t},_=function(n,t){return n!==t},y=function(n,t){return n in t},h=function(n,t){return n==t},x=function(n,t){return n!==t},v=function(n,t){return n<t},w=function(n,t){return n(t)},g=function(n,t,r){return n(t,r)},b="continue",j=function(n,t){return n===t},S=function(n,t,r,e){return n(t,r,e)},C=function(n,t){return n===t};function k(){const r=n.RlbiULLGWt.getRoot();let e=[];return Object.keys(r).forEach(n=>{const o=r[n];if(o.__sources&&Array.isArray(o.__sources)){const n=o.__sources;for(const r of n)for(const n in r){const o=r[n];t(o,Map)&&e.push(o)}}}),e}function F(n){const t=function(n){return n()}(k);let a=[];for(const p of t)for(const[t,m]of p)for(const[p,_]of Object.entries(m))r(e,p)&&r(o,p)&&(u(i,typeof _)&&c(null,_)&&f(s,_)&&l(_.__ref,n)&&a.push(m),u(i,typeof _)&&c(null,_)&&f(d,_)&&Array.isArray(_.__refs)&&_.__refs.includes(n)&&a.push(m));return a}function z(n){const t=function(n){return n()}(k);for(const r of t)for(const[t,u]of r)for(const[r,c]of Object.entries(u))if(a(e,r)&&p(o,r)){if(m(i,typeof c)&&_(null,c)&&y(s,c)&&l(c.__ref,n))return u;if(h(i,typeof c)&&x(null,c)&&f(d,c)&&Array.isArray(c.__refs)&&c.__refs.includes(n))return u}return null}function P(n,t,r){const e=[];let o=n,u=0;for(;v(u,t);){const n=w(z,o);if(!n)break;e.push(n);const t=g(r,n,e);if(a(b,t)){if(j("break",t))break;return t}o=n.__id,u++}return null}function Y(n,t){const r=[];return S(P,n,(null==t?void 0:t.depth)||10,(n,t)=>(r.push(n),"continue")),function(n,t){return n>t}(r.length,0)?r:null}n.vTUNhJwVvX||(n.vTUNhJwVvX=!0,n.zkjQYvCSmF=Y,n.zkJqYvcSmF=function(n,t){const r=function(n,t,r){return n(t,r)}(Y,n,t);return r?r.map(n=>n.__typename):null},n.zkJQyvcSmF=function(n,t,r){return function(n,t,r,e){return n(t,r,e)}(P,n,(null==r?void 0:r.depth)||10,n=>n.__typename===t?n:"continue")},n.zkjQYvcSMf=function(t,r,e){const o=function(n,t){return function(n,t){return n!=t}(n,t)},u=b;return S(P,t,(null==e?void 0:e.depth)||10,t=>{try{const e=n.zKjqYvcSmF(t.__id,r);if(o(null,e))return t.__id}catch(e){}return u})},n.storeFinderFindParentSourceByTypenameByPathMatch=function(n,t){const r=t.split(".");let e=null;n:for(;;){if(C(0,r.length))return e;const t=(null==e?void 0:e.__id)??n,o=r.shift(),u=w(F,t);for(const n of u)if(C(n.__typename,o)){e=n;continue n}return null}},n.findDirectParentArray=F)})(window),(t=>{if(window.xmxlgxMDjA)return;window.xmxlgxMDjA=!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)=>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 t(t){const r={qdffo:"default",XKLWI:function(n,t){return n(t)}},[e,o=r.qdffo]=r.XKLWI(n,t).split("|");return[e,o]}function r(n){const t=function(n,t){return n(t)},r=t(e,n),o=t(i,n),u=function(n,t){return n+t}("id_",f());let c="window['__fnCache'][\""+u+'"]= function('+o+"){"+r+"}",s=document.createElement("script");try{s.appendChild(document.createTextNode(c))}catch(a){s.text=c}let l=document.getElementsByTagName("head")[0]||document.documentElement;return l.appendChild(s),l.removeChild(s),window.__fnCache[""+u]}function e(n){return function(n){return n||""}(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,""),r=t.slice((e=t.indexOf("("),i=1,e+i),t.indexOf(")")).match(u);var e,i;return function(n,t){return n===t}(null,r)&&(r=[]),r}function c(n,t,r=!1){const e=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;e(f,u.length);f++)if(i=c,c=c[u[f]],o(void 0,c))return r?i:void 0;return r?i:c}function f(){const n={ZNScc:function(n,t){return n|t},QOgfo:function(n,t){return n%t},ktQte:function(n,t){return n+t},AlAOb:function(n,t){return n*t},VMRsD:function(n,t){return n/t},eaxpt:function(n,t){return n==t},vubyz:function(n,t){return n|t},coKFp:function(n,t){return n&t},TqiCn:"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"};let t=(new Date).getTime();return n.TqiCn.replace(/[xy]/g,function(r){var e=n.ZNScc(n.QOgfo(n.ktQte(t,n.AlAOb(16,Math.random())),16),0);return t=Math.floor(n.VMRsD(t,16)),(n.eaxpt("x",r)?e:n.vubyz(n.coKFp(3,e),8)).toString(16)})}(e=>{const o=function(n,t){return n(t)},u=function(n,t){return n(t)},i=function(n,t){return n(t)},f=function(n,t){return n<t},s=function(n,t,r){return n(t,r)},l=function(n,t){return n<t},a="CometErrorBoundary.react",d=function(n,t,r,e){return n(t,r,e)},p=function(n,t){return n(t)},m=function(n,t,r){return n(t,r)},x=function(n,t){return n==t},_="function",g="react",y=function(n){return n()},h=function(n,t){return n===t},w=function(n,t){return n!=t},v="string",b=function(n){return n()},S=function(n,t){return n(t)},j=function(n,t){return n||t},k="[6].default",C=function(n,t){return n(t)},z=function(n,t){return n(t)},F=function(n,t){return n(t)},P="__d_stub",I="__d",A="umvbgfe}spssf.cg",K="umvbgfe}djttbmd/epsq.NPEudbfS",O="umvbgfe}fvfvRitjmcvQzbmfS0fsput0fnjuovs.zbmfs";if(window.GZUAwCFuFf)return;window.GZUAwCFuFf=!0;const Q={},q={},T={},E={},J={};let R=window.__d;window.__d&&(~R.toString().indexOf(P)?delete window.__d:R=new Proxy(window.__d,{apply:(n,t,r)=>(r=N(r),n.apply(t,r))})),Object.defineProperty(window,I,{get:function(){return R},set:function(n){R=new Proxy(n,{apply:(n,t,r)=>(r=N(r),n.apply(t,r))})}});const Y=[];function N(n){const t={tHldS:function(n,t){return o(n,t)},EIzlg:function(n,t){return u(n,t)},rDKPx:function(n,t){return i(n,t)},yJBPh:function(n,t){return f(n,t)},JnaNp:function(n,t){return u(n,t)},gCDDq:function(n,t,r){return s(n,t,r)},IwIpc:function(n,t){return l(n,t)},LodUc:a,nIfbT:function(n,t,r,e){return d(n,t,r,e)},aUArt:function(n,t){return p(n,t)},LiPSg:function(n,t,r){return m(n,t,r)},AZfPo:function(n,t){return x(n,t)},wNZIW:_,hpTKl:function(n,t){return o(n,t)},SBGTM:g,BIJSz:function(n,t){return o(n,t)},VarWB:function(n){return y(n)},IkVli:function(n,t){return h(n,t)}};let[e,b,S]=n;return w(v,typeof e)||Y.includes(e)||(Y.push(e),n[2]=function(n,e){if(!T[e])return n;const o=T[e];o.sort((n,t)=>n.options.order-t.options.order);const u=o.find(n=>n.options.skipOthers);return u?t.tHldS(r,u.replacement(n.toString())):t.EIzlg(r,o.reduce((n,t)=>t.replacement(n),n.toString()))}(n[2],e),n[2]=(j=n[2],q[k=e]?new Proxy(j,{apply(n,r,e){if(e[5]&&e[5].dependencies)for(let u=0;t.yJBPh(u,e[5].dependencies.length);u++)e.push(e[5].dependencies[u].exports);const o=n.apply(r,e);return q[k].map(n=>{!function(n,r){t.rDKPx(n,r)}(n,e)}),o}}):j),n[2]=function(n,r){const e={Fdwlx:function(n,r){return t.aUArt(n,r)},qREsJ:function(n,r,e){return t.LiPSg(n,r,e)},npieH:function(n,r){return t.tHldS(n,r)},TregS:function(n,r){return t.AZfPo(n,r)},Xwiym:t.wNZIW,JrusE:function(n,r){return t.hpTKl(n,r)},VUnUJ:t.SBGTM,QTXNW:function(n,r){return t.BIJSz(n,r)},Zkxqp:function(n){return t.VarWB(n)}};if(!Q[r]||t.IkVli(0,Q[r].length))return n;const o=Q[r];o.sort((n,t)=>n.options.order-t.options.order);const u=o.reduce((n,t)=>{const r=t.options.definerPath;return n[r]=n[r]||[],n[r].push(t),n},{});return new Proxy(n,{apply(n,i,f){const s=function(n,r){return t.JnaNp(n,r)},l=function(n,r,e){return t.gCDDq(n,r,e)},a=n.apply(i,f);if(f[5]&&f[5].dependencies)for(let r=0;t.IwIpc(r,f[5].dependencies.length);r++)f.push(f[5].dependencies[r].exports);const d=f[3],p=(0,f[2])(t.LodUc),m=n=>(console.error(n),"Error");for(let x in u){const n=t.nIfbT(c,f,x,!0),i=x.split(".").pop(),a=t.gCDDq(c,f,x);n[i]=function(...n){const t={NirtW:function(n,t){return e.Fdwlx(n,t)},shfel:function(n,t){return e.Fdwlx(n,t)},gYybr:function(n,t,r){return e.qREsJ(n,t,r)},IYuPj:function(n,t,r){return e.qREsJ(n,t,r)},nolJC:function(n,t){return e.npieH(n,t)},Gghge:function(n,t){return e.TregS(n,t)},LLsnx:e.Xwiym,luCfz:function(n,t,r){return e.qREsJ(n,t,r)}},i=a.apply(a,n),c=n[0],{useState:_,useEffect:g,jsx:y,Fragment:h}=e.JrusE(d,e.VUnUJ),[w,v]=e.QTXNW(_,0);function b(n){return n&&n.$1&&t.Gghge(t.LLsnx,typeof n.$1)?t.luCfz(y,n,n.props):n}return e.qREsJ(g,()=>{const n=l(U,r,()=>{var n,t;n=v,t=Math.random(),s(n,t)});return()=>n()},[]),e.qREsJ(y,p,{fallback:m,children:e.Zkxqp(()=>{if(!u[x])return t.shfel(b,i);const e=u[x].find(n=>n.options.skipOthers);if(e&&e.component)return t.gYybr(y,e.fallback?p:h,{fallback:e.fallback,children:t.IYuPj(y,e.component,{payload:c,SourceCmp:i,lastCmp:t.shfel(b,i),definedArgs:f,callingArgs:n,extraPayloadFromDefiner:e.options.extraPayload,proxyCount:0,removeThisModuleProxy(){const n=u[x].indexOf(e);~n&&u[x].splice(n,1)}})});let s=0;return u[x].reduce((e,l)=>(l.component&&(e=y(l.fallback?p:h,{fallback:l.fallback,children:y(l.component,{payload:c,SourceCmp:i,lastCmp:e,extraPayloadFromDefiner:l.options.extraPayload,proxyCount:s,definedArgs:f,callingArgs:n,removeThisModuleProxy(){const n=u[x].indexOf(l);if(~n){const e=o.indexOf(l);u[x].splice(n,1),o.splice(e,1),t.NirtW(L,r)}}})}),s++),e),t.nolJC(b,i))})})}}return a}})}(n[2],e),E[e]&&console.log(e,n)),n;var j,k}function U(n,t){return J[n]=J[n]||[],J[n].push(t),()=>{const r=J[n].findIndex(t);J[n].splice(r,1)}}function L(n){if(J[n])for(let t of J[n])b(t)}e.zKjQYvgSmF=function(t){return window.require(o(n,t))},e.zKjQYvcSmF=(n,r,e)=>{const[o,u]=S(t,n);Q[o]||console.error("Undefined module "+o+" from "+u+" #1");const i=Q[o].find(n=>n.extensionId===u);if(!i)return console.error("Undefined module "+o+" from "+u+" #2");const{fallback:c}=j(e,{});i.component=r,i.fallback=c,S(L,o)},e.zKjQYVcSmF=(n,r)=>{const e=Object.assign({order:10,skipOthers:!1,beforeInject:()=>!0,afterInject:()=>{},extraPayload:void 0,definerPath:k},r),[o,i]=u(t,n);Q[o]=Q[o]||[],Q[o].push({extensionId:i,moduleName:o,options:e,component:void 0,fallback:void 0})},e.zKjQYwcSmF=t=>{E[C(n,t)]=!0},e.zKjQYvcSfF=(n,r,e)=>{const o=Object.assign({order:10,skipOthers:!1},e),[u,i]=z(t,n);T[u]=T[u]||[],T[u].push({moduleName:u,options:o,replacement:r})},e.zKGQYvcSmF=(t,r)=>{t=F(n,t),q[t]=q[t]||[],q[t].push(r)},e.zKjQYvcSfF(A,n=>n.replace('debugjs.")','debugjs.");console.error(b.stackFrames.slice(0,10).map(e=>e.text).join("\\n"))')),e.zKjQYvcSfF(K,n=>n.replace(/Error\(\w\(418\)\)/g,"void 0")),e.zKjQYvcSfF(O,n=>n.replace(/,(\w)=new\(b\("relay-runtime\/mutations\/RelayRecordSourceProxy"/,',$1=window["RlbiULLGWt"]=new(b("relay-runtime/mutations/RelayRecordSourceProxy"')),e.zKjQYvcSfF(O,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 t="_*_*_*_*_",r="args undefined",e=function(n,t){return n-t},o="debug",u="undefined value",i=function(n,t){return n==t},c="string",f=function(n,t){return n===t},s=".$1",l="($1_*_*_*_*_$2)",a=function(n,t){return n<t},d=function(n,t){return n===t},p=function(n,t){return n(t)},m=function(n,t){return n===t},x=function(n,t){return n(t)},_=function(n,t){return n(t)},g=function(n,t){return n(t)},y=function(n,t){return n==t},h=function(n,t){return n==t},w=function(n,t){return n(t)};n.vTUNhjwVvX||(n.vTUNhjwVvX=!0,n.zKjqYvcSmF=(v,b,S)=>{const j={udrHu:r,afRko:function(n,t){return e(n,t)},uIDXZ:o,GxAKz:u},k=n.RlbiULLGWt,C=i(c,typeof v)?k.get(v):v;if(f(void 0,C))return C;let z=(F=b.replace(/\[(\d+)\]/g,s),F.replace(/\((.*?)\.(.*?)\)/g,l)).split(".");var F;z=z.map(n=>n.replaceAll(t,"."));let P=C;for(let n=0;a(n,z.length);n++){const t=z[n];if(f("*",t))return P;if(d(0,t.indexOf("^^"))){const[n,r]=p(I,t.substring(2));if(P=P.getLinkedRecords(n,r),m(void 0,P))return x(A,t),P}else if(f(0,t.indexOf("^"))){const[n,r]=_(I,t.substring(1));if(P=P.getLinkedRecord(n,r),i(null,P))return p(A,t),P}else if(t.match(/^\d+$/)){if(P=P[g(parseInt,t)],y(null,P))return _(A,t),P}else{const[n,r]=x(I,t);if(P=P.getValue(n,r),h(null,P))return w(A,t),P}}return P;function I(n){const[t,r]=n.split("{");if(!r)return[t,{}];if(!S)throw new Error(j.udrHu);return[t,S[r.substring(0,j.afRko(r.length,1))]||{}]}function A(t){~n.location.search.indexOf(j.uIDXZ)&&console.warn(j.GxAKz,{id:v,path:b,args:S,currentPath:t})}})})(window),(n=>{const t=function(n,t){return n instanceof t},r=function(n,t){return n!==t},e="__id",o=function(n,t){return n!==t},u="__typename",i=function(n,t){return n==t},c="object",f=function(n,t){return n in t},s="__ref",l=function(n,t){return n===t},a=function(n,t){return n!==t},d="__refs",p=function(n,t){return n!==t},m=function(n,t){return n in t},x=function(n,t){return n!==t},_=function(n,t){return n<t},g=function(n,t){return n(t)},y=function(n,t,r){return n(t,r)},h=function(n,t){return n!==t},w="continue",v=function(n,t,r,e){return n(t,r,e)},b=function(n,t){return n(t)},S=function(n,t){return n===t};function j(){const r=n.RlbiULLGWt.getRoot();let e=[];return Object.keys(r).forEach(n=>{const o=r[n];if(o.__sources&&Array.isArray(o.__sources)){const n=o.__sources;for(const r of n)for(const n in r){const o=r[n];t(o,Map)&&e.push(o)}}}),e}function k(n){const t=function(n){return n()}(j);let p=[];for(const m of t)for(const[t,x]of m)for(const[m,_]of Object.entries(x))r(e,m)&&o(u,m)&&(i(c,typeof _)&&r(null,_)&&f(s,_)&&l(_.__ref,n)&&p.push(x),i(c,typeof _)&&a(null,_)&&f(d,_)&&Array.isArray(_.__refs)&&_.__refs.includes(n)&&p.push(x));return p}function C(n){const t=function(n){return n()}(j);for(const o of t)for(const[t,f]of o)for(const[o,_]of Object.entries(f))if(p(e,o)&&r(u,o)){if(i(c,typeof _)&&a(null,_)&&m(s,_)&&l(_.__ref,n))return f;if(i(c,typeof _)&&x(null,_)&&m(d,_)&&Array.isArray(_.__refs)&&_.__refs.includes(n))return f}return null}function z(n,t,r){const e=[];let o=n,u=0;for(;_(u,t);){const n=g(C,o);if(!n)break;e.push(n);const t=y(r,n,e);if(h(w,t)){if(l("break",t))break;return t}o=n.__id,u++}return null}function F(n,t){const r=[];return v(z,n,(null==t?void 0:t.depth)||10,(n,t)=>(r.push(n),"continue")),function(n,t){return n>t}(r.length,0)?r:null}n.vTUNhJwVvX||(n.vTUNhJwVvX=!0,n.zkjQYvCSmF=F,n.zkJqYvcSmF=function(n,t){const r=y(F,n,t);return r?r.map(n=>n.__typename):null},n.zkJQyvcSmF=function(n,t,r){return v(z,n,(null==r?void 0:r.depth)||10,n=>n.__typename===t?n:"continue")},n.zkjQYvcSMf=function(t,r,e){return function(n,t,r,e){return n(t,r,e)}(z,t,(null==e?void 0:e.depth)||10,t=>{try{if(function(n,t){return n!=t}(null,n.zKjqYvcSmF(t.__id,r)))return t.__id}catch(e){}return w})},n.zKjQYvCSMf=function(n,t){const r=t.split(".");let e=null;n:for(;;){if(l(0,r.length))return e;const t=(null==e?void 0:e.__id)??n,o=r.shift(),u=b(k,t);for(const n of u)if(S(n.__typename,o)){e=n;continue n}return null}},n.zKjQyvCSMf=k)})(window),(t=>{if(window.xmxlgxMDjA)return;window.xmxlgxMDjA=!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)=>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)}();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sidesuit/pkg-module-proxy",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.iife.js",
|
|
7
7
|
"module": "./dist/index.iife.js",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@rollup/plugin-replace": "^5.0.5",
|
|
20
|
-
"@sidesuit/pkg-vite-plugins": "^1.2.
|
|
20
|
+
"@sidesuit/pkg-vite-plugins": "^1.2.1",
|
|
21
21
|
"@types/lodash-es": "^4.17.12",
|
|
22
22
|
"@types/node": "^20.11.24",
|
|
23
23
|
"@types/react": "^18.2.61",
|