diff --git a/.gitignore b/.gitignore index 5be1285..28d32cc 100644 --- a/.gitignore +++ b/.gitignore @@ -12,12 +12,6 @@ build/linux-unpacked/ build/win-unpacked/ dist/electron/ # Executables -*.swf -*.air -*.ipa -*.apk -*.deb -*.exe # Project files, i.e. `.project`, `.actionScriptProperties` and `.flexProperties` # should NOT be excluded as they contain compiler settings and other important # information for Eclipse / Flash Builder. diff --git a/build/builder-debug.yml b/build/builder-debug.yml index 96fb8ac..5764f73 100644 --- a/build/builder-debug.yml +++ b/build/builder-debug.yml @@ -17,8 +17,8 @@ x64: - dist/electron/**/* nsis: script: |- - !include "G:\YUANJIE\4.0\node_modules\app-builder-lib\templates\nsis\include\StdUtils.nsh" - !addincludedir "G:\YUANJIE\4.0\node_modules\app-builder-lib\templates\nsis\include" + !include "E:\code\4.0\node_modules\app-builder-lib\templates\nsis\include\StdUtils.nsh" + !addincludedir "E:\code\4.0\node_modules\app-builder-lib\templates\nsis\include" !macro _isUpdated _a _b _t _f ${StdUtils.TestParameter} $R9 "updated" StrCmp "$R9" "true" `${_t}` `${_f}` @@ -90,11 +90,11 @@ nsis: !insertmacro MUI_LANGUAGE "Vietnamese" !macroend - !addincludedir "G:\YUANJIE\4.0\build" - !include "G:\YUANJIE\4.0\installer.nsh" - !addplugindir /x86-unicode "C:\Users\YC\AppData\Local\electron-builder\Cache\nsis\nsis-resources-3.4.1\plugins\x86-unicode" - !include "C:\Users\YC\AppData\Local\Temp\t-BcnJuD\1-messages.nsh" - !include "C:\Users\YC\AppData\Local\Temp\t-BcnJuD\0-messages.nsh" + !addincludedir "E:\code\4.0\build" + !include "E:\code\4.0\installer.nsh" + !include "C:\Users\Administrator\AppData\Local\Temp\t-takdpJ\0-messages.nsh" + !include "C:\Users\Administrator\AppData\Local\Temp\t-takdpJ\1-messages.nsh" + !addplugindir /x86-unicode "C:\Users\Administrator\AppData\Local\electron-builder\Cache\nsis\nsis-resources-3.4.1\plugins\x86-unicode" Var newStartMenuLink Var oldStartMenuLink diff --git a/build/builder-effective-config.yaml b/build/builder-effective-config.yaml index ba6d595..e6699a5 100644 --- a/build/builder-effective-config.yaml +++ b/build/builder-effective-config.yaml @@ -12,8 +12,8 @@ extraFiles: to: ./ffplay - from: ./build/icons/ to: ./icons -productName: 便携式应急指挥电子沙盘系统 -appId: org.dzsp_yingjizhihui_offline_Y_save +productName: 实景三维电子沙盘系统 +appId: org.dzsp_yingjizhihuijunyong_offline_Y_save files: - filter: - dist/electron/**/* @@ -34,7 +34,7 @@ linux: target: deb icon: build/icons/81.png desktop: - Icon: /opt/便携式应急指挥电子沙盘系统/icons/81.png + Icon: /opt/实景三维电子沙盘系统/icons/81.png executableArgs: - '--no-sandbox' nsis: diff --git a/build/便携式应急指挥电子沙盘系统 Setup 4.0.0.exe.blockmap b/build/便携式应急指挥电子沙盘系统 Setup 4.0.0.exe.blockmap deleted file mode 100644 index 63267d0..0000000 Binary files a/build/便携式应急指挥电子沙盘系统 Setup 4.0.0.exe.blockmap and /dev/null differ diff --git a/build/实景三维电子沙盘系统 Setup 4.0.0.exe b/build/实景三维电子沙盘系统 Setup 4.0.0.exe new file mode 100644 index 0000000..d1149d3 Binary files /dev/null and b/build/实景三维电子沙盘系统 Setup 4.0.0.exe differ diff --git a/build/实景三维电子沙盘系统 Setup 4.0.0.exe.blockmap b/build/实景三维电子沙盘系统 Setup 4.0.0.exe.blockmap new file mode 100644 index 0000000..4e1e6cd Binary files /dev/null and b/build/实景三维电子沙盘系统 Setup 4.0.0.exe.blockmap differ diff --git a/config/app_config.js b/config/app_config.js index 963f581..47967b6 100644 --- a/config/app_config.js +++ b/config/app_config.js @@ -1,7 +1,7 @@ -let name = 'dzsp_yingjizhihui_offline_Y_save'; //dzsp_yingjizhihuibeidou_offline_Y_save //dzsp_shijingjiangjin_offline_Y_save // dzsp_shijinghaidong_offline_Y_save //cc ,dzsp_yingjizhihuijunyong_offline_Y_save,dzsp_yingjizhihui_offline_Y_save,dzsp_shijing_offline_Y_save,dzsp_mudanyuan_offline_Y_save,'dzsp_wujingqinwu_offline_Y_save','dzsp_jilingongan_offline_Y_save' -let productName = '便携式应急指挥电子沙盘系统'; //便携式应急指挥电子沙盘系统北斗定位+ //实景三维无人机智能巡检系统 // 海东市自然灾害风险普查可视化分析平台 //便携式应急指挥电子沙盘系统 //便携式应急指挥电子沙盘系统(军用版) //新版4.0//"实景三维电子沙盘系统";//"作战目标数字孪生仿真系统", "实景三维电子沙盘系统" ’牡丹园智慧景区管理系统‘,"武警勤务指挥电子沙盘系统”,"吉林省公安厅三维模型展示平台" -let productName_tw = '可擕式應急指揮電子沙盤系統'; -let productName_en = 'Portable emergency command electronic sand table system'; +let name = 'dzsp_yingjizhihuijunyong_offline_Y_save'; //dzsp_yingjizhihuibeidou_offline_Y_save //dzsp_shijingjiangjin_offline_Y_save // dzsp_shijinghaidong_offline_Y_save //cc ,dzsp_yingjizhihuijunyong_offline_Y_save,dzsp_yingjizhihui_offline_Y_save,dzsp_shijing_offline_Y_save,dzsp_mudanyuan_offline_Y_save,'dzsp_wujingqinwu_offline_Y_save','dzsp_jilingongan_offline_Y_save' +let productName = '实景三维电子沙盘系统'; //便携式应急指挥电子沙盘系统北斗定位+ //实景三维无人机智能巡检系统 // 海东市自然灾害风险普查可视化分析平台 //便携式应急指挥电子沙盘系统 //便携式应急指挥电子沙盘系统(军用版) //新版4.0//"实景三维电子沙盘系统";//"作战目标数字孪生仿真系统", "实景三维电子沙盘系统" ’牡丹园智慧景区管理系统‘,"武警勤务指挥电子沙盘系统”,"吉林省公安厅三维模型展示平台" +let productName_tw = '实景三维电子沙盘系统'; +let productName_en = 'Realistic 3D electronic sand table system'; let obj = { baseApi: "", // 本地api请求地址,注意:如果你使用了代理,请设置成'/' PORT: 8099, diff --git a/dist/electron/main.js b/dist/electron/main.js index acc72fa..97355b2 100644 --- a/dist/electron/main.js +++ b/dist/electron/main.js @@ -1 +1 @@ -module.exports=function(e){function t(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var o={};return t.m=e,t.c=o,t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var o=e&&e.__esModule?function(){return e['default']}:function(){return e};return t.d(o,'a',o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p='',t(t.s=55)}([function(e){var t=e.exports={version:'2.6.12'};'number'==typeof __e&&(__e=t)},function(e){e.exports=require('path')},function(e){var t=e.exports='undefined'!=typeof window&&window.Math==Math?window:'undefined'!=typeof self&&self.Math==Math?self:Function('return this')();'number'==typeof __g&&(__g=t)},function(e,t,o){var n=o(41)('wks'),r=o(29),s=o(2).Symbol,a='function'==typeof s,i=e.exports=function(e){return n[e]||(n[e]=a&&s[e]||(a?s:r)('Symbol.'+e))};i.store=n},function(e,t,o){var n=o(2),r=o(0),s=o(11),a=o(12),i=o(13),l='prototype',d=function(e,t,o){var c,p,u,h=e&d.F,f=e&d.G,m=e&d.S,g=e&d.P,y=e&d.B,b=e&d.W,_=f?r:r[t]||(r[t]={}),x=_[l],E=f?n:m?n[t]:(n[t]||{})[l];for(c in f&&(o=t),o)p=!h&&E&&void 0!==E[c],p&&i(_,c)||(u=p?E[c]:o[c],_[c]=f&&'function'!=typeof E[c]?o[c]:y&&p?s(u,n):b&&E[c]==u?function(e){var t=function(t,o,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,o);}return new e(t,o,n)}return e.apply(this,arguments)};return t[l]=e[l],t}(u):g&&'function'==typeof u?s(Function.call,u):u,g&&((_.virtual||(_.virtual={}))[c]=u,e&d.R&&x&&!x[c]&&a(x,c,u)))};d.F=1,d.G=2,d.S=4,d.P=8,d.B=16,d.W=32,d.U=64,d.R=128,e.exports=d},function(e){e.exports=function(e){return'object'==typeof e?null!==e:'function'==typeof e}},function(e){e.exports=require('fs')},function(e,t,o){var n=o(8),r=o(60),s=o(37),a=Object.defineProperty;t.f=o(9)?Object.defineProperty:function(e,t,o){if(n(e),t=s(t,!0),n(o),r)try{return a(e,t,o)}catch(t){}if('get'in o||'set'in o)throw TypeError('Accessors not supported!');return'value'in o&&(e[t]=o.value),e}},function(e,t,o){var n=o(5);e.exports=function(e){if(!n(e))throw TypeError(e+' is not an object!');return e}},function(e,t,o){e.exports=!o(15)(function(){return 7!=Object.defineProperty({},'a',{get:function(){return 7}}).a})},function(e){e.exports=require('os')},function(e,t,o){var n=o(20);e.exports=function(e,t,o){return(n(e),void 0===t)?e:1===o?function(o){return e.call(t,o)}:2===o?function(o,n){return e.call(t,o,n)}:3===o?function(o,n,r){return e.call(t,o,n,r)}:function(){return e.apply(t,arguments)}}},function(e,t,o){var n=o(7),r=o(27);e.exports=o(9)?function(e,t,o){return n.f(e,t,r(1,o))}:function(e,t,o){return e[t]=o,e}},function(e){var t={}.hasOwnProperty;e.exports=function(e,o){return t.call(e,o)}},function(e){e.exports=require('child_process')},function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e){e.exports={}},function(e,t,o){var n=o(63),r=o(34);e.exports=function(e){return n(r(e))}},function(e,t,o){'use strict';var n=o(95)(!0);o(35)(String,'String',function(e){this._t=e+'',this._i=0},function(){var e,t=this._t,o=this._i;return o>=t.length?{value:void 0,done:!0}:(e=n(t,o),this._i+=e.length,{value:e,done:!1})})},function(e){e.exports=!0},function(e){e.exports=function(e){if('function'!=typeof e)throw TypeError(e+' is not a function!');return e}},function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},function(e,t,o){var n=o(7).f,r=o(13),s=o(3)('toStringTag');e.exports=function(e,t,o){e&&!r(e=o?e:e.prototype,s)&&n(e,s,{configurable:!0,value:t})}},function(e,t,o){o(100);for(var n=o(2),r=o(12),s=o(16),a=o(3)('toStringTag'),l='CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList'.split(','),d=0;df;f++)if(y=t?_(a(m=e[f])[0],m[1]):_(e[f]),y===d||y===c)return y;}else for(g=b.call(e);!(m=g.next()).done;)if(y=r(g,_,m.value,t),y===d||y===c)return y};t.BREAK=d,t.RETURN=c},function(e){e.exports=require('electron')},function(e,t,o){'use strict';function n(){var e=process.cwd();console.log('process.env.NODE_ENV','production');var t=process.execPath.replaceAll('\\','/').split('/');return t.pop(),e=t.join('/'),e}o.d(t,'a',function(){return n})},function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,o){var n=o(8),r=o(97),s=o(42),a=o(40)('IE_PROTO'),i=function(){},l='prototype',d=function(){var e,t=o(36)('iframe'),n=s.length,r='<',a='>';for(t.style.display='none',o(64).appendChild(t),t.src='javascript:',e=t.contentWindow.document,e.open(),e.write(r+'script'+a+'document.F=Object'+r+'/script'+a),e.close(),d=e.F;n--;)delete d[l][s[n]];return d()};e.exports=Object.create||function(e,t){var o;return null===e?o=d():(i[l]=n(e),o=new i,i[l]=null,o[a]=e),void 0===t?o:r(o,t)}},function(e){var t=0,o=Math.random();e.exports=function(e){return'Symbol('.concat(e===void 0?'':e,')_',(++t+o).toString(36))}},function(e,t,o){var n=o(34);e.exports=function(e){return Object(n(e))}},function(e,t,o){var n=o(21),r=o(3)('toStringTag'),s='Arguments'==n(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(t){}};e.exports=function(e){var t,o,i;return e===void 0?'Undefined':null===e?'Null':'string'==typeof(o=a(t=Object(e),r))?o:s?n(t):'Object'==(i=n(t))&&'function'==typeof t.callee?'Arguments':i}},function(e,t,o){'use strict';function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=o(93),s=n(r),a=o(102),i=n(a),l='function'==typeof i.default&&'symbol'==typeof s.default?function(e){return typeof e}:function(e){return e&&'function'==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?'symbol':typeof e};t.default='function'==typeof i.default&&'symbol'===l(s.default)?function(e){return'undefined'==typeof e?'undefined':l(e)}:function(e){return e&&'function'==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?'symbol':'undefined'==typeof e?'undefined':l(e)}},function(e){var t=Math.ceil,o=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(065536)throw new TypeError('pattern is too long')};s.prototype.parse=function(e,o){function r(){a&&('*'===a?(p+=f,g=!0):'?'===a?(p+=h,g=!0):p+='\\'+a,w.debug('clearStateChar %j %j',a,p),a=!1)}y(e);var s=this.options;if('**'===e){if(!s.noglobstar)return c;e='*'}if(''===e)return'';for(var a,d,p='',g=!!s.nocase,_=!1,x=[],E=[],S=!1,O=-1,k=-1,v='.'===e.charAt(0)?'':s.dot?'(?!(?:^|\\/)\\.{1,2}(?:$|\\/))':'(?!\\.)',w=this,T=0,i=e.length;T>> no match, partial?',e,u,t,h),u===a)}var m;if('string'==typeof l?(m=d===l,this.debug('string match',l,d,m)):(m=d.match(l),this.debug('pattern match',l,d,m)),!m)return!1}if(r===a&&s===i)return!0;if(r===a)return o;if(s===i)return r===a-1&&''===e[r];throw new Error('wtf?')}},function(e){e.exports=require('util')},function(e){'use strict';function t(e){return'/'===e.charAt(0)}function o(e){var t=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,o=t.exec(e),n=o[1]||'',r=!!(n&&':'!==n.charAt(1));return!!(o[2]||r)}e.exports='win32'===process.platform?o:t,e.exports.posix=t,e.exports.win32=o},function(e,t,o){'use strict';function n(){var e=O.platform(),t=o(6),n='';'win32'===e&&(n='yjearth4.exe'),'linux'===e&&(n='yjearth4');var r='';'win32'===e&&(r='yjearth4'+h.execPath+'.exe'),'linux'===e&&(r='yjearth4'+h.execPath);var s=b.join(Object(S.a)()+'/yjearth4_0/',n),a=b.join(Object(S.a)()+'/yjearth4_0/',r);console.log('oldPath',a),t.access(s,t.constants.F_OK,function(e){return e?void console.error(s+' does not exist.'):void t.rename(s,a,function(e){return e?void console.error('Error renaming '+s+' to '+a+': '+e):void console.log('File renamed from '+s+' to '+a)})})}function r(){Object(u.b)(),Object(x.a)();var e=h.execPath;console.log('process.env.NODE_ENV +++','production'),n(),Object(E.a)(e),setTimeout(function(){Object(c.runProcess)(e,h.db_path),k=new a.BrowserWindow({minWidth:1500,minHeight:860,useContentSize:!0,simpleFullscreen:!0,resizable:!0,frame:d.a.IsUseSysTitle,icon:P,show:!0,webPreferences:{nodeIntegration:!0,contextIsolation:!1,enableRemoteModule:!0,webSecurity:!1,devTools:!0,scrollBounce:'darwin'===process.platform}}),k.loadURL(w),k.center(),k.maximize(),m.a.Mainfunc(k),k.webContents.on('did-finish-load',function(){k.show(),k.focus(),k.webContents.executeJavaScript('\n const { ipcRenderer } = require(\'electron\'); \n window.addEventListener(\'dragover\', (event) => {\n event.preventDefault();\n event.dataTransfer.dropEffect = \'copy\'; // \u663E\u793A\u590D\u5236\u6548\u679C\n });\n window.addEventListener(\'drop\', (event) => {\n event.preventDefault();\n const files = event.dataTransfer.files;\n if (files.length > 0) {\n ipcRenderer.send(\'files-dropped\', Array.from(files).map(file => file.path));\n }\n });\n ')}),k.webContents.on('did-fail-load',function(){}),k.on('closed',function(){k=null}),k.on('close',function(t){t.preventDefault(),a.dialog.showMessageBox(k,{type:'warning',title:'\u63D0\u793A',message:'\u662F\u5426\u786E\u8BA4\u9000\u51FA\u7CFB\u7EDF?',buttons:['cancel','ok']}).then(function(e){e.response&&(k=null,Object(c.closeChild)(),a.app.exit())})}),a.Menu.setApplicationMenu(null),!1,a.globalShortcut.register('CommandOrControl+f5',function(){k.reload(),k.webContents.once('did-finish-load',function(){setTimeout(function(){k&&!k.isDestroyed()&&(console.log('\u53D1\u9001\u64AD\u653E\u89C6\u9891\u6D88\u606F'),k.webContents.send('start-login-video'))},500)})}),console.log(k.WebPreferences);var t=!0;a.globalShortcut.register('CommandOrControl+f12',function(){k.openDevTools(t),t=!t})},1e3)}function s(){return k}Object.defineProperty(t,'__esModule',{value:!0}),o.d(t,'getmainWindow',function(){return s});var a=o(25),i=o.n(a),l=o(86),d=o.n(l),c=o(56),p=o.n(c),u=o(57),h=o(91),f=o.n(h),m=o(92),g=o(183),y=o.n(g),b=o(1),_=o.n(b),x=o(84),E=o(184),S=o(26),O=o(10);process.env.ELECTRON_DISABLE_SECURITY_WARNINGS=!0,global.__static=o(1).join(__dirname,'/static').replace(/\\/g,'\\\\');var k=void 0,v=void 0,w='file://'+__dirname+'/index.html',T=!a.app.isPackaged,P=b.join(Object(S.a)(),'resources/app.asar/dist/electron/static/logo_ico/81.png'),M=a.app.requestSingleInstanceLock();M?(a.app.on('ready',r),a.app.isReady(),a.app.on('window-all-closed',function(){'darwin'!==process.platform&&a.app.quit()}),a.app.on('activate',function(){null===k&&r()}),a.app.on('second-instance',function(){k&&(k.isMinimized()&&k.restore(),k.focus())}),a.app.on('before-quit',function(){Object(c.closeChild)()}),global.sharedObject={hasService:!1}):a.app.quit()},function(e,t,o){function n(){var e=process.cwd(),t=process.execPath.replaceAll('\\','/').split('/');return t.pop(),e=t.join('/'),e}var r=o(14),s=r.exec,a=r.spawn,i=o(10),l=o(1),d=o(6),c=null;e.exports={runProcess:function(e){var t=1d;)n(l,o=t[d++])&&(~s(i,o)||i.push(o));return i}},function(e,t,o){var n=o(21);e.exports=Object('z').propertyIsEnumerable(0)?Object:function(e){return'String'==n(e)?e.split(''):Object(e)}},function(e,t,o){var n=o(2).document;e.exports=n&&n.documentElement},function(e,t,o){var n=o(13),r=o(30),s=o(40)('IE_PROTO'),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),n(e,s)?e[s]:'function'==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,o){var n=o(21);e.exports=Array.isArray||function(e){return'Array'==n(e)}},function(e,t,o){var n=o(62),r=o(42).concat('length','prototype');t.f=Object.getOwnPropertyNames||function(e){return n(e,r)}},function(e,t,o){var n=o(46),r=o(27),s=o(17),a=o(37),i=o(13),l=o(60),d=Object.getOwnPropertyDescriptor;t.f=o(9)?d:function(e,t){if(e=s(e),t=a(t,!0),l)try{return d(e,t)}catch(t){}return i(e,t)?r(!n.f.call(e,t),e[t]):void 0}},function(e,t,o){var n=o(31),r=o(3)('iterator'),s=o(16);e.exports=o(0).getIteratorMethod=function(e){if(e!=void 0)return e[r]||e['@@iterator']||s[n(e)]}},function(e,t,o){'use strict';var n=o(2),r=o(0),s=o(7),a=o(9),i=o(3)('species');e.exports=function(e){var t='function'==typeof r[e]?r[e]:n[e];a&&t&&!t[i]&&s.f(t,i,{configurable:!0,get:function(){return this}})}},function(e,t,o){var n=o(5);e.exports=function(e,t){if(!n(e)||e._t!==t)throw TypeError('Incompatible receiver, '+t+' required!');return e}},function(e,t,o){var n=o(8),r=o(20),s=o(3)('species');e.exports=function(e,t){var o,a=n(e).constructor;return a===void 0||(o=n(a)[s])==void 0?t:r(o)}},function(e,t,o){var n,r,s,a=o(11),i=o(136),l=o(64),d=o(36),c=o(2),p=c.process,u=c.setImmediate,h=c.clearImmediate,f=c.MessageChannel,m=c.Dispatch,g=0,y={},b='onreadystatechange',_=function(){var e=+this;if(y.hasOwnProperty(e)){var t=y[e];delete y[e],t()}},x=function(e){_.call(e.data)};u&&h||(u=function(e){for(var t=[],o=1;arguments.length>o;)t.push(arguments[o++]);return y[++g]=function(){i('function'==typeof e?e:Function(e),t)},n(g),g},h=function(e){delete y[e]},'process'==o(21)(p)?n=function(e){p.nextTick(a(_,e,1))}:m&&m.now?n=function(e){m.now(a(_,e,1))}:f?(r=new f,s=r.port2,r.port1.onmessage=x,n=a(s.postMessage,s,1)):c.addEventListener&&'function'==typeof postMessage&&!c.importScripts?(n=function(e){c.postMessage(e+'','*')},c.addEventListener('message',x,!1)):b in d('script')?n=function(e){l.appendChild(d('script'))[b]=function(){l.removeChild(this),_.call(e)}}:n=function(e){setTimeout(a(_,e,1),0)}),e.exports={set:u,clear:h}},function(e){e.exports=function(e){try{return{e:!1,v:e()}}catch(t){return{e:!0,v:t}}}},function(e,t,o){var n=o(8),r=o(5),s=o(50);e.exports=function(e,t){if(n(e),r(t)&&t.constructor===e)return t;var o=s.f(e),a=o.resolve;return a(t),o.promise}},function(e,t,o){function n(e,t,o){if('function'==typeof t&&(o=t,t={}),t||(t={}),t.sync){if(o)throw new TypeError('callback provided to sync glob');return m(e,t)}return new s(e,t,o)}function r(e,t){if(null===t||'object'!=typeof t)return e;for(var o=Object.keys(t),n=o.length;n--;)e[o[n]]=t[o[n]];return e}function s(e,t,o){function r(){--n._processing,0>=n._processing&&(l?process.nextTick(function(){n._finish()}):n._finish())}if('function'==typeof t&&(o=t,t=null),t&&t.sync){if(o)throw new TypeError('callback provided to sync glob');return new k(e,t)}if(!(this instanceof s))return new s(e,t,o);y(this,e,t),this._didRealPath=!1;var a=this.minimatch.set.length;this.matches=Array(a),'function'==typeof o&&(o=O(o),this.on('error',o),this.on('end',function(e){o(null,e)}));var n=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(0===a)return r();for(var l=!0,d=0;dthis.maxLength)return t();if(!this.stat&&b(this.cache,o)){var r=this.cache[o];if(Array.isArray(r)&&(r='DIR'),!n||'DIR'===r)return t(null,r);if(n&&'FILE'===r)return t()}var s=this.statCache[o];if(s!==void 0){if(!1===s)return t(null,s);var a=s.isDirectory()?'DIR':'FILE';return n&&'FILE'==a?t():t(null,a,s)}var i=this,l=_('stat\0'+o,function(n,r){return r&&r.isSymbolicLink()?i.fs.stat(o,function(n,s){n?i._stat2(e,o,null,r,t):i._stat2(e,o,n,s,t)}):void i._stat2(e,o,n,r,t)});l&&i.fs.lstat(o,l)},s.prototype._stat2=function(e,t,o,n,r){if(o&&('ENOENT'===o.code||'ENOTDIR'===o.code))return this.statCache[t]=!1,r();var s='/'===e.slice(-1);if(this.statCache[t]=n,'/'===t.slice(-1)&&n&&!n.isDirectory())return r(null,!1,n);var a=!0;return n&&(a=n.isDirectory()?'DIR':'FILE'),this.cache[t]=this.cache[t]||a,s&&'FILE'===a?r():r(null,a,n)}},function(e,t,o){function n(e){return e&&'realpath'===e.syscall&&('ELOOP'===e.code||'ENOMEM'===e.code||'ENAMETOOLONG'===e.code)}function r(e,t,o){return c?i(e,t,o):void('function'==typeof t&&(o=t,t=null),i(e,t,function(r,s){n(r)?u.realpath(e,t,o):o(r,s)}))}function s(e,t){if(c)return l(e,t);try{return l(e,t)}catch(o){if(n(o))return u.realpathSync(e,t);throw o}}e.exports=r,r.realpath=r,r.sync=s,r.realpathSync=s,r.monkeypatch=function(){a.realpath=r,a.realpathSync=s},r.unmonkeypatch=function(){a.realpath=i,a.realpathSync=l};var a=o(6),i=a.realpath,l=a.realpathSync,d=process.version,c=/^v[0-5]\./.test(d),u=o(143)},function(e){e.exports=require('events')},function(e,t,o){function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function r(e,t){return e.localeCompare(t,'en')}function s(e,t){e.ignore=t.ignore||[],Array.isArray(e.ignore)||(e.ignore=[e.ignore]),e.ignore.length&&(e.ignore=e.ignore.map(a))}function a(e){var t=null;if('/**'===e.slice(-3)){var o=e.replace(/(\/\*\*)+$/,'');t=new h(o,{dot:!0})}return{matcher:new h(e,{dot:!0}),gmatcher:t}}function i(e,t){var o=t;return o='/'===t.charAt(0)?c.join(e.root,t):u(t)||''===t?t:e.changedCwd?c.resolve(e.cwd,t):c.resolve(t),'win32'===process.platform&&(o=o.replace(/\\/g,'/')),o}function l(e,t){return!!e.ignore.length&&e.ignore.some(function(e){return e.matcher.match(t)||!!(e.gmatcher&&e.gmatcher.match(t))})}t.setopts=function(e,t,o){if(o||(o={}),o.matchBase&&-1===t.indexOf('/')){if(o.noglobstar)throw new Error('base matching requires globstar');t='**/'+t}e.silent=!!o.silent,e.pattern=t,e.strict=!1!==o.strict,e.realpath=!!o.realpath,e.realpathCache=o.realpathCache||Object.create(null),e.follow=!!o.follow,e.dot=!!o.dot,e.mark=!!o.mark,e.nodir=!!o.nodir,e.nodir&&(e.mark=!0),e.sync=!!o.sync,e.nounique=!!o.nounique,e.nonull=!!o.nonull,e.nosort=!!o.nosort,e.nocase=!!o.nocase,e.stat=!!o.stat,e.noprocess=!!o.noprocess,e.absolute=!!o.absolute,e.fs=o.fs||d,e.maxLength=o.maxLength||Infinity,e.cache=o.cache||Object.create(null),e.statCache=o.statCache||Object.create(null),e.symlinks=o.symlinks||Object.create(null),s(e,o),e.changedCwd=!1;var r=process.cwd();n(o,'cwd')?(e.cwd=c.resolve(o.cwd),e.changedCwd=e.cwd!==r):e.cwd=r,e.root=o.root||c.resolve(e.cwd,'/'),e.root=c.resolve(e.root),'win32'===process.platform&&(e.root=e.root.replace(/\\/g,'/')),e.cwdAbs=u(e.cwd)?e.cwd:i(e,e.cwd),'win32'===process.platform&&(e.cwdAbs=e.cwdAbs.replace(/\\/g,'/')),e.nomount=!!o.nomount,o.nonegate=!0,o.nocomment=!0,o.allowWindowsEscape=!1,e.minimatch=new h(t,o),e.options=e.minimatch.options},t.ownProp=n,t.makeAbs=i,t.finish=function(t){for(var e,o=t.nounique,n=o?[]:Object.create(null),s=0,a=t.matches.length;ss||s>=i?e?'':void 0:(d=c.charCodeAt(s),55296>d||56319(a=c.charCodeAt(s+1))||57343d;)n.f(e,o=a[d++],t[o]);return e}},function(e,t,o){var n=o(17),r=o(39),s=o(99);e.exports=function(e){return function(t,o,a){var i,l=n(t),d=r(l.length),c=s(a,d);if(e&&o!=o){for(;d>c;)if(i=l[c++],i!=i)return!0;}else for(;d>c;c++)if((e||c in l)&&l[c]===o)return e||c||0;return!e&&-1}}},function(e,t,o){var n=o(33),r=Math.max,s=Math.min;e.exports=function(e,t){return e=n(e),0>e?r(e+t,0):s(e,t)}},function(e,t,o){'use strict';var n=o(101),r=o(66),s=o(16),a=o(17);e.exports=o(35)(Array,'Array',function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,o=this._i++;return!e||o>=e.length?(this._t=void 0,r(1)):'keys'==t?r(0,o):'values'==t?r(0,e[o]):r(0,[o,e[o]])},'values'),s.Arguments=s.Array,n('keys'),n('values'),n('entries')},function(e){e.exports=function(){}},function(e,t,o){e.exports={default:o(103),__esModule:!0}},function(e,t,o){o(104),o(47),o(107),o(108),e.exports=o(0).Symbol},function(e,t,o){'use strict';var n=o(2),r=o(13),s=o(9),a=o(4),i=o(61),l=o(44).KEY,d=o(15),c=o(41),p=o(22),u=o(29),h=o(3),f=o(43),m=o(45),g=o(105),y=o(68),b=o(8),_=o(5),x=o(30),E=o(17),S=o(37),O=o(27),v=o(28),w=o(106),T=o(70),P=o(67),M=o(7),A=o(38),I=T.f,R=M.f,D=w.f,N=n.Symbol,C=n.JSON,L=C&&C.stringify,$='prototype',F=h('_hidden'),G=h('toPrimitive'),Y={}.propertyIsEnumerable,W=c('symbol-registry'),H=c('symbols'),U=c('op-symbols'),B=Object[$],K='function'==typeof N&&!!P.f,q=n.QObject,z=!q||!q[$]||!q[$].findChild,V=s&&d(function(){return 7!=v(R({},'a',{get:function(){return R(this,'a',{value:7}).a}})).a})?function(e,t,o){var n=I(B,t);n&&delete B[t],R(e,t,o),n&&e!==B&&R(B,t,n)}:R,J=function(e){var t=H[e]=v(N[$]);return t._k=e,t},Q=K&&'symbol'==typeof N.iterator?function(e){return'symbol'==typeof e}:function(e){return e instanceof N},Z=function(e,t,o){return e===B&&Z(U,t,o),b(e),t=S(t,!0),b(o),r(H,t)?(o.enumerable?(r(e,F)&&e[F][t]&&(e[F][t]=!1),o=v(o,{enumerable:O(0,!1)})):(!r(e,F)&&R(e,F,O(1,{})),e[F][t]=!0),V(e,t,o)):R(e,t,o)},X=function(e,t){b(e);for(var o,n=g(t=E(t)),r=0,s=n.length;s>r;)Z(e,o=n[r++],t[o]);return e},ee=function(e){var t=Y.call(this,e=S(e,!0));return this===B&&r(H,e)&&!r(U,e)?!1:t||!r(this,e)||!r(H,e)||r(this,F)&&this[F][e]?t:!0},te=function(e,t){if(e=E(e),t=S(t,!0),e!==B||!r(H,t)||r(U,t)){var o=I(e,t);return o&&r(H,t)&&!(r(e,F)&&e[F][t])&&(o.enumerable=!0),o}},oe=function(e){for(var t,o=D(E(e)),n=[],s=0;o.length>s;)r(H,t=o[s++])||t==F||t==l||n.push(t);return n},ne=function(e){for(var t,o=e===B,n=D(o?U:E(e)),s=[],a=0;n.length>a;)r(H,t=n[a++])&&(!o||r(B,t))&&s.push(H[t]);return s};K||(N=function(){if(this instanceof N)throw TypeError('Symbol is not a constructor!');var e=u(0se;)h(re[se++]);for(var j=A(h.store),ae=0;j.length>ae;)m(j[ae++]);a(a.S+a.F*!K,'Symbol',{for:function(e){return r(W,e+='')?W[e]:W[e]=N(e)},keyFor:function(e){if(!Q(e))throw TypeError(e+' is not a symbol!');for(var t in W)if(W[t]===e)return t},useSetter:function(){z=!0},useSimple:function(){z=!1}}),a(a.S+a.F*!K,'Object',{create:function(e,t){return t===void 0?v(e):X(v(e),t)},defineProperty:Z,defineProperties:X,getOwnPropertyDescriptor:te,getOwnPropertyNames:oe,getOwnPropertySymbols:ne});var k=d(function(){P.f(1)});a(a.S+a.F*k,'Object',{getOwnPropertySymbols:function(e){return P.f(x(e))}}),C&&a(a.S+a.F*(!K||d(function(){var e=N();return'[null]'!=L([e])||'{}'!=L({a:e})||'{}'!=L(Object(e))})),'JSON',{stringify:function(e){for(var t,o,n=[e],r=1;arguments.length>r;)n.push(arguments[r++]);if(o=t=n[1],(_(t)||void 0!==e)&&!Q(e))return y(t)||(t=function(e,t){if('function'==typeof o&&(t=o.call(this,e,t)),!Q(t))return t}),n[1]=t,L.apply(C,n)}}),N[$][G]||o(12)(N[$],G,N[$].valueOf),p(N,'Symbol'),p(Math,'Math',!0),p(n.JSON,'JSON',!0)},function(e,t,o){var n=o(38),r=o(67),s=o(46);e.exports=function(e){var t=n(e),o=r.f;if(o)for(var a,l=o(e),d=s.f,c=0;l.length>c;)d.call(e,a=l[c++])&&t.push(a);return t}},function(e,t,o){var n=o(17),r=o(69).f,s={}.toString,a='object'==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],i=function(e){try{return r(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&'[object Window]'==s.call(e)?i(e):r(n(e))}},function(e,t,o){o(45)('asyncIterator')},function(e,t,o){o(45)('observable')},function(e,t,o){e.exports={default:o(110),__esModule:!0}},function(e,t,o){o(47),o(18),o(23),o(111),o(119),o(122),o(124),e.exports=o(0).Map},function(e,t,o){'use strict';var n=o(112),r=o(73),s='Map';e.exports=o(115)(s,function(e){return function(){return e(this,0b;b++)if((5==e||d||b in g)&&(u=g[b],h=y(u,b,m),e))if(o)_[b]=h;else if(h)switch(e){case 3:return!0;case 5:return u;case 6:return b;case 2:_.push(u);}else if(l)return!1;return d?-1:3==e||l?l:_}}},function(e,t,o){var n=o(118);e.exports=function(e,t){return new(n(e))(t)}},function(e,t,o){var n=o(5),r=o(68),s=o(3)('species');e.exports=function(e){var t;return r(e)&&(t=e.constructor,'function'==typeof t&&(t===Array||r(t.prototype))&&(t=void 0),n(t)&&(t=t[s],null===t&&(t=void 0))),void 0===t?Array:t}},function(e,t,o){var n=o(4);n(n.P+n.R,'Map',{toJSON:o(120)('Map')})},function(e,t,o){var n=o(31),r=o(121);e.exports=function(e){return function(){if(n(this)!=e)throw TypeError(e+'#toJSON isn\'t generic');return r(this)}}},function(e,t,o){var n=o(24);e.exports=function(e,t){var o=[];return n(e,!1,o.push,o,t),o}},function(e,t,o){o(123)('Map')},function(e,t,o){'use strict';var n=o(4);e.exports=function(e){n(n.S,e,{of:function(){for(var e=arguments.length,t=Array(e);e--;)t[e]=arguments[e];return new this(t)}})}},function(e,t,o){o(125)('Map')},function(e,t,o){'use strict';var n=o(4),r=o(20),s=o(11),a=o(24);e.exports=function(e){n(n.S,e,{from:function(e){var t,o,i,n,l=arguments[1];return(r(this),t=void 0!==l,t&&r(l),void 0==e)?new this:(o=[],t?(i=0,n=s(l,arguments[2],2),a(e,!1,function(e){o.push(n(e,i++))})):a(e,!1,o.push,o),new this(o))}})}},function(e,t,o){'use strict';function n(e,t){console.log(e);try{var o=s.exec(e,{cwd:r.join(process.cwd(),'convert')});o.stdout.on('data',function(){}),o.stderr.on('data',function(){console.log('stderr_________________________')}),o.on('close',function(e){console.log('out code_______________________\uFF1A'+e),t()})}catch(t){console.log(t)}}t.c=function(e,t,o){n('start '+a+' -f osgb -i '+e+' -o '+t,o)},t.d=function(e,t,o){n('start '+a+' -f shape -i '+e+' -o '+t+' --height height',o)},t.a=function(e,t,o){n('start '+a+' -f b3dm -i '+e+' -o '+t,o)},t.b=function(e,t,o){try{var n=s.exec('start '+l+' -i '+e+' -o '+t,{cwd:r.join(process.cwd(),'collada2gltf')});n.on('close',function(){o()})}catch(t){console.log(t)}};var r=o(1),s=o(14),a=r.join(process.cwd(),'/convert/_3dtile.exe'),l=r.join(process.cwd(),'/collada2gltf/COLLADA2GLTF-bin.exe')},function(e,t,o){'use strict';t.a=function(){this.obj2gltf=function(e){s(e+'.obj').then(function(t){var o=Buffer.from(r()(t));a.writeFileSync(e+'.gltf',o)})},this.obj2glb=function(e,t,o){s(e,{binary:!0}).then(function(e){a.writeFileSync(t,e),o()})}};var n=o(128),r=o.n(n),s=o(130),a=o(6),i=o(131),l=i.processGltf},function(e,t,o){e.exports={default:o(129),__esModule:!0}},function(e,t,o){var n=o(0),r=n.JSON||(n.JSON={stringify:JSON.stringify});e.exports=function(){return r.stringify.apply(r,arguments)}},function(e){e.exports=require('obj2gltf')},function(e){e.exports=require('gltf-pipeline')},function(e,t,o){'use strict';t.a=function(){function e(e,t){var o=2')))})}catch(e){r(e)}})}this.fbx2glb=function(t,o,n){e(t,o,['--khr-materials-unlit']).then(function(e){n(e)},function(e){n(e)})}};var n=o(133),r=o.n(n),s=o(14),a=o(6),i=o(10),l=o(1),d=o(142);console.log(l.join(process.cwd(),'convert/FBX2glTF.exe'))},function(e,t,o){e.exports={default:o(134),__esModule:!0}},function(e,t,o){o(47),o(18),o(23),o(135),o(140),o(141),e.exports=o(0).Promise},function(e,t,o){'use strict';var n,r,s,a,i=o(19),l=o(2),d=o(11),c=o(31),p=o(4),u=o(5),h=o(20),f=o(49),m=o(24),g=o(74),y=o(75).set,b=o(137)(),_=o(50),x=o(76),E=o(138),S=o(77),O='Promise',k=l.TypeError,v=l.process,w=v&&v.versions,T=w&&w.v8||'',P=l[O],M='process'==c(v),j=function(){},A=r=_.f,I=!!function(){try{var e=P.resolve(1),t=(e.constructor={})[o(3)('species')]=function(e){e(j,j)};return(M||'function'==typeof PromiseRejectionEvent)&&e.then(j)instanceof t&&0!==T.indexOf('6.6')&&-1===E.indexOf('Chrome/66')}catch(t){}}(),R=function(e){var t;return u(e)&&'function'==typeof(t=e.then)&&t},D=function(e,t){if(!e._n){e._n=!0;var o=e._c;b(function(){for(var n=e._v,r=1==e._s,s=0,a=function(t){var o,s,a,i=r?t.ok:t.fail,l=t.resolve,d=t.reject,c=t.domain;try{i?(!r&&(2==e._h&&L(e),e._h=1),!0===i?o=n:(c&&c.enter(),o=i(n),c&&(c.exit(),a=!0)),o===t.promise?d(k('Promise-chain cycle')):(s=R(o))?s.call(o,l,d):l(o)):d(n)}catch(t){c&&!a&&c.exit(),d(t)}};o.length>s;)a(o[s++]);e._c=[],e._n=!1,t&&!e._h&&N(e)})}},N=function(e){y.call(l,function(){var t,o,n,r=e._v,s=C(e);if(s&&(t=x(function(){M?v.emit('unhandledRejection',r,e):(o=l.onunhandledrejection)?o({promise:e,reason:r}):(n=l.console)&&n.error&&n.error('Unhandled promise rejection',r)}),e._h=M||C(e)?2:1),e._a=void 0,s&&t.e)throw t.v})},C=function(e){return 1!==e._h&&0===(e._a||e._c).length},L=function(e){y.call(l,function(){var t;M?v.emit('rejectionHandled',e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})})},$=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,!t._a&&(t._a=t._c.slice()),D(t,!0))},F=function(e){var t,o=this;if(!o._d){o._d=!0,o=o._w||o;try{if(o===e)throw k('Promise can\'t be resolved itself');(t=R(e))?b(function(){var n={_w:o,_d:!1};try{t.call(e,d(F,n,1),d($,n,1))}catch(t){$.call(n,t)}}):(o._v=e,o._s=1,D(o,!1))}catch(t){$.call({_w:o,_d:!1},t)}}};I||(P=function(e){f(this,P,O,'_h'),h(e),n.call(this);try{e(d(F,this,1),d($,this,1))}catch(e){$.call(this,e)}},n=function(){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},n.prototype=o(48)(P.prototype,{then:function(e,t){var o=A(g(this,P));return o.ok='function'!=typeof e||e,o.fail='function'==typeof t&&t,o.domain=M?v.domain:void 0,this._c.push(o),this._a&&this._a.push(o),this._s&&D(this,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),s=function(){var e=new n;this.promise=e,this.resolve=d(F,e,1),this.reject=d($,e,1)},_.f=A=function(e){return e===P||e===a?new s(e):r(e)}),p(p.G+p.W+p.F*!I,{Promise:P}),o(22)(P,O),o(72)(O),a=o(0)[O],p(p.S+p.F*!I,O,{reject:function(e){var t=A(this),o=t.reject;return o(e),t.promise}}),p(p.S+p.F*(i||!I),O,{resolve:function(e){return S(i&&this===a?P:this,e)}}),p(p.S+p.F*!(I&&o(139)(function(e){P.all(e)['catch'](j)})),O,{all:function(e){var t=this,o=A(t),n=o.resolve,r=o.reject,s=x(function(){var o=[],s=0,a=1;m(e,!1,function(e){var i=s++,l=!1;o.push(void 0),a++,t.resolve(e).then(function(e){l||(l=!0,o[i]=e,--a||n(o))},r)}),--a||n(o)});return s.e&&r(s.v),o.promise},race:function(e){var t=this,o=A(t),n=o.reject,r=x(function(){m(e,!1,function(e){t.resolve(e).then(o.resolve,n)})});return r.e&&n(r.v),o.promise}})},function(e){e.exports=function(e,t,o){var n=o===void 0;switch(t.length){case 0:return n?e():e.call(o);case 1:return n?e(t[0]):e.call(o,t[0]);case 2:return n?e(t[0],t[1]):e.call(o,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(o,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(o,t[0],t[1],t[2],t[3]);}return e.apply(o,t)}},function(e,t,o){var n=o(2),r=o(75).set,s=n.MutationObserver||n.WebKitMutationObserver,a=n.process,i=n.Promise,l='process'==o(21)(a);e.exports=function(){var t,o,d,e=function(){var e,n;for(l&&(e=a.domain)&&e.exit();t;){n=t.fn,t=t.next;try{n()}catch(n){throw t?d():o=void 0,n}}o=void 0,e&&e.enter()};if(l)d=function(){a.nextTick(e)};else if(s&&!(n.navigator&&n.navigator.standalone)){var c=!0,p=document.createTextNode('');new s(e).observe(p,{characterData:!0}),d=function(){p.data=c=!c}}else if(i&&i.resolve){var u=i.resolve(void 0);d=function(){u.then(e)}}else d=function(){r.call(n,e)};return function(e){var n={fn:e,next:void 0};o&&(o.next=n),t||(t=n,d()),o=n}}},function(e,t,o){var n=o(2),r=n.navigator;e.exports=r&&r.userAgent||''},function(e,t,o){var n=o(3)('iterator'),r=!1;try{var s=[7][n]();s['return']=function(){r=!0},Array.from(s,function(){throw 2})}catch(t){}e.exports=function(e,t){if(!t&&!r)return!1;var o=!1;try{var s=[7],a=s[n]();a.next=function(){return{done:o=!0}},s[n]=function(){return a},e(s)}catch(t){}return o}},function(e,t,o){'use strict';var n=o(4),r=o(0),s=o(2),a=o(74),i=o(77);n(n.P+n.R,'Promise',{finally:function(t){var o=a(this,r.Promise||s.Promise),e='function'==typeof t;return this.then(e?function(e){return i(o,t()).then(function(){return e})}:t,e?function(n){return i(o,t()).then(function(){throw n})}:t)}})},function(e,t,o){'use strict';var n=o(4),r=o(50),s=o(76);n(n.S,'Promise',{try:function(e){var t=r.f(this),o=s(e);return(o.e?t.reject:t.resolve)(o.v),t.promise}})},function(e,t,o){function r(e){if(['unlink','chmod','stat','lstat','rmdir','readdir'].forEach(function(t){e[t]=e[t]||p[t],t+='Sync',e[t]=e[t]||p[t]}),e.maxBusyTries=e.maxBusyTries||3,e.emfileWait=e.emfileWait||1e3,!1===e.glob&&(e.disableGlob=!0),!0!==e.disableGlob&&void 0===g)throw Error('glob dependency not found, set `options.disableGlob = true` if intentional');e.disableGlob=e.disableGlob||!1,e.glob=e.glob||b}function s(e,t,o){function s(e){l=l||e,0==--d&&o(l)}function a(e,r){return e?o(e):(d=r.length,0===d?o():void r.forEach(function(e){n(e,t,function o(r){if(r){if(('EBUSY'===r.code||'ENOTEMPTY'===r.code||'EPERM'===r.code)&&i=e.length)return t&&(t[m]=e),o(null,e);c.lastIndex=f;var n=c.exec(e);return b=g,g+=n[0],y=b+n[1],f=c.lastIndex,x[y]||t&&t[y]===y?process.nextTick(l):t&&Object.prototype.hasOwnProperty.call(t,y)?h(t[y]):i.lstat(y,d)}function d(e,n){if(e)return o(e);if(!n.isSymbolicLink())return x[y]=!0,t&&(t[y]=y),process.nextTick(l);if(!a){var r=n.dev.toString(32)+':'+n.ino.toString(32);if(_.hasOwnProperty(r))return p(null,_[r],y)}i.stat(y,function(e){return e?o(e):void i.readlink(y,function(e,t){a||(_[r]=t),p(e,t)})})}function p(e,n,r){if(e)return o(e);var a=s.resolve(b,n);t&&(t[r]=a),h(a)}function h(t){e=s.resolve(t,e.slice(f)),n()}if('function'!=typeof o&&(o=r(t),t=null),e=s.resolve(e),t&&Object.prototype.hasOwnProperty.call(t,e))return process.nextTick(o.bind(null,null,t[e]));var f,g,y,b,m=e,_={},x={};n()}},function(e,t,o){function r(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function n(e){return e.split('\\\\').join(i).split('\\{').join(c).split('\\}').join(b).split('\\,').join(m).split('\\.').join(y)}function s(e){return e.split(i).join('\\').split(c).join('{').split(b).join('}').split(m).join(',').split(y).join('.')}function a(e){if(!e)return[''];var t=[],o=g('{','}',e);if(!o)return e.split(',');var n=o.pre,r=o.body,s=o.post,i=n.split(',');i[i.length-1]+='{'+r+'}';var l=a(s);return s.length&&(i[i.length-1]+=l.shift(),i.push.apply(i,l)),t.push.apply(t,i),t}function l(e){return'{'+e+'}'}function d(e){return /^-?0\d/.test(e)}function p(e,t){return e<=t}function u(e,t){return e>=t}function h(e,t){var o=[],s=g('{','}',e);if(!s||/\$$/.test(s.pre))return[e];var _=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(s.body),E=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(s.body),S=_||E,O=0<=s.body.indexOf(',');if(!S&&!O)return s.post.match(/,.*\}/)?(e=s.pre+'{'+s.body+b+s.post,h(e)):[e];var v;if(S)v=s.body.split(/\.\./);else if(v=a(s.body),1===v.length&&(v=h(v[0],!1).map(l),1===v.length)){var n=s.post.length?h(s.post,!1):[''];return n.map(function(e){return s.pre+v[0]+e})}var w,T=s.pre,n=s.post.length?h(s.post,!1):[''];if(S){var P=r(v[0]),x=r(v[1]),y=Math.max(v[0].length,v[1].length),M=3==v.length?Math.abs(r(v[2])):1,A=p;xR?'-'+D+i.slice(1):D+i}}w.push(i)}}else w=f(v,function(e){return h(e,!1)});for(var N=0;Nthis.maxLength)return!1;if(!this.stat&&m(this.cache,t)){var n=this.cache[t];if(Array.isArray(n)&&(n='DIR'),!o||'DIR'===n)return n;if(o&&'FILE'===n)return!1}var r=this.statCache[t];if(!r){var s;try{s=this.fs.lstatSync(t)}catch(e){if(e&&('ENOENT'===e.code||'ENOTDIR'===e.code))return this.statCache[t]=!1,!1}if(s&&s.isSymbolicLink())try{r=this.fs.statSync(t)}catch(e){r=s}else r=s}this.statCache[t]=r;var n=!0;return r&&(n=r.isDirectory()?'DIR':'FILE'),this.cache[t]=this.cache[t]||n,o&&'FILE'===n?!1:n},r.prototype._mark=function(e){return h.mark(this,e)},r.prototype._makeAbs=function(e){return h.makeAbs(this,e)}},function(e,t,o){function n(e){return i(function t(){var o=a[e],n=o.length,s=r(arguments);try{for(var l=0;ln?(o.splice(0,n),process.nextTick(function(){t.apply(null,s)})):delete a[e]}})}function r(e){for(var t=e.length,o=[],n=0;n=t?o:''+Array(t+1-n.length).join(e)+o},L='en',g={};g[L]={name:'en',weekdays:['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],months:['January','February','March','April','May','June','July','August','September','October','November','December'],ordinal:function(o){var t=['th','st','nd','rd'],e=o%100;return'['+o+(t[(e-20)%10]||t[e]||t[0])+']'}};var D='$isDayjsObject',p=function(e){return e instanceof b||e&&e[D]},S=function o(t,l,n){var d;if(!t)return L;if('string'==typeof t){var c=t.toLowerCase();g[c]&&(d=c),l&&(g[c]=l,d=c);var s=t.split('-');if(!d&&1=t?'+':'-')+y(n,2,'0')+':'+y(e%60,2,'0')},m:function o(t,e){if(t.date()e-r,s=t.clone().add(n+(a?-1:1),I);return+(-(n+(e-r)/(a?r-s:s-r))||0)},a:function(e){return 0>e?Math.ceil(e)||0:s(e)},p:function(e){return{M:I,y:N,w:n,d:A,D:C,h:j,m:P,s:T,ms:E,Q:R}[e]||((e||'')+'').toLowerCase().replace(/s$/,'')},u:function(e){return void 0===e}};O.l=S,O.i=p,O.w=function(o,t){return w(o,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var b=function(){function o(e){this.$L=S(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[D]=!0}var a=Math.round,r=o.prototype;return r.parse=function(e){this.$d=function(o){var t=o.date,a=o.utc;if(null===t)return new Date(NaN);if(O.u(t))return new Date;if(t instanceof Date)return new Date(t);if('string'==typeof t&&!/Z$/i.test(t)){var n=t.match(l);if(n){var r=n[2]-1||0,i=(n[7]||'0').substring(0,3);return a?new Date(Date.UTC(n[1],r,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],r,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(t)}(e),this.init()},r.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},r.$utils=function(){return O},r.isValid=function(){return this.$d.toString()!==v},r.isSame=function(o,t){var e=w(o);return this.startOf(t)<=e&&e<=this.endOf(t)},r.isAfter=function(o,t){return w(o)o?'AM':'PM';return e?n.toLowerCase():n};return m.replace(M,function(l,t){return t||function(l){return'YY'===l?(p.$y+'').slice(-2):'YYYY'===l?O.s(p.$y,4,'0'):'M'===l?i+1:'MM'===l?O.s(i+1,2,'0'):'MMM'===l?c(e.monthsShort,i,o,3):'MMMM'===l?c(o,i):'D'===l?p.$D:'DD'===l?O.s(p.$D,2,'0'):'d'===l?p.$W+'':'dd'===l?c(e.weekdaysMin,p.$W,a,2):'ddd'===l?c(e.weekdaysShort,p.$W,a,3):'dddd'===l?a[p.$W]:'H'===l?r+'':'HH'===l?O.s(r,2,'0'):'h'===l?u(1):'hh'===l?u(2):'a'===l?d(r,s,!0):'A'===l?d(r,s,!1):'m'===l?s+'':'mm'===l?O.s(s,2,'0'):'s'===l?p.$s+'':'ss'===l?O.s(p.$s,2,'0'):'SSS'===l?O.s(p.$ms,3,'0'):'Z'===l?n:null}(l)||n.replace(':','')})},r.utcOffset=function(){return 15*-a(this.$d.getTimezoneOffset()/15)},r.diff=function(o,r,s){var a,i=this,l=O.p(r),d=w(o),c=(d.utcOffset()-this.utcOffset())*t,p=this-d,u=function(){return O.m(i,d)};return a=l===N?u()/12:l===I?u():l===R?u()/3:l===n?(p-c)/6048e5:l===A?(p-c)/864e5:l===j?p/e:l===P?p/t:l===T?p/x:p,s?a:O.a(a)},r.daysInMonth=function(){return this.endOf(I).$D},r.$locale=function(){return g[this.$L]},r.locale=function(o,s){if(!o)return this.$L;var e=this.clone(),n=S(o,s,!0);return n&&(e.$L=n),e},r.clone=function(){return O.w(this.$d,this)},r.toDate=function(){return new Date(this.valueOf())},r.toJSON=function(){return this.isValid()?this.toISOString():null},r.toISOString=function(){return this.$d.toISOString()},r.toString=function(){return this.$d.toUTCString()},o}(),_=b.prototype;return w.prototype=_,[['$ms',E],['$s',T],['$m',P],['$H',j],['$W',A],['$M',I],['$y',N],['$D',C]].forEach(function(o){_[o[1]]=function(t){return this.$g(t,o[0],o[1])}}),w.extend=function(o,t){return o.$i||(o(t,b,w),o.$i=!0),w},w.locale=S,w.isDayjs=p,w.unix=function(e){return w(1e3*e)},w.en=g[L],w.Ls=g,w.p={},w})},function(e,t,o){'use strict';function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=o(173),s=n(r),a=o(85),l=n(a);t.default=function(){function e(e,t){var o=[],n=!0,r=!1,s=void 0;try{for(var a,i=(0,l.default)(e);!(n=(a=i.next()).done)&&(o.push(a.value),!(t&&o.length===t));n=!0);}catch(e){r=!0,s=e}finally{try{!n&&i['return']&&i['return']()}finally{if(r)throw s}}return o}return function(t,o){if(Array.isArray(t))return t;if((0,s.default)(Object(t)))return e(t,o);throw new TypeError('Invalid attempt to destructure non-iterable instance')}}()},function(e,t,o){e.exports={default:o(174),__esModule:!0}},function(e,t,o){o(23),o(18),e.exports=o(175)},function(e,t,o){var n=o(31),r=o(3)('iterator'),s=o(16);e.exports=o(0).isIterable=function(e){var t=Object(e);return t[r]!==void 0||'@@iterator'in t||s.hasOwnProperty(n(t))}},function(e,t,o){o(23),o(18),e.exports=o(177)},function(e,t,o){var n=o(8),r=o(71);e.exports=o(0).getIterator=function(e){var t=r(e);if('function'!=typeof t)throw TypeError(e+' is not iterable!');return n(t.call(e))}},function(e){e.exports=require('dgram')},function(e,t,o){'use strict';var n=o(180),r=o(1),s=process.cwd();s=process.execPath.replaceAll('\\','/').split('/'),s.pop(),s=s.join('/'),console.log(r.join(s,'logs/access.log')),n.configure({appenders:{access:{type:'dateFile',filename:r.join(s,'logs/access.log'),pattern:'-yyyy-MM-dd-hh',alwaysIncludePattern:!0,layout:{type:'pattern',pattern:'[%d{yyyy-MM-dd hh:mm:ss}] %m'}}},categories:{default:{appenders:['access'],level:'debug'}}});n.getLogger()},function(e){e.exports=require('log4js')},function(e){e.exports=require('ini')},function(e){e.exports=require('http')},function(){},function(e,t,o){'use strict';function n(e){var t;switch(l.platform()){case'win32':e='yjearth4'+e+'.exe',t='tasklist | findstr "'+e+'"',i(t,function(t,o){if(t)return void console.error('\u6267\u884C tasklist \u547D\u4EE4\u65F6\u51FA\u9519: '+t);var n=o.split('\n'),r=!0,a=!1,l=void 0;try{for(var d,c,p=s()(n);!(r=(d=p.next()).done);r=!0)c=d.value,c.includes(e)&&function(){var t=c.split(/\s+/),o=t[1];i('taskkill /F /PID '+o,function(t){return t?void console.error('\u6740\u6B7B\u8FDB\u7A0B\u65F6\u51FA\u9519: '+t):void console.log('\u5DF2\u5728 Windows \u7CFB\u7EDF\u6740\u6B7B\u8FDB\u7A0B '+e+' (PID: '+o+')')})}()}catch(e){a=!0,l=e}finally{try{!r&&p.return&&p.return()}finally{if(a)throw l}}});break;case'linux':t='ps -ef | grep "yjearth4'+e+'"',i(t,function(t,o){if(t)return void console.error('\u6267\u884C ps \u547D\u4EE4\u65F6\u51FA\u9519: '+t);var n=o.split('\n'),r=!0,a=!1,l=void 0;try{for(var d,c,p=s()(n);!(r=(d=p.next()).done);r=!0)c=d.value,c.includes(e)&&function(){var t=c.split(/\s+/),o=t[1];i('kill -9 '+o,function(t){return t?void console.error('\u6740\u6B7B\u8FDB\u7A0B\u65F6\u51FA\u9519: '+t):void console.log('\u5DF2\u5728 Linux \u7CFB\u7EDF\u6740\u6B7B\u8FDB\u7A0B '+e+' (PID: '+o+')')})}()}catch(e){a=!0,l=e}finally{try{!r&&p.return&&p.return()}finally{if(a)throw l}}});break;default:console.error('\u4E0D\u652F\u6301\u7684\u64CD\u4F5C\u7CFB\u7EDF: '+l.platform());}}o.d(t,'a',function(){return n});var r=o(85),s=o.n(r),a=o(14),i=a.exec,l=o(10)}]); \ No newline at end of file +module.exports=function(e){function t(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var o={};return t.m=e,t.c=o,t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var o=e&&e.__esModule?function(){return e['default']}:function(){return e};return t.d(o,'a',o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p='',t(t.s=55)}([function(e){var t=e.exports={version:'2.6.12'};'number'==typeof __e&&(__e=t)},function(e){e.exports=require('path')},function(e){var t=e.exports='undefined'!=typeof window&&window.Math==Math?window:'undefined'!=typeof self&&self.Math==Math?self:Function('return this')();'number'==typeof __g&&(__g=t)},function(e,t,o){var n=o(41)('wks'),r=o(29),s=o(2).Symbol,a='function'==typeof s,i=e.exports=function(e){return n[e]||(n[e]=a&&s[e]||(a?s:r)('Symbol.'+e))};i.store=n},function(e,t,o){var n=o(2),r=o(0),s=o(11),a=o(12),i=o(13),l='prototype',d=function(e,t,o){var c,p,u,h=e&d.F,f=e&d.G,m=e&d.S,g=e&d.P,y=e&d.B,b=e&d.W,_=f?r:r[t]||(r[t]={}),x=_[l],E=f?n:m?n[t]:(n[t]||{})[l];for(c in f&&(o=t),o)p=!h&&E&&void 0!==E[c],p&&i(_,c)||(u=p?E[c]:o[c],_[c]=f&&'function'!=typeof E[c]?o[c]:y&&p?s(u,n):b&&E[c]==u?function(e){var t=function(t,o,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,o);}return new e(t,o,n)}return e.apply(this,arguments)};return t[l]=e[l],t}(u):g&&'function'==typeof u?s(Function.call,u):u,g&&((_.virtual||(_.virtual={}))[c]=u,e&d.R&&x&&!x[c]&&a(x,c,u)))};d.F=1,d.G=2,d.S=4,d.P=8,d.B=16,d.W=32,d.U=64,d.R=128,e.exports=d},function(e){e.exports=function(e){return'object'==typeof e?null!==e:'function'==typeof e}},function(e){e.exports=require('fs')},function(e,t,o){var n=o(8),r=o(60),s=o(37),a=Object.defineProperty;t.f=o(9)?Object.defineProperty:function(e,t,o){if(n(e),t=s(t,!0),n(o),r)try{return a(e,t,o)}catch(t){}if('get'in o||'set'in o)throw TypeError('Accessors not supported!');return'value'in o&&(e[t]=o.value),e}},function(e,t,o){var n=o(5);e.exports=function(e){if(!n(e))throw TypeError(e+' is not an object!');return e}},function(e,t,o){e.exports=!o(15)(function(){return 7!=Object.defineProperty({},'a',{get:function(){return 7}}).a})},function(e){e.exports=require('os')},function(e,t,o){var n=o(20);e.exports=function(e,t,o){return(n(e),void 0===t)?e:1===o?function(o){return e.call(t,o)}:2===o?function(o,n){return e.call(t,o,n)}:3===o?function(o,n,r){return e.call(t,o,n,r)}:function(){return e.apply(t,arguments)}}},function(e,t,o){var n=o(7),r=o(27);e.exports=o(9)?function(e,t,o){return n.f(e,t,r(1,o))}:function(e,t,o){return e[t]=o,e}},function(e){var t={}.hasOwnProperty;e.exports=function(e,o){return t.call(e,o)}},function(e){e.exports=require('child_process')},function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e){e.exports={}},function(e,t,o){var n=o(63),r=o(34);e.exports=function(e){return n(r(e))}},function(e,t,o){'use strict';var n=o(95)(!0);o(35)(String,'String',function(e){this._t=e+'',this._i=0},function(){var e,t=this._t,o=this._i;return o>=t.length?{value:void 0,done:!0}:(e=n(t,o),this._i+=e.length,{value:e,done:!1})})},function(e){e.exports=!0},function(e){e.exports=function(e){if('function'!=typeof e)throw TypeError(e+' is not a function!');return e}},function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},function(e,t,o){var n=o(7).f,r=o(13),s=o(3)('toStringTag');e.exports=function(e,t,o){e&&!r(e=o?e:e.prototype,s)&&n(e,s,{configurable:!0,value:t})}},function(e,t,o){o(100);for(var n=o(2),r=o(12),s=o(16),a=o(3)('toStringTag'),l='CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList'.split(','),d=0;df;f++)if(y=t?_(a(m=e[f])[0],m[1]):_(e[f]),y===d||y===c)return y;}else for(g=b.call(e);!(m=g.next()).done;)if(y=r(g,_,m.value,t),y===d||y===c)return y};t.BREAK=d,t.RETURN=c},function(e){e.exports=require('electron')},function(e,t,o){'use strict';function n(){var e=process.cwd();console.log('process.env.NODE_ENV','production');var t=process.execPath.replaceAll('\\','/').split('/');return t.pop(),e=t.join('/'),e}o.d(t,'a',function(){return n})},function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,o){var n=o(8),r=o(97),s=o(42),a=o(40)('IE_PROTO'),i=function(){},l='prototype',d=function(){var e,t=o(36)('iframe'),n=s.length,r='<',a='>';for(t.style.display='none',o(64).appendChild(t),t.src='javascript:',e=t.contentWindow.document,e.open(),e.write(r+'script'+a+'document.F=Object'+r+'/script'+a),e.close(),d=e.F;n--;)delete d[l][s[n]];return d()};e.exports=Object.create||function(e,t){var o;return null===e?o=d():(i[l]=n(e),o=new i,i[l]=null,o[a]=e),void 0===t?o:r(o,t)}},function(e){var t=0,o=Math.random();e.exports=function(e){return'Symbol('.concat(e===void 0?'':e,')_',(++t+o).toString(36))}},function(e,t,o){var n=o(34);e.exports=function(e){return Object(n(e))}},function(e,t,o){var n=o(21),r=o(3)('toStringTag'),s='Arguments'==n(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(t){}};e.exports=function(e){var t,o,i;return e===void 0?'Undefined':null===e?'Null':'string'==typeof(o=a(t=Object(e),r))?o:s?n(t):'Object'==(i=n(t))&&'function'==typeof t.callee?'Arguments':i}},function(e,t,o){'use strict';function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=o(93),s=n(r),a=o(102),i=n(a),l='function'==typeof i.default&&'symbol'==typeof s.default?function(e){return typeof e}:function(e){return e&&'function'==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?'symbol':typeof e};t.default='function'==typeof i.default&&'symbol'===l(s.default)?function(e){return'undefined'==typeof e?'undefined':l(e)}:function(e){return e&&'function'==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?'symbol':'undefined'==typeof e?'undefined':l(e)}},function(e){var t=Math.ceil,o=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(065536)throw new TypeError('pattern is too long')};s.prototype.parse=function(e,o){function r(){a&&('*'===a?(p+=f,g=!0):'?'===a?(p+=h,g=!0):p+='\\'+a,w.debug('clearStateChar %j %j',a,p),a=!1)}y(e);var s=this.options;if('**'===e){if(!s.noglobstar)return c;e='*'}if(''===e)return'';for(var a,d,p='',g=!!s.nocase,_=!1,x=[],E=[],S=!1,O=-1,k=-1,v='.'===e.charAt(0)?'':s.dot?'(?!(?:^|\\/)\\.{1,2}(?:$|\\/))':'(?!\\.)',w=this,T=0,i=e.length;T>> no match, partial?',e,u,t,h),u===a)}var m;if('string'==typeof l?(m=d===l,this.debug('string match',l,d,m)):(m=d.match(l),this.debug('pattern match',l,d,m)),!m)return!1}if(r===a&&s===i)return!0;if(r===a)return o;if(s===i)return r===a-1&&''===e[r];throw new Error('wtf?')}},function(e){e.exports=require('util')},function(e){'use strict';function t(e){return'/'===e.charAt(0)}function o(e){var t=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,o=t.exec(e),n=o[1]||'',r=!!(n&&':'!==n.charAt(1));return!!(o[2]||r)}e.exports='win32'===process.platform?o:t,e.exports.posix=t,e.exports.win32=o},function(e,t,o){'use strict';function n(){var e=O.platform(),t=o(6),n='';'win32'===e&&(n='yjearth4.exe'),'linux'===e&&(n='yjearth4');var r='';'win32'===e&&(r='yjearth4'+h.execPath+'.exe'),'linux'===e&&(r='yjearth4'+h.execPath);var s=b.join(Object(S.a)()+'/yjearth4_0/',n),a=b.join(Object(S.a)()+'/yjearth4_0/',r);console.log('oldPath',a),t.access(s,t.constants.F_OK,function(e){return e?void console.error(s+' does not exist.'):void t.rename(s,a,function(e){return e?void console.error('Error renaming '+s+' to '+a+': '+e):void console.log('File renamed from '+s+' to '+a)})})}function r(){Object(u.b)(),Object(x.a)();var e=h.execPath;console.log('process.env.NODE_ENV +++','production'),n(),Object(E.a)(e),setTimeout(function(){Object(c.runProcess)(e,h.db_path),k=new a.BrowserWindow({minWidth:1500,minHeight:860,useContentSize:!0,simpleFullscreen:!0,resizable:!0,frame:d.a.IsUseSysTitle,icon:P,show:!0,webPreferences:{nodeIntegration:!0,contextIsolation:!1,enableRemoteModule:!0,webSecurity:!1,devTools:!0,scrollBounce:'darwin'===process.platform}}),k.loadURL(w),k.center(),k.maximize(),m.a.Mainfunc(k),k.webContents.on('did-finish-load',function(){k.show(),k.focus(),k.webContents.executeJavaScript('\n const { ipcRenderer } = require(\'electron\'); \n window.addEventListener(\'dragover\', (event) => {\n event.preventDefault();\n event.dataTransfer.dropEffect = \'copy\'; // \u663E\u793A\u590D\u5236\u6548\u679C\n });\n window.addEventListener(\'drop\', (event) => {\n event.preventDefault();\n const files = event.dataTransfer.files;\n if (files.length > 0) {\n ipcRenderer.send(\'files-dropped\', Array.from(files).map(file => file.path));\n }\n });\n ')}),k.webContents.on('did-fail-load',function(){}),k.on('closed',function(){k=null}),k.on('close',function(t){t.preventDefault(),a.dialog.showMessageBox(k,{type:'warning',title:'\u63D0\u793A',message:'\u662F\u5426\u786E\u8BA4\u9000\u51FA\u7CFB\u7EDF?',buttons:['cancel','ok']}).then(function(e){e.response&&(k=null,Object(c.closeChild)(),a.app.exit())})}),a.Menu.setApplicationMenu(null),!1,a.globalShortcut.register('CommandOrControl+f5',function(){k.reload(),k.webContents.once('did-finish-load',function(){setTimeout(function(){k&&!k.isDestroyed()&&(console.log('\u53D1\u9001\u64AD\u653E\u89C6\u9891\u6D88\u606F'),k.webContents.send('start-login-video'))},500)})}),console.log(k.WebPreferences);var t=!0;a.globalShortcut.register('CommandOrControl+f12',function(){k.openDevTools(t),t=!t})},1e3)}function s(){return k}Object.defineProperty(t,'__esModule',{value:!0}),o.d(t,'getmainWindow',function(){return s});var a=o(25),i=o.n(a),l=o(86),d=o.n(l),c=o(56),p=o.n(c),u=o(57),h=o(91),f=o.n(h),m=o(92),g=o(183),y=o.n(g),b=o(1),_=o.n(b),x=o(84),E=o(184),S=o(26),O=o(10);process.env.ELECTRON_DISABLE_SECURITY_WARNINGS=!0,global.__static=o(1).join(__dirname,'/static').replace(/\\/g,'\\\\');var k=void 0,v=void 0,w='file://'+__dirname+'/index.html',T=!a.app.isPackaged,P=b.join(Object(S.a)(),'resources/app.asar/dist/electron/static/logo_ico/81.png'),M=a.app.requestSingleInstanceLock();M?(a.app.on('ready',r),a.app.isReady(),a.app.on('window-all-closed',function(){'darwin'!==process.platform&&a.app.quit()}),a.app.on('activate',function(){null===k&&r()}),a.app.on('second-instance',function(){k&&(k.isMinimized()&&k.restore(),k.focus())}),a.app.on('before-quit',function(){Object(c.closeChild)()}),global.sharedObject={hasService:!1}):a.app.quit()},function(e,t,o){function n(){var e=process.cwd(),t=process.execPath.replaceAll('\\','/').split('/');return t.pop(),e=t.join('/'),e}var r=o(14),s=r.exec,a=r.spawn,i=o(10),l=o(1),d=o(6),c=null;e.exports={runProcess:function(e){var t=1d;)n(l,o=t[d++])&&(~s(i,o)||i.push(o));return i}},function(e,t,o){var n=o(21);e.exports=Object('z').propertyIsEnumerable(0)?Object:function(e){return'String'==n(e)?e.split(''):Object(e)}},function(e,t,o){var n=o(2).document;e.exports=n&&n.documentElement},function(e,t,o){var n=o(13),r=o(30),s=o(40)('IE_PROTO'),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),n(e,s)?e[s]:'function'==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,o){var n=o(21);e.exports=Array.isArray||function(e){return'Array'==n(e)}},function(e,t,o){var n=o(62),r=o(42).concat('length','prototype');t.f=Object.getOwnPropertyNames||function(e){return n(e,r)}},function(e,t,o){var n=o(46),r=o(27),s=o(17),a=o(37),i=o(13),l=o(60),d=Object.getOwnPropertyDescriptor;t.f=o(9)?d:function(e,t){if(e=s(e),t=a(t,!0),l)try{return d(e,t)}catch(t){}return i(e,t)?r(!n.f.call(e,t),e[t]):void 0}},function(e,t,o){var n=o(31),r=o(3)('iterator'),s=o(16);e.exports=o(0).getIteratorMethod=function(e){if(e!=void 0)return e[r]||e['@@iterator']||s[n(e)]}},function(e,t,o){'use strict';var n=o(2),r=o(0),s=o(7),a=o(9),i=o(3)('species');e.exports=function(e){var t='function'==typeof r[e]?r[e]:n[e];a&&t&&!t[i]&&s.f(t,i,{configurable:!0,get:function(){return this}})}},function(e,t,o){var n=o(5);e.exports=function(e,t){if(!n(e)||e._t!==t)throw TypeError('Incompatible receiver, '+t+' required!');return e}},function(e,t,o){var n=o(8),r=o(20),s=o(3)('species');e.exports=function(e,t){var o,a=n(e).constructor;return a===void 0||(o=n(a)[s])==void 0?t:r(o)}},function(e,t,o){var n,r,s,a=o(11),i=o(136),l=o(64),d=o(36),c=o(2),p=c.process,u=c.setImmediate,h=c.clearImmediate,f=c.MessageChannel,m=c.Dispatch,g=0,y={},b='onreadystatechange',_=function(){var e=+this;if(y.hasOwnProperty(e)){var t=y[e];delete y[e],t()}},x=function(e){_.call(e.data)};u&&h||(u=function(e){for(var t=[],o=1;arguments.length>o;)t.push(arguments[o++]);return y[++g]=function(){i('function'==typeof e?e:Function(e),t)},n(g),g},h=function(e){delete y[e]},'process'==o(21)(p)?n=function(e){p.nextTick(a(_,e,1))}:m&&m.now?n=function(e){m.now(a(_,e,1))}:f?(r=new f,s=r.port2,r.port1.onmessage=x,n=a(s.postMessage,s,1)):c.addEventListener&&'function'==typeof postMessage&&!c.importScripts?(n=function(e){c.postMessage(e+'','*')},c.addEventListener('message',x,!1)):b in d('script')?n=function(e){l.appendChild(d('script'))[b]=function(){l.removeChild(this),_.call(e)}}:n=function(e){setTimeout(a(_,e,1),0)}),e.exports={set:u,clear:h}},function(e){e.exports=function(e){try{return{e:!1,v:e()}}catch(t){return{e:!0,v:t}}}},function(e,t,o){var n=o(8),r=o(5),s=o(50);e.exports=function(e,t){if(n(e),r(t)&&t.constructor===e)return t;var o=s.f(e),a=o.resolve;return a(t),o.promise}},function(e,t,o){function n(e,t,o){if('function'==typeof t&&(o=t,t={}),t||(t={}),t.sync){if(o)throw new TypeError('callback provided to sync glob');return m(e,t)}return new s(e,t,o)}function r(e,t){if(null===t||'object'!=typeof t)return e;for(var o=Object.keys(t),n=o.length;n--;)e[o[n]]=t[o[n]];return e}function s(e,t,o){function r(){--n._processing,0>=n._processing&&(l?process.nextTick(function(){n._finish()}):n._finish())}if('function'==typeof t&&(o=t,t=null),t&&t.sync){if(o)throw new TypeError('callback provided to sync glob');return new k(e,t)}if(!(this instanceof s))return new s(e,t,o);y(this,e,t),this._didRealPath=!1;var a=this.minimatch.set.length;this.matches=Array(a),'function'==typeof o&&(o=O(o),this.on('error',o),this.on('end',function(e){o(null,e)}));var n=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(0===a)return r();for(var l=!0,d=0;dthis.maxLength)return t();if(!this.stat&&b(this.cache,o)){var r=this.cache[o];if(Array.isArray(r)&&(r='DIR'),!n||'DIR'===r)return t(null,r);if(n&&'FILE'===r)return t()}var s=this.statCache[o];if(s!==void 0){if(!1===s)return t(null,s);var a=s.isDirectory()?'DIR':'FILE';return n&&'FILE'==a?t():t(null,a,s)}var i=this,l=_('stat\0'+o,function(n,r){return r&&r.isSymbolicLink()?i.fs.stat(o,function(n,s){n?i._stat2(e,o,null,r,t):i._stat2(e,o,n,s,t)}):void i._stat2(e,o,n,r,t)});l&&i.fs.lstat(o,l)},s.prototype._stat2=function(e,t,o,n,r){if(o&&('ENOENT'===o.code||'ENOTDIR'===o.code))return this.statCache[t]=!1,r();var s='/'===e.slice(-1);if(this.statCache[t]=n,'/'===t.slice(-1)&&n&&!n.isDirectory())return r(null,!1,n);var a=!0;return n&&(a=n.isDirectory()?'DIR':'FILE'),this.cache[t]=this.cache[t]||a,s&&'FILE'===a?r():r(null,a,n)}},function(e,t,o){function n(e){return e&&'realpath'===e.syscall&&('ELOOP'===e.code||'ENOMEM'===e.code||'ENAMETOOLONG'===e.code)}function r(e,t,o){return c?i(e,t,o):void('function'==typeof t&&(o=t,t=null),i(e,t,function(r,s){n(r)?u.realpath(e,t,o):o(r,s)}))}function s(e,t){if(c)return l(e,t);try{return l(e,t)}catch(o){if(n(o))return u.realpathSync(e,t);throw o}}e.exports=r,r.realpath=r,r.sync=s,r.realpathSync=s,r.monkeypatch=function(){a.realpath=r,a.realpathSync=s},r.unmonkeypatch=function(){a.realpath=i,a.realpathSync=l};var a=o(6),i=a.realpath,l=a.realpathSync,d=process.version,c=/^v[0-5]\./.test(d),u=o(143)},function(e){e.exports=require('events')},function(e,t,o){function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function r(e,t){return e.localeCompare(t,'en')}function s(e,t){e.ignore=t.ignore||[],Array.isArray(e.ignore)||(e.ignore=[e.ignore]),e.ignore.length&&(e.ignore=e.ignore.map(a))}function a(e){var t=null;if('/**'===e.slice(-3)){var o=e.replace(/(\/\*\*)+$/,'');t=new h(o,{dot:!0})}return{matcher:new h(e,{dot:!0}),gmatcher:t}}function i(e,t){var o=t;return o='/'===t.charAt(0)?c.join(e.root,t):u(t)||''===t?t:e.changedCwd?c.resolve(e.cwd,t):c.resolve(t),'win32'===process.platform&&(o=o.replace(/\\/g,'/')),o}function l(e,t){return!!e.ignore.length&&e.ignore.some(function(e){return e.matcher.match(t)||!!(e.gmatcher&&e.gmatcher.match(t))})}t.setopts=function(e,t,o){if(o||(o={}),o.matchBase&&-1===t.indexOf('/')){if(o.noglobstar)throw new Error('base matching requires globstar');t='**/'+t}e.silent=!!o.silent,e.pattern=t,e.strict=!1!==o.strict,e.realpath=!!o.realpath,e.realpathCache=o.realpathCache||Object.create(null),e.follow=!!o.follow,e.dot=!!o.dot,e.mark=!!o.mark,e.nodir=!!o.nodir,e.nodir&&(e.mark=!0),e.sync=!!o.sync,e.nounique=!!o.nounique,e.nonull=!!o.nonull,e.nosort=!!o.nosort,e.nocase=!!o.nocase,e.stat=!!o.stat,e.noprocess=!!o.noprocess,e.absolute=!!o.absolute,e.fs=o.fs||d,e.maxLength=o.maxLength||Infinity,e.cache=o.cache||Object.create(null),e.statCache=o.statCache||Object.create(null),e.symlinks=o.symlinks||Object.create(null),s(e,o),e.changedCwd=!1;var r=process.cwd();n(o,'cwd')?(e.cwd=c.resolve(o.cwd),e.changedCwd=e.cwd!==r):e.cwd=r,e.root=o.root||c.resolve(e.cwd,'/'),e.root=c.resolve(e.root),'win32'===process.platform&&(e.root=e.root.replace(/\\/g,'/')),e.cwdAbs=u(e.cwd)?e.cwd:i(e,e.cwd),'win32'===process.platform&&(e.cwdAbs=e.cwdAbs.replace(/\\/g,'/')),e.nomount=!!o.nomount,o.nonegate=!0,o.nocomment=!0,o.allowWindowsEscape=!1,e.minimatch=new h(t,o),e.options=e.minimatch.options},t.ownProp=n,t.makeAbs=i,t.finish=function(t){for(var e,o=t.nounique,n=o?[]:Object.create(null),s=0,a=t.matches.length;ss||s>=i?e?'':void 0:(d=c.charCodeAt(s),55296>d||56319(a=c.charCodeAt(s+1))||57343d;)n.f(e,o=a[d++],t[o]);return e}},function(e,t,o){var n=o(17),r=o(39),s=o(99);e.exports=function(e){return function(t,o,a){var i,l=n(t),d=r(l.length),c=s(a,d);if(e&&o!=o){for(;d>c;)if(i=l[c++],i!=i)return!0;}else for(;d>c;c++)if((e||c in l)&&l[c]===o)return e||c||0;return!e&&-1}}},function(e,t,o){var n=o(33),r=Math.max,s=Math.min;e.exports=function(e,t){return e=n(e),0>e?r(e+t,0):s(e,t)}},function(e,t,o){'use strict';var n=o(101),r=o(66),s=o(16),a=o(17);e.exports=o(35)(Array,'Array',function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,o=this._i++;return!e||o>=e.length?(this._t=void 0,r(1)):'keys'==t?r(0,o):'values'==t?r(0,e[o]):r(0,[o,e[o]])},'values'),s.Arguments=s.Array,n('keys'),n('values'),n('entries')},function(e){e.exports=function(){}},function(e,t,o){e.exports={default:o(103),__esModule:!0}},function(e,t,o){o(104),o(47),o(107),o(108),e.exports=o(0).Symbol},function(e,t,o){'use strict';var n=o(2),r=o(13),s=o(9),a=o(4),i=o(61),l=o(44).KEY,d=o(15),c=o(41),p=o(22),u=o(29),h=o(3),f=o(43),m=o(45),g=o(105),y=o(68),b=o(8),_=o(5),x=o(30),E=o(17),S=o(37),O=o(27),v=o(28),w=o(106),T=o(70),P=o(67),M=o(7),A=o(38),I=T.f,R=M.f,D=w.f,N=n.Symbol,C=n.JSON,L=C&&C.stringify,$='prototype',F=h('_hidden'),G=h('toPrimitive'),Y={}.propertyIsEnumerable,W=c('symbol-registry'),H=c('symbols'),U=c('op-symbols'),B=Object[$],K='function'==typeof N&&!!P.f,q=n.QObject,z=!q||!q[$]||!q[$].findChild,V=s&&d(function(){return 7!=v(R({},'a',{get:function(){return R(this,'a',{value:7}).a}})).a})?function(e,t,o){var n=I(B,t);n&&delete B[t],R(e,t,o),n&&e!==B&&R(B,t,n)}:R,J=function(e){var t=H[e]=v(N[$]);return t._k=e,t},Q=K&&'symbol'==typeof N.iterator?function(e){return'symbol'==typeof e}:function(e){return e instanceof N},Z=function(e,t,o){return e===B&&Z(U,t,o),b(e),t=S(t,!0),b(o),r(H,t)?(o.enumerable?(r(e,F)&&e[F][t]&&(e[F][t]=!1),o=v(o,{enumerable:O(0,!1)})):(!r(e,F)&&R(e,F,O(1,{})),e[F][t]=!0),V(e,t,o)):R(e,t,o)},X=function(e,t){b(e);for(var o,n=g(t=E(t)),r=0,s=n.length;s>r;)Z(e,o=n[r++],t[o]);return e},ee=function(e){var t=Y.call(this,e=S(e,!0));return this===B&&r(H,e)&&!r(U,e)?!1:t||!r(this,e)||!r(H,e)||r(this,F)&&this[F][e]?t:!0},te=function(e,t){if(e=E(e),t=S(t,!0),e!==B||!r(H,t)||r(U,t)){var o=I(e,t);return o&&r(H,t)&&!(r(e,F)&&e[F][t])&&(o.enumerable=!0),o}},oe=function(e){for(var t,o=D(E(e)),n=[],s=0;o.length>s;)r(H,t=o[s++])||t==F||t==l||n.push(t);return n},ne=function(e){for(var t,o=e===B,n=D(o?U:E(e)),s=[],a=0;n.length>a;)r(H,t=n[a++])&&(!o||r(B,t))&&s.push(H[t]);return s};K||(N=function(){if(this instanceof N)throw TypeError('Symbol is not a constructor!');var e=u(0se;)h(re[se++]);for(var j=A(h.store),ae=0;j.length>ae;)m(j[ae++]);a(a.S+a.F*!K,'Symbol',{for:function(e){return r(W,e+='')?W[e]:W[e]=N(e)},keyFor:function(e){if(!Q(e))throw TypeError(e+' is not a symbol!');for(var t in W)if(W[t]===e)return t},useSetter:function(){z=!0},useSimple:function(){z=!1}}),a(a.S+a.F*!K,'Object',{create:function(e,t){return t===void 0?v(e):X(v(e),t)},defineProperty:Z,defineProperties:X,getOwnPropertyDescriptor:te,getOwnPropertyNames:oe,getOwnPropertySymbols:ne});var k=d(function(){P.f(1)});a(a.S+a.F*k,'Object',{getOwnPropertySymbols:function(e){return P.f(x(e))}}),C&&a(a.S+a.F*(!K||d(function(){var e=N();return'[null]'!=L([e])||'{}'!=L({a:e})||'{}'!=L(Object(e))})),'JSON',{stringify:function(e){for(var t,o,n=[e],r=1;arguments.length>r;)n.push(arguments[r++]);if(o=t=n[1],(_(t)||void 0!==e)&&!Q(e))return y(t)||(t=function(e,t){if('function'==typeof o&&(t=o.call(this,e,t)),!Q(t))return t}),n[1]=t,L.apply(C,n)}}),N[$][G]||o(12)(N[$],G,N[$].valueOf),p(N,'Symbol'),p(Math,'Math',!0),p(n.JSON,'JSON',!0)},function(e,t,o){var n=o(38),r=o(67),s=o(46);e.exports=function(e){var t=n(e),o=r.f;if(o)for(var a,l=o(e),d=s.f,c=0;l.length>c;)d.call(e,a=l[c++])&&t.push(a);return t}},function(e,t,o){var n=o(17),r=o(69).f,s={}.toString,a='object'==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],i=function(e){try{return r(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&'[object Window]'==s.call(e)?i(e):r(n(e))}},function(e,t,o){o(45)('asyncIterator')},function(e,t,o){o(45)('observable')},function(e,t,o){e.exports={default:o(110),__esModule:!0}},function(e,t,o){o(47),o(18),o(23),o(111),o(119),o(122),o(124),e.exports=o(0).Map},function(e,t,o){'use strict';var n=o(112),r=o(73),s='Map';e.exports=o(115)(s,function(e){return function(){return e(this,0b;b++)if((5==e||d||b in g)&&(u=g[b],h=y(u,b,m),e))if(o)_[b]=h;else if(h)switch(e){case 3:return!0;case 5:return u;case 6:return b;case 2:_.push(u);}else if(l)return!1;return d?-1:3==e||l?l:_}}},function(e,t,o){var n=o(118);e.exports=function(e,t){return new(n(e))(t)}},function(e,t,o){var n=o(5),r=o(68),s=o(3)('species');e.exports=function(e){var t;return r(e)&&(t=e.constructor,'function'==typeof t&&(t===Array||r(t.prototype))&&(t=void 0),n(t)&&(t=t[s],null===t&&(t=void 0))),void 0===t?Array:t}},function(e,t,o){var n=o(4);n(n.P+n.R,'Map',{toJSON:o(120)('Map')})},function(e,t,o){var n=o(31),r=o(121);e.exports=function(e){return function(){if(n(this)!=e)throw TypeError(e+'#toJSON isn\'t generic');return r(this)}}},function(e,t,o){var n=o(24);e.exports=function(e,t){var o=[];return n(e,!1,o.push,o,t),o}},function(e,t,o){o(123)('Map')},function(e,t,o){'use strict';var n=o(4);e.exports=function(e){n(n.S,e,{of:function(){for(var e=arguments.length,t=Array(e);e--;)t[e]=arguments[e];return new this(t)}})}},function(e,t,o){o(125)('Map')},function(e,t,o){'use strict';var n=o(4),r=o(20),s=o(11),a=o(24);e.exports=function(e){n(n.S,e,{from:function(e){var t,o,i,n,l=arguments[1];return(r(this),t=void 0!==l,t&&r(l),void 0==e)?new this:(o=[],t?(i=0,n=s(l,arguments[2],2),a(e,!1,function(e){o.push(n(e,i++))})):a(e,!1,o.push,o),new this(o))}})}},function(e,t,o){'use strict';function n(e,t){console.log(e);try{var o=s.exec(e,{cwd:r.join(process.cwd(),'convert')});o.stdout.on('data',function(){}),o.stderr.on('data',function(){console.log('stderr_________________________')}),o.on('close',function(e){console.log('out code_______________________\uFF1A'+e),t()})}catch(t){console.log(t)}}t.c=function(e,t,o){n('start '+a+' -f osgb -i '+e+' -o '+t,o)},t.d=function(e,t,o){n('start '+a+' -f shape -i '+e+' -o '+t+' --height height',o)},t.a=function(e,t,o){n('start '+a+' -f b3dm -i '+e+' -o '+t,o)},t.b=function(e,t,o){try{var n=s.exec('start '+l+' -i '+e+' -o '+t,{cwd:r.join(process.cwd(),'collada2gltf')});n.on('close',function(){o()})}catch(t){console.log(t)}};var r=o(1),s=o(14),a=r.join(process.cwd(),'/convert/_3dtile.exe'),l=r.join(process.cwd(),'/collada2gltf/COLLADA2GLTF-bin.exe')},function(e,t,o){'use strict';t.a=function(){this.obj2gltf=function(e){s(e+'.obj').then(function(t){var o=Buffer.from(r()(t));a.writeFileSync(e+'.gltf',o)})},this.obj2glb=function(e,t,o){s(e,{binary:!0}).then(function(e){a.writeFileSync(t,e),o()})}};var n=o(128),r=o.n(n),s=o(130),a=o(6),i=o(131),l=i.processGltf},function(e,t,o){e.exports={default:o(129),__esModule:!0}},function(e,t,o){var n=o(0),r=n.JSON||(n.JSON={stringify:JSON.stringify});e.exports=function(){return r.stringify.apply(r,arguments)}},function(e){e.exports=require('obj2gltf')},function(e){e.exports=require('gltf-pipeline')},function(e,t,o){'use strict';t.a=function(){function e(e,t){var o=2')))})}catch(e){r(e)}})}this.fbx2glb=function(t,o,n){e(t,o,['--khr-materials-unlit']).then(function(e){n(e)},function(e){n(e)})}};var n=o(133),r=o.n(n),s=o(14),a=o(6),i=o(10),l=o(1),d=o(142);console.log(l.join(process.cwd(),'convert/FBX2glTF.exe'))},function(e,t,o){e.exports={default:o(134),__esModule:!0}},function(e,t,o){o(47),o(18),o(23),o(135),o(140),o(141),e.exports=o(0).Promise},function(e,t,o){'use strict';var n,r,s,a,i=o(19),l=o(2),d=o(11),c=o(31),p=o(4),u=o(5),h=o(20),f=o(49),m=o(24),g=o(74),y=o(75).set,b=o(137)(),_=o(50),x=o(76),E=o(138),S=o(77),O='Promise',k=l.TypeError,v=l.process,w=v&&v.versions,T=w&&w.v8||'',P=l[O],M='process'==c(v),j=function(){},A=r=_.f,I=!!function(){try{var e=P.resolve(1),t=(e.constructor={})[o(3)('species')]=function(e){e(j,j)};return(M||'function'==typeof PromiseRejectionEvent)&&e.then(j)instanceof t&&0!==T.indexOf('6.6')&&-1===E.indexOf('Chrome/66')}catch(t){}}(),R=function(e){var t;return u(e)&&'function'==typeof(t=e.then)&&t},D=function(e,t){if(!e._n){e._n=!0;var o=e._c;b(function(){for(var n=e._v,r=1==e._s,s=0,a=function(t){var o,s,a,i=r?t.ok:t.fail,l=t.resolve,d=t.reject,c=t.domain;try{i?(!r&&(2==e._h&&L(e),e._h=1),!0===i?o=n:(c&&c.enter(),o=i(n),c&&(c.exit(),a=!0)),o===t.promise?d(k('Promise-chain cycle')):(s=R(o))?s.call(o,l,d):l(o)):d(n)}catch(t){c&&!a&&c.exit(),d(t)}};o.length>s;)a(o[s++]);e._c=[],e._n=!1,t&&!e._h&&N(e)})}},N=function(e){y.call(l,function(){var t,o,n,r=e._v,s=C(e);if(s&&(t=x(function(){M?v.emit('unhandledRejection',r,e):(o=l.onunhandledrejection)?o({promise:e,reason:r}):(n=l.console)&&n.error&&n.error('Unhandled promise rejection',r)}),e._h=M||C(e)?2:1),e._a=void 0,s&&t.e)throw t.v})},C=function(e){return 1!==e._h&&0===(e._a||e._c).length},L=function(e){y.call(l,function(){var t;M?v.emit('rejectionHandled',e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})})},$=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,!t._a&&(t._a=t._c.slice()),D(t,!0))},F=function(e){var t,o=this;if(!o._d){o._d=!0,o=o._w||o;try{if(o===e)throw k('Promise can\'t be resolved itself');(t=R(e))?b(function(){var n={_w:o,_d:!1};try{t.call(e,d(F,n,1),d($,n,1))}catch(t){$.call(n,t)}}):(o._v=e,o._s=1,D(o,!1))}catch(t){$.call({_w:o,_d:!1},t)}}};I||(P=function(e){f(this,P,O,'_h'),h(e),n.call(this);try{e(d(F,this,1),d($,this,1))}catch(e){$.call(this,e)}},n=function(){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},n.prototype=o(48)(P.prototype,{then:function(e,t){var o=A(g(this,P));return o.ok='function'!=typeof e||e,o.fail='function'==typeof t&&t,o.domain=M?v.domain:void 0,this._c.push(o),this._a&&this._a.push(o),this._s&&D(this,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),s=function(){var e=new n;this.promise=e,this.resolve=d(F,e,1),this.reject=d($,e,1)},_.f=A=function(e){return e===P||e===a?new s(e):r(e)}),p(p.G+p.W+p.F*!I,{Promise:P}),o(22)(P,O),o(72)(O),a=o(0)[O],p(p.S+p.F*!I,O,{reject:function(e){var t=A(this),o=t.reject;return o(e),t.promise}}),p(p.S+p.F*(i||!I),O,{resolve:function(e){return S(i&&this===a?P:this,e)}}),p(p.S+p.F*!(I&&o(139)(function(e){P.all(e)['catch'](j)})),O,{all:function(e){var t=this,o=A(t),n=o.resolve,r=o.reject,s=x(function(){var o=[],s=0,a=1;m(e,!1,function(e){var i=s++,l=!1;o.push(void 0),a++,t.resolve(e).then(function(e){l||(l=!0,o[i]=e,--a||n(o))},r)}),--a||n(o)});return s.e&&r(s.v),o.promise},race:function(e){var t=this,o=A(t),n=o.reject,r=x(function(){m(e,!1,function(e){t.resolve(e).then(o.resolve,n)})});return r.e&&n(r.v),o.promise}})},function(e){e.exports=function(e,t,o){var n=o===void 0;switch(t.length){case 0:return n?e():e.call(o);case 1:return n?e(t[0]):e.call(o,t[0]);case 2:return n?e(t[0],t[1]):e.call(o,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(o,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(o,t[0],t[1],t[2],t[3]);}return e.apply(o,t)}},function(e,t,o){var n=o(2),r=o(75).set,s=n.MutationObserver||n.WebKitMutationObserver,a=n.process,i=n.Promise,l='process'==o(21)(a);e.exports=function(){var t,o,d,e=function(){var e,n;for(l&&(e=a.domain)&&e.exit();t;){n=t.fn,t=t.next;try{n()}catch(n){throw t?d():o=void 0,n}}o=void 0,e&&e.enter()};if(l)d=function(){a.nextTick(e)};else if(s&&!(n.navigator&&n.navigator.standalone)){var c=!0,p=document.createTextNode('');new s(e).observe(p,{characterData:!0}),d=function(){p.data=c=!c}}else if(i&&i.resolve){var u=i.resolve(void 0);d=function(){u.then(e)}}else d=function(){r.call(n,e)};return function(e){var n={fn:e,next:void 0};o&&(o.next=n),t||(t=n,d()),o=n}}},function(e,t,o){var n=o(2),r=n.navigator;e.exports=r&&r.userAgent||''},function(e,t,o){var n=o(3)('iterator'),r=!1;try{var s=[7][n]();s['return']=function(){r=!0},Array.from(s,function(){throw 2})}catch(t){}e.exports=function(e,t){if(!t&&!r)return!1;var o=!1;try{var s=[7],a=s[n]();a.next=function(){return{done:o=!0}},s[n]=function(){return a},e(s)}catch(t){}return o}},function(e,t,o){'use strict';var n=o(4),r=o(0),s=o(2),a=o(74),i=o(77);n(n.P+n.R,'Promise',{finally:function(t){var o=a(this,r.Promise||s.Promise),e='function'==typeof t;return this.then(e?function(e){return i(o,t()).then(function(){return e})}:t,e?function(n){return i(o,t()).then(function(){throw n})}:t)}})},function(e,t,o){'use strict';var n=o(4),r=o(50),s=o(76);n(n.S,'Promise',{try:function(e){var t=r.f(this),o=s(e);return(o.e?t.reject:t.resolve)(o.v),t.promise}})},function(e,t,o){function r(e){if(['unlink','chmod','stat','lstat','rmdir','readdir'].forEach(function(t){e[t]=e[t]||p[t],t+='Sync',e[t]=e[t]||p[t]}),e.maxBusyTries=e.maxBusyTries||3,e.emfileWait=e.emfileWait||1e3,!1===e.glob&&(e.disableGlob=!0),!0!==e.disableGlob&&void 0===g)throw Error('glob dependency not found, set `options.disableGlob = true` if intentional');e.disableGlob=e.disableGlob||!1,e.glob=e.glob||b}function s(e,t,o){function s(e){l=l||e,0==--d&&o(l)}function a(e,r){return e?o(e):(d=r.length,0===d?o():void r.forEach(function(e){n(e,t,function o(r){if(r){if(('EBUSY'===r.code||'ENOTEMPTY'===r.code||'EPERM'===r.code)&&i=e.length)return t&&(t[m]=e),o(null,e);c.lastIndex=f;var n=c.exec(e);return b=g,g+=n[0],y=b+n[1],f=c.lastIndex,x[y]||t&&t[y]===y?process.nextTick(l):t&&Object.prototype.hasOwnProperty.call(t,y)?h(t[y]):i.lstat(y,d)}function d(e,n){if(e)return o(e);if(!n.isSymbolicLink())return x[y]=!0,t&&(t[y]=y),process.nextTick(l);if(!a){var r=n.dev.toString(32)+':'+n.ino.toString(32);if(_.hasOwnProperty(r))return p(null,_[r],y)}i.stat(y,function(e){return e?o(e):void i.readlink(y,function(e,t){a||(_[r]=t),p(e,t)})})}function p(e,n,r){if(e)return o(e);var a=s.resolve(b,n);t&&(t[r]=a),h(a)}function h(t){e=s.resolve(t,e.slice(f)),n()}if('function'!=typeof o&&(o=r(t),t=null),e=s.resolve(e),t&&Object.prototype.hasOwnProperty.call(t,e))return process.nextTick(o.bind(null,null,t[e]));var f,g,y,b,m=e,_={},x={};n()}},function(e,t,o){function r(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function n(e){return e.split('\\\\').join(i).split('\\{').join(c).split('\\}').join(b).split('\\,').join(m).split('\\.').join(y)}function s(e){return e.split(i).join('\\').split(c).join('{').split(b).join('}').split(m).join(',').split(y).join('.')}function a(e){if(!e)return[''];var t=[],o=g('{','}',e);if(!o)return e.split(',');var n=o.pre,r=o.body,s=o.post,i=n.split(',');i[i.length-1]+='{'+r+'}';var l=a(s);return s.length&&(i[i.length-1]+=l.shift(),i.push.apply(i,l)),t.push.apply(t,i),t}function l(e){return'{'+e+'}'}function d(e){return /^-?0\d/.test(e)}function p(e,t){return e<=t}function u(e,t){return e>=t}function h(e,t){var o=[],s=g('{','}',e);if(!s||/\$$/.test(s.pre))return[e];var _=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(s.body),E=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(s.body),S=_||E,O=0<=s.body.indexOf(',');if(!S&&!O)return s.post.match(/,.*\}/)?(e=s.pre+'{'+s.body+b+s.post,h(e)):[e];var v;if(S)v=s.body.split(/\.\./);else if(v=a(s.body),1===v.length&&(v=h(v[0],!1).map(l),1===v.length)){var n=s.post.length?h(s.post,!1):[''];return n.map(function(e){return s.pre+v[0]+e})}var w,T=s.pre,n=s.post.length?h(s.post,!1):[''];if(S){var P=r(v[0]),x=r(v[1]),y=Math.max(v[0].length,v[1].length),M=3==v.length?Math.abs(r(v[2])):1,A=p;xR?'-'+D+i.slice(1):D+i}}w.push(i)}}else w=f(v,function(e){return h(e,!1)});for(var N=0;Nthis.maxLength)return!1;if(!this.stat&&m(this.cache,t)){var n=this.cache[t];if(Array.isArray(n)&&(n='DIR'),!o||'DIR'===n)return n;if(o&&'FILE'===n)return!1}var r=this.statCache[t];if(!r){var s;try{s=this.fs.lstatSync(t)}catch(e){if(e&&('ENOENT'===e.code||'ENOTDIR'===e.code))return this.statCache[t]=!1,!1}if(s&&s.isSymbolicLink())try{r=this.fs.statSync(t)}catch(e){r=s}else r=s}this.statCache[t]=r;var n=!0;return r&&(n=r.isDirectory()?'DIR':'FILE'),this.cache[t]=this.cache[t]||n,o&&'FILE'===n?!1:n},r.prototype._mark=function(e){return h.mark(this,e)},r.prototype._makeAbs=function(e){return h.makeAbs(this,e)}},function(e,t,o){function n(e){return i(function t(){var o=a[e],n=o.length,s=r(arguments);try{for(var l=0;ln?(o.splice(0,n),process.nextTick(function(){t.apply(null,s)})):delete a[e]}})}function r(e){for(var t=e.length,o=[],n=0;n=t?o:''+Array(t+1-n.length).join(e)+o},L='en',g={};g[L]={name:'en',weekdays:['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],months:['January','February','March','April','May','June','July','August','September','October','November','December'],ordinal:function(o){var t=['th','st','nd','rd'],e=o%100;return'['+o+(t[(e-20)%10]||t[e]||t[0])+']'}};var D='$isDayjsObject',p=function(e){return e instanceof b||e&&e[D]},S=function o(t,l,n){var d;if(!t)return L;if('string'==typeof t){var c=t.toLowerCase();g[c]&&(d=c),l&&(g[c]=l,d=c);var s=t.split('-');if(!d&&1=t?'+':'-')+y(n,2,'0')+':'+y(e%60,2,'0')},m:function o(t,e){if(t.date()e-r,s=t.clone().add(n+(a?-1:1),I);return+(-(n+(e-r)/(a?r-s:s-r))||0)},a:function(e){return 0>e?Math.ceil(e)||0:s(e)},p:function(e){return{M:I,y:N,w:n,d:A,D:C,h:j,m:P,s:T,ms:E,Q:R}[e]||((e||'')+'').toLowerCase().replace(/s$/,'')},u:function(e){return void 0===e}};O.l=S,O.i=p,O.w=function(o,t){return w(o,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var b=function(){function o(e){this.$L=S(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[D]=!0}var a=Math.round,r=o.prototype;return r.parse=function(e){this.$d=function(o){var t=o.date,a=o.utc;if(null===t)return new Date(NaN);if(O.u(t))return new Date;if(t instanceof Date)return new Date(t);if('string'==typeof t&&!/Z$/i.test(t)){var n=t.match(l);if(n){var r=n[2]-1||0,i=(n[7]||'0').substring(0,3);return a?new Date(Date.UTC(n[1],r,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],r,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(t)}(e),this.init()},r.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},r.$utils=function(){return O},r.isValid=function(){return this.$d.toString()!==v},r.isSame=function(o,t){var e=w(o);return this.startOf(t)<=e&&e<=this.endOf(t)},r.isAfter=function(o,t){return w(o)o?'AM':'PM';return e?n.toLowerCase():n};return m.replace(M,function(l,t){return t||function(l){return'YY'===l?(p.$y+'').slice(-2):'YYYY'===l?O.s(p.$y,4,'0'):'M'===l?i+1:'MM'===l?O.s(i+1,2,'0'):'MMM'===l?c(e.monthsShort,i,o,3):'MMMM'===l?c(o,i):'D'===l?p.$D:'DD'===l?O.s(p.$D,2,'0'):'d'===l?p.$W+'':'dd'===l?c(e.weekdaysMin,p.$W,a,2):'ddd'===l?c(e.weekdaysShort,p.$W,a,3):'dddd'===l?a[p.$W]:'H'===l?r+'':'HH'===l?O.s(r,2,'0'):'h'===l?u(1):'hh'===l?u(2):'a'===l?d(r,s,!0):'A'===l?d(r,s,!1):'m'===l?s+'':'mm'===l?O.s(s,2,'0'):'s'===l?p.$s+'':'ss'===l?O.s(p.$s,2,'0'):'SSS'===l?O.s(p.$ms,3,'0'):'Z'===l?n:null}(l)||n.replace(':','')})},r.utcOffset=function(){return 15*-a(this.$d.getTimezoneOffset()/15)},r.diff=function(o,r,s){var a,i=this,l=O.p(r),d=w(o),c=(d.utcOffset()-this.utcOffset())*t,p=this-d,u=function(){return O.m(i,d)};return a=l===N?u()/12:l===I?u():l===R?u()/3:l===n?(p-c)/6048e5:l===A?(p-c)/864e5:l===j?p/e:l===P?p/t:l===T?p/x:p,s?a:O.a(a)},r.daysInMonth=function(){return this.endOf(I).$D},r.$locale=function(){return g[this.$L]},r.locale=function(o,s){if(!o)return this.$L;var e=this.clone(),n=S(o,s,!0);return n&&(e.$L=n),e},r.clone=function(){return O.w(this.$d,this)},r.toDate=function(){return new Date(this.valueOf())},r.toJSON=function(){return this.isValid()?this.toISOString():null},r.toISOString=function(){return this.$d.toISOString()},r.toString=function(){return this.$d.toUTCString()},o}(),_=b.prototype;return w.prototype=_,[['$ms',E],['$s',T],['$m',P],['$H',j],['$W',A],['$M',I],['$y',N],['$D',C]].forEach(function(o){_[o[1]]=function(t){return this.$g(t,o[0],o[1])}}),w.extend=function(o,t){return o.$i||(o(t,b,w),o.$i=!0),w},w.locale=S,w.isDayjs=p,w.unix=function(e){return w(1e3*e)},w.en=g[L],w.Ls=g,w.p={},w})},function(e,t,o){'use strict';function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=o(173),s=n(r),a=o(85),l=n(a);t.default=function(){function e(e,t){var o=[],n=!0,r=!1,s=void 0;try{for(var a,i=(0,l.default)(e);!(n=(a=i.next()).done)&&(o.push(a.value),!(t&&o.length===t));n=!0);}catch(e){r=!0,s=e}finally{try{!n&&i['return']&&i['return']()}finally{if(r)throw s}}return o}return function(t,o){if(Array.isArray(t))return t;if((0,s.default)(Object(t)))return e(t,o);throw new TypeError('Invalid attempt to destructure non-iterable instance')}}()},function(e,t,o){e.exports={default:o(174),__esModule:!0}},function(e,t,o){o(23),o(18),e.exports=o(175)},function(e,t,o){var n=o(31),r=o(3)('iterator'),s=o(16);e.exports=o(0).isIterable=function(e){var t=Object(e);return t[r]!==void 0||'@@iterator'in t||s.hasOwnProperty(n(t))}},function(e,t,o){o(23),o(18),e.exports=o(177)},function(e,t,o){var n=o(8),r=o(71);e.exports=o(0).getIterator=function(e){var t=r(e);if('function'!=typeof t)throw TypeError(e+' is not iterable!');return n(t.call(e))}},function(e){e.exports=require('dgram')},function(e,t,o){'use strict';var n=o(180),r=o(1),s=process.cwd();s=process.execPath.replaceAll('\\','/').split('/'),s.pop(),s=s.join('/'),console.log(r.join(s,'logs/access.log')),n.configure({appenders:{access:{type:'dateFile',filename:r.join(s,'logs/access.log'),pattern:'-yyyy-MM-dd-hh',alwaysIncludePattern:!0,layout:{type:'pattern',pattern:'[%d{yyyy-MM-dd hh:mm:ss}] %m'}}},categories:{default:{appenders:['access'],level:'debug'}}});n.getLogger()},function(e){e.exports=require('log4js')},function(e){e.exports=require('ini')},function(e){e.exports=require('http')},function(){},function(e,t,o){'use strict';function n(e){var t;switch(l.platform()){case'win32':e='yjearth4'+e+'.exe',t='tasklist | findstr "'+e+'"',i(t,function(t,o){if(t)return void console.error('\u6267\u884C tasklist \u547D\u4EE4\u65F6\u51FA\u9519: '+t);var n=o.split('\n'),r=!0,a=!1,l=void 0;try{for(var d,c,p=s()(n);!(r=(d=p.next()).done);r=!0)c=d.value,c.includes(e)&&function(){var t=c.split(/\s+/),o=t[1];i('taskkill /F /PID '+o,function(t){return t?void console.error('\u6740\u6B7B\u8FDB\u7A0B\u65F6\u51FA\u9519: '+t):void console.log('\u5DF2\u5728 Windows \u7CFB\u7EDF\u6740\u6B7B\u8FDB\u7A0B '+e+' (PID: '+o+')')})}()}catch(e){a=!0,l=e}finally{try{!r&&p.return&&p.return()}finally{if(a)throw l}}});break;case'linux':t='ps -ef | grep "yjearth4'+e+'"',i(t,function(t,o){if(t)return void console.error('\u6267\u884C ps \u547D\u4EE4\u65F6\u51FA\u9519: '+t);var n=o.split('\n'),r=!0,a=!1,l=void 0;try{for(var d,c,p=s()(n);!(r=(d=p.next()).done);r=!0)c=d.value,c.includes(e)&&function(){var t=c.split(/\s+/),o=t[1];i('kill -9 '+o,function(t){return t?void console.error('\u6740\u6B7B\u8FDB\u7A0B\u65F6\u51FA\u9519: '+t):void console.log('\u5DF2\u5728 Linux \u7CFB\u7EDF\u6740\u6B7B\u8FDB\u7A0B '+e+' (PID: '+o+')')})}()}catch(e){a=!0,l=e}finally{try{!r&&p.return&&p.return()}finally{if(a)throw l}}});break;default:console.error('\u4E0D\u652F\u6301\u7684\u64CD\u4F5C\u7CFB\u7EDF: '+l.platform());}}o.d(t,'a',function(){return n});var r=o(85),s=o.n(r),a=o(14),i=a.exec,l=o(10)}]); \ No newline at end of file diff --git a/ffplay/ffmpeg.exe b/ffplay/ffmpeg.exe new file mode 100644 index 0000000..15dc359 Binary files /dev/null and b/ffplay/ffmpeg.exe differ diff --git a/ffplay/ffplay.exe b/ffplay/ffplay.exe new file mode 100644 index 0000000..8c14576 Binary files /dev/null and b/ffplay/ffplay.exe differ diff --git a/ffplay/ffprobe.exe b/ffplay/ffprobe.exe new file mode 100644 index 0000000..2b5bdbf Binary files /dev/null and b/ffplay/ffprobe.exe differ diff --git a/ffplay/rcedit-x86.exe b/ffplay/rcedit-x86.exe new file mode 100644 index 0000000..779c314 Binary files /dev/null and b/ffplay/rcedit-x86.exe differ diff --git a/installer.nsh b/installer.nsh index 7008dae..08efefa 100644 --- a/installer.nsh +++ b/installer.nsh @@ -1,9 +1,9 @@ !macro preInit SetRegView 64 - WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "D:\ProgramFiles\dzsp_yingjizhihui_offline_Y_save" - WriteRegExpandStr HKCU "${INSTALL_REGISTRY_KEY}" InstallLocation "D:\ProgramFiles\dzsp_yingjizhihui_offline_Y_save" + WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "D:\ProgramFiles\dzsp_yingjizhihuijunyong_offline_Y_save" + WriteRegExpandStr HKCU "${INSTALL_REGISTRY_KEY}" InstallLocation "D:\ProgramFiles\dzsp_yingjizhihuijunyong_offline_Y_save" #writeUninstaller $INSTDIR\uninstaller.exe SetRegView 32 - WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "D:\ProgramFiles\dzsp_yingjizhihui_offline_Y_save" - WriteRegExpandStr HKCU "${INSTALL_REGISTRY_KEY}" InstallLocation "D:\ProgramFiles\dzsp_yingjizhihui_offline_Y_save" + WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "D:\ProgramFiles\dzsp_yingjizhihuijunyong_offline_Y_save" + WriteRegExpandStr HKCU "${INSTALL_REGISTRY_KEY}" InstallLocation "D:\ProgramFiles\dzsp_yingjizhihuijunyong_offline_Y_save" !macroend \ No newline at end of file diff --git a/logs/access.log.-2025-09-10-16 b/logs/access.log.-2025-09-10-16 new file mode 100644 index 0000000..e69de29 diff --git a/logs/access.log.-2025-09-10-17 b/logs/access.log.-2025-09-10-17 new file mode 100644 index 0000000..e69de29 diff --git a/package-lock.json b/package-lock.json index 5e12257..8eebb4a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "dzsp_yingjizhihuibeidou_offline_Y_save", + "name": "dzsp_yingjizhihui_offline_Y_save", "version": "v4.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "dzsp_yingjizhihuibeidou_offline_Y_save", + "name": "dzsp_yingjizhihui_offline_Y_save", "version": "v4.0.0", "hasInstallScript": true, "license": "MIT", diff --git a/package.json b/package.json index aec835f..c957489 100644 --- a/package.json +++ b/package.json @@ -1 +1 @@ -{"name":"dzsp_yingjizhihui_offline_Y_save","version":"v4.0.0","author":{"email":"1114042468@qq.com","name":"1114042468@qq.com"},"maintainers":[],"license":"MIT","main":"./dist/electron/main.js","homepage":"./dist/electron/main.js","description":"","private":true,"scripts":{"dev":"cross-env TERGET_ENV=development node .electron-vue/dev-runner.js","build":"cross-env BUILD_TARGET=clean node .electron-vue/build.js && node .electron-vue/build.js && electron-builder","build:win32":"cross-env BUILD_TARGET=clean node .electron-vue/build.js && node .electron-vue/build.js && electron-builder --win --ia32","build:win64":"cross-env BUILD_TARGET=clean node .electron-vue/build.js && node .electron-vue/build.js && electron-builder --win --x64","build:linux64":"cross-env BUILD_TARGET=clean node .electron-vue/build.js && node .electron-vue/build.js && electron-builder --linux --x64","build:arm64":" cross-env BUILD_TARGET=clean node .electron-vue/build.js && node .electron-vue/build.js && electron-builder --linux --arm64","build:mac":"cross-env BUILD_TARGET=clean node .electron-vue/build.js && node .electron-vue/build.js && electron-builder --mac","build:dir":"cross-env BUILD_TARGET=clean node .electron-vue/build.js && node .electron-vue/build.js && electron-builder --dir","build:clean":"cross-env BUILD_TARGET=clean node .electron-vue/build.js","build:web":"cross-env BUILD_TARGET=web node .electron-vue/build.js","pack":"npm run pack:main && npm run pack:renderer","pack:main":"cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.main.config.js","pack:renderer":"cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.renderer.config.js","update:serve":"node server/index.js","dep:upgrade":"yarn upgrade-interactive --latest","postinstall":"electron-builder install-app-deps"},"build":{"extraFiles":[{"from":"./collada2gltf/","to":"./collada2gltf"},{"from":"./convert/","to":"./convert"},{"from":"./yjearth4_0/","to":"./yjearth4_0"},{"from":"./ffplay/","to":"./ffplay"},{"from":"./build/icons/","to":"./icons"}],"productName":"便携式应急指挥电子沙盘系统","appId":"org.dzsp_yingjizhihui_offline_Y_save","directories":{"output":"build"},"files":["dist/electron/**/*"],"dmg":{"contents":[{"x":410,"y":150,"type":"link","path":"/Applications"},{"x":130,"y":150,"type":"file"}]},"mac":{"icon":"build/icons/icon.icns"},"win":{"icon":"build/icons/81.ico"},"linux":{"target":"deb","icon":"build/icons/81.png","desktop":{"Icon":"/opt/便携式应急指挥电子沙盘系统/icons/81.png"},"executableArgs":["--no-sandbox"]},"nsis":{"include":"installer.nsh","oneClick":false,"perMachine":true,"allowToChangeInstallationDirectory":true,"language":"2052"}},"dependencies":{"@amap/amap-jsapi-loader":"^1.0.1","@smallwei/avue":"^2.10.10","archiver":"^5.3.0","axios":"0.17.1","compressing":"^1.5.1","date-fns":"^3.6.0","electron-store":"^8.1.0","electron-wpc":"^2.0.1","element-ui":"^2.15.13","express":"^4.18.2","fbx2gltf":"^0.9.7-p1","file-saver":"^2.0.5","gltf-pipeline":"^4.1.0","ini":"^4.1.2","js-cookie":"^2.2.0","js-md5":"^0.7.3","jszip":"^3.10.1","log4js":"^6.9.1","moment":"^2.30.1","normalize.css":"7.0.0","nprogress":"0.2.0","obj2gltf":"^3.1.6","polyfill-object.fromentries":"^1.0.1","three":"^0.158.0","viewerjs":"^1.11.6","vue":"2.5.17","vue-electron":"^1.0.6","vue-i18n":"8.2.1","vue-router":"3.0.1","vuex":"^3.0.1","xlsx":"^0.18.5"},"devDependencies":{"@babel/core":"^7.24.7","@babel/preset-env":"^7.24.7","babel-core":"^6.25.0","babel-eslint":"^7.2.3","babel-loader":"^7.1.5","babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.6.0","babel-preset-stage-0":"^6.24.1","babel-register":"^6.24.1","babili-webpack-plugin":"^0.1.2","cfonts":"^1.1.3","chalk":"^2.1.0","copy-webpack-plugin":"^4.0.1","cross-env":"^5.2.1","css-loader":"^0.28.4","del":"^3.0.0","devtron":"^1.4.0","electron":"^13.6.9","electron-builder":"^22.11.7","electron-debug":"^1.4.0","electron-devtools-installer":"^2.2.0","eslint":"^4.4.1","eslint-friendly-formatter":"^3.0.0","eslint-loader":"^1.9.0","eslint-plugin-html":"^3.1.1","extract-text-webpack-plugin":"^3.0.0","file-loader":"^0.11.2","html-webpack-plugin":"^2.30.1","multispinner":"^0.2.1","node-loader":"^0.6.0","sass":"^1.37.0","sass-loader":"^7.3.1","sass-resources-loader":"^2.2.4","style-loader":"^0.18.2","svg-sprite-loader":"3.5.2","url-loader":"^0.5.9","vue-html-loader":"^1.2.4","vue-loader":"^13.0.5","vue-style-loader":"^3.0.1","vue-template-compiler":"2.5.17","webpack":"^3.5.2","webpack-dev-server":"^2.7.1","webpack-hot-middleware":"^2.18.2"}} \ No newline at end of file +{"name":"dzsp_yingjizhihuijunyong_offline_Y_save","version":"v4.0.0","author":{"email":"1114042468@qq.com","name":"1114042468@qq.com"},"maintainers":[],"license":"MIT","main":"./dist/electron/main.js","homepage":"./dist/electron/main.js","description":"","private":true,"scripts":{"dev":"cross-env TERGET_ENV=development node .electron-vue/dev-runner.js","build":"cross-env BUILD_TARGET=clean node .electron-vue/build.js && node .electron-vue/build.js && electron-builder","build:win32":"cross-env BUILD_TARGET=clean node .electron-vue/build.js && node .electron-vue/build.js && electron-builder --win --ia32","build:win64":"cross-env BUILD_TARGET=clean node .electron-vue/build.js && node .electron-vue/build.js && electron-builder --win --x64","build:linux64":"cross-env BUILD_TARGET=clean node .electron-vue/build.js && node .electron-vue/build.js && electron-builder --linux --x64","build:arm64":" cross-env BUILD_TARGET=clean node .electron-vue/build.js && node .electron-vue/build.js && electron-builder --linux --arm64","build:mac":"cross-env BUILD_TARGET=clean node .electron-vue/build.js && node .electron-vue/build.js && electron-builder --mac","build:dir":"cross-env BUILD_TARGET=clean node .electron-vue/build.js && node .electron-vue/build.js && electron-builder --dir","build:clean":"cross-env BUILD_TARGET=clean node .electron-vue/build.js","build:web":"cross-env BUILD_TARGET=web node .electron-vue/build.js","pack":"npm run pack:main && npm run pack:renderer","pack:main":"cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.main.config.js","pack:renderer":"cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.renderer.config.js","update:serve":"node server/index.js","dep:upgrade":"yarn upgrade-interactive --latest","postinstall":"electron-builder install-app-deps"},"build":{"extraFiles":[{"from":"./collada2gltf/","to":"./collada2gltf"},{"from":"./convert/","to":"./convert"},{"from":"./yjearth4_0/","to":"./yjearth4_0"},{"from":"./ffplay/","to":"./ffplay"},{"from":"./build/icons/","to":"./icons"}],"productName":"实景三维电子沙盘系统","appId":"org.dzsp_yingjizhihuijunyong_offline_Y_save","directories":{"output":"build"},"files":["dist/electron/**/*"],"dmg":{"contents":[{"x":410,"y":150,"type":"link","path":"/Applications"},{"x":130,"y":150,"type":"file"}]},"mac":{"icon":"build/icons/icon.icns"},"win":{"icon":"build/icons/81.ico"},"linux":{"target":"deb","icon":"build/icons/81.png","desktop":{"Icon":"/opt/实景三维电子沙盘系统/icons/81.png"},"executableArgs":["--no-sandbox"]},"nsis":{"include":"installer.nsh","oneClick":false,"perMachine":true,"allowToChangeInstallationDirectory":true,"language":"2052"}},"dependencies":{"@amap/amap-jsapi-loader":"^1.0.1","@smallwei/avue":"^2.10.10","archiver":"^5.3.0","axios":"0.17.1","compressing":"^1.5.1","date-fns":"^3.6.0","electron-store":"^8.1.0","electron-wpc":"^2.0.1","element-ui":"^2.15.13","express":"^4.18.2","fbx2gltf":"^0.9.7-p1","file-saver":"^2.0.5","gltf-pipeline":"^4.1.0","ini":"^4.1.2","js-cookie":"^2.2.0","js-md5":"^0.7.3","jszip":"^3.10.1","log4js":"^6.9.1","moment":"^2.30.1","normalize.css":"7.0.0","nprogress":"0.2.0","obj2gltf":"^3.1.6","polyfill-object.fromentries":"^1.0.1","three":"^0.158.0","viewerjs":"^1.11.6","vue":"2.5.17","vue-electron":"^1.0.6","vue-i18n":"8.2.1","vue-router":"3.0.1","vuex":"^3.0.1","xlsx":"^0.18.5"},"devDependencies":{"@babel/core":"^7.24.7","@babel/preset-env":"^7.24.7","babel-core":"^6.25.0","babel-eslint":"^7.2.3","babel-loader":"^7.1.5","babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.6.0","babel-preset-stage-0":"^6.24.1","babel-register":"^6.24.1","babili-webpack-plugin":"^0.1.2","cfonts":"^1.1.3","chalk":"^2.1.0","copy-webpack-plugin":"^4.0.1","cross-env":"^5.2.1","css-loader":"^0.28.4","del":"^3.0.0","devtron":"^1.4.0","electron":"^13.6.9","electron-builder":"^22.11.7","electron-debug":"^1.4.0","electron-devtools-installer":"^2.2.0","eslint":"^4.4.1","eslint-friendly-formatter":"^3.0.0","eslint-loader":"^1.9.0","eslint-plugin-html":"^3.1.1","extract-text-webpack-plugin":"^3.0.0","file-loader":"^0.11.2","html-webpack-plugin":"^2.30.1","multispinner":"^0.2.1","node-loader":"^0.6.0","sass":"^1.37.0","sass-loader":"^7.3.1","sass-resources-loader":"^2.2.4","style-loader":"^0.18.2","svg-sprite-loader":"3.5.2","url-loader":"^0.5.9","vue-html-loader":"^1.2.4","vue-loader":"^13.0.5","vue-style-loader":"^3.0.1","vue-template-compiler":"2.5.17","webpack":"^3.5.2","webpack-dev-server":"^2.7.1","webpack-hot-middleware":"^2.18.2"}} \ No newline at end of file diff --git a/src/renderer/components/LeftMenu/secondMenuFun.js b/src/renderer/components/LeftMenu/secondMenuFun.js index ef33210..788c235 100644 --- a/src/renderer/components/LeftMenu/secondMenuFun.js +++ b/src/renderer/components/LeftMenu/secondMenuFun.js @@ -995,10 +995,10 @@ const secondMenuFun = { // this.$message.warning("请在图层指挥舱中选中对应图层添加"); // return; // } - $changeComponentShow(".modelBox", true); - $root_home_index.$refs.model.open("rightMenu"); - this.$recvChanel("selectModel", (data) => { - this.$changeComponentShow(".modelSelectBox", false); + $changeComponentShow(".modelBoxg", true); + $root_home_index.$refs.modelg.open("rightMenu"); + this.$recvChanel("selectModelg", (data) => { + this.$changeComponentShow(".modelBoxg", false); let url = data.model_id + ".glb"; console.log("urlurlurlurlurlurl", url); @@ -1189,12 +1189,16 @@ const secondMenuFun = { {}, { clickSavePath: (data) => { + console.log(1232,data); + let is_show = data.repeat == "Infinity" ? true : false; + let source_name = data.name; let source_id = this.$md5(new Date().getTime() + "漫游路径"); let DbOption = { source_id, - source_name: "漫游路径", + source_name: source_name || "漫游路径", source_type: "roam", p_id: findParentId(this.treeObj), + is_show, detail: { ...data, }, diff --git a/src/renderer/components/Tree/components/rightMenuOption.js b/src/renderer/components/Tree/components/rightMenuOption.js index 493bc93..c4ecec5 100644 --- a/src/renderer/components/Tree/components/rightMenuOption.js +++ b/src/renderer/components/Tree/components/rightMenuOption.js @@ -671,6 +671,7 @@ const rightMenuOption = { // 更新节点的勾选状态 this.$parent.treeObj.checkNode(node, data, isShow); + // 触发check事件来更新数据库 let source_ids = [node.source_id]; if (isShow) { diff --git a/src/renderer/components/myHeaderAll/index.vue b/src/renderer/components/myHeaderAll/index.vue index 40d39eb..1d6cb49 100644 --- a/src/renderer/components/myHeaderAll/index.vue +++ b/src/renderer/components/myHeaderAll/index.vue @@ -1,7 +1,7 @@