1 |
- !function(){function t(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,c,l=[],a=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;a=!1}else for(;!(a=(r=o.call(n)).done)&&(l.push(r.value),l.length!==e);a=!0);}catch(s){u=!0,i=s}finally{try{if(!a&&null!=n.return&&(c=n.return(),Object(c)!==c))return}finally{if(u)throw i}}return l}}(t,n)||function(t,n){if(!t)return;if("string"==typeof t)return e(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e(t,n)}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}System.register(["./index-legacy.88892f9c.js"],(function(e,n){"use strict";var r,i=document.createElement("style");return i.textContent=".policy[data-v-c0c0b6ed]{text-align:center;padding-top:100px;min-height:calc(100vh - 112px);background:var(--color-white)}.policy h3[data-v-c0c0b6ed]{margin-bottom:10px}\n",document.head.appendChild(i),{setters:[function(t){r=t.n}],execute:function(){e("default",r({name:"policy",data:function(){return{title:"",content:""}},mounted:function(){this.getPolicy()},methods:{getPolicy:function(){var e=this,n=this.$t("common.failure");this.$axios.get("/api/settings/notice_policy").then((function(r){var i=r.data,o=i.code,c=i.msg,l=void 0===c?n:c,a=i.data;if(0==o){var u=t(void 0===a?[]:a,2),s=(u[0],u[1]),f=void 0===s?{}:s,d=f.value;e.title=f[e.titleKey],e.content=d[e.contentKey]}else e.$message.error(l)}))}},computed:{titleKey:function(){return"ko"===this.$i18n.locale?"ko_title":"title"},contentKey:function(){return"".concat(this.$i18n.locale,"_content")}}},(function(){var t=this,e=t._self._c;return e("div",{staticClass:"policy"},[e("h3",[t._v(t._s(t.title))]),e("div",{domProps:{innerHTML:t._s(t.content)}})])}),[],!1,null,"c0c0b6ed",null,null).exports)}}}))}();
|