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EA,gDAAUA;AADlB;AAFA,GAAR;AAMA,MAAIH,2CAAJ,CAAQ;AACNoB,IAAAA,EAAE,EAAE,aADE;AAENC,IAAAA,IAAI,EAAE;AACJlB,MAAAA,UAAU,EAAEA,gDAAUA;AADlB;AAFA,GAAR;AAMAgB,EAAAA,UAAU,CAACO,IAAX;AACD,CApFD;;;;;;;;;;;ACVA;;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;UAEA;UACA;;;;;WC5BA;WACA;WACA;WACA;WACA,+BAA+B,wCAAwC;WACvE;WACA;WACA;WACA;WACA,iBAAiB,qBAAqB;WACtC;WACA;WACA,kBAAkB,qBAAqB;WACvC;WACA;WACA,KAAK;WACL;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;;;;WC3BA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,GAAG;WACH;WACA;WACA,CAAC;;;;;WCPD;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;WACA;WACA;WACA;WACA;;;;;WCJA;;WAEA;WACA;WACA;WACA;WACA;WACA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;;;;;UEhDA;UACA;UACA;UACA;UACA","sources":["webpack://webpackproject/./src/Script/Default.js","webpack://webpackproject/./src/Style/Default.css?5c1e","webpack://webpackproject/webpack/bootstrap","webpack://webpackproject/webpack/runtime/chunk loaded","webpack://webpackproject/webpack/runtime/compat get default export","webpack://webpackproject/webpack/runtime/define property getters","webpack://webpackproject/webpack/runtime/global","webpack://webpackproject/webpack/runtime/hasOwnProperty shorthand","webpack://webpackproject/webpack/runtime/make namespace object","webpack://webpackproject/webpack/runtime/node module decorator","webpack://webpackproject/webpack/runtime/jsonp chunk loading","webpack://webpackproject/webpack/before-startup","webpack://webpackproject/webpack/startup","webpack://webpackproject/webpack/after-startup"],"sourcesContent":["import \"normalize.css\";\r\nimport \"../Style/Default.css\";\r\nimport Vue from \"vue\";\r\nimport axios from \"axios\";\r\nimport { BaseUrl, SchoolType } from \"./BaseUrl\";\r\nimport { alertBox } from \"./Alert\";\r\nimport url from \"domurl\";\r\nlet UrlInfo = new url();\r\nlet ShowLogin = UrlInfo.query.ShowLogin;\r\n\r\nwindow.onload = function () {\r\n if (window.navigator.userAgent.toLocaleLowerCase().indexOf(\"line\") >= 0) {\r\n alertBox({\r\n Html: `不支援此瀏覽器
請按下確認鍵使用預設瀏覽器開啟

(建議使用Chrome、Firefox、Edge、Safari瀏覽器開啟本網站)`,\r\n OnOK: function () {\r\n location.href = \"Default.html?openExternalBrowser=1\";\r\n },\r\n });\r\n }\r\n let vue_object = new Vue({\r\n el: \".main\",\r\n data: {\r\n SchoolType: SchoolType,\r\n Config: {\r\n SysCount: 0,\r\n Title: \"\",\r\n },\r\n },\r\n methods: {\r\n Init: function () {\r\n let my = this;\r\n let _Url = BaseUrl + `/api/Config/SysTotalCount/`;\r\n axios\r\n .get(_Url)\r\n .then(function (res) {\r\n // 請求異常\r\n if (!res.data.Success) {\r\n throw new Error(res.data.Message);\r\n }\r\n my.Config = res.data.Data;\r\n document.title = my.Config.Title;\r\n if (SchoolType == 1) {\r\n document.querySelector(\"#Entrance1\").title =\r\n \"一般智能資賦優異鑑定\";\r\n document.querySelector(\"#Entrance2\").title =\r\n \"創造能力資賦優異鑑定\";\r\n } else {\r\n document.querySelector(\"#Entrance1\").title =\r\n \"學術性向資賦優異鑑定\";\r\n document.querySelector(\"#Entrance2\").title =\r\n \"創造能力資賦優異鑑定\";\r\n }\r\n })\r\n .catch(function (err) {\r\n // 請求異常返回首頁\r\n alertBox({\r\n Html: `${err}`,\r\n });\r\n });\r\n },\r\n\r\n changehref: function (sys_ID) {\r\n let my = this;\r\n let Identity_ID = sessionStorage.getItem(\"Identity\");\r\n if (Identity_ID == 1) {\r\n window.location.href = \"./Login_Index.html?System_Type_ID=\" + sys_ID;\r\n } else {\r\n window.location.href =\r\n \"./Index.html?System_Type_ID=\" +\r\n sys_ID +\r\n (ShowLogin === \"true\" ? \"&ShowLogin=true\" : \"\");\r\n }\r\n },\r\n },\r\n });\r\n new Vue({\r\n el: \".header\",\r\n data: {\r\n SchoolType: SchoolType,\r\n },\r\n });\r\n new Vue({\r\n el: \".footer\",\r\n data: {\r\n SchoolType: SchoolType,\r\n },\r\n });\r\n new Vue({\r\n el: \".Type2_Time\",\r\n data: {\r\n SchoolType: SchoolType,\r\n },\r\n });\r\n vue_object.Init();\r\n};\r\n","// extracted by mini-css-extract-plugin\nexport {};","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t\"Default\": 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkwebpackproject\"] = self[\"webpackChunkwebpackproject\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [\"vendor\",\"common\"], () => (__webpack_require__(\"./src/Script/Default.js\")))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":["Vue","axios","BaseUrl","SchoolType","alertBox","url","UrlInfo","ShowLogin","query","window","onload","navigator","userAgent","toLocaleLowerCase","indexOf","Html","OnOK","location","href","vue_object","el","data","Config","SysCount","Title","methods","Init","my","_Url","get","then","res","Success","Error","Message","Data","document","title","querySelector","err","changehref","sys_ID","Identity_ID","sessionStorage","getItem"],"sourceRoot":""}