@webspatial/builder 0.0.12 → 0.0.13

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/README.md CHANGED
@@ -14,49 +14,49 @@ If you wish to package an IPA file or publish it to App Store Connect, you need
14
14
  ## **Usage**
15
15
  Build and run local WebSpatial project on Apple Vision Pro simulator.
16
16
 
17
- `webspatial-builder run --manifest=public/manifest.json --project=dist --base-url=dist/webspatial/avp --platform=visionos`
17
+ `webspatial-builder run --manifest=public/manifest.json --project=dist --base=dist/webspatial/avp --platform=visionos`
18
18
 
19
19
  - Default parameters
20
20
  - --manifest=public/manifest.json
21
21
  - --project=dist
22
22
  - --platform=visionos
23
23
  - Necessary parameters
24
- - --base-url
24
+ - --base
25
25
 
26
- > The --base-url is the root path to the project. It will be combined with start_url in the manifest.json file to generate the final URL.
26
+ > The --base is the root path to the project. It will be combined with start_url in the manifest.json file to generate the final URL.
27
27
  >
28
28
  >**For example:**
29
29
  >```
30
30
  >Example 1:
31
31
  >start_url:./a/index.html
32
- >--base-url:dist/webspatial/avp
32
+ >--base:dist/webspatial/avp
33
33
  >final url:dist/webspatial/avp/a/index.html
34
34
  >
35
35
  >Example 2:
36
36
  >start_url:https://www.domain1.com/a/index.html
37
- >--base-url:https://www.domain2.com/webspatial/avp
37
+ >--base:https://www.domain2.com/webspatial/avp
38
38
  >final url:https://www.domain2.com/webspatial/avp/index.html
39
39
  >
40
40
  >Example 3:
41
41
  >start_url:https://www.domain1.com/a/index.html
42
- >--base-url:dist/webspatial/avp
42
+ >--base:dist/webspatial/avp
43
43
  >final url:dist/webspatial/avp/index.html
44
44
  >```
45
45
 
46
46
  Package an IPA file.
47
47
 
48
- `webspatial-builder build --manifest=manifest.json --project=dist --base-url=dist/webspatial/avp --platform=visionos --teamId=yourTeamId`
48
+ `webspatial-builder build --manifest=manifest.json --project=dist --base=dist/webspatial/avp --platform=visionos --teamId=yourTeamId`
49
49
 
50
50
  - Necessary parameters
51
- - --base-url
51
+ - --base
52
52
  - --teamId
53
53
 
54
54
 
55
55
  Publish to App Store Connect.
56
- `webspatial-builder publish --manifest=manifest.json --project=dist --base-url=dist/webspatial/avp --platform=visionos --teamId=yourTeamId --version=projectVersion --u=yourAppleId --p=yourAppSpecificCode`
56
+ `webspatial-builder publish --manifest=manifest.json --project=dist --base=dist/webspatial/avp --platform=visionos --teamId=yourTeamId --version=projectVersion --u=yourAppleId --p=yourAppSpecificCode`
57
57
 
58
58
  - Necessary parameters
59
- - --base-url
59
+ - --base
60
60
  - --teamId
61
61
  - --version
