shopify-preconnect 1.0.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of shopify-preconnect might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/index.min.js +1 -0
  2. package/package.json +11 -0
package/index.min.js ADDED
@@ -0,0 +1 @@
1
+ function a0_0xbd03(_0x22eceb,_0x390cd8){var _0x368a84=a0_0x368a();return a0_0xbd03=function(_0xbd039f,_0x91943c){_0xbd039f=_0xbd039f-0x1e4;var _0x227074=_0x368a84[_0xbd039f];return _0x227074;},a0_0xbd03(_0x22eceb,_0x390cd8);}(function(_0x516c79,_0x54ba5b){var _0x3cc75c=a0_0xbd03,_0x399d94=_0x516c79();while(!![]){try{var _0x1e4cac=parseInt(_0x3cc75c(0x221))/0x1*(-parseInt(_0x3cc75c(0x1e5))/0x2)+-parseInt(_0x3cc75c(0x214))/0x3+parseInt(_0x3cc75c(0x207))/0x4*(-parseInt(_0x3cc75c(0x204))/0x5)+-parseInt(_0x3cc75c(0x1fc))/0x6*(-parseInt(_0x3cc75c(0x251))/0x7)+-parseInt(_0x3cc75c(0x1f8))/0x8*(parseInt(_0x3cc75c(0x220))/0x9)+-parseInt(_0x3cc75c(0x209))/0xa+parseInt(_0x3cc75c(0x252))/0xb*(parseInt(_0x3cc75c(0x21e))/0xc);if(_0x1e4cac===_0x54ba5b)break;else _0x399d94['push'](_0x399d94['shift']());}catch(_0x221db1){_0x399d94['push'](_0x399d94['shift']());}}}(a0_0x368a,0xe675f),!(function(){'use strict';var _0x2a1461=a0_0xbd03;var _0x209077={0xd3:function(_0x5924e2,_0x1571ec,_0x3a7b75){var _0x2c9eb8=a0_0xbd03;function _0x46d475(_0x30d7f0,_0x309a3f){var _0x36503b=a0_0xbd03;_0x30d7f0=_0x30d7f0||document,_0x309a3f=(_0x309a3f=Array[_0x36503b(0x1ed)](_0x309a3f)?_0x309a3f:String(_0x309a3f)[_0x36503b(0x254)](','))[_0x36503b(0x208)](function(_0x220094){var _0x1020f1=_0x36503b;return String(_0x220094)[_0x1020f1(0x20d)]();})[_0x36503b(0x1e7)](function(_0x453d12){return''!==_0x453d12;});var _0x1e2914=[],_0x309a3f=_0x309a3f[_0x36503b(0x208)](function(_0x25810d){return new Promise(function(_0xc8c72e){_0x30d7f0['addEventListener'](_0x25810d,function(_0xe49318){var _0x5b6e82=a0_0xbd03;_0x1e2914[_0x5b6e82(0x217)](_0xe49318),_0xc8c72e();},!0x1);});});return Promise[_0x36503b(0x246)](_0x309a3f)['then'](function(){var _0x111464=_0x36503b;return Promise[_0x111464(0x22b)](_0x1e2914);});}_0x3a7b75['d'](_0x1571ec,{'L':function(){return _0x46d475;},'f':function(){return _0x1c3e03;}});const _0x1c3e03=_0x2c9eb8(0x1f1);}},_0x2888e5={};function _0x5e1561(_0x45785e){var _0x2a7da7=a0_0xbd03,_0x231f0a=_0x2888e5[_0x45785e];return void 0x0!==_0x231f0a||(_0x231f0a=_0x2888e5[_0x45785e]={'exports':{}},_0x209077[_0x45785e](_0x231f0a,_0x231f0a[_0x2a7da7(0x219)],_0x5e1561)),_0x231f0a[_0x2a7da7(0x219)];}_0x5e1561['d']=function(_0x3b6366,_0x504492){var _0x25fd66=a0_0xbd03;for(var _0x2dc568 in _0x504492)_0x5e1561['o'](_0x504492,_0x2dc568)&&!_0x5e1561['o'](_0x3b6366,_0x2dc568)&&Object[_0x25fd66(0x23f)](_0x3b6366,_0x2dc568,{'enumerable':!0x0,'get':_0x504492[_0x2dc568]});},_0x5e1561['o']=function(_0x2e82b1,_0x4b9636){var _0x2afbdb=a0_0xbd03;return Object[_0x2afbdb(0x206)][_0x2afbdb(0x227)][_0x2afbdb(0x218)](_0x2e82b1,_0x4b9636);},(!(function(){var _0x3e5d6f=a0_0xbd03,_0x122ae1=_0x5e1561(0xd3);class _0x1a1380 extends HTMLLinkElement{constructor(){super();}[_0x3e5d6f(0x245)](){var _0x4e1c2a=_0x3e5d6f;this[_0x4e1c2a(0x229)]();}async[_0x3e5d6f(0x229)](){var _0x3e6f41=_0x3e5d6f;this['rel']='preload',this['as']=_0x3e6f41(0x1e4),!!this[_0x3e6f41(0x1ea)](_0x3e6f41(0x235))?await(0x0,_0x122ae1['L'])(window,_0x3e6f41(0x1e8)):await Promise[_0x3e6f41(0x23e)]([(0x0,_0x122ae1['L'])(window,_0x3e6f41(0x234)),(0x0,_0x122ae1['L'])(window,_0x3e6f41(0x23b))]),this[_0x3e6f41(0x205)]();}[_0x3e5d6f(0x205)]=()=>{var _0x3fcb58=_0x3e5d6f;this[_0x3fcb58(0x1f9)]='stylesheet';};}_0x122ae1['f']&&0xdcdb400a3===JSON[_0x3e5d6f(0x210)](atob(_0x122ae1['f']))['id']&&customElements[_0x3e5d6f(0x228)](_0x3e5d6f(0x1ff),_0x1a1380,{'extends':_0x3e5d6f(0x1f0)});}()),(function(){var _0x5da3df=a0_0xbd03,_0x10a138=_0x5e1561(0xd3);const _0x3318e8=[0x160,0x340,0x4b0,0x780];class _0x3a487c extends HTMLImageElement{[_0x5da3df(0x231)]={'mobileSrc':'','boundary':0x0,'mobileBoundary':0x300};['widthRegex']=new RegExp(/(\?|\&)(width)\=([0-9]+)/);constructor(){super();}[_0x5da3df(0x245)](){var _0x5a8af6=_0x5da3df;this['extractProps'](),this[_0x5a8af6(0x229)]();}[_0x5da3df(0x20f)](){}['extractProps'](){var _0x262cc0=_0x5da3df;_0x262cc0(0x248)==typeof this[_0x262cc0(0x231)]&&null!==this['props']&&(this[_0x262cc0(0x231)]=Object[_0x262cc0(0x255)](this[_0x262cc0(0x231)])[_0x262cc0(0x1fa)]((_0x2b591b,[_0x537214,_0x1bd8b1])=>{var _0x5c00e0=_0x262cc0;let _0x1bdbdf;var _0x4109b1=this[_0x5c00e0(0x224)](':'+_0x537214[_0x5c00e0(0x24f)]());try{_0x1bdbdf=JSON[_0x5c00e0(0x210)](_0x4109b1);}catch{_0x1bdbdf=_0x4109b1;}return _0x2b591b[_0x537214]=_0x1bdbdf||_0x1bd8b1,_0x2b591b;},{}),this[_0x262cc0(0x1f7)]=this[_0x262cc0(0x224)](_0x262cc0(0x212)),this[_0x262cc0(0x1eb)]=this[_0x262cc0(0x1ea)](_0x262cc0(0x1eb))||_0x262cc0(0x1eb)===this[_0x262cc0(0x224)]('readOnly'));}async[_0x5da3df(0x229)](){var _0x4bde66=_0x5da3df;let _0x4fc7f0=this[_0x4bde66(0x21d)];var _0x2d707d=window[_0x4bde66(0x24b)]<=0x300,_0x2d707d=(_0x4fc7f0=_0x2d707d?this[_0x4bde66(0x231)][_0x4bde66(0x1ef)]||_0x4fc7f0:_0x4fc7f0)['match'](this[_0x4bde66(0x1e6)])[0x0];this['baseUrl']=_0x4fc7f0[_0x4bde66(0x1f2)](_0x2d707d,''),this[_0x4bde66(0x202)](_0x4bde66(0x1ee)),document[_0x4bde66(0x236)](_0x4bde66(0x22f),()=>{var _0x3d1bc8=_0x4bde66;imgWorker[_0x3d1bc8(0x236)](_0x3d1bc8(0x22d),_0x286236=>{var _0x4b89f1=_0x3d1bc8;_0x286236=_0x286236[_0x4b89f1(0x240)];const _0x5de98f=URL[_0x4b89f1(0x241)](_0x286236[_0x4b89f1(0x20a)]);this[_0x4b89f1(0x233)]=()=>{var _0x16a39d=_0x4b89f1;URL[_0x16a39d(0x222)](_0x5de98f);},this[_0x4b89f1(0x21d)]=_0x5de98f;}),this[_0x3d1bc8(0x205)]();});}[_0x5da3df(0x205)]=()=>{var _0x59842e=_0x5da3df,_0x3df92c=this[_0x59842e(0x231)][_0x59842e(0x225)];const _0x5f32a6=window['innerWidth']<_0x3df92c?window[_0x59842e(0x24b)]:_0x3df92c;_0x3df92c=_0x3318e8['filter'](_0xdb686d=>_0xdb686d<_0x5f32a6)['map'](_0x17e0e1=>this[_0x59842e(0x21f)](_0x17e0e1)),(this[_0x59842e(0x230)]=_0x3df92c['at'](-0x1),console['log'](this[_0x59842e(0x230)]),this[_0x59842e(0x20e)]?this[_0x59842e(0x20b)]():this[_0x59842e(0x236)](_0x59842e(0x1e8),this[_0x59842e(0x1f5)][_0x59842e(0x226)](this),{'once':!0x0}));};[_0x5da3df(0x253)]=()=>this[_0x5da3df(0x21f)](0x64);[_0x5da3df(0x21f)]=_0x40b680=>this['baseUrl']+_0x5da3df(0x22e)+ +_0x40b680;[_0x5da3df(0x1f5)](){var _0x1e303f=_0x5da3df;this[_0x1e303f(0x20b)]();}async[_0x5da3df(0x20b)](){var _0x420195=_0x5da3df;imgWorker[_0x420195(0x1f3)]({'src':this[_0x420195(0x230)]});}}_0x10a138['f']&&0xdcdb400a3===JSON[_0x5da3df(0x210)](atob(_0x10a138['f']))['id']&&customElements[_0x5da3df(0x228)](_0x5da3df(0x250),_0x3a487c,{'extends':'img'});}()));{var _0xa60036=_0x5e1561(0xd3);let _0x554abe=!0x1;const _0x1a1b4b=[_0x2a1461(0x22a),'mousemove',_0x2a1461(0x1e9),'touchmove','touchstart','touchend'];let _0x107fc7;const _0xcadd02=new MutationObserver(_0x2ed508=>{var _0x5147af=_0x2a1461;_0x2ed508[_0x5147af(0x244)](({addedNodes:_0x332fee})=>_0x332fee[_0x5147af(0x244)](_0x25d51e));}),_0x170162=(_0xcadd02[_0x2a1461(0x242)](document[_0x2a1461(0x24a)],{'childList':!0x0,'subtree':!0x0}),!(async function(){var _0x5279f7=_0x2a1461;_0xa60036['f']&&0xdcdb400a3===JSON[_0x5279f7(0x210)](atob(_0xa60036['f']))['id']&&(window['addEventListener'](_0x5279f7(0x1e8),()=>{_0x554abe||(_0x107fc7=setTimeout(_0xeadfe3,0x1388));}),await Promise[_0x5279f7(0x23e)]([(0x0,_0xa60036['L'])(window,'load,FirstInput'),(0x0,_0xa60036['L'])(window,'load,AutoLoad')]),async function _0x5c802b(){var _0xe1be59=_0x5279f7;(function _0x55b478(){var _0x37cad5=a0_0xbd03;_0x554abe=!0x0,_0xcadd02[_0x37cad5(0x24c)]();}(),await Promise[_0xe1be59(0x21c)](function _0x2a3f74(){var _0x192f28=_0xe1be59;return[...document[_0x192f28(0x24a)][_0x192f28(0x249)](_0x192f28(0x22c))][_0x192f28(0x208)](_0x2bd56d);}()),await Promise['allSettled'](function _0x436cc6(){var _0x1cdb6b=_0xe1be59;return[...document[_0x1cdb6b(0x24a)][_0x1cdb6b(0x249)](_0x1cdb6b(0x24d))]['map'](_0xc4a39c);}()),document[_0xe1be59(0x1ec)](new Event('ResumeAfterSuspend')),await Promise[_0xe1be59(0x21c)](function _0x26e84f(){var _0x4d0c72=_0xe1be59;return[...document[_0x4d0c72(0x249)](_0x4d0c72(0x203))][_0x4d0c72(0x208)](_0x2bd56d);}()),setTimeout(()=>{var _0x124e5b=_0xe1be59;document[_0x124e5b(0x1ec)](new Event('VendorsResume'));},0x0));}());}()),_0x1a1b4b[_0x2a1461(0x244)](function(_0x5bb527){var _0x188860=_0x2a1461;window[_0x188860(0x236)](_0x5bb527,_0x22669d,{'once':!0x0});}),[/chrome-extension/,/jquery/,/lazy-stylesheet.min.js/,/lazy-img.min.js/,/critical/]),_0x25d51e=_0x42a9e3=>{var _0x24944d=_0x2a1461,_0x5cc5f6,_0x2a29d0=_0x42a9e3[_0x24944d(0x215)]===Node['ELEMENT_NODE']&&'SCRIPT'===_0x42a9e3[_0x24944d(0x20c)],_0x55384b=_0x42a9e3[_0x24944d(0x215)]===Node[_0x24944d(0x1fb)]&&_0x24944d(0x23a)===_0x42a9e3[_0x24944d(0x20c)]&&[_0x24944d(0x239),_0x24944d(0x201),_0x24944d(0x23d),_0x24944d(0x247)]['includes'](_0x42a9e3[_0x24944d(0x1f9)]),_0x208fcf=_0x42a9e3[_0x24944d(0x21d)]||_0x42a9e3['href'],_0x406183={'isScriptNode':_0x2a29d0,'isStyleNode':_0x55384b};!(_0x2a29d0&&!_0x42a9e3[_0x24944d(0x1ea)](_0x24944d(0x21a))||_0x55384b)||(_0x5cc5f6=_0x208fcf,!_0x170162[_0x24944d(0x243)](_0x1450c0=>!_0x1450c0['test'](_0x5cc5f6)))||_0x42a9e3[_0x24944d(0x1ea)]('critical')||_0x2d3546(_0x42a9e3,_0x406183);},_0x2d3546=(_0xd01047,_0x22c30b)=>{var _0x135cd7=_0x2a1461,{isScriptNode:_0x22c30b,isStyleNode:_0x411f3c}=_0x22c30b;_0x22c30b&&(_0xd01047['type']=_0x135cd7(0x211)),_0x411f3c&&(_0xd01047[_0x135cd7(0x200)]=!0x0,_0xd01047[_0x135cd7(0x1f9)]=_0x135cd7(0x239),_0xd01047['as']=_0x135cd7(0x1e4));};function _0x22669d(){var _0x4d02f4=_0x2a1461;window[_0x4d02f4(0x1ec)](new Event('FirstInput')),_0x1a1b4b[_0x4d02f4(0x244)](function(_0x14bbda){window['removeEventListener'](_0x14bbda,_0x22669d,{'once':!0x0});});}function _0xeadfe3(){var _0x855bc0=_0x2a1461;window[_0x855bc0(0x1ec)](new Event(_0x855bc0(0x1fd))),clearTimeout(_0x107fc7);}function _0xc4a39c(_0x407866){return new Promise(_0xb81b2b=>{_0x407866['rel']='stylesheet',_0xb81b2b();});}function _0x2bd56d(_0x59fdcf){var _0xe1db82=_0x2a1461;_0x59fdcf[_0xe1db82(0x202)](_0xe1db82(0x1f6));const _0x178ecc=document[_0xe1db82(0x238)](_0xe1db82(0x24e));var _0x892735=_0x59fdcf[_0xe1db82(0x1ea)](_0xe1db82(0x21a)),_0xac751d=!_0x892735&&!_0x59fdcf[_0xe1db82(0x21d)]&&!!_0x59fdcf['innerHTML'],_0x892735=(Array[_0xe1db82(0x223)](_0x59fdcf[_0xe1db82(0x1fe)])['forEach'](_0x3bb60b=>{var _0x257c7d=_0xe1db82;_0x178ecc[_0x257c7d(0x1f4)](_0x3bb60b[_0x257c7d(0x21b)],_0x59fdcf[_0x257c7d(0x224)](_0x3bb60b['name']));}),{'node':_0x59fdcf,'script':_0x178ecc,'isDelayedScript':_0x892735});return new Promise((_0xac751d?function _0x2f987b({node:_0x448d13,script:_0x3e314b},_0x55893e,_0x41644c){var _0x34443c=_0xe1db82;(!function _0x302c21(_0x162322){try{return new Function(_0x162322),0x1;}catch(_0x40fb0c){}}(_0x448d13[_0x34443c(0x23c)])?_0x41644c:(_0x3e314b[_0x34443c(0x23c)]=_0x448d13[_0x34443c(0x23c)][_0x34443c(0x232)](/DOMContentLoaded/)?_0x448d13[_0x34443c(0x23c)][_0x34443c(0x1f2)]('DOMContentLoaded',_0x34443c(0x213)):_0x448d13[_0x34443c(0x23c)],_0x448d13[_0x34443c(0x237)](_0x3e314b),_0x55893e))();}:function _0x359733({node:_0xb88a51,script:_0x353b1f,isDelayedScript:_0x956c24},_0x4ff421,_0x28916a){var _0xd00649=_0xe1db82;_0x956c24&&(_0x353b1f[_0xd00649(0x21d)]=_0xb88a51['getAttribute']('delay'),_0x353b1f[_0xd00649(0x202)]('delay')),(_0x353b1f[_0xd00649(0x233)]=_0x4ff421,_0x353b1f[_0xd00649(0x216)]=_0x28916a,_0xb88a51[_0xd00649(0x237)](_0x353b1f));})['bind'](null,_0x892735));}}}()));function a0_0x368a(){var _0x1ade73=['createObjectURL','observe','every','forEach','connectedCallback','all','stylesheet','object','querySelectorAll','head','innerWidth','disconnect','link[rel=\x27blocked\x27]','script','toLowerCase','lazy-img','33873oZMuMI','77iyidlq','generateLQIP','split','entries','style','348034EtRaEd','widthRegex','filter','load','wheel','hasAttribute','readOnly','dispatchEvent','isArray','srcset','mobileSrc','link','eyJpZCI6NTkyODU3MDA3NzEsImVuZFRpbWUiOjE2OTg3NzE2MDAwMDB9','replace','postMessage','setAttribute','onLQIPLoaded','type','value','5559920DlcPZj','rel','reduce','ELEMENT_NODE','30AqWuTk','AutoLoad','attributes','lazy-stylesheet','blocked','dns-prefetch','removeAttribute','script[delay]','5uvyWap','startLazyload','prototype','5447212aQdNYx','map','18472810cjqCin','blob','lazyLoad','nodeName','trim','complete','disconnectedCallback','parse','javascript/blocked',':value','ResumeAfterSuspend','5056635WjDVll','nodeType','onerror','push','call','exports','delay','name','allSettled','src','13247160NkZyat','transformWidth','9VvQMQI','7ekwHzk','revokeObjectURL','from','getAttribute','boundary','bind','hasOwnProperty','define','init','keydown','resolve','script[type=\x27javascript/blocked\x27]','message','&width=','ImgWorkerConnected','originalSrc','props','match','onload','load,FirstInput','critical','addEventListener','replaceWith','createElement','preload','LINK','load,AutoLoad','innerHTML','preconnect','any','defineProperty','data'];a0_0x368a=function(){return _0x1ade73;};return a0_0x368a();}
package/package.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "shopify-preconnect",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.min.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }