From 8540ad6fb57704a81ea96f652c03d69909e60e22 Mon Sep 17 00:00:00 2001 From: tetuaoro <65575727+tetuaoro@users.noreply.github.com> Date: Thu, 25 Jul 2024 16:30:27 +0200 Subject: [PATCH] fix: lint --- src/www/js/vendor/vue-firewall.umd.min.js.map | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/www/js/vendor/vue-firewall.umd.min.js.map b/src/www/js/vendor/vue-firewall.umd.min.js.map index d7744854..c25987c5 100644 --- a/src/www/js/vendor/vue-firewall.umd.min.js.map +++ b/src/www/js/vendor/vue-firewall.umd.min.js.map @@ -1 +1 @@ -{"version":3,"file":"vue-firewall.umd.min.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,kBAAZC,SAA0C,kBAAXC,OACxCA,OAAOD,QAAUD,IACQ,oBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,kBAAZC,QACdA,QAAQ,eAAiBD,IAEzBD,EAAK,eAAiBC,GACvB,EATD,CASoB,qBAATK,KAAuBA,KAAOC,MAAO,I,mBCRhD,IAAIC,EAAsB,CAAC,E,MCA3BA,EAAoBC,EAAI,CAACP,EAASQ,KACjC,IAAI,IAAIC,KAAOD,EACXF,EAAoBI,EAAEF,EAAYC,KAASH,EAAoBI,EAAEV,EAASS,IAC5EE,OAAOC,eAAeZ,EAASS,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,IAE1E,C,WCNDH,EAAoBI,EAAI,CAACK,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,E,WCAlFV,EAAoBc,EAAI,E,cCGxB,G,uBAAsB,qBAAXC,OAAwB,CACjC,IAAIC,EAAgBD,OAAOE,SAASD,cAWhCE,EAAMF,GAAiBA,EAAcE,IAAIC,MAAM,2BAC/CD,IACF,IAA0BA,EAAI,GAElC,CCnBA,IAAIE,EAAS,WAAa,IAAIC,EAAItB,KAASuB,EAAGD,EAAIE,eAAmBC,EAAGH,EAAII,MAAMD,I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KkG,QAAUlG,KAAKkG,OAAOF,QAAUhG,KAAKkG,OAAOF,OAAOC,WAEtDF,GAA0C,qBAAxBI,sBACrBJ,EAAUI,qBAGRZ,GACFA,EAAazE,KAAKd,KAAM+F,GAGtBA,GAAWA,EAAQK,uBACrBL,EAAQK,sBAAsBC,IAAIZ,EAEtC,EAGA7B,EAAQ0C,aAAeX,GACdJ,IACTI,EAAOD,EACH,WACEH,EAAazE,KACXd,MACC4D,EAAQiC,WAAa7F,KAAKkG,OAASlG,MAAMuG,MAAMC,SAASC,WAE7D,EACAlB,GAGFI,EACF,GAAI/B,EAAQiC,WAAY,CAGtBjC,EAAQ8C,cAAgBf,EAExB,IAAIgB,EAAiB/C,EAAQvC,OAC7BuC,EAAQvC,OAAS,SAAkCuF,EAAGb,GAEpD,OADAJ,EAAK7E,KAAKiF,GACHY,EAAeC,EAAGb,EAC3B,CACF,KAAO,CAEL,IAAIc,EAAWjD,EAAQkD,aACvBlD,EAAQkD,aAAeD,EAAW,GAAGE,OAAOF,EAAUlB,GAAQ,CAACA,EACjE,CAGF,MAAO,CACLhG,QAAS0F,EACTzB,QAASA,EAEb,CCxFA,IAAIoD,EAAY,EACd,EACA3F,EACA6C,GACA,EACA,KACA,KACA,MAIF,QAAe8C,EAAiB,QChBhC,I","sources":["webpack://VueFirewall/webpack/universalModuleDefinition","webpack://VueFirewall/webpack/bootstrap","webpack://VueFirewall/webpack/runtime/define property getters","webpack://VueFirewall/webpack/runtime/hasOwnProperty shorthand","webpack://VueFirewall/webpack/runtime/publicPath","webpack://VueFirewall/../../../.local/share/pnpm/global/5/.pnpm/@vue+cli-service@5.0.8_lodash@4.17.21_webpack-sources@3.2.3/node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://VueFirewall/./www/templates/Firewall.vue?4f04","webpack://VueFirewall/www/templates/Firewall.vue","webpack://VueFirewall/./www/templates/Firewall.vue?6878","webpack://VueFirewall/../../../.local/share/pnpm/global/5/.pnpm/vue-loader@15.11.1_css-loader@6.11.0_webpack@5.93.0__lodash@4.17.21_webpack@5.93.0/node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack://VueFirewall/./www/templates/Firewall.vue","webpack://VueFirewall/../../../.local/share/pnpm/global/5/.pnpm/@vue+cli-service@5.0.8_lodash@4.17.21_webpack-sources@3.2.3/node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"VueFirewall\"] = factory();\n\telse\n\t\troot[\"VueFirewall\"] = factory();\n})((typeof self !== 'undefined' ? self : this), () => {\nreturn ","// The require scope\nvar __webpack_require__ = {};\n\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__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","__webpack_require__.p = \"\";","/* eslint-disable no-var */\n// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"shadow-md rounded-lg bg-white dark:bg-neutral-700 overflow-hidden mb-4\"},[_c('div',{staticClass:\"flex flex-row flex-auto items-center p-3 px-5 border-b-2 border-neutral-500/50 dark:border-neutral-600\"},[_c('div',{staticClass:\"flex-grow\"},[_c('p',{staticClass:\"text-2xl font-medium dark:text-neutral-200\"},[_vm._v(_vm._s(_vm.$t('fwFirewall')))])])]),_c('div',{staticClass:\"container p-2 flex flex-col md:items-center\"},[_c('table',{staticClass:\"border border-neutral-500/50 bg-gray-200/10 dark:text-neutral-200 md:w-[75%] mb-4\"},[_c('thead',[_c('tr',[_c('th',{staticClass:\"border border-neutral-500/50 text-start p-1\"},[_vm._v(_vm._s(_vm.$t('fwInterface')))]),_c('th',{staticClass:\"border border-neutral-500/50 text-start p-1\"},[_vm._v(_vm._s(_vm.$t('fwIpv4')))]),_c('th',{staticClass:\"border border-neutral-500/50 text-start p-1\"},[_vm._v(_vm._s(_vm.$t('fwIpv6')))])])]),_c('tbody',_vm._l((_vm.interfaces),function(iface,index){return _c('tr',{key:index},[_c('td',{staticClass:\"border border-neutral-500/50 p-1\"},[_vm._v(_vm._s(iface.name))]),_c('td',{staticClass:\"border border-neutral-500/50 p-1\"},[_vm._v(_vm._s(iface.ipv4))]),_c('td',{staticClass:\"border border-neutral-500/50 p-1\"},[_vm._v(_vm._s(iface.ipv6))])])}),0)]),_c('form',{attrs:{\"id\":\"fw\"},on:{\"submit\":_vm.addRule}}),_c('div',{staticClass:\"overflow-x-auto\"},[_c('table',{staticClass:\"dark:text-neutral-200 border-t-2 border-collapse dark:border-neutral-200 p-2\"},[_c('thead',{staticClass:\"bg-gray-200 dark:bg-neutral-600\"},[_c('tr',[_c('th',{staticClass:\"border dark:border-neutral-200 p-1\"},[_vm._v(_vm._s(_vm.$t('fwAction')))]),_c('th',{staticClass:\"border dark:border-neutral-200 p-1\"},[_vm._v(_vm._s(_vm.$t('fwSource')))]),_c('th',{staticClass:\"border dark:border-neutral-200 p-1\"},[_vm._v(_vm._s(_vm.$t('fwDestination')))]),_c('th',{staticClass:\"border dark:border-neutral-200 p-1\"},[_vm._v(_vm._s(_vm.$t('fwProtocol')))]),_c('th',{staticClass:\"border dark:border-neutral-200 p-1\"},[_vm._v(_vm._s(_vm.$t('fwTarget')))])])]),_c('tbody',{staticClass:\"text-center\"},[_vm._l((_vm.rules),function(rule,index){return _c('tr',{key:index},[_c('td',{staticClass:\"border border-neutral-500/50 p-1 hover:bg-red-800/50 transition\"},[_c('button',{attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.deleteRule(rule.num)}}},[_c('svg',{staticClass:\"size-6\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke-width\":\"1.5\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"d\":\"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0\"}})])])]),_c('td',{staticClass:\"border border-neutral-500/50 p-1\"},[_vm._v(_vm._s(rule.source))]),_c('td',{staticClass:\"border border-neutral-500/50 p-1\"},[_vm._v(_vm._s(rule.destination))]),_c('td',{staticClass:\"border border-neutral-500/50 p-1\"},[_vm._v(_vm._s(rule.protocol))]),_c('td',{staticClass:\"border border-neutral-500/50 p-1\"},[_vm._v(_vm._s(rule.target))])])}),_c('tr',[_c('td',{staticClass:\"border border-neutral-500/50 p-1 hover:bg-green-800/50 transition\"},[_c('button',{attrs:{\"form\":\"fw\",\"type\":\"submit\"}},[_c('svg',{staticClass:\"size-6\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke-width\":\"1.5\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"d\":\"M12 4.5v15m7.5-7.5h-15\"}})])])]),_c('td',{staticClass:\"border border-neutral-500/50\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.newRule.source),expression:\"newRule.source\"}],staticClass:\"outline-none bg-transparent text-center\",attrs:{\"form\":\"fw\",\"type\":\"text\",\"name\":\"source\"},domProps:{\"value\":(_vm.newRule.source)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.newRule, \"source\", $event.target.value)}}})]),_c('td',{staticClass:\"border border-neutral-500/50\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.newRule.destination),expression:\"newRule.destination\"}],staticClass:\"outline-none bg-transparent text-center\",attrs:{\"form\":\"fw\",\"type\":\"text\",\"name\":\"destination\"},domProps:{\"value\":(_vm.newRule.destination)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.newRule, \"destination\", $event.target.value)}}})]),_c('td',{staticClass:\"border border-neutral-500/50\"},[_c('select',{staticClass:\"bg-transparent\",attrs:{\"form\":\"fw\",\"name\":\"protocol\"},on:{\"change\":function (e) { return _vm.newRule.protocol = e.target.value; }}},[_c('option',{staticClass:\"dark:text-white dark:bg-neutral-700\",attrs:{\"selected\":\"\",\"value\":\"TCP\"}},[_vm._v(\"TCP\")]),_c('option',{staticClass:\"dark:text-white dark:bg-neutral-700\",attrs:{\"value\":\"UDP\"}},[_vm._v(\"UDP\")])])]),_c('td',{staticClass:\"border border-neutral-500/50 p-1\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.newRule.target),expression:\"newRule.target\"}],staticClass:\"bg-transparent\",attrs:{\"form\":\"fw\",\"name\":\"target\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.newRule, \"target\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{staticClass:\"dark:text-white dark:bg-neutral-700\",attrs:{\"value\":\"ACCEPT\"}},[_vm._v(\"ALLOW\")]),_c('option',{staticClass:\"dark:text-white dark:bg-neutral-700\",attrs:{\"selected\":\"\",\"value\":\"DROP\"}},[_vm._v(\"BLOCK\")])])])])],2)])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../../../.local/share/pnpm/global/5/.pnpm/vue-loader@15.11.1_css-loader@6.11.0_webpack@5.93.0__lodash@4.17.21_webpack@5.93.0/node_modules/vue-loader/lib/index.js??vue-loader-options!./Firewall.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../.local/share/pnpm/global/5/.pnpm/vue-loader@15.11.1_css-loader@6.11.0_webpack@5.93.0__lodash@4.17.21_webpack@5.93.0/node_modules/vue-loader/lib/index.js??vue-loader-options!./Firewall.vue?vue&type=script&lang=js\"","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent(\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */,\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options =\n typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) {\n // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","import { render, staticRenderFns } from \"./Firewall.vue?vue&type=template&id=71578128\"\nimport script from \"./Firewall.vue?vue&type=script&lang=js\"\nexport * from \"./Firewall.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../.local/share/pnpm/global/5/.pnpm/vue-loader@15.11.1_css-loader@6.11.0_webpack@5.93.0__lodash@4.17.21_webpack@5.93.0/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["root","factory","exports","module","define","amd","self","this","__webpack_require__","d","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","p","window","currentScript","document","src","match","render","_vm","_h","$createElement","_c","_self","staticClass","_v","_s","$t","_l","iface","index","name","ipv4","ipv6","attrs","on","addRule","rule","$event","deleteRule","num","source","destination","protocol","target","directives","rawName","value","newRule","expression","domProps","composing","$set","e","$$selectedVal","Array","filter","options","selected","map","val","_value","multiple","staticRenderFns","data","interfaces","rules","methods","getInterfaces","api","then","catch","err","alert","message","toString","getRules","preventDefault","finally","mounted","API","normalizeComponent","scriptExports","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","hook","_compiled","functional","_scopeId","context","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","_registeredComponents","add","_ssrRegister","$root","$options","shadowRoot","_injectStyles","originalRender","h","existing","beforeCreate","concat","component"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"vue-firewall.umd.min.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,kBAAZC,SAA0C,kBAAXC,OACxCA,OAAOD,QAAUD,IACQ,oBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,kBAAZC,QACdA,QAAQ,eAAiBD,IAEzBD,EAAK,eAAiBC,GACvB,EATD,CASoB,qBAATK,KAAuBA,KAAOC,MAAO,I,mBCRhD,IAAIC,EAAsB,CAAC,E,MCA3BA,EAAoBC,EAAI,CAACP,EAASQ,KACjC,IAAI,IAAIC,KAAOD,EACXF,EAAoBI,EAAEF,EAAYC,KAASH,EAAoBI,EAAEV,EAASS,IAC5EE,OAAOC,eAAeZ,EAASS,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,IAE1E,C,WCNDH,EAAoBI,EAAI,CAACK,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,E,WCAlFV,EAAoBc,EAAI,E,cCGxB,G,uBAAsB,qBAAXC,OAAwB,CACjC,IAAIC,EAAgBD,OAAOE,SAASD,cAWhCE,EAAMF,G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N,IACF1B,EAAQiC,YAAa,GAInBL,IACF5B,EAAQkC,SAAW,UAAYN,GAI7BC,GAEFE,EAAO,SAAUI,GAEfA,EACEA,GACC/F,KAAKgG,QAAUhG,KAAKgG,OAAOC,YAC3BjG,KAAKkG,QAAUlG,KAAKkG,OAAOF,QAAUhG,KAAKkG,OAAOF,OAAOC,WAEtDF,GAA0C,qBAAxBI,sBACrBJ,EAAUI,qBAGRZ,GACFA,EAAazE,KAAKd,KAAM+F,GAGtBA,GAAWA,EAAQK,uBACrBL,EAAQK,sBAAsBC,IAAIZ,EAEtC,EAGA7B,EAAQ0C,aAAeX,GACdJ,IACTI,EAAOD,EACH,WACEH,EAAazE,KACXd,MACC4D,EAAQiC,WAAa7F,KAAKkG,OAASlG,MAAMuG,MAAMC,SAASC,WAE7D,EACAlB,GAGFI,EACF,GAAI/B,EAAQiC,WAAY,CAGtBjC,EAAQ8C,cAAgBf,EAExB,IAAIgB,EAAiB/C,EAAQvC,OAC7BuC,EAAQvC,OAAS,SAAkCuF,EAAGb,GAEpD,OADAJ,EAAK7E,KAAKiF,GACHY,EAAeC,EAAGb,EAC3B,CACF,KAAO,CAEL,IAAIc,EAAWjD,EAAQkD,aACvBlD,EAAQkD,aAAeD,EAAW,GAAGE,OAAOF,EAAUlB,GAAQ,CAACA,EACjE,CAGF,MAAO,CACLhG,QAAS0F,EACTzB,QAASA,EAEb,CCxFA,IAAIoD,EAAY,EACd,EACA3F,EACA6C,GACA,EACA,KACA,KACA,MAIF,QAAe8C,EAAiB,QChBhC,I","sources":["webpack://VueFirewall/webpack/universalModuleDefinition","webpack://VueFirewall/webpack/bootstrap","webpack://VueFirewall/webpack/runtime/define property getters","webpack://VueFirewall/webpack/runtime/hasOwnProperty shorthand","webpack://VueFirewall/webpack/runtime/publicPath","webpack://VueFirewall/../../../.local/share/pnpm/global/5/.pnpm/@vue+cli-service@5.0.8_lodash@4.17.21_webpack-sources@3.2.3/node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://VueFirewall/./www/templates/Firewall.vue?c7a7","webpack://VueFirewall/www/templates/Firewall.vue","webpack://VueFirewall/./www/templates/Firewall.vue?6878","webpack://VueFirewall/../../../.local/share/pnpm/global/5/.pnpm/vue-loader@15.11.1_css-loader@6.11.0_webpack@5.93.0__lodash@4.17.21_webpack@5.93.0/node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack://VueFirewall/./www/templates/Firewall.vue","webpack://VueFirewall/../../../.local/share/pnpm/global/5/.pnpm/@vue+cli-service@5.0.8_lodash@4.17.21_webpack-sources@3.2.3/node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"VueFirewall\"] = factory();\n\telse\n\t\troot[\"VueFirewall\"] = factory();\n})((typeof self !== 'undefined' ? self : this), () => {\nreturn ","// The require scope\nvar __webpack_require__ = {};\n\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__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","__webpack_require__.p = \"\";","/* eslint-disable no-var */\n// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"shadow-md rounded-lg bg-white dark:bg-neutral-700 overflow-hidden mb-4\"},[_c('div',{staticClass:\"flex flex-row flex-auto items-center p-3 px-5 border-b-2 border-neutral-500/50 dark:border-neutral-600\"},[_c('div',{staticClass:\"flex-grow\"},[_c('p',{staticClass:\"text-2xl font-medium dark:text-neutral-200\"},[_vm._v(_vm._s(_vm.$t('fwFirewall')))])])]),_c('div',{staticClass:\"container p-2 flex flex-col md:items-center\"},[_c('table',{staticClass:\"border border-neutral-500/50 bg-gray-200/10 dark:text-neutral-200 md:w-[75%] mb-4\"},[_c('thead',[_c('tr',[_c('th',{staticClass:\"border border-neutral-500/50 text-start p-1\"},[_vm._v(_vm._s(_vm.$t('fwInterface')))]),_c('th',{staticClass:\"border border-neutral-500/50 text-start p-1\"},[_vm._v(_vm._s(_vm.$t('fwIpv4')))]),_c('th',{staticClass:\"border border-neutral-500/50 text-start p-1\"},[_vm._v(_vm._s(_vm.$t('fwIpv6')))])])]),_c('tbody',_vm._l((_vm.interfaces),function(iface,index){return _c('tr',{key:index},[_c('td',{staticClass:\"border border-neutral-500/50 p-1\"},[_vm._v(_vm._s(iface.name))]),_c('td',{staticClass:\"border border-neutral-500/50 p-1\"},[_vm._v(_vm._s(iface.ipv4))]),_c('td',{staticClass:\"border border-neutral-500/50 p-1\"},[_vm._v(_vm._s(iface.ipv6))])])}),0)]),_c('form',{attrs:{\"id\":\"fw\"},on:{\"submit\":_vm.addRule}}),_c('div',{staticClass:\"overflow-x-auto\"},[_c('table',{staticClass:\"dark:text-neutral-200 border-t-2 border-collapse dark:border-neutral-200 p-2\"},[_c('thead',{staticClass:\"bg-gray-200 dark:bg-neutral-600\"},[_c('tr',[_c('th',{staticClass:\"border dark:border-neutral-200 p-1\"},[_vm._v(_vm._s(_vm.$t('fwAction')))]),_c('th',{staticClass:\"border dark:border-neutral-200 p-1\"},[_vm._v(_vm._s(_vm.$t('fwSource')))]),_c('th',{staticClass:\"border dark:border-neutral-200 p-1\"},[_vm._v(_vm._s(_vm.$t('fwDestination')))]),_c('th',{staticClass:\"border dark:border-neutral-200 p-1\"},[_vm._v(_vm._s(_vm.$t('fwProtocol')))]),_c('th',{staticClass:\"border dark:border-neutral-200 p-1\"},[_vm._v(_vm._s(_vm.$t('fwTarget')))])])]),_c('tbody',{staticClass:\"text-center\"},[_vm._l((_vm.rules),function(rule,index){return _c('tr',{key:index},[_c('td',{staticClass:\"border border-neutral-500/50 p-1 hover:bg-red-800/50 transition\"},[_c('button',{attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.deleteRule(rule.num)}}},[_c('svg',{staticClass:\"size-6\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke-width\":\"1.5\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"d\":\"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0\"}})])])]),_c('td',{staticClass:\"border border-neutral-500/50 p-1\"},[_vm._v(_vm._s(rule.source))]),_c('td',{staticClass:\"border border-neutral-500/50 p-1\"},[_vm._v(_vm._s(rule.destination))]),_c('td',{staticClass:\"border border-neutral-500/50 p-1\"},[_vm._v(_vm._s(rule.protocol))]),_c('td',{staticClass:\"border border-neutral-500/50 p-1\"},[_vm._v(_vm._s(rule.target))])])}),_c('tr',[_c('td',{staticClass:\"border border-neutral-500/50 p-1 hover:bg-green-800/50 transition\"},[_c('button',{attrs:{\"form\":\"fw\",\"type\":\"submit\"}},[_c('svg',{staticClass:\"size-6\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke-width\":\"1.5\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"d\":\"M12 4.5v15m7.5-7.5h-15\"}})])])]),_c('td',{staticClass:\"border border-neutral-500/50\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.newRule.source),expression:\"newRule.source\"}],staticClass:\"outline-none bg-transparent text-center\",attrs:{\"form\":\"fw\",\"type\":\"text\",\"name\":\"source\"},domProps:{\"value\":(_vm.newRule.source)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.newRule, \"source\", $event.target.value)}}})]),_c('td',{staticClass:\"border border-neutral-500/50\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.newRule.destination),expression:\"newRule.destination\"}],staticClass:\"outline-none bg-transparent text-center\",attrs:{\"form\":\"fw\",\"type\":\"text\",\"name\":\"destination\"},domProps:{\"value\":(_vm.newRule.destination)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.newRule, \"destination\", $event.target.value)}}})]),_c('td',{staticClass:\"border border-neutral-500/50\"},[_c('select',{staticClass:\"bg-transparent\",attrs:{\"form\":\"fw\",\"name\":\"protocol\"},on:{\"change\":function (e) { return _vm.newRule.protocol = e.target.value; }}},[_c('option',{staticClass:\"dark:text-white dark:bg-neutral-700\",attrs:{\"selected\":\"\",\"value\":\"TCP\"}},[_vm._v(\"TCP\")]),_c('option',{staticClass:\"dark:text-white dark:bg-neutral-700\",attrs:{\"value\":\"UDP\"}},[_vm._v(\"UDP\")])])]),_c('td',{staticClass:\"border border-neutral-500/50 p-1\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.newRule.target),expression:\"newRule.target\"}],staticClass:\"bg-transparent\",attrs:{\"form\":\"fw\",\"name\":\"target\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.newRule, \"target\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{staticClass:\"dark:text-white dark:bg-neutral-700\",attrs:{\"value\":\"ACCEPT\"}},[_vm._v(\"ALLOW\")]),_c('option',{staticClass:\"dark:text-white dark:bg-neutral-700\",attrs:{\"selected\":\"\",\"value\":\"DROP\"}},[_vm._v(\"BLOCK\")])])])])],2)])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../../../.local/share/pnpm/global/5/.pnpm/vue-loader@15.11.1_css-loader@6.11.0_webpack@5.93.0__lodash@4.17.21_webpack@5.93.0/node_modules/vue-loader/lib/index.js??vue-loader-options!./Firewall.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../.local/share/pnpm/global/5/.pnpm/vue-loader@15.11.1_css-loader@6.11.0_webpack@5.93.0__lodash@4.17.21_webpack@5.93.0/node_modules/vue-loader/lib/index.js??vue-loader-options!./Firewall.vue?vue&type=script&lang=js\"","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent(\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */,\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options =\n typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) {\n // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","import { render, staticRenderFns } from \"./Firewall.vue?vue&type=template&id=602b3624\"\nimport script from \"./Firewall.vue?vue&type=script&lang=js\"\nexport * from \"./Firewall.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../.local/share/pnpm/global/5/.pnpm/vue-loader@15.11.1_css-loader@6.11.0_webpack@5.93.0__lodash@4.17.21_webpack@5.93.0/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["root","factory","exports","module","define","amd","self","this","__webpack_require__","d","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","p","window","currentScript","document","src","match","render","_vm","_h","$createElement","_c","_self","staticClass","_v","_s","$t","_l","iface","index","name","ipv4","ipv6","attrs","on","addRule","rule","$event","deleteRule","num","source","destination","protocol","target","directives","rawName","value","newRule","expression","domProps","composing","$set","e","$$selectedVal","Array","filter","options","selected","map","val","_value","multiple","staticRenderFns","data","interfaces","rules","methods","getInterfaces","api","then","catch","err","alert","message","toString","getRules","preventDefault","finally","mounted","API","normalizeComponent","scriptExports","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","hook","_compiled","functional","_scopeId","context","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","_registeredComponents","add","_ssrRegister","$root","$options","shadowRoot","_injectStyles","originalRender","h","existing","beforeCreate","concat","component"],"sourceRoot":""} \ No newline at end of file