{"version":3,"sources":["webpack:////var/static/shared/assets/img/samba/client-local.png","webpack:///./src/components/base/FooterMenu.vue?bff8","webpack:///./src/components/FileSource.vue?dc28","webpack:///./src/components/base/FooterMenu.vue","webpack:///./src/components/base/FooterMenu.vue?5a7e","webpack:///./src/components/FileSource.vue","webpack:///./src/components/FileSource.vue?d7c3","webpack:///./src/components/FileSource.vue?e682"],"names":["module","exports","_hoisted_1","__name","props","buttons","type","Array","default","isShow","Boolean","emits","__props","emit","iconMap","_ctx","_cache","class","button","key","text","href","onClick","$event","disabled","icon","width","height","__exports__","n","style","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","deviceStore","showHeader","store","getters","envStore","statFileSourceShow","statFileSourceClick","statFileSourceOperation","statSambaSearchResult","stat","checkSet","Set","footerProps","value","size","fsDetectList","_deviceStore$currentD","_deviceStore$currentD2","currentDeviceRef","fs","addNewSambaSource","async","_deviceStore$currentD3","from","refresh","fsList","isFullScreen","_deviceStore$currentD4","_deviceStore$currentD5","filter","i","isSelecting","exitSelect","clear","editSambaSource","_deviceStore$currentD7","_deviceStore$currentD8","_deviceStore$currentD6","id","config","template","availableFS","find","lastErrMsg","last_err_msg","onBack","_deviceStore$currentD9","_deviceStore$currentD10","length","router","back","_deviceStore$currentD11","_deviceStore$currentD12","_deviceStore$currentD13","untilDeviceReady","startDetect","getAvailableFSType","showMenu","e","_e$target","target","className","includes","add","toggleChecked","to","delete","onMenuClicked","_fsList$value","values","next","_deviceStore$currentD15","confirmResult","title","body","center","buttonDirection","weak","result","_deviceStore$currentD14","deleteFS","message","goToLocalFile","push","path","goToSambaFile","_fs$config$name","query","currentRoute","origin","JSON","stringify","name","server","parent_id","file_id","trashed","eq","phase","mime_type","prefix","withParams","onFSClicked","has","onCreateFromDetectResult","_deviceStore$currentD16","_deviceStore$currentD17","_deviceStore$currentD18","_deviceStore$currentD19","_deviceStore$currentD20","stopDetect","clearDetectFSResult","_unref$currentDeviceR","_unref$currentDeviceR2","_directive_longpress","isUseIOSHeader","src","draggable","_unref$fs$type","_fs$config$name2","vfs","Checkbox","_unref$fs$type2","_fs$config$name3","detectStatus","onAction"],"mappings":"mGAAAA,EAAOC,QAAU,kkJ,oCCAjB,W,oCCAA,W,8JCEA,MACMC,EAAa,CAAC,WAEQ,mCAAiB,CAC3CC,OAAQ,aACRC,MAAO,CACLC,QAAS,CACPC,KAAMC,MACNC,QAAS,IAAM,IAEjBC,OAAQ,CACNH,KAAMI,QACNF,SAAS,IAGbG,MAAO,CAAC,UACR,MAAMC,GAAS,KACbC,IAEA,MAAMC,EAAU,CACd,YAAe,OACf,WAAc,QAEhB,MAAO,CAACC,EAAMC,KACL,yBAAc,gCAAoB,SAAU,CACjDC,MAAO,4BAAgB,CACrB,QAAU,EACV,UAAWL,EAAQH,UAEpB,EAAE,wBAAW,GAAO,gCAAoB,cAAW,KAAM,wBAAYG,EAAQP,QAASa,IAChF,yBAAc,gCAAoB,IAAK,CAC5CC,IAAKD,EAAOE,KACZC,KAAM,eACNC,QAASC,GAAUV,EAAK,SAAUK,EAAOE,MACzCH,MAAO,4BAAgB,CACrB,cAAeC,EAAOM,YAEvB,EAAE,yBAAc,yBAAa,qCAAyBV,EAAQI,EAAOO,OAAQ,CAC9EC,MAAO,KACPC,OAAQ,QACL,gCAAoB,IAAK,KAAM,6BAAiBT,EAAOE,MAAO,IAAK,GAAIlB,KAC1E,OAAQ,O,iCCrClB,MAAM0B,EAA2B,IAAgB,EAAQ,CAAC,CAAC,YAAY,qBAExD,Q,gGCLf,MAAM,EAAeC,IAAM,yBAAa,mBAAoBA,EAAIA,IAAK,0BAAeA,GAC9E,EAAa,CACjBV,IAAK,EACLF,MAAO,gCACPa,MAAO,CACL,SAAY,SACZ,IAAO,IACP,UAAW,MAGTC,EAA0B,EAAa,IAAmB,gCAAoB,KAAM,KAAM,OAAQ,IAClGC,EAAa,CACjBf,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fijjkCc9zVJu6Ajl8C0Xtg1l2ecvfAPjmaZ8S1qJayznUCRrUrC3yDonnploSGClnGA/KTwgk53n2LUAgLvT2C1r5S16slkW8EIqF0PFwpqqWcVDOCxQ4I6POrJAqijCRwPwV4vyTaJi0XyazXdpgEvNEPG9Ii2KYI4pALYNsQdqBX9I/lZX7EUx4Qt45bBS3XtXxgIerhZGF9oCyLOMOYNy4AGkpHCABWg8HPFMHgjbVeEToh/2Fk/EtWbLhq4iVoRhFSoq8Gq5bTH2b1wSlJW7NyD2BgQCCBvEpBNmQ4IvruG8krUqpbTiPYs3GkYt2k9uEWZwd+YpzA2KB+yNDcarImpR3TiqAGWLgIc39sGYRQWE5fMgjg+F5ttLmfxcudKG+YeGChTNUutwsyf69hsMttSTkta3Em/hQSs2i5w1gW9ZiztMI+b8ybgrlUGORzmW7RljtKpvciVc8cIE2koU3WTZafiJrPOuoB5ej8pDaslUX7JJhcLblopiorkT4G9ZePwx6TbEdzzX4FwtVgsag6QF4RDGY0EVVxEWmIqj/LIjO7x0+OGV77/Z6ev14qg4+BZF6WvVkzR8UHu81ZIbTZaQtGWvxztZYC9iVUISQ76zGQpr1NFIdVUc13zaV65effF0lmrHcn61X7glq0cs0RjUnXEosghrUQCPOGyaYSORLXJxjDnwpgZgMcdrsQbM2Aq1U5ZQyFFjUi6Pk9MjObw0zqeC483YttnzveGpizJ3UxX4lt2fonDVjANOLnul+MICZscn2+TL6xqUH513gNJliWSppHARPo3fp3uvF4zPD++FguN48cqVUzuXS73xK5Wh6CXfE9XgKpfTOGVGT8YrEUD6C16hIfx1K5N0CF82EKkBsxq4kJ0j1Aq03ziWx56lciL7TI3j1VdfO+kLqZ/2Yb7Ruz1jVQWfe3l+UXNVCCR1PbtAWaIiiqc0maQZ0mZ0WMKxDI/N7PbPfnLaf7/ZL7/x46s/enOvy78BKeWqtbeALh8AAAAASUVORK5CYII=\"","/* unplugin-vue-components disabled */export * from \"-!../../../../../node_modules/.pnpm/unplugin@1.4.0/node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=unplugin-vue-components!../../../../../node_modules/.pnpm/mini-css-extract-plugin@0.9.0_webpack@4.46.0/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/.pnpm/css-loader@3.6.0_webpack@4.46.0/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/.pnpm/vue-loader@16.8.3_@vue+compiler-sfc@3.3.4_vue@3.3.4_webpack@4.46.0/node_modules/vue-loader/dist/stylePostLoader.js!../../../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/.pnpm/sass-loader@8.0.2_sass@1.65.1/node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/.pnpm/vue-loader@16.8.3_@vue+compiler-sfc@3.3.4_vue@3.3.4_webpack@4.46.0/node_modules/vue-loader/dist/index.js??ref--1-1!./FooterMenu.vue?vue&type=style&index=0&id=38ba7580&lang=scss&scoped=true\"","/* unplugin-vue-components disabled */export * from \"-!../../../../node_modules/.pnpm/unplugin@1.4.0/node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=unplugin-vue-components!../../../../node_modules/.pnpm/mini-css-extract-plugin@0.9.0_webpack@4.46.0/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/.pnpm/css-loader@3.6.0_webpack@4.46.0/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/.pnpm/vue-loader@16.8.3_@vue+compiler-sfc@3.3.4_vue@3.3.4_webpack@4.46.0/node_modules/vue-loader/dist/stylePostLoader.js!../../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/.pnpm/sass-loader@8.0.2_sass@1.65.1/node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/.pnpm/vue-loader@16.8.3_@vue+compiler-sfc@3.3.4_vue@3.3.4_webpack@4.46.0/node_modules/vue-loader/dist/index.js??ref--1-1!./FileSource.vue?vue&type=style&index=0&id=a68d7b76&lang=scss&scoped=true\"","import { defineComponent as _defineComponent } from 'vue';\nimport { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveDynamicComponent as _resolveDynamicComponent, createBlock as _createBlock, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\";\nconst _withScopeId = n => (_pushScopeId(\"data-v-38ba7580\"), n = n(), _popScopeId(), n);\nconst _hoisted_1 = [\"onClick\"];\nimport { IconRename2, IconDelete } from '@xunlei/thunder-icon-vue';\nexport default /*#__PURE__*/_defineComponent({\n __name: 'FooterMenu',\n props: {\n buttons: {\n type: Array,\n default: () => []\n },\n isShow: {\n type: Boolean,\n default: false\n }\n },\n emits: [\"action\"],\n setup(__props, {\n emit\n }) {\n const iconMap = {\n 'IconRename2': IconRename2,\n 'IconDelete': IconDelete\n };\n return (_ctx, _cache) => {\n return _openBlock(), _createElementBlock(\"footer\", {\n class: _normalizeClass({\n 'footer': true,\n 'is-show': __props.isShow\n })\n }, [(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.buttons, button => {\n return _openBlock(), _createElementBlock(\"a\", {\n key: button.text,\n href: \"javascript:;\",\n onClick: $event => emit('action', button.text),\n class: _normalizeClass({\n 'is-disabled': button.disabled\n })\n }, [(_openBlock(), _createBlock(_resolveDynamicComponent(iconMap[button.icon]), {\n width: \"20\",\n height: \"20\"\n })), _createElementVNode(\"p\", null, _toDisplayString(button.text), 1)], 10, _hoisted_1);\n }), 128))], 2);\n };\n }\n});","/* unplugin-vue-components disabled */import script from \"./FooterMenu.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./FooterMenu.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./FooterMenu.vue?vue&type=style&index=0&id=38ba7580&lang=scss&scoped=true\"\n\nimport exportComponent from \"/var/static/node_modules/.pnpm/vue-loader@16.8.3_@vue+compiler-sfc@3.3.4_vue@3.3.4_webpack@4.46.0/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-38ba7580\"]])\n\nexport default __exports__","import \"core-js/modules/es.array.push.js\";\nimport { defineComponent as _defineComponent } from 'vue';\nimport { unref as _unref, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, renderList as _renderList, Fragment as _Fragment, toDisplayString as _toDisplayString, createBlock as _createBlock, vShow as _vShow, withDirectives as _withDirectives, resolveDirective as _resolveDirective, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\";\nconst _withScopeId = n => (_pushScopeId(\"data-v-a68d7b76\"), n = n(), _popScopeId(), n);\nconst _hoisted_1 = {\n key: 0,\n class: \"path-path__header page-header\",\n style: {\n \"position\": \"sticky\",\n \"top\": \"0\",\n \"z-index\": \"1\"\n }\n};\nconst _hoisted_2 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/_createElementVNode(\"h1\", null, \"文件源\", -1));\nconst _hoisted_3 = {\n class: \"file-source hide-scrollbar\"\n};\nconst _hoisted_4 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"我的设备\", -1));\nconst _hoisted_5 = [\"src\"];\nconst _hoisted_6 = [\"onClick\"];\nconst _hoisted_7 = [\"src\"];\nconst _hoisted_8 = [\"src\"];\nconst _hoisted_9 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"可添加的设备\", -1));\nconst _hoisted_10 = [\"onClick\"];\nconst _hoisted_11 = [\"src\"];\nconst _hoisted_12 = {\n key: 0,\n class: \"loading\"\n};\nconst _hoisted_13 = {\n key: 1,\n class: \"auto-detect-empty\"\n};\nimport { computed, onBeforeUnmount, ref } from 'vue';\nimport { store } from '@remote/store';\nimport sambaLocalImg from '@shared/assets/img/samba/client-local.png';\nimport sambaImportImg from '@shared/assets/img/samba/client-samba-import.png';\nimport { IconPageLeft, IconNotice, IconLoading2 } from '@xunlei/thunder-icon-vue';\nimport router from '@remote/router';\nimport { onMounted } from 'vue';\nimport { useDeviceStore } from '@remote/store/device';\nimport Footer from '@remote/components/base/FooterMenu.vue';\nimport Checkbox from './Checkbox.vue';\nimport { isAndroidNative } from '@xunlei/universal-native-api';\nimport { newToast } from '@remote/utils';\nimport { openDialogCommon, openPopFileSourceAddNew, openPopFileSourceType, openPopFileSourceAliDrive } from '@remote/utils/dialog';\nimport { useSambaStat } from '@shared/composable/samba';\nimport { stat } from '@remote/utils/stat';\nimport { vfsIconMap } from '@shared/constants/vfs';\nimport { useEnvStore } from '@remote/store/env';\nexport default /*#__PURE__*/_defineComponent({\n __name: 'FileSource',\n setup(__props) {\n const deviceStore = useDeviceStore();\n const showHeader = computed(() => {\n return store.getters.showHeader;\n });\n const envStore = useEnvStore();\n const {\n statFileSourceShow,\n statFileSourceClick,\n statFileSourceOperation,\n statSambaSearchResult\n } = useSambaStat(stat);\n const checkSet = ref(new Set());\n const footerProps = computed(() => [{\n icon: 'IconDelete',\n text: '删除',\n disabled: checkSet.value.size === 0\n }, {\n icon: 'IconRename2',\n text: '编辑',\n disabled: checkSet.value.size !== 1\n }]);\n const fsDetectList = computed(() => {\n var _deviceStore$currentD, _deviceStore$currentD2;\n return (_deviceStore$currentD = (_deviceStore$currentD2 = deviceStore.currentDeviceRef) === null || _deviceStore$currentD2 === void 0 ? void 0 : _deviceStore$currentD2.fs.fsDetectList) !== null && _deviceStore$currentD !== void 0 ? _deviceStore$currentD : [];\n });\n const addNewSambaSource = async () => {\n var _deviceStore$currentD3;\n statFileSourceClick('file_source');\n await openPopFileSourceType({\n from: 'file_source'\n });\n (_deviceStore$currentD3 = deviceStore.currentDeviceRef) === null || _deviceStore$currentD3 === void 0 ? void 0 : _deviceStore$currentD3.fs.refresh();\n };\n const isFullScreen = computed(() => {\n return store.getters.isFullScreen;\n });\n const fsList = computed(() => {\n var _deviceStore$currentD4, _deviceStore$currentD5;\n return ((_deviceStore$currentD4 = (_deviceStore$currentD5 = deviceStore.currentDeviceRef) === null || _deviceStore$currentD5 === void 0 ? void 0 : _deviceStore$currentD5.fs.fsList) !== null && _deviceStore$currentD4 !== void 0 ? _deviceStore$currentD4 : []).filter(i => i.type !== 'os');\n });\n const isSelecting = ref(false);\n const exitSelect = () => {\n isSelecting.value = false;\n checkSet.value.clear();\n };\n const editSambaSource = async fs => {\n var _deviceStore$currentD7, _deviceStore$currentD8;\n if (fs.type === 'alidrive') {\n var _deviceStore$currentD6;\n await openPopFileSourceAliDrive({\n lastErrMsg: fs.last_err_msg,\n id: fs.id,\n config: fs.config,\n template: (_deviceStore$currentD6 = deviceStore.currentDeviceRef) === null || _deviceStore$currentD6 === void 0 ? void 0 : _deviceStore$currentD6.fs.availableFS.find(i => i.type === fs.type),\n from: 'edit'\n });\n return;\n }\n await openPopFileSourceAddNew({\n id: fs.id,\n config: fs.config,\n template: (_deviceStore$currentD7 = deviceStore.currentDeviceRef) === null || _deviceStore$currentD7 === void 0 ? void 0 : _deviceStore$currentD7.fs.availableFS.find(i => i.type === fs.type),\n from: 'edit'\n });\n exitSelect();\n (_deviceStore$currentD8 = deviceStore.currentDeviceRef) === null || _deviceStore$currentD8 === void 0 ? void 0 : _deviceStore$currentD8.fs.refresh();\n };\n const onBack = () => {\n var _deviceStore$currentD9, _deviceStore$currentD10;\n statFileSourceClick('close');\n statSambaSearchResult((_deviceStore$currentD9 = (_deviceStore$currentD10 = deviceStore.currentDeviceRef) === null || _deviceStore$currentD10 === void 0 ? void 0 : _deviceStore$currentD10.fs.fsDetectList.length) !== null && _deviceStore$currentD9 !== void 0 ? _deviceStore$currentD9 : 0);\n router.back();\n };\n onMounted(async () => {\n var _deviceStore$currentD11, _deviceStore$currentD12, _deviceStore$currentD13;\n await deviceStore.untilDeviceReady();\n await ((_deviceStore$currentD11 = deviceStore.currentDeviceRef) === null || _deviceStore$currentD11 === void 0 ? void 0 : _deviceStore$currentD11.fs.refresh());\n (_deviceStore$currentD12 = deviceStore.currentDeviceRef) === null || _deviceStore$currentD12 === void 0 ? void 0 : _deviceStore$currentD12.fs.startDetect();\n statFileSourceShow(fsList.value.length > 0);\n (_deviceStore$currentD13 = deviceStore.currentDeviceRef) === null || _deviceStore$currentD13 === void 0 ? void 0 : _deviceStore$currentD13.fs.getAvailableFSType();\n });\n const showMenu = (e, id) => {\n var _e$target;\n isSelecting.value = true;\n if ((_e$target = e.target) !== null && _e$target !== void 0 && (_e$target = _e$target.className) !== null && _e$target !== void 0 && _e$target.includes('nas-remote__checkbox')) {\n // 已经在selecting状态,点击checkbox会同时触发longpress,导致勾选框取消后又被选中,这里要ignore掉这种情况。\n return;\n }\n checkSet.value.add(id);\n };\n const toggleChecked = (fs, to) => {\n if (to) {\n checkSet.value.add(fs.id);\n } else {\n checkSet.value.delete(fs.id);\n }\n };\n const onMenuClicked = async button => {\n if (checkSet.value.size === 0) {\n newToast({\n message: '当前未选择任何文件源'\n });\n return;\n }\n switch (button) {\n case '编辑':\n {\n var _fsList$value;\n statFileSourceOperation('edit');\n const id = checkSet.value.values().next().value; // 第一个id\n const fs = (_fsList$value = fsList.value) === null || _fsList$value === void 0 ? void 0 : _fsList$value.find(i => i.id === id); // 对应的fs\n if (fs) {\n editSambaSource(fs);\n exitSelect();\n }\n }\n break;\n case '删除':\n try {\n var _deviceStore$currentD15;\n statFileSourceOperation('delete');\n const confirmResult = await openDialogCommon({\n title: '提示',\n body: '确认删除当前文件源?',\n center: true,\n buttonDirection: 'horizontal',\n button: [{\n text: '取消',\n value: 'cancel',\n weak: true\n }, {\n text: '确认',\n value: 'confirm'\n }]\n });\n if ((confirmResult === null || confirmResult === void 0 ? void 0 : confirmResult.result) !== 'confirm') return;\n for (const id of checkSet.value) {\n var _deviceStore$currentD14;\n await ((_deviceStore$currentD14 = deviceStore.currentDeviceRef) === null || _deviceStore$currentD14 === void 0 ? void 0 : _deviceStore$currentD14.fs.deleteFS({\n id\n }));\n }\n newToast({\n message: '删除成功'\n });\n await ((_deviceStore$currentD15 = deviceStore.currentDeviceRef) === null || _deviceStore$currentD15 === void 0 ? void 0 : _deviceStore$currentD15.fs.refresh());\n exitSelect();\n } catch {\n newToast({\n message: '删除失败'\n });\n }\n break;\n default:\n break;\n }\n };\n const goToLocalFile = () => {\n statFileSourceClick('os_device');\n router.push({\n path: '/local-files'\n });\n };\n const goToSambaFile = fs => {\n var _fs$config$name;\n statFileSourceClick(`${fs.type}_device`);\n router.push({\n path: '/local-files',\n query: {\n ...router.currentRoute.value.query,\n origin: JSON.stringify({\n title: (_fs$config$name = fs.config.name) !== null && _fs$config$name !== void 0 ? _fs$config$name : fs.config.server,\n parent_id: fs.file_id,\n filter: JSON.stringify({\n trashed: {\n eq: false\n },\n phase: {\n eq: 'PHASE_TYPE_COMPLETE'\n },\n mime_type: {\n prefix: ['folder', 'video/']\n }\n }),\n withParams: ['withCategoryDriveCachePath', 'withCategoryDiskMountPath', 'withCategoryHistoryDownloadPath', 'withReadOnlyFS']\n })\n }\n });\n };\n const onFSClicked = fs => {\n if (isSelecting.value) {\n toggleChecked(fs, !checkSet.value.has(fs.id));\n } else {\n if (fs.last_err_msg) {\n newToast({\n message: fs.last_err_msg,\n type: 'error'\n });\n } else {\n goToSambaFile(fs);\n }\n }\n };\n const onCreateFromDetectResult = async fs => {\n var _deviceStore$currentD16, _deviceStore$currentD17, _deviceStore$currentD18;\n const result = await openPopFileSourceAddNew({\n id: fs.id,\n config: fs.config,\n template: (_deviceStore$currentD16 = deviceStore.currentDeviceRef) === null || _deviceStore$currentD16 === void 0 ? void 0 : _deviceStore$currentD16.fs.availableFS.find(i => i.type === fs.type),\n from: 'auto_search'\n });\n exitSelect();\n (_deviceStore$currentD17 = deviceStore.currentDeviceRef) === null || _deviceStore$currentD17 === void 0 ? void 0 : _deviceStore$currentD17.fs.refresh();\n if (result && (_deviceStore$currentD18 = deviceStore.currentDeviceRef) !== null && _deviceStore$currentD18 !== void 0 && _deviceStore$currentD18.fs.fsDetectList) {\n deviceStore.currentDeviceRef.fs.fsDetectList = deviceStore.currentDeviceRef.fs.fsDetectList.filter(i => i.config.server !== fs.config.server);\n }\n };\n onBeforeUnmount(() => {\n var _deviceStore$currentD19, _deviceStore$currentD20;\n (_deviceStore$currentD19 = deviceStore.currentDeviceRef) === null || _deviceStore$currentD19 === void 0 ? void 0 : _deviceStore$currentD19.fs.stopDetect();\n (_deviceStore$currentD20 = deviceStore.currentDeviceRef) === null || _deviceStore$currentD20 === void 0 ? void 0 : _deviceStore$currentD20.fs.clearDetectFSResult();\n });\n return (_ctx, _cache) => {\n var _unref$currentDeviceR, _unref$currentDeviceR2;\n const _directive_longpress = _resolveDirective(\"longpress\");\n return _openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"pan-path__wrapper hide-scrollbar is-dark\", {\n 'android-padding': _unref(isAndroidNative),\n 'ios-padding': _unref(envStore).isUseIOSHeader\n }])\n }, [showHeader.value ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [_createVNode(_unref(IconPageLeft), {\n width: \"20\",\n height: \"20\",\n onClick: onBack,\n title: \"返回\"\n }), _hoisted_2, isSelecting.value ? (_openBlock(), _createElementBlock(\"span\", {\n key: 0,\n onClick: exitSelect\n }, \"取消\")) : _createCommentVNode(\"\", true)])) : _createCommentVNode(\"\", true), _createElementVNode(\"div\", _hoisted_3, [_createElementVNode(\"ul\", null, [_hoisted_4, _createElementVNode(\"li\", {\n onClick: goToLocalFile\n }, [_createElementVNode(\"img\", {\n src: _unref(sambaLocalImg),\n draggable: \"false\"\n }, null, 8, _hoisted_5), _createTextVNode(\"本机 \")]), (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(fsList.value, fs => {\n var _unref$fs$type, _fs$config$name2;\n return _withDirectives((_openBlock(), _createElementBlock(\"li\", {\n key: fs.id,\n onClick: $event => onFSClicked(fs)\n }, [_createElementVNode(\"img\", {\n src: (_unref$fs$type = _unref(vfsIconMap)[fs.type]) !== null && _unref$fs$type !== void 0 ? _unref$fs$type : _unref(vfsIconMap).default,\n draggable: \"false\"\n }, null, 8, _hoisted_7), _createElementVNode(\"span\", null, _toDisplayString((_fs$config$name2 = fs.config.name) !== null && _fs$config$name2 !== void 0 ? _fs$config$name2 : fs.config.server), 1), fs.last_err_msg ? (_openBlock(), _createBlock(_unref(IconNotice), {\n key: 0,\n width: \"16\",\n height: \"16\"\n })) : _createCommentVNode(\"\", true), _withDirectives(_createVNode(Checkbox, {\n value: checkSet.value.has(fs.id),\n \"onUpdate:value\": value => toggleChecked(fs, value)\n }, null, 8, [\"value\", \"onUpdate:value\"]), [[_vShow, isSelecting.value]])], 8, _hoisted_6)), [[_directive_longpress, $event => showMenu($event, fs.id)]]);\n }), 128)), _createElementVNode(\"div\", {\n class: _normalizeClass({\n 'add': true,\n 'is-disabled': isSelecting.value\n }),\n onClick: addNewSambaSource\n }, [_createElementVNode(\"img\", {\n src: _unref(sambaImportImg),\n draggable: \"false\"\n }, null, 8, _hoisted_8), _createTextVNode(\"新增文件来源 \")], 2), _hoisted_9, (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(fsDetectList.value, fs => {\n var _unref$fs$type2, _fs$config$name3;\n return _openBlock(), _createElementBlock(\"li\", {\n key: fs.config.server,\n onClick: $event => onCreateFromDetectResult(fs)\n }, [_createElementVNode(\"img\", {\n src: (_unref$fs$type2 = _unref(vfsIconMap)[fs.type]) !== null && _unref$fs$type2 !== void 0 ? _unref$fs$type2 : _unref(vfsIconMap).default,\n draggable: \"false\"\n }, null, 8, _hoisted_11), _createElementVNode(\"span\", null, _toDisplayString((_fs$config$name3 = fs.config.name) !== null && _fs$config$name3 !== void 0 ? _fs$config$name3 : fs.config.server), 1)], 8, _hoisted_10);\n }), 128)), ((_unref$currentDeviceR = _unref(deviceStore).currentDeviceRef) === null || _unref$currentDeviceR === void 0 ? void 0 : _unref$currentDeviceR.fs.detectStatus) === 'running' ? (_openBlock(), _createElementBlock(\"div\", _hoisted_12, [_createVNode(_unref(IconLoading2), {\n width: \"16\",\n height: \"16\"\n }), _createTextVNode(\" 正在搜索可添加设备... \")])) : _createCommentVNode(\"\", true), ((_unref$currentDeviceR2 = _unref(deviceStore).currentDeviceRef) === null || _unref$currentDeviceR2 === void 0 ? void 0 : _unref$currentDeviceR2.fs.detectStatus) === 'idle' && fsDetectList.value.length <= 0 ? (_openBlock(), _createElementBlock(\"div\", _hoisted_13, \" 未发现可添加设备 \")) : _createCommentVNode(\"\", true)])]), _createVNode(Footer, {\n \"is-show\": isSelecting.value,\n buttons: footerProps.value,\n onAction: onMenuClicked\n }, null, 8, [\"is-show\", \"buttons\"])], 2);\n };\n }\n});","/* unplugin-vue-components disabled */import script from \"./FileSource.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./FileSource.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./FileSource.vue?vue&type=style&index=0&id=a68d7b76&lang=scss&scoped=true\"\nimport \"./FileSource.vue?vue&type=style&index=1&id=a68d7b76&lang=scss&scoped=true\"\n\nimport exportComponent from \"/var/static/node_modules/.pnpm/vue-loader@16.8.3_@vue+compiler-sfc@3.3.4_vue@3.3.4_webpack@4.46.0/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-a68d7b76\"]])\n\nexport default __exports__","/* unplugin-vue-components disabled */export * from \"-!../../../../node_modules/.pnpm/unplugin@1.4.0/node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=unplugin-vue-components!../../../../node_modules/.pnpm/mini-css-extract-plugin@0.9.0_webpack@4.46.0/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/.pnpm/css-loader@3.6.0_webpack@4.46.0/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/.pnpm/vue-loader@16.8.3_@vue+compiler-sfc@3.3.4_vue@3.3.4_webpack@4.46.0/node_modules/vue-loader/dist/stylePostLoader.js!../../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/.pnpm/sass-loader@8.0.2_sass@1.65.1/node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/.pnpm/vue-loader@16.8.3_@vue+compiler-sfc@3.3.4_vue@3.3.4_webpack@4.46.0/node_modules/vue-loader/dist/index.js??ref--1-1!./FileSource.vue?vue&type=style&index=1&id=a68d7b76&lang=scss&scoped=true\""],"sourceRoot":""}