62
62
  - --u
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x503c86=_0x1d66;function _0x2407(){const _0x1c166b=['run','75128VMpLnU','Cli','136332Neqbth','argv','exit','cli','33yAMXzZ','ConsoleLog','./lib/utils/Log','2585682gmjDQF','code','slice','660672REhaTX','defineProperty','exports','116982FKtywP','555004npZQYO','isArray','forEach','454140bYmztY','56ehvmzy','error','./lib/Cli'];_0x2407=function(){return _0x1c166b;};return _0x2407();}(function(_0x204823,_0x3ea306){const _0x23ac66=_0x1d66,_0x33dc1b=_0x204823();while(!![]){try{const _0x1d3f78=-parseInt(_0x23ac66(0x13d))/0x1+-parseInt(_0x23ac66(0x132))/0x2*(-parseInt(_0x23ac66(0x141))/0x3)+-parseInt(_0x23ac66(0x133))/0x4+parseInt(_0x23ac66(0x136))/0x5+parseInt(_0x23ac66(0x12f))/0x6+-parseInt(_0x23ac66(0x137))/0x7*(-parseInt(_0x23ac66(0x13b))/0x8)+-parseInt(_0x23ac66(0x144))/0x9;if(_0x1d3f78===_0x3ea306)break;else _0x33dc1b['push'](_0x33dc1b['shift']());}catch(_0x377835){_0x33dc1b['push'](_0x33dc1b['shift']());}}}(_0x2407,0x572e0));function _0x1d66(_0x163225,_0x5279b0){const _0x240701=_0x2407();return _0x1d66=function(_0x1d661e,_0x37f18f){_0x1d661e=_0x1d661e-0x12d;let _0x369539=_0x240701[_0x1d661e];return _0x369539;},_0x1d66(_0x163225,_0x5279b0);}Object[_0x503c86(0x130)](exports,'__esModule',{'value':!![]});const Cli_1=require(_0x503c86(0x139)),Log_1=require(_0x503c86(0x143)),CustomError_1=require('./lib/utils/CustomError');module[_0x503c86(0x131)]=async()=>{const _0x2a650b=_0x503c86,_0x1b886f=new Cli_1[(_0x2a650b(0x13c))](),_0x46f3a7=new Log_1[(_0x2a650b(0x142))](_0x2a650b(0x140)),_0x1d8f68=process[_0x2a650b(0x13e)][_0x2a650b(0x12e)](0x2);let _0xef7bbb;try{_0xef7bbb=await _0x1b886f[_0x2a650b(0x13a)](_0x1d8f68);}catch(_0x5c12cc){if(_0x5c12cc instanceof CustomError_1['CustomError']){const _0x147b0e=_0x5c12cc['customMessage'];Array[_0x2a650b(0x134)](_0x147b0e)?_0x147b0e[_0x2a650b(0x135)](_0x48fb65=>{const _0x5b09ad=_0x2a650b;_0x46f3a7['error'](_0x48fb65[_0x5b09ad(0x12d)]+':\x20'+_0x48fb65['message']);}):_0x46f3a7[_0x2a650b(0x138)](_0x147b0e[_0x2a650b(0x12d)]+':\x20'+_0x147b0e['message']);}else _0x46f3a7['error'](_0x5c12cc['message']);_0xef7bbb=![];}!_0xef7bbb?process[_0x2a650b(0x13f)](0x1):process[_0x2a650b(0x13f)](0x0);};
1
+ 'use strict';const _0x1c3cc2=_0x86a7;(function(_0x2c85ef,_0x549a4a){const _0x1025aa=_0x86a7,_0x360bd6=_0x2c85ef();while(!![]){try{const _0xc126e0=-parseInt(_0x1025aa(0xb9))/0x1*(-parseInt(_0x1025aa(0x9f))/0x2)+-parseInt(_0x1025aa(0xab))/0x3*(-parseInt(_0x1025aa(0xb3))/0x4)+parseInt(_0x1025aa(0xad))/0x5*(-parseInt(_0x1025aa(0xa3))/0x6)+parseInt(_0x1025aa(0xac))/0x7+-parseInt(_0x1025aa(0xa5))/0x8+-parseInt(_0x1025aa(0xae))/0x9*(-parseInt(_0x1025aa(0xaa))/0xa)+-parseInt(_0x1025aa(0xa9))/0xb*(parseInt(_0x1025aa(0xb7))/0xc);if(_0xc126e0===_0x549a4a)break;else _0x360bd6['push'](_0x360bd6['shift']());}catch(_0x49c48e){_0x360bd6['push'](_0x360bd6['shift']());}}}(_0x4456,0xe61be));function _0x4456(){const _0x3d275a=['isArray','12cuYzZm','code','23RWVCwb','message','154508awVDaW','./lib/utils/Log','customMessage','forEach','24aDKonA','CustomError','1063984fXHFDy','exit','ConsoleLog','argv','18123974tNgoOl','730tYASyu','8421nOIxZH','8466360HdRYYH','1463255zNTQpD','30204hWGjIG','error','defineProperty','slice','__esModule','944SOymOu','Cli','./lib/utils/CustomError'];_0x4456=function(){return _0x3d275a;};return _0x4456();}Object[_0x1c3cc2(0xb0)](exports,_0x1c3cc2(0xb2),{'value':!![]});const Cli_1=require('./lib/Cli'),Log_1=require(_0x1c3cc2(0xa0)),CustomError_1=require(_0x1c3cc2(0xb5));function _0x86a7(_0x16a729,_0xe03acf){const _0x445612=_0x4456();return _0x86a7=function(_0x86a732,_0x3532fa){_0x86a732=_0x86a732-0x9e;let _0x14d76=_0x445612[_0x86a732];return _0x14d76;},_0x86a7(_0x16a729,_0xe03acf);}module['exports']=async()=>{const _0x18d1d7=_0x1c3cc2,_0x131dad=new Cli_1[(_0x18d1d7(0xb4))](),_0x334a12=new Log_1[(_0x18d1d7(0xa7))]('cli'),_0x5ef05b=process[_0x18d1d7(0xa8)][_0x18d1d7(0xb1)](0x2);let _0x5d0e3a;try{_0x5d0e3a=await _0x131dad['run'](_0x5ef05b);}catch(_0x1d3f65){if(_0x1d3f65 instanceof CustomError_1[_0x18d1d7(0xa4)]){const _0x5b0390=_0x1d3f65[_0x18d1d7(0xa1)];Array[_0x18d1d7(0xb6)](_0x5b0390)?_0x5b0390[_0x18d1d7(0xa2)](_0x18c124=>{_0x334a12['error'](_0x18c124['code']+':\x20'+_0x18c124['message']);}):_0x334a12[_0x18d1d7(0xaf)](_0x5b0390[_0x18d1d7(0xb8)]+':\x20'+_0x5b0390[_0x18d1d7(0x9e)]);}else _0x334a12[_0x18d1d7(0xaf)](_0x1d3f65[_0x18d1d7(0x9e)]);_0x5d0e3a=![];}!_0x5d0e3a?process[_0x18d1d7(0xa6)](0x1):process[_0x18d1d7(0xa6)](0x0);};
package/dist/lib/Cli.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x170f18=_0x3a63;(function(_0x4dbe87,_0x11aefa){const _0x3b0692=_0x3a63,_0x443ee4=_0x4dbe87();while(!![]){try{const _0x167376=-parseInt(_0x3b0692(0xc3))/0x1*(parseInt(_0x3b0692(0xb5))/0x2)+parseInt(_0x3b0692(0xd2))/0x3+-parseInt(_0x3b0692(0xcc))/0x4+-parseInt(_0x3b0692(0xcf))/0x5+parseInt(_0x3b0692(0xbc))/0x6+parseInt(_0x3b0692(0xba))/0x7+-parseInt(_0x3b0692(0xc4))/0x8*(-parseInt(_0x3b0692(0xd4))/0x9);if(_0x167376===_0x11aefa)break;else _0x443ee4['push'](_0x443ee4['shift']());}catch(_0x3ed998){_0x443ee4['push'](_0x443ee4['shift']());}}}(_0x5e4f,0x958d1));function _0x3a63(_0xf4e824,_0x13dfc2){const _0x5e4f43=_0x5e4f();return _0x3a63=function(_0x3a631f,_0x30f80e){_0x3a631f=_0x3a631f-0xb4;let _0x5e575c=_0x5e4f43[_0x3a631f];return _0x5e575c;},_0x3a63(_0xf4e824,_0x13dfc2);}Object[_0x170f18(0xbe)](exports,_0x170f18(0xc8),{'value':!![]}),exports['Cli']=void 0x0;const minimist=require(_0x170f18(0xc6)),semver_1=require('semver'),FetchUtils_1_1=require('./utils/FetchUtils-1'),help_1=require(_0x170f18(0xb8)),build_1=require(_0x170f18(0xb9)),version_1=require(_0x170f18(0xd0)),fetch_1=require('./utils/fetch');function _0x5e4f(){const _0x239d98=['./cmds/build','6871599MHpUzN','publish','1403778eHiWKN','fetchUtils','defineProperty','setDownloadFile','length','build','\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.','1238KkGFCN','185160cpchZq','help','minimist','decompressResponseBuffer','__esModule','\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands','fetch','setDecompressResponseBuffer','4893864hWkAkO','major','start','3204170POaLLW','./cmds/version','Cli','2427501msITqx','version','468KauhxJ','downloadFile','versions','setFetch','1214GFVquj','run','node','./cmds/help'];_0x5e4f=function(){return _0x239d98;};return _0x5e4f();}class Cli{async['run'](_0x228855){const _0x374085=_0x170f18;if((0x0,semver_1[_0x374085(0xcd)])(process[_0x374085(0xd6)][_0x374085(0xb7)])<0xe)throw new Error('Current\x20Node.js\x20version\x20is\x20'+process[_0x374085(0xd6)][_0x374085(0xb7)]+'.'+_0x374085(0xc2));FetchUtils_1_1[_0x374085(0xbd)][_0x374085(0xb4)](fetch_1[_0x374085(0xca)]),FetchUtils_1_1['fetchUtils'][_0x374085(0xbf)](fetch_1[_0x374085(0xd5)]),FetchUtils_1_1[_0x374085(0xbd)][_0x374085(0xcb)](fetch_1[_0x374085(0xc7)]);const _0x563532=minimist(_0x228855);let _0x376c8d=undefined;if(_0x563532['_'][_0x374085(0xc0)]===0x0){if(_0x563532[_0x374085(0xd3)])_0x376c8d='version';else _0x563532[_0x374085(0xc5)]&&(_0x376c8d=_0x374085(0xc5));}else _0x376c8d=_0x563532['_'][0x0];!_0x376c8d&&(_0x376c8d=_0x374085(0xc5));switch(_0x376c8d){case _0x374085(0xc5):case'h':return await(0x0,help_1[_0x374085(0xc5)])(_0x563532);case _0x374085(0xc1):return await(0x0,build_1[_0x374085(0xce)])(_0x563532);case _0x374085(0xbb):return await(0x0,build_1['store'])(_0x563532);case'run':return await(0x0,build_1[_0x374085(0xb6)])(_0x563532);case _0x374085(0xd3):{return await(0x0,version_1['version'])();}default:throw new Error('\x22'+_0x376c8d+_0x374085(0xc9));}}}exports[_0x170f18(0xd1)]=Cli;
1
+ 'use strict';function _0x37a8(){const _0x5566f9=['setDownloadFile','./cmds/help','818015XYKVsy','./cmds/version','versions','setDecompressResponseBuffer','publish','15434608mlNItu','./utils/fetch','fetchUtils','start','defineProperty','839848cABYpm','Cli','./utils/FetchUtils-1','\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands','minimist','store','node','1367056cAVPFi','major','2449866VbyKqO','help','version','3222550VFMsZn','\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.','run','downloadFile','length','442182KRhDIn'];_0x37a8=function(){return _0x5566f9;};return _0x37a8();}function _0x5044(_0x41024c,_0x540a38){const _0x37a8dd=_0x37a8();return _0x5044=function(_0x5044ae,_0x3a6bcd){_0x5044ae=_0x5044ae-0x17c;let _0x33b14c=_0x37a8dd[_0x5044ae];return _0x33b14c;},_0x5044(_0x41024c,_0x540a38);}const _0x2dae6f=_0x5044;(function(_0x20ce1d,_0x400332){const _0x5d7b38=_0x5044,_0x1b185f=_0x20ce1d();while(!![]){try{const _0x3f9021=-parseInt(_0x5d7b38(0x188))/0x1+parseInt(_0x5d7b38(0x192))/0x2+parseInt(_0x5d7b38(0x185))/0x3+-parseInt(_0x5d7b38(0x199))/0x4+-parseInt(_0x5d7b38(0x180))/0x5+-parseInt(_0x5d7b38(0x17d))/0x6+parseInt(_0x5d7b38(0x18d))/0x7;if(_0x3f9021===_0x400332)break;else _0x1b185f['push'](_0x1b185f['shift']());}catch(_0x2ed710){_0x1b185f['push'](_0x1b185f['shift']());}}}(_0x37a8,0x88a2e));Object[_0x2dae6f(0x191)](exports,'__esModule',{'value':!![]}),exports['Cli']=void 0x0;const minimist=require(_0x2dae6f(0x196)),semver_1=require('semver'),FetchUtils_1_1=require(_0x2dae6f(0x194)),help_1=require(_0x2dae6f(0x187)),build_1=require('./cmds/build'),version_1=require(_0x2dae6f(0x189)),fetch_1=require(_0x2dae6f(0x18e));class Cli{async['run'](_0x205aa3){const _0x3556e3=_0x2dae6f;if((0x0,semver_1[_0x3556e3(0x17c)])(process[_0x3556e3(0x18a)][_0x3556e3(0x198)])<0xe)throw new Error('Current\x20Node.js\x20version\x20is\x20'+process[_0x3556e3(0x18a)][_0x3556e3(0x198)]+'.'+_0x3556e3(0x181));FetchUtils_1_1['fetchUtils']['setFetch'](fetch_1['fetch']),FetchUtils_1_1[_0x3556e3(0x18f)][_0x3556e3(0x186)](fetch_1[_0x3556e3(0x183)]),FetchUtils_1_1[_0x3556e3(0x18f)][_0x3556e3(0x18b)](fetch_1['decompressResponseBuffer']);const _0x61680b=minimist(_0x205aa3);let _0x511272=undefined;if(_0x61680b['_'][_0x3556e3(0x184)]===0x0){if(_0x61680b[_0x3556e3(0x17f)])_0x511272='version';else _0x61680b['help']&&(_0x511272='help');}else _0x511272=_0x61680b['_'][0x0];!_0x511272&&(_0x511272=_0x3556e3(0x17e));switch(_0x511272){case'help':case'h':return await(0x0,help_1['help'])(_0x61680b);case'build':return await(0x0,build_1[_0x3556e3(0x190)])(_0x61680b);case _0x3556e3(0x18c):return await(0x0,build_1[_0x3556e3(0x197)])(_0x61680b);case'run':return await(0x0,build_1[_0x3556e3(0x182)])(_0x61680b);case _0x3556e3(0x17f):{return await(0x0,version_1['version'])();}default:throw new Error('\x22'+_0x511272+_0x3556e3(0x195));}}}exports[_0x2dae6f(0x193)]=Cli;
@@ -1 +1 @@
1
- 'use strict';const _0x3ebd5d=_0x147e;(function(_0x4008f6,_0x594e6b){const _0x300e24=_0x147e,_0x269462=_0x4008f6();while(!![]){try{const _0x33d063=-parseInt(_0x300e24(0xde))/0x1*(parseInt(_0x300e24(0xce))/0x2)+-parseInt(_0x300e24(0xc8))/0x3+parseInt(_0x300e24(0xe5))/0x4*(parseInt(_0x300e24(0xdb))/0x5)+parseInt(_0x300e24(0xda))/0x6*(parseInt(_0x300e24(0xec))/0x7)+parseInt(_0x300e24(0xdf))/0x8*(parseInt(_0x300e24(0xf1))/0x9)+parseInt(_0x300e24(0xe7))/0xa*(parseInt(_0x300e24(0xc9))/0xb)+parseInt(_0x300e24(0xcb))/0xc*(-parseInt(_0x300e24(0xeb))/0xd);if(_0x33d063===_0x594e6b)break;else _0x269462['push'](_0x269462['shift']());}catch(_0x4ffb05){_0x269462['push'](_0x269462['shift']());}}}(_0x2c61,0x434c9));Object[_0x3ebd5d(0xe2)](exports,'__esModule',{'value':!![]}),exports['start']=start,exports['store']=store,exports[_0x3ebd5d(0xcf)]=run;const pwa_1=require(_0x3ebd5d(0xef)),resource_1=require(_0x3ebd5d(0xed)),xcode_1=require(_0x3ebd5d(0xe4)),check_1=require(_0x3ebd5d(0xd3));async function start(_0x5e66df,_0x1c5651=![]){const _0xb9b085=_0x3ebd5d;var _0x405d18;resource_1[_0xb9b085(0xe3)][_0xb9b085(0xea)](_0x5e66df[_0xb9b085(0xd2)]),(0x0,check_1[_0xb9b085(0xdd)])(_0x5e66df,_0x1c5651),console[_0xb9b085(0xd8)](_0xb9b085(0xe9));let _0x7b2b09=await pwa_1['PWAGenerator'][_0xb9b085(0xd7)](_0x5e66df,_0x1c5651);!_0x7b2b09[_0xb9b085(0xcd)]&&(await resource_1['ResourceManager'][_0xb9b085(0xd4)]((_0x405d18=_0x5e66df[_0xb9b085(0xd5)])!==null&&_0x405d18!==void 0x0?_0x405d18:_0xb9b085(0xca)),console[_0xb9b085(0xd8)](_0xb9b085(0xd6)));const _0x498bdb=await resource_1[_0xb9b085(0xe3)][_0xb9b085(0xc6)](_0x7b2b09);return console['log'](_0xb9b085(0xcc)),await xcode_1['XcodeManager'][_0xb9b085(0xd0)]({'icon':_0x498bdb,'manifestInfo':_0x7b2b09,'teamId':_0x5e66df[_0xb9b085(0xe8)],'version':_0x5e66df[_0xb9b085(0xd1)],'buildType':_0x5e66df[_0xb9b085(0xe6)],'export':_0x5e66df['export']},_0x1c5651),console[_0xb9b085(0xd8)](_0xb9b085(0xf0)),_0x7b2b09;}function _0x147e(_0x25818e,_0x4a7e83){const _0x2c61d0=_0x2c61();return _0x147e=function(_0x147e50,_0x5726c2){_0x147e50=_0x147e50-0xc5;let _0x50388c=_0x2c61d0[_0x147e50];return _0x50388c;},_0x147e(_0x25818e,_0x4a7e83);}function _0x2c61(){const _0x2e795e=['checkBuildParams','5861sDFnkV','296kxkZfC','XcodeManager','SpatialWebTest','defineProperty','ResourceManager','../xcode','100DoazxD','buildType','1810jILNxa','teamId','-------------------\x20build\x20start\x20-------------------','checkPlatformPath','660244bmMgxG','133FlgMeM','../resource','checkStoreParams','../pwa','-------------------\x20build\x20end\x20-------------------','12069KHuVuZ','name','generateIcon','json','1612815sPTTSp','16203rAQCwz','dist','12XDxpWT','generate\x20icon:\x20ok','fromNet','28uvgKgw','run','parseProject','version','platform','./check','moveProjectFrom','project','move\x20web\x20project:\x20ok','generator','log','upload','85326zIDgMt','71935ytpMzE','app-store-connect'];_0x2c61=function(){return _0x2e795e;};return _0x2c61();}async function store(_0x19d32c){const _0x23e656=_0x3ebd5d;resource_1['ResourceManager']['checkPlatformPath'](_0x19d32c[_0x23e656(0xd2)]),(0x0,check_1[_0x23e656(0xee)])(_0x19d32c);let _0x4c64b7={'name':_0x23e656(0xe1)};_0x19d32c[_0x23e656(0xe6)]=_0x23e656(0xdc);if(_0x19d32c[_0x23e656(0xc5)])_0x4c64b7[_0x23e656(0xc5)]=_0x19d32c[_0x23e656(0xc5)];else{const _0xfd0e3e=await start(_0x19d32c);if(!_0xfd0e3e)return![];_0x4c64b7['name']=_0xfd0e3e['json'][_0x23e656(0xc5)];}return await xcode_1[_0x23e656(0xe0)][_0x23e656(0xd9)](_0x19d32c,_0x4c64b7),!![];}async function run(_0x5f5422){const _0x14da7c=_0x3ebd5d;resource_1['ResourceManager'][_0x14da7c(0xea)](_0x5f5422['platform']);let _0x14e58d={'name':_0x14da7c(0xe1),'id':'com.SpatialWeb.test'};const _0x306585=await start(_0x5f5422,!![]);if(!_0x306585)return![];return _0x14e58d[_0x14da7c(0xc5)]=_0x306585[_0x14da7c(0xc7)][_0x14da7c(0xc5)],_0x14e58d['id']=_0x306585[_0x14da7c(0xc7)]['id'],await xcode_1[_0x14da7c(0xe0)]['runWithSimulator'](_0x14e58d),!![];}
1
+ 'use strict';const _0x171693=_0xfebc;(function(_0x5152a5,_0x1d30c7){const _0x1d6604=_0xfebc,_0xd2d88f=_0x5152a5();while(!![]){try{const _0x3ccdff=parseInt(_0x1d6604(0x1dd))/0x1*(-parseInt(_0x1d6604(0x1e0))/0x2)+-parseInt(_0x1d6604(0x1e8))/0x3*(-parseInt(_0x1d6604(0x1f7))/0x4)+-parseInt(_0x1d6604(0x1d0))/0x5*(parseInt(_0x1d6604(0x1e7))/0x6)+parseInt(_0x1d6604(0x1d3))/0x7+-parseInt(_0x1d6604(0x1d9))/0x8*(-parseInt(_0x1d6604(0x1d2))/0x9)+parseInt(_0x1d6604(0x1e4))/0xa+parseInt(_0x1d6604(0x1d4))/0xb;if(_0x3ccdff===_0x1d30c7)break;else _0xd2d88f['push'](_0xd2d88f['shift']());}catch(_0xbb9584){_0xd2d88f['push'](_0xd2d88f['shift']());}}}(_0x5016,0x42f86));Object[_0x171693(0x1f3)](exports,_0x171693(0x1d5),{'value':!![]}),exports[_0x171693(0x1e5)]=start,exports[_0x171693(0x1e6)]=store,exports[_0x171693(0x1e9)]=run;function _0xfebc(_0x4f4d46,_0x36420c){const _0x501620=_0x5016();return _0xfebc=function(_0xfebc84,_0x321ddb){_0xfebc84=_0xfebc84-0x1ce;let _0xdb0bf6=_0x501620[_0xfebc84];return _0xdb0bf6;},_0xfebc(_0x4f4d46,_0x36420c);}const pwa_1=require('../pwa'),resource_1=require(_0x171693(0x1f5)),xcode_1=require(_0x171693(0x1da)),check_1=require(_0x171693(0x1f4));async function start(_0x51c71e,_0x47bac7=![]){const _0x49ccb8=_0x171693;var _0x5ca68b;(0x0,check_1[_0x49ccb8(0x1ce)])(_0x51c71e,_0x47bac7),resource_1['ResourceManager'][_0x49ccb8(0x1df)](_0x51c71e[_0x49ccb8(0x1de)]),console[_0x49ccb8(0x1e1)]('-------------------\x20build\x20start\x20-------------------');let _0xffbd9e=await pwa_1[_0x49ccb8(0x1fa)][_0x49ccb8(0x1d6)](_0x51c71e,_0x47bac7);!_0xffbd9e[_0x49ccb8(0x1ed)]&&(await resource_1[_0x49ccb8(0x1f1)][_0x49ccb8(0x1ee)]((_0x5ca68b=_0x51c71e['project'])!==null&&_0x5ca68b!==void 0x0?_0x5ca68b:_0x49ccb8(0x1d7)),console['log'](_0x49ccb8(0x1db)));const _0x36f977=await resource_1[_0x49ccb8(0x1f1)]['generateIcon'](_0xffbd9e);return console['log'](_0x49ccb8(0x1eb)),await xcode_1['XcodeManager'][_0x49ccb8(0x1d8)]({'icon':_0x36f977,'manifestInfo':_0xffbd9e,'teamId':_0x51c71e[_0x49ccb8(0x1f6)],'version':_0x51c71e[_0x49ccb8(0x1f9)],'buildType':_0x51c71e[_0x49ccb8(0x1ef)],'export':_0x51c71e[_0x49ccb8(0x1ea)]},_0x47bac7),console[_0x49ccb8(0x1e1)](_0x49ccb8(0x1dc)),_0xffbd9e;}async function store(_0x5d62a7){const _0xd079da=_0x171693;resource_1[_0xd079da(0x1f1)][_0xd079da(0x1df)](_0x5d62a7['platform']),(0x0,check_1[_0xd079da(0x1f0)])(_0x5d62a7);let _0x447261={'name':_0xd079da(0x1f8)};_0x5d62a7[_0xd079da(0x1ef)]=_0xd079da(0x1e3);if(_0x5d62a7[_0xd079da(0x1ec)])_0x447261[_0xd079da(0x1ec)]=_0x5d62a7[_0xd079da(0x1ec)];else{const _0x5b8d70=await start(_0x5d62a7);if(!_0x5b8d70)return![];_0x447261[_0xd079da(0x1ec)]=_0x5b8d70[_0xd079da(0x1cf)][_0xd079da(0x1ec)];}return await xcode_1['XcodeManager'][_0xd079da(0x1d1)](_0x5d62a7,_0x447261),!![];}function _0x5016(){const _0x20fea2=['run','export','generate\x20icon:\x20ok','name','fromNet','moveProjectFrom','buildType','checkStoreParams','ResourceManager','runWithSimulator','defineProperty','./check','../resource','teamId','75964GRtBuI','SpatialWebTest','version','PWAGenerator','checkBuildParams','json','669605sKVYec','upload','781398UuYBIT','1965530HKOOhB','2243769xPTnxa','__esModule','generator','dist','parseProject','8oCUrFk','../xcode','move\x20web\x20project:\x20ok','-------------------\x20build\x20end\x20-------------------','25147yEXHQZ','platform','checkPlatformPath','8VTAzKa','log','XcodeManager','app-store-connect','521580IQgEEX','start','store','12nJXVTX','3AeRsQc'];_0x5016=function(){return _0x20fea2;};return _0x5016();}async function run(_0x580337){const _0x4d5a04=_0x171693;let _0x213c19={'name':'SpatialWebTest','id':'com.SpatialWeb.test'};const _0x4c29d2=await start(_0x580337,!![]);if(!_0x4c29d2)return![];return _0x213c19[_0x4d5a04(0x1ec)]=_0x4c29d2['json'][_0x4d5a04(0x1ec)],_0x213c19['id']=_0x4c29d2[_0x4d5a04(0x1cf)]['id'],await xcode_1[_0x4d5a04(0x1e2)][_0x4d5a04(0x1f2)](_0x213c19),!![];}
@@ -1 +1 @@
1
- 'use strict';var _0x469a25=_0xa766;function _0xa766(_0x1cac87,_0x30081b){var _0x3453a8=_0x3453();return _0xa766=function(_0xa7667b,_0x2b5839){_0xa7667b=_0xa7667b-0x65;var _0x2106a7=_0x3453a8[_0xa7667b];return _0x2106a7;},_0xa766(_0x1cac87,_0x30081b);}(function(_0x344782,_0x545a85){var _0x1e96e2=_0xa766,_0x4e7b7e=_0x344782();while(!![]){try{var _0x413806=-parseInt(_0x1e96e2(0x69))/0x1+-parseInt(_0x1e96e2(0x6a))/0x2*(parseInt(_0x1e96e2(0x78))/0x3)+-parseInt(_0x1e96e2(0x7a))/0x4*(parseInt(_0x1e96e2(0x71))/0x5)+-parseInt(_0x1e96e2(0x72))/0x6+parseInt(_0x1e96e2(0x7b))/0x7*(parseInt(_0x1e96e2(0x6f))/0x8)+parseInt(_0x1e96e2(0x76))/0x9*(-parseInt(_0x1e96e2(0x6e))/0xa)+parseInt(_0x1e96e2(0x70))/0xb*(parseInt(_0x1e96e2(0x7c))/0xc);if(_0x413806===_0x545a85)break;else _0x4e7b7e['push'](_0x4e7b7e['shift']());}catch(_0x3191da){_0x4e7b7e['push'](_0x4e7b7e['shift']());}}}(_0x3453,0x4cf79));Object[_0x469a25(0x65)](exports,_0x469a25(0x75),{'value':!![]}),exports[_0x469a25(0x66)]=checkBuildParams,exports[_0x469a25(0x74)]=checkStoreParams;function _0x3453(){var _0x384c56=['99wKJzkt','base-url','18SLOJEB','manifest','52RylifK','203KfdpIM','16240428QfmEpW','version','defineProperty','checkBuildParams','teamId','manifest-url','529462rhfCnm','143876pXOjZh','--teamId\x20is\x20required','--base-url\x20is\x20required','version\x20is\x20required','527760nvIhqQ','165008vjGVGP','11BNclfP','25295WwrovM','173238lfTmrR','--u\x20and\x20--p\x20is\x20required','checkStoreParams','__esModule'];_0x3453=function(){return _0x384c56;};return _0x3453();}function checkBuildParams(_0x142054,_0x214fb8=![]){var _0x20bf04=_0x469a25;if(_0x142054[_0x20bf04(0x79)]&&_0x142054[_0x20bf04(0x68)])throw new Error('--manifest\x20and\x20--manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time');if(!_0x142054[_0x20bf04(0x67)]&&!_0x214fb8)throw new Error(_0x20bf04(0x6b));if(!_0x142054[_0x20bf04(0x77)])throw new Error(_0x20bf04(0x6c));}function checkStoreParams(_0x51f0b3){var _0x2e59b3=_0x469a25;if(!(_0x51f0b3['u']&&_0x51f0b3['p']))throw new Error(_0x2e59b3(0x73));if(!_0x51f0b3[_0x2e59b3(0x7d)])throw new Error(_0x2e59b3(0x6d));}
1
+ 'use strict';const _0xb42e19=_0xc30d;(function(_0x4b6944,_0x5f206a){const _0x4b4c01=_0xc30d,_0x2279b9=_0x4b6944();while(!![]){try{const _0x392532=-parseInt(_0x4b4c01(0x1d4))/0x1+parseInt(_0x4b4c01(0x1d9))/0x2+-parseInt(_0x4b4c01(0x1d5))/0x3+-parseInt(_0x4b4c01(0x1d0))/0x4*(parseInt(_0x4b4c01(0x1d8))/0x5)+-parseInt(_0x4b4c01(0x1cf))/0x6*(parseInt(_0x4b4c01(0x1e3))/0x7)+-parseInt(_0x4b4c01(0x1da))/0x8*(parseInt(_0x4b4c01(0x1df))/0x9)+parseInt(_0x4b4c01(0x1db))/0xa;if(_0x392532===_0x5f206a)break;else _0x2279b9['push'](_0x2279b9['shift']());}catch(_0x526a89){_0x2279b9['push'](_0x2279b9['shift']());}}}(_0x1988,0xde7a5));function _0xc30d(_0x4ff340,_0x26d8e2){const _0x1988ef=_0x1988();return _0xc30d=function(_0xc30de8,_0x21cf68){_0xc30de8=_0xc30de8-0x1c9;let _0x8bbfb=_0x1988ef[_0xc30de8];return _0x8bbfb;},_0xc30d(_0x4ff340,_0x26d8e2);}function _0x1988(){const _0x4da089=['2032804YKOjSq','pop','version','validateURL','486909BNzNnM','803274jLhJDf','manifest-url','hash','5lDMvHk','3101172mNPbRy','16NxZskq','24286990YCzhpY','--manifest\x20and\x20--manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.','search','2152485yoaVuO','defineProperty','checkBuildParams','--teamId\x20is\x20required','9287726xVJTmp','--u\x20and\x20--p\x20is\x20required','split','manifest','checkStoreParams','test','base','__esModule','6sLcQZI'];_0x1988=function(){return _0x4da089;};return _0x1988();}Object[_0xb42e19(0x1e0)](exports,_0xb42e19(0x1ce),{'value':!![]}),exports[_0xb42e19(0x1e1)]=checkBuildParams,exports[_0xb42e19(0x1cb)]=checkStoreParams;const validate_1=require('../pwa/validate');function checkBuildParams(_0x495e4d,_0x585fb4=![]){const _0x56edf7=_0xb42e19;if(_0x495e4d[_0x56edf7(0x1ca)]&&_0x495e4d[_0x56edf7(0x1d6)])throw new Error(_0x56edf7(0x1dc));if(!_0x495e4d['teamId']&&!_0x585fb4)throw new Error(_0x56edf7(0x1e2));if(_0x495e4d[_0x56edf7(0x1cd)]){if((0x0,validate_1[_0x56edf7(0x1d3)])(_0x495e4d[_0x56edf7(0x1cd)])){const _0x3f5c6a=new URL(_0x495e4d[_0x56edf7(0x1cd)]);if(_0x3f5c6a['pathname']!=='/'||_0x3f5c6a[_0x56edf7(0x1de)]||_0x3f5c6a[_0x56edf7(0x1d7)])throw new Error('The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.');}else{const _0x26bf66=/(\?.*|\.\w+|#.*)$/,_0x393ad9=_0x495e4d[_0x56edf7(0x1cd)][_0x56edf7(0x1c9)]('/')[_0x56edf7(0x1d1)]()||'';if(_0x26bf66[_0x56edf7(0x1cc)](_0x393ad9))throw new Error(_0x56edf7(0x1dd));}}}function checkStoreParams(_0x27b57e){const _0xd21600=_0xb42e19;if(!(_0x27b57e['u']&&_0x27b57e['p']))throw new Error(_0xd21600(0x1e4));if(!_0x27b57e[_0xd21600(0x1d2)])throw new Error('version\x20is\x20required');}
@@ -1 +1 @@
1
- 'use strict';const _0x30a753=_0x5317;(function(_0x369f95,_0x7b98db){const _0x4ea494=_0x5317,_0x5239cc=_0x369f95();while(!![]){try{const _0xf596c8=-parseInt(_0x4ea494(0x1cd))/0x1+-parseInt(_0x4ea494(0x1c3))/0x2*(-parseInt(_0x4ea494(0x1c1))/0x3)+-parseInt(_0x4ea494(0x1d1))/0x4*(parseInt(_0x4ea494(0x1cc))/0x5)+parseInt(_0x4ea494(0x1d0))/0x6*(parseInt(_0x4ea494(0x1d4))/0x7)+-parseInt(_0x4ea494(0x1d2))/0x8*(parseInt(_0x4ea494(0x1ce))/0x9)+parseInt(_0x4ea494(0x1c2))/0xa*(parseInt(_0x4ea494(0x1c5))/0xb)+parseInt(_0x4ea494(0x1be))/0xc;if(_0xf596c8===_0x7b98db)break;else _0x5239cc['push'](_0x5239cc['shift']());}catch(_0x38a9dd){_0x5239cc['push'](_0x5239cc['shift']());}}}(_0xbf98,0x6f10d));function _0x5317(_0x25d53b,_0x2c94a0){const _0xbf98fa=_0xbf98();return _0x5317=function(_0x53171c,_0x215a37){_0x53171c=_0x53171c-0x1b9;let _0x283db1=_0xbf98fa[_0x53171c];return _0x283db1;},_0x5317(_0x25d53b,_0x2c94a0);}Object[_0x30a753(0x1cf)](exports,_0x30a753(0x1b9),{'value':!![]}),exports[_0x30a753(0x1c8)]=help;const Log_1=require(_0x30a753(0x1c7)),HELP_MESSAGES=new Map([['main',['webspatial\x20[command]\x20<options>','','',_0x30a753(0x1d6),_0x30a753(0x1c0)+_0x30a753(0x1c9),'run\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator',_0x30a753(0x1ba)]['join']('\x0a')],[_0x30a753(0x1d5),[_0x30a753(0x1bb),'','','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','','',_0x30a753(0x1d3)][_0x30a753(0x1c4)]('\x0a')],[_0x30a753(0x1bf),[_0x30a753(0x1bb),'','',_0x30a753(0x1d7),'','',_0x30a753(0x1cb)][_0x30a753(0x1c4)]('\x0a')],[_0x30a753(0x1da),[_0x30a753(0x1bb),'','',_0x30a753(0x1bd),'','',_0x30a753(0x1ca),'','',_0x30a753(0x1d9)]['join']('\x0a')]]);async function help(_0x4611d3,_0x59a760=new Log_1[(_0x30a753(0x1c6))](_0x30a753(0x1c8))){const _0x2306f4=_0x30a753,_0x189a91=_0x4611d3['_'][0x1],_0x5a3fb2=HELP_MESSAGES['get'](_0x189a91)||HELP_MESSAGES[_0x2306f4(0x1d8)]('main');return _0x59a760[_0x2306f4(0x1bc)](_0x5a3fb2),!![];}function _0xbf98(){const _0x4cfdcc=['3523128gaanBe','dev','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project','4299fYECvM','20170NvMwrV','394izhNwF','join','2937yXDjLp','ConsoleLog','../utils/Log','help','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','65BHoecf','77276BIcgkq','1701378JvEQdt','defineProperty','4764AKejeQ','136596kVQEzP','16hdSCCZ','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','2114zmxmMe','build','help\x20................\x20shows\x20this\x20menu','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','get','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>','publish','__esModule','publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect','Usage:','info','webspatial\x20publish\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>'];_0xbf98=function(){return _0x4cfdcc;};return _0xbf98();}
1
+ 'use strict';const _0xa46fcf=_0x28b0;function _0xb42c(){const _0x12e820=['webspatial\x20[command]\x20<options>','63ZQwaGw','165708MJlwWW','../utils/Log','ConsoleLog','6WNgybZ','join','run\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','info','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect','build','15351677uZTspH','967615ExZLyX','__esModule','318801fVhqnH','3iuRyWO','390WbwkfX','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','254776CyIXde','1030720wNWBxf','Usage:','publish','webspatial\x20publish\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','36963ZlsWnl','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','12Cnyocb'];_0xb42c=function(){return _0x12e820;};return _0xb42c();}(function(_0x521774,_0x2b7f30){const _0x45f476=_0x28b0,_0x2c19e9=_0x521774();while(!![]){try{const _0x4d8b09=-parseInt(_0x45f476(0x141))/0x1+parseInt(_0x45f476(0x152))/0x2+parseInt(_0x45f476(0x142))/0x3*(-parseInt(_0x45f476(0x146))/0x4)+parseInt(_0x45f476(0x13f))/0x5*(-parseInt(_0x45f476(0x137))/0x6)+-parseInt(_0x45f476(0x151))/0x7*(parseInt(_0x45f476(0x145))/0x8)+parseInt(_0x45f476(0x14a))/0x9*(-parseInt(_0x45f476(0x143))/0xa)+parseInt(_0x45f476(0x13e))/0xb*(parseInt(_0x45f476(0x14f))/0xc);if(_0x4d8b09===_0x2b7f30)break;else _0x2c19e9['push'](_0x2c19e9['shift']());}catch(_0x51c1c5){_0x2c19e9['push'](_0x2c19e9['shift']());}}}(_0xb42c,0x3fe1d));function _0x28b0(_0x138d70,_0x34744){const _0xb42c1e=_0xb42c();return _0x28b0=function(_0x28b063,_0xfa11a6){_0x28b063=_0x28b063-0x136;let _0x55eab9=_0xb42c1e[_0x28b063];return _0x55eab9;},_0x28b0(_0x138d70,_0x34744);}Object['defineProperty'](exports,_0xa46fcf(0x140),{'value':!![]}),exports['help']=help;const Log_1=require(_0xa46fcf(0x153)),HELP_MESSAGES=new Map([['main',[_0xa46fcf(0x150),'','','help\x20................\x20shows\x20this\x20menu',_0xa46fcf(0x14b)+'\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project',_0xa46fcf(0x139),_0xa46fcf(0x13c)][_0xa46fcf(0x138)]('\x0a')],[_0xa46fcf(0x13d),[_0xa46fcf(0x147),'','',_0xa46fcf(0x13b),'','',_0xa46fcf(0x14e)][_0xa46fcf(0x138)]('\x0a')],['dev',[_0xa46fcf(0x147),'','',_0xa46fcf(0x144),'','','webspatial\x20dev\x20--manifest-url=<net-manifest-url>'][_0xa46fcf(0x138)]('\x0a')],[_0xa46fcf(0x148),[_0xa46fcf(0x147),'','',_0xa46fcf(0x149),'','',_0xa46fcf(0x14c),'','',_0xa46fcf(0x14d)][_0xa46fcf(0x138)]('\x0a')]]);async function help(_0x2b8054,_0x5c6215=new Log_1[(_0xa46fcf(0x136))]('help')){const _0x28c23a=_0xa46fcf,_0xc2e35c=_0x2b8054['_'][0x1],_0x3fa567=HELP_MESSAGES['get'](_0xc2e35c)||HELP_MESSAGES['get']('main');return _0x5c6215[_0x28c23a(0x13a)](_0x3fa567),!![];}
@@ -1 +1 @@
1
- 'use strict';function _0x49a3(){const _0x17664b=['1455CXhysO','__esModule','1386TIcyVt','ConsoleLog','498WTRKOF','promises','1151548RKzVgc','join','279WNoYVt','version','312030PQHggw','readFile','1934002ssjfBn','272pJTBng','12204onSZIY','30065MKqOUn','info','defineProperty','1396cOmhff','10787fqWQEB','path','parse'];_0x49a3=function(){return _0x17664b;};return _0x49a3();}function _0x158b(_0x12043f,_0x4d22ee){const _0x49a325=_0x49a3();return _0x158b=function(_0x158b62,_0x30c801){_0x158b62=_0x158b62-0x117;let _0x45c169=_0x49a325[_0x158b62];return _0x45c169;},_0x158b(_0x12043f,_0x4d22ee);}const _0x4f0ab6=_0x158b;(function(_0x132fdc,_0x569afe){const _0x1c9e18=_0x158b,_0xb69be5=_0x132fdc();while(!![]){try{const _0x15a4a8=-parseInt(_0x1c9e18(0x123))/0x1+parseInt(_0x1c9e18(0x129))/0x2+-parseInt(_0x1c9e18(0x11d))/0x3*(-parseInt(_0x1c9e18(0x119))/0x4)+parseInt(_0x1c9e18(0x12c))/0x5*(-parseInt(_0x1c9e18(0x121))/0x6)+-parseInt(_0x1c9e18(0x11a))/0x7*(-parseInt(_0x1c9e18(0x12a))/0x8)+parseInt(_0x1c9e18(0x125))/0x9*(parseInt(_0x1c9e18(0x127))/0xa)+-parseInt(_0x1c9e18(0x11f))/0xb*(-parseInt(_0x1c9e18(0x12b))/0xc);if(_0x15a4a8===_0x569afe)break;else _0xb69be5['push'](_0xb69be5['shift']());}catch(_0x151e37){_0xb69be5['push'](_0xb69be5['shift']());}}}(_0x49a3,0x9aa7c));Object[_0x4f0ab6(0x118)](exports,_0x4f0ab6(0x11e),{'value':!![]}),exports['version']=version;const fs=require('fs'),path=require(_0x4f0ab6(0x11b)),Log_1=require('../utils/Log');async function version(_0x236e9d=new Log_1[(_0x4f0ab6(0x120))](_0x4f0ab6(0x126))){const _0x4216b5=_0x4f0ab6,_0xdd9934=path[_0x4216b5(0x124)](__dirname,'../../../package.json'),_0x8b33f5=await(await fs[_0x4216b5(0x122)][_0x4216b5(0x128)](_0xdd9934))['toString'](),_0x173807=JSON[_0x4216b5(0x11c)](_0x8b33f5);return _0x236e9d[_0x4216b5(0x117)](_0x173807[_0x4216b5(0x126)]),!![];}
1
+ 'use strict';const _0x5c0eb0=_0x3980;function _0x3980(_0x5e265f,_0x4da426){const _0x2c96c6=_0x2c96();return _0x3980=function(_0x398094,_0x427fc8){_0x398094=_0x398094-0xa7;let _0x28f548=_0x2c96c6[_0x398094];return _0x28f548;},_0x3980(_0x5e265f,_0x4da426);}(function(_0xcc2ec,_0x319b39){const _0x5cbd2d=_0x3980,_0x274929=_0xcc2ec();while(!![]){try{const _0x4e07af=parseInt(_0x5cbd2d(0xb1))/0x1*(parseInt(_0x5cbd2d(0xba))/0x2)+parseInt(_0x5cbd2d(0xb5))/0x3*(-parseInt(_0x5cbd2d(0xb9))/0x4)+parseInt(_0x5cbd2d(0xb7))/0x5*(-parseInt(_0x5cbd2d(0xab))/0x6)+-parseInt(_0x5cbd2d(0xaf))/0x7+parseInt(_0x5cbd2d(0xb6))/0x8+-parseInt(_0x5cbd2d(0xad))/0x9+parseInt(_0x5cbd2d(0xb4))/0xa;if(_0x4e07af===_0x319b39)break;else _0x274929['push'](_0x274929['shift']());}catch(_0x8425a6){_0x274929['push'](_0x274929['shift']());}}}(_0x2c96,0x3ddac));Object['defineProperty'](exports,_0x5c0eb0(0xb3),{'value':!![]}),exports['version']=version;function _0x2c96(){const _0x1a1285=['378txfLxa','version','ConsoleLog','../../../package.json','../utils/Log','join','474468kqWsUK','readFile','3726927PfNWHk','parse','1327984aefVDU','toString','2487ZZFPNH','info','__esModule','3749400xmcQpQ','18YAorYc','2120736wGPlXO','5yaqODk','promises','115884FGzjai'];_0x2c96=function(){return _0x1a1285;};return _0x2c96();}const fs=require('fs'),path=require('path'),Log_1=require(_0x5c0eb0(0xa9));async function version(_0x42f551=new Log_1[(_0x5c0eb0(0xa7))](_0x5c0eb0(0xbb))){const _0xab6dc2=_0x5c0eb0,_0x593da9=path[_0xab6dc2(0xaa)](__dirname,_0xab6dc2(0xa8)),_0x4f8f90=await(await fs[_0xab6dc2(0xb8)][_0xab6dc2(0xac)](_0x593da9))[_0xab6dc2(0xb0)](),_0x3ecdd5=JSON[_0xab6dc2(0xae)](_0x4f8f90);return _0x42f551[_0xab6dc2(0xb2)](_0x3ecdd5[_0xab6dc2(0xbb)]),!![];}
@@ -1,5 +1,5 @@
1
1
  export declare function configId(manifestJson: Record<string, any>): void;
2
- export declare function configStartUrl(manifestJson: Record<string, any>, urlRoot: string): void;
2
+ export declare function configStartUrl(manifestJson: Record<string, any>, base: string): void;
3
3
  export declare function configScope(manifestJson: Record<string, any>, fromNet: boolean): void;
4
4
  export declare function configDisplay(manifestJson: Record<string, any>): void;
5
5
  export declare function configMainScene(manifestJson: Record<string, any>): void;
@@ -1 +1 @@
1
- 'use strict';const _0x59ba1d=_0x255a;(function(_0x1b4525,_0x2790d5){const _0x260c03=_0x255a,_0x48ff8d=_0x1b4525();while(!![]){try{const _0x6026a6=parseInt(_0x260c03(0x183))/0x1+-parseInt(_0x260c03(0x1aa))/0x2+-parseInt(_0x260c03(0x19e))/0x3*(-parseInt(_0x260c03(0x191))/0x4)+parseInt(_0x260c03(0x198))/0x5*(parseInt(_0x260c03(0x1bc))/0x6)+parseInt(_0x260c03(0x1af))/0x7+parseInt(_0x260c03(0x18a))/0x8*(-parseInt(_0x260c03(0x1ab))/0x9)+-parseInt(_0x260c03(0x193))/0xa;if(_0x6026a6===_0x2790d5)break;else _0x48ff8d['push'](_0x48ff8d['shift']());}catch(_0x3cf404){_0x48ff8d['push'](_0x48ff8d['shift']());}}}(_0xa4a5,0x259d2));Object[_0x59ba1d(0x1a5)](exports,_0x59ba1d(0x184),{'value':!![]}),exports[_0x59ba1d(0x1b0)]=void 0x0,exports[_0x59ba1d(0x1a7)]=configId,exports[_0x59ba1d(0x18c)]=configStartUrl,exports[_0x59ba1d(0x1be)]=configScope,exports[_0x59ba1d(0x1ad)]=configDisplay,exports[_0x59ba1d(0x19f)]=configMainScene,exports[_0x59ba1d(0x1a8)]=configDeeplink;const utils_1=require('../utils/utils'),validate_1=require('./validate'),path_1=require(_0x59ba1d(0x1b1));function configId(_0x1dd26f){const _0x2e24a1=_0x59ba1d,_0x7b4d1a=new URL(_0x1dd26f['id']);let _0x33a850=_0x7b4d1a[_0x2e24a1(0x1b6)][_0x2e24a1(0x1c2)]('.')[_0x2e24a1(0x194)]();_0x1dd26f['id']=_0x33a850['join']('.');}function configStartUrl(_0x5658a8,_0x4c28ef){const _0x22e17d=_0x59ba1d,_0x10ab71=(0x0,validate_1['validateURL'])(_0x5658a8[_0x22e17d(0x1b5)]),_0x5eb6f2=(0x0,validate_1[_0x22e17d(0x19c)])(_0x4c28ef);let _0x259e8a=_0x5658a8[_0x22e17d(0x1b5)];if(_0x10ab71){const _0x257f68=_0x259e8a['lastIndexOf']('/'),_0x569d9d=_0x259e8a[_0x22e17d(0x180)](_0x257f68,_0x259e8a['length']);_0x259e8a=_0x569d9d;}_0x5eb6f2?_0x259e8a=(0x0,path_1['join'])(_0x4c28ef,_0x259e8a):_0x259e8a=(0x0,path_1['join'])(_0x22e17d(0x1ac),_0x4c28ef,_0x259e8a),_0x5658a8[_0x22e17d(0x1b5)]=_0x259e8a;}function _0x255a(_0x2b508e,_0x3ac451){const _0xa4a5e4=_0xa4a5();return _0x255a=function(_0x255ada,_0x203559){_0x255ada=_0x255ada-0x17e;let _0x51e2ac=_0xa4a5e4[_0x255ada];return _0x51e2ac;},_0x255a(_0x2b508e,_0x3ac451);}function _0xa4a5(){const _0x10aca0=['protocol_handlers','string','split','default_size','ftps','scope','width','wtai','slice','minimal-ui','splice','16782OPEZGH','__esModule','nntp','https://','web+','sftp','object','72LRmson','urn','configStartUrl','protocol','dynamic','irc','replace','1132BxDdYL','sip','3321430KDGITB','reverse','contentSize','height','magnet','1377145HZIFze','join','url','indexOf','validateURL','display_override','2340KsQDmI','configMainScene','display','includes','news','resizability','standalone','defineProperty','automatic','configId','configDeeplink','contentMinSize','163756koGPJe','4527pfjTvw','./static-web','configDisplay','length','417641Wvrjpr','safelist','path','http://','mailto','defaultSize','start_url','host','parseRouter','smsto','xr_main_scene','xmpp','mainScene','6yLMkKK','geo','configScope','mms'];_0xa4a5=function(){return _0x10aca0;};return _0xa4a5();}function configScope(_0x1fbe80,_0x5eb365){const _0x1ae4db=_0x59ba1d;var _0x52229d,_0x1f077e,_0x29d953;let _0x501ed2='';const _0x2cb516=(0x0,validate_1[_0x1ae4db(0x19c)])(_0x1fbe80[_0x1ae4db(0x1c5)]);if(_0x5eb365&&_0x2cb516){const _0x28a284=new URL((_0x52229d=_0x1fbe80[_0x1ae4db(0x1c5)])!==null&&_0x52229d!==void 0x0?_0x52229d:''),_0x3b051d=new URL(_0x1fbe80['start_url']);(_0x28a284['host']!==_0x3b051d[_0x1ae4db(0x1b6)]||_0x1fbe80[_0x1ae4db(0x1b5)][_0x1ae4db(0x19b)](_0x501ed2)!==0x0)&&(_0x501ed2=(0x0,utils_1[_0x1ae4db(0x1b7)])(_0x1fbe80[_0x1ae4db(0x1b5)]));}else{if(_0x5eb365&&!_0x2cb516){const _0x4fe4d9=_0x1fbe80['start_url'][_0x1ae4db(0x19b)]('http://')===0x0?_0x1ae4db(0x1b2):_0x1ae4db(0x186);_0x501ed2=(0x0,path_1[_0x1ae4db(0x199)])(_0x1fbe80[_0x1ae4db(0x1b5)][_0x1ae4db(0x190)](_0x4fe4d9,''),(_0x1f077e=_0x1fbe80[_0x1ae4db(0x1c5)])!==null&&_0x1f077e!==void 0x0?_0x1f077e:''),_0x501ed2=_0x4fe4d9+_0x501ed2;}else _0x501ed2=(0x0,path_1[_0x1ae4db(0x199)])((0x0,utils_1[_0x1ae4db(0x1b7)])(_0x1fbe80[_0x1ae4db(0x1b5)]),(_0x29d953=_0x1fbe80['scope'])!==null&&_0x29d953!==void 0x0?_0x29d953:'');}_0x1fbe80[_0x1ae4db(0x1c5)]=_0x501ed2;}function configDisplay(_0x235f4a){const _0x18e834=_0x59ba1d;let _0xcf3f50=_0x235f4a[_0x18e834(0x1a0)];_0xcf3f50!==_0x18e834(0x181)&&_0xcf3f50!==_0x18e834(0x1a4)&&(_0xcf3f50=_0x18e834(0x1a4));if(_0x235f4a[_0x18e834(0x19d)]&&_0x235f4a[_0x18e834(0x19d)][_0x18e834(0x1ae)]>0x0){const _0x5d8fb9=_0x235f4a[_0x18e834(0x19d)][_0x18e834(0x19b)](_0x18e834(0x181)),_0x21136f=_0x235f4a[_0x18e834(0x19d)]['indexOf'](_0x18e834(0x1a4));if(_0x5d8fb9>=0x0&&_0x21136f>=0x0)_0xcf3f50=_0x21136f>_0x5d8fb9?'standalone':_0x18e834(0x181);else{if(_0x5d8fb9>=0x0)_0xcf3f50='minimal-ui';else _0x21136f>=0x0&&(_0xcf3f50=_0x18e834(0x1a4));}}}function configMainScene(_0x1444e4){const _0x49c5bf=_0x59ba1d;var _0x59224b,_0x112788;const _0x264a57=[_0x49c5bf(0x1a6),_0x49c5bf(0x1a9),_0x49c5bf(0x195)];let _0x2610e1={'defaultSize':{'width':0x500,'height':0x500},'resizability':'automatic'};if(_0x1444e4[_0x49c5bf(0x1b9)]){if(typeof _0x1444e4[_0x49c5bf(0x1b9)]===_0x49c5bf(0x189))_0x2610e1[_0x49c5bf(0x1b4)]['width']=Number((_0x59224b=_0x1444e4[_0x49c5bf(0x1b9)][_0x49c5bf(0x1c3)])===null||_0x59224b===void 0x0?void 0x0:_0x59224b[_0x49c5bf(0x17e)])>0x0?_0x1444e4[_0x49c5bf(0x1b9)][_0x49c5bf(0x1c3)][_0x49c5bf(0x17e)]:0x500,_0x2610e1[_0x49c5bf(0x1b4)][_0x49c5bf(0x196)]=Number((_0x112788=_0x1444e4['xr_main_scene']['default_size'])===null||_0x112788===void 0x0?void 0x0:_0x112788[_0x49c5bf(0x196)])>0x0?_0x1444e4[_0x49c5bf(0x1b9)][_0x49c5bf(0x1c3)]['height']:0x500,_0x2610e1['resizability']=_0x264a57['includes'](_0x1444e4[_0x49c5bf(0x1b9)][_0x49c5bf(0x1a3)])?_0x1444e4[_0x49c5bf(0x1b9)][_0x49c5bf(0x1a3)]:_0x49c5bf(0x1a6),_0x1444e4[_0x49c5bf(0x1bb)]=_0x2610e1;else typeof _0x1444e4[_0x49c5bf(0x1b9)]===_0x49c5bf(0x1c1)&&(_0x1444e4[_0x49c5bf(0x1bb)]=_0x49c5bf(0x18e));}}function configDeeplink(_0x124430){const _0x281d9c=_0x59ba1d;if(_0x124430[_0x281d9c(0x1c0)]&&_0x124430['protocol_handlers'][_0x281d9c(0x1ae)]>0x0)for(var _0x585384=0x0;_0x585384<_0x124430[_0x281d9c(0x1c0)][_0x281d9c(0x1ae)];_0x585384++){const _0x1076d8=_0x124430[_0x281d9c(0x1c0)][_0x585384];if(_0x1076d8[_0x281d9c(0x18d)]&&(exports[_0x281d9c(0x1b0)][_0x281d9c(0x1a1)](_0x1076d8[_0x281d9c(0x18d)])||_0x1076d8['protocol']['indexOf'](_0x281d9c(0x187))===0x0)){if(!((0x0,validate_1[_0x281d9c(0x19c)])(_0x1076d8[_0x281d9c(0x19a)])&&_0x1076d8[_0x281d9c(0x19a)][_0x281d9c(0x19b)](_0x124430[_0x281d9c(0x1c5)])<0x0))continue;}_0x124430[_0x281d9c(0x1c0)][_0x281d9c(0x182)](_0x585384,0x1),_0x585384--;}}exports['safelist']=['bitcoin','ftp',_0x59ba1d(0x1c4),_0x59ba1d(0x1bd),'im',_0x59ba1d(0x18f),'ircs',_0x59ba1d(0x197),_0x59ba1d(0x1b3),'matrix',_0x59ba1d(0x1bf),_0x59ba1d(0x1a2),_0x59ba1d(0x185),'openpgp4fpr',_0x59ba1d(0x188),_0x59ba1d(0x192),'sms',_0x59ba1d(0x1b8),'ssh','tel',_0x59ba1d(0x18b),'webcal',_0x59ba1d(0x17f),_0x59ba1d(0x1ba)];
1
+ 'use strict';const _0x51dbae=_0x4fb6;(function(_0x5e8565,_0x1a0949){const _0x1678a0=_0x4fb6,_0x4b8278=_0x5e8565();while(!![]){try{const _0x3b6c39=parseInt(_0x1678a0(0x1a2))/0x1+-parseInt(_0x1678a0(0x164))/0x2*(-parseInt(_0x1678a0(0x19b))/0x3)+parseInt(_0x1678a0(0x197))/0x4*(parseInt(_0x1678a0(0x178))/0x5)+parseInt(_0x1678a0(0x15f))/0x6+parseInt(_0x1678a0(0x15b))/0x7*(-parseInt(_0x1678a0(0x19f))/0x8)+parseInt(_0x1678a0(0x161))/0x9*(-parseInt(_0x1678a0(0x176))/0xa)+-parseInt(_0x1678a0(0x170))/0xb*(parseInt(_0x1678a0(0x172))/0xc);if(_0x3b6c39===_0x1a0949)break;else _0x4b8278['push'](_0x4b8278['shift']());}catch(_0xa1e3ca){_0x4b8278['push'](_0x4b8278['shift']());}}}(_0x1a15,0x97224));Object[_0x51dbae(0x17f)](exports,_0x51dbae(0x19d),{'value':!![]}),exports['safelist']=void 0x0,exports[_0x51dbae(0x173)]=configId,exports[_0x51dbae(0x17d)]=configStartUrl,exports[_0x51dbae(0x196)]=configScope,exports['configDisplay']=configDisplay,exports[_0x51dbae(0x183)]=configMainScene,exports[_0x51dbae(0x162)]=configDeeplink;const utils_1=require(_0x51dbae(0x168)),validate_1=require('./validate'),path_1=require(_0x51dbae(0x18e));function configId(_0x4e6172){const _0x1fba68=_0x51dbae,_0x450394=new URL(_0x4e6172['id']);let _0x5adf57=_0x450394[_0x1fba68(0x16d)][_0x1fba68(0x187)]('.')['reverse']();_0x4e6172['id']=_0x5adf57[_0x1fba68(0x1a6)]('.');}function configStartUrl(_0x5ae823,_0xb0f17d){const _0x3d9f20=_0x51dbae,_0x33f977=(0x0,validate_1[_0x3d9f20(0x18f)])(_0x5ae823[_0x3d9f20(0x199)]),_0xfd3166=(0x0,validate_1['validateURL'])(_0xb0f17d);let _0x4e30e6=_0x5ae823[_0x3d9f20(0x199)];if(!_0x33f977&&!_0xfd3166){const _0xade1be=(0x0,path_1[_0x3d9f20(0x165)])(_0x3d9f20(0x186)),_0x12990a=(0x0,path_1[_0x3d9f20(0x165)])(_0xade1be,_0xb0f17d,_0x4e30e6),_0x3c6d85=(0x0,path_1['normalize'])(_0x12990a),_0xac0549=_0x3c6d85[_0x3d9f20(0x198)](_0xade1be)?_0x3c6d85:_0xade1be;_0x4e30e6=(0x0,path_1[_0x3d9f20(0x15a)])(process[_0x3d9f20(0x156)](),_0xac0549)[_0x3d9f20(0x167)](/^(\.\.\/)+/,'./')[_0x3d9f20(0x167)](/\/$/,'');}else{if(_0x33f977&&!_0xfd3166){const _0x1e128d=new URL(_0x4e30e6),_0x15fab1=_0x1e128d[_0x3d9f20(0x169)]+_0x1e128d[_0x3d9f20(0x188)]+_0x1e128d[_0x3d9f20(0x159)];let _0x36e735=new URL(_0xb0f17d,_0x1e128d[_0x3d9f20(0x189)]);_0x4e30e6=new URL(_0x15fab1,_0x36e735)['href'];}else{if(!_0x33f977&&_0xfd3166)_0x4e30e6=new URL(_0x4e30e6,_0xb0f17d)['href'];else{if(_0x33f977&&_0xfd3166){const _0x3c1953=new URL(_0x4e30e6),_0x3c0007=new URL(_0xb0f17d),_0x444c54=_0x3c1953[_0x3d9f20(0x169)]+_0x3c1953[_0x3d9f20(0x188)]+_0x3c1953[_0x3d9f20(0x159)];_0x4e30e6=new URL(_0x444c54,_0x3c0007[_0x3d9f20(0x189)]+_0x3c0007[_0x3d9f20(0x169)])[_0x3d9f20(0x175)];}}}}_0x5ae823['start_url']=_0x4e30e6;}function configScope(_0x403283,_0x4172b1){const _0x575109=_0x51dbae;var _0x429bed,_0x1ddfad,_0x22aae3;let _0x1eb0a2='';const _0x514195=(0x0,validate_1[_0x575109(0x18f)])(_0x403283[_0x575109(0x17b)]);if(_0x4172b1&&_0x514195){const _0x287eb4=new URL((_0x429bed=_0x403283[_0x575109(0x17b)])!==null&&_0x429bed!==void 0x0?_0x429bed:''),_0x1f36eb=new URL(_0x403283[_0x575109(0x199)]);(_0x287eb4['host']!==_0x1f36eb['host']||_0x403283[_0x575109(0x199)][_0x575109(0x157)](_0x1eb0a2)!==0x0)&&(_0x1eb0a2=(0x0,utils_1['parseRouter'])(_0x403283['start_url']));}else{if(_0x4172b1&&!_0x514195){const _0x2c2697=_0x403283[_0x575109(0x199)]['indexOf'](_0x575109(0x15d))===0x0?_0x575109(0x15d):_0x575109(0x1a4);_0x1eb0a2=(0x0,path_1[_0x575109(0x1a6)])(_0x403283[_0x575109(0x199)][_0x575109(0x167)](_0x2c2697,''),(_0x1ddfad=_0x403283['scope'])!==null&&_0x1ddfad!==void 0x0?_0x1ddfad:''),_0x1eb0a2=_0x2c2697+_0x1eb0a2;}else _0x1eb0a2=(0x0,path_1['join'])((0x0,utils_1[_0x575109(0x19a)])(_0x403283[_0x575109(0x199)]),(_0x22aae3=_0x403283['scope'])!==null&&_0x22aae3!==void 0x0?_0x22aae3:'');}_0x403283[_0x575109(0x17b)]=_0x1eb0a2;}function configDisplay(_0x4f1f22){const _0x273a4c=_0x51dbae;let _0x54bbfe=_0x4f1f22[_0x273a4c(0x166)];_0x54bbfe!==_0x273a4c(0x18a)&&_0x54bbfe!==_0x273a4c(0x17a)&&(_0x54bbfe=_0x273a4c(0x17a));if(_0x4f1f22[_0x273a4c(0x16f)]&&_0x4f1f22[_0x273a4c(0x16f)]['length']>0x0){const _0x4b4a23=_0x4f1f22[_0x273a4c(0x16f)][_0x273a4c(0x157)](_0x273a4c(0x18a)),_0x29e739=_0x4f1f22[_0x273a4c(0x16f)][_0x273a4c(0x157)](_0x273a4c(0x17a));if(_0x4b4a23>=0x0&&_0x29e739>=0x0)_0x54bbfe=_0x29e739>_0x4b4a23?_0x273a4c(0x17a):_0x273a4c(0x18a);else{if(_0x4b4a23>=0x0)_0x54bbfe=_0x273a4c(0x18a);else _0x29e739>=0x0&&(_0x54bbfe=_0x273a4c(0x17a));}}}function configMainScene(_0x52f7cc){const _0x3a1239=_0x51dbae;var _0x14e12a,_0x2a07da;const _0x42016c=[_0x3a1239(0x1a5),'contentMinSize',_0x3a1239(0x16b)];let _0x33353c={'defaultSize':{'width':0x500,'height':0x500},'resizability':_0x3a1239(0x1a5)};if(_0x52f7cc[_0x3a1239(0x1a3)]){if(typeof _0x52f7cc[_0x3a1239(0x1a3)]===_0x3a1239(0x18c))_0x33353c[_0x3a1239(0x184)][_0x3a1239(0x163)]=Number((_0x14e12a=_0x52f7cc[_0x3a1239(0x1a3)]['default_size'])===null||_0x14e12a===void 0x0?void 0x0:_0x14e12a[_0x3a1239(0x163)])>0x0?_0x52f7cc[_0x3a1239(0x1a3)][_0x3a1239(0x174)][_0x3a1239(0x163)]:0x500,_0x33353c[_0x3a1239(0x184)][_0x3a1239(0x160)]=Number((_0x2a07da=_0x52f7cc['xr_main_scene'][_0x3a1239(0x174)])===null||_0x2a07da===void 0x0?void 0x0:_0x2a07da['height'])>0x0?_0x52f7cc[_0x3a1239(0x1a3)][_0x3a1239(0x174)][_0x3a1239(0x160)]:0x500,_0x33353c[_0x3a1239(0x180)]=_0x42016c[_0x3a1239(0x1a1)](_0x52f7cc['xr_main_scene'][_0x3a1239(0x180)])?_0x52f7cc[_0x3a1239(0x1a3)][_0x3a1239(0x180)]:_0x3a1239(0x1a5),_0x52f7cc[_0x3a1239(0x17c)]=_0x33353c;else typeof _0x52f7cc['xr_main_scene']===_0x3a1239(0x193)&&(_0x52f7cc[_0x3a1239(0x17c)]=_0x3a1239(0x171));}}function configDeeplink(_0x2938c2){const _0x228a5c=_0x51dbae;if(_0x2938c2[_0x228a5c(0x185)]&&_0x2938c2['protocol_handlers']['length']>0x0)for(var _0x41a465=0x0;_0x41a465<_0x2938c2['protocol_handlers'][_0x228a5c(0x158)];_0x41a465++){const _0x3a355c=_0x2938c2[_0x228a5c(0x185)][_0x41a465];if(_0x3a355c[_0x228a5c(0x18d)]&&(exports[_0x228a5c(0x1a0)][_0x228a5c(0x1a1)](_0x3a355c['protocol'])||_0x3a355c['protocol']['indexOf']('web+')===0x0)){if(!((0x0,validate_1[_0x228a5c(0x18f)])(_0x3a355c[_0x228a5c(0x181)])&&_0x3a355c[_0x228a5c(0x181)][_0x228a5c(0x157)](_0x2938c2[_0x228a5c(0x17b)])<0x0))continue;}_0x2938c2[_0x228a5c(0x185)][_0x228a5c(0x195)](_0x41a465,0x1),_0x41a465--;}}function _0x1a15(){const _0x521545=['smsto','splice','configScope','1918288kqGMxK','startsWith','start_url','parseRouter','501OUqFfF','mailto','__esModule','ftp','808DhvOyF','safelist','includes','230521SCbhfn','xr_main_scene','https://','automatic','join','cwd','indexOf','length','hash','relative','79513wkPPOv','tel','http://','sms','6932952tFOofd','height','9jcwyri','configDeeplink','width','2300sGrtpA','resolve','display','replace','../utils/utils','pathname','ircs','contentSize','news','host','openpgp4fpr','display_override','2377265qqVXNf','dynamic','12TmEcIb','configId','default_size','href','5547890lAapvr','webcal','10RQxNQT','urn','standalone','scope','mainScene','configStartUrl','matrix','defineProperty','resizability','url','irc','configMainScene','defaultSize','protocol_handlers','./static-web','split','search','origin','minimal-ui','sip','object','protocol','path','validateURL','ssh','wtai','sftp','string'];_0x1a15=function(){return _0x521545;};return _0x1a15();}function _0x4fb6(_0x26054d,_0x2557d4){const _0x1a1517=_0x1a15();return _0x4fb6=function(_0x4fb695,_0x29b338){_0x4fb695=_0x4fb695-0x156;let _0x330a19=_0x1a1517[_0x4fb695];return _0x330a19;},_0x4fb6(_0x26054d,_0x2557d4);}exports[_0x51dbae(0x1a0)]=['bitcoin',_0x51dbae(0x19e),'ftps','geo','im',_0x51dbae(0x182),_0x51dbae(0x16a),'magnet',_0x51dbae(0x19c),_0x51dbae(0x17e),'mms',_0x51dbae(0x16c),'nntp',_0x51dbae(0x16e),_0x51dbae(0x192),_0x51dbae(0x18b),_0x51dbae(0x15e),_0x51dbae(0x194),_0x51dbae(0x190),_0x51dbae(0x15c),_0x51dbae(0x179),_0x51dbae(0x177),_0x51dbae(0x191),'xmpp'];
@@ -2,7 +2,7 @@ export interface InitArgs {
2
2
  'manifest-url'?: string;
3
3
  manifest?: string;
4
4
  project?: string;
5
- 'base-url': string;
5
+ base: string;
6
6
  }
7
7
  export interface ManifestInfo {
8
8
  json: Record<string, any>;
@@ -13,5 +13,5 @@ export declare class PWAGenerator {
13
13
  static DisplayModes: string[];
14
14
  static generator(args: InitArgs, isDev?: boolean): Promise<ManifestInfo>;
15
15
  static validate(args: InitArgs, isDev?: boolean): Promise<ManifestInfo>;
16
- static config(manifestInfo: ManifestInfo, urlRoot: string, isDev: boolean): void;
16
+ static config(manifestInfo: ManifestInfo, base: string, isDev: boolean): void;
17
17
  }
@@ -1 +1 @@
1
- 'use strict';const _0x3728c4=_0x3f73;(function(_0x27f5be,_0x2fd201){const _0xd304f7=_0x3f73,_0x4321c7=_0x27f5be();while(!![]){try{const _0x170e22=parseInt(_0xd304f7(0x71))/0x1*(parseInt(_0xd304f7(0x6e))/0x2)+parseInt(_0xd304f7(0x7b))/0x3+parseInt(_0xd304f7(0x75))/0x4+-parseInt(_0xd304f7(0x86))/0x5+-parseInt(_0xd304f7(0x84))/0x6*(parseInt(_0xd304f7(0x8e))/0x7)+-parseInt(_0xd304f7(0x7e))/0x8+parseInt(_0xd304f7(0x81))/0x9*(parseInt(_0xd304f7(0x7a))/0xa);if(_0x170e22===_0x2fd201)break;else _0x4321c7['push'](_0x4321c7['shift']());}catch(_0x276315){_0x4321c7['push'](_0x4321c7['shift']());}}}(_0x39d9,0x24dcb));Object['defineProperty'](exports,_0x3728c4(0x70),{'value':!![]}),exports[_0x3728c4(0x87)]=void 0x0;function _0x39d9(){const _0xb4ce29=['generator','configId','configMainScene','42lVCvgt','checkStartUrl','manifest-url','minimal-ui','DisplayModes','validate','configScope','35306lXKjyt','reset\x20manifest.json:\x20ok','__esModule','3epNcee','fromNet','./config','standalone','914792TkdcCq','cwd','loadJsonFromDisk','configDeeplink','config','90YcXDnr','22332BcschU','json','manifest','1656880rEFORt','path','base-url','246420bfiwZu','./validate','join','9408XfEkGH','checkId','840080UTrrvE','PWAGenerator','log','configDisplay','checkIcons'];_0x39d9=function(){return _0xb4ce29;};return _0x39d9();}const path_1=require(_0x3728c4(0x7f)),config_1=require(_0x3728c4(0x73)),load_1=require('../resource/load'),validate_1=require(_0x3728c4(0x82));function _0x3f73(_0x39caab,_0x4a58a8){const _0x39d9f3=_0x39d9();return _0x3f73=function(_0x3f73b3,_0x15d0da){_0x3f73b3=_0x3f73b3-0x6b;let _0x5adb7f=_0x39d9f3[_0x3f73b3];return _0x5adb7f;},_0x3f73(_0x39caab,_0x4a58a8);}class PWAGenerator{static async[_0x3728c4(0x8b)](_0x1d379e,_0x264f20=![]){const _0x5821d8=_0x3728c4;let _0x2c56b9=await this['validate'](_0x1d379e,_0x264f20);return console[_0x5821d8(0x88)]('check\x20manifest.json:\x20ok'),await this[_0x5821d8(0x79)](_0x2c56b9,_0x1d379e[_0x5821d8(0x80)],_0x264f20),console[_0x5821d8(0x88)](_0x5821d8(0x6f)),_0x2c56b9;}static async[_0x3728c4(0x6c)](_0x3a31da,_0x46ce41=![]){const _0x43000b=_0x3728c4;var _0x3b9ffd;let _0xcb3076={},_0xa1ce5b='',_0x493e36=![];_0x3a31da[_0x43000b(0x90)]?(_0xa1ce5b=_0x3a31da[_0x43000b(0x90)],_0x493e36=!![],_0xcb3076=await(0x0,load_1['loadJsonFromNet'])(_0x3a31da[_0x43000b(0x90)])):(_0xa1ce5b=(0x0,path_1[_0x43000b(0x83)])(process[_0x43000b(0x76)](),(_0x3b9ffd=_0x3a31da[_0x43000b(0x7d)])!==null&&_0x3b9ffd!==void 0x0?_0x3b9ffd:'public/manifest.json'),_0xcb3076=await(0x0,load_1[_0x43000b(0x77)])(_0xa1ce5b));(0x0,validate_1['checkManifestJson'])(_0xcb3076);var _0x1f6b40=(0x0,validate_1[_0x43000b(0x8f)])(_0xcb3076,_0xa1ce5b,_0x493e36,_0x46ce41);if(!_0x46ce41)(0x0,validate_1[_0x43000b(0x85)])(_0xcb3076);return await(0x0,validate_1[_0x43000b(0x8a)])(_0xcb3076,_0xa1ce5b),{'json':_0xcb3076,'url':_0xa1ce5b,'fromNet':_0x1f6b40};}static[_0x3728c4(0x79)](_0x4d4083,_0x3fb9c5,_0x59a9a3){const _0x306091=_0x3728c4;(0x0,config_1['configStartUrl'])(_0x4d4083[_0x306091(0x7c)],_0x3fb9c5);if(!_0x59a9a3)(0x0,config_1[_0x306091(0x8c)])(_0x4d4083[_0x306091(0x7c)]);(0x0,config_1[_0x306091(0x6d)])(_0x4d4083[_0x306091(0x7c)],_0x4d4083[_0x306091(0x72)]),(0x0,config_1[_0x306091(0x89)])(_0x4d4083['json']),(0x0,config_1[_0x306091(0x78)])(_0x4d4083[_0x306091(0x7c)]),(0x0,config_1[_0x306091(0x8d)])(_0x4d4083[_0x306091(0x7c)]);}}exports[_0x3728c4(0x87)]=PWAGenerator,PWAGenerator[_0x3728c4(0x6b)]=[_0x3728c4(0x74),_0x3728c4(0x91)];
1
+ 'use strict';const _0x428a7e=_0x5627;function _0x5627(_0xeb65e7,_0x13240d){const _0x14dd84=_0x14dd();return _0x5627=function(_0x5627f0,_0x5d5db4){_0x5627f0=_0x5627f0-0x1d6;let _0x206ed0=_0x14dd84[_0x5627f0];return _0x206ed0;},_0x5627(_0xeb65e7,_0x13240d);}(function(_0x1b68d9,_0x487728){const _0x53cc1b=_0x5627,_0x2e6de1=_0x1b68d9();while(!![]){try{const _0x2a9ac1=-parseInt(_0x53cc1b(0x1db))/0x1*(parseInt(_0x53cc1b(0x1e2))/0x2)+parseInt(_0x53cc1b(0x1e4))/0x3*(parseInt(_0x53cc1b(0x1f5))/0x4)+-parseInt(_0x53cc1b(0x1e5))/0x5*(-parseInt(_0x53cc1b(0x1dd))/0x6)+-parseInt(_0x53cc1b(0x1de))/0x7+parseInt(_0x53cc1b(0x1d7))/0x8+parseInt(_0x53cc1b(0x1ef))/0x9*(parseInt(_0x53cc1b(0x1f0))/0xa)+-parseInt(_0x53cc1b(0x1f1))/0xb*(parseInt(_0x53cc1b(0x1ee))/0xc);if(_0x2a9ac1===_0x487728)break;else _0x2e6de1['push'](_0x2e6de1['shift']());}catch(_0x403b3c){_0x2e6de1['push'](_0x2e6de1['shift']());}}}(_0x14dd,0x3e6a7));Object['defineProperty'](exports,_0x428a7e(0x1f4),{'value':!![]}),exports[_0x428a7e(0x1da)]=void 0x0;const path_1=require(_0x428a7e(0x1fc)),config_1=require('./config'),load_1=require(_0x428a7e(0x1d8)),validate_1=require('./validate');function _0x14dd(){const _0x2f5af1=['public/manifest.json','1583720RcmgjA','../resource/load','checkIcons','PWAGenerator','19658lzntny','checkStartUrl','6OMJfpl','1487710hLqfPw','reset\x20manifest.json:\x20ok','standalone','manifest','2leswaW','DisplayModes','2142fJoIcf','2096825ehHyCJ','configDisplay','fromNet','loadJsonFromNet','loadJsonFromDisk','generator','manifest-url','configScope','base','3969372AEJkwt','117GaOMEW','301090YViZJh','22oqPOhc','join','checkManifestJson','__esModule','788yuVmIx','cwd','minimal-ui','configMainScene','validate','json','config','path','configDeeplink'];_0x14dd=function(){return _0x2f5af1;};return _0x14dd();}class PWAGenerator{static async[_0x428a7e(0x1ea)](_0x126c13,_0x208da5=![]){const _0xe03881=_0x428a7e;var _0xa4767e;let _0x29bea7=await this[_0xe03881(0x1f9)](_0x126c13,_0x208da5);return console['log']('check\x20manifest.json:\x20ok'),await this[_0xe03881(0x1fb)](_0x29bea7,(_0xa4767e=_0x126c13[_0xe03881(0x1ed)])!==null&&_0xa4767e!==void 0x0?_0xa4767e:'',_0x208da5),console['log'](_0xe03881(0x1df)),_0x29bea7;}static async['validate'](_0x38439f,_0x1d65c0=![]){const _0x20d488=_0x428a7e;var _0x22d34a;let _0x117be6={},_0x264bd9='',_0x24b189=![];_0x38439f['manifest-url']?(_0x264bd9=_0x38439f[_0x20d488(0x1eb)],_0x24b189=!![],_0x117be6=await(0x0,load_1[_0x20d488(0x1e8)])(_0x38439f[_0x20d488(0x1eb)])):(_0x264bd9=(0x0,path_1[_0x20d488(0x1f2)])(process[_0x20d488(0x1f6)](),(_0x22d34a=_0x38439f[_0x20d488(0x1e1)])!==null&&_0x22d34a!==void 0x0?_0x22d34a:_0x20d488(0x1d6)),_0x117be6=await(0x0,load_1[_0x20d488(0x1e9)])(_0x264bd9));(0x0,validate_1[_0x20d488(0x1f3)])(_0x117be6);var _0x3f25ad=(0x0,validate_1[_0x20d488(0x1dc)])(_0x117be6,_0x264bd9,_0x24b189,_0x1d65c0);if(!_0x1d65c0)(0x0,validate_1['checkId'])(_0x117be6);return await(0x0,validate_1[_0x20d488(0x1d9)])(_0x117be6,_0x264bd9),{'json':_0x117be6,'url':_0x264bd9,'fromNet':_0x3f25ad};}static[_0x428a7e(0x1fb)](_0x515ebc,_0x5b7cc4,_0x1009cd){const _0x31b8e3=_0x428a7e;(0x0,config_1['configStartUrl'])(_0x515ebc[_0x31b8e3(0x1fa)],_0x5b7cc4);if(!_0x1009cd)(0x0,config_1['configId'])(_0x515ebc[_0x31b8e3(0x1fa)]);(0x0,config_1[_0x31b8e3(0x1ec)])(_0x515ebc[_0x31b8e3(0x1fa)],_0x515ebc[_0x31b8e3(0x1e7)]),(0x0,config_1[_0x31b8e3(0x1e6)])(_0x515ebc[_0x31b8e3(0x1fa)]),(0x0,config_1[_0x31b8e3(0x1fd)])(_0x515ebc[_0x31b8e3(0x1fa)]),(0x0,config_1[_0x31b8e3(0x1f8)])(_0x515ebc[_0x31b8e3(0x1fa)]);}}exports['PWAGenerator']=PWAGenerator,PWAGenerator[_0x428a7e(0x1e3)]=[_0x428a7e(0x1e0),_0x428a7e(0x1f7)];
@@ -1 +1 @@
1
- 'use strict';const _0x506509=_0x5c34;(function(_0x455e35,_0x21e17d){const _0x24c639=_0x5c34,_0x167099=_0x455e35();while(!![]){try{const _0x4390f3=parseInt(_0x24c639(0x205))/0x1*(-parseInt(_0x24c639(0x1e8))/0x2)+-parseInt(_0x24c639(0x20e))/0x3+parseInt(_0x24c639(0x1f1))/0x4*(parseInt(_0x24c639(0x1fd))/0x5)+-parseInt(_0x24c639(0x207))/0x6*(parseInt(_0x24c639(0x202))/0x7)+parseInt(_0x24c639(0x1ef))/0x8+parseInt(_0x24c639(0x1ec))/0x9+-parseInt(_0x24c639(0x1ed))/0xa*(-parseInt(_0x24c639(0x1f7))/0xb);if(_0x4390f3===_0x21e17d)break;else _0x167099['push'](_0x167099['shift']());}catch(_0x463139){_0x167099['push'](_0x167099['shift']());}}}(_0x82d6,0xd968e));Object[_0x506509(0x20f)](exports,_0x506509(0x1e9),{'value':!![]}),exports[_0x506509(0x214)]=checkManifestJson,exports[_0x506509(0x1f6)]=checkStartUrl,exports[_0x506509(0x213)]=checkIcons,exports[_0x506509(0x212)]=checkId,exports[_0x506509(0x20b)]=validateURL;const path_1=require(_0x506509(0x20a)),_1=require('.'),CustomError_1=require(_0x506509(0x201)),utils_1=require(_0x506509(0x203)),imageHelper_1=require('../resource/imageHelper'),load_1=require(_0x506509(0x21b));function checkManifestJson(_0x426bf7){const _0x220cd6=_0x506509;var _0x31dce5;const _0x487ddd=[];!_0x426bf7[_0x220cd6(0x1fe)]&&!_0x426bf7['short_name']&&_0x487ddd[_0x220cd6(0x1ee)]({'code':0xbbe,'message':'In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','message_staring_params':{}});!((_0x31dce5=_0x426bf7[_0x220cd6(0x1eb)])===null||_0x31dce5===void 0x0?void 0x0:_0x31dce5[_0x220cd6(0x1fa)])&&_0x487ddd[_0x220cd6(0x1ee)]({'code':0xbbf,'message':_0x220cd6(0x21a),'message_staring_params':{}});!_0x426bf7[_0x220cd6(0x215)]&&_0x487ddd['push']({'code':0xbc0,'message':'In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','message_staring_params':{}});!_1[_0x220cd6(0x20c)][_0x220cd6(0x204)][_0x220cd6(0x200)](_0x426bf7[_0x220cd6(0x206)])&&_0x487ddd[_0x220cd6(0x1ee)]({'code':0xbc1,'message':_0x220cd6(0x1f3)+('\x20can\x20only\x20be\x20one\x20of\x20\x22minimal-ui\x22\x20or\x20\x22standalone\x22\x20(your\x20current\x20configuration\x20is\x20'+_0x426bf7['display']+')'),'message_staring_params':{'display':_0x426bf7[_0x220cd6(0x206)]}});if(_0x487ddd[_0x220cd6(0x1fa)])throw new CustomError_1[(_0x220cd6(0x211))](_0x487ddd);}function checkStartUrl(_0x103f0d,_0x36797d,_0xecb407,_0x7c6315=![]){const _0x32c8ed=_0x506509;var _0x440958=![];if(_0x7c6315)return _0x440958=_0x103f0d[_0x32c8ed(0x215)][_0x32c8ed(0x1f9)](_0x32c8ed(0x1f0))===0x0||_0x103f0d[_0x32c8ed(0x215)][_0x32c8ed(0x1f9)](_0x32c8ed(0x20d))===0x0,_0x440958;if(_0xecb407){if(_0x103f0d[_0x32c8ed(0x215)][_0x32c8ed(0x1f9)](_0x32c8ed(0x1f0))==0x0){const _0x5a8597=new URL(_0x103f0d[_0x32c8ed(0x215)]),_0x439a5f=new URL(_0x36797d);if(_0x5a8597[_0x32c8ed(0x208)]!==_0x439a5f[_0x32c8ed(0x208)])throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x32c8ed(0x1f5),'message_staring_params':{}});}else{if(_0x103f0d[_0x32c8ed(0x215)][_0x32c8ed(0x1f9)](_0x32c8ed(0x20d))==0x0)throw new CustomError_1[(_0x32c8ed(0x211))]({'code':0xfa0,'message':_0x32c8ed(0x1f2),'message_staring_params':{}});}}else{if(_0x103f0d[_0x32c8ed(0x215)][_0x32c8ed(0x1f9)]('https://')==0x0||_0x103f0d[_0x32c8ed(0x215)][_0x32c8ed(0x1f9)](_0x32c8ed(0x20d))==0x0)throw new CustomError_1[(_0x32c8ed(0x211))]({'code':0xfa0,'message':_0x32c8ed(0x216),'message_staring_params':{}});}return _0x440958;}async function checkIcons(_0x4775d1,_0x497f5b){const _0x5ad35=_0x506509;var _0xe2f1d0;const _0x5d2187=(0x0,utils_1['parseRouter'])(_0x497f5b);let _0x3d3f00,_0x3f54a5,_0x201c63,_0x15e548=0x0;for(var _0x3c3886=0x0;_0x3c3886<_0x4775d1['icons'][_0x5ad35(0x1fa)];_0x3c3886++){const _0x37078f=_0x4775d1[_0x5ad35(0x1eb)][_0x3c3886];let _0x32bfcc=((_0xe2f1d0=_0x37078f[_0x5ad35(0x217)])===null||_0xe2f1d0===void 0x0?void 0x0:_0xe2f1d0[_0x5ad35(0x1f9)]('maskable'))>=0x0;if(!_0x32bfcc)continue;let _0x101b68=![],_0x4ffde0=_0x37078f['src'],_0x30ec81,_0x260cb7=0x0;!validateURL(_0x4ffde0)&&(_0x4ffde0=(0x0,path_1[_0x5ad35(0x219)])(_0x5d2187,_0x4ffde0));if(_0x37078f[_0x5ad35(0x1fc)]){const _0x43185c=_0x37078f[_0x5ad35(0x1fc)]['split']('\x20');_0x43185c['forEach'](_0x120732=>{let _0x86a258=_0x120732['split']('x');Number(_0x86a258[0x0])>=0x400&&Number(_0x86a258[0x1])>=0x400&&(_0x101b68=!![],Number(_0x86a258[0x0])>_0x260cb7&&(_0x260cb7=Number(_0x86a258[0x0])));});}else _0x30ec81=!_0x4ffde0['startsWith']('http')?await(0x0,load_1[_0x5ad35(0x210)])(_0x4ffde0):await(0x0,load_1['loadImageFromNet'])(_0x4ffde0),_0x30ec81[_0x5ad35(0x1ea)]()>=0x400&&_0x30ec81[_0x5ad35(0x1fb)]()>=0x400&&(_0x101b68=!![],_0x30ec81[_0x5ad35(0x1ea)]()>_0x260cb7&&(_0x260cb7=_0x30ec81['getWidth']()));_0x101b68&&_0x32bfcc&&(_0x260cb7>_0x15e548&&(_0x15e548=_0x260cb7,_0x3d3f00=_0x30ec81,_0x3f54a5=_0x4ffde0,_0x201c63=_0x37078f[_0x5ad35(0x217)]));}if(_0x15e548===0x0)throw new CustomError_1[(_0x5ad35(0x211))]({'code':0xfa0,'message':_0x5ad35(0x21c),'message_staring_params':{}});else _0x3f54a5&&(_0x3d3f00=!_0x3f54a5['startsWith'](_0x5ad35(0x1ff))?await(0x0,load_1[_0x5ad35(0x210)])(_0x3f54a5):await(0x0,load_1['loadImageFromNet'])(_0x3f54a5));if(_0x3d3f00&&!imageHelper_1[_0x5ad35(0x1f4)][_0x5ad35(0x218)](_0x3d3f00))throw new CustomError_1[(_0x5ad35(0x211))]({'code':0xfa0,'message':_0x5ad35(0x1f8),'message_staring_params':{}});_0x4775d1[_0x5ad35(0x1eb)]=[{'src':_0x3f54a5,'sizes':_0x15e548+'x'+_0x15e548,'purpose':_0x201c63}];}function _0x82d6(){const _0x29c50b=['validateURL','PWAGenerator','http://','4403049EaMBhX','defineProperty','loadImageFromDisk','CustomError','checkId','checkIcons','checkManifestJson','start_url','Local\x20manifest\x20cannot\x20package\x20network\x20project','purpose','isFullyOpaque','join','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','../resource/load','In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','748jqBdmp','__esModule','getWidth','icons','12475116QztYBv','61730MCnrHD','push','5842056aoKSFX','https://','152wPkyeY','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20display\x20property\x20must\x20be\x20provided,\x20and\x20its\x20value','ImageHelper','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','checkStartUrl','4895QfYSFX','In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','indexOf','length','getHeight','sizes','1465dLvRxK','name','http','includes','../utils/CustomError','564123PzvUWQ','../utils/utils','DisplayModes','2634eefEWq','display','114GViVjv','host','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL','path'];_0x82d6=function(){return _0x29c50b;};return _0x82d6();}function checkId(_0x33754f){const _0x1179e6=_0x506509;!_0x33754f['id']&&(_0x33754f['id']=_0x33754f[_0x1179e6(0x215)]);if(!validateURL(_0x33754f['id']))throw new CustomError_1[(_0x1179e6(0x211))]({'code':0xfa0,'message':_0x1179e6(0x209),'message_staring_params':{}});}function _0x5c34(_0x50d397,_0x474b5a){const _0x82d602=_0x82d6();return _0x5c34=function(_0x5c348e,_0x182c94){_0x5c348e=_0x5c348e-0x1e8;let _0x2e4423=_0x82d602[_0x5c348e];return _0x2e4423;},_0x5c34(_0x50d397,_0x474b5a);}function validateURL(_0x34bba8){try{return new URL(_0x34bba8),!![];}catch(_0x25f08d){return![];}}
1
+ 'use strict';const _0x2708a6=_0x4069;(function(_0x474460,_0x493419){const _0x42bf31=_0x4069,_0x5626e2=_0x474460();while(!![]){try{const _0x29af4d=-parseInt(_0x42bf31(0x145))/0x1*(-parseInt(_0x42bf31(0x120))/0x2)+parseInt(_0x42bf31(0x132))/0x3+-parseInt(_0x42bf31(0x129))/0x4*(parseInt(_0x42bf31(0x11b))/0x5)+parseInt(_0x42bf31(0x123))/0x6*(-parseInt(_0x42bf31(0x13a))/0x7)+parseInt(_0x42bf31(0x142))/0x8*(-parseInt(_0x42bf31(0x127))/0x9)+-parseInt(_0x42bf31(0x126))/0xa+parseInt(_0x42bf31(0x12a))/0xb*(parseInt(_0x42bf31(0x10f))/0xc);if(_0x29af4d===_0x493419)break;else _0x5626e2['push'](_0x5626e2['shift']());}catch(_0x5ac10f){_0x5626e2['push'](_0x5626e2['shift']());}}}(_0x2d08,0x21131));function _0x2d08(){const _0x320878=['join','host','getHeight','forEach','14cRLBYM','loadImageFromNet','short_name','In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','path','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','icons','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','80SGbdoD','Local\x20manifest\x20cannot\x20package\x20network\x20project','checkId','2voQnFt','DisplayModes','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL','loadImageFromDisk','../utils/utils','getWidth','12JthqRh','parseRouter','length','display','checkIcons','checkManifestJson','indexOf','In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','purpose','__esModule','http','checkStartUrl','5qIFcUk','http://','CustomError','start_url','PWAGenerator','170338AKVqtK','split','sizes','541518mHzHhB','defineProperty','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','2047380KybOfd','141966QbMVDG','src','750616UdPOGL','5658334oBsdTN','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20display\x20property\x20must\x20be\x20provided,\x20and\x20its\x20value','../resource/load','../utils/CustomError','ImageHelper','\x20can\x20only\x20be\x20one\x20of\x20\x22minimal-ui\x22\x20or\x20\x22standalone\x22\x20(your\x20current\x20configuration\x20is\x20','name','https://','544137TRPBXq','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','push','maskable'];_0x2d08=function(){return _0x320878;};return _0x2d08();}function _0x4069(_0x444f42,_0x401eee){const _0x2d0843=_0x2d08();return _0x4069=function(_0x4069dc,_0x2af617){_0x4069dc=_0x4069dc-0x10f;let _0x59d148=_0x2d0843[_0x4069dc];return _0x59d148;},_0x4069(_0x444f42,_0x401eee);}Object[_0x2708a6(0x124)](exports,_0x2708a6(0x118),{'value':!![]}),exports[_0x2708a6(0x114)]=checkManifestJson,exports[_0x2708a6(0x11a)]=checkStartUrl,exports[_0x2708a6(0x113)]=checkIcons,exports[_0x2708a6(0x144)]=checkId,exports['validateURL']=validateURL;const path_1=require(_0x2708a6(0x13e)),_1=require('.'),CustomError_1=require(_0x2708a6(0x12d)),utils_1=require(_0x2708a6(0x149)),imageHelper_1=require('../resource/imageHelper'),load_1=require(_0x2708a6(0x12c));function checkManifestJson(_0x2c5f01){const _0xb3db12=_0x2708a6;var _0x578dca;const _0x37dba6=[];!_0x2c5f01[_0xb3db12(0x130)]&&!_0x2c5f01[_0xb3db12(0x13c)]&&_0x37dba6['push']({'code':0xbbe,'message':'In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','message_staring_params':{}});!((_0x578dca=_0x2c5f01[_0xb3db12(0x140)])===null||_0x578dca===void 0x0?void 0x0:_0x578dca[_0xb3db12(0x111)])&&_0x37dba6['push']({'code':0xbbf,'message':_0xb3db12(0x125),'message_staring_params':{}});!_0x2c5f01[_0xb3db12(0x11e)]&&_0x37dba6[_0xb3db12(0x134)]({'code':0xbc0,'message':_0xb3db12(0x13f),'message_staring_params':{}});!_1[_0xb3db12(0x11f)][_0xb3db12(0x146)]['includes'](_0x2c5f01[_0xb3db12(0x112)])&&_0x37dba6[_0xb3db12(0x134)]({'code':0xbc1,'message':_0xb3db12(0x12b)+(_0xb3db12(0x12f)+_0x2c5f01[_0xb3db12(0x112)]+')'),'message_staring_params':{'display':_0x2c5f01[_0xb3db12(0x112)]}});if(_0x37dba6['length'])throw new CustomError_1[(_0xb3db12(0x11d))](_0x37dba6);}function checkStartUrl(_0x378141,_0x70ffdb,_0x368ecb,_0xe085d6=![]){const _0x2a0c79=_0x2708a6;var _0x3893c3=![];if(_0xe085d6)return _0x3893c3=_0x378141[_0x2a0c79(0x11e)][_0x2a0c79(0x115)]('https://')===0x0||_0x378141[_0x2a0c79(0x11e)][_0x2a0c79(0x115)](_0x2a0c79(0x11c))===0x0,_0x3893c3;if(_0x368ecb){if(_0x378141[_0x2a0c79(0x11e)]['indexOf'](_0x2a0c79(0x131))==0x0){const _0x4ade1d=new URL(_0x378141['start_url']),_0x4737db=new URL(_0x70ffdb);if(_0x4ade1d[_0x2a0c79(0x137)]!==_0x4737db[_0x2a0c79(0x137)])throw new CustomError_1[(_0x2a0c79(0x11d))]({'code':0xfa0,'message':_0x2a0c79(0x141),'message_staring_params':{}});}else{if(_0x378141[_0x2a0c79(0x11e)]['indexOf'](_0x2a0c79(0x11c))==0x0)throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x2a0c79(0x133),'message_staring_params':{}});}}else{if(_0x378141['start_url'][_0x2a0c79(0x115)](_0x2a0c79(0x131))==0x0||_0x378141['start_url'][_0x2a0c79(0x115)](_0x2a0c79(0x11c))==0x0)throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x2a0c79(0x143),'message_staring_params':{}});}return _0x3893c3;}async function checkIcons(_0x10a925,_0x41ceab){const _0x3cfa82=_0x2708a6;var _0x1ddb47;const _0x144585=(0x0,utils_1[_0x3cfa82(0x110)])(_0x41ceab);let _0x2fdfce,_0x58da63,_0x47f30a,_0xa675c6=0x0;for(var _0x2f5cc0=0x0;_0x2f5cc0<_0x10a925[_0x3cfa82(0x140)]['length'];_0x2f5cc0++){const _0x4383bb=_0x10a925[_0x3cfa82(0x140)][_0x2f5cc0];let _0x16b831=((_0x1ddb47=_0x4383bb[_0x3cfa82(0x117)])===null||_0x1ddb47===void 0x0?void 0x0:_0x1ddb47[_0x3cfa82(0x115)](_0x3cfa82(0x135)))>=0x0;if(!_0x16b831)continue;let _0x53b900=![],_0x54f2b2=_0x4383bb[_0x3cfa82(0x128)],_0x1d0810,_0x284a5f=0x0;!validateURL(_0x54f2b2)&&(_0x54f2b2=(0x0,path_1[_0x3cfa82(0x136)])(_0x144585,_0x54f2b2));if(_0x4383bb[_0x3cfa82(0x122)]){const _0x1a2191=_0x4383bb['sizes']['split']('\x20');_0x1a2191[_0x3cfa82(0x139)](_0x266a15=>{const _0x4d8454=_0x3cfa82;let _0x4e29c8=_0x266a15[_0x4d8454(0x121)]('x');Number(_0x4e29c8[0x0])>=0x400&&Number(_0x4e29c8[0x1])>=0x400&&(_0x53b900=!![],Number(_0x4e29c8[0x0])>_0x284a5f&&(_0x284a5f=Number(_0x4e29c8[0x0])));});}else _0x1d0810=!_0x54f2b2['startsWith'](_0x3cfa82(0x119))?await(0x0,load_1[_0x3cfa82(0x148)])(_0x54f2b2):await(0x0,load_1[_0x3cfa82(0x13b)])(_0x54f2b2),_0x1d0810[_0x3cfa82(0x14a)]()>=0x400&&_0x1d0810[_0x3cfa82(0x138)]()>=0x400&&(_0x53b900=!![],_0x1d0810[_0x3cfa82(0x14a)]()>_0x284a5f&&(_0x284a5f=_0x1d0810['getWidth']()));_0x53b900&&_0x16b831&&(_0x284a5f>_0xa675c6&&(_0xa675c6=_0x284a5f,_0x2fdfce=_0x1d0810,_0x58da63=_0x54f2b2,_0x47f30a=_0x4383bb[_0x3cfa82(0x117)]));}if(_0xa675c6===0x0)throw new CustomError_1[(_0x3cfa82(0x11d))]({'code':0xfa0,'message':_0x3cfa82(0x13d),'message_staring_params':{}});else _0x58da63&&(_0x2fdfce=!_0x58da63['startsWith']('http')?await(0x0,load_1[_0x3cfa82(0x148)])(_0x58da63):await(0x0,load_1['loadImageFromNet'])(_0x58da63));if(_0x2fdfce&&!imageHelper_1[_0x3cfa82(0x12e)]['isFullyOpaque'](_0x2fdfce))throw new CustomError_1[(_0x3cfa82(0x11d))]({'code':0xfa0,'message':_0x3cfa82(0x116),'message_staring_params':{}});_0x10a925[_0x3cfa82(0x140)]=[{'src':_0x58da63,'sizes':_0xa675c6+'x'+_0xa675c6,'purpose':_0x47f30a}];}function checkId(_0x163ea1){const _0x52b27d=_0x2708a6;!_0x163ea1['id']&&(_0x163ea1['id']=_0x163ea1['start_url']);if(!validateURL(_0x163ea1['id']))throw new CustomError_1[(_0x52b27d(0x11d))]({'code':0xfa0,'message':_0x52b27d(0x147),'message_staring_params':{}});}function validateURL(_0x288241){try{return new URL(_0x288241),!![];}catch(_0x1974aa){return![];}}
@@ -1 +1 @@
1
- 'use strict';const _0x38b304=_0x2656;(function(_0x3c3da4,_0x4d27b1){const _0x54b8af=_0x2656,_0xbbb561=_0x3c3da4();while(!![]){try{const _0x23d376=parseInt(_0x54b8af(0x86))/0x1+parseInt(_0x54b8af(0x8b))/0x2*(-parseInt(_0x54b8af(0x84))/0x3)+-parseInt(_0x54b8af(0x85))/0x4+-parseInt(_0x54b8af(0x88))/0x5*(parseInt(_0x54b8af(0x7b))/0x6)+parseInt(_0x54b8af(0x8a))/0x7*(parseInt(_0x54b8af(0x81))/0x8)+parseInt(_0x54b8af(0x82))/0x9*(parseInt(_0x54b8af(0x94))/0xa)+parseInt(_0x54b8af(0x7c))/0xb*(parseInt(_0x54b8af(0x93))/0xc);if(_0x23d376===_0x4d27b1)break;else _0xbbb561['push'](_0xbbb561['shift']());}catch(_0x22ae4b){_0xbbb561['push'](_0xbbb561['shift']());}}}(_0x22cd,0x8dc9c));Object[_0x38b304(0x89)](exports,_0x38b304(0x90),{'value':!![]}),exports[_0x38b304(0x8e)]=copyDir,exports[_0x38b304(0x87)]=clearDir;function _0x22cd(){const _0x2e1d8a=['forEach','copyDir','isDirectory','__esModule','writeFileSync','readFileSync','696BuUwvU','1112730ACJnCx','4036518uMxsGp','430903mRmgeD','log','unlinkSync','isFile','readdirSync','2784XHjnwH','9oJDalv','mkdirSync','22521ujICnG','2361664jFikdr','187517BWFtPN','clearDir','5fdsmhF','defineProperty','4858ZggYdw','258HdkaXa','statSync'];_0x22cd=function(){return _0x2e1d8a;};return _0x22cd();}function _0x2656(_0x408c58,_0x4471bf){const _0x22cdfe=_0x22cd();return _0x2656=function(_0x265607,_0x4126c5){_0x265607=_0x265607-0x7b;let _0xa347d9=_0x22cdfe[_0x265607];return _0xa347d9;},_0x2656(_0x408c58,_0x4471bf);}const fs=require('fs');function copyDir(_0x2244ef,_0x271d61){const _0x4440e3=_0x38b304,_0x28cafc=fs[_0x4440e3(0x80)](_0x2244ef);_0x28cafc['forEach'](_0x9187fb=>{const _0x48e77e=_0x4440e3,_0x330bca=_0x2244ef+'/'+_0x9187fb,_0x2fd31a=_0x271d61+'/'+_0x9187fb,_0x35d028=fs['statSync'](_0x330bca);if(_0x35d028[_0x48e77e(0x7f)]())try{fs[_0x48e77e(0x91)](_0x2fd31a,fs[_0x48e77e(0x92)](_0x330bca));}catch(_0x11e619){console[_0x48e77e(0x7d)](_0x11e619);}else _0x35d028[_0x48e77e(0x8f)]()&&(!fs['existsSync'](_0x2fd31a)&&fs[_0x48e77e(0x83)](_0x2fd31a,{'recursive':!![]}),copyDir(_0x330bca,_0x2fd31a));});}function clearDir(_0x1ffa50){const _0x242473=_0x38b304,_0x25d2b7=fs[_0x242473(0x80)](_0x1ffa50);_0x25d2b7[_0x242473(0x8d)](_0x362a97=>{const _0x88e788=_0x242473,_0x1a2faa=_0x1ffa50+'/'+_0x362a97,_0xd15935=fs[_0x88e788(0x8c)](_0x1a2faa);if(_0xd15935[_0x88e788(0x7f)]())try{fs[_0x88e788(0x7e)](_0x1a2faa);}catch(_0x46be93){console[_0x88e788(0x7d)](_0x46be93);}else _0xd15935[_0x88e788(0x8f)]()&&clearDir(_0x1a2faa);});}
1
+ 'use strict';const _0x24ddd0=_0x4904;(function(_0xd275a5,_0xaa0abc){const _0x42d37a=_0x4904,_0x2f268d=_0xd275a5();while(!![]){try{const _0x5f4e67=-parseInt(_0x42d37a(0x11c))/0x1*(parseInt(_0x42d37a(0x128))/0x2)+-parseInt(_0x42d37a(0x117))/0x3*(parseInt(_0x42d37a(0x123))/0x4)+-parseInt(_0x42d37a(0x120))/0x5*(parseInt(_0x42d37a(0x119))/0x6)+-parseInt(_0x42d37a(0x126))/0x7*(-parseInt(_0x42d37a(0x124))/0x8)+parseInt(_0x42d37a(0x115))/0x9+parseInt(_0x42d37a(0x12c))/0xa+-parseInt(_0x42d37a(0x11b))/0xb*(-parseInt(_0x42d37a(0x116))/0xc);if(_0x5f4e67===_0xaa0abc)break;else _0x2f268d['push'](_0x2f268d['shift']());}catch(_0x527609){_0x2f268d['push'](_0x2f268d['shift']());}}}(_0x49f9,0x66c99));Object[_0x24ddd0(0x127)](exports,_0x24ddd0(0x125),{'value':!![]}),exports['copyDir']=copyDir,exports[_0x24ddd0(0x121)]=clearDir;const fs=require('fs');function copyDir(_0x2786a2,_0x292a44){const _0x34fc1b=_0x24ddd0,_0x316e8b=fs[_0x34fc1b(0x118)](_0x2786a2);_0x316e8b['forEach'](_0x30c1c8=>{const _0x3c2e75=_0x34fc1b,_0x1f80aa=_0x2786a2+'/'+_0x30c1c8,_0x2dce86=_0x292a44+'/'+_0x30c1c8,_0x54eaa5=fs['statSync'](_0x1f80aa);if(_0x54eaa5[_0x3c2e75(0x12d)]())try{fs[_0x3c2e75(0x12b)](_0x2dce86,fs[_0x3c2e75(0x12a)](_0x1f80aa));}catch(_0x2efd7f){console[_0x3c2e75(0x11d)](_0x2efd7f);}else _0x54eaa5[_0x3c2e75(0x129)]()&&(!fs['existsSync'](_0x2dce86)&&fs[_0x3c2e75(0x122)](_0x2dce86,{'recursive':!![]}),copyDir(_0x1f80aa,_0x2dce86));});}function _0x4904(_0x1800a7,_0x5aad66){const _0x49f937=_0x49f9();return _0x4904=function(_0x490424,_0x285db3){_0x490424=_0x490424-0x115;let _0xe1245d=_0x49f937[_0x490424];return _0xe1245d;},_0x4904(_0x1800a7,_0x5aad66);}function clearDir(_0x2c59ec){const _0x147e85=_0x24ddd0,_0x40ecd2=fs['readdirSync'](_0x2c59ec);_0x40ecd2[_0x147e85(0x11a)](_0x17264c=>{const _0x5dc9b7=_0x147e85,_0x493578=_0x2c59ec+'/'+_0x17264c,_0x14c492=fs[_0x5dc9b7(0x11f)](_0x493578);if(_0x14c492[_0x5dc9b7(0x12d)]())try{fs[_0x5dc9b7(0x11e)](_0x493578);}catch(_0x35c985){console[_0x5dc9b7(0x11d)](_0x35c985);}else _0x14c492['isDirectory']()&&clearDir(_0x493578);});}function _0x49f9(){const _0x9cacf4=['log','unlinkSync','statSync','44905dSBFjD','clearDir','mkdirSync','4FNYJYZ','8SXsamt','__esModule','2943556kEPzYq','defineProperty','862550mfrRcC','isDirectory','readFileSync','writeFileSync','3200760hxmYpS','isFile','2225187CTomJx','24EQtumD','972888pQEzWP','readdirSync','534wSzmja','forEach','5434385TvhPcA','1NWqNhk'];_0x49f9=function(){return _0x9cacf4;};return _0x49f9();}
@@ -1 +1 @@
1
- 'use strict';const _0x4e4fb2=_0x4998;(function(_0x4b1bec,_0x14d8b6){const _0x4dd67c=_0x4998,_0x65222b=_0x4b1bec();while(!![]){try{const _0x1cd04d=parseInt(_0x4dd67c(0x19b))/0x1+parseInt(_0x4dd67c(0x19d))/0x2*(parseInt(_0x4dd67c(0x1b0))/0x3)+-parseInt(_0x4dd67c(0x1a6))/0x4+-parseInt(_0x4dd67c(0x1ac))/0x5+parseInt(_0x4dd67c(0x1a7))/0x6+parseInt(_0x4dd67c(0x1a5))/0x7*(parseInt(_0x4dd67c(0x1a2))/0x8)+-parseInt(_0x4dd67c(0x1af))/0x9*(-parseInt(_0x4dd67c(0x1a8))/0xa);if(_0x1cd04d===_0x14d8b6)break;else _0x65222b['push'](_0x65222b['shift']());}catch(_0x5047b4){_0x65222b['push'](_0x65222b['shift']());}}}(_0x1d29,0x8e369));function _0x4998(_0xf762b,_0xdf0565){const _0x1d2982=_0x1d29();return _0x4998=function(_0x49985d,_0x559cdd){_0x49985d=_0x49985d-0x199;let _0x29fa70=_0x1d2982[_0x49985d];return _0x29fa70;},_0x4998(_0xf762b,_0xdf0565);}Object['defineProperty'](exports,_0x4e4fb2(0x1a4),{'value':!![]}),exports[_0x4e4fb2(0x1ae)]=void 0x0;function _0x1d29(){const _0x4c3fdc=['toFormat','getHeight','543531FjhHqh','png','89626bXtifQ','asPng','getWidth','svg2img','data','8jyVKvK','render','__esModule','383320nbMkQO','2332056Fdlnan','1891032juuqpr','20TtSFKM','jimp','width','webp2PngBuffer','3765455yzCNYK','@resvg/resvg-js','ImageHelper','1901601TccFLt','39DYSkmw'];_0x1d29=function(){return _0x4c3fdc;};return _0x1d29();}const Jimp=require(_0x4e4fb2(0x1a9)),sharp=require('sharp'),resvg_js_1=require(_0x4e4fb2(0x1ad));class ImageHelper{static['createImg'](_0x3a7847){return new Jimp(_0x3a7847,_0x3a7847,0x0);}static async[_0x4e4fb2(0x1ab)](_0x2d9875){const _0x2b625=_0x4e4fb2;return await sharp(_0x2d9875)[_0x2b625(0x199)](_0x2b625(0x19c))['toBuffer']();}static async[_0x4e4fb2(0x1a0)](_0x39e818){const _0x17ed18=_0x4e4fb2,_0x174226={'fitTo':{'mode':_0x17ed18(0x1aa),'value':0x400}},_0x35aabb=new resvg_js_1['Resvg'](_0x39e818,_0x174226),_0xe854c=_0x35aabb[_0x17ed18(0x1a3)](),_0x2b0730=_0xe854c[_0x17ed18(0x19e)]();return _0x2b0730;}static['isFullyOpaque'](_0x2c37cc){const _0xeed4f4=_0x4e4fb2,_0x480001=_0x2c37cc[_0xeed4f4(0x19f)]()*_0x2c37cc[_0xeed4f4(0x19a)]();for(var _0x4fbef1=0x0;_0x4fbef1<_0x480001;_0x4fbef1++){const _0x5dd74f=_0x4fbef1*0x4+0x3;if(_0x2c37cc['bitmap'][_0xeed4f4(0x1a1)][_0x5dd74f]<0xff)return![];}return!![];}}exports['ImageHelper']=ImageHelper;
1
+ 'use strict';function _0x4cdf(_0x40fa87,_0x34d646){const _0x3d3faa=_0x3d3f();return _0x4cdf=function(_0x4cdff3,_0x1b578d){_0x4cdff3=_0x4cdff3-0xa6;let _0x51a0ce=_0x3d3faa[_0x4cdff3];return _0x51a0ce;},_0x4cdf(_0x40fa87,_0x34d646);}const _0x40c2be=_0x4cdf;(function(_0x54cdb3,_0x1b197e){const _0x457ceb=_0x4cdf,_0x43af47=_0x54cdb3();while(!![]){try{const _0x3c1062=-parseInt(_0x457ceb(0xc0))/0x1*(parseInt(_0x457ceb(0xbe))/0x2)+-parseInt(_0x457ceb(0xad))/0x3*(-parseInt(_0x457ceb(0xba))/0x4)+-parseInt(_0x457ceb(0xbb))/0x5*(-parseInt(_0x457ceb(0xbf))/0x6)+parseInt(_0x457ceb(0xc1))/0x7+parseInt(_0x457ceb(0xa6))/0x8*(parseInt(_0x457ceb(0xbc))/0x9)+parseInt(_0x457ceb(0xb3))/0xa+-parseInt(_0x457ceb(0xc2))/0xb;if(_0x3c1062===_0x1b197e)break;else _0x43af47['push'](_0x43af47['shift']());}catch(_0x296d5c){_0x43af47['push'](_0x43af47['shift']());}}}(_0x3d3f,0x54b60));Object[_0x40c2be(0xb0)](exports,_0x40c2be(0xaf),{'value':!![]}),exports[_0x40c2be(0xac)]=void 0x0;function _0x3d3f(){const _0x1f428a=['16594eAHzAd','4744320vQycot','10453740evPCsQ','72wTWqfZ','data','render','@resvg/resvg-js','png','createImg','ImageHelper','76050iontkV','toFormat','__esModule','defineProperty','getWidth','jimp','4439510lmPvlG','sharp','width','asPng','isFullyOpaque','bitmap','webp2PngBuffer','20PkbouG','12395EfImxj','578547NPqczn','svg2img','74ZvDxIP','204sYdqvC'];_0x3d3f=function(){return _0x1f428a;};return _0x3d3f();}const Jimp=require(_0x40c2be(0xb2)),sharp=require(_0x40c2be(0xb4)),resvg_js_1=require(_0x40c2be(0xa9));class ImageHelper{static[_0x40c2be(0xab)](_0xfc336){return new Jimp(_0xfc336,_0xfc336,0x0);}static async[_0x40c2be(0xb9)](_0x3129f4){const _0x517b47=_0x40c2be;return await sharp(_0x3129f4)[_0x517b47(0xae)](_0x517b47(0xaa))['toBuffer']();}static async[_0x40c2be(0xbd)](_0x575174){const _0x4036bb=_0x40c2be,_0x563677={'fitTo':{'mode':_0x4036bb(0xb5),'value':0x400}},_0x4fbe30=new resvg_js_1['Resvg'](_0x575174,_0x563677),_0x5c5d1e=_0x4fbe30[_0x4036bb(0xa8)](),_0x9e539e=_0x5c5d1e[_0x4036bb(0xb6)]();return _0x9e539e;}static[_0x40c2be(0xb7)](_0x46c4cc){const _0x1d7393=_0x40c2be,_0x58050a=_0x46c4cc[_0x1d7393(0xb1)]()*_0x46c4cc['getHeight']();for(var _0x309692=0x0;_0x309692<_0x58050a;_0x309692++){const _0x4633bc=_0x309692*0x4+0x3;if(_0x46c4cc[_0x1d7393(0xb8)][_0x1d7393(0xa7)][_0x4633bc]<0xff)return![];}return!![];}}exports['ImageHelper']=ImageHelper;
@@ -1 +1 @@
1
- 'use strict';const _0x4eacdd=_0xcda2;(function(_0x11a86b,_0x2895f6){const _0x2e6837=_0xcda2,_0x320670=_0x11a86b();while(!![]){try{const _0x4788ef=-parseInt(_0x2e6837(0x1fa))/0x1*(-parseInt(_0x2e6837(0x1dd))/0x2)+parseInt(_0x2e6837(0x1f3))/0x3+-parseInt(_0x2e6837(0x202))/0x4*(parseInt(_0x2e6837(0x1f4))/0x5)+-parseInt(_0x2e6837(0x1d6))/0x6+-parseInt(_0x2e6837(0x1df))/0x7*(parseInt(_0x2e6837(0x1ed))/0x8)+-parseInt(_0x2e6837(0x1fd))/0x9*(-parseInt(_0x2e6837(0x1ea))/0xa)+parseInt(_0x2e6837(0x1f7))/0xb*(-parseInt(_0x2e6837(0x205))/0xc);if(_0x4788ef===_0x2895f6)break;else _0x320670['push'](_0x320670['shift']());}catch(_0x46adfa){_0x320670['push'](_0x320670['shift']());}}}(_0x3919,0x9d3e1));Object[_0x4eacdd(0x1f8)](exports,_0x4eacdd(0x204),{'value':!![]}),exports[_0x4eacdd(0x1f5)]=exports[_0x4eacdd(0x1e3)]=exports[_0x4eacdd(0x200)]=exports['ASSET_DIRECTORY']=exports[_0x4eacdd(0x1f9)]=exports['PROJECT_EXPORT_DIRECTORY']=exports[_0x4eacdd(0x1e2)]=exports['PROJECT_DIRECTORY']=void 0x0;const fs=require('fs'),path_1=require('path'),file_1=require(_0x4eacdd(0x1e9)),load_1=require(_0x4eacdd(0x1f0)),child_process_1=require(_0x4eacdd(0x1d9));exports[_0x4eacdd(0x1fb)]='',exports[_0x4eacdd(0x1e2)]='',exports[_0x4eacdd(0x1d3)]='',exports['WEB_PROJECT_DIRECTORY']=_0x4eacdd(0x1e4),exports[_0x4eacdd(0x1dc)]=_0x4eacdd(0x1de),exports[_0x4eacdd(0x200)]=exports[_0x4eacdd(0x1dc)]+_0x4eacdd(0x1ee),exports[_0x4eacdd(0x1e3)]=exports['ASSET_DIRECTORY']+_0x4eacdd(0x1da);function _0xcda2(_0x5bea95,_0x50466b){const _0x3919ed=_0x3919();return _0xcda2=function(_0xcda256,_0x23aad4){_0xcda256=_0xcda256-0x1d3;let _0x196d9e=_0x3919ed[_0xcda256];return _0x196d9e;},_0xcda2(_0x5bea95,_0x50466b);}const supportPlatform=[_0x4eacdd(0x1e0)];class ResourceManager{static async[_0x4eacdd(0x1e7)](_0x5cbcd5){const _0xab1a04=_0x4eacdd,_0x4c7dc2=(0x0,path_1[_0xab1a04(0x1e1)])(process[_0xab1a04(0x1fc)](),_0x5cbcd5),_0x5c86c1=(0x0,path_1[_0xab1a04(0x1e1)])(exports[_0xab1a04(0x1fb)],exports[_0xab1a04(0x1f9)]);!fs[_0xab1a04(0x1d8)](_0x5c86c1)?fs['mkdirSync'](_0x5c86c1,{'recursive':!![]}):(0x0,file_1[_0xab1a04(0x1d7)])(_0x5c86c1);try{(0x0,file_1[_0xab1a04(0x1d5)])(_0x4c7dc2,_0x5c86c1);}catch(_0x28c6e5){console[_0xab1a04(0x1fe)](_0x28c6e5);}}static async[_0x4eacdd(0x203)](_0x3cccdb){const _0x27e69f=_0x4eacdd,_0x3b4527=_0x3cccdb['json'],_0x206606=_0x3b4527[_0x27e69f(0x207)][0x0][_0x27e69f(0x1ff)],_0x3d24e5=!_0x206606['startsWith'](_0x27e69f(0x1f2))?await(0x0,load_1[_0x27e69f(0x1e5)])(_0x206606):await(0x0,load_1[_0x27e69f(0x206)])(_0x206606);return _0x3d24e5[_0x27e69f(0x1eb)](0x400,0x400),_0x3d24e5;}static[_0x4eacdd(0x1db)](_0x27c06d){const _0x35e17d=_0x4eacdd,_0x4ab037=_0x27c06d!==null&&_0x27c06d!==void 0x0?_0x27c06d:supportPlatform[0x0];if(!supportPlatform['includes'](_0x4ab037))throw new Error(_0x35e17d(0x201)+_0x4ab037+',\x20now\x20WebSpatial\x20only\x20support\x20'+supportPlatform['join'](','));let _0x4fc73c=(0x0,path_1['join'])(process['cwd'](),_0x35e17d(0x1f6)+_0x4ab037);!fs[_0x35e17d(0x1d8)](_0x4fc73c)&&(_0x4fc73c=(0x0,path_1['join'])(__dirname,_0x35e17d(0x1ef)+_0x4ab037));const _0x4e52f5=fs[_0x35e17d(0x1d8)](_0x4fc73c);!_0x4e52f5&&(0x0,child_process_1[_0x35e17d(0x1e6)])(_0x35e17d(0x1f1)+(0x0,path_1[_0x35e17d(0x1e1)])(__dirname,_0x35e17d(0x1d4))+_0x35e17d(0x1e8)+_0x4ab037),exports[_0x35e17d(0x1fb)]=_0x4fc73c,exports[_0x35e17d(0x1e2)]=(0x0,path_1[_0x35e17d(0x1e1)])(exports[_0x35e17d(0x1fb)],_0x35e17d(0x1ec)),exports[_0x35e17d(0x1d3)]=(0x0,path_1[_0x35e17d(0x1e1)])(exports['PROJECT_DIRECTORY'],'./export');}}exports[_0x4eacdd(0x1f5)]=ResourceManager;function _0x3919(){const _0x31116f=['PROJECT_DIRECTORY','cwd','156186uiDuhv','log','src','BACK_APPICON_DIRECTORY','not\x20support\x20platform\x20','8HyEVVa','generateIcon','__esModule','863976cwKNop','loadImageFromNet','icons','PROJECT_EXPORT_DIRECTORY','../../../','copyDir','694038ljJtmX','clearDir','existsSync','child_process','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','checkPlatformPath','ASSET_DIRECTORY','59266PSCqwi','web-spatial/Assets.xcassets','12229bfsvHT','visionos','join','PROJECT_BUILD_DIRECTORY','MIDDLE_APPICON_DIRECTORY','web-spatial/static-web','loadImageFromDisk','execSync','moveProjectFrom','\x20&&\x20pnpm\x20add\x20@webspatial/platform-','./file','300ermxHc','resize','./build','4248khfQWJ','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','../../../node_modules/@webspatial/platform-','./load','cd\x20','http','2387451kYMxUo','458765VwpHPv','ResourceManager','node_modules/@webspatial/platform-','33YnWIIK','defineProperty','WEB_PROJECT_DIRECTORY','26CgqeJs'];_0x3919=function(){return _0x31116f;};return _0x3919();}
1
+ 'use strict';const _0x21b0b1=_0x5223;(function(_0x193153,_0x23e163){const _0x1653cf=_0x5223,_0x4b89ff=_0x193153();while(!![]){try{const _0x244f04=-parseInt(_0x1653cf(0x13d))/0x1*(parseInt(_0x1653cf(0x14e))/0x2)+-parseInt(_0x1653cf(0x13b))/0x3*(parseInt(_0x1653cf(0x146))/0x4)+parseInt(_0x1653cf(0x15b))/0x5+parseInt(_0x1653cf(0x140))/0x6*(-parseInt(_0x1653cf(0x15d))/0x7)+-parseInt(_0x1653cf(0x142))/0x8*(parseInt(_0x1653cf(0x144))/0x9)+parseInt(_0x1653cf(0x157))/0xa+parseInt(_0x1653cf(0x131))/0xb;if(_0x244f04===_0x23e163)break;else _0x4b89ff['push'](_0x4b89ff['shift']());}catch(_0x153cbf){_0x4b89ff['push'](_0x4b89ff['shift']());}}}(_0x5a71,0x973fa));Object[_0x21b0b1(0x159)](exports,_0x21b0b1(0x137),{'value':!![]}),exports[_0x21b0b1(0x139)]=exports[_0x21b0b1(0x14a)]=exports[_0x21b0b1(0x14d)]=exports[_0x21b0b1(0x13a)]=exports[_0x21b0b1(0x147)]=exports[_0x21b0b1(0x136)]=exports[_0x21b0b1(0x153)]=exports[_0x21b0b1(0x13c)]=void 0x0;function _0x5a71(){const _0x52c09c=['../../../','web-spatial/static-web','execSync','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','PROJECT_EXPORT_DIRECTORY','__esModule','includes','ResourceManager','ASSET_DIRECTORY','4137MSpdlv','PROJECT_DIRECTORY','1217Gcedrj','\x20&&\x20pnpm\x20add\x20@webspatial/platform-','mkdirSync','6XWyoYa','cwd','71224UshvOF','checkPlatformPath','549XWhxpq','../../../node_modules/@webspatial/platform-','2888QaeiiG','WEB_PROJECT_DIRECTORY','cd\x20','loadImageFromDisk','MIDDLE_APPICON_DIRECTORY','clearDir','log','BACK_APPICON_DIRECTORY','508IDgqmI','copyDir','resize','web-spatial/Assets.xcassets','node_modules/@webspatial/platform-','PROJECT_BUILD_DIRECTORY','./build','json','generateIcon','11461550seaSuG','loadImageFromNet','defineProperty','existsSync','1228150lXGqCy','path','3789471scoxaU','visionos','./file','./load','join','icons','./export','17786131tqXFRU'];_0x5a71=function(){return _0x52c09c;};return _0x5a71();}const fs=require('fs'),path_1=require(_0x21b0b1(0x15c)),file_1=require(_0x21b0b1(0x15f)),load_1=require(_0x21b0b1(0x160)),child_process_1=require('child_process');exports[_0x21b0b1(0x13c)]='',exports['PROJECT_BUILD_DIRECTORY']='',exports['PROJECT_EXPORT_DIRECTORY']='',exports[_0x21b0b1(0x147)]=_0x21b0b1(0x133),exports[_0x21b0b1(0x13a)]=_0x21b0b1(0x151),exports[_0x21b0b1(0x14d)]=exports[_0x21b0b1(0x13a)]+_0x21b0b1(0x135),exports['MIDDLE_APPICON_DIRECTORY']=exports[_0x21b0b1(0x13a)]+'/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset';const supportPlatform=[_0x21b0b1(0x15e)];function _0x5223(_0x29edc2,_0x211639){const _0x5a715f=_0x5a71();return _0x5223=function(_0x5223fb,_0x350fcb){_0x5223fb=_0x5223fb-0x12e;let _0x1cdab6=_0x5a715f[_0x5223fb];return _0x1cdab6;},_0x5223(_0x29edc2,_0x211639);}class ResourceManager{static async['moveProjectFrom'](_0x3b25d8){const _0x35d3a3=_0x21b0b1,_0x4f9bad=(0x0,path_1[_0x35d3a3(0x12e)])(process[_0x35d3a3(0x141)](),_0x3b25d8),_0x38e3f1=(0x0,path_1['join'])(exports[_0x35d3a3(0x13c)],exports[_0x35d3a3(0x147)]);!fs[_0x35d3a3(0x15a)](_0x38e3f1)?fs[_0x35d3a3(0x13f)](_0x38e3f1,{'recursive':!![]}):(0x0,file_1[_0x35d3a3(0x14b)])(_0x38e3f1);try{(0x0,file_1[_0x35d3a3(0x14f)])(_0x4f9bad,_0x38e3f1);}catch(_0xdb1c36){console[_0x35d3a3(0x14c)](_0xdb1c36);}}static async[_0x21b0b1(0x156)](_0x3e1c4b){const _0x204766=_0x21b0b1,_0x19ac83=_0x3e1c4b[_0x204766(0x155)],_0x5ab00c=_0x19ac83[_0x204766(0x12f)][0x0]['src'],_0x3ac538=!_0x5ab00c['startsWith']('http')?await(0x0,load_1[_0x204766(0x149)])(_0x5ab00c):await(0x0,load_1[_0x204766(0x158)])(_0x5ab00c);return _0x3ac538[_0x204766(0x150)](0x400,0x400),_0x3ac538;}static[_0x21b0b1(0x143)](_0x2df037){const _0xe5ced6=_0x21b0b1,_0xc20e59=_0x2df037!==null&&_0x2df037!==void 0x0?_0x2df037:supportPlatform[0x0];if(!supportPlatform[_0xe5ced6(0x138)](_0xc20e59))throw new Error('not\x20support\x20platform\x20'+_0xc20e59+',\x20now\x20WebSpatial\x20only\x20support\x20'+supportPlatform[_0xe5ced6(0x12e)](','));let _0x1f6bcb=(0x0,path_1[_0xe5ced6(0x12e)])(process[_0xe5ced6(0x141)](),_0xe5ced6(0x152)+_0xc20e59);!fs[_0xe5ced6(0x15a)](_0x1f6bcb)&&(_0x1f6bcb=(0x0,path_1[_0xe5ced6(0x12e)])(__dirname,_0xe5ced6(0x145)+_0xc20e59));const _0x5914b3=fs[_0xe5ced6(0x15a)](_0x1f6bcb);!_0x5914b3&&(0x0,child_process_1[_0xe5ced6(0x134)])(_0xe5ced6(0x148)+(0x0,path_1['join'])(__dirname,_0xe5ced6(0x132))+_0xe5ced6(0x13e)+_0xc20e59),exports['PROJECT_DIRECTORY']=_0x1f6bcb,exports[_0xe5ced6(0x153)]=(0x0,path_1[_0xe5ced6(0x12e)])(exports[_0xe5ced6(0x13c)],_0xe5ced6(0x154)),exports[_0xe5ced6(0x136)]=(0x0,path_1[_0xe5ced6(0x12e)])(exports[_0xe5ced6(0x13c)],_0xe5ced6(0x130));}}exports[_0x21b0b1(0x139)]=ResourceManager;
@@ -1 +1 @@
1
- 'use strict';const _0x45c7cb=_0xc8df;function _0xc8df(_0x26f194,_0x49e590){const _0x23f9ba=_0x23f9();return _0xc8df=function(_0xc8df9b,_0x316a4d){_0xc8df9b=_0xc8df9b-0x149;let _0x4ca68e=_0x23f9ba[_0xc8df9b];return _0x4ca68e;},_0xc8df(_0x26f194,_0x49e590);}function _0x23f9(){const _0x173b32=['decompressResponseBuffer','45418164QzPqul','1122VlkbFh','3636980AkJtZk','svg2img','456fCtWGt','59661OoEJwu','653178GiqEGU','read','text','content-encoding','trim','binary','./imageHelper','11XmtKpo','promises','Received\x20icon\x20with\x20invalid\x20Content-Type.','loadFileString','webp2PngBuffer','parse','ImageHelper','7581530Lkemgq','content-type','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','Failed\x20to\x20download\x20Web\x20Manifest\x20','toString','get','loadImageFromDisk','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','image/','deflate','loadJsonFromDisk','decode','startsWith','data','jimp','loadJsonFromNet','gzip','../utils/FetchUtils-1','image/svg','CustomError','headers','status','../utils/CustomError','image/webp','The\x20response\x20status\x20is\x20','153287lRRHQL','12fVyeII','fetch','39921ekmeLv','fetchUtils','includes','12szAcfY','arrayBuffer','defineProperty','from'];_0x23f9=function(){return _0x173b32;};return _0x23f9();}(function(_0x13bb69,_0x491ae0){const _0x157b82=_0xc8df,_0x230022=_0x13bb69();while(!![]){try{const _0x46dcf4=-parseInt(_0x157b82(0x180))/0x1*(parseInt(_0x157b82(0x149))/0x2)+parseInt(_0x157b82(0x159))/0x3*(-parseInt(_0x157b82(0x14e))/0x4)+parseInt(_0x157b82(0x155))/0x5+parseInt(_0x157b82(0x154))/0x6*(-parseInt(_0x157b82(0x14b))/0x7)+-parseInt(_0x157b82(0x157))/0x8*(parseInt(_0x157b82(0x158))/0x9)+-parseInt(_0x157b82(0x167))/0xa*(parseInt(_0x157b82(0x160))/0xb)+parseInt(_0x157b82(0x153))/0xc;if(_0x46dcf4===_0x491ae0)break;else _0x230022['push'](_0x230022['shift']());}catch(_0x547c1c){_0x230022['push'](_0x230022['shift']());}}}(_0x23f9,0xb3e6c));Object[_0x45c7cb(0x150)](exports,'__esModule',{'value':!![]}),exports[_0x45c7cb(0x176)]=loadJsonFromNet,exports[_0x45c7cb(0x171)]=loadJsonFromDisk,exports['loadImageFromNet']=loadImageFromNet,exports[_0x45c7cb(0x16d)]=loadImageFromDisk,exports[_0x45c7cb(0x163)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require(_0x45c7cb(0x178)),CustomError_1=require(_0x45c7cb(0x17d)),Jimp=require(_0x45c7cb(0x175)),imageHelper_1=require(_0x45c7cb(0x15f));async function loadJsonFromNet(_0x134b2b){const _0x45135f=_0x45c7cb,_0x2e41e5=await FetchUtils_1_1['fetchUtils'][_0x45135f(0x14a)](_0x134b2b,{'encoding':_0x45135f(0x15e)});if(_0x2e41e5[_0x45135f(0x17c)]!==0xc8)throw new CustomError_1['CustomError']({'code':0xbbc,'message':_0x45135f(0x16a)+_0x134b2b+'.'+(_0x45135f(0x17f)+_0x2e41e5[_0x45135f(0x17c)]+',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address'),'message_staring_params':{'web_manifest_url':_0x134b2b,'status':_0x2e41e5[_0x45135f(0x17c)]}});try{let _0x31204d;return _0x2e41e5[_0x45135f(0x15b)]?_0x31204d=await _0x2e41e5[_0x45135f(0x15b)]():[_0x45135f(0x177),_0x45135f(0x170),'br'][_0x45135f(0x14d)](_0x2e41e5['headers'][_0x45135f(0x15c)])?_0x31204d=FetchUtils_1_1[_0x45135f(0x14c)]['decompressResponseBuffer'](Buffer[_0x45135f(0x151)](_0x2e41e5['data'],_0x45135f(0x15e)),_0x2e41e5[_0x45135f(0x17b)][_0x45135f(0x15c)])['toString']():_0x31204d=Buffer[_0x45135f(0x151)](_0x2e41e5[_0x45135f(0x174)],_0x45135f(0x15e))[_0x45135f(0x16b)](),JSON[_0x45135f(0x165)](_0x31204d[_0x45135f(0x15d)]());}catch(_0x3a490c){throw new CustomError_1[(_0x45135f(0x17a))]({'code':0xbbd,'message':_0x45135f(0x16e),'message_staring_params':{}});}}async function loadJsonFromDisk(_0xd94128){const _0x4640ff=_0x45c7cb,_0x219d6f=await loadFileString(_0xd94128[_0x4640ff(0x16b)]());return JSON[_0x4640ff(0x165)](_0x219d6f);}async function loadImageFromNet(_0x2c91eb){const _0x2048ba=_0x45c7cb,_0x54c00b=await FetchUtils_1_1[_0x2048ba(0x14c)]['fetch'](_0x2c91eb,{'encoding':_0x2048ba(0x15e)});if(_0x54c00b[_0x2048ba(0x17c)]!==0xc8)throw new CustomError_1['CustomError']({'code':0x7d2,'message':_0x2048ba(0x169)+_0x54c00b['status'],'message_staring_params':{'icon_url':_0x2c91eb,'status':_0x54c00b[_0x2048ba(0x17c)]}});const _0x6d1830=_0x54c00b['headers']['get']?_0x54c00b[_0x2048ba(0x17b)][_0x2048ba(0x16c)]('content-type'):_0x54c00b[_0x2048ba(0x17b)][_0x2048ba(0x168)];if(!(_0x6d1830===null||_0x6d1830===void 0x0?void 0x0:_0x6d1830[_0x2048ba(0x173)](_0x2048ba(0x16f))))throw new CustomError_1[(_0x2048ba(0x17a))]({'code':0x7d3,'message':_0x2048ba(0x162)+('\x20Responded\x20with\x20Content-Type\x20\x22'+_0x6d1830+'\x22'),'message_staring_params':{'icon_url':_0x2c91eb,'contentType':_0x6d1830}});let _0x196659;_0x54c00b[_0x2048ba(0x14f)]?_0x196659=await _0x54c00b[_0x2048ba(0x14f)]():[_0x2048ba(0x177),_0x2048ba(0x170),'br'][_0x2048ba(0x14d)](_0x54c00b['headers']['content-encoding'])?_0x196659=FetchUtils_1_1[_0x2048ba(0x14c)][_0x2048ba(0x152)](Buffer[_0x2048ba(0x151)](_0x54c00b[_0x2048ba(0x174)],_0x2048ba(0x15e)),_0x54c00b[_0x2048ba(0x17b)][_0x2048ba(0x15c)]):_0x196659=Buffer[_0x2048ba(0x151)](_0x54c00b[_0x2048ba(0x174)],_0x2048ba(0x15e));if(_0x6d1830['startsWith'](_0x2048ba(0x179))){const _0x2d1ee7=new TextDecoder();try{_0x196659=await imageHelper_1[_0x2048ba(0x166)][_0x2048ba(0x156)](_0x2d1ee7[_0x2048ba(0x172)](_0x196659));}catch(_0x45eea){throw new CustomError_1[(_0x2048ba(0x17a))]({'code':0x7d4,'message':'Problem\x20reading\x20'+_0x2c91eb+':\x20'+_0x45eea,'message_staring_params':{'icon_url':_0x2c91eb,'error':_0x45eea}});}}return _0x6d1830[_0x2048ba(0x173)](_0x2048ba(0x17e))&&(_0x196659=await imageHelper_1[_0x2048ba(0x166)][_0x2048ba(0x164)](_0x196659)),await Jimp[_0x2048ba(0x15a)](Buffer[_0x2048ba(0x151)](_0x196659));}async function loadImageFromDisk(_0x5e4856){const _0x591479=_0x45c7cb;return await Jimp[_0x591479(0x15a)](_0x5e4856);}async function loadFileString(_0x30555e){const _0x12d013=_0x45c7cb;let _0x2ca469=await fs[_0x12d013(0x161)]['readFile'](_0x30555e[_0x12d013(0x16b)]());return _0x2ca469['toString']();}
1
+ 'use strict';const _0x53f8e2=_0x255b;function _0x15cd(){const _0x4c569a=['fetch','930455aFgVCl','webp2PngBuffer','CustomError','content-type','from','image/svg','The\x20response\x20status\x20is\x20','36620fnMWqO','promises','fetchUtils','headers','binary','readFile','1066280ijbJnE','6sgzLel','status','../utils/FetchUtils-1','text','jimp','1265436ZjcTku','get','ImageHelper','105AEShUD','loadImageFromDisk','includes','image/webp','data','loadJsonFromNet','loadFileString','read',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','startsWith','loadImageFromNet','content-encoding','parse','70xQPOYu','toString','Received\x20icon\x20with\x20invalid\x20Content-Type.','decompressResponseBuffer','../utils/CustomError','gzip','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','611811NUzFLU','1213408kJPvcI','./imageHelper','arrayBuffer','loadJsonFromDisk'];_0x15cd=function(){return _0x4c569a;};return _0x15cd();}(function(_0x2c0b2c,_0x73a971){const _0x34a609=_0x255b,_0x5dee7c=_0x2c0b2c();while(!![]){try{const _0x3878ed=parseInt(_0x34a609(0xfa))/0x1*(-parseInt(_0x34a609(0xd7))/0x2)+parseInt(_0x34a609(0xde))/0x3+-parseInt(_0x34a609(0xeb))/0x4+-parseInt(_0x34a609(0xe4))/0x5*(parseInt(_0x34a609(0xf2))/0x6)+-parseInt(_0x34a609(0xdf))/0x7+parseInt(_0x34a609(0xf1))/0x8+parseInt(_0x34a609(0xf7))/0x9;if(_0x3878ed===_0x73a971)break;else _0x5dee7c['push'](_0x5dee7c['shift']());}catch(_0x3cedea){_0x5dee7c['push'](_0x5dee7c['shift']());}}}(_0x15cd,0x19c59));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x53f8e2(0xcf)]=loadJsonFromNet,exports[_0x53f8e2(0xe2)]=loadJsonFromDisk,exports[_0x53f8e2(0xd4)]=loadImageFromNet,exports[_0x53f8e2(0xfb)]=loadImageFromDisk,exports[_0x53f8e2(0xd0)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require(_0x53f8e2(0xf4)),CustomError_1=require(_0x53f8e2(0xdb)),Jimp=require(_0x53f8e2(0xf6)),imageHelper_1=require(_0x53f8e2(0xe0));async function loadJsonFromNet(_0x4e8f93){const _0x485a80=_0x53f8e2,_0x2986b4=await FetchUtils_1_1[_0x485a80(0xed)]['fetch'](_0x4e8f93,{'encoding':_0x485a80(0xef)});if(_0x2986b4[_0x485a80(0xf3)]!==0xc8)throw new CustomError_1['CustomError']({'code':0xbbc,'message':'Failed\x20to\x20download\x20Web\x20Manifest\x20'+_0x4e8f93+'.'+(_0x485a80(0xea)+_0x2986b4[_0x485a80(0xf3)]+_0x485a80(0xd2)),'message_staring_params':{'web_manifest_url':_0x4e8f93,'status':_0x2986b4[_0x485a80(0xf3)]}});try{let _0x2f0a22;return _0x2986b4[_0x485a80(0xf5)]?_0x2f0a22=await _0x2986b4[_0x485a80(0xf5)]():[_0x485a80(0xdc),'deflate','br'][_0x485a80(0xcc)](_0x2986b4[_0x485a80(0xee)]['content-encoding'])?_0x2f0a22=FetchUtils_1_1[_0x485a80(0xed)][_0x485a80(0xda)](Buffer[_0x485a80(0xe8)](_0x2986b4[_0x485a80(0xce)],_0x485a80(0xef)),_0x2986b4[_0x485a80(0xee)][_0x485a80(0xd5)])[_0x485a80(0xd8)]():_0x2f0a22=Buffer[_0x485a80(0xe8)](_0x2986b4['data'],_0x485a80(0xef))[_0x485a80(0xd8)](),JSON[_0x485a80(0xd6)](_0x2f0a22['trim']());}catch(_0x234fb2){throw new CustomError_1[(_0x485a80(0xe6))]({'code':0xbbd,'message':'Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','message_staring_params':{}});}}function _0x255b(_0x390d0f,_0x491068){const _0x15cdd8=_0x15cd();return _0x255b=function(_0x255be6,_0x336967){_0x255be6=_0x255be6-0xcc;let _0x41c050=_0x15cdd8[_0x255be6];return _0x41c050;},_0x255b(_0x390d0f,_0x491068);}async function loadJsonFromDisk(_0x4002fc){const _0x5be222=_0x53f8e2,_0x48479c=await loadFileString(_0x4002fc['toString']());return JSON[_0x5be222(0xd6)](_0x48479c);}async function loadImageFromNet(_0x49678b){const _0x404a96=_0x53f8e2,_0x128698=await FetchUtils_1_1[_0x404a96(0xed)][_0x404a96(0xe3)](_0x49678b,{'encoding':_0x404a96(0xef)});if(_0x128698['status']!==0xc8)throw new CustomError_1[(_0x404a96(0xe6))]({'code':0x7d2,'message':_0x404a96(0xdd)+_0x128698[_0x404a96(0xf3)],'message_staring_params':{'icon_url':_0x49678b,'status':_0x128698['status']}});const _0x4fed99=_0x128698['headers'][_0x404a96(0xf8)]?_0x128698[_0x404a96(0xee)]['get'](_0x404a96(0xe7)):_0x128698[_0x404a96(0xee)][_0x404a96(0xe7)];if(!(_0x4fed99===null||_0x4fed99===void 0x0?void 0x0:_0x4fed99[_0x404a96(0xd3)]('image/')))throw new CustomError_1['CustomError']({'code':0x7d3,'message':_0x404a96(0xd9)+('\x20Responded\x20with\x20Content-Type\x20\x22'+_0x4fed99+'\x22'),'message_staring_params':{'icon_url':_0x49678b,'contentType':_0x4fed99}});let _0x1e061f;_0x128698[_0x404a96(0xe1)]?_0x1e061f=await _0x128698[_0x404a96(0xe1)]():['gzip','deflate','br'][_0x404a96(0xcc)](_0x128698[_0x404a96(0xee)][_0x404a96(0xd5)])?_0x1e061f=FetchUtils_1_1['fetchUtils'][_0x404a96(0xda)](Buffer['from'](_0x128698[_0x404a96(0xce)],_0x404a96(0xef)),_0x128698[_0x404a96(0xee)][_0x404a96(0xd5)]):_0x1e061f=Buffer[_0x404a96(0xe8)](_0x128698['data'],_0x404a96(0xef));if(_0x4fed99[_0x404a96(0xd3)](_0x404a96(0xe9))){const _0x348414=new TextDecoder();try{_0x1e061f=await imageHelper_1[_0x404a96(0xf9)]['svg2img'](_0x348414['decode'](_0x1e061f));}catch(_0x4c1abe){throw new CustomError_1[(_0x404a96(0xe6))]({'code':0x7d4,'message':'Problem\x20reading\x20'+_0x49678b+':\x20'+_0x4c1abe,'message_staring_params':{'icon_url':_0x49678b,'error':_0x4c1abe}});}}return _0x4fed99[_0x404a96(0xd3)](_0x404a96(0xcd))&&(_0x1e061f=await imageHelper_1[_0x404a96(0xf9)][_0x404a96(0xe5)](_0x1e061f)),await Jimp[_0x404a96(0xd1)](Buffer['from'](_0x1e061f));}async function loadImageFromDisk(_0x577ab9){const _0x3190e8=_0x53f8e2;return await Jimp[_0x3190e8(0xd1)](_0x577ab9);}async function loadFileString(_0x483ae3){const _0x3e82d3=_0x53f8e2;let _0x489daa=await fs[_0x3e82d3(0xec)][_0x3e82d3(0xf0)](_0x483ae3[_0x3e82d3(0xd8)]());return _0x489daa[_0x3e82d3(0xd8)]();}
@@ -1 +1 @@
1
- 'use strict';function _0x5a34(_0x37b24b,_0xeb6e08){var _0x551c7f=_0x551c();return _0x5a34=function(_0x5a3439,_0x140141){_0x5a3439=_0x5a3439-0xa2;var _0x4950d4=_0x551c7f[_0x5a3439];return _0x4950d4;},_0x5a34(_0x37b24b,_0xeb6e08);}var _0x73a1e7=_0x5a34;(function(_0x1b92ac,_0x488c1f){var _0x532d03=_0x5a34,_0xb47fcb=_0x1b92ac();while(!![]){try{var _0x57b505=parseInt(_0x532d03(0xae))/0x1+-parseInt(_0x532d03(0xad))/0x2+-parseInt(_0x532d03(0xa2))/0x3*(-parseInt(_0x532d03(0xa8))/0x4)+-parseInt(_0x532d03(0xb1))/0x5*(-parseInt(_0x532d03(0xaf))/0x6)+-parseInt(_0x532d03(0xa5))/0x7+-parseInt(_0x532d03(0xa6))/0x8*(-parseInt(_0x532d03(0xa4))/0x9)+-parseInt(_0x532d03(0xab))/0xa;if(_0x57b505===_0x488c1f)break;else _0xb47fcb['push'](_0xb47fcb['shift']());}catch(_0x54f7dc){_0xb47fcb['push'](_0xb47fcb['shift']());}}}(_0x551c,0x4975e));function _0x551c(){var _0x390f10=['8asEPSt','customMessage','15548uJSliD','CustomError','info','2089270LsJbwW','__esModule','426770tmnrJh','471685cQYUgZ','114Rccmmz','defineProperty','35265fjYjUR','336fldQPi','stringify','1581291WYyNno','3454703aGxZeI'];_0x551c=function(){return _0x390f10;};return _0x551c();}Object[_0x73a1e7(0xb0)](exports,_0x73a1e7(0xac),{'value':!![]}),exports[_0x73a1e7(0xa9)]=void 0x0;class CustomError extends Error{constructor(_0x2d719a,_0x43219a){var _0x574640=_0x73a1e7;super(JSON[_0x574640(0xa3)](_0x2d719a)),this[_0x574640(0xa7)]=_0x2d719a,this['type']=_0x43219a||_0x574640(0xaa);}}exports['CustomError']=CustomError;
1
+ 'use strict';var _0x3e995b=_0x509f;function _0x509f(_0x26c477,_0x4ef6f9){var _0x3eb68e=_0x3eb6();return _0x509f=function(_0x509f3b,_0x2298b9){_0x509f3b=_0x509f3b-0xac;var _0x375583=_0x3eb68e[_0x509f3b];return _0x375583;},_0x509f(_0x26c477,_0x4ef6f9);}(function(_0x1f31e2,_0x51a05a){var _0x1dc96d=_0x509f,_0x1af37e=_0x1f31e2();while(!![]){try{var _0xabaa51=-parseInt(_0x1dc96d(0xb1))/0x1+-parseInt(_0x1dc96d(0xb2))/0x2*(-parseInt(_0x1dc96d(0xb0))/0x3)+parseInt(_0x1dc96d(0xbb))/0x4*(-parseInt(_0x1dc96d(0xae))/0x5)+-parseInt(_0x1dc96d(0xb7))/0x6+parseInt(_0x1dc96d(0xad))/0x7+parseInt(_0x1dc96d(0xbc))/0x8*(parseInt(_0x1dc96d(0xaf))/0x9)+-parseInt(_0x1dc96d(0xb5))/0xa*(parseInt(_0x1dc96d(0xb3))/0xb);if(_0xabaa51===_0x51a05a)break;else _0x1af37e['push'](_0x1af37e['shift']());}catch(_0x58779a){_0x1af37e['push'](_0x1af37e['shift']());}}}(_0x3eb6,0xa1808));function _0x3eb6(){var _0x52cc2d=['1173249bpPJDm','26277DlVGWd','202752xeoxke','260qKMdAj','94908jRseQw','stringify','830DgBsyp','CustomError','3407682LGfYFN','defineProperty','__esModule','type','44idLRnh','8bkdpBC','customMessage','8251761YeswsN','136145IalsJl'];_0x3eb6=function(){return _0x52cc2d;};return _0x3eb6();}Object[_0x3e995b(0xb8)](exports,_0x3e995b(0xb9),{'value':!![]}),exports[_0x3e995b(0xb6)]=void 0x0;class CustomError extends Error{constructor(_0x1817c2,_0x4a8fd0){var _0x209565=_0x3e995b;super(JSON[_0x209565(0xb4)](_0x1817c2)),this[_0x209565(0xac)]=_0x1817c2,this[_0x209565(0xba)]=_0x4a8fd0||'info';}}exports[_0x3e995b(0xb6)]=CustomError;
@@ -1 +1 @@
1
- 'use strict';function _0x42f4(_0x2c9134,_0x1d43da){const _0x3a8459=_0x3a84();return _0x42f4=function(_0x42f41f,_0x4fd79c){_0x42f41f=_0x42f41f-0x114;let _0x23f6a6=_0x3a8459[_0x42f41f];return _0x23f6a6;},_0x42f4(_0x2c9134,_0x1d43da);}function _0x3a84(){const _0x42ffce=['11038848zLcEes','13229640cMxUBi','389715BmJpgK','fetchEngine','28611000DgoyXp','fetch','downloadFile','setDownloadFile','3611986XOqLir','decompressResponseBuffer','269861oyWCmC','507042uhzjvJ','10xbxAdK','fetchUtils','setDecompressResponseBuffer','12UvxLpk','45WnINrU'];_0x3a84=function(){return _0x42ffce;};return _0x3a84();}const _0x14e879=_0x42f4;(function(_0x519181,_0x5efb99){const _0x105675=_0x42f4,_0x8d887e=_0x519181();while(!![]){try{const _0x1e49cb=parseInt(_0x105675(0x118))/0x1*(-parseInt(_0x105675(0x11a))/0x2)+-parseInt(_0x105675(0x121))/0x3*(parseInt(_0x105675(0x11d))/0x4)+parseInt(_0x105675(0x11e))/0x5*(-parseInt(_0x105675(0x119))/0x6)+parseInt(_0x105675(0x116))/0x7+parseInt(_0x105675(0x11f))/0x8+-parseInt(_0x105675(0x120))/0x9+parseInt(_0x105675(0x123))/0xa;if(_0x1e49cb===_0x5efb99)break;else _0x8d887e['push'](_0x8d887e['shift']());}catch(_0x5e7ef0){_0x8d887e['push'](_0x8d887e['shift']());}}}(_0x3a84,0xc03d3));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x14e879(0x11b)]=void 0x0;class FetchUtils{constructor(){const _0x47ad3f=_0x14e879;this[_0x47ad3f(0x122)]=null,this[_0x47ad3f(0x124)]=null,this[_0x47ad3f(0x114)]=null,this[_0x47ad3f(0x117)]=null;}['setFetchEngine'](_0x5f1675){const _0x5575dc=_0x14e879;this[_0x5575dc(0x122)]=_0x5f1675;}['setFetch'](_0x29ad37){const _0x4f82e1=_0x14e879;this[_0x4f82e1(0x124)]=_0x29ad37;}[_0x14e879(0x115)](_0x35880a){this['downloadFile']=_0x35880a;}[_0x14e879(0x11c)](_0x52bd9f){const _0x2a0442=_0x14e879;this[_0x2a0442(0x117)]=_0x52bd9f;}}const fetchUtils=new FetchUtils();exports['fetchUtils']=fetchUtils;
1
+ 'use strict';const _0x158c19=_0xb492;(function(_0x16b5e0,_0x40431e){const _0x19501b=_0xb492,_0x2c5c01=_0x16b5e0();while(!![]){try{const _0xa15cc=-parseInt(_0x19501b(0x161))/0x1+parseInt(_0x19501b(0x15a))/0x2+parseInt(_0x19501b(0x163))/0x3*(-parseInt(_0x19501b(0x15c))/0x4)+-parseInt(_0x19501b(0x15f))/0x5*(-parseInt(_0x19501b(0x165))/0x6)+parseInt(_0x19501b(0x158))/0x7*(parseInt(_0x19501b(0x159))/0x8)+-parseInt(_0x19501b(0x155))/0x9+-parseInt(_0x19501b(0x154))/0xa*(-parseInt(_0x19501b(0x15b))/0xb);if(_0xa15cc===_0x40431e)break;else _0x2c5c01['push'](_0x2c5c01['shift']());}catch(_0x23481c){_0x2c5c01['push'](_0x2c5c01['shift']());}}}(_0x2a49,0x8309a));Object[_0x158c19(0x15e)](exports,'__esModule',{'value':!![]}),exports['fetchUtils']=void 0x0;class FetchUtils{constructor(){const _0xb85e9d=_0x158c19;this['fetchEngine']=null,this[_0xb85e9d(0x162)]=null,this['downloadFile']=null,this[_0xb85e9d(0x156)]=null;}['setFetchEngine'](_0x2f2f4e){this['fetchEngine']=_0x2f2f4e;}[_0x158c19(0x160)](_0x320f53){const _0x581e2c=_0x158c19;this[_0x581e2c(0x162)]=_0x320f53;}[_0x158c19(0x157)](_0x33d056){this['downloadFile']=_0x33d056;}[_0x158c19(0x164)](_0x5e12dd){const _0x25b7d9=_0x158c19;this[_0x25b7d9(0x156)]=_0x5e12dd;}}function _0xb492(_0x5cb37f,_0x3770ba){const _0x2a4916=_0x2a49();return _0xb492=function(_0xb492a2,_0x5dc5a3){_0xb492a2=_0xb492a2-0x154;let _0x1735cc=_0x2a4916[_0xb492a2];return _0x1735cc;},_0xb492(_0x5cb37f,_0x3770ba);}function _0x2a49(){const _0xc5c95d=['24mLSRZY','270ezeoNc','1582902sOfjPM','decompressResponseBuffer','setDownloadFile','3770207vMJPqy','8EZETMx','1097318ajtPle','214797swFnsV','12IGlAap','fetchUtils','defineProperty','499055BppzHQ','setFetch','767338VnYBHS','fetch','533787ZHbUuk','setDecompressResponseBuffer'];_0x2a49=function(){return _0xc5c95d;};return _0x2a49();}const fetchUtils=new FetchUtils();exports[_0x158c19(0x15d)]=fetchUtils;
@@ -1 +1 @@
1
- 'use strict';var _0x42a5eb=_0x2501;function _0x1970(){var _0x261914=['verbose','3017192VZGCwe','1666390frZIty','tag','prefix','yellow','concat','\x1b[0m','1172248BXSwni','44891eYPgco','info','10114sSRsyB','defineProperty','13128ODNyfy','9fKTcNp','48BBqHFQ','\x1b[36m','output','newLog','1410xVFJjj','38DpoIYj','dim','ERROR\x20','red','4TXQkLz','error','log','118990FgcVly','\x1b[7m','WARNING\x20','136203fYsDWv','warn'];_0x1970=function(){return _0x261914;};return _0x1970();}(function(_0x42353f,_0x46d85c){var _0x2e1e1f=_0x2501,_0x3c2d71=_0x42353f();while(!![]){try{var _0x548827=-parseInt(_0x2e1e1f(0x1d1))/0x1+-parseInt(_0x2e1e1f(0x1ea))/0x2*(parseInt(_0x2e1e1f(0x1d4))/0x3)+-parseInt(_0x2e1e1f(0x1ce))/0x4*(parseInt(_0x2e1e1f(0x1d8))/0x5)+-parseInt(_0x2e1e1f(0x1e5))/0x6*(-parseInt(_0x2e1e1f(0x1de))/0x7)+parseInt(_0x2e1e1f(0x1d7))/0x8*(parseInt(_0x2e1e1f(0x1e4))/0x9)+-parseInt(_0x2e1e1f(0x1e9))/0xa*(parseInt(_0x2e1e1f(0x1df))/0xb)+parseInt(_0x2e1e1f(0x1e3))/0xc*(parseInt(_0x2e1e1f(0x1e1))/0xd);if(_0x548827===_0x46d85c)break;else _0x3c2d71['push'](_0x3c2d71['shift']());}catch(_0x3be5b3){_0x3c2d71['push'](_0x3c2d71['shift']());}}}(_0x1970,0xa5735));function _0x2501(_0x597ffb,_0x1cb47b){var _0x19703f=_0x1970();return _0x2501=function(_0x250164,_0x34d77c){_0x250164=_0x250164-0x1ce;var _0x58b146=_0x19703f[_0x250164];return _0x58b146;},_0x2501(_0x597ffb,_0x1cb47b);}Object[_0x42a5eb(0x1e2)](exports,'__esModule',{'value':!![]}),exports['ConsoleLog']=void 0x0;class ConsoleLog{constructor(_0x324db9='',_0x29e179=![],_0x1ecff5=console){var _0x2e83bc=_0x42a5eb;this[_0x2e83bc(0x1d9)]=_0x324db9,this[_0x2e83bc(0x1d6)]=_0x29e179,this[_0x2e83bc(0x1da)]=this['inverse'](_0x324db9),this[_0x2e83bc(0x1e7)]=_0x1ecff5;}['debug'](_0x3ec264,..._0x27c7ec){var _0x4744b0=_0x42a5eb;if(!this[_0x4744b0(0x1d6)])return;this['log'](this[_0x4744b0(0x1e7)][_0x4744b0(0x1d0)],this[_0x4744b0(0x1eb)](_0x3ec264),..._0x27c7ec);}[_0x42a5eb(0x1e0)](_0x146fc4,..._0x59d71f){var _0x9bb498=_0x42a5eb;this[_0x9bb498(0x1d0)](this[_0x9bb498(0x1e7)][_0x9bb498(0x1d0)],_0x146fc4,..._0x59d71f);}[_0x42a5eb(0x1d5)](_0x14fee3,..._0x362335){var _0x5d1ae4=_0x42a5eb;this[_0x5d1ae4(0x1d0)](this[_0x5d1ae4(0x1e7)][_0x5d1ae4(0x1d5)],this[_0x5d1ae4(0x1db)](_0x5d1ae4(0x1d3)+_0x14fee3),..._0x362335);}[_0x42a5eb(0x1cf)](_0x2ffbd5,..._0x3f6de5){var _0x28d9c7=_0x42a5eb;this[_0x28d9c7(0x1e7)][_0x28d9c7(0x1cf)]('\x0a'),this['log'](this['output'][_0x28d9c7(0x1cf)],this['red'](_0x28d9c7(0x1ec)+_0x2ffbd5),..._0x3f6de5),this[_0x28d9c7(0x1e7)][_0x28d9c7(0x1cf)]('\x0a');}['setVerbose'](_0x4e0e6c){this['verbose']=_0x4e0e6c;}[_0x42a5eb(0x1e8)](_0x54d296){var _0x1c6f3b=_0x42a5eb;return this['tag']&&(_0x54d296=this[_0x1c6f3b(0x1d9)]+'\x20'+_0x54d296),new ConsoleLog(_0x54d296,this['verbose'],this[_0x1c6f3b(0x1e7)]);}[_0x42a5eb(0x1d0)](_0x561006,_0x4304f8,..._0x35a945){var _0x4d5809=_0x42a5eb;this[_0x4d5809(0x1da)]&&(_0x4304f8=this[_0x4d5809(0x1da)]+'\x20'+_0x4304f8),_0x35a945?_0x561006(...[_0x4304f8][_0x4d5809(0x1dc)](_0x35a945)):_0x561006(_0x4304f8);}['inverse'](_0x29b9de){var _0x2f451f=_0x42a5eb;return _0x2f451f(0x1d2)+_0x29b9de+_0x2f451f(0x1dd);}['dim'](_0x48c8fe){var _0x251140=_0x42a5eb;return _0x251140(0x1e6)+_0x48c8fe+_0x251140(0x1dd);}[_0x42a5eb(0x1db)](_0x403b51){var _0x1f92e2=_0x42a5eb;return'\x1b[33m'+_0x403b51+_0x1f92e2(0x1dd);}[_0x42a5eb(0x1ed)](_0x4bf1ec){return'\x1b[31m'+_0x4bf1ec+'\x1b[0m';}}exports['ConsoleLog']=ConsoleLog;
1
+ 'use strict';var _0x1105db=_0x4fc7;function _0x5983(){var _0x2c6adb=['dim','log','58500BHjouj','1137348PfvVDC','305685YqEril','135Imnrvs','debug','inverse','red','output','yellow','\x1b[33m','tag','2119680gwqedT','verbose','2MJbOIS','\x1b[36m','concat','__esModule','defineProperty','setVerbose','WARNING\x20','ERROR\x20','info','warn','\x1b[0m','ConsoleLog','126643dBbQjx','83800yvdBib','20RUrzlK','error','217zwycaA','newLog','441779UnTAsZ','620lSpwqy','prefix'];_0x5983=function(){return _0x2c6adb;};return _0x5983();}(function(_0xbc1994,_0x476bf){var _0xeb312=_0x4fc7,_0x3dee2a=_0xbc1994();while(!![]){try{var _0x5f4716=-parseInt(_0xeb312(0x1e9))/0x1*(-parseInt(_0xeb312(0x1fb))/0x2)+parseInt(_0xeb312(0x1f0))/0x3*(-parseInt(_0xeb312(0x1e5))/0x4)+parseInt(_0xeb312(0x1f1))/0x5*(-parseInt(_0xeb312(0x1ee))/0x6)+-parseInt(_0xeb312(0x1e7))/0x7*(-parseInt(_0xeb312(0x1e4))/0x8)+-parseInt(_0xeb312(0x1f9))/0x9+-parseInt(_0xeb312(0x1ea))/0xa*(-parseInt(_0xeb312(0x1e3))/0xb)+-parseInt(_0xeb312(0x1ef))/0xc;if(_0x5f4716===_0x476bf)break;else _0x3dee2a['push'](_0x3dee2a['shift']());}catch(_0x1752f3){_0x3dee2a['push'](_0x3dee2a['shift']());}}}(_0x5983,0x5c1c6));function _0x4fc7(_0x1d53ca,_0x18082e){var _0x598397=_0x5983();return _0x4fc7=function(_0x4fc743,_0x3d8079){_0x4fc743=_0x4fc743-0x1de;var _0x158020=_0x598397[_0x4fc743];return _0x158020;},_0x4fc7(_0x1d53ca,_0x18082e);}Object[_0x1105db(0x1ff)](exports,_0x1105db(0x1fe),{'value':!![]}),exports[_0x1105db(0x1e2)]=void 0x0;class ConsoleLog{constructor(_0x260b30='',_0x11aa86=![],_0x4eea7b=console){var _0x49ed82=_0x1105db;this[_0x49ed82(0x1f8)]=_0x260b30,this[_0x49ed82(0x1fa)]=_0x11aa86,this[_0x49ed82(0x1eb)]=this['inverse'](_0x260b30),this['output']=_0x4eea7b;}[_0x1105db(0x1f2)](_0x15ef5b,..._0x2fea43){var _0x3307dc=_0x1105db;if(!this[_0x3307dc(0x1fa)])return;this[_0x3307dc(0x1ed)](this['output']['log'],this[_0x3307dc(0x1ec)](_0x15ef5b),..._0x2fea43);}[_0x1105db(0x1df)](_0x588996,..._0x7282de){var _0x2b25cf=_0x1105db;this[_0x2b25cf(0x1ed)](this[_0x2b25cf(0x1f5)][_0x2b25cf(0x1ed)],_0x588996,..._0x7282de);}[_0x1105db(0x1e0)](_0x52fb4e,..._0x1c4047){var _0x2e73d2=_0x1105db;this['log'](this[_0x2e73d2(0x1f5)]['warn'],this[_0x2e73d2(0x1f6)](_0x2e73d2(0x201)+_0x52fb4e),..._0x1c4047);}[_0x1105db(0x1e6)](_0x5853aa,..._0x200200){var _0x57eb44=_0x1105db;this['output'][_0x57eb44(0x1e6)]('\x0a'),this[_0x57eb44(0x1ed)](this[_0x57eb44(0x1f5)]['error'],this[_0x57eb44(0x1f4)](_0x57eb44(0x1de)+_0x5853aa),..._0x200200),this['output'][_0x57eb44(0x1e6)]('\x0a');}[_0x1105db(0x200)](_0x16659b){var _0x4b4c17=_0x1105db;this[_0x4b4c17(0x1fa)]=_0x16659b;}[_0x1105db(0x1e8)](_0x465e41){var _0x766202=_0x1105db;return this[_0x766202(0x1f8)]&&(_0x465e41=this['tag']+'\x20'+_0x465e41),new ConsoleLog(_0x465e41,this[_0x766202(0x1fa)],this[_0x766202(0x1f5)]);}[_0x1105db(0x1ed)](_0x56351e,_0x174b99,..._0x3faecc){var _0x3e30b6=_0x1105db;this[_0x3e30b6(0x1eb)]&&(_0x174b99=this[_0x3e30b6(0x1eb)]+'\x20'+_0x174b99),_0x3faecc?_0x56351e(...[_0x174b99][_0x3e30b6(0x1fd)](_0x3faecc)):_0x56351e(_0x174b99);}[_0x1105db(0x1f3)](_0x14f086){var _0x2bedcf=_0x1105db;return'\x1b[7m'+_0x14f086+_0x2bedcf(0x1e1);}[_0x1105db(0x1ec)](_0x2c8bd3){var _0x3d26ce=_0x1105db;return _0x3d26ce(0x1fc)+_0x2c8bd3+_0x3d26ce(0x1e1);}[_0x1105db(0x1f6)](_0x2f201e){var _0x44811e=_0x1105db;return _0x44811e(0x1f7)+_0x2f201e+_0x44811e(0x1e1);}[_0x1105db(0x1f4)](_0x5a7eff){var _0x51505c=_0x1105db;return'\x1b[31m'+_0x5a7eff+_0x51505c(0x1e1);}}exports[_0x1105db(0x1e2)]=ConsoleLog;
@@ -1 +1 @@
1
- 'use strict';const _0x3e7c2a=_0x4647;(function(_0x2a9a7,_0x3b2d4e){const _0x56198b=_0x4647,_0x39dc8c=_0x2a9a7();while(!![]){try{const _0x38a481=-parseInt(_0x56198b(0x166))/0x1*(-parseInt(_0x56198b(0x171))/0x2)+parseInt(_0x56198b(0x160))/0x3+parseInt(_0x56198b(0x15e))/0x4*(parseInt(_0x56198b(0x170))/0x5)+-parseInt(_0x56198b(0x168))/0x6+parseInt(_0x56198b(0x173))/0x7*(parseInt(_0x56198b(0x15f))/0x8)+-parseInt(_0x56198b(0x16d))/0x9+parseInt(_0x56198b(0x16a))/0xa*(-parseInt(_0x56198b(0x162))/0xb);if(_0x38a481===_0x3b2d4e)break;else _0x39dc8c['push'](_0x39dc8c['shift']());}catch(_0x4c9a60){_0x39dc8c['push'](_0x39dc8c['shift']());}}}(_0x491a,0x6ff83));function _0x491a(){const _0x4284af=['get','constants','3443WDeQZB','follow','1397070ofBfcA','fetch','2290hcpvcy','data','context','7630092REacbv','Z_SYNC_FLUSH','pipe','186530HyyVxC','490HZLCOW','readable','1132250dKtlRW','defineProperty','unzipSync','fetch-h2','Mozilla/5.0\x20(X11;\x20Linux\x20x86_64;\x20PICO\x204\x20OS5.5.0\x20like\x20Quest)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20PicoBrowser/3.3.24\x20Chrome/105.0.5195.68\x20VR\x20Safari/537.36\x20\x20OculusBrowser/7.0','zlib','test','20eWhJoX','40sQrWqJ','543348Pmurxo','length','23089Dbzxzw','downloadFile'];_0x491a=function(){return _0x4284af;};return _0x491a();}function _0x4647(_0x45c18a,_0x497678){const _0x491ade=_0x491a();return _0x4647=function(_0x4647db,_0x243337){_0x4647db=_0x4647db-0x15e;let _0x3ea469=_0x491ade[_0x4647db];return _0x3ea469;},_0x4647(_0x45c18a,_0x497678);}Object[_0x3e7c2a(0x174)](exports,'__esModule',{'value':!![]}),exports[_0x3e7c2a(0x169)]=fetch,exports[_0x3e7c2a(0x163)]=downloadFile,exports['decompressResponseBuffer']=decompressResponseBuffer;const fetch_h2_1=require(_0x3e7c2a(0x176)),fs=require('fs'),zlib=require(_0x3e7c2a(0x178)),userAgent=_0x3e7c2a(0x177),fetchh2Ctx=(0x0,fetch_h2_1[_0x3e7c2a(0x16c)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx['fetch'];async function fetch(_0x3dc631,_0x3dddde){const _0x5b6a29=_0x3e7c2a;return await fetchh2(_0x3dc631,_0x3dddde?{'redirect':'follow',..._0x3dddde}:{'redirect':_0x5b6a29(0x167)});}async function downloadFile(_0x1a7847,_0x5a2f71,_0x24a4b4){const _0xc7dd25=_0x3e7c2a;let _0x57edb8,_0x19b490;_0x57edb8=await fetchh2(_0x1a7847,{'redirect':_0xc7dd25(0x167)}),_0x19b490=await _0x57edb8[_0xc7dd25(0x172)]();const _0x318aee=_0x57edb8['headers'][_0xc7dd25(0x164)]('Content-Length'),_0x198622=_0x318aee?parseInt(_0x318aee):-0x1,_0x20f017=fs['createWriteStream'](_0x5a2f71);let _0x5ae5c0=0x0;await new Promise((_0x2f04ef,_0xb90757)=>{const _0x37d3a1=_0xc7dd25;_0x19b490[_0x37d3a1(0x16f)](_0x20f017),_0x24a4b4&&_0x19b490['on'](_0x37d3a1(0x16b),_0x2489d7=>{const _0x1384d5=_0x37d3a1;_0x5ae5c0=_0x5ae5c0+_0x2489d7[_0x1384d5(0x161)],_0x24a4b4(_0x5ae5c0,_0x198622);}),_0x19b490['on']('error',_0x3aed3d=>{_0xb90757(_0x3aed3d);}),_0x20f017['on']('finish',()=>{_0x2f04ef();});});}function decompressResponseBuffer(_0x49ffb9,_0x2182af){const _0x350d81=_0x3e7c2a;let _0x241a4c=_0x49ffb9;if(/\bgzip\b/['test'](_0x2182af)||/\bdeflate\b/[_0x350d81(0x179)](_0x2182af))_0x241a4c=zlib[_0x350d81(0x175)](_0x49ffb9,{'flush':zlib[_0x350d81(0x165)]['Z_SYNC_FLUSH'],'finishFlush':zlib[_0x350d81(0x165)][_0x350d81(0x16e)]});else/\bbr\b/[_0x350d81(0x179)](_0x2182af)&&(_0x241a4c=zlib['brotliDecompressSync'](_0x49ffb9));return _0x241a4c;}
1
+ 'use strict';const _0x519c51=_0x52f2;(function(_0x4a7902,_0x7d3fa5){const _0x131ce9=_0x52f2,_0x329bbf=_0x4a7902();while(!![]){try{const _0x2c1673=parseInt(_0x131ce9(0x95))/0x1*(parseInt(_0x131ce9(0x7b))/0x2)+parseInt(_0x131ce9(0x88))/0x3+parseInt(_0x131ce9(0x8a))/0x4*(-parseInt(_0x131ce9(0x84))/0x5)+-parseInt(_0x131ce9(0x8c))/0x6+parseInt(_0x131ce9(0x82))/0x7*(parseInt(_0x131ce9(0x94))/0x8)+parseInt(_0x131ce9(0x8e))/0x9*(parseInt(_0x131ce9(0x7f))/0xa)+parseInt(_0x131ce9(0x91))/0xb;if(_0x2c1673===_0x7d3fa5)break;else _0x329bbf['push'](_0x329bbf['shift']());}catch(_0x36197){_0x329bbf['push'](_0x329bbf['shift']());}}}(_0x390e,0x86ae0));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x519c51(0x90)]=fetch,exports[_0x519c51(0x87)]=downloadFile,exports[_0x519c51(0x89)]=decompressResponseBuffer;const fetch_h2_1=require(_0x519c51(0x7d)),fs=require('fs'),zlib=require(_0x519c51(0x8d)),userAgent=_0x519c51(0x80),fetchh2Ctx=(0x0,fetch_h2_1[_0x519c51(0x93)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x519c51(0x90)];function _0x390e(){const _0x3316fc=['Content-Length','context','2576824TQSljN','1zgYCfL','readable','141802FVCyPV','unzipSync','fetch-h2','pipe','5390TaixRs','Mozilla/5.0\x20(X11;\x20Linux\x20x86_64;\x20PICO\x204\x20OS5.5.0\x20like\x20Quest)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20PicoBrowser/3.3.24\x20Chrome/105.0.5195.68\x20VR\x20Safari/537.36\x20\x20OculusBrowser/7.0','finish','7ZoERLZ','error','100eMTebS','follow','test','downloadFile','3013362WzofOn','decompressResponseBuffer','220232yEaRru','createWriteStream','855762vhTPuD','zlib','5769kMZtPM','length','fetch','577258FeYrJX'];_0x390e=function(){return _0x3316fc;};return _0x390e();}async function fetch(_0x4c9033,_0x33dbaa){const _0x58d728=_0x519c51;return await fetchh2(_0x4c9033,_0x33dbaa?{'redirect':_0x58d728(0x85),..._0x33dbaa}:{'redirect':_0x58d728(0x85)});}function _0x52f2(_0x300eee,_0x17c043){const _0x390ed0=_0x390e();return _0x52f2=function(_0x52f26b,_0x4d3755){_0x52f26b=_0x52f26b-0x7a;let _0x5f48d7=_0x390ed0[_0x52f26b];return _0x5f48d7;},_0x52f2(_0x300eee,_0x17c043);}async function downloadFile(_0x202a58,_0x5c3ca0,_0x5f56d4){const _0x665cdd=_0x519c51;let _0x1f728f,_0x307752;_0x1f728f=await fetchh2(_0x202a58,{'redirect':_0x665cdd(0x85)}),_0x307752=await _0x1f728f[_0x665cdd(0x7a)]();const _0x4525b2=_0x1f728f['headers']['get'](_0x665cdd(0x92)),_0x411ef7=_0x4525b2?parseInt(_0x4525b2):-0x1,_0xdd5352=fs[_0x665cdd(0x8b)](_0x5c3ca0);let _0x1fa4fc=0x0;await new Promise((_0x53ab61,_0x29971e)=>{const _0x14a582=_0x665cdd;_0x307752[_0x14a582(0x7e)](_0xdd5352),_0x5f56d4&&_0x307752['on']('data',_0x372457=>{const _0x355f1e=_0x14a582;_0x1fa4fc=_0x1fa4fc+_0x372457[_0x355f1e(0x8f)],_0x5f56d4(_0x1fa4fc,_0x411ef7);}),_0x307752['on'](_0x14a582(0x83),_0x4d275b=>{_0x29971e(_0x4d275b);}),_0xdd5352['on'](_0x14a582(0x81),()=>{_0x53ab61();});});}function decompressResponseBuffer(_0x4ea0bc,_0x592218){const _0x30cf2d=_0x519c51;let _0x1867f8=_0x4ea0bc;if(/\bgzip\b/[_0x30cf2d(0x86)](_0x592218)||/\bdeflate\b/['test'](_0x592218))_0x1867f8=zlib[_0x30cf2d(0x7c)](_0x4ea0bc,{'flush':zlib['constants']['Z_SYNC_FLUSH'],'finishFlush':zlib['constants']['Z_SYNC_FLUSH']});else/\bbr\b/[_0x30cf2d(0x86)](_0x592218)&&(_0x1867f8=zlib['brotliDecompressSync'](_0x4ea0bc));return _0x1867f8;}
@@ -1 +1 @@
1
- 'use strict';const _0x5b5ec8=_0x5af8;(function(_0x26c005,_0xc05fda){const _0x2272c0=_0x5af8,_0xb0e16f=_0x26c005();while(!![]){try{const _0x23ca92=parseInt(_0x2272c0(0xcd))/0x1*(parseInt(_0x2272c0(0xee))/0x2)+parseInt(_0x2272c0(0xf6))/0x3+parseInt(_0x2272c0(0xe8))/0x4*(parseInt(_0x2272c0(0xde))/0x5)+-parseInt(_0x2272c0(0xe7))/0x6*(-parseInt(_0x2272c0(0x10a))/0x7)+-parseInt(_0x2272c0(0xfe))/0x8*(-parseInt(_0x2272c0(0xef))/0x9)+parseInt(_0x2272c0(0xe6))/0xa*(-parseInt(_0x2272c0(0xe2))/0xb)+parseInt(_0x2272c0(0x106))/0xc*(-parseInt(_0x2272c0(0x102))/0xd);if(_0x23ca92===_0xc05fda)break;else _0xb0e16f['push'](_0xb0e16f['shift']());}catch(_0x4ae7cf){_0xb0e16f['push'](_0xb0e16f['shift']());}}}(_0x49be,0x9e379));function _0x5af8(_0x3b3152,_0x972636){const _0x49bebc=_0x49be();return _0x5af8=function(_0x5af871,_0x3162b3){_0x5af871=_0x5af871-0xc9;let _0x3f1b4a=_0x49bebc[_0x5af871];return _0x3f1b4a;},_0x5af8(_0x3b3152,_0x972636);}function _0x49be(){const _0xf48520=['Decompressing\x20the\x20Android\x20SDK...','__esModule','Decompressing\x20the\x20JDK\x2011\x20Binaries...','bold','(5/5)','--manifest','8UpBphG','colors','\x20and\x20alias\x20','Minimum\x20length\x20is\x20','3184220mFABZB','\x09-\x20Generated\x20Android\x20APK\x20at\x20','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','--url','72LbvQXq','license\x20agreement.','Organization\x20(eg:\x20Company\x20Name):','Maximum\x20length\x20is\x20','273vOrjzo','WARNING:\x20','Country\x20(2\x20letter\x20code):','Downloading\x20the\x20JDK\x2011\x20Sources...','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','14148eTfwhW','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','--manifest-url','Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','Invalid\x20integer\x20provided:\x20','\x0aProject\x20generated\x20successfully.','URL\x20','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','Decompressing\x20the\x20JDK\x2011\x20Sources...','redirected\x20to\x20','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20JDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20JDK\x2011\x20installation)','cyan','Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20','underline','Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible','Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','Invalid\x20URL:\x20','25ISoDvp','\x20but\x20input\x20is\x20','\x0aBuilding\x20the\x20Android\x20App...','Missing\x20required\x20parameter\x20','8162qHhrlZ','yellow','\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.','https://play.google.com/console/about/families/','2480HKkIAC','108492FMirRc','166604eWZdRM','Downloading\x20JDK\x2011\x20to\x20','Icon\x20URL:','Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20','\x0aSigning\x20key\x20creation','Do\x20you\x20want\x20to\x20create\x20one\x20now?','56bbmfCe','2192301rJAQBn','Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','Path\x20to\x20your\x20existing\x20Android\x20SDK:','Generating\x20Android\x20Project.','green','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','\x0aSigning\x20key\x20information\x20','2245581MMqZfN','messages'];_0x49be=function(){return _0xf48520;};return _0x49be();}Object['defineProperty'](exports,_0x5b5ec8(0xf9),{'value':!![]}),exports[_0x5b5ec8(0xf7)]=void 0x0;const colors_1=require(_0x5b5ec8(0xff));exports[_0x5b5ec8(0xf7)]={'promptInstallJdk':_0x5b5ec8(0xd7),'promptJdkPath':'Path\x20to\x20your\x20existing\x20JDK\x2011:','messageDownloadJdk':_0x5b5ec8(0xe9),'messageDownloadJdkSrc':_0x5b5ec8(0xcb),'messageDecompressJdkSrc':_0x5b5ec8(0xd5),'messageDownloadJdkBin':'Downloading\x20the\x20JDK\x2011\x20Binaries...','messageDecompressJdkBin':_0x5b5ec8(0xfa),'promptInstallSdk':'Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20Android\x20SDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20Android\x20SDK\x20installation)','promptSdkPath':_0x5b5ec8(0xf1),'messageDownloadSdk':'Downloading\x20Android\x20SDK\x20to\x20','errorSdkTerms':_0x5b5ec8(0xce),'promptSdkTerms':_0x5b5ec8(0x104)+(0x0,colors_1[_0x5b5ec8(0xda)])('https://developer.android.com/studio/terms.html')+'?','messageDownloadAndroidSdk':'Downloading\x20the\x20Android\x20SDK...','messageDecompressAndroidSdk':_0x5b5ec8(0xf8),'messageInstallingBuildTools':'Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20'+_0x5b5ec8(0x107),'messageGeneratingAndroidProject':_0x5b5ec8(0xf2),'messageCheckSuccess':(_0x1cdb0b,_0x4b4692)=>{const _0x1c413f=_0x5b5ec8;return'\x20URL\x20'+(0x0,colors_1['cyan'])(_0x1cdb0b)+'\x20'+(_0x4b4692?_0x1c413f(0xd6)+(0x0,colors_1[_0x1c413f(0xd8)])(_0x4b4692):'')+_0x1c413f(0xd4);},'errorMissingManifestParameter':_0x5b5ec8(0xe1)+((0x0,colors_1[_0x5b5ec8(0xd8)])(_0x5b5ec8(0xcf))+'\x20or\x20'+(0x0,colors_1[_0x5b5ec8(0xd8)])(_0x5b5ec8(0xfd))),'messageInitializingWebManifest':_0x2cdd75=>{const _0x1e711f=_0x5b5ec8;return _0x1e711f(0xeb)+(0x0,colors_1[_0x1e711f(0xd8)])(_0x2cdd75);},'messageInitializingLocalManifest':_0x934a50=>{const _0x177ee6=_0x5b5ec8;return _0x177ee6(0xd9)+(0x0,colors_1[_0x177ee6(0xd8)])(_0x934a50);},'messageInvalidIcon':_0x4ac224=>{const _0x5d89bc=_0x5b5ec8;return'Invalid\x20icon\x20path:\x20'+(0x0,colors_1[_0x5d89bc(0xd8)])(_0x4ac224);},'errorStartUrlNotReachable':_0x1a7554=>_0x5b5ec8(0xd3)+_0x1a7554+'\x20can\x20not\x20be\x20accessible.'+_0x5b5ec8(0xdc),'warnFamilyPolicy':(0x0,colors_1[_0x5b5ec8(0xfb)])((0x0,colors_1[_0x5b5ec8(0xe3)])(_0x5b5ec8(0xc9)))+_0x5b5ec8(0xdb)+_0x5b5ec8(0xe4)+'\x20Check\x20out\x20the\x20Play\x20for'+'\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a'+(0x0,colors_1[_0x5b5ec8(0xd8)])(_0x5b5ec8(0xe5)),'promptIconUrl':_0x5b5ec8(0xea),'errorInvalidUrl':_0xec3280=>{const _0x9f1b11=_0x5b5ec8;return _0x9f1b11(0xdd)+_0xec3280;},'errorUrlMustBeImage':_0x289940=>{const _0x4f48ab=_0x5b5ec8;return _0x4f48ab(0xf4)+_0x289940+'.';},'promptVersionCode':_0x5b5ec8(0xd0),'promptVersionName':'Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','messageSigningKeyInformation':(0x0,colors_1[_0x5b5ec8(0xda)])(_0x5b5ec8(0xf5)+(0x0,colors_1[_0x5b5ec8(0xf3)])(_0x5b5ec8(0xfc))),'messageProjectGeneratedSuccess':_0x5b5ec8(0xd2),'messageSigningKeyCreation':(0x0,colors_1[_0x5b5ec8(0xda)])(_0x5b5ec8(0xec)),'messageSigningKeyNotFound':_0x23d597=>{return'\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22'+_0x23d597+'\x22.\x0a';},'promptCreateKey':_0x5b5ec8(0xed),'promptKeyFullName':'First\x20and\x20Last\x20names\x20(eg:\x20PICO):','promptKeyOrganizationalUnit':_0x5b5ec8(0xf0),'promptKeyOrganization':_0x5b5ec8(0x108),'promptKeyCountry':_0x5b5ec8(0xca),'promptKeystorePassword':'Password\x20for\x20the\x20Key\x20Store:','promptKeyPassword':'Password\x20for\x20the\x20Key:','messageBuildingApp':_0x5b5ec8(0xe0),'messageEnterPasswords':(_0x2dacf0,_0x5d6839)=>{const _0x5f08d6=_0x5b5ec8;return _0x5f08d6(0xcc)+(0x0,colors_1['cyan'])(_0x2dacf0)+_0x5f08d6(0x100)+(0x0,colors_1[_0x5f08d6(0xd8)])(_0x5d6839)+'.\x0a';},'errorMinLength':(_0x3ce612,_0x30b5b4)=>{const _0x3f8daa=_0x5b5ec8;return _0x3f8daa(0x101)+_0x3ce612+_0x3f8daa(0xdf)+_0x30b5b4+'.';},'errorMaxLength':(_0x511d02,_0x4219a6)=>{const _0x28423c=_0x5b5ec8;return _0x28423c(0x109)+_0x511d02+_0x28423c(0xdf)+_0x4219a6+'.';},'errorInvalidInteger':_0x4b350b=>{const _0x2bf857=_0x5b5ec8;return _0x2bf857(0xd1)+_0x4b350b;},'messageApkSuccess':_0x1cd0c5=>{const _0x438388=_0x5b5ec8;return _0x438388(0x103)+(0x0,colors_1[_0x438388(0xd8)])(_0x1cd0c5);},'missingUrlToCheck':'Missing\x20required\x20parameter\x20'+(''+(0x0,colors_1[_0x5b5ec8(0xd8)])(_0x5b5ec8(0x105)))};
1
+ 'use strict';const _0x5e32e3=_0x415f;function _0x5bb7(){const _0x55a73c=['Password\x20for\x20the\x20Key\x20Store:','Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','URL\x20','100190dfCJRO','\x0aSigning\x20key\x20information\x20','Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','22rdZmZX','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','WARNING:\x20','1013841tTMppL','cyan','Organization\x20(eg:\x20Company\x20Name):','Decompressing\x20the\x20Android\x20SDK...','Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','\x20but\x20input\x20is\x20','__esModule','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20JDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20JDK\x2011\x20installation)','Generating\x20Android\x20Project.','92442nlqIfo','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.','\x0aBuilding\x20the\x20Android\x20App...','Downloading\x20Android\x20SDK\x20to\x20','17iGVtWr','\x0aProject\x20generated\x20successfully.','Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','Downloading\x20the\x20Android\x20SDK...','Do\x20you\x20want\x20to\x20create\x20one\x20now?','Maximum\x20length\x20is\x20','Minimum\x20length\x20is\x20','11419728TtdiXD','Downloading\x20JDK\x2011\x20to\x20','\x22.\x0a','3640632ffQyWp','10rRGiKq','6AdVzvG','messages','--url','Password\x20for\x20the\x20Key:','Missing\x20required\x20parameter\x20','Decompressing\x20the\x20JDK\x2011\x20Sources...','Downloading\x20the\x20JDK\x2011\x20Binaries...','Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','underline','green','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','879053aClUfq','573605laiKuU','Invalid\x20integer\x20provided:\x20','4llsNnP','Path\x20to\x20your\x20existing\x20JDK\x2011:','colors','yellow','Country\x20(2\x20letter\x20code):','license\x20agreement.','Icon\x20URL:','redirected\x20to\x20','Path\x20to\x20your\x20existing\x20Android\x20SDK:','https://developer.android.com/studio/terms.html','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','--manifest-url','Downloading\x20the\x20JDK\x2011\x20Sources...','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20Android\x20SDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20Android\x20SDK\x20installation)'];_0x5bb7=function(){return _0x55a73c;};return _0x5bb7();}(function(_0x35d46d,_0x34616f){const _0x45df4e=_0x415f,_0x54f482=_0x35d46d();while(!![]){try{const _0x3224f3=parseInt(_0x45df4e(0x1a5))/0x1*(-parseInt(_0x45df4e(0x18f))/0x2)+parseInt(_0x45df4e(0x1a0))/0x3+parseInt(_0x45df4e(0x17e))/0x4*(parseInt(_0x45df4e(0x17c))/0x5)+-parseInt(_0x45df4e(0x16f))/0x6*(parseInt(_0x45df4e(0x17b))/0x7)+-parseInt(_0x45df4e(0x16d))/0x8+parseInt(_0x45df4e(0x196))/0x9*(-parseInt(_0x45df4e(0x16e))/0xa)+-parseInt(_0x45df4e(0x193))/0xb*(-parseInt(_0x45df4e(0x1ac))/0xc);if(_0x3224f3===_0x34616f)break;else _0x54f482['push'](_0x54f482['shift']());}catch(_0x177815){_0x54f482['push'](_0x54f482['shift']());}}}(_0x5bb7,0x7b05d));Object['defineProperty'](exports,_0x5e32e3(0x19d),{'value':!![]}),exports[_0x5e32e3(0x170)]=void 0x0;function _0x415f(_0x4d7b1d,_0x44a9e0){const _0x5bb7b1=_0x5bb7();return _0x415f=function(_0x415f78,_0x2df5a0){_0x415f78=_0x415f78-0x16c;let _0x219fdf=_0x5bb7b1[_0x415f78];return _0x219fdf;},_0x415f(_0x4d7b1d,_0x44a9e0);}const colors_1=require(_0x5e32e3(0x180));exports[_0x5e32e3(0x170)]={'promptInstallJdk':_0x5e32e3(0x19e),'promptJdkPath':_0x5e32e3(0x17f),'messageDownloadJdk':_0x5e32e3(0x1ad),'messageDownloadJdkSrc':_0x5e32e3(0x18a),'messageDecompressJdkSrc':_0x5e32e3(0x174),'messageDownloadJdkBin':_0x5e32e3(0x175),'messageDecompressJdkBin':'Decompressing\x20the\x20JDK\x2011\x20Binaries...','promptInstallSdk':_0x5e32e3(0x18b),'promptSdkPath':_0x5e32e3(0x186),'messageDownloadSdk':_0x5e32e3(0x1a4),'errorSdkTerms':_0x5e32e3(0x17a),'promptSdkTerms':_0x5e32e3(0x194)+(0x0,colors_1[_0x5e32e3(0x178)])(_0x5e32e3(0x187))+'?','messageDownloadAndroidSdk':_0x5e32e3(0x1a8),'messageDecompressAndroidSdk':_0x5e32e3(0x199),'messageInstallingBuildTools':_0x5e32e3(0x19a)+_0x5e32e3(0x183),'messageGeneratingAndroidProject':_0x5e32e3(0x19f),'messageCheckSuccess':(_0x4e45df,_0x4cda95)=>{const _0xe1010=_0x5e32e3;return'\x20URL\x20'+(0x0,colors_1[_0xe1010(0x197)])(_0x4e45df)+'\x20'+(_0x4cda95?_0xe1010(0x185)+(0x0,colors_1['cyan'])(_0x4cda95):'')+_0xe1010(0x1a1);},'errorMissingManifestParameter':_0x5e32e3(0x173)+((0x0,colors_1[_0x5e32e3(0x197)])(_0x5e32e3(0x189))+'\x20or\x20'+(0x0,colors_1['cyan'])('--manifest')),'messageInitializingWebManifest':_0x111a79=>{const _0x58f3b1=_0x5e32e3;return'Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20'+(0x0,colors_1[_0x58f3b1(0x197)])(_0x111a79);},'messageInitializingLocalManifest':_0x51ed33=>{const _0x35fca6=_0x5e32e3;return'Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20'+(0x0,colors_1[_0x35fca6(0x197)])(_0x51ed33);},'messageInvalidIcon':_0x4c3984=>{return'Invalid\x20icon\x20path:\x20'+(0x0,colors_1['cyan'])(_0x4c3984);},'errorStartUrlNotReachable':_0x20e06f=>_0x5e32e3(0x18e)+_0x20e06f+'\x20can\x20not\x20be\x20accessible.'+_0x5e32e3(0x177),'warnFamilyPolicy':(0x0,colors_1['bold'])((0x0,colors_1[_0x5e32e3(0x181)])(_0x5e32e3(0x195)))+_0x5e32e3(0x191)+_0x5e32e3(0x1a2)+'\x20Check\x20out\x20the\x20Play\x20for'+'\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a'+(0x0,colors_1[_0x5e32e3(0x197)])('https://play.google.com/console/about/families/'),'promptIconUrl':_0x5e32e3(0x184),'errorInvalidUrl':_0x4d6381=>{return'Invalid\x20URL:\x20'+_0x4d6381;},'errorUrlMustBeImage':_0x56c1c2=>{const _0x51fbc0=_0x5e32e3;return _0x51fbc0(0x188)+_0x56c1c2+'.';},'promptVersionCode':_0x5e32e3(0x1a7),'promptVersionName':_0x5e32e3(0x176),'messageSigningKeyInformation':(0x0,colors_1[_0x5e32e3(0x178)])(_0x5e32e3(0x190)+(0x0,colors_1[_0x5e32e3(0x179)])('(5/5)')),'messageProjectGeneratedSuccess':_0x5e32e3(0x1a6),'messageSigningKeyCreation':(0x0,colors_1['underline'])('\x0aSigning\x20key\x20creation'),'messageSigningKeyNotFound':_0x258e57=>{const _0xb2d04f=_0x5e32e3;return'\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22'+_0x258e57+_0xb2d04f(0x16c);},'promptCreateKey':_0x5e32e3(0x1a9),'promptKeyFullName':_0x5e32e3(0x19b),'promptKeyOrganizationalUnit':_0x5e32e3(0x18d),'promptKeyOrganization':_0x5e32e3(0x198),'promptKeyCountry':_0x5e32e3(0x182),'promptKeystorePassword':_0x5e32e3(0x18c),'promptKeyPassword':_0x5e32e3(0x172),'messageBuildingApp':_0x5e32e3(0x1a3),'messageEnterPasswords':(_0x1a3360,_0x410087)=>{const _0x550670=_0x5e32e3;return _0x550670(0x192)+(0x0,colors_1[_0x550670(0x197)])(_0x1a3360)+'\x20and\x20alias\x20'+(0x0,colors_1[_0x550670(0x197)])(_0x410087)+'.\x0a';},'errorMinLength':(_0x4eb8c7,_0x2c0638)=>{const _0x4d0c1e=_0x5e32e3;return _0x4d0c1e(0x1ab)+_0x4eb8c7+_0x4d0c1e(0x19c)+_0x2c0638+'.';},'errorMaxLength':(_0xb5b0bc,_0x384d30)=>{const _0x26b22d=_0x5e32e3;return _0x26b22d(0x1aa)+_0xb5b0bc+_0x26b22d(0x19c)+_0x384d30+'.';},'errorInvalidInteger':_0x114bd1=>{const _0x4a24d2=_0x5e32e3;return _0x4a24d2(0x17d)+_0x114bd1;},'messageApkSuccess':_0x2ee93d=>{const _0x29e702=_0x5e32e3;return'\x09-\x20Generated\x20Android\x20APK\x20at\x20'+(0x0,colors_1[_0x29e702(0x197)])(_0x2ee93d);},'missingUrlToCheck':_0x5e32e3(0x173)+(''+(0x0,colors_1[_0x5e32e3(0x197)])(_0x5e32e3(0x171)))};
@@ -1 +1 @@
1
- 'use strict';const _0x1a6373=_0x4f15;(function(_0x16ee20,_0x5d04db){const _0x2bda7d=_0x4f15,_0x47c5e5=_0x16ee20();while(!![]){try{const _0x5bf274=-parseInt(_0x2bda7d(0xb8))/0x1*(-parseInt(_0x2bda7d(0xb2))/0x2)+-parseInt(_0x2bda7d(0xb7))/0x3*(parseInt(_0x2bda7d(0xbe))/0x4)+parseInt(_0x2bda7d(0xb6))/0x5+parseInt(_0x2bda7d(0xaf))/0x6+parseInt(_0x2bda7d(0xc0))/0x7+parseInt(_0x2bda7d(0xb5))/0x8*(-parseInt(_0x2bda7d(0xb9))/0x9)+parseInt(_0x2bda7d(0xb0))/0xa*(parseInt(_0x2bda7d(0xb3))/0xb);if(_0x5bf274===_0x5d04db)break;else _0x47c5e5['push'](_0x47c5e5['shift']());}catch(_0x29310b){_0x47c5e5['push'](_0x47c5e5['shift']());}}}(_0x1297,0x25173));Object[_0x1a6373(0xb1)](exports,_0x1a6373(0xba),{'value':!![]}),exports[_0x1a6373(0xbb)]=parseRouter;function _0x1297(){const _0x2dcdf5=['1066289IXcUco','replace','457350quMouo','337270RBBBqG','defineProperty','25946ZxtysH','22zZDABx','split','9896UsNNmV','357865fFCnBU','375ndYUVp','20otsvCh','1737lJebEH','__esModule','parseRouter','pop','join','7564bPjmni','indexOf'];_0x1297=function(){return _0x2dcdf5;};return _0x1297();}function _0x4f15(_0x23f24d,_0x1fdd4e){const _0x1297bf=_0x1297();return _0x4f15=function(_0x4f15b6,_0x48b2af){_0x4f15b6=_0x4f15b6-0xaf;let _0x53d5af=_0x1297bf[_0x4f15b6];return _0x53d5af;},_0x4f15(_0x23f24d,_0x1fdd4e);}function parseRouter(_0x42191b){const _0x130824=_0x1a6373;let _0xb92e27=_0x42191b[_0x130824(0xb4)]('/');_0xb92e27[_0x130824(0xbc)]();let _0x1afd9e=_0xb92e27[_0x130824(0xbd)]();while(_0x1afd9e[_0x130824(0xbf)](',')>=0x0){_0x1afd9e=_0x1afd9e[_0x130824(0xc1)](',','/');}return _0x1afd9e;}
1
+ 'use strict';const _0xa10712=_0x457c;(function(_0x1472f0,_0x217cff){const _0x288b4b=_0x457c,_0x26c2af=_0x1472f0();while(!![]){try{const _0x54323b=parseInt(_0x288b4b(0x1f6))/0x1*(parseInt(_0x288b4b(0x1f4))/0x2)+-parseInt(_0x288b4b(0x1fa))/0x3+-parseInt(_0x288b4b(0x1fb))/0x4*(parseInt(_0x288b4b(0x1fe))/0x5)+-parseInt(_0x288b4b(0x1fd))/0x6+parseInt(_0x288b4b(0x1fc))/0x7*(parseInt(_0x288b4b(0x1f7))/0x8)+-parseInt(_0x288b4b(0x1f9))/0x9*(parseInt(_0x288b4b(0x1f2))/0xa)+parseInt(_0x288b4b(0x1ff))/0xb;if(_0x54323b===_0x217cff)break;else _0x26c2af['push'](_0x26c2af['shift']());}catch(_0x5064f8){_0x26c2af['push'](_0x26c2af['shift']());}}}(_0x1a86,0x5a34b));Object[_0xa10712(0x1f5)](exports,_0xa10712(0x1f0),{'value':!![]}),exports[_0xa10712(0x1f1)]=parseRouter;function _0x1a86(){const _0x1fa316=['6411465vugGtj','1565808uubgHx','10652pUUNLK','371twpuhI','3691422lWdhXI','415IvvzTO','13961211NTQWiN','pop','__esModule','parseRouter','10hNblmK','split','1291596brLhUN','defineProperty','1vdRhHJ','79256saFSSr','replace'];_0x1a86=function(){return _0x1fa316;};return _0x1a86();}function _0x457c(_0x1d0a15,_0xa54273){const _0x1a866d=_0x1a86();return _0x457c=function(_0x457c53,_0x898e99){_0x457c53=_0x457c53-0x1ef;let _0x15c1ee=_0x1a866d[_0x457c53];return _0x15c1ee;},_0x457c(_0x1d0a15,_0xa54273);}function parseRouter(_0x16dfb2){const _0x4e5c44=_0xa10712;let _0x4b1c69=_0x16dfb2[_0x4e5c44(0x1f3)]('/');_0x4b1c69[_0x4e5c44(0x1ef)]();let _0x50f064=_0x4b1c69['join']();while(_0x50f064['indexOf'](',')>=0x0){_0x50f064=_0x50f064[_0x4e5c44(0x1f8)](',','/');}return _0x50f064;}
@@ -1 +1 @@
1
- 'use strict';function _0x17e5(_0x3fae44,_0x3ead22){const _0x324b18=_0x324b();return _0x17e5=function(_0x17e5b0,_0x3217ac){_0x17e5b0=_0x17e5b0-0x1d8;let _0x112c48=_0x324b18[_0x17e5b0];return _0x112c48;},_0x17e5(_0x3fae44,_0x3ead22);}const _0x1c2922=_0x17e5;function _0x324b(){const _0x3d4bf3=['1625460sDbQXR','modify','XcodeManager','12624TQNVOw','parseProject','./xcodeproject','./xcodebuild','archive','defineProperty','PROJECT_DIRECTORY','name','2516508bDEjrR','../resource','existsSync','3125GSRxRt','log','join','6222ETsyDO','14832jCvxvj','/web-spatial.xcodeproj/project.pbxproj','PROJECT_EXPORT_DIRECTORY','968054uIpqaz','uploadApp','default','.ipa','10725582vdfgZa','./xcrun','write\x20project.pbxproj:\x20ok','runWithSimulator','1191046SuUXLA'];_0x324b=function(){return _0x3d4bf3;};return _0x324b();}(function(_0x41bd8c,_0x263c27){const _0x4c2e21=_0x17e5,_0x140fcd=_0x41bd8c();while(!![]){try{const _0x137dcf=-parseInt(_0x4c2e21(0x1e4))/0x1+parseInt(_0x4c2e21(0x1dc))/0x2+parseInt(_0x4c2e21(0x1e5))/0x3+parseInt(_0x4c2e21(0x1f0))/0x4+parseInt(_0x4c2e21(0x1f3))/0x5*(-parseInt(_0x4c2e21(0x1d8))/0x6)+-parseInt(_0x4c2e21(0x1e0))/0x7+parseInt(_0x4c2e21(0x1e8))/0x8*(parseInt(_0x4c2e21(0x1d9))/0x9);if(_0x137dcf===_0x263c27)break;else _0x140fcd['push'](_0x140fcd['shift']());}catch(_0x27cb9b){_0x140fcd['push'](_0x140fcd['shift']());}}}(_0x324b,0xd7d99));Object[_0x1c2922(0x1ed)](exports,'__esModule',{'value':!![]}),exports[_0x1c2922(0x1e7)]=void 0x0;const fs=require('fs'),resource_1=require(_0x1c2922(0x1f1)),xcodeproject_1=require(_0x1c2922(0x1ea)),xcodebuild_1=require(_0x1c2922(0x1eb)),xcrun_1=require(_0x1c2922(0x1e1)),path_1=require('path');class XcodeManager{static async[_0x1c2922(0x1e9)](_0x10754a,_0x5470b2=![]){const _0x25015f=_0x1c2922,_0x4f2948=resource_1[_0x25015f(0x1ee)]+_0x25015f(0x1da);await xcodeproject_1[_0x25015f(0x1de)][_0x25015f(0x1e6)](_0x4f2948,_0x10754a),console[_0x25015f(0x1f4)](_0x25015f(0x1e2));!fs[_0x25015f(0x1f2)](resource_1[_0x25015f(0x1db)])&&fs['mkdirSync'](resource_1[_0x25015f(0x1db)],{'recursive':!![]});if(!_0x5470b2)await xcodebuild_1['default'][_0x25015f(0x1ec)](_0x10754a['export']);}static async['upload'](_0x20cf3e,_0x3a0520){const _0x4af417=_0x1c2922;if(_0x20cf3e['u']&&_0x20cf3e['p'])xcrun_1[_0x4af417(0x1de)][_0x4af417(0x1dd)]((0x0,path_1[_0x4af417(0x1f5)])(resource_1[_0x4af417(0x1db)],_0x3a0520[_0x4af417(0x1ef)]+'.ipa'),_0x20cf3e['u'],_0x20cf3e['p'],!![]);else _0x20cf3e['k']&&_0x20cf3e['i']&&xcrun_1[_0x4af417(0x1de)][_0x4af417(0x1dd)]((0x0,path_1['join'])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0x3a0520['name']+_0x4af417(0x1df)),_0x20cf3e['k'],_0x20cf3e['i'],![]);}static async[_0x1c2922(0x1e3)](_0x1a1206){const _0x620d0b=_0x1c2922;await xcrun_1[_0x620d0b(0x1de)][_0x620d0b(0x1e3)](_0x1a1206);}}exports['XcodeManager']=XcodeManager;
1
+ 'use strict';const _0x5ae620=_0x36e4;(function(_0x2cdb29,_0x55d7ca){const _0x265cfd=_0x36e4,_0x1f15b4=_0x2cdb29();while(!![]){try{const _0x2766f7=-parseInt(_0x265cfd(0x1be))/0x1+parseInt(_0x265cfd(0x1c2))/0x2+parseInt(_0x265cfd(0x1a7))/0x3*(-parseInt(_0x265cfd(0x1b4))/0x4)+parseInt(_0x265cfd(0x1bd))/0x5+parseInt(_0x265cfd(0x1c3))/0x6*(parseInt(_0x265cfd(0x1ab))/0x7)+parseInt(_0x265cfd(0x1a8))/0x8*(parseInt(_0x265cfd(0x1bc))/0x9)+parseInt(_0x265cfd(0x1b2))/0xa*(-parseInt(_0x265cfd(0x1bb))/0xb);if(_0x2766f7===_0x55d7ca)break;else _0x1f15b4['push'](_0x1f15b4['shift']());}catch(_0x1cacad){_0x1f15b4['push'](_0x1f15b4['shift']());}}}(_0xf0ce,0xef615));Object[_0x5ae620(0x1ac)](exports,_0x5ae620(0x1b3),{'value':!![]}),exports['XcodeManager']=void 0x0;const fs=require('fs'),resource_1=require(_0x5ae620(0x1b5)),xcodeproject_1=require('./xcodeproject'),xcodebuild_1=require('./xcodebuild'),xcrun_1=require('./xcrun'),path_1=require(_0x5ae620(0x1b7));class XcodeManager{static async[_0x5ae620(0x1b1)](_0x2cf239,_0x2db37a=![]){const _0x3a9db8=_0x5ae620,_0x571792=resource_1['PROJECT_DIRECTORY']+_0x3a9db8(0x1b0);await xcodeproject_1[_0x3a9db8(0x1ad)][_0x3a9db8(0x1b8)](_0x571792,_0x2cf239),console[_0x3a9db8(0x1ae)]('write\x20project.pbxproj:\x20ok');!fs[_0x3a9db8(0x1aa)](resource_1['PROJECT_EXPORT_DIRECTORY'])&&fs[_0x3a9db8(0x1c0)](resource_1[_0x3a9db8(0x1ba)],{'recursive':!![]});if(!_0x2db37a)await xcodebuild_1[_0x3a9db8(0x1ad)]['archive'](_0x2cf239[_0x3a9db8(0x1af)]);}static async[_0x5ae620(0x1c1)](_0x36e8e3,_0x34a7a3){const _0x181331=_0x5ae620;if(_0x36e8e3['u']&&_0x36e8e3['p'])xcrun_1[_0x181331(0x1ad)]['uploadApp']((0x0,path_1[_0x181331(0x1b9)])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0x34a7a3[_0x181331(0x1a6)]+'.ipa'),_0x36e8e3['u'],_0x36e8e3['p'],!![]);else _0x36e8e3['k']&&_0x36e8e3['i']&&xcrun_1[_0x181331(0x1ad)]['uploadApp']((0x0,path_1['join'])(resource_1[_0x181331(0x1ba)],_0x34a7a3[_0x181331(0x1a6)]+_0x181331(0x1a9)),_0x36e8e3['k'],_0x36e8e3['i'],![]);}static async[_0x5ae620(0x1b6)](_0x354d37){const _0x42798d=_0x5ae620;await xcrun_1[_0x42798d(0x1ad)][_0x42798d(0x1b6)](_0x354d37);}}function _0xf0ce(){const _0x424021=['1916wcWLHX','../resource','runWithSimulator','path','modify','join','PROJECT_EXPORT_DIRECTORY','11KObukK','17457075cbuFeW','5523055hIMfUL','1695301pvXBPd','XcodeManager','mkdirSync','upload','2289146npaAso','5154TLHyhn','name','7212hTpCsd','8XosFgl','.ipa','existsSync','12026STBHsh','defineProperty','default','log','export','/web-spatial.xcodeproj/project.pbxproj','parseProject','18373030biVEJB','__esModule'];_0xf0ce=function(){return _0x424021;};return _0xf0ce();}function _0x36e4(_0x353842,_0x3f30b3){const _0xf0ce3a=_0xf0ce();return _0x36e4=function(_0x36e4db,_0x5a790a){_0x36e4db=_0x36e4db-0x1a6;let _0x51c2e1=_0xf0ce3a[_0x36e4db];return _0x51c2e1;},_0x36e4(_0x353842,_0x3f30b3);}exports[_0x5ae620(0x1bf)]=XcodeManager;
@@ -1 +1 @@
1
- 'use strict';function _0x5603(_0x49d746,_0x3a38b0){var _0x10ac70=_0x10ac();return _0x5603=function(_0x5603d1,_0x276887){_0x5603d1=_0x5603d1-0x1ed;var _0x56c6e0=_0x10ac70[_0x5603d1];return _0x56c6e0;},_0x5603(_0x49d746,_0x3a38b0);}var _0x24002c=_0x5603;function _0x10ac(){var _0x537a0a=['defineProperty','31869770fdGJBV','771236xblBFz','\x0aimport\x20Foundation\x0a\x0avar\x20pwaManager\x20=\x20PWAManager()\x0a\x0astruct\x20PWAManager:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20isLocal:\x20Bool\x20=\x20false\x0a\x20\x20\x20\x20var\x20start_url:\x20String\x20=\x20\x22START_URL\x22\x0a\x20\x20\x20\x20var\x20scope:\x20String\x20=\x20\x22SCOPE\x22\x0a\x20\x20\x20\x20var\x20id:\x20String\x20=\x20\x22AppID\x22\x0a\x0a\x20\x20\x20\x20var\x20name:\x20String\x20=\x20\x22AppName\x22\x0a\x20\x20\x20\x20var\x20short_name:\x20String\x20=\x20\x22name\x22\x0a\x20\x20\x20\x20var\x20description:\x20String\x20=\x20\x22Description\x22\x0a\x0a\x20\x20\x20\x20var\x20display:\x20PWADisplayMode\x20=\x20.minimal\x0a\x20\x20\x20\x20var\x20display_override:\x20[PWADisplayMode]\x20=\x20[]\x0a\x20\x20\x20\x20var\x20protocol_handlers:\x20[PWAProtocol]\x20=\x20[PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)]\x0a\x20\x20\x20\x20var\x20mainScene:\x20WindowContainerOptions\x20=\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20defaultSize:\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20SceneWidth,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20SceneHeight\x0a\x20\x20\x20\x20\x20\x20\x20\x20),\x0a\x20\x20\x20\x20\x20\x20\x20\x20resizability:\x20SceneResizability\x0a\x20\x20\x20\x20)\x0a\x20\x20\x20\x20var\x20useMainScene:\x20Bool\x20=\x20USE_MAIN_SCENE\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20_init()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20urlType\x20=\x20start_url.split(separator:\x20\x22://\x22).first\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20!(urlType\x20==\x20\x22http\x22\x20||\x20urlType\x20==\x20\x22https\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_url\x20=\x20Bundle.main.url(forResource:\x20start_url,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20\x22file://\x22\x20+\x20Bundle.main.bundlePath\x20+\x20\x22/\x22\x20+\x20scope\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20scope.replacingOccurrences(of:\x20\x22\x20\x22,\x20with:\x20\x22%20\x22)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20isLocal\x20=\x20true\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20display_override.count\x20>\x200\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display\x20=\x20display_override[0]\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20i\x20in\x200\x20...\x20protocol_handlers.count\x20-\x201\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20item\x20=\x20protocol_handlers[i]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20protocol_handlers[i].updateUrl(scope\x20+\x20item.url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20checkInScope(url:\x20String)\x20->\x20Bool\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20url.starts(with:\x20scope)\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20//\x20web+spatial://test\x0a\x20\x20\x20\x20func\x20checkInDeeplink(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20linkUrl:\x20String\x20=\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20item\x20in\x20protocol_handlers\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20linkUrl.starts(with:\x20item.protocolValue)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20queryString:\x20String\x20=\x20linkUrl.replacingOccurrences(of:\x20item.protocolValue,\x20with:\x20\x22\x22).addingPercentEncoding(withAllowedCharacters:\x20.urlQueryAllowed)!\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20linkUrl\x20=\x20item.url.replacingOccurrences(of:\x20\x22%s\x22,\x20with:\x20item.protocolValue\x20+\x20queryString)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20logger.debug(linkUrl)\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20linkUrl\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20func\x20getLocalResourceURL(url:\x20String)\x20->\x20String{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20path:String\x20=\x20String(url.split(separator:\x20\x22file://\x22).first!.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20root:String\x20=\x20String(url.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20params\x20=\x20String(url.split(separator:\x20\x22file://\x22\x20+\x20root).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20resource:String\x20=\x20Bundle.main.url(forResource:\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20=\x20Bundle.main.url(forResource:\x20\x22static-web\x22\x20+\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22?\x22\x20+\x20params\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20resource\x0a\x20\x20\x20\x20}\x0a}\x0a\x0aenum\x20PWADisplayMode:\x20Codable\x20{\x0a\x20\x20\x20\x20case\x20minimal\x0a\x20\x20\x20\x20case\x20standalone\x0a}\x0a\x0astruct\x20PWAProtocol:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20protocolValue:\x20String\x20=\x20\x22\x22\x0a\x20\x20\x20\x20var\x20url:\x20String\x20=\x20\x22\x22\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20updateUrl(_\x20str:\x20String)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20url\x20=\x20str\x0a\x20\x20\x20\x20}\x0a}\x0a\x0a','11uwLqmU','6002296JATdxI','9RxSGru','1433863ahlNTn','3iohCar','__esModule','3470EWbKyN','manifestSwiftTemplate','7570570yRcQdt','12714nzmsvj','4968364vPwTqw'];_0x10ac=function(){return _0x537a0a;};return _0x10ac();}(function(_0x10ec57,_0x1cc4d2){var _0x23add8=_0x5603,_0x345df0=_0x10ec57();while(!![]){try{var _0x35f7b5=-parseInt(_0x23add8(0x1ef))/0x1+-parseInt(_0x23add8(0x1f9))/0x2+-parseInt(_0x23add8(0x1f0))/0x3*(-parseInt(_0x23add8(0x1f6))/0x4)+parseInt(_0x23add8(0x1f2))/0x5*(-parseInt(_0x23add8(0x1f5))/0x6)+-parseInt(_0x23add8(0x1f4))/0x7+-parseInt(_0x23add8(0x1ed))/0x8*(-parseInt(_0x23add8(0x1ee))/0x9)+parseInt(_0x23add8(0x1f8))/0xa*(parseInt(_0x23add8(0x1fb))/0xb);if(_0x35f7b5===_0x1cc4d2)break;else _0x345df0['push'](_0x345df0['shift']());}catch(_0x4d6642){_0x345df0['push'](_0x345df0['shift']());}}}(_0x10ac,0xc5362));Object[_0x24002c(0x1f7)](exports,_0x24002c(0x1f1),{'value':!![]}),exports[_0x24002c(0x1f3)]=void 0x0,exports['manifestSwiftTemplate']=_0x24002c(0x1fa);
1
+ 'use strict';var _0x47ad26=_0x1fee;function _0x1fee(_0xdab58,_0x56036d){var _0x449f62=_0x449f();return _0x1fee=function(_0x1fee16,_0x3e8596){_0x1fee16=_0x1fee16-0xfc;var _0x231836=_0x449f62[_0x1fee16];return _0x231836;},_0x1fee(_0xdab58,_0x56036d);}(function(_0x3a8fdd,_0x4ebcd0){var _0x1df363=_0x1fee,_0x10a51=_0x3a8fdd();while(!![]){try{var _0x46beeb=parseInt(_0x1df363(0xff))/0x1*(parseInt(_0x1df363(0x108))/0x2)+parseInt(_0x1df363(0x101))/0x3+-parseInt(_0x1df363(0xfe))/0x4+parseInt(_0x1df363(0x104))/0x5*(parseInt(_0x1df363(0x107))/0x6)+-parseInt(_0x1df363(0x10a))/0x7*(parseInt(_0x1df363(0x106))/0x8)+parseInt(_0x1df363(0x105))/0x9*(parseInt(_0x1df363(0x102))/0xa)+-parseInt(_0x1df363(0x103))/0xb*(parseInt(_0x1df363(0x109))/0xc);if(_0x46beeb===_0x4ebcd0)break;else _0x10a51['push'](_0x10a51['shift']());}catch(_0x16d70b){_0x10a51['push'](_0x10a51['shift']());}}}(_0x449f,0xb4f0f));Object[_0x47ad26(0xfd)](exports,_0x47ad26(0xfc),{'value':!![]}),exports[_0x47ad26(0x100)]=void 0x0,exports[_0x47ad26(0x100)]='\x0aimport\x20Foundation\x0a\x0avar\x20pwaManager\x20=\x20PWAManager()\x0a\x0astruct\x20PWAManager:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20isLocal:\x20Bool\x20=\x20false\x0a\x20\x20\x20\x20var\x20start_url:\x20String\x20=\x20\x22START_URL\x22\x0a\x20\x20\x20\x20var\x20scope:\x20String\x20=\x20\x22SCOPE\x22\x0a\x20\x20\x20\x20var\x20id:\x20String\x20=\x20\x22AppID\x22\x0a\x0a\x20\x20\x20\x20var\x20name:\x20String\x20=\x20\x22AppName\x22\x0a\x20\x20\x20\x20var\x20short_name:\x20String\x20=\x20\x22name\x22\x0a\x20\x20\x20\x20var\x20description:\x20String\x20=\x20\x22Description\x22\x0a\x0a\x20\x20\x20\x20var\x20display:\x20PWADisplayMode\x20=\x20.minimal\x0a\x20\x20\x20\x20var\x20display_override:\x20[PWADisplayMode]\x20=\x20[]\x0a\x20\x20\x20\x20var\x20protocol_handlers:\x20[PWAProtocol]\x20=\x20[PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)]\x0a\x20\x20\x20\x20var\x20mainScene:\x20WindowContainerOptions\x20=\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20defaultSize:\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20SceneWidth,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20SceneHeight\x0a\x20\x20\x20\x20\x20\x20\x20\x20),\x0a\x20\x20\x20\x20\x20\x20\x20\x20resizability:\x20SceneResizability\x0a\x20\x20\x20\x20)\x0a\x20\x20\x20\x20var\x20useMainScene:\x20Bool\x20=\x20USE_MAIN_SCENE\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20_init()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20urlType\x20=\x20start_url.split(separator:\x20\x22://\x22).first\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20!(urlType\x20==\x20\x22http\x22\x20||\x20urlType\x20==\x20\x22https\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_url\x20=\x20Bundle.main.url(forResource:\x20start_url,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20\x22file://\x22\x20+\x20Bundle.main.bundlePath\x20+\x20\x22/\x22\x20+\x20scope\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20scope.replacingOccurrences(of:\x20\x22\x20\x22,\x20with:\x20\x22%20\x22)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20isLocal\x20=\x20true\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20display_override.count\x20>\x200\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display\x20=\x20display_override[0]\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20i\x20in\x200\x20...\x20protocol_handlers.count\x20-\x201\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20item\x20=\x20protocol_handlers[i]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20protocol_handlers[i].updateUrl(scope\x20+\x20item.url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20checkInScope(url:\x20String)\x20->\x20Bool\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20url.starts(with:\x20scope)\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20//\x20web+spatial://test\x0a\x20\x20\x20\x20func\x20checkInDeeplink(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20linkUrl:\x20String\x20=\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20item\x20in\x20protocol_handlers\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20linkUrl.starts(with:\x20item.protocolValue)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20queryString:\x20String\x20=\x20linkUrl.replacingOccurrences(of:\x20item.protocolValue,\x20with:\x20\x22\x22).addingPercentEncoding(withAllowedCharacters:\x20.urlQueryAllowed)!\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20linkUrl\x20=\x20item.url.replacingOccurrences(of:\x20\x22%s\x22,\x20with:\x20item.protocolValue\x20+\x20queryString)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20logger.debug(linkUrl)\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20linkUrl\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20func\x20getLocalResourceURL(url:\x20String)\x20->\x20String{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20path:String\x20=\x20String(url.split(separator:\x20\x22file://\x22).first!.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20root:String\x20=\x20String(url.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20params\x20=\x20String(url.split(separator:\x20\x22file://\x22\x20+\x20root).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20resource:String\x20=\x20Bundle.main.url(forResource:\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20=\x20Bundle.main.url(forResource:\x20\x22static-web\x22\x20+\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22?\x22\x20+\x20params\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20resource\x0a\x20\x20\x20\x20}\x0a}\x0a\x0aenum\x20PWADisplayMode:\x20Codable\x20{\x0a\x20\x20\x20\x20case\x20minimal\x0a\x20\x20\x20\x20case\x20standalone\x0a}\x0a\x0astruct\x20PWAProtocol:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20protocolValue:\x20String\x20=\x20\x22\x22\x0a\x20\x20\x20\x20var\x20url:\x20String\x20=\x20\x22\x22\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20updateUrl(_\x20str:\x20String)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20url\x20=\x20str\x0a\x20\x20\x20\x20}\x0a}\x0a\x0a';function _0x449f(){var _0xd95db0=['126OTCRqu','51688KumdRY','312xvppDY','14QYtGnp','3916884DfYdVO','315txpKeC','__esModule','defineProperty','2849480FjKNDd','70798qwWDDR','manifestSwiftTemplate','2814075vLwpCY','444930NFWeLe','11dwQHuc','1360nBfzjX'];_0x449f=function(){return _0xd95db0;};return _0x449f();}
@@ -1 +1 @@
1
- 'use strict';function _0xb5fc(_0x5d8b68,_0xa4276a){const _0x33170e=_0x3317();return _0xb5fc=function(_0xb5fcec,_0x2a037e){_0xb5fcec=_0xb5fcec-0x1de;let _0x33cbc4=_0x33170e[_0xb5fcec];return _0x33cbc4;},_0xb5fc(_0x5d8b68,_0xa4276a);}const _0x188a82=_0xb5fc;(function(_0x23cddd,_0x3918f9){const _0xbaf82c=_0xb5fc,_0x5db7c4=_0x23cddd();while(!![]){try{const _0x58678f=-parseInt(_0xbaf82c(0x1fe))/0x1+parseInt(_0xbaf82c(0x1f1))/0x2+parseInt(_0xbaf82c(0x1f6))/0x3+parseInt(_0xbaf82c(0x20a))/0x4+parseInt(_0xbaf82c(0x1de))/0x5+-parseInt(_0xbaf82c(0x1f0))/0x6+parseInt(_0xbaf82c(0x212))/0x7*(-parseInt(_0xbaf82c(0x1df))/0x8);if(_0x58678f===_0x3918f9)break;else _0x5db7c4['push'](_0x5db7c4['shift']());}catch(_0x23efe1){_0x5db7c4['push'](_0x5db7c4['shift']());}}}(_0x3317,0xe4b11));Object[_0x188a82(0x1fd)](exports,_0x188a82(0x1fc),{'value':!![]}),exports[_0x188a82(0x201)]=void 0x0;const fs=require('fs'),path_1=require(_0x188a82(0x203)),resource_1=require(_0x188a82(0x1ea)),semver_1=require(_0x188a82(0x1e2)),file_1=require(_0x188a82(0x1e7)),{execSync,exec}=require(_0x188a82(0x200));class Xcodebuild{static async[_0x188a82(0x1e8)](){const _0x53d07e=_0x188a82;try{await new Promise((_0x5cfbd1,_0x3caf08)=>{const _0x5870a3=_0xb5fc,_0x126ced=resource_1[_0x5870a3(0x20b)]+_0x5870a3(0x1f5),_0x49d4bf=execSync(new XcodebuildCMD()[_0x5870a3(0x1e8)](_0x126ced)[_0x5870a3(0x1f3)]()['line']);console[_0x5870a3(0x210)](_0x49d4bf[_0x5870a3(0x1f8)]()),_0x5cfbd1(_0x49d4bf);});}catch(_0x540672){console[_0x53d07e(0x210)](_0x540672);}}static async[_0x188a82(0x1f3)](){const _0x7ac1d4=_0x188a82;try{await new Promise((_0xe9f3fc,_0x42cf1c)=>{const _0x1a969a=_0xb5fc,_0x5612a9=resource_1[_0x1a969a(0x20b)]+_0x1a969a(0x1f5),_0x36c581=execSync(new XcodebuildCMD()[_0x1a969a(0x1e8)](_0x5612a9)[_0x1a969a(0x1f3)]()[_0x1a969a(0x204)]);console['log'](_0x36c581[_0x1a969a(0x1f8)]()),_0xe9f3fc(_0x36c581);});}catch(_0x31b92a){console[_0x7ac1d4(0x210)](_0x31b92a);}}static async['archive'](_0xd3696c){const _0x31be94=_0x188a82;try{return console[_0x31be94(0x210)](_0x31be94(0x1e0)),!fs[_0x31be94(0x20c)](resource_1['PROJECT_EXPORT_DIRECTORY'])&&fs[_0x31be94(0x1e5)](resource_1[_0x31be94(0x208)],{'recursive':!![]}),await new Promise((_0x4f7c76,_0x395398)=>{const _0x518b83=_0x31be94,_0x409998=resource_1[_0x518b83(0x20b)]+'/web-spatial.xcodeproj',_0x3b3cab=execSync(new XcodebuildCMD()[_0x518b83(0x1e8)](_0x409998)['scheme']('web-spatial')[_0x518b83(0x1ec)]((0x0,path_1[_0x518b83(0x1e9)])(resource_1[_0x518b83(0x1f9)],'./pack'))['clean']()[_0x518b83(0x204)]);let _0x1792a7=_0x3b3cab['toString']();if(_0x1792a7[_0x518b83(0x213)](_0x518b83(0x1e3))>0x0){console[_0x518b83(0x210)](_0x518b83(0x202)),console[_0x518b83(0x210)](_0x518b83(0x1f7));const _0x171221=execSync(new XcodebuildCMD()[_0x518b83(0x1eb)]((0x0,path_1[_0x518b83(0x1e9)])(resource_1[_0x518b83(0x1f9)],_0x518b83(0x20f)),resource_1[_0x518b83(0x208)],(0x0,path_1[_0x518b83(0x1e9)])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x518b83(0x1e6)))['allowProvisioningUpdates']()[_0x518b83(0x204)]);_0x1792a7=_0x171221['toString']();if(_0x1792a7[_0x518b83(0x213)]('EXPORT\x20SUCCEEDED')>0x0){if(_0xd3696c){const _0x4c10ce=(0x0,path_1['join'])(process['cwd'](),_0xd3696c);!fs[_0x518b83(0x20c)](_0x4c10ce)&&fs[_0x518b83(0x1e5)](_0x4c10ce,{'recursive':!![]}),(0x0,file_1[_0x518b83(0x1ef)])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0x4c10ce);}console[_0x518b83(0x210)](_0x518b83(0x1f2)),_0x4f7c76(!![]);}(0x0,semver_1[_0x518b83(0x1fb)])(resource_1[_0x518b83(0x1f9)]);}_0x4f7c76(![]);});}catch(_0x542d6c){console[_0x31be94(0x210)](_0x542d6c);}}}exports[_0x188a82(0x205)]=Xcodebuild;function _0x3317(){const _0x151922=['../resource/file','project','join','../resource','output','archive','\x20-exportPath\x20','destination','copyDir','6315390znDJoN','1707480Ravvif','-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------','list','\x20-archivePath\x20','/web-spatial.xcodeproj','3686991TgYcoE','start\x20export','toString','PROJECT_BUILD_DIRECTORY','\x20-scheme\x20','clean','__esModule','defineProperty','367193kvlRxe','\x20-exportArchive\x20-archivePath\x20','child_process','XcodebuildCMD','-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------','path','line','default','\x20archive','\x20-destination\x20\x27','PROJECT_EXPORT_DIRECTORY','\x20-project\x20','4258792sxlmoa','PROJECT_DIRECTORY','existsSync','\x20-allowProvisioningUpdates','xcodebuild','pack.xcarchive','log','\x20-list','541989TydClI','indexOf','9207810ZiETub','272jPOrru','start\x20archive','\x20-exportOptionsPlist\x20','semver','ARCHIVE\x20SUCCEEDED','allowProvisioningUpdates','mkdirSync','ExportOptions.plist'];_0x3317=function(){return _0x151922;};return _0x3317();}class XcodebuildCMD{constructor(){const _0xac32a9=_0x188a82;this[_0xac32a9(0x204)]=_0xac32a9(0x20e);}[_0x188a82(0x1e8)](_0x2f89ad){const _0x44091d=_0x188a82;return this[_0x44091d(0x204)]+=_0x44091d(0x209)+_0x2f89ad,this;}[_0x188a82(0x1f3)](){const _0x397be4=_0x188a82;return this[_0x397be4(0x204)]+=_0x397be4(0x211),this;}['scheme'](_0x386fb1){const _0x1f73db=_0x188a82;return this[_0x1f73db(0x204)]+=_0x1f73db(0x1fa)+_0x386fb1,this;}[_0x188a82(0x1ec)](_0x3b7988){const _0x4e80d0=_0x188a82;return this[_0x4e80d0(0x204)]+=_0x4e80d0(0x1f4)+_0x3b7988+_0x4e80d0(0x206),this;}[_0x188a82(0x1e4)](){const _0x59862f=_0x188a82;return this[_0x59862f(0x204)]+=_0x59862f(0x20d),this;}[_0x188a82(0x1ee)](_0x34c41a){const _0x5031a7=_0x188a82;return this['line']+=_0x5031a7(0x207)+_0x34c41a+'\x27',this;}[_0x188a82(0x1eb)](_0x52a031,_0x2e0a2a,_0x4ca0f5){const _0x13a9f0=_0x188a82;return this[_0x13a9f0(0x204)]+=_0x13a9f0(0x1ff)+_0x52a031+_0x13a9f0(0x1ed)+_0x2e0a2a+_0x13a9f0(0x1e1)+_0x4ca0f5,this;}[_0x188a82(0x1fb)](){const _0x3c5b1d=_0x188a82;return this[_0x3c5b1d(0x204)]+='\x20clean',this;}}exports[_0x188a82(0x201)]=XcodebuildCMD;
1
+ 'use strict';const _0x2b6eb1=_0x2a31;(function(_0x27d770,_0x40e2e2){const _0x57c350=_0x2a31,_0x4d3ac0=_0x27d770();while(!![]){try{const _0x302b70=-parseInt(_0x57c350(0xc8))/0x1*(parseInt(_0x57c350(0xca))/0x2)+parseInt(_0x57c350(0xf8))/0x3+-parseInt(_0x57c350(0xe9))/0x4*(-parseInt(_0x57c350(0xe0))/0x5)+parseInt(_0x57c350(0xde))/0x6+parseInt(_0x57c350(0xdb))/0x7+parseInt(_0x57c350(0xef))/0x8+parseInt(_0x57c350(0xd3))/0x9*(-parseInt(_0x57c350(0xe5))/0xa);if(_0x302b70===_0x40e2e2)break;else _0x4d3ac0['push'](_0x4d3ac0['shift']());}catch(_0x221c88){_0x4d3ac0['push'](_0x4d3ac0['shift']());}}}(_0x1c74,0x78f64));function _0x1c74(){const _0x565879=['toString','4847420vpbqEj','destination','list','cwd','2404828LUbRpa','allowProvisioningUpdates','pack.xcarchive','PROJECT_EXPORT_DIRECTORY','PROJECT_BUILD_DIRECTORY','default','5699072TOHhqH','\x20-list','/web-spatial.xcodeproj','copyDir','web-spatial','defineProperty','project','path','xcodebuild','1247382UMRqry','archive','\x20-allowProvisioningUpdates','start\x20archive','clean','ARCHIVE\x20SUCCEEDED','scheme','start\x20export','1mSMvja','XcodebuildCMD','1130966QQxWOX','\x20-project\x20','./pack','\x20clean','existsSync','line','join','PROJECT_DIRECTORY','-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------','18hMKtNo','\x20-destination\x20\x27','\x20-exportPath\x20','\x20-exportOptionsPlist\x20','log','../resource','indexOf','child_process','302967qnPEyN','mkdirSync','\x20-scheme\x20','1546566ezrMMP','semver','5GLZWNv','output','\x20-archivePath\x20','../resource/file'];_0x1c74=function(){return _0x565879;};return _0x1c74();}Object[_0x2b6eb1(0xf4)](exports,'__esModule',{'value':!![]}),exports[_0x2b6eb1(0xc9)]=void 0x0;const fs=require('fs'),path_1=require(_0x2b6eb1(0xf6)),resource_1=require(_0x2b6eb1(0xd8)),semver_1=require(_0x2b6eb1(0xdf)),file_1=require(_0x2b6eb1(0xe3)),{execSync,exec}=require(_0x2b6eb1(0xda));class Xcodebuild{static async[_0x2b6eb1(0xf5)](){const _0x37997c=_0x2b6eb1;try{await new Promise((_0x272d01,_0x29e18a)=>{const _0x5a575d=_0x2a31,_0x4176d=resource_1['PROJECT_DIRECTORY']+_0x5a575d(0xf1),_0x48599f=execSync(new XcodebuildCMD()[_0x5a575d(0xf5)](_0x4176d)[_0x5a575d(0xe7)]()[_0x5a575d(0xcf)]);console[_0x5a575d(0xd7)](_0x48599f[_0x5a575d(0xe4)]()),_0x272d01(_0x48599f);});}catch(_0x332914){console[_0x37997c(0xd7)](_0x332914);}}static async[_0x2b6eb1(0xe7)](){const _0x35cae7=_0x2b6eb1;try{await new Promise((_0x47d886,_0x47167d)=>{const _0xcfdb10=_0x2a31,_0x51b5f3=resource_1[_0xcfdb10(0xd1)]+_0xcfdb10(0xf1),_0x3656f5=execSync(new XcodebuildCMD()['project'](_0x51b5f3)['list']()[_0xcfdb10(0xcf)]);console[_0xcfdb10(0xd7)](_0x3656f5['toString']()),_0x47d886(_0x3656f5);});}catch(_0x9eaff2){console[_0x35cae7(0xd7)](_0x9eaff2);}}static async[_0x2b6eb1(0xf9)](_0x359775){const _0x37278e=_0x2b6eb1;try{return console[_0x37278e(0xd7)](_0x37278e(0xfb)),!fs[_0x37278e(0xce)](resource_1[_0x37278e(0xec)])&&fs[_0x37278e(0xdc)](resource_1['PROJECT_EXPORT_DIRECTORY'],{'recursive':!![]}),await new Promise((_0x4f8a30,_0x469628)=>{const _0x4445cf=_0x37278e,_0x1cdf2d=resource_1[_0x4445cf(0xd1)]+_0x4445cf(0xf1),_0x3637a7=execSync(new XcodebuildCMD()[_0x4445cf(0xf5)](_0x1cdf2d)[_0x4445cf(0xc6)](_0x4445cf(0xf3))[_0x4445cf(0xf9)]((0x0,path_1[_0x4445cf(0xd0)])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x4445cf(0xcc)))[_0x4445cf(0xfc)]()[_0x4445cf(0xcf)]);let _0x39a404=_0x3637a7['toString']();if(_0x39a404['indexOf'](_0x4445cf(0xc5))>0x0){console[_0x4445cf(0xd7)](_0x4445cf(0xd2)),console[_0x4445cf(0xd7)](_0x4445cf(0xc7));const _0x312d07=execSync(new XcodebuildCMD()[_0x4445cf(0xe1)]((0x0,path_1[_0x4445cf(0xd0)])(resource_1[_0x4445cf(0xed)],_0x4445cf(0xeb)),resource_1[_0x4445cf(0xec)],(0x0,path_1[_0x4445cf(0xd0)])(resource_1['PROJECT_BUILD_DIRECTORY'],'ExportOptions.plist'))[_0x4445cf(0xea)]()[_0x4445cf(0xcf)]);_0x39a404=_0x312d07[_0x4445cf(0xe4)]();if(_0x39a404[_0x4445cf(0xd9)]('EXPORT\x20SUCCEEDED')>0x0){if(_0x359775){const _0x9e0044=(0x0,path_1[_0x4445cf(0xd0)])(process[_0x4445cf(0xe8)](),_0x359775);!fs[_0x4445cf(0xce)](_0x9e0044)&&fs['mkdirSync'](_0x9e0044,{'recursive':!![]}),(0x0,file_1[_0x4445cf(0xf2)])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0x9e0044);}console[_0x4445cf(0xd7)]('-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------'),_0x4f8a30(!![]);}(0x0,semver_1[_0x4445cf(0xfc)])(resource_1['PROJECT_BUILD_DIRECTORY']);}_0x4f8a30(![]);});}catch(_0x3389c6){console['log'](_0x3389c6);}}}function _0x2a31(_0x2d5cb6,_0x1de8ea){const _0x1c74e4=_0x1c74();return _0x2a31=function(_0x2a31b8,_0x208c73){_0x2a31b8=_0x2a31b8-0xc5;let _0x5d573b=_0x1c74e4[_0x2a31b8];return _0x5d573b;},_0x2a31(_0x2d5cb6,_0x1de8ea);}exports[_0x2b6eb1(0xee)]=Xcodebuild;class XcodebuildCMD{constructor(){const _0x1fd042=_0x2b6eb1;this[_0x1fd042(0xcf)]=_0x1fd042(0xf7);}[_0x2b6eb1(0xf5)](_0x1417a1){const _0x11a175=_0x2b6eb1;return this[_0x11a175(0xcf)]+=_0x11a175(0xcb)+_0x1417a1,this;}[_0x2b6eb1(0xe7)](){const _0x2908a1=_0x2b6eb1;return this[_0x2908a1(0xcf)]+=_0x2908a1(0xf0),this;}[_0x2b6eb1(0xc6)](_0x25684a){const _0x15d89e=_0x2b6eb1;return this['line']+=_0x15d89e(0xdd)+_0x25684a,this;}[_0x2b6eb1(0xf9)](_0x4ec5f1){const _0x50c5ce=_0x2b6eb1;return this[_0x50c5ce(0xcf)]+=_0x50c5ce(0xe2)+_0x4ec5f1+'\x20archive',this;}[_0x2b6eb1(0xea)](){const _0x148409=_0x2b6eb1;return this[_0x148409(0xcf)]+=_0x148409(0xfa),this;}[_0x2b6eb1(0xe6)](_0x492d79){const _0x1113a7=_0x2b6eb1;return this[_0x1113a7(0xcf)]+=_0x1113a7(0xd4)+_0x492d79+'\x27',this;}[_0x2b6eb1(0xe1)](_0x425b3f,_0x6ab20d,_0x58d3f4){const _0x58c51a=_0x2b6eb1;return this[_0x58c51a(0xcf)]+='\x20-exportArchive\x20-archivePath\x20'+_0x425b3f+_0x58c51a(0xd5)+_0x6ab20d+_0x58c51a(0xd6)+_0x58d3f4,this;}['clean'](){const _0x414e73=_0x2b6eb1;return this[_0x414e73(0xcf)]+=_0x414e73(0xcd),this;}}exports['XcodebuildCMD']=XcodebuildCMD;
@@ -1 +1 @@
1
- 'use strict';function _0x448c(){const _0x4434a0=['BACK_APPICON_DIRECTORY','pbxTargetByName','resizability','1280','false','mkdirSync','SceneHeight','includes','protocol','SceneWidth','PROJECT_BUILD_DIRECTORY','icon.png','icon','enterprise','\x22),','stringify','MIDDLE_APPICON_DIRECTORY','length','303635BUvAUj','AppID','pbxXCBuildConfigurationSection','START_URL','manifestSwiftTemplate','objects','width','\x22,\x20url:\x20\x22','scope','11496oEweet','PBXGroup','325814rJHuXM','53290xBLLFa','display','buildConfigurations','release-testing','SceneResizability','updateTeamId','modify','image/','defaultSize','../resource','writeFileSync','475878YZnTZh','1384075czQlrk','loadJsonFromDisk','updateProductName','2310240LXUhXU','YOURTEAMID','project','USE_MAIN_SCENE','SCOPE','891CWvzpp','push','ExportOptions.plist','test','replace','modifySwift','protocol_handlers','54HdLQbn','writeAsync','<string>','app-store-connect','4EjsheX','defineProperty','updateBuildProperty','fixProjectFunction','manifestInfo','join','hash','buildConfigurationList','./web-spatial/Info.plist','../resource/load','teamId','path','.standalone','updateVersion','existsSync','buildSettings','object','mainScene','getMIME','60pblzXL','updateDeeplink','icon.','\x22automatic\x22','AppName','log','pbxGroupByName','</string>','__esModule','filename','images','debugging','./manifestSwiftTemplate','buildType','updateExportOptions','2009ingJbv','version','minimal-ui','./web-spatial/libs/webView/manifest.swift','pbxXCConfigurationList','.minimal','start_url','createImg','name','url','<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>destination</key>\x0a\x09<string>export</string>\x0a\x09<key>method</key>\x0a\x09<string>BUILDTYPE</string>\x0a\x09<key>signingStyle</key>\x0a\x09<string>automatic</string>\x0a\x09<key>stripSwiftSymbols</key>\x0a\x09<true/>\x0a\x09<key>teamID</key>\x0a\x09<string>YOURTEAMID</string>\x0a\x09<key>thinning</key>\x0a\x09<string>&lt;none&gt;</string>\x0a</dict>\x0a</plist>','bindIcon','DEEPLINK','Contents.json','bindManifestInfo','PROJECT_DIRECTORY','../resource/imageHelper','writeSync'];_0x448c=function(){return _0x4434a0;};return _0x448c();}const _0x5a9efa=_0x497b;(function(_0x519a23,_0x157a13){const _0x5a0fa0=_0x497b,_0x5cd4ba=_0x519a23();while(!![]){try{const _0x14b697=parseInt(_0x5a0fa0(0x117))/0x1*(parseInt(_0x5a0fa0(0x137))/0x2)+parseInt(_0x5a0fa0(0x123))/0x3+parseInt(_0x5a0fa0(0x127))/0x4+-parseInt(_0x5a0fa0(0x10c))/0x5*(parseInt(_0x5a0fa0(0x133))/0x6)+parseInt(_0x5a0fa0(0xe8))/0x7*(-parseInt(_0x5a0fa0(0x115))/0x8)+-parseInt(_0x5a0fa0(0x12c))/0x9*(-parseInt(_0x5a0fa0(0x118))/0xa)+-parseInt(_0x5a0fa0(0x124))/0xb*(parseInt(_0x5a0fa0(0x14a))/0xc);if(_0x14b697===_0x157a13)break;else _0x5cd4ba['push'](_0x5cd4ba['shift']());}catch(_0x409499){_0x5cd4ba['push'](_0x5cd4ba['shift']());}}}(_0x448c,0x4fe82));function _0x497b(_0x92894f,_0x1bfb7a){const _0x448c9f=_0x448c();return _0x497b=function(_0x497bb9,_0x2daca1){_0x497bb9=_0x497bb9-0xe3;let _0x229ddd=_0x448c9f[_0x497bb9];return _0x229ddd;},_0x497b(_0x92894f,_0x1bfb7a);}Object[_0x5a9efa(0x138)](exports,_0x5a9efa(0x152),{'value':!![]});const fs=require('fs'),resource_1=require(_0x5a9efa(0x121)),path_1=require(_0x5a9efa(0x142)),load_1=require(_0x5a9efa(0x140)),imageHelper_1=require(_0x5a9efa(0xf8)),manifestSwiftTemplate_1=require(_0x5a9efa(0xe5)),xcode=require('xcode'),exportOptionsXML=_0x5a9efa(0xf2),infoPlistXML='<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>ITSAppUsesNonExemptEncryption</key>\x0a\x09<false/>\x0a\x09<key>CFBundleURLTypes</key>\x0a\x09<array>\x0a\x09\x09<dict>\x0a\x09\x09\x09<key>CFBundleURLName</key>\x0a\x09\x09\x09<string>web-spatial</string>\x0a\x09\x09\x09<key>CFBundleURLSchemes</key>\x0a\x09\x09\x09<array>\x0a\x09\x09\x09\x09DEEPLINK\x0a\x09\x09\x09</array>\x0a\x09\x09</dict>\x0a\x09</array>\x0a\x09<key>NSAppTransportSecurity</key>\x0a\x09<dict>\x0a\x09\x09<key>NSAllowsArbitraryLoads</key>\x0a\x09\x09<true/>\x0a\x09</dict>\x0a\x09<key>UIApplicationSceneManifest</key>\x0a\x09<dict>\x0a\x09\x09<key>UIApplicationPreferredDefaultSceneSessionRole</key>\x0a\x09\x09<string>UIWindowSceneSessionRoleApplication</string>\x0a\x09\x09<key>UIApplicationSupportsMultipleScenes</key>\x0a\x09\x09<true/>\x0a\x09\x09<key>UISceneConfigurations</key>\x0a\x09\x09<dict/>\x0a\x09</dict>\x0a</dict>\x0a</plist>\x0a';let useExportOptionsXML='';class XcodeProject{static async[_0x5a9efa(0x11e)](_0x2e1534,_0x28c067){const _0x3a3bf5=_0x5a9efa;let _0x1dc741=xcode[_0x3a3bf5(0x129)](_0x2e1534);this[_0x3a3bf5(0x13a)](_0x1dc741),_0x1dc741['parseSync']();let _0x219399=_0x28c067[_0x3a3bf5(0xe6)];const _0x2bd3e5=['release-testing',_0x3a3bf5(0x136),_0x3a3bf5(0xe4),_0x3a3bf5(0x107)];useExportOptionsXML=exportOptionsXML[_0x3a3bf5(0x130)]('BUILDTYPE',_0x2bd3e5[_0x3a3bf5(0x101)](_0x219399)?_0x219399:_0x3a3bf5(0x11b));_0x28c067['teamId']&&this['updateTeamId'](_0x1dc741,_0x28c067[_0x3a3bf5(0x141)]);this[_0x3a3bf5(0xe7)](),await this['bindIcon'](_0x28c067[_0x3a3bf5(0x106)]),this[_0x3a3bf5(0xf6)](_0x1dc741,_0x28c067[_0x3a3bf5(0x13b)]['json']);_0x28c067[_0x3a3bf5(0xe9)]?this['updateVersion'](_0x1dc741,_0x28c067[_0x3a3bf5(0xe9)]):this[_0x3a3bf5(0x144)](_0x1dc741,'1.0');try{fs['writeFileSync'](_0x2e1534,_0x1dc741[_0x3a3bf5(0xf9)]());}catch(_0x45fd00){console[_0x3a3bf5(0x14f)](_0x45fd00);}}static['fixProjectFunction'](_0x51896f){const _0x54f45b=_0x5a9efa;_0x51896f[_0x54f45b(0x150)]=function(_0xf2544e){const _0x31dd17=_0x54f45b;var _0x470484=this[_0x31dd17(0x13d)][_0x31dd17(0x129)][_0x31dd17(0x111)][_0x31dd17(0x116)],_0x5d32f5,_0x537ccd;for(_0x5d32f5 in _0x470484){if(!/_comment$/[_0x31dd17(0x12f)](_0x5d32f5))continue;if(_0x470484[_0x5d32f5]==_0xf2544e)return _0x537ccd=_0x5d32f5['split'](/_comment$/)[0x0],_0x470484[_0x537ccd];}return![];},_0x51896f[_0x54f45b(0x139)]=function(_0x161cd4,_0x3e15d2,_0x33b699,_0x159ee8){const _0x59eaa9=_0x54f45b;let _0x39a8d3=[];const _0x96bda=/_comment$/;if(_0x159ee8){const _0x4d40bb=this[_0x59eaa9(0xfb)](_0x159ee8),_0xb9ad0e=_0x4d40bb&&_0x4d40bb[_0x59eaa9(0x13e)],_0x51e78c=this[_0x59eaa9(0xec)]();for(const _0x4700d6 in _0x51e78c){if(!_0x96bda[_0x59eaa9(0x12f)](_0x4700d6)&&_0xb9ad0e===_0x4700d6){const _0x3e8ebd=_0x51e78c[_0x4700d6][_0x59eaa9(0x11a)];for(const _0x5e643a of _0x3e8ebd){_0x39a8d3[_0x59eaa9(0x12d)](_0x5e643a['value']);}break;}}}var _0x144000=this[_0x59eaa9(0x10e)]();for(var _0x6dd61f in _0x144000){if(!_0x96bda[_0x59eaa9(0x12f)](_0x6dd61f)){if(_0x159ee8&&!_0x39a8d3['includes'](_0x6dd61f))continue;var _0x3b5c44=_0x144000[_0x6dd61f];(_0x33b699&&_0x3b5c44[_0x59eaa9(0xf0)]===_0x33b699||!_0x33b699)&&_0x3b5c44[_0x59eaa9(0x146)][_0x161cd4]&&(_0x3b5c44[_0x59eaa9(0x146)][_0x161cd4]=_0x3e15d2);}}};}static async[_0x5a9efa(0xf3)](_0x50f9e8){const _0x142edd=_0x5a9efa;if(_0x50f9e8){const _0x20f247=(0x0,path_1[_0x142edd(0x13c)])(resource_1[_0x142edd(0xf7)],resource_1[_0x142edd(0xfa)]),_0x1719e6=(0x0,path_1[_0x142edd(0x13c)])(_0x20f247,_0x142edd(0xf5)),_0x45c8bb=_0x142edd(0x14c)+_0x50f9e8[_0x142edd(0x149)]()[_0x142edd(0x130)](_0x142edd(0x11f),''),_0x149b99=(0x0,path_1[_0x142edd(0x13c)])(_0x20f247,_0x45c8bb);let _0x53ef50=await(0x0,load_1[_0x142edd(0x125)])(_0x1719e6);_0x53ef50['images'][0x0][_0x142edd(0x153)]=_0x45c8bb,await _0x50f9e8[_0x142edd(0x134)](_0x149b99),await fs[_0x142edd(0x122)](_0x1719e6,JSON['stringify'](_0x53ef50));const _0x2e3980=(0x0,path_1[_0x142edd(0x13c)])(resource_1[_0x142edd(0xf7)],resource_1[_0x142edd(0x10a)]),_0x310290=(0x0,path_1[_0x142edd(0x13c)])(_0x2e3980,'Contents.json'),_0x598516=_0x142edd(0x105),_0x4b8ef3=(0x0,path_1[_0x142edd(0x13c)])(_0x2e3980,_0x598516);let _0x5a834f=await(0x0,load_1['loadJsonFromDisk'])(_0x310290),_0x16a8c9=imageHelper_1['ImageHelper'][_0x142edd(0xef)](0x200);_0x5a834f[_0x142edd(0xe3)][0x0][_0x142edd(0x153)]=_0x598516,await _0x16a8c9[_0x142edd(0x134)](_0x4b8ef3),await fs[_0x142edd(0x122)](_0x310290,JSON[_0x142edd(0x109)](_0x5a834f));}}static[_0x5a9efa(0x11d)](_0x3789d8,_0x10fb90){const _0xfc3672=_0x5a9efa;_0x3789d8[_0xfc3672(0x139)]('DEVELOPMENT_TEAM',_0x10fb90),useExportOptionsXML=useExportOptionsXML['replace'](_0xfc3672(0x128),_0x10fb90);}static[_0x5a9efa(0xe7)](){const _0x57973e=_0x5a9efa;!fs[_0x57973e(0x145)](resource_1[_0x57973e(0x104)])&&fs[_0x57973e(0xff)](resource_1[_0x57973e(0x104)],{'recursive':!![]}),fs[_0x57973e(0x122)]((0x0,path_1[_0x57973e(0x13c)])(resource_1[_0x57973e(0x104)],_0x57973e(0x12e)),useExportOptionsXML);}static[_0x5a9efa(0xf6)](_0x23ad54,_0x2cfe7f){const _0x2878f6=_0x5a9efa;var _0x3adc62;_0x23ad54[_0x2878f6(0x126)](_0x2cfe7f[_0x2878f6(0xf0)]),_0x23ad54['updateBuildProperty']('PRODUCT_BUNDLE_IDENTIFIER','\x22'+_0x2cfe7f['id']+'\x22'),this[_0x2878f6(0x14b)]((_0x3adc62=_0x2cfe7f[_0x2878f6(0x132)])!==null&&_0x3adc62!==void 0x0?_0x3adc62:[]),this[_0x2878f6(0x131)](_0x2cfe7f);}static[_0x5a9efa(0x144)](_0x601532,_0x4a36f1){const _0x1d8a7a=_0x5a9efa;_0x601532[_0x1d8a7a(0x139)]('CURRENT_PROJECT_VERSION',_0x4a36f1);}static[_0x5a9efa(0x14b)](_0x1a05d8){const _0x59c113=_0x5a9efa;let _0x3862e6=(0x0,path_1[_0x59c113(0x13c)])(resource_1[_0x59c113(0xf7)],_0x59c113(0x13f)),_0x5afc0b='';for(let _0x5d67c1=0x0;_0x5d67c1<_0x1a05d8['length'];_0x5d67c1++){_0x5afc0b+=_0x59c113(0x135)+_0x1a05d8[_0x5d67c1]['protocol']+_0x59c113(0x151);}const _0x269ee7=infoPlistXML['replace'](_0x59c113(0xf4),_0x5afc0b);fs[_0x59c113(0x122)](_0x3862e6,_0x269ee7);}static[_0x5a9efa(0x131)](_0x56a9a4){const _0x3635e7=_0x5a9efa,_0x21af6b=(0x0,path_1[_0x3635e7(0x13c)])(resource_1[_0x3635e7(0xf7)],_0x3635e7(0xeb));let _0x249816=manifestSwiftTemplate_1[_0x3635e7(0x110)];_0x249816=_0x249816['replace'](_0x3635e7(0x10f),_0x56a9a4[_0x3635e7(0xee)]),_0x249816=_0x249816['replace'](_0x3635e7(0x12b),_0x56a9a4[_0x3635e7(0x114)]),_0x249816=_0x249816[_0x3635e7(0x130)](_0x3635e7(0x14e),_0x56a9a4[_0x3635e7(0xf0)]),_0x249816=_0x249816[_0x3635e7(0x130)]('Description',_0x56a9a4['description']),_0x249816=_0x249816[_0x3635e7(0x130)](_0x3635e7(0x10d),_0x56a9a4['id']),_0x249816=_0x249816[_0x3635e7(0x130)](_0x3635e7(0xed),_0x56a9a4[_0x3635e7(0x119)]==_0x3635e7(0xea)?_0x3635e7(0xed):_0x3635e7(0x143));if(_0x56a9a4[_0x3635e7(0x132)]){let _0x49f5da='';for(let _0x117943=0x0;_0x117943<_0x56a9a4[_0x3635e7(0x132)][_0x3635e7(0x10b)];_0x117943++){_0x49f5da+='PWAProtocol(protocolValue:\x20\x22'+_0x56a9a4['protocol_handlers'][_0x117943][_0x3635e7(0x102)]+_0x3635e7(0x113)+_0x56a9a4['protocol_handlers'][_0x117943][_0x3635e7(0xf1)]+_0x3635e7(0x108);}_0x249816=_0x249816[_0x3635e7(0x130)]('PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)',_0x49f5da);}typeof _0x56a9a4['mainScene']===_0x3635e7(0x147)?(_0x249816=_0x249816[_0x3635e7(0x130)](_0x3635e7(0x103),_0x56a9a4['mainScene']['defaultSize'][_0x3635e7(0x112)]),_0x249816=_0x249816[_0x3635e7(0x130)]('SceneHeight',_0x56a9a4[_0x3635e7(0x148)][_0x3635e7(0x120)]['height']),_0x249816=_0x249816['replace'](_0x3635e7(0x11c),'\x22'+_0x56a9a4[_0x3635e7(0x148)][_0x3635e7(0xfc)]+'\x22'),_0x249816=_0x249816[_0x3635e7(0x130)](_0x3635e7(0x12a),'true')):(_0x249816=_0x249816[_0x3635e7(0x130)](_0x3635e7(0x103),'1280'),_0x249816=_0x249816[_0x3635e7(0x130)](_0x3635e7(0x100),_0x3635e7(0xfd)),_0x249816=_0x249816[_0x3635e7(0x130)]('SceneResizability',_0x3635e7(0x14d)),_0x249816=_0x249816[_0x3635e7(0x130)]('USE_MAIN_SCENE',_0x3635e7(0xfe))),fs['writeFileSync'](_0x21af6b,_0x249816,'utf-8');}}exports['default']=XcodeProject;
1
+ 'use strict';function _0x7937(_0xc75e6c,_0x566b98){const _0x51adef=_0x51ad();return _0x7937=function(_0x79370,_0x3add16){_0x79370=_0x79370-0x199;let _0x310a59=_0x51adef[_0x79370];return _0x310a59;},_0x7937(_0xc75e6c,_0x566b98);}const _0x18380c=_0x7937;(function(_0x50e1fd,_0x4928a2){const _0x59cbe8=_0x7937,_0x75f907=_0x50e1fd();while(!![]){try{const _0x59c885=parseInt(_0x59cbe8(0x1de))/0x1*(-parseInt(_0x59cbe8(0x1db))/0x2)+-parseInt(_0x59cbe8(0x1dd))/0x3*(-parseInt(_0x59cbe8(0x1ab))/0x4)+-parseInt(_0x59cbe8(0x1af))/0x5+parseInt(_0x59cbe8(0x1bf))/0x6+-parseInt(_0x59cbe8(0x1f8))/0x7*(-parseInt(_0x59cbe8(0x1b6))/0x8)+parseInt(_0x59cbe8(0x1f7))/0x9+parseInt(_0x59cbe8(0x1da))/0xa*(-parseInt(_0x59cbe8(0x1ae))/0xb);if(_0x59c885===_0x4928a2)break;else _0x75f907['push'](_0x75f907['shift']());}catch(_0x1b08bb){_0x75f907['push'](_0x75f907['shift']());}}}(_0x51ad,0x91c36));function _0x51ad(){const _0x1000ea=['buildSettings','PWAProtocol(protocolValue:\x20\x22','7951432UqrtyG','app-store-connect','MIDDLE_APPICON_DIRECTORY','path','.minimal','buildConfigurationList','version','images','\x22automatic\x22','207594QFIxGe','updateDeeplink','log','debugging','existsSync','json','bindManifestInfo','updateVersion','pbxXCBuildConfigurationSection','enterprise','defineProperty','modify','value','teamId','PBXGroup','DEVELOPMENT_TEAM','PRODUCT_BUNDLE_IDENTIFIER','split','description','protocol','Contents.json','./manifestSwiftTemplate','name','createImg','writeAsync','icon.','object','536970lOCtIv','2wcwTLf','objects','411nxMyKr','281605NGaKsd','writeSync','SceneWidth','push','url','buildType','./web-spatial/libs/webView/manifest.swift','updateExportOptions','release-testing','SceneResizability','mainScene','PROJECT_BUILD_DIRECTORY','updateProductName','\x22),','xcode','pbxGroupByName','START_URL','../resource/load','1.0','</string>','<string>','loadJsonFromDisk','updateBuildProperty','join','icon.png','3614382oGqxik','7GeaMpw','modifySwift','project','display','replace','default','../resource','pbxXCConfigurationList','USE_MAIN_SCENE','PROJECT_DIRECTORY','manifestSwiftTemplate','1280','ExportOptions.plist','length','updateTeamId','image/','SceneHeight','icon','stringify','includes','protocol_handlers','test','scope','filename','bindIcon','height','defaultSize','25008OXEdRr','writeFileSync','ImageHelper','231sVVVGh','1401810UuWYkZ','BUILDTYPE','AppName','DEEPLINK','fixProjectFunction'];_0x51ad=function(){return _0x1000ea;};return _0x51ad();}Object[_0x18380c(0x1c9)](exports,'__esModule',{'value':!![]});const fs=require('fs'),resource_1=require(_0x18380c(0x1fe)),path_1=require(_0x18380c(0x1b9)),load_1=require(_0x18380c(0x1ef)),imageHelper_1=require('../resource/imageHelper'),manifestSwiftTemplate_1=require(_0x18380c(0x1d4)),xcode=require(_0x18380c(0x1ec)),exportOptionsXML='<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>destination</key>\x0a\x09<string>export</string>\x0a\x09<key>method</key>\x0a\x09<string>BUILDTYPE</string>\x0a\x09<key>signingStyle</key>\x0a\x09<string>automatic</string>\x0a\x09<key>stripSwiftSymbols</key>\x0a\x09<true/>\x0a\x09<key>teamID</key>\x0a\x09<string>YOURTEAMID</string>\x0a\x09<key>thinning</key>\x0a\x09<string>&lt;none&gt;</string>\x0a</dict>\x0a</plist>',infoPlistXML='<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>ITSAppUsesNonExemptEncryption</key>\x0a\x09<false/>\x0a\x09<key>CFBundleURLTypes</key>\x0a\x09<array>\x0a\x09\x09<dict>\x0a\x09\x09\x09<key>CFBundleURLName</key>\x0a\x09\x09\x09<string>web-spatial</string>\x0a\x09\x09\x09<key>CFBundleURLSchemes</key>\x0a\x09\x09\x09<array>\x0a\x09\x09\x09\x09DEEPLINK\x0a\x09\x09\x09</array>\x0a\x09\x09</dict>\x0a\x09</array>\x0a\x09<key>NSAppTransportSecurity</key>\x0a\x09<dict>\x0a\x09\x09<key>NSAllowsArbitraryLoads</key>\x0a\x09\x09<true/>\x0a\x09</dict>\x0a\x09<key>UIApplicationSceneManifest</key>\x0a\x09<dict>\x0a\x09\x09<key>UIApplicationPreferredDefaultSceneSessionRole</key>\x0a\x09\x09<string>UIWindowSceneSessionRoleApplication</string>\x0a\x09\x09<key>UIApplicationSupportsMultipleScenes</key>\x0a\x09\x09<true/>\x0a\x09\x09<key>UISceneConfigurations</key>\x0a\x09\x09<dict/>\x0a\x09</dict>\x0a</dict>\x0a</plist>\x0a';let useExportOptionsXML='';class XcodeProject{static async[_0x18380c(0x1ca)](_0x2d0d4f,_0x2739a5){const _0x523077=_0x18380c;let _0x297f62=xcode[_0x523077(0x1fa)](_0x2d0d4f);this['fixProjectFunction'](_0x297f62),_0x297f62['parseSync']();let _0x29ca41=_0x2739a5[_0x523077(0x1e3)];const _0x136ce6=['release-testing',_0x523077(0x1b7),_0x523077(0x1c2),_0x523077(0x1c8)];useExportOptionsXML=exportOptionsXML[_0x523077(0x1fc)](_0x523077(0x1b0),_0x136ce6[_0x523077(0x1a3)](_0x29ca41)?_0x29ca41:_0x523077(0x1e6));_0x2739a5[_0x523077(0x1cc)]&&this[_0x523077(0x19e)](_0x297f62,_0x2739a5['teamId']);this[_0x523077(0x1e5)](),await this[_0x523077(0x1a8)](_0x2739a5[_0x523077(0x1a1)]),this[_0x523077(0x1c5)](_0x297f62,_0x2739a5['manifestInfo'][_0x523077(0x1c4)]);_0x2739a5[_0x523077(0x1bc)]?this[_0x523077(0x1c6)](_0x297f62,_0x2739a5[_0x523077(0x1bc)]):this[_0x523077(0x1c6)](_0x297f62,_0x523077(0x1f0));try{fs[_0x523077(0x1ac)](_0x2d0d4f,_0x297f62[_0x523077(0x1df)]());}catch(_0x4e1ed3){console[_0x523077(0x1c1)](_0x4e1ed3);}}static[_0x18380c(0x1b3)](_0x5c3cda){const _0x119393=_0x18380c;_0x5c3cda[_0x119393(0x1ed)]=function(_0x453e28){const _0x5526bb=_0x119393;var _0x5586da=this['hash'][_0x5526bb(0x1fa)][_0x5526bb(0x1dc)][_0x5526bb(0x1cd)],_0x5ecd4f,_0x5e132d;for(_0x5ecd4f in _0x5586da){if(!/_comment$/[_0x5526bb(0x1a5)](_0x5ecd4f))continue;if(_0x5586da[_0x5ecd4f]==_0x453e28)return _0x5e132d=_0x5ecd4f[_0x5526bb(0x1d0)](/_comment$/)[0x0],_0x5586da[_0x5e132d];}return![];},_0x5c3cda[_0x119393(0x1f4)]=function(_0x25557a,_0x543fa9,_0x42d531,_0x1f6ceb){const _0x790ca2=_0x119393;let _0x5a042a=[];const _0x3b2c05=/_comment$/;if(_0x1f6ceb){const _0x1c2fb2=this['pbxTargetByName'](_0x1f6ceb),_0x427a54=_0x1c2fb2&&_0x1c2fb2[_0x790ca2(0x1bb)],_0x1455ed=this[_0x790ca2(0x1ff)]();for(const _0x1a63e9 in _0x1455ed){if(!_0x3b2c05[_0x790ca2(0x1a5)](_0x1a63e9)&&_0x427a54===_0x1a63e9){const _0xf19187=_0x1455ed[_0x1a63e9]['buildConfigurations'];for(const _0x467e5f of _0xf19187){_0x5a042a[_0x790ca2(0x1e1)](_0x467e5f[_0x790ca2(0x1cb)]);}break;}}}var _0x28740c=this[_0x790ca2(0x1c7)]();for(var _0x5eec23 in _0x28740c){if(!_0x3b2c05[_0x790ca2(0x1a5)](_0x5eec23)){if(_0x1f6ceb&&!_0x5a042a['includes'](_0x5eec23))continue;var _0x5726ac=_0x28740c[_0x5eec23];(_0x42d531&&_0x5726ac[_0x790ca2(0x1d5)]===_0x42d531||!_0x42d531)&&_0x5726ac['buildSettings'][_0x25557a]&&(_0x5726ac[_0x790ca2(0x1b4)][_0x25557a]=_0x543fa9);}}};}static async[_0x18380c(0x1a8)](_0x4e7c28){const _0x4c3b75=_0x18380c;if(_0x4e7c28){const _0x27b6ee=(0x0,path_1[_0x4c3b75(0x1f5)])(resource_1[_0x4c3b75(0x199)],resource_1['BACK_APPICON_DIRECTORY']),_0x536422=(0x0,path_1[_0x4c3b75(0x1f5)])(_0x27b6ee,_0x4c3b75(0x1d3)),_0x42e53d=_0x4c3b75(0x1d8)+_0x4e7c28['getMIME']()['replace'](_0x4c3b75(0x19f),''),_0x5e81b9=(0x0,path_1[_0x4c3b75(0x1f5)])(_0x27b6ee,_0x42e53d);let _0x27a1ec=await(0x0,load_1[_0x4c3b75(0x1f3)])(_0x536422);_0x27a1ec[_0x4c3b75(0x1bd)][0x0][_0x4c3b75(0x1a7)]=_0x42e53d,await _0x4e7c28[_0x4c3b75(0x1d7)](_0x5e81b9),await fs['writeFileSync'](_0x536422,JSON[_0x4c3b75(0x1a2)](_0x27a1ec));const _0x176321=(0x0,path_1[_0x4c3b75(0x1f5)])(resource_1[_0x4c3b75(0x199)],resource_1[_0x4c3b75(0x1b8)]),_0x10ee9c=(0x0,path_1[_0x4c3b75(0x1f5)])(_0x176321,_0x4c3b75(0x1d3)),_0x56db01=_0x4c3b75(0x1f6),_0x59f0c8=(0x0,path_1[_0x4c3b75(0x1f5)])(_0x176321,_0x56db01);let _0x349b13=await(0x0,load_1[_0x4c3b75(0x1f3)])(_0x10ee9c),_0x423fec=imageHelper_1[_0x4c3b75(0x1ad)][_0x4c3b75(0x1d6)](0x200);_0x349b13[_0x4c3b75(0x1bd)][0x0][_0x4c3b75(0x1a7)]=_0x56db01,await _0x423fec[_0x4c3b75(0x1d7)](_0x59f0c8),await fs[_0x4c3b75(0x1ac)](_0x10ee9c,JSON[_0x4c3b75(0x1a2)](_0x349b13));}}static['updateTeamId'](_0x3ef02f,_0x34bd54){const _0x3caa73=_0x18380c;_0x3ef02f[_0x3caa73(0x1f4)](_0x3caa73(0x1ce),_0x34bd54),useExportOptionsXML=useExportOptionsXML[_0x3caa73(0x1fc)]('YOURTEAMID',_0x34bd54);}static[_0x18380c(0x1e5)](){const _0x4886d3=_0x18380c;!fs[_0x4886d3(0x1c3)](resource_1[_0x4886d3(0x1e9)])&&fs['mkdirSync'](resource_1[_0x4886d3(0x1e9)],{'recursive':!![]}),fs['writeFileSync']((0x0,path_1['join'])(resource_1[_0x4886d3(0x1e9)],_0x4886d3(0x19c)),useExportOptionsXML);}static[_0x18380c(0x1c5)](_0x40c042,_0x199e53){const _0x100718=_0x18380c;var _0x25d445;_0x40c042[_0x100718(0x1ea)](_0x199e53[_0x100718(0x1d5)]),_0x40c042[_0x100718(0x1f4)](_0x100718(0x1cf),'\x22'+_0x199e53['id']+'\x22'),this['updateDeeplink']((_0x25d445=_0x199e53[_0x100718(0x1a4)])!==null&&_0x25d445!==void 0x0?_0x25d445:[]),this['modifySwift'](_0x199e53);}static['updateVersion'](_0x372e6b,_0x2d2cb1){_0x372e6b['updateBuildProperty']('CURRENT_PROJECT_VERSION',_0x2d2cb1);}static[_0x18380c(0x1c0)](_0x24fc14){const _0xbf89f4=_0x18380c;let _0x54d375=(0x0,path_1['join'])(resource_1[_0xbf89f4(0x199)],'./web-spatial/Info.plist'),_0x41c4e2='';for(let _0x512fcb=0x0;_0x512fcb<_0x24fc14['length'];_0x512fcb++){_0x41c4e2+=_0xbf89f4(0x1f2)+_0x24fc14[_0x512fcb][_0xbf89f4(0x1d2)]+_0xbf89f4(0x1f1);}const _0x277117=infoPlistXML[_0xbf89f4(0x1fc)](_0xbf89f4(0x1b2),_0x41c4e2);fs[_0xbf89f4(0x1ac)](_0x54d375,_0x277117);}static[_0x18380c(0x1f9)](_0x48fe33){const _0x19a0ee=_0x18380c,_0x2bee8e=(0x0,path_1['join'])(resource_1[_0x19a0ee(0x199)],_0x19a0ee(0x1e4));let _0x5507a6=manifestSwiftTemplate_1[_0x19a0ee(0x19a)];_0x5507a6=_0x5507a6[_0x19a0ee(0x1fc)](_0x19a0ee(0x1ee),_0x48fe33['start_url']),_0x5507a6=_0x5507a6[_0x19a0ee(0x1fc)]('SCOPE',_0x48fe33[_0x19a0ee(0x1a6)]),_0x5507a6=_0x5507a6[_0x19a0ee(0x1fc)](_0x19a0ee(0x1b1),_0x48fe33[_0x19a0ee(0x1d5)]),_0x5507a6=_0x5507a6[_0x19a0ee(0x1fc)]('Description',_0x48fe33[_0x19a0ee(0x1d1)]),_0x5507a6=_0x5507a6[_0x19a0ee(0x1fc)]('AppID',_0x48fe33['id']),_0x5507a6=_0x5507a6[_0x19a0ee(0x1fc)]('.minimal',_0x48fe33[_0x19a0ee(0x1fb)]=='minimal-ui'?_0x19a0ee(0x1ba):'.standalone');if(_0x48fe33[_0x19a0ee(0x1a4)]){let _0x2deaa0='';for(let _0x5e4812=0x0;_0x5e4812<_0x48fe33[_0x19a0ee(0x1a4)][_0x19a0ee(0x19d)];_0x5e4812++){_0x2deaa0+=_0x19a0ee(0x1b5)+_0x48fe33[_0x19a0ee(0x1a4)][_0x5e4812][_0x19a0ee(0x1d2)]+'\x22,\x20url:\x20\x22'+_0x48fe33['protocol_handlers'][_0x5e4812][_0x19a0ee(0x1e2)]+_0x19a0ee(0x1eb);}_0x5507a6=_0x5507a6[_0x19a0ee(0x1fc)]('PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)',_0x2deaa0);}typeof _0x48fe33['mainScene']===_0x19a0ee(0x1d9)?(_0x5507a6=_0x5507a6[_0x19a0ee(0x1fc)](_0x19a0ee(0x1e0),_0x48fe33[_0x19a0ee(0x1e8)][_0x19a0ee(0x1aa)]['width']),_0x5507a6=_0x5507a6['replace'](_0x19a0ee(0x1a0),_0x48fe33[_0x19a0ee(0x1e8)]['defaultSize'][_0x19a0ee(0x1a9)]),_0x5507a6=_0x5507a6[_0x19a0ee(0x1fc)](_0x19a0ee(0x1e7),'\x22'+_0x48fe33[_0x19a0ee(0x1e8)]['resizability']+'\x22'),_0x5507a6=_0x5507a6['replace'](_0x19a0ee(0x200),'true')):(_0x5507a6=_0x5507a6[_0x19a0ee(0x1fc)](_0x19a0ee(0x1e0),_0x19a0ee(0x19b)),_0x5507a6=_0x5507a6[_0x19a0ee(0x1fc)](_0x19a0ee(0x1a0),_0x19a0ee(0x19b)),_0x5507a6=_0x5507a6[_0x19a0ee(0x1fc)]('SceneResizability',_0x19a0ee(0x1be)),_0x5507a6=_0x5507a6[_0x19a0ee(0x1fc)](_0x19a0ee(0x200),'false')),fs[_0x19a0ee(0x1ac)](_0x2bee8e,_0x5507a6,'utf-8');}}exports[_0x18380c(0x1fd)]=XcodeProject;
@@ -1 +1 @@
1
- 'use strict';const _0x559998=_0x2f29;(function(_0x54d6cf,_0x140668){const _0x4264ad=_0x2f29,_0x11f4e5=_0x54d6cf();while(!![]){try{const _0x42701a=parseInt(_0x4264ad(0x127))/0x1*(-parseInt(_0x4264ad(0x135))/0x2)+parseInt(_0x4264ad(0x143))/0x3+-parseInt(_0x4264ad(0x12f))/0x4*(parseInt(_0x4264ad(0x13e))/0x5)+-parseInt(_0x4264ad(0x13a))/0x6+-parseInt(_0x4264ad(0x140))/0x7+-parseInt(_0x4264ad(0x10a))/0x8*(parseInt(_0x4264ad(0x14a))/0x9)+-parseInt(_0x4264ad(0x138))/0xa*(-parseInt(_0x4264ad(0x14c))/0xb);if(_0x42701a===_0x140668)break;else _0x11f4e5['push'](_0x11f4e5['shift']());}catch(_0x490034){_0x11f4e5['push'](_0x11f4e5['shift']());}}}(_0x4716,0x8939a));function _0x4716(){const _0xec1a9d=['trim','253192OoQqNm','\x20--apiIssuer\x20','Apple\x20Vision\x20Pro','3588820NUTSnh','no\x20visionOS\x20simulator\x20found','3561432TmAqba','length','default','list','3849595ozQBgB','verbose','1478246VCEqqq','includes','platform','105438XgOegC','\x20-p\x20','simctl','start\x20building','/test','toString','PROJECT_BUILD_DIRECTORY','9ikZSFP','state','88qaXXVE','split','join','\x20shutdown\x20booted','authApi','\x20launch\x20\x22','uploadApp','\x20--validate-app\x20-f\x20','\x20--apiKey\x20','log','\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id=','name','Shutdown','--\x20visionOS','install','4130136KwdOLN','Booted','appleId','mkdirSync','defineProperty','path','\x20--apple-id\x20','\x20-u\x20','authAccount','xcrun','existsSync','/web-spatial.xcodeproj','\x20--upload-package\x20','\x20altool','line','shutdown','build\x20success','\x20boot\x20\x22','--\x20','altool','PROJECT_DIRECTORY','uploadPackage','\x22\x20\x22','parseListDevices','project','install\x20success','\x20--verbose','validate','child_process','2vQqBrX','\x20--bundle-version\x20','\x20list','deviceId','execSync','find\x20simulator:\x20','launch','visionos','4LEEYmY','launch\x20app','boot','listDevices','Build/Products/Debug-xrsimulator/'];_0x4716=function(){return _0xec1a9d;};return _0x4716();}Object[_0x559998(0x10e)](exports,'__esModule',{'value':!![]});function _0x2f29(_0x4652ea,_0x643b4e){const _0x4716ae=_0x4716();return _0x2f29=function(_0x2f2932,_0x139094){_0x2f2932=_0x2f2932-0x102;let _0xcf36bb=_0x4716ae[_0x2f2932];return _0xcf36bb;},_0x2f29(_0x4652ea,_0x643b4e);}const child_process_1=require(_0x559998(0x126)),resource_1=require('../resource'),path_1=require(_0x559998(0x10f)),fs=require('fs'),xcodebuild_1=require('./xcodebuild');class Xcrun{static async[_0x559998(0x125)](_0x1653b7,_0x577457,_0x477653,_0x4faab2){const _0xb0a0c2=_0x559998,_0x5f05be=new XcrunCMD()['altool']();_0x5f05be['validate'](_0x1653b7);_0x4faab2?_0x5f05be['authAccount'](_0x577457,_0x477653):_0x5f05be['authApi'](_0x577457,_0x477653);_0x5f05be[_0xb0a0c2(0x142)]('visionos');const _0x36a0c2=(0x0,child_process_1['execSync'])(_0x5f05be[_0xb0a0c2(0x118)]);return _0x36a0c2[_0xb0a0c2(0x148)]();}static async[_0x559998(0x11f)](_0x51bfd3,_0x5db108,_0x32a56e,_0x3ae919,_0x394713){const _0x1f2e00=_0x559998,_0x37b564=new XcrunCMD()[_0x1f2e00(0x11d)]();_0x37b564[_0x1f2e00(0x11f)](_0x51bfd3);_0x394713?_0x37b564['authAccount'](_0x5db108,_0x32a56e):_0x37b564[_0x1f2e00(0x150)](_0x5db108,_0x32a56e);_0x37b564[_0x1f2e00(0x142)](_0x1f2e00(0x12e)),_0x37b564['appleId'](_0x3ae919);const _0x546791=(0x0,child_process_1['execSync'])(_0x37b564['line']);return _0x546791[_0x1f2e00(0x148)]();}static async['uploadApp'](_0x118e97,_0x57183d,_0x1eb41d,_0x2b9b72){const _0x102573=_0x559998,_0x4d7128=new XcrunCMD()[_0x102573(0x11d)]();_0x4d7128[_0x102573(0x152)](_0x118e97);_0x2b9b72?_0x4d7128['authAccount'](_0x57183d,_0x1eb41d):_0x4d7128[_0x102573(0x150)](_0x57183d,_0x1eb41d);_0x4d7128['platform'](_0x102573(0x12e));const _0x385a10=(0x0,child_process_1[_0x102573(0x12b)])(_0x4d7128[_0x102573(0x118)]);return _0x385a10[_0x102573(0x148)]();}static async['runWithSimulator'](_0x2af9f1){const _0x6e94ec=_0x559998;let _0xef85ae=new XcrunCMD()[_0x6e94ec(0x145)]();_0xef85ae[_0x6e94ec(0x132)](_0x6e94ec(0x137));const _0x93f61e=(0x0,child_process_1[_0x6e94ec(0x12b)])(_0xef85ae['line']),_0x68535e=this[_0x6e94ec(0x121)](_0x93f61e[_0x6e94ec(0x148)]());if(_0x68535e['length']===0x0)throw new Error(_0x6e94ec(0x139));let _0x42a115=_0x68535e[0x0];for(let _0xd50085=0x0;_0xd50085<_0x68535e[_0x6e94ec(0x13b)];_0xd50085++){if(_0x68535e[_0xd50085][_0x6e94ec(0x14b)]===_0x6e94ec(0x10b)){_0x42a115=_0x68535e[_0xd50085];break;}}console['log'](_0x6e94ec(0x12c)+_0x42a115[_0x6e94ec(0x12a)]);const _0x42ab67=resource_1[_0x6e94ec(0x11e)]+_0x6e94ec(0x115),_0x57f769=resource_1[_0x6e94ec(0x149)]+_0x6e94ec(0x147);!fs[_0x6e94ec(0x114)](resource_1[_0x6e94ec(0x149)])&&fs[_0x6e94ec(0x10d)](resource_1[_0x6e94ec(0x149)],{'recursive':!![]});!fs[_0x6e94ec(0x114)](_0x57f769)&&fs[_0x6e94ec(0x10d)](_0x57f769,{'recursive':!![]});const _0x35f3dd=new xcodebuild_1['XcodebuildCMD']()[_0x6e94ec(0x122)](_0x42ab67)[_0x6e94ec(0x118)]+(_0x6e94ec(0x105)+_0x42a115['deviceId']+'\x27\x20-derivedDataPath\x20'+_0x57f769);console[_0x6e94ec(0x104)](_0x6e94ec(0x146)),(0x0,child_process_1[_0x6e94ec(0x12b)])(_0x35f3dd),console[_0x6e94ec(0x104)](_0x6e94ec(0x11a));_0x42a115[_0x6e94ec(0x14b)]===_0x6e94ec(0x107)&&(_0xef85ae=new XcrunCMD()[_0x6e94ec(0x145)](),_0xef85ae[_0x6e94ec(0x131)](_0x42a115['deviceId']),(0x0,child_process_1[_0x6e94ec(0x12b)])(_0xef85ae['line']));(0x0,child_process_1[_0x6e94ec(0x12b)])('open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/'),console[_0x6e94ec(0x104)]('installing\x20app');const _0x2527a6=(0x0,path_1[_0x6e94ec(0x14e)])(_0x57f769,_0x6e94ec(0x133)+_0x2af9f1[_0x6e94ec(0x106)]+'.app');_0xef85ae=new XcrunCMD()[_0x6e94ec(0x145)](),_0xef85ae[_0x6e94ec(0x109)](_0x42a115[_0x6e94ec(0x12a)],_0x2527a6),(0x0,child_process_1['execSync'])(_0xef85ae[_0x6e94ec(0x118)]),console[_0x6e94ec(0x104)](_0x6e94ec(0x123)),console['log'](_0x6e94ec(0x130)),_0xef85ae=new XcrunCMD()[_0x6e94ec(0x145)](),_0xef85ae[_0x6e94ec(0x12d)](_0x42a115['deviceId'],_0x2af9f1['id']),(0x0,child_process_1[_0x6e94ec(0x12b)])(_0xef85ae[_0x6e94ec(0x118)]);}static[_0x559998(0x121)](_0x4f0d4c){const _0x2858fb=_0x559998;let _0x3eaea4=_0x4f0d4c['split']('\x0a'),_0x48d8fe=[],_0x26b7ee=-0x1;for(let _0x41ee30=0x0;_0x41ee30<_0x3eaea4[_0x2858fb(0x13b)];_0x41ee30++){if(_0x3eaea4[_0x41ee30][_0x2858fb(0x141)](_0x2858fb(0x108)))_0x26b7ee=_0x41ee30;else{if(_0x26b7ee>0x0){if(_0x3eaea4[_0x41ee30][_0x2858fb(0x141)](_0x2858fb(0x11c)))break;if(_0x3eaea4[_0x41ee30]['length']>0x0){const _0x2c8f7b=_0x3eaea4[_0x41ee30][_0x2858fb(0x14d)]('('),_0x22e8a1={'name':_0x2c8f7b[0x0][_0x2858fb(0x134)](),'deviceId':_0x2c8f7b[0x1][_0x2858fb(0x14d)](')')[0x0][_0x2858fb(0x134)](),'state':_0x2c8f7b[0x2]['split'](')')[0x0][_0x2858fb(0x134)]()};_0x48d8fe['push'](_0x22e8a1);}}}}return _0x48d8fe;}}exports[_0x559998(0x13c)]=Xcrun;class XcrunCMD{constructor(){const _0xd66a28=_0x559998;this['line']=_0xd66a28(0x113);}[_0x559998(0x11d)](){const _0x148e53=_0x559998;return this[_0x148e53(0x118)]+=_0x148e53(0x117),this;}[_0x559998(0x145)](){return this['line']+='\x20simctl',this;}[_0x559998(0x13d)](){const _0x513f08=_0x559998;return this[_0x513f08(0x118)]+=_0x513f08(0x129),this;}[_0x559998(0x132)](_0xf87ad9){const _0x9728f9=_0x559998;return this[_0x9728f9(0x118)]+='\x20list\x20devices\x20\x22'+_0xf87ad9+'\x22',this;}['validate'](_0x4df3a9){const _0x1758d=_0x559998;return this[_0x1758d(0x118)]+=_0x1758d(0x102)+_0x4df3a9,this;}[_0x559998(0x152)](_0x16ef8d){const _0x1a0eb0=_0x559998;return this[_0x1a0eb0(0x118)]+='\x20--upload-app\x20-f\x20'+_0x16ef8d,this;}[_0x559998(0x11f)](_0x59ac77){const _0x5a128e=_0x559998;return this[_0x5a128e(0x118)]+=_0x5a128e(0x116)+_0x59ac77,this;}[_0x559998(0x112)](_0x4ee7b2,_0x344c96){const _0x54007a=_0x559998;return this['line']+=_0x54007a(0x111)+_0x4ee7b2+_0x54007a(0x144)+_0x344c96,this;}['authApi'](_0xfd54,_0x20e152){const _0x37841a=_0x559998;return this[_0x37841a(0x118)]+=_0x37841a(0x103)+_0xfd54+_0x37841a(0x136)+_0x20e152,this;}[_0x559998(0x10c)](_0x1eae79){const _0xcabdf5=_0x559998;return this['line']+=_0xcabdf5(0x110)+_0x1eae79,this;}[_0x559998(0x142)](_0x1266b7){const _0x383b25=_0x559998;return this[_0x383b25(0x118)]+='\x20-t\x20'+_0x1266b7,this;}['version'](_0x12378b){const _0x2029dc=_0x559998;return this[_0x2029dc(0x118)]+=_0x2029dc(0x128)+_0x12378b,this;}[_0x559998(0x13f)](){const _0x49a4e5=_0x559998;return this['line']+=_0x49a4e5(0x124),this;}[_0x559998(0x119)](){const _0x2c4664=_0x559998;return this[_0x2c4664(0x118)]+=_0x2c4664(0x14f),this;}['boot'](_0x1c0ca6){const _0x17a841=_0x559998;return this['line']+=_0x17a841(0x11b)+_0x1c0ca6+'\x22',this;}[_0x559998(0x109)](_0x6ab6e7,_0x314bf1){const _0x454167=_0x559998;return this[_0x454167(0x118)]+='\x20install\x20\x22'+_0x6ab6e7+_0x454167(0x120)+_0x314bf1+'\x22',this;}['launch'](_0x5190c0,_0x41de1c){const _0x16cfd4=_0x559998;return this[_0x16cfd4(0x118)]+=_0x16cfd4(0x151)+_0x5190c0+_0x16cfd4(0x120)+_0x41de1c+'\x22',this;}}
1
+ 'use strict';const _0x2c8983=_0x2f13;(function(_0x38c5d3,_0x4fa1c6){const _0x37d1d1=_0x2f13,_0x24f473=_0x38c5d3();while(!![]){try{const _0x4e1733=parseInt(_0x37d1d1(0x129))/0x1+-parseInt(_0x37d1d1(0x133))/0x2*(-parseInt(_0x37d1d1(0x13f))/0x3)+-parseInt(_0x37d1d1(0x15c))/0x4+parseInt(_0x37d1d1(0x151))/0x5*(parseInt(_0x37d1d1(0x156))/0x6)+parseInt(_0x37d1d1(0x157))/0x7*(-parseInt(_0x37d1d1(0x13b))/0x8)+-parseInt(_0x37d1d1(0x12e))/0x9+parseInt(_0x37d1d1(0x12c))/0xa;if(_0x4e1733===_0x4fa1c6)break;else _0x24f473['push'](_0x24f473['shift']());}catch(_0x4320da){_0x24f473['push'](_0x24f473['shift']());}}}(_0x4b88,0xb4d35));Object[_0x2c8983(0x171)](exports,_0x2c8983(0x152),{'value':!![]});function _0x2f13(_0x12a286,_0x578505){const _0x4b88aa=_0x4b88();return _0x2f13=function(_0x2f139b,_0x3f725c){_0x2f139b=_0x2f139b-0x11c;let _0x571b23=_0x4b88aa[_0x2f139b];return _0x571b23;},_0x2f13(_0x12a286,_0x578505);}const child_process_1=require(_0x2c8983(0x15e)),resource_1=require(_0x2c8983(0x155)),path_1=require('path'),fs=require('fs'),xcodebuild_1=require('./xcodebuild');class Xcrun{static async[_0x2c8983(0x164)](_0x69051e,_0x1742d3,_0x26fdd3,_0x537a95){const _0x276ef1=_0x2c8983,_0x2fabc=new XcrunCMD()['altool']();_0x2fabc[_0x276ef1(0x164)](_0x69051e);_0x537a95?_0x2fabc[_0x276ef1(0x16c)](_0x1742d3,_0x26fdd3):_0x2fabc[_0x276ef1(0x14e)](_0x1742d3,_0x26fdd3);_0x2fabc[_0x276ef1(0x153)](_0x276ef1(0x143));const _0x2ad87f=(0x0,child_process_1[_0x276ef1(0x150)])(_0x2fabc[_0x276ef1(0x145)]);return _0x2ad87f[_0x276ef1(0x123)]();}static async[_0x2c8983(0x13c)](_0x5ce43a,_0x4272b7,_0x4c0511,_0x3c5b3f,_0x5f4903){const _0x1011a7=_0x2c8983,_0x3d0ff3=new XcrunCMD()[_0x1011a7(0x14c)]();_0x3d0ff3[_0x1011a7(0x13c)](_0x5ce43a);_0x5f4903?_0x3d0ff3[_0x1011a7(0x16c)](_0x4272b7,_0x4c0511):_0x3d0ff3['authApi'](_0x4272b7,_0x4c0511);_0x3d0ff3[_0x1011a7(0x153)](_0x1011a7(0x143)),_0x3d0ff3[_0x1011a7(0x120)](_0x3c5b3f);const _0x4145e5=(0x0,child_process_1['execSync'])(_0x3d0ff3[_0x1011a7(0x145)]);return _0x4145e5[_0x1011a7(0x123)]();}static async[_0x2c8983(0x134)](_0x5411e1,_0x2ecb4c,_0x4f44ca,_0x305182){const _0x164e0f=_0x2c8983,_0xd0e8d3=new XcrunCMD()[_0x164e0f(0x14c)]();_0xd0e8d3[_0x164e0f(0x134)](_0x5411e1);_0x305182?_0xd0e8d3['authAccount'](_0x2ecb4c,_0x4f44ca):_0xd0e8d3[_0x164e0f(0x14e)](_0x2ecb4c,_0x4f44ca);_0xd0e8d3[_0x164e0f(0x153)]('visionos');const _0x4c6323=(0x0,child_process_1[_0x164e0f(0x150)])(_0xd0e8d3[_0x164e0f(0x145)]);return _0x4c6323[_0x164e0f(0x123)]();}static async[_0x2c8983(0x142)](_0x17074b){const _0x30ab1d=_0x2c8983;let _0x171bc9=new XcrunCMD()[_0x30ab1d(0x138)]();_0x171bc9[_0x30ab1d(0x144)](_0x30ab1d(0x11d));const _0x1e2a70=(0x0,child_process_1[_0x30ab1d(0x150)])(_0x171bc9[_0x30ab1d(0x145)]),_0x23d0ec=this[_0x30ab1d(0x11f)](_0x1e2a70[_0x30ab1d(0x123)]());if(_0x23d0ec[_0x30ab1d(0x166)]===0x0)throw new Error('no\x20visionOS\x20simulator\x20found');let _0x32cb1f=_0x23d0ec[0x0];for(let _0x59709d=0x0;_0x59709d<_0x23d0ec[_0x30ab1d(0x166)];_0x59709d++){if(_0x23d0ec[_0x59709d][_0x30ab1d(0x130)]==='Booted'){_0x32cb1f=_0x23d0ec[_0x59709d];break;}}console['log'](_0x30ab1d(0x15f)+_0x32cb1f[_0x30ab1d(0x149)]);const _0xae2330=resource_1['PROJECT_DIRECTORY']+_0x30ab1d(0x170),_0x148acf=resource_1[_0x30ab1d(0x131)]+_0x30ab1d(0x122);!fs[_0x30ab1d(0x13a)](resource_1[_0x30ab1d(0x131)])&&fs[_0x30ab1d(0x140)](resource_1[_0x30ab1d(0x131)],{'recursive':!![]});!fs['existsSync'](_0x148acf)&&fs[_0x30ab1d(0x140)](_0x148acf,{'recursive':!![]});const _0x24dce6=new xcodebuild_1[(_0x30ab1d(0x14d))]()[_0x30ab1d(0x135)](_0xae2330)[_0x30ab1d(0x145)]+(_0x30ab1d(0x16f)+_0x32cb1f[_0x30ab1d(0x149)]+_0x30ab1d(0x163)+_0x148acf);console[_0x30ab1d(0x16a)](_0x30ab1d(0x128)),(0x0,child_process_1[_0x30ab1d(0x150)])(_0x24dce6),console[_0x30ab1d(0x16a)](_0x30ab1d(0x14b));_0x32cb1f['state']===_0x30ab1d(0x15b)&&(_0x171bc9=new XcrunCMD()[_0x30ab1d(0x138)](),_0x171bc9[_0x30ab1d(0x159)](_0x32cb1f[_0x30ab1d(0x149)]),(0x0,child_process_1[_0x30ab1d(0x150)])(_0x171bc9[_0x30ab1d(0x145)]));(0x0,child_process_1[_0x30ab1d(0x150)])(_0x30ab1d(0x12a)),console[_0x30ab1d(0x16a)]('installing\x20app');const _0x4f3d07=(0x0,path_1[_0x30ab1d(0x11c)])(_0x148acf,_0x30ab1d(0x139)+_0x17074b[_0x30ab1d(0x121)]+_0x30ab1d(0x154));_0x171bc9=new XcrunCMD()[_0x30ab1d(0x138)](),_0x171bc9[_0x30ab1d(0x165)](_0x32cb1f[_0x30ab1d(0x149)],_0x4f3d07),(0x0,child_process_1[_0x30ab1d(0x150)])(_0x171bc9[_0x30ab1d(0x145)]),console[_0x30ab1d(0x16a)]('install\x20success'),console['log'](_0x30ab1d(0x132)),_0x171bc9=new XcrunCMD()['simctl'](),_0x171bc9[_0x30ab1d(0x124)](_0x32cb1f[_0x30ab1d(0x149)],_0x17074b['id']),(0x0,child_process_1[_0x30ab1d(0x150)])(_0x171bc9['line']);}static['parseListDevices'](_0xf12a25){const _0x2c9043=_0x2c8983;let _0x4cdbbe=_0xf12a25[_0x2c9043(0x15a)]('\x0a'),_0x435b7f=[],_0x5d193e=-0x1;for(let _0x1500d0=0x0;_0x1500d0<_0x4cdbbe[_0x2c9043(0x166)];_0x1500d0++){if(_0x4cdbbe[_0x1500d0][_0x2c9043(0x125)](_0x2c9043(0x172)))_0x5d193e=_0x1500d0;else{if(_0x5d193e>0x0){if(_0x4cdbbe[_0x1500d0][_0x2c9043(0x125)](_0x2c9043(0x148)))break;if(_0x4cdbbe[_0x1500d0][_0x2c9043(0x166)]>0x0){const _0x173346=_0x4cdbbe[_0x1500d0][_0x2c9043(0x15a)]('('),_0xc72976={'name':_0x173346[0x0]['trim'](),'deviceId':_0x173346[0x1][_0x2c9043(0x15a)](')')[0x0][_0x2c9043(0x14a)](),'state':_0x173346[0x2]['split'](')')[0x0]['trim']()};_0x435b7f[_0x2c9043(0x158)](_0xc72976);}}}}return _0x435b7f;}}function _0x4b88(){const _0x30b6d2=['launch\x20app','2rEeXKG','uploadApp','project','\x20--apple-id\x20','\x20altool','simctl','Build/Products/Debug-xrsimulator/','existsSync','3046696TGXtOq','uploadPackage','\x20shutdown\x20booted','\x20--apiIssuer\x20','1140279qVzfUa','mkdirSync','\x20list','runWithSimulator','visionos','listDevices','line','\x20boot\x20\x22','\x20list\x20devices\x20\x22','--\x20','deviceId','trim','build\x20success','altool','XcodebuildCMD','authApi','xcrun','execSync','1800290fLrDnp','__esModule','platform','.app','../resource','18dxMAvK','14hUxQPH','push','boot','split','Shutdown','3648456nHXMIC','\x22\x20\x22','child_process','find\x20simulator:\x20','\x20--bundle-version\x20','shutdown','\x20launch\x20\x22','\x27\x20-derivedDataPath\x20','validate','install','length','default','\x20--verbose','version','log','\x20--upload-package\x20','authAccount','\x20-u\x20','\x20--apiKey\x20','\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id=','/web-spatial.xcodeproj','defineProperty','--\x20visionOS','join','Apple\x20Vision\x20Pro','\x20install\x20\x22','parseListDevices','appleId','name','/test','toString','launch','includes','\x20--upload-app\x20-f\x20','\x20--validate-app\x20-f\x20','start\x20building','699222PpHoaJ','open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/','\x20-t\x20','12590270OctmQF','list','9036603TSZJGC','\x20simctl','state','PROJECT_BUILD_DIRECTORY'];_0x4b88=function(){return _0x30b6d2;};return _0x4b88();}exports[_0x2c8983(0x167)]=Xcrun;class XcrunCMD{constructor(){const _0x2a5022=_0x2c8983;this['line']=_0x2a5022(0x14f);}['altool'](){const _0x19682b=_0x2c8983;return this[_0x19682b(0x145)]+=_0x19682b(0x137),this;}[_0x2c8983(0x138)](){const _0x3ad220=_0x2c8983;return this[_0x3ad220(0x145)]+=_0x3ad220(0x12f),this;}[_0x2c8983(0x12d)](){const _0x4d09d3=_0x2c8983;return this[_0x4d09d3(0x145)]+=_0x4d09d3(0x141),this;}[_0x2c8983(0x144)](_0xa0d52b){const _0x2c3920=_0x2c8983;return this[_0x2c3920(0x145)]+=_0x2c3920(0x147)+_0xa0d52b+'\x22',this;}[_0x2c8983(0x164)](_0x4a3a5d){const _0x2a0a57=_0x2c8983;return this[_0x2a0a57(0x145)]+=_0x2a0a57(0x127)+_0x4a3a5d,this;}['uploadApp'](_0xbbcb72){const _0x2fdba9=_0x2c8983;return this[_0x2fdba9(0x145)]+=_0x2fdba9(0x126)+_0xbbcb72,this;}[_0x2c8983(0x13c)](_0x3acf49){const _0x47f39c=_0x2c8983;return this[_0x47f39c(0x145)]+=_0x47f39c(0x16b)+_0x3acf49,this;}['authAccount'](_0x12e3d0,_0x8b73fa){const _0x5ed22b=_0x2c8983;return this[_0x5ed22b(0x145)]+=_0x5ed22b(0x16d)+_0x12e3d0+'\x20-p\x20'+_0x8b73fa,this;}[_0x2c8983(0x14e)](_0x511665,_0x4481fb){const _0x54062c=_0x2c8983;return this[_0x54062c(0x145)]+=_0x54062c(0x16e)+_0x511665+_0x54062c(0x13e)+_0x4481fb,this;}['appleId'](_0x1d043b){const _0x1815cf=_0x2c8983;return this[_0x1815cf(0x145)]+=_0x1815cf(0x136)+_0x1d043b,this;}[_0x2c8983(0x153)](_0x437b24){const _0x1e3747=_0x2c8983;return this[_0x1e3747(0x145)]+=_0x1e3747(0x12b)+_0x437b24,this;}[_0x2c8983(0x169)](_0x316556){const _0x15ff41=_0x2c8983;return this[_0x15ff41(0x145)]+=_0x15ff41(0x160)+_0x316556,this;}['verbose'](){const _0x6051d7=_0x2c8983;return this[_0x6051d7(0x145)]+=_0x6051d7(0x168),this;}[_0x2c8983(0x161)](){const _0x11e80c=_0x2c8983;return this[_0x11e80c(0x145)]+=_0x11e80c(0x13d),this;}['boot'](_0x191c76){const _0x1cf682=_0x2c8983;return this['line']+=_0x1cf682(0x146)+_0x191c76+'\x22',this;}[_0x2c8983(0x165)](_0x5baceb,_0x5d99e5){const _0x32cd43=_0x2c8983;return this[_0x32cd43(0x145)]+=_0x32cd43(0x11e)+_0x5baceb+'\x22\x20\x22'+_0x5d99e5+'\x22',this;}[_0x2c8983(0x124)](_0x7dd681,_0x4f0851){const _0x412fa0=_0x2c8983;return this[_0x412fa0(0x145)]+=_0x412fa0(0x162)+_0x7dd681+_0x412fa0(0x15d)+_0x4f0851+'\x22',this;}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webspatial/builder",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "Client CLI tool to Generate XRApp project for Apple Vision Pro",
5
5
  "type": "commonjs",
6
6
  "engines": {
@@ -64,7 +64,7 @@
64
64
  "test1": "npm run build && bin/bundlepwa.js build --manifest=../testLocal/manifest.json --project=../testLocal --export=./export --version=1.0 --teamId=teamId",
65
65
  "test2": "npm run build && bin/bundlepwa.js publish --manifest=../pack-test/pwa_test.json --project=../pack-test --version=1.0 --teamId=teamId --u=username --p=password",
66
66
  "test3": "npm run build && bin/bundlepwa.js publish --name=webspatial --version=1.0 --u=username --p=password",
67
- "test4": "npm run build && bin/bundlepwa.js run --manifest=../pack-test/pwa_test.json --project=../pack-test --base-url=./",
67
+ "test4": "npm run build && bin/bundlepwa.js run",
68
68
  "obfuscate": "node obfuscate.js",
69
69
  "build": "tsc && npm run obfuscate",
70
70
  "build1": "rollup -c ./rollup.config.js",