golden-logic-ui 1.0.63 → 1.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/golden-logic-ui.js
CHANGED
|
@@ -1676,7 +1676,7 @@ function ls(e, t, r, n, o, a) {
|
|
|
1676
1676
|
disabled: r.is_disabled
|
|
1677
1677
|
}, { type: r.is_submit ? "submit" : void 0 }, {
|
|
1678
1678
|
href: r.tag === "a" ? r.href : void 0,
|
|
1679
|
-
class: ` ${r.is_disabled ? "cursor-not-allowed" : ""} flex items-center gap-2 focus:outline-none text-sm px-5 py-2 me-2 font-medium rounded-lg ${a.buttonTypeClass}`
|
|
1679
|
+
class: ` ${r.is_disabled ? "cursor-not-allowed opacity-50" : ""} flex items-center gap-2 focus:outline-none text-sm px-5 py-2 me-2 font-medium rounded-lg ${a.buttonTypeClass}`
|
|
1680
1680
|
}), {
|
|
1681
1681
|
default: J(() => [
|
|
1682
1682
|
r.icon ? (d(), u("i", {
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
* vuex v4.1.0
|
|
3
3
|
* (c) 2022 Evan You
|
|
4
4
|
* @license MIT
|
|
5
|
-
*/var K="store";function W(t){return t===void 0&&(t=null),e.inject(t!==null?t:K)}function B(t,r){Object.keys(t).forEach(function(o){return r(t[o],o)})}function X(t){return t!==null&&typeof t=="object"}function Ie(t){return t&&typeof t.then=="function"}function E(t,r){if(!t)throw new Error("[vuex] "+r)}function Le(t,r){return function(){return t(r)}}function Y(t,r,o){return r.indexOf(t)<0&&(o&&o.prepend?r.unshift(t):r.push(t)),function(){var n=r.indexOf(t);n>-1&&r.splice(n,1)}}function J(t,r){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var o=t.state;T(t,o,[],t._modules.root,!0),A(t,o,r)}function A(t,r,o){var n=t._state,a=t._scope;t.getters={},t._makeLocalGettersCache=Object.create(null);var l=t._wrappedGetters,i={},s={},d=e.effectScope(!0);d.run(function(){B(l,function(c,m){i[m]=Le(c,t),s[m]=e.computed(function(){return i[m]()}),Object.defineProperty(t.getters,m,{get:function(){return s[m].value},enumerable:!0})})}),t._state=e.reactive({data:r}),t._scope=d,t.strict&&Re(t),n&&o&&t._withCommit(function(){n.data=null}),a&&a.stop()}function T(t,r,o,n,a){var l=!o.length,i=t._modules.getNamespace(o);if(n.namespaced&&(t._modulesNamespaceMap[i]&&process.env.NODE_ENV!=="production"&&console.error("[vuex] duplicate namespace "+i+" for the namespaced module "+o.join("/")),t._modulesNamespaceMap[i]=n),!l&&!a){var s=I(r,o.slice(0,-1)),d=o[o.length-1];t._withCommit(function(){process.env.NODE_ENV!=="production"&&d in s&&console.warn('[vuex] state field "'+d+'" was overridden by a module with the same name at "'+o.join(".")+'"'),s[d]=n.state})}var c=n.context=Fe(t,i,o);n.forEachMutation(function(m,g){var u=i+g;ze(t,u,m,c)}),n.forEachAction(function(m,g){var u=m.root?g:i+g,p=m.handler||m;Ge(t,u,p,c)}),n.forEachGetter(function(m,g){var u=i+g;ve(t,u,m,c)}),n.forEachChild(function(m,g){T(t,r,o.concat(g),m,a)})}function Fe(t,r,o){var n=r==="",a={dispatch:n?t.dispatch:function(l,i,s){var d=j(l,i,s),c=d.payload,m=d.options,g=d.type;if((!m||!m.root)&&(g=r+g,process.env.NODE_ENV!=="production"&&!t._actions[g])){console.error("[vuex] unknown local action type: "+d.type+", global type: "+g);return}return t.dispatch(g,c)},commit:n?t.commit:function(l,i,s){var d=j(l,i,s),c=d.payload,m=d.options,g=d.type;if((!m||!m.root)&&(g=r+g,process.env.NODE_ENV!=="production"&&!t._mutations[g])){console.error("[vuex] unknown local mutation type: "+d.type+", global type: "+g);return}t.commit(g,c,m)}};return Object.defineProperties(a,{getters:{get:n?function(){return t.getters}:function(){return Q(t,r)}},state:{get:function(){return I(t.state,o)}}}),a}function Q(t,r){if(!t._makeLocalGettersCache[r]){var o={},n=r.length;Object.keys(t.getters).forEach(function(a){if(a.slice(0,n)===r){var l=a.slice(n);Object.defineProperty(o,l,{get:function(){return t.getters[a]},enumerable:!0})}}),t._makeLocalGettersCache[r]=o}return t._makeLocalGettersCache[r]}function ze(t,r,o,n){var a=t._mutations[r]||(t._mutations[r]=[]);a.push(function(i){o.call(t,n.state,i)})}function Ge(t,r,o,n){var a=t._actions[r]||(t._actions[r]=[]);a.push(function(i){var s=o.call(t,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:t.getters,rootState:t.state},i);return Ie(s)||(s=Promise.resolve(s)),t._devtoolHook?s.catch(function(d){throw t._devtoolHook.emit("vuex:error",d),d}):s})}function ve(t,r,o,n){if(t._wrappedGetters[r]){process.env.NODE_ENV!=="production"&&console.error("[vuex] duplicate getter key: "+r);return}t._wrappedGetters[r]=function(l){return o(n.state,n.getters,l.state,l.getters)}}function Re(t){e.watch(function(){return t._state.data},function(){process.env.NODE_ENV!=="production"&&E(t._committing,"do not mutate vuex store state outside mutation handlers.")},{deep:!0,flush:"sync"})}function I(t,r){return r.reduce(function(o,n){return o[n]},t)}function j(t,r,o){return X(t)&&t.type&&(o=r,r=t,t=t.type),process.env.NODE_ENV!=="production"&&E(typeof t=="string","expects string as the type, but found "+typeof t+"."),{type:t,payload:r,options:o}}var Ue="vuex bindings",ee="vuex:mutations",L="vuex:actions",O="vuex",qe=0;function He(t,r){Ae({id:"org.vuejs.vuex",app:t,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[Ue]},function(o){o.addTimelineLayer({id:ee,label:"Vuex Mutations",color:te}),o.addTimelineLayer({id:L,label:"Vuex Actions",color:te}),o.addInspector({id:O,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),o.on.getInspectorTree(function(n){if(n.app===t&&n.inspectorId===O)if(n.filter){var a=[];le(a,r._modules.root,n.filter,""),n.rootNodes=a}else n.rootNodes=[ne(r._modules.root,"")]}),o.on.getInspectorState(function(n){if(n.app===t&&n.inspectorId===O){var a=n.nodeId;Q(r,a),n.state=We(Ye(r._modules,a),a==="root"?r.getters:r._makeLocalGettersCache,a)}}),o.on.editInspectorState(function(n){if(n.app===t&&n.inspectorId===O){var a=n.nodeId,l=n.path;a!=="root"&&(l=a.split("/").filter(Boolean).concat(l)),r._withCommit(function(){n.set(r._state.data,l,n.state.value)})}}),r.subscribe(function(n,a){var l={};n.payload&&(l.payload=n.payload),l.state=a,o.notifyComponentUpdate(),o.sendInspectorTree(O),o.sendInspectorState(O),o.addTimelineEvent({layerId:ee,event:{time:Date.now(),title:n.type,data:l}})}),r.subscribeAction({before:function(n,a){var l={};n.payload&&(l.payload=n.payload),n._id=qe++,n._time=Date.now(),l.state=a,o.addTimelineEvent({layerId:L,event:{time:n._time,title:n.type,groupId:n._id,subtitle:"start",data:l}})},after:function(n,a){var l={},i=Date.now()-n._time;l.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},n.payload&&(l.payload=n.payload),l.state=a,o.addTimelineEvent({layerId:L,event:{time:Date.now(),title:n.type,groupId:n._id,subtitle:"end",data:l}})}})})}var te=8702998,Ze=6710886,Ke=16777215,re={label:"namespaced",textColor:Ke,backgroundColor:Ze};function oe(t){return t&&t!=="root"?t.split("/").slice(-2,-1)[0]:"Root"}function ne(t,r){return{id:r||"root",label:oe(r),tags:t.namespaced?[re]:[],children:Object.keys(t._children).map(function(o){return ne(t._children[o],r+o+"/")})}}function le(t,r,o,n){n.includes(o)&&t.push({id:n||"root",label:n.endsWith("/")?n.slice(0,n.length-1):n||"Root",tags:r.namespaced?[re]:[]}),Object.keys(r._children).forEach(function(a){le(t,r._children[a],o,n+a+"/")})}function We(t,r,o){r=o==="root"?r:r[o];var n=Object.keys(r),a={state:Object.keys(t.state).map(function(i){return{key:i,editable:!0,value:t.state[i]}})};if(n.length){var l=Xe(r);a.getters=Object.keys(l).map(function(i){return{key:i.endsWith("/")?oe(i):i,editable:!1,value:F(function(){return l[i]})}})}return a}function Xe(t){var r={};return Object.keys(t).forEach(function(o){var n=o.split("/");if(n.length>1){var a=r,l=n.pop();n.forEach(function(i){a[i]||(a[i]={_custom:{value:{},display:i,tooltip:"Module",abstract:!0}}),a=a[i]._custom.value}),a[l]=F(function(){return t[o]})}else r[o]=F(function(){return t[o]})}),r}function Ye(t,r){var o=r.split("/").filter(function(n){return n});return o.reduce(function(n,a,l){var i=n[a];if(!i)throw new Error('Missing module "'+a+'" for path "'+r+'".');return l===o.length-1?i:i._children},r==="root"?t:t.root._children)}function F(t){try{return t()}catch(r){return r}}var N=function(r,o){this.runtime=o,this._children=Object.create(null),this._rawModule=r;var n=r.state;this.state=(typeof n=="function"?n():n)||{}},ae={namespaced:{configurable:!0}};ae.namespaced.get=function(){return!!this._rawModule.namespaced},N.prototype.addChild=function(r,o){this._children[r]=o},N.prototype.removeChild=function(r){delete this._children[r]},N.prototype.getChild=function(r){return this._children[r]},N.prototype.hasChild=function(r){return r in this._children},N.prototype.update=function(r){this._rawModule.namespaced=r.namespaced,r.actions&&(this._rawModule.actions=r.actions),r.mutations&&(this._rawModule.mutations=r.mutations),r.getters&&(this._rawModule.getters=r.getters)},N.prototype.forEachChild=function(r){B(this._children,r)},N.prototype.forEachGetter=function(r){this._rawModule.getters&&B(this._rawModule.getters,r)},N.prototype.forEachAction=function(r){this._rawModule.actions&&B(this._rawModule.actions,r)},N.prototype.forEachMutation=function(r){this._rawModule.mutations&&B(this._rawModule.mutations,r)},Object.defineProperties(N.prototype,ae);var C=function(r){this.register([],r,!1)};C.prototype.get=function(r){return r.reduce(function(o,n){return o.getChild(n)},this.root)},C.prototype.getNamespace=function(r){var o=this.root;return r.reduce(function(n,a){return o=o.getChild(a),n+(o.namespaced?a+"/":"")},"")},C.prototype.update=function(r){se([],this.root,r)},C.prototype.register=function(r,o,n){var a=this;n===void 0&&(n=!0),process.env.NODE_ENV!=="production"&&ce(r,o);var l=new N(o,n);if(r.length===0)this.root=l;else{var i=this.get(r.slice(0,-1));i.addChild(r[r.length-1],l)}o.modules&&B(o.modules,function(s,d){a.register(r.concat(d),s,n)})},C.prototype.unregister=function(r){var o=this.get(r.slice(0,-1)),n=r[r.length-1],a=o.getChild(n);if(!a){process.env.NODE_ENV!=="production"&&console.warn("[vuex] trying to unregister module '"+n+"', which is not registered");return}a.runtime&&o.removeChild(n)},C.prototype.isRegistered=function(r){var o=this.get(r.slice(0,-1)),n=r[r.length-1];return o?o.hasChild(n):!1};function se(t,r,o){if(process.env.NODE_ENV!=="production"&&ce(t,o),r.update(o),o.modules)for(var n in o.modules){if(!r.getChild(n)){process.env.NODE_ENV!=="production"&&console.warn("[vuex] trying to add a new module '"+n+"' on hot reloading, manual reload is needed");return}se(t.concat(n),r.getChild(n),o.modules[n])}}var ie={assert:function(t){return typeof t=="function"},expected:"function"},Je={assert:function(t){return typeof t=="function"||typeof t=="object"&&typeof t.handler=="function"},expected:'function or object with "handler" function'},de={getters:ie,mutations:ie,actions:Je};function ce(t,r){Object.keys(de).forEach(function(o){if(r[o]){var n=de[o];B(r[o],function(a,l){E(n.assert(a),Qe(t,o,l,a,n.expected))})}})}function Qe(t,r,o,n,a){var l=r+" should be "+a+' but "'+r+"."+o+'"';return t.length>0&&(l+=' in module "'+t.join(".")+'"'),l+=" is "+JSON.stringify(n)+".",l}var x=function t(r){var o=this;r===void 0&&(r={}),process.env.NODE_ENV!=="production"&&(E(typeof Promise<"u","vuex requires a Promise polyfill in this browser."),E(this instanceof t,"store must be called with the new operator."));var n=r.plugins;n===void 0&&(n=[]);var a=r.strict;a===void 0&&(a=!1);var l=r.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new C(r),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=l;var i=this,s=this,d=s.dispatch,c=s.commit;this.dispatch=function(u,p){return d.call(i,u,p)},this.commit=function(u,p,S){return c.call(i,u,p,S)},this.strict=a;var m=this._modules.root.state;T(this,m,[],this._modules.root),A(this,m),n.forEach(function(g){return g(o)})},z={state:{configurable:!0}};x.prototype.install=function(r,o){r.provide(o||K,this),r.config.globalProperties.$store=this;var n=this._devtools!==void 0?this._devtools:process.env.NODE_ENV!=="production"||!1;n&&He(r,this)},z.state.get=function(){return this._state.data},z.state.set=function(t){process.env.NODE_ENV!=="production"&&E(!1,"use store.replaceState() to explicit replace store state.")},x.prototype.commit=function(r,o,n){var a=this,l=j(r,o,n),i=l.type,s=l.payload,d=l.options,c={type:i,payload:s},m=this._mutations[i];if(!m){process.env.NODE_ENV!=="production"&&console.error("[vuex] unknown mutation type: "+i);return}this._withCommit(function(){m.forEach(function(u){u(s)})}),this._subscribers.slice().forEach(function(g){return g(c,a.state)}),process.env.NODE_ENV!=="production"&&d&&d.silent&&console.warn("[vuex] mutation type: "+i+". Silent option has been removed. Use the filter functionality in the vue-devtools")},x.prototype.dispatch=function(r,o){var n=this,a=j(r,o),l=a.type,i=a.payload,s={type:l,payload:i},d=this._actions[l];if(!d){process.env.NODE_ENV!=="production"&&console.error("[vuex] unknown action type: "+l);return}try{this._actionSubscribers.slice().filter(function(m){return m.before}).forEach(function(m){return m.before(s,n.state)})}catch(m){process.env.NODE_ENV!=="production"&&(console.warn("[vuex] error in before action subscribers: "),console.error(m))}var c=d.length>1?Promise.all(d.map(function(m){return m(i)})):d[0](i);return new Promise(function(m,g){c.then(function(u){try{n._actionSubscribers.filter(function(p){return p.after}).forEach(function(p){return p.after(s,n.state)})}catch(p){process.env.NODE_ENV!=="production"&&(console.warn("[vuex] error in after action subscribers: "),console.error(p))}m(u)},function(u){try{n._actionSubscribers.filter(function(p){return p.error}).forEach(function(p){return p.error(s,n.state,u)})}catch(p){process.env.NODE_ENV!=="production"&&(console.warn("[vuex] error in error action subscribers: "),console.error(p))}g(u)})})},x.prototype.subscribe=function(r,o){return Y(r,this._subscribers,o)},x.prototype.subscribeAction=function(r,o){var n=typeof r=="function"?{before:r}:r;return Y(n,this._actionSubscribers,o)},x.prototype.watch=function(r,o,n){var a=this;return process.env.NODE_ENV!=="production"&&E(typeof r=="function","store.watch only accepts a function."),e.watch(function(){return r(a.state,a.getters)},o,Object.assign({},n))},x.prototype.replaceState=function(r){var o=this;this._withCommit(function(){o._state.data=r})},x.prototype.registerModule=function(r,o,n){n===void 0&&(n={}),typeof r=="string"&&(r=[r]),process.env.NODE_ENV!=="production"&&(E(Array.isArray(r),"module path must be a string or an Array."),E(r.length>0,"cannot register the root module by using registerModule.")),this._modules.register(r,o),T(this,this.state,r,this._modules.get(r),n.preserveState),A(this,this.state)},x.prototype.unregisterModule=function(r){var o=this;typeof r=="string"&&(r=[r]),process.env.NODE_ENV!=="production"&&E(Array.isArray(r),"module path must be a string or an Array."),this._modules.unregister(r),this._withCommit(function(){var n=I(o.state,r.slice(0,-1));delete n[r[r.length-1]]}),J(this)},x.prototype.hasModule=function(r){return typeof r=="string"&&(r=[r]),process.env.NODE_ENV!=="production"&&E(Array.isArray(r),"module path must be a string or an Array."),this._modules.isRegistered(r)},x.prototype.hotUpdate=function(r){this._modules.update(r),J(this,!0)},x.prototype._withCommit=function(r){var o=this._committing;this._committing=!0,r(),this._committing=o},Object.defineProperties(x.prototype,z);var et=fe(function(t,r){var o={};return process.env.NODE_ENV!=="production"&&!G(r)&&console.error("[vuex] mapState: mapper parameter must be either an Array or an Object"),me(r).forEach(function(n){var a=n.key,l=n.val;o[a]=function(){var s=this.$store.state,d=this.$store.getters;if(t){var c=ge(this.$store,"mapState",t);if(!c)return;s=c.context.state,d=c.context.getters}return typeof l=="function"?l.call(this,s,d):s[l]},o[a].vuex=!0}),o}),tt=fe(function(t,r){var o={};return process.env.NODE_ENV!=="production"&&!G(r)&&console.error("[vuex] mapMutations: mapper parameter must be either an Array or an Object"),me(r).forEach(function(n){var a=n.key,l=n.val;o[a]=function(){for(var s=[],d=arguments.length;d--;)s[d]=arguments[d];var c=this.$store.commit;if(t){var m=ge(this.$store,"mapMutations",t);if(!m)return;c=m.context.commit}return typeof l=="function"?l.apply(this,[c].concat(s)):c.apply(this.$store,[l].concat(s))}}),o});function me(t){return G(t)?Array.isArray(t)?t.map(function(r){return{key:r,val:r}}):Object.keys(t).map(function(r){return{key:r,val:t[r]}}):[]}function G(t){return Array.isArray(t)||X(t)}function fe(t){return function(r,o){return typeof r!="string"?(o=r,r=""):r.charAt(r.length-1)!=="/"&&(r+="/"),t(r,o)}}function ge(t,r,o){var n=t._modulesNamespaceMap[o];return process.env.NODE_ENV!=="production"&&!n&&console.error("[vuex] module namespace not found in "+r+"(): "+o),n}const rt={components:{DeleteConfirmationModal:P},props:{is_required:{type:Boolean,default:!1},error_message:{type:String,default:""},description:{type:String,default:""},show:{type:Boolean,default:!1},has_multiple_file:{show:Boolean,default:!1},field_name:{type:String,default:""},label_name:{type:String,default:""},route_url:{type:String,default:""},model_value:{type:Array,default:[]},file_config:{type:Object,default:{}},is_enable_delete:{type:Boolean,default:!0}},emits:["uploaded"],data(){return{media_id:"",error_message_data:"",open_delete_modal:!1,files:[],uploadFileList:[],isDragging:!1}},methods:{closeDeleteModal(){this.open_delete_modal=!1},deleteAction(){axios.delete(this.route_url+"/destroyMedia/"+this.media_id).then(t=>{let r=this.uploadFileList.findIndex(o=>o.id===this.media_id);r!==-1&&this.uploadFileList.splice(r,1),this.closeDeleteModal(),this.$store.commit("notification/SHOW_NOTIFICATION",{message:"Item deleted successfully.",type:"success",duration:5e3})}).catch(t=>{console.error(t),this.is_loading=!1})},getFileName(t){return t.length>12?t.substring(0,13)+"... ."+t.split(".")[1]:t},formatFileSize(t){if(t===0)return"0 Bytes";const r=1024,o=["Bytes","KB","MB","GB","TB"],n=Math.floor(Math.log(t)/Math.log(r));return parseFloat((t/Math.pow(r,n)).toFixed(2))+" "+o[n]},onDragOver(t){t.preventDefault(),this.isDragging=!0,t.dataTransfer.dropEffect="copy"},onDragLeave(t){t.preventDefault(),this.isDragging=!1},onDrop(t){t.preventDefault(),this.isDragging=!1;const r=t.dataTransfer.files;Array.from(r).forEach(o=>{this.uploadFile(o)})},async uploadFiles(t){const r=t.target.files,o=Array.from(r).map(n=>this.uploadFile(n));await Promise.all(o),this.$emit("uploaded")},getFirstError(t,r){return t.hasOwnProperty(r)?t[r][0]:""},async uploadFile(t){return new Promise((r,o)=>{t||r();const n=new FormData;n.append("file",t),Object.entries(this.file_config).forEach(([a,l])=>{n.append(a,l)}),this.files.push({file_name:t.name,loading:0}),axios.post(this.route_url+"/media",n,{onUploadProgress:a=>{this.files[this.files.length-1].loading=Math.floor(a.loaded/a.total*100)}}).then(a=>{let l=this.files.findIndex(i=>i.file_name===t.name);l!==-1&&this.files.splice(l,1),this.uploadFileList.push({file_name:a.data.file_name,size:a.data.size,id:a.data.id,url:a.data.url}),this.error_message_data="",r()}).catch(a=>{a.response.status===422?this.error_message_data=this.getFirstError(a.response.data.errors,"file"):console.error("An error occurred:",a);let l=this.files.findIndex(i=>i.file_name===t.name);l!==-1&&this.files.splice(l,1),console.log(a),r()})})}},computed:{uploadedFileIds(){var t;return this.has_multiple_file?this.uploadFileList.map(r=>r.id):((t=this.uploadFileList[0])==null?void 0:t.id)||null}},mounted(){console.log(this.model_value),this.model_value?Array.isArray(this.model_value)?this.uploadFileList=this.model_value:this.uploadFileList=[this.model_value]:this.uploadFileList=[],this.error_message_data=this.error_message}},ot={class:"flex flex-col items-center justify-center pt-5 pb-6"},nt=["multiple"],lt=["name"],at=[e.createElementVNode("svg",{class:"w-8 h-8 mb-4 text-gray-500 dark:text-gray-400","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 16"},[e.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 13h3a3 3 0 0 0 0-6h-.025A5.56 5.56 0 0 0 16 6.5 5.5 5.5 0 0 0 5.207 5.021C5.137 5.017 5.071 5 5 5a4 4 0 0 0 0 8h2.167M10 15V6m0 0L8 8m2-2 2 2"})],-1),e.createElementVNode("p",{class:"text-sm text-gray-500 dark:text-gray-400"}," Drag & drop files or browse ",-1)],st={key:1},it=[e.createElementVNode("p",{class:"text-sm text-gray-500 dark:text-gray-400"},"Drop files here",-1)],dt={class:"mt-2 gl-span-form-error"},ct={class:"block mt-2 mb-3 text-sm font-normal leading-5 text-gray-500"},mt={key:0,class:""},ft={class:"flex items-center justify-between p-2 mb-2 text-gray-900 rounded-lg bg-gray-50 hover:bg-gray-100 hover:shadow dark:bg-gray-600 dark:hover:bg-gray-500 dark:text-white"},gt=e.createElementVNode("i",{class:"text-3xl fas fa-file-alt"},null,-1),ht={class:"w-full ml-3"},ut={class:"flex items-center justify-between mb-1"},pt={class:"text-xs text-black dark:text-white"},_t={class:"text-xs text-black dark:text-white"},yt={class:"w-full h-1 mb-1 bg-white rounded-full dark:bg-gray-800"},bt={class:"overflow-x-scroll max-h-56"},kt={class:"flex items-center justify-between p-2 mb-2 text-gray-900 rounded-lg bg-gray-50 hover:bg-gray-100 hover:shadow dark:bg-gray-600 dark:hover:bg-gray-500 dark:text-white"},xt={class:"flex items-center"},wt=e.createElementVNode("i",{class:"text-3xl fas fa-file-alt","aria-hidden":"true"},null,-1),Et={class:"flex flex-col ml-3"},Nt={class:"text-xs"},Vt={class:"text-xs"},Bt={class:"flex gap-2"},Ct=["href"],St=["onClick"];function $t(t,r,o,n,a,l){const i=e.resolveComponent("DeleteConfirmationModal");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(i,{isOpen:a.open_delete_modal,onConfirmDelete:l.deleteAction,onCancelDelete:l.closeDeleteModal},null,8,["isOpen","onConfirmDelete","onCancelDelete"]),e.createElementVNode("div",{class:e.normalizeClass([{"border-red-500 dark:border-red-500":a.error_message_data!=="","border-gray-200 dark:border-gray-700":a.error_message_data==""},"w-full p-4 bg-white border rounded-lg shadow dark:bg-gray-800"])},[e.createElementVNode("label",{class:e.normalizeClass({"gl-label-form":a.error_message_data=="","gl-label-form-invalid":a.error_message_data!=="",required:o.is_required})},e.toDisplayString(o.label_name),3),e.createElementVNode("div",{onDragover:r[3]||(r[3]=e.withModifiers((...s)=>l.onDragOver&&l.onDragOver(...s),["prevent"])),onDragleave:r[4]||(r[4]=e.withModifiers((...s)=>l.onDragLeave&&l.onDragLeave(...s),["prevent"])),onDrop:r[5]||(r[5]=e.withModifiers((...s)=>l.onDrop&&l.onDrop(...s),["prevent"])),class:"flex flex-col items-center justify-center w-full h-40 mt-3 mb-3 border-2 border-gray-300 border-dashed rounded-lg cursor-pointer bg-gray-50 dark:hover:bg-bray-800 dark:bg-gray-700 hover:bg-gray-100 dark:border-gray-600 dark:hover:border-gray-500 dark:hover:bg-gray-600"},[e.createElementVNode("div",ot,[e.createElementVNode("input",{type:"file",ref:"file_input"+o.field_name,hidden:"",multiple:o.has_multiple_file,onChange:r[0]||(r[0]=(...s)=>l.uploadFiles&&l.uploadFiles(...s))},null,40,nt),e.withDirectives(e.createElementVNode("input",{type:"hidden",name:o.field_name,"onUpdate:modelValue":r[1]||(r[1]=s=>l.uploadedFileIds=s)},null,8,lt),[[e.vModelText,l.uploadedFileIds]]),a.isDragging?(e.openBlock(),e.createElementBlock("div",st,it)):(e.openBlock(),e.createElementBlock("div",{key:0,class:"flex flex-col items-center justify-center",onClick:r[2]||(r[2]=s=>t.$refs["file_input"+this.field_name].click())},at))])],32),e.createElementVNode("span",dt,e.toDisplayString(a.error_message_data),1),e.createElementVNode("small",ct,e.toDisplayString(o.description),1),a.files.length>0?(e.openBlock(),e.createElementBlock("section",mt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.files,(s,d)=>(e.openBlock(),e.createElementBlock("li",ft,[gt,e.createElementVNode("div",ht,[e.createElementVNode("div",ut,[e.createElementVNode("span",pt,e.toDisplayString(l.getFileName(s.file_name)),1),e.createElementVNode("span",_t,e.toDisplayString(s.loading),1)]),e.createElementVNode("div",yt,[e.createElementVNode("div",{class:"h-full bg-gray-500 rounded-full dark:bg-gray-400",style:e.normalizeStyle({width:s.loading+"%"})},null,4)])])]))),256))])):e.createCommentVNode("",!0),e.createElementVNode("section",bt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.uploadFileList,(s,d)=>(e.openBlock(),e.createElementBlock("li",kt,[e.createElementVNode("div",xt,[wt,e.createElementVNode("div",Et,[e.createElementVNode("span",Nt,e.toDisplayString(l.getFileName(s.file_name)),1),e.createElementVNode("span",Vt,e.toDisplayString(l.formatFileSize(s.size)),1)])]),e.createElementVNode("div",Bt,[e.createElementVNode("a",{href:s.url,target:"_blank",class:"text-lg text-blue-600 cursor-pointer dark:text-blue-400 fas fa-download"},null,8,Ct),o.is_enable_delete?(e.openBlock(),e.createElementBlock("i",{key:0,onClick:c=>{a.media_id=s.id,a.open_delete_modal=!0},class:"text-lg text-red-600 cursor-pointer dark:text-red-400 fas fa-x"},null,8,St)):e.createCommentVNode("",!0)])]))),256))])],2)],64)}const Dt=y(rt,[["render",$t]]),Ot={computed:{...et("notification",["notification"]),alertClasses(){switch(this.notification.type){case"info":return"text-blue-800 bg-blue-50 dark:bg-gray-800 dark:text-blue-400";case"error":return"text-red-800 bg-red-50 dark:bg-gray-800 dark:text-red-400";case"success":return"text-green-800 bg-green-50 dark:bg-gray-800 dark:text-green-400";case"warning":return"text-yellow-800 bg-yellow-50 dark:bg-gray-800 dark:text-yellow-300";case"dark":return"text-gray-800 bg-gray-50 dark:bg-gray-800 dark:text-gray-300";default:return""}},buttonClasses(){switch(this.notification.type){case"info":return"bg-blue-50 text-blue-500 focus:ring-blue-400 hover:bg-blue-200 dark:hover:bg-gray-700";case"error":return"bg-red-50 text-red-500 focus:ring-red-400 hover:bg-red-200 dark:hover:bg-gray-700";case"success":return"bg-green-50 text-green-500 focus:ring-green-400 hover:bg-green-200 dark:hover:bg-gray-700";case"warning":return"bg-yellow-50 text-yellow-500 focus:ring-yellow-400 hover:bg-yellow-200 dark:hover:bg-gray-700";case"dark":return"bg-gray-50 text-gray-500 focus:ring-gray-400 hover:bg-gray-200 dark:hover:bg-gray-700";default:return""}}},methods:{...tt("notification",["HIDE_NOTIFICATION"]),dismiss(){this.HIDE_NOTIFICATION()}},watch:{"notification.show":function(t){t&&setTimeout(()=>{this.dismiss()},this.notification.duration)}}},Pt=e.createElementVNode("svg",{class:"flex-shrink-0 w-4 h-4","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20"},[e.createElementVNode("path",{d:"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"})],-1),Tt=e.createElementVNode("span",{class:"sr-only"},"Info",-1),jt={class:"mr-3 text-sm font-medium ms-3"},Mt=[e.createElementVNode("span",{class:"sr-only"},"Close",-1),e.createElementVNode("svg",{class:"w-3 h-3","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},[e.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"})],-1)];function At(t,r,o,n,a,l){return t.notification.show?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["fixed right-0 z-50 flex items-center p-4 m-5 mb-4 rounded-lg shadow-lg",l.alertClasses]),role:"alert"},[Pt,Tt,e.createElementVNode("div",jt,e.toDisplayString(t.notification.message),1),e.createElementVNode("button",{type:"button",onClick:r[0]||(r[0]=(...i)=>l.dismiss&&l.dismiss(...i)),class:e.normalizeClass(["inline-flex items-center justify-center w-6 h-6 p-1 -mx-1 -my-1 rounded-lg ms-auto focus:ring-2 hover:bg-opacity-50",l.buttonClasses]),"aria-label":"Close"},Mt,2)],2)):e.createCommentVNode("",!0)}const It=y(Ot,[["render",At]]),Lt={components:{},props:{field_name:{type:String,default:""},trans_selector_name:{type:String,default:"i18n_selector"}},data(){return{locals:[],default_language:""}},methods:{getLocals(){const t={id:this.menu_id};axios.get("/admin/get_locals",{params:t}).then(r=>{this.locals=r.data.locals,this.default_language=r.data.default_language,console.log("default_language",this.default_language)}).catch(r=>{console.error(r)})}},created(){this.getLocals()},mounted(){}},Ft={class:"grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector"},zt=["name","value","id","checked"],Gt=["for"];function vt(t,r,o,n,a,l){return e.openBlock(),e.createElementBlock("ul",Ft,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.locals,(i,s)=>(e.openBlock(),e.createElementBlock("li",null,[e.createElementVNode("input",{type:"radio",name:o.trans_selector_name,value:i,class:"hidden peer",id:i+"_"+o.field_name,autocomplete:"off",checked:i===a.default_language},null,8,zt),e.createElementVNode("label",{for:i+"_"+o.field_name,class:e.normalizeClass([{"border md:!rounded-s-lg":s===0,"border md:!rounded-e-lg":s===a.locals.length-1,"border-t border-b":s!==0&&s!==a.locals.length-1},"w-full p-1 font-bold text-center text-gray-500 uppercase bg-white border-gray-200 rounded-lg cursor-pointer md:rounded-none dark:hover:text-gray-300 dark:border-gray-700 dark:peer-checked:text-blue-500 peer-checked:border-blue-600 peer-checked:text-blue-600 hover:text-gray-600 hover:bg-gray-100 dark:text-gray-400 dark:bg-gray-800 dark:hover:bg-gray-700"])},e.toDisplayString(i),11,Gt)]))),256))])}const Rt=y(Lt,[["render",vt]]),Ut={class:"bg-white border rounded-lg border-stroke shadow-default dark:border-strokedark dark:bg-boxdark"},qt={class:"px-3 py-4 border-b border-stroke dark:border-strokedark"},Ht={class:"font-semibold text-black dark:text-white"},Zt={key:0,class:"p-6"},Kt={__name:"GlCard",props:{class:{type:String,default:""}},setup(t){const r=t,o=e.computed(()=>r.class);return(n,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex flex-col gap-9",o.value])},[e.createElementVNode("div",Ut,[e.createElementVNode("div",qt,[e.createElementVNode("h3",Ht,[e.renderSlot(n.$slots,"header")])]),n.$slots.body?(e.openBlock(),e.createElementBlock("div",Zt,[e.renderSlot(n.$slots,"body")])):e.createCommentVNode("",!0)])],2))}},Wt={name:"MultiSelectDropdown",template:"MultiSelectDropdown",props:{modelValue:{type:[String,Number],default:""},default_value:{type:Array,default:[]},field_name:{type:String,default:""},is_required:{type:Boolean,default:!1},has_cancel:{type:Boolean,default:!0},label_name:{type:String,default:""},options:{type:Array,required:!0,default:[],note:"Options of dropdown. An array of options with id and name"},placeholder:{type:String,required:!1,default:"Please select an option",note:"Placeholder of dropdown"},maxItem:{type:Number,required:!1,default:100,note:"Max items showing"},show:{type:Boolean,default:!1},error_message:{type:String,default:""}},data(){return{selected:[],count:0,optionsShown:!1,searchFilter:"",selectedIds:[]}},created(){this.$emit("selected",this.selected)},mounted(){self=this;var t=this.convertedOptionsDefault();this.selected=this.options_values.filter(r=>t.includes(r.id+"")),this.show||(document.body.addEventListener("click",function(r){self.clearData(r)}),document.getElementById(this.field_name+"search").addEventListener("keydown",function(r){if(_.includes([37,38,39,40,13],r.keyCode)){if((r.keyCode===38||r.keyCode===40)&&r.preventDefault(),r.keyCode===40&&self.posts=="")return;self.selectItem(r.keyCode)}}),document.addEventListener("keypress",function(r){r.key==="Enter"&&r.target.form&&r.preventDefault()}))},computed:{options_values(){return this.convertedOptions()},filteredOptions(){const t=[],r=new RegExp(this.searchFilter,"ig");for(const o of this.options_values){const n=String(o.name);(this.searchFilter.length<1||n.match(r))&&t.length<this.maxItem&&t.push(o)}return t}},emits:["update:modelValue","selected","selectionChanged"],methods:{selectAll(){this.selected=this.convertedOptions()},deselectAll(){this.selected=[]},isOptionSelected(t){return this.selected.findIndex(r=>r.id===t)!==-1},clearData:function(t){t.target.id!=this.field_name+"search"&&t.target.id!=this.field_name&&!t.target.classList.contains("showOptions")&&(this.exit(),this.count=0)},selectItem:function(t){t==40&&this.count<this.filteredOptions.length&&(this.count++,document.getElementById(this.count).scrollIntoView()),t==38&&this.count>1&&(this.count--,document.getElementById(this.count).scrollIntoView()),t==13&&document.getElementById(this.count).click()},convertedOptions(){return this.options.map((t,r)=>typeof t=="object"?t:{id:t,name:t})},convertedOptionsDefault(){return this.default_value.map((t,r)=>typeof t=="object"?t.id+"":t+"")},clearOption(t){let r=this.selected.findIndex(o=>o.id===t.id);r!==-1&&this.selected.splice(r,1),this.selectedIds=this.selected.map(o=>o.id),this.$emit("update:modelValue",this.selectedIds),this.$emit("selected",this.selectedIds)},selectOption(t){let r=this.selected.findIndex(o=>o.id===t.id);r!==-1?this.selected.splice(r,1):this.selected.push(t),this.selectedIds=this.selected.map(o=>o.id),this.$emit("update:modelValue",this.selectedIds),this.$emit("selected",this.selectedIds)},showOptions(){this.show||(this.searchFilter="",this.optionsShown=!0,this.$nextTick(()=>{this.$refs[this.field_name+"search"].focus()}))},ClearInput(){this.show||(this.selected=[],this.searchFilter="",this.showOptions())},exit(){this.selected||(this.selected=[],this.searchFilter=""),this.optionsShown=!1},keyMonitor:function(t){if(_.includes([37,38,39,40,13],t.keyCode)){if((t.keyCode===38||t.keyCode===40)&&t.preventDefault(),t.keyCode===40&&self.posts=="")return;this.selectItem(t.keyCode)}}},watch:{searchFilter(){this.filteredOptions.length},selected(t){this.selectedIds=t.map(r=>r.id),this.$emit("update:modelValue",this.selectedIds),this.$emit("selected",this.selectedIds),this.$emit("selectionChanged",this.selectedIds)}}},Xt={class:"font-bold ptext-lg dark:text-white"},Yt={class:"mt-3 mb-4"},Jt={class:"bg-blue-100 text-blue-800 text-sm font-medium mb-2 mt-2 me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300"},Qt=e.createElementVNode("hr",{class:"!opacity-100 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),er=["name","value"],tr={key:0,class:"dropdown"},rr={class:"inline-flex ml-2 rounded-md shadow-sm",role:"group"},or={class:"border border-gray-200 rounded-lg focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:focus:ring-blue-500 dark:focus:border-blue-500"},nr={class:"relative"},lr=["onClick"],ar={class:"text-gray-700 bg-white dark:border-strokedark dark:bg-boxdark dark:text-gray-200 !border-b !border-t-0 !border-r !border-l absolute w-full z-[999999999] showOptions"},sr={class:"p-1"},ir=e.createElementVNode("label",{for:"default-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1),dr={class:"relative"},cr=e.createElementVNode("div",{class:"absolute inset-y-0 flex items-center pointer-events-none start-0 ps-3"},[e.createElementVNode("svg",{class:"w-4 h-4 text-gray-500 dark:text-gray-400","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20"},[e.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"})])],-1),mr=["id"],fr={class:"overflow-y-auto max-h-64"},gr=["onClick","onMousedown","id"];function hr(t,r,o,n,a,l){return e.openBlock(),e.createElementBlock(e.Fragment,null,[o.show?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(o.field_name)},[e.createElementVNode("h3",Xt,e.toDisplayString(o.label_name),1),e.createElementVNode("p",Yt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.selected,(i,s)=>(e.openBlock(),e.createElementBlock("span",Jt,e.toDisplayString(i.name),1))),256))]),Qt],2)):e.createCommentVNode("",!0),o.show?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["mb-4",o.field_name])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.selectedIds,(i,s)=>(e.openBlock(),e.createElementBlock("input",{type:"hidden",name:o.field_name+"[]",key:s,value:i},null,8,er))),128)),o.options?(e.openBlock(),e.createElementBlock("div",tr,[e.createElementVNode("label",{class:e.normalizeClass({"gl-label-form":o.error_message=="","gl-label-form-invalid":o.error_message!=="",required:o.is_required})},e.toDisplayString(o.label_name),3),e.createElementVNode("div",rr,[e.createElementVNode("button",{onClick:r[0]||(r[0]=(...i)=>l.selectAll&&l.selectAll(...i)),type:"button",class:"px-4 py-0 text-sm font-medium text-gray-900 bg-transparent border border-gray-900 rounded-s-md hover:bg-gray-900 hover:text-white focus:z-10 focus:bg-gray-900 focus:text-white dark:border-white dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:bg-gray-700"}," Select all "),e.createElementVNode("button",{onClick:r[1]||(r[1]=(...i)=>l.deselectAll&&l.deselectAll(...i)),type:"button",class:"px-4 py-0 text-sm font-medium text-gray-900 bg-transparent border border-gray-900 rounded-e-md hover:bg-gray-900 hover:text-white focus:z-10 focus:bg-gray-900 focus:text-white dark:border-white dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:bg-gray-700"}," Deselect all ")]),e.createElementVNode("div",or,[e.createElementVNode("div",nr,[e.createElementVNode("div",{class:"flex flex-wrap gap-2 pl-8 pr-2 gl-multi-dropdown showOptions",onClick:r[2]||(r[2]=i=>l.showOptions())},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.selected,(i,s)=>(e.openBlock(),e.createElementBlock("span",{key:s,class:"px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded pointer-events-none dark:bg-blue-900 dark:text-blue-300"},[e.createTextVNode(e.toDisplayString(i.name)+" ",1),e.createElementVNode("i",{onClick:e.withModifiers(d=>l.clearOption(i),["stop"]),class:"cursor-pointer pointer-events-auto hover:text-red-600 dark:hover:text-red-400 fas fa-times"},null,8,lr)]))),128))]),e.createElementVNode("i",{class:e.normalizeClass([a.optionsShown?"fa-angle-up":"fa-angle-down","absolute text-xl text-gray-500 cursor-pointer fas right-2 hover:text-gray-700"]),style:{top:"11px"}},null,2)]),e.withDirectives(e.createElementVNode("div",ar,[e.createElementVNode("div",sr,[ir,e.createElementVNode("div",dr,[cr,e.withDirectives(e.createElementVNode("input",{type:"search","onUpdate:modelValue":r[3]||(r[3]=i=>a.searchFilter=i),id:o.field_name+"search",ref:o.field_name+"search",onBlur:r[4]||(r[4]=i=>l.exit()),autocomplete:"off",class:"block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Search ..."},null,40,mr),[[e.vModelText,a.searchFilter]])])]),e.createElementVNode("div",fr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.filteredOptions,(i,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["block px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white",s+1==a.count||l.isOptionSelected(i.id)?"bg-gray-100 dark:bg-gray-600":""]),onClick:d=>l.selectOption(i),onMousedown:d=>l.selectOption(i),key:s,id:s+1},e.toDisplayString(i.name||i.id||"-"),43,gr))),128))])],512),[[e.vShow,a.optionsShown]])])])):e.createCommentVNode("",!0)],2))],64)}const ur=y(Wt,[["render",hr]]),pr={props:{button_type:{type:String,default:"default"},is_submit:{type:Boolean,default:!1},icon:{type:String,default:""},is_loading:{type:Boolean,default:!1},is_disabled:{type:Boolean,default:!1},tag:{type:String,default:"button"},href:{type:String,default:""}},computed:{buttonTypeClass(){switch(this.button_type){case"default":return"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800";case"alternative":return" text-gray-900 bg-white border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700";case"dark":return"text-white bg-gray-800 hover:bg-gray-900 focus:ring-4 focus:ring-gray-300 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-700 dark:border-gray-700";case"light":return"text-gray-900 bg-white border border-gray-300 hover:bg-gray-100 focus:ring-4 focus:ring-gray-100 dark:bg-gray-800 dark:text-white dark:border-gray-600 dark:hover:bg-gray-700 dark:hover:border-gray-600 dark:focus:ring-gray-700";case"green":return" text-white bg-green-700 hover:bg-green-800 focus:ring-4 focus:ring-green-300 dark:bg-green-600 dark:hover:bg-green-700 dark:focus:ring-green-800";case"red":return" text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900";case"yellow":return" text-white bg-yellow-400 hover:bg-yellow-500 focus:ring-4 focus:ring-yellow-300 dark:focus:ring-yellow-900";case"purple":return" text-white bg-purple-700 hover:bg-purple-800 focus:ring-4 focus:ring-purple-300 dark:bg-purple-600 dark:hover:bg-purple-700 dark:focus:ring-purple-900";default:return""}}},methods:{}},_r=e.createElementVNode("svg",{"aria-hidden":"true",role:"status",class:"inline w-4 h-4 me-3 animate-spin",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),e.createElementVNode("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"#1C64F2"})],-1);function yr(t,r,o,n,a,l){return o.is_loading?(e.openBlock(),e.createBlock(e.resolveDynamicComponent("button"),{key:1,disabled:"",class:e.normalizeClass(`flex items-center gap-2 focus:outline-none text-sm px-2 py-2 me-2 font-medium rounded-lg ${l.buttonTypeClass}`)},{default:e.withCtx(()=>[_r,e.createTextVNode(" Loading... ")]),_:1},8,["class"])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.tag),e.mergeProps({key:0,type:o.is_submit,disabled:o.is_disabled},{type:o.is_submit?"submit":void 0},{href:o.tag==="a"?o.href:void 0,class:` ${o.is_disabled?"cursor-not-allowed":""} flex items-center gap-2 focus:outline-none text-sm px-5 py-2 me-2 font-medium rounded-lg ${l.buttonTypeClass}`}),{default:e.withCtx(()=>[o.icon?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass([o.icon,"text-base"])},null,2)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default")]),_:3},16,["type","disabled","href","class"]))}const br=y(pr,[["render",yr]]),kr={class:"font-bold ptext-lg dark:text-white"},xr=["name","id"],wr=["id"],Er=e.createElementVNode("hr",{class:"!opacity-100 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),Nr=["for"],Vr=e.createElementVNode("span",{class:"language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300"},null,-1),Br=["name","id"],Cr=["required","name","id","type"],Sr={class:"gl-span-form-error"},$r={class:"block mt-1 text-sm font-normal leading-5 text-gray-500"},Dr={__name:"GlTextareaTranslate",props:{is_required:{type:Boolean,default:!1},show:{type:Boolean,default:!1},error_message:{type:String,default:""},model_value:{type:[String,Number],default:null},modelValue:{type:[String,Number],default:""},model_value_translate:{type:[String,Object],default:null},modelValueTranslate:{type:[String,Object],default:""},type:{type:String,default:"text"},field_name:{type:String,default:""},label_name:{type:String,default:""},get_field_translations:{type:String,default:""},description:{type:String,default:""},translatable:{type:Object,default:null}},emits:["update:modelValue","update:modelValueTranslate","keydown"],setup(t,{expose:r,emit:o}){const n=t,a=o,l=e.ref(null),i=e.ref(null);return e.onMounted(()=>{l.value!==null&&l.value.hasAttribute("autofocus")&&l.value.focus(),n.model_value&&(a("update:modelValue",n.model_value),l.value.value=n.model_value),n.model_value_translate,n.translatable&&axios.post("/admin/get_field_translations",{model:n.translatable.model,row_id:n.translatable.row_id,field:n.translatable.field}).then(s=>{i.value.value=JSON.stringify(s.data),a("update:modelValueTranslate",JSON.stringify(s.data)),console.log("input_translate",i.value.value)}).catch(s=>{console.log(s)})}),r({focus:()=>l.value.focus()}),(s,d)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t.show?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(t.field_name)},[e.createElementVNode("h3",kr,e.toDisplayString(t.label_name),1),e.withDirectives(e.createElementVNode("input",{type:"hidden","data-i18n":"true",name:t.field_name+"_i18n",id:t.field_name+"_i18n",ref_key:"input_translate",ref:i,"onUpdate:modelValue":d[0]||(d[0]=c=>s.inputTranslateValue=c)},null,8,xr),[[e.vModelText,s.inputTranslateValue]]),e.createElementVNode("p",{id:t.field_name,class:"mb-4 text-base text-gray-900 input_tr_show dark:text-white"},e.toDisplayString(t.model_value),9,wr),Er],2)):e.createCommentVNode("",!0),t.show?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["mb-4",t.field_name])},[e.createElementVNode("label",{class:e.normalizeClass({"gl-label-translation-form":t.error_message=="","gl-label-translation-form-invalid":t.error_message!=="",required:t.is_required}),for:t.field_name},e.toDisplayString(t.label_name),11,Nr),Vr,e.createElementVNode("input",{class:"mb-4",type:"hidden","data-i18n":"true",name:t.field_name+"_i18n",id:t.field_name+"_i18n",onInput:d[1]||(d[1]=c=>s.$emit("update:modelValueTranslate",c.target.value)),ref_key:"input_translate",ref:i},null,40,Br),e.createElementVNode("textarea",{required:t.is_required,name:t.field_name,id:t.field_name,class:e.normalizeClass({" gl-textarea-form form-input-translation mt-4 ":t.error_message==""," gl-textarea-form-invalid form-input-translation mt-4 ":t.error_message!==""}),type:t.type,onInput:d[2]||(d[2]=c=>s.$emit("update:modelValue",c.target.value)),onKeydown:d[3]||(d[3]=c=>s.$emit("keydown",c)),ref_key:"input",ref:l,rows:"4"},`
|
|
5
|
+
*/var K="store";function W(t){return t===void 0&&(t=null),e.inject(t!==null?t:K)}function B(t,r){Object.keys(t).forEach(function(o){return r(t[o],o)})}function X(t){return t!==null&&typeof t=="object"}function Ie(t){return t&&typeof t.then=="function"}function E(t,r){if(!t)throw new Error("[vuex] "+r)}function Le(t,r){return function(){return t(r)}}function Y(t,r,o){return r.indexOf(t)<0&&(o&&o.prepend?r.unshift(t):r.push(t)),function(){var n=r.indexOf(t);n>-1&&r.splice(n,1)}}function J(t,r){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var o=t.state;T(t,o,[],t._modules.root,!0),A(t,o,r)}function A(t,r,o){var n=t._state,a=t._scope;t.getters={},t._makeLocalGettersCache=Object.create(null);var l=t._wrappedGetters,i={},s={},d=e.effectScope(!0);d.run(function(){B(l,function(c,m){i[m]=Le(c,t),s[m]=e.computed(function(){return i[m]()}),Object.defineProperty(t.getters,m,{get:function(){return s[m].value},enumerable:!0})})}),t._state=e.reactive({data:r}),t._scope=d,t.strict&&Re(t),n&&o&&t._withCommit(function(){n.data=null}),a&&a.stop()}function T(t,r,o,n,a){var l=!o.length,i=t._modules.getNamespace(o);if(n.namespaced&&(t._modulesNamespaceMap[i]&&process.env.NODE_ENV!=="production"&&console.error("[vuex] duplicate namespace "+i+" for the namespaced module "+o.join("/")),t._modulesNamespaceMap[i]=n),!l&&!a){var s=I(r,o.slice(0,-1)),d=o[o.length-1];t._withCommit(function(){process.env.NODE_ENV!=="production"&&d in s&&console.warn('[vuex] state field "'+d+'" was overridden by a module with the same name at "'+o.join(".")+'"'),s[d]=n.state})}var c=n.context=Fe(t,i,o);n.forEachMutation(function(m,g){var u=i+g;ze(t,u,m,c)}),n.forEachAction(function(m,g){var u=m.root?g:i+g,p=m.handler||m;Ge(t,u,p,c)}),n.forEachGetter(function(m,g){var u=i+g;ve(t,u,m,c)}),n.forEachChild(function(m,g){T(t,r,o.concat(g),m,a)})}function Fe(t,r,o){var n=r==="",a={dispatch:n?t.dispatch:function(l,i,s){var d=j(l,i,s),c=d.payload,m=d.options,g=d.type;if((!m||!m.root)&&(g=r+g,process.env.NODE_ENV!=="production"&&!t._actions[g])){console.error("[vuex] unknown local action type: "+d.type+", global type: "+g);return}return t.dispatch(g,c)},commit:n?t.commit:function(l,i,s){var d=j(l,i,s),c=d.payload,m=d.options,g=d.type;if((!m||!m.root)&&(g=r+g,process.env.NODE_ENV!=="production"&&!t._mutations[g])){console.error("[vuex] unknown local mutation type: "+d.type+", global type: "+g);return}t.commit(g,c,m)}};return Object.defineProperties(a,{getters:{get:n?function(){return t.getters}:function(){return Q(t,r)}},state:{get:function(){return I(t.state,o)}}}),a}function Q(t,r){if(!t._makeLocalGettersCache[r]){var o={},n=r.length;Object.keys(t.getters).forEach(function(a){if(a.slice(0,n)===r){var l=a.slice(n);Object.defineProperty(o,l,{get:function(){return t.getters[a]},enumerable:!0})}}),t._makeLocalGettersCache[r]=o}return t._makeLocalGettersCache[r]}function ze(t,r,o,n){var a=t._mutations[r]||(t._mutations[r]=[]);a.push(function(i){o.call(t,n.state,i)})}function Ge(t,r,o,n){var a=t._actions[r]||(t._actions[r]=[]);a.push(function(i){var s=o.call(t,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:t.getters,rootState:t.state},i);return Ie(s)||(s=Promise.resolve(s)),t._devtoolHook?s.catch(function(d){throw t._devtoolHook.emit("vuex:error",d),d}):s})}function ve(t,r,o,n){if(t._wrappedGetters[r]){process.env.NODE_ENV!=="production"&&console.error("[vuex] duplicate getter key: "+r);return}t._wrappedGetters[r]=function(l){return o(n.state,n.getters,l.state,l.getters)}}function Re(t){e.watch(function(){return t._state.data},function(){process.env.NODE_ENV!=="production"&&E(t._committing,"do not mutate vuex store state outside mutation handlers.")},{deep:!0,flush:"sync"})}function I(t,r){return r.reduce(function(o,n){return o[n]},t)}function j(t,r,o){return X(t)&&t.type&&(o=r,r=t,t=t.type),process.env.NODE_ENV!=="production"&&E(typeof t=="string","expects string as the type, but found "+typeof t+"."),{type:t,payload:r,options:o}}var Ue="vuex bindings",ee="vuex:mutations",L="vuex:actions",O="vuex",qe=0;function He(t,r){Ae({id:"org.vuejs.vuex",app:t,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[Ue]},function(o){o.addTimelineLayer({id:ee,label:"Vuex Mutations",color:te}),o.addTimelineLayer({id:L,label:"Vuex Actions",color:te}),o.addInspector({id:O,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),o.on.getInspectorTree(function(n){if(n.app===t&&n.inspectorId===O)if(n.filter){var a=[];le(a,r._modules.root,n.filter,""),n.rootNodes=a}else n.rootNodes=[ne(r._modules.root,"")]}),o.on.getInspectorState(function(n){if(n.app===t&&n.inspectorId===O){var a=n.nodeId;Q(r,a),n.state=We(Ye(r._modules,a),a==="root"?r.getters:r._makeLocalGettersCache,a)}}),o.on.editInspectorState(function(n){if(n.app===t&&n.inspectorId===O){var a=n.nodeId,l=n.path;a!=="root"&&(l=a.split("/").filter(Boolean).concat(l)),r._withCommit(function(){n.set(r._state.data,l,n.state.value)})}}),r.subscribe(function(n,a){var l={};n.payload&&(l.payload=n.payload),l.state=a,o.notifyComponentUpdate(),o.sendInspectorTree(O),o.sendInspectorState(O),o.addTimelineEvent({layerId:ee,event:{time:Date.now(),title:n.type,data:l}})}),r.subscribeAction({before:function(n,a){var l={};n.payload&&(l.payload=n.payload),n._id=qe++,n._time=Date.now(),l.state=a,o.addTimelineEvent({layerId:L,event:{time:n._time,title:n.type,groupId:n._id,subtitle:"start",data:l}})},after:function(n,a){var l={},i=Date.now()-n._time;l.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},n.payload&&(l.payload=n.payload),l.state=a,o.addTimelineEvent({layerId:L,event:{time:Date.now(),title:n.type,groupId:n._id,subtitle:"end",data:l}})}})})}var te=8702998,Ze=6710886,Ke=16777215,re={label:"namespaced",textColor:Ke,backgroundColor:Ze};function oe(t){return t&&t!=="root"?t.split("/").slice(-2,-1)[0]:"Root"}function ne(t,r){return{id:r||"root",label:oe(r),tags:t.namespaced?[re]:[],children:Object.keys(t._children).map(function(o){return ne(t._children[o],r+o+"/")})}}function le(t,r,o,n){n.includes(o)&&t.push({id:n||"root",label:n.endsWith("/")?n.slice(0,n.length-1):n||"Root",tags:r.namespaced?[re]:[]}),Object.keys(r._children).forEach(function(a){le(t,r._children[a],o,n+a+"/")})}function We(t,r,o){r=o==="root"?r:r[o];var n=Object.keys(r),a={state:Object.keys(t.state).map(function(i){return{key:i,editable:!0,value:t.state[i]}})};if(n.length){var l=Xe(r);a.getters=Object.keys(l).map(function(i){return{key:i.endsWith("/")?oe(i):i,editable:!1,value:F(function(){return l[i]})}})}return a}function Xe(t){var r={};return Object.keys(t).forEach(function(o){var n=o.split("/");if(n.length>1){var a=r,l=n.pop();n.forEach(function(i){a[i]||(a[i]={_custom:{value:{},display:i,tooltip:"Module",abstract:!0}}),a=a[i]._custom.value}),a[l]=F(function(){return t[o]})}else r[o]=F(function(){return t[o]})}),r}function Ye(t,r){var o=r.split("/").filter(function(n){return n});return o.reduce(function(n,a,l){var i=n[a];if(!i)throw new Error('Missing module "'+a+'" for path "'+r+'".');return l===o.length-1?i:i._children},r==="root"?t:t.root._children)}function F(t){try{return t()}catch(r){return r}}var N=function(r,o){this.runtime=o,this._children=Object.create(null),this._rawModule=r;var n=r.state;this.state=(typeof n=="function"?n():n)||{}},ae={namespaced:{configurable:!0}};ae.namespaced.get=function(){return!!this._rawModule.namespaced},N.prototype.addChild=function(r,o){this._children[r]=o},N.prototype.removeChild=function(r){delete this._children[r]},N.prototype.getChild=function(r){return this._children[r]},N.prototype.hasChild=function(r){return r in this._children},N.prototype.update=function(r){this._rawModule.namespaced=r.namespaced,r.actions&&(this._rawModule.actions=r.actions),r.mutations&&(this._rawModule.mutations=r.mutations),r.getters&&(this._rawModule.getters=r.getters)},N.prototype.forEachChild=function(r){B(this._children,r)},N.prototype.forEachGetter=function(r){this._rawModule.getters&&B(this._rawModule.getters,r)},N.prototype.forEachAction=function(r){this._rawModule.actions&&B(this._rawModule.actions,r)},N.prototype.forEachMutation=function(r){this._rawModule.mutations&&B(this._rawModule.mutations,r)},Object.defineProperties(N.prototype,ae);var C=function(r){this.register([],r,!1)};C.prototype.get=function(r){return r.reduce(function(o,n){return o.getChild(n)},this.root)},C.prototype.getNamespace=function(r){var o=this.root;return r.reduce(function(n,a){return o=o.getChild(a),n+(o.namespaced?a+"/":"")},"")},C.prototype.update=function(r){se([],this.root,r)},C.prototype.register=function(r,o,n){var a=this;n===void 0&&(n=!0),process.env.NODE_ENV!=="production"&&ce(r,o);var l=new N(o,n);if(r.length===0)this.root=l;else{var i=this.get(r.slice(0,-1));i.addChild(r[r.length-1],l)}o.modules&&B(o.modules,function(s,d){a.register(r.concat(d),s,n)})},C.prototype.unregister=function(r){var o=this.get(r.slice(0,-1)),n=r[r.length-1],a=o.getChild(n);if(!a){process.env.NODE_ENV!=="production"&&console.warn("[vuex] trying to unregister module '"+n+"', which is not registered");return}a.runtime&&o.removeChild(n)},C.prototype.isRegistered=function(r){var o=this.get(r.slice(0,-1)),n=r[r.length-1];return o?o.hasChild(n):!1};function se(t,r,o){if(process.env.NODE_ENV!=="production"&&ce(t,o),r.update(o),o.modules)for(var n in o.modules){if(!r.getChild(n)){process.env.NODE_ENV!=="production"&&console.warn("[vuex] trying to add a new module '"+n+"' on hot reloading, manual reload is needed");return}se(t.concat(n),r.getChild(n),o.modules[n])}}var ie={assert:function(t){return typeof t=="function"},expected:"function"},Je={assert:function(t){return typeof t=="function"||typeof t=="object"&&typeof t.handler=="function"},expected:'function or object with "handler" function'},de={getters:ie,mutations:ie,actions:Je};function ce(t,r){Object.keys(de).forEach(function(o){if(r[o]){var n=de[o];B(r[o],function(a,l){E(n.assert(a),Qe(t,o,l,a,n.expected))})}})}function Qe(t,r,o,n,a){var l=r+" should be "+a+' but "'+r+"."+o+'"';return t.length>0&&(l+=' in module "'+t.join(".")+'"'),l+=" is "+JSON.stringify(n)+".",l}var x=function t(r){var o=this;r===void 0&&(r={}),process.env.NODE_ENV!=="production"&&(E(typeof Promise<"u","vuex requires a Promise polyfill in this browser."),E(this instanceof t,"store must be called with the new operator."));var n=r.plugins;n===void 0&&(n=[]);var a=r.strict;a===void 0&&(a=!1);var l=r.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new C(r),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=l;var i=this,s=this,d=s.dispatch,c=s.commit;this.dispatch=function(u,p){return d.call(i,u,p)},this.commit=function(u,p,S){return c.call(i,u,p,S)},this.strict=a;var m=this._modules.root.state;T(this,m,[],this._modules.root),A(this,m),n.forEach(function(g){return g(o)})},z={state:{configurable:!0}};x.prototype.install=function(r,o){r.provide(o||K,this),r.config.globalProperties.$store=this;var n=this._devtools!==void 0?this._devtools:process.env.NODE_ENV!=="production"||!1;n&&He(r,this)},z.state.get=function(){return this._state.data},z.state.set=function(t){process.env.NODE_ENV!=="production"&&E(!1,"use store.replaceState() to explicit replace store state.")},x.prototype.commit=function(r,o,n){var a=this,l=j(r,o,n),i=l.type,s=l.payload,d=l.options,c={type:i,payload:s},m=this._mutations[i];if(!m){process.env.NODE_ENV!=="production"&&console.error("[vuex] unknown mutation type: "+i);return}this._withCommit(function(){m.forEach(function(u){u(s)})}),this._subscribers.slice().forEach(function(g){return g(c,a.state)}),process.env.NODE_ENV!=="production"&&d&&d.silent&&console.warn("[vuex] mutation type: "+i+". Silent option has been removed. Use the filter functionality in the vue-devtools")},x.prototype.dispatch=function(r,o){var n=this,a=j(r,o),l=a.type,i=a.payload,s={type:l,payload:i},d=this._actions[l];if(!d){process.env.NODE_ENV!=="production"&&console.error("[vuex] unknown action type: "+l);return}try{this._actionSubscribers.slice().filter(function(m){return m.before}).forEach(function(m){return m.before(s,n.state)})}catch(m){process.env.NODE_ENV!=="production"&&(console.warn("[vuex] error in before action subscribers: "),console.error(m))}var c=d.length>1?Promise.all(d.map(function(m){return m(i)})):d[0](i);return new Promise(function(m,g){c.then(function(u){try{n._actionSubscribers.filter(function(p){return p.after}).forEach(function(p){return p.after(s,n.state)})}catch(p){process.env.NODE_ENV!=="production"&&(console.warn("[vuex] error in after action subscribers: "),console.error(p))}m(u)},function(u){try{n._actionSubscribers.filter(function(p){return p.error}).forEach(function(p){return p.error(s,n.state,u)})}catch(p){process.env.NODE_ENV!=="production"&&(console.warn("[vuex] error in error action subscribers: "),console.error(p))}g(u)})})},x.prototype.subscribe=function(r,o){return Y(r,this._subscribers,o)},x.prototype.subscribeAction=function(r,o){var n=typeof r=="function"?{before:r}:r;return Y(n,this._actionSubscribers,o)},x.prototype.watch=function(r,o,n){var a=this;return process.env.NODE_ENV!=="production"&&E(typeof r=="function","store.watch only accepts a function."),e.watch(function(){return r(a.state,a.getters)},o,Object.assign({},n))},x.prototype.replaceState=function(r){var o=this;this._withCommit(function(){o._state.data=r})},x.prototype.registerModule=function(r,o,n){n===void 0&&(n={}),typeof r=="string"&&(r=[r]),process.env.NODE_ENV!=="production"&&(E(Array.isArray(r),"module path must be a string or an Array."),E(r.length>0,"cannot register the root module by using registerModule.")),this._modules.register(r,o),T(this,this.state,r,this._modules.get(r),n.preserveState),A(this,this.state)},x.prototype.unregisterModule=function(r){var o=this;typeof r=="string"&&(r=[r]),process.env.NODE_ENV!=="production"&&E(Array.isArray(r),"module path must be a string or an Array."),this._modules.unregister(r),this._withCommit(function(){var n=I(o.state,r.slice(0,-1));delete n[r[r.length-1]]}),J(this)},x.prototype.hasModule=function(r){return typeof r=="string"&&(r=[r]),process.env.NODE_ENV!=="production"&&E(Array.isArray(r),"module path must be a string or an Array."),this._modules.isRegistered(r)},x.prototype.hotUpdate=function(r){this._modules.update(r),J(this,!0)},x.prototype._withCommit=function(r){var o=this._committing;this._committing=!0,r(),this._committing=o},Object.defineProperties(x.prototype,z);var et=fe(function(t,r){var o={};return process.env.NODE_ENV!=="production"&&!G(r)&&console.error("[vuex] mapState: mapper parameter must be either an Array or an Object"),me(r).forEach(function(n){var a=n.key,l=n.val;o[a]=function(){var s=this.$store.state,d=this.$store.getters;if(t){var c=ge(this.$store,"mapState",t);if(!c)return;s=c.context.state,d=c.context.getters}return typeof l=="function"?l.call(this,s,d):s[l]},o[a].vuex=!0}),o}),tt=fe(function(t,r){var o={};return process.env.NODE_ENV!=="production"&&!G(r)&&console.error("[vuex] mapMutations: mapper parameter must be either an Array or an Object"),me(r).forEach(function(n){var a=n.key,l=n.val;o[a]=function(){for(var s=[],d=arguments.length;d--;)s[d]=arguments[d];var c=this.$store.commit;if(t){var m=ge(this.$store,"mapMutations",t);if(!m)return;c=m.context.commit}return typeof l=="function"?l.apply(this,[c].concat(s)):c.apply(this.$store,[l].concat(s))}}),o});function me(t){return G(t)?Array.isArray(t)?t.map(function(r){return{key:r,val:r}}):Object.keys(t).map(function(r){return{key:r,val:t[r]}}):[]}function G(t){return Array.isArray(t)||X(t)}function fe(t){return function(r,o){return typeof r!="string"?(o=r,r=""):r.charAt(r.length-1)!=="/"&&(r+="/"),t(r,o)}}function ge(t,r,o){var n=t._modulesNamespaceMap[o];return process.env.NODE_ENV!=="production"&&!n&&console.error("[vuex] module namespace not found in "+r+"(): "+o),n}const rt={components:{DeleteConfirmationModal:P},props:{is_required:{type:Boolean,default:!1},error_message:{type:String,default:""},description:{type:String,default:""},show:{type:Boolean,default:!1},has_multiple_file:{show:Boolean,default:!1},field_name:{type:String,default:""},label_name:{type:String,default:""},route_url:{type:String,default:""},model_value:{type:Array,default:[]},file_config:{type:Object,default:{}},is_enable_delete:{type:Boolean,default:!0}},emits:["uploaded"],data(){return{media_id:"",error_message_data:"",open_delete_modal:!1,files:[],uploadFileList:[],isDragging:!1}},methods:{closeDeleteModal(){this.open_delete_modal=!1},deleteAction(){axios.delete(this.route_url+"/destroyMedia/"+this.media_id).then(t=>{let r=this.uploadFileList.findIndex(o=>o.id===this.media_id);r!==-1&&this.uploadFileList.splice(r,1),this.closeDeleteModal(),this.$store.commit("notification/SHOW_NOTIFICATION",{message:"Item deleted successfully.",type:"success",duration:5e3})}).catch(t=>{console.error(t),this.is_loading=!1})},getFileName(t){return t.length>12?t.substring(0,13)+"... ."+t.split(".")[1]:t},formatFileSize(t){if(t===0)return"0 Bytes";const r=1024,o=["Bytes","KB","MB","GB","TB"],n=Math.floor(Math.log(t)/Math.log(r));return parseFloat((t/Math.pow(r,n)).toFixed(2))+" "+o[n]},onDragOver(t){t.preventDefault(),this.isDragging=!0,t.dataTransfer.dropEffect="copy"},onDragLeave(t){t.preventDefault(),this.isDragging=!1},onDrop(t){t.preventDefault(),this.isDragging=!1;const r=t.dataTransfer.files;Array.from(r).forEach(o=>{this.uploadFile(o)})},async uploadFiles(t){const r=t.target.files,o=Array.from(r).map(n=>this.uploadFile(n));await Promise.all(o),this.$emit("uploaded")},getFirstError(t,r){return t.hasOwnProperty(r)?t[r][0]:""},async uploadFile(t){return new Promise((r,o)=>{t||r();const n=new FormData;n.append("file",t),Object.entries(this.file_config).forEach(([a,l])=>{n.append(a,l)}),this.files.push({file_name:t.name,loading:0}),axios.post(this.route_url+"/media",n,{onUploadProgress:a=>{this.files[this.files.length-1].loading=Math.floor(a.loaded/a.total*100)}}).then(a=>{let l=this.files.findIndex(i=>i.file_name===t.name);l!==-1&&this.files.splice(l,1),this.uploadFileList.push({file_name:a.data.file_name,size:a.data.size,id:a.data.id,url:a.data.url}),this.error_message_data="",r()}).catch(a=>{a.response.status===422?this.error_message_data=this.getFirstError(a.response.data.errors,"file"):console.error("An error occurred:",a);let l=this.files.findIndex(i=>i.file_name===t.name);l!==-1&&this.files.splice(l,1),console.log(a),r()})})}},computed:{uploadedFileIds(){var t;return this.has_multiple_file?this.uploadFileList.map(r=>r.id):((t=this.uploadFileList[0])==null?void 0:t.id)||null}},mounted(){console.log(this.model_value),this.model_value?Array.isArray(this.model_value)?this.uploadFileList=this.model_value:this.uploadFileList=[this.model_value]:this.uploadFileList=[],this.error_message_data=this.error_message}},ot={class:"flex flex-col items-center justify-center pt-5 pb-6"},nt=["multiple"],lt=["name"],at=[e.createElementVNode("svg",{class:"w-8 h-8 mb-4 text-gray-500 dark:text-gray-400","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 16"},[e.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 13h3a3 3 0 0 0 0-6h-.025A5.56 5.56 0 0 0 16 6.5 5.5 5.5 0 0 0 5.207 5.021C5.137 5.017 5.071 5 5 5a4 4 0 0 0 0 8h2.167M10 15V6m0 0L8 8m2-2 2 2"})],-1),e.createElementVNode("p",{class:"text-sm text-gray-500 dark:text-gray-400"}," Drag & drop files or browse ",-1)],st={key:1},it=[e.createElementVNode("p",{class:"text-sm text-gray-500 dark:text-gray-400"},"Drop files here",-1)],dt={class:"mt-2 gl-span-form-error"},ct={class:"block mt-2 mb-3 text-sm font-normal leading-5 text-gray-500"},mt={key:0,class:""},ft={class:"flex items-center justify-between p-2 mb-2 text-gray-900 rounded-lg bg-gray-50 hover:bg-gray-100 hover:shadow dark:bg-gray-600 dark:hover:bg-gray-500 dark:text-white"},gt=e.createElementVNode("i",{class:"text-3xl fas fa-file-alt"},null,-1),ht={class:"w-full ml-3"},ut={class:"flex items-center justify-between mb-1"},pt={class:"text-xs text-black dark:text-white"},_t={class:"text-xs text-black dark:text-white"},yt={class:"w-full h-1 mb-1 bg-white rounded-full dark:bg-gray-800"},bt={class:"overflow-x-scroll max-h-56"},kt={class:"flex items-center justify-between p-2 mb-2 text-gray-900 rounded-lg bg-gray-50 hover:bg-gray-100 hover:shadow dark:bg-gray-600 dark:hover:bg-gray-500 dark:text-white"},xt={class:"flex items-center"},wt=e.createElementVNode("i",{class:"text-3xl fas fa-file-alt","aria-hidden":"true"},null,-1),Et={class:"flex flex-col ml-3"},Nt={class:"text-xs"},Vt={class:"text-xs"},Bt={class:"flex gap-2"},Ct=["href"],St=["onClick"];function $t(t,r,o,n,a,l){const i=e.resolveComponent("DeleteConfirmationModal");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(i,{isOpen:a.open_delete_modal,onConfirmDelete:l.deleteAction,onCancelDelete:l.closeDeleteModal},null,8,["isOpen","onConfirmDelete","onCancelDelete"]),e.createElementVNode("div",{class:e.normalizeClass([{"border-red-500 dark:border-red-500":a.error_message_data!=="","border-gray-200 dark:border-gray-700":a.error_message_data==""},"w-full p-4 bg-white border rounded-lg shadow dark:bg-gray-800"])},[e.createElementVNode("label",{class:e.normalizeClass({"gl-label-form":a.error_message_data=="","gl-label-form-invalid":a.error_message_data!=="",required:o.is_required})},e.toDisplayString(o.label_name),3),e.createElementVNode("div",{onDragover:r[3]||(r[3]=e.withModifiers((...s)=>l.onDragOver&&l.onDragOver(...s),["prevent"])),onDragleave:r[4]||(r[4]=e.withModifiers((...s)=>l.onDragLeave&&l.onDragLeave(...s),["prevent"])),onDrop:r[5]||(r[5]=e.withModifiers((...s)=>l.onDrop&&l.onDrop(...s),["prevent"])),class:"flex flex-col items-center justify-center w-full h-40 mt-3 mb-3 border-2 border-gray-300 border-dashed rounded-lg cursor-pointer bg-gray-50 dark:hover:bg-bray-800 dark:bg-gray-700 hover:bg-gray-100 dark:border-gray-600 dark:hover:border-gray-500 dark:hover:bg-gray-600"},[e.createElementVNode("div",ot,[e.createElementVNode("input",{type:"file",ref:"file_input"+o.field_name,hidden:"",multiple:o.has_multiple_file,onChange:r[0]||(r[0]=(...s)=>l.uploadFiles&&l.uploadFiles(...s))},null,40,nt),e.withDirectives(e.createElementVNode("input",{type:"hidden",name:o.field_name,"onUpdate:modelValue":r[1]||(r[1]=s=>l.uploadedFileIds=s)},null,8,lt),[[e.vModelText,l.uploadedFileIds]]),a.isDragging?(e.openBlock(),e.createElementBlock("div",st,it)):(e.openBlock(),e.createElementBlock("div",{key:0,class:"flex flex-col items-center justify-center",onClick:r[2]||(r[2]=s=>t.$refs["file_input"+this.field_name].click())},at))])],32),e.createElementVNode("span",dt,e.toDisplayString(a.error_message_data),1),e.createElementVNode("small",ct,e.toDisplayString(o.description),1),a.files.length>0?(e.openBlock(),e.createElementBlock("section",mt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.files,(s,d)=>(e.openBlock(),e.createElementBlock("li",ft,[gt,e.createElementVNode("div",ht,[e.createElementVNode("div",ut,[e.createElementVNode("span",pt,e.toDisplayString(l.getFileName(s.file_name)),1),e.createElementVNode("span",_t,e.toDisplayString(s.loading),1)]),e.createElementVNode("div",yt,[e.createElementVNode("div",{class:"h-full bg-gray-500 rounded-full dark:bg-gray-400",style:e.normalizeStyle({width:s.loading+"%"})},null,4)])])]))),256))])):e.createCommentVNode("",!0),e.createElementVNode("section",bt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.uploadFileList,(s,d)=>(e.openBlock(),e.createElementBlock("li",kt,[e.createElementVNode("div",xt,[wt,e.createElementVNode("div",Et,[e.createElementVNode("span",Nt,e.toDisplayString(l.getFileName(s.file_name)),1),e.createElementVNode("span",Vt,e.toDisplayString(l.formatFileSize(s.size)),1)])]),e.createElementVNode("div",Bt,[e.createElementVNode("a",{href:s.url,target:"_blank",class:"text-lg text-blue-600 cursor-pointer dark:text-blue-400 fas fa-download"},null,8,Ct),o.is_enable_delete?(e.openBlock(),e.createElementBlock("i",{key:0,onClick:c=>{a.media_id=s.id,a.open_delete_modal=!0},class:"text-lg text-red-600 cursor-pointer dark:text-red-400 fas fa-x"},null,8,St)):e.createCommentVNode("",!0)])]))),256))])],2)],64)}const Dt=y(rt,[["render",$t]]),Ot={computed:{...et("notification",["notification"]),alertClasses(){switch(this.notification.type){case"info":return"text-blue-800 bg-blue-50 dark:bg-gray-800 dark:text-blue-400";case"error":return"text-red-800 bg-red-50 dark:bg-gray-800 dark:text-red-400";case"success":return"text-green-800 bg-green-50 dark:bg-gray-800 dark:text-green-400";case"warning":return"text-yellow-800 bg-yellow-50 dark:bg-gray-800 dark:text-yellow-300";case"dark":return"text-gray-800 bg-gray-50 dark:bg-gray-800 dark:text-gray-300";default:return""}},buttonClasses(){switch(this.notification.type){case"info":return"bg-blue-50 text-blue-500 focus:ring-blue-400 hover:bg-blue-200 dark:hover:bg-gray-700";case"error":return"bg-red-50 text-red-500 focus:ring-red-400 hover:bg-red-200 dark:hover:bg-gray-700";case"success":return"bg-green-50 text-green-500 focus:ring-green-400 hover:bg-green-200 dark:hover:bg-gray-700";case"warning":return"bg-yellow-50 text-yellow-500 focus:ring-yellow-400 hover:bg-yellow-200 dark:hover:bg-gray-700";case"dark":return"bg-gray-50 text-gray-500 focus:ring-gray-400 hover:bg-gray-200 dark:hover:bg-gray-700";default:return""}}},methods:{...tt("notification",["HIDE_NOTIFICATION"]),dismiss(){this.HIDE_NOTIFICATION()}},watch:{"notification.show":function(t){t&&setTimeout(()=>{this.dismiss()},this.notification.duration)}}},Pt=e.createElementVNode("svg",{class:"flex-shrink-0 w-4 h-4","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20"},[e.createElementVNode("path",{d:"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"})],-1),Tt=e.createElementVNode("span",{class:"sr-only"},"Info",-1),jt={class:"mr-3 text-sm font-medium ms-3"},Mt=[e.createElementVNode("span",{class:"sr-only"},"Close",-1),e.createElementVNode("svg",{class:"w-3 h-3","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},[e.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"})],-1)];function At(t,r,o,n,a,l){return t.notification.show?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["fixed right-0 z-50 flex items-center p-4 m-5 mb-4 rounded-lg shadow-lg",l.alertClasses]),role:"alert"},[Pt,Tt,e.createElementVNode("div",jt,e.toDisplayString(t.notification.message),1),e.createElementVNode("button",{type:"button",onClick:r[0]||(r[0]=(...i)=>l.dismiss&&l.dismiss(...i)),class:e.normalizeClass(["inline-flex items-center justify-center w-6 h-6 p-1 -mx-1 -my-1 rounded-lg ms-auto focus:ring-2 hover:bg-opacity-50",l.buttonClasses]),"aria-label":"Close"},Mt,2)],2)):e.createCommentVNode("",!0)}const It=y(Ot,[["render",At]]),Lt={components:{},props:{field_name:{type:String,default:""},trans_selector_name:{type:String,default:"i18n_selector"}},data(){return{locals:[],default_language:""}},methods:{getLocals(){const t={id:this.menu_id};axios.get("/admin/get_locals",{params:t}).then(r=>{this.locals=r.data.locals,this.default_language=r.data.default_language,console.log("default_language",this.default_language)}).catch(r=>{console.error(r)})}},created(){this.getLocals()},mounted(){}},Ft={class:"grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector"},zt=["name","value","id","checked"],Gt=["for"];function vt(t,r,o,n,a,l){return e.openBlock(),e.createElementBlock("ul",Ft,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.locals,(i,s)=>(e.openBlock(),e.createElementBlock("li",null,[e.createElementVNode("input",{type:"radio",name:o.trans_selector_name,value:i,class:"hidden peer",id:i+"_"+o.field_name,autocomplete:"off",checked:i===a.default_language},null,8,zt),e.createElementVNode("label",{for:i+"_"+o.field_name,class:e.normalizeClass([{"border md:!rounded-s-lg":s===0,"border md:!rounded-e-lg":s===a.locals.length-1,"border-t border-b":s!==0&&s!==a.locals.length-1},"w-full p-1 font-bold text-center text-gray-500 uppercase bg-white border-gray-200 rounded-lg cursor-pointer md:rounded-none dark:hover:text-gray-300 dark:border-gray-700 dark:peer-checked:text-blue-500 peer-checked:border-blue-600 peer-checked:text-blue-600 hover:text-gray-600 hover:bg-gray-100 dark:text-gray-400 dark:bg-gray-800 dark:hover:bg-gray-700"])},e.toDisplayString(i),11,Gt)]))),256))])}const Rt=y(Lt,[["render",vt]]),Ut={class:"bg-white border rounded-lg border-stroke shadow-default dark:border-strokedark dark:bg-boxdark"},qt={class:"px-3 py-4 border-b border-stroke dark:border-strokedark"},Ht={class:"font-semibold text-black dark:text-white"},Zt={key:0,class:"p-6"},Kt={__name:"GlCard",props:{class:{type:String,default:""}},setup(t){const r=t,o=e.computed(()=>r.class);return(n,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex flex-col gap-9",o.value])},[e.createElementVNode("div",Ut,[e.createElementVNode("div",qt,[e.createElementVNode("h3",Ht,[e.renderSlot(n.$slots,"header")])]),n.$slots.body?(e.openBlock(),e.createElementBlock("div",Zt,[e.renderSlot(n.$slots,"body")])):e.createCommentVNode("",!0)])],2))}},Wt={name:"MultiSelectDropdown",template:"MultiSelectDropdown",props:{modelValue:{type:[String,Number],default:""},default_value:{type:Array,default:[]},field_name:{type:String,default:""},is_required:{type:Boolean,default:!1},has_cancel:{type:Boolean,default:!0},label_name:{type:String,default:""},options:{type:Array,required:!0,default:[],note:"Options of dropdown. An array of options with id and name"},placeholder:{type:String,required:!1,default:"Please select an option",note:"Placeholder of dropdown"},maxItem:{type:Number,required:!1,default:100,note:"Max items showing"},show:{type:Boolean,default:!1},error_message:{type:String,default:""}},data(){return{selected:[],count:0,optionsShown:!1,searchFilter:"",selectedIds:[]}},created(){this.$emit("selected",this.selected)},mounted(){self=this;var t=this.convertedOptionsDefault();this.selected=this.options_values.filter(r=>t.includes(r.id+"")),this.show||(document.body.addEventListener("click",function(r){self.clearData(r)}),document.getElementById(this.field_name+"search").addEventListener("keydown",function(r){if(_.includes([37,38,39,40,13],r.keyCode)){if((r.keyCode===38||r.keyCode===40)&&r.preventDefault(),r.keyCode===40&&self.posts=="")return;self.selectItem(r.keyCode)}}),document.addEventListener("keypress",function(r){r.key==="Enter"&&r.target.form&&r.preventDefault()}))},computed:{options_values(){return this.convertedOptions()},filteredOptions(){const t=[],r=new RegExp(this.searchFilter,"ig");for(const o of this.options_values){const n=String(o.name);(this.searchFilter.length<1||n.match(r))&&t.length<this.maxItem&&t.push(o)}return t}},emits:["update:modelValue","selected","selectionChanged"],methods:{selectAll(){this.selected=this.convertedOptions()},deselectAll(){this.selected=[]},isOptionSelected(t){return this.selected.findIndex(r=>r.id===t)!==-1},clearData:function(t){t.target.id!=this.field_name+"search"&&t.target.id!=this.field_name&&!t.target.classList.contains("showOptions")&&(this.exit(),this.count=0)},selectItem:function(t){t==40&&this.count<this.filteredOptions.length&&(this.count++,document.getElementById(this.count).scrollIntoView()),t==38&&this.count>1&&(this.count--,document.getElementById(this.count).scrollIntoView()),t==13&&document.getElementById(this.count).click()},convertedOptions(){return this.options.map((t,r)=>typeof t=="object"?t:{id:t,name:t})},convertedOptionsDefault(){return this.default_value.map((t,r)=>typeof t=="object"?t.id+"":t+"")},clearOption(t){let r=this.selected.findIndex(o=>o.id===t.id);r!==-1&&this.selected.splice(r,1),this.selectedIds=this.selected.map(o=>o.id),this.$emit("update:modelValue",this.selectedIds),this.$emit("selected",this.selectedIds)},selectOption(t){let r=this.selected.findIndex(o=>o.id===t.id);r!==-1?this.selected.splice(r,1):this.selected.push(t),this.selectedIds=this.selected.map(o=>o.id),this.$emit("update:modelValue",this.selectedIds),this.$emit("selected",this.selectedIds)},showOptions(){this.show||(this.searchFilter="",this.optionsShown=!0,this.$nextTick(()=>{this.$refs[this.field_name+"search"].focus()}))},ClearInput(){this.show||(this.selected=[],this.searchFilter="",this.showOptions())},exit(){this.selected||(this.selected=[],this.searchFilter=""),this.optionsShown=!1},keyMonitor:function(t){if(_.includes([37,38,39,40,13],t.keyCode)){if((t.keyCode===38||t.keyCode===40)&&t.preventDefault(),t.keyCode===40&&self.posts=="")return;this.selectItem(t.keyCode)}}},watch:{searchFilter(){this.filteredOptions.length},selected(t){this.selectedIds=t.map(r=>r.id),this.$emit("update:modelValue",this.selectedIds),this.$emit("selected",this.selectedIds),this.$emit("selectionChanged",this.selectedIds)}}},Xt={class:"font-bold ptext-lg dark:text-white"},Yt={class:"mt-3 mb-4"},Jt={class:"bg-blue-100 text-blue-800 text-sm font-medium mb-2 mt-2 me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300"},Qt=e.createElementVNode("hr",{class:"!opacity-100 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),er=["name","value"],tr={key:0,class:"dropdown"},rr={class:"inline-flex ml-2 rounded-md shadow-sm",role:"group"},or={class:"border border-gray-200 rounded-lg focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:focus:ring-blue-500 dark:focus:border-blue-500"},nr={class:"relative"},lr=["onClick"],ar={class:"text-gray-700 bg-white dark:border-strokedark dark:bg-boxdark dark:text-gray-200 !border-b !border-t-0 !border-r !border-l absolute w-full z-[999999999] showOptions"},sr={class:"p-1"},ir=e.createElementVNode("label",{for:"default-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1),dr={class:"relative"},cr=e.createElementVNode("div",{class:"absolute inset-y-0 flex items-center pointer-events-none start-0 ps-3"},[e.createElementVNode("svg",{class:"w-4 h-4 text-gray-500 dark:text-gray-400","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20"},[e.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"})])],-1),mr=["id"],fr={class:"overflow-y-auto max-h-64"},gr=["onClick","onMousedown","id"];function hr(t,r,o,n,a,l){return e.openBlock(),e.createElementBlock(e.Fragment,null,[o.show?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(o.field_name)},[e.createElementVNode("h3",Xt,e.toDisplayString(o.label_name),1),e.createElementVNode("p",Yt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.selected,(i,s)=>(e.openBlock(),e.createElementBlock("span",Jt,e.toDisplayString(i.name),1))),256))]),Qt],2)):e.createCommentVNode("",!0),o.show?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["mb-4",o.field_name])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.selectedIds,(i,s)=>(e.openBlock(),e.createElementBlock("input",{type:"hidden",name:o.field_name+"[]",key:s,value:i},null,8,er))),128)),o.options?(e.openBlock(),e.createElementBlock("div",tr,[e.createElementVNode("label",{class:e.normalizeClass({"gl-label-form":o.error_message=="","gl-label-form-invalid":o.error_message!=="",required:o.is_required})},e.toDisplayString(o.label_name),3),e.createElementVNode("div",rr,[e.createElementVNode("button",{onClick:r[0]||(r[0]=(...i)=>l.selectAll&&l.selectAll(...i)),type:"button",class:"px-4 py-0 text-sm font-medium text-gray-900 bg-transparent border border-gray-900 rounded-s-md hover:bg-gray-900 hover:text-white focus:z-10 focus:bg-gray-900 focus:text-white dark:border-white dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:bg-gray-700"}," Select all "),e.createElementVNode("button",{onClick:r[1]||(r[1]=(...i)=>l.deselectAll&&l.deselectAll(...i)),type:"button",class:"px-4 py-0 text-sm font-medium text-gray-900 bg-transparent border border-gray-900 rounded-e-md hover:bg-gray-900 hover:text-white focus:z-10 focus:bg-gray-900 focus:text-white dark:border-white dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:bg-gray-700"}," Deselect all ")]),e.createElementVNode("div",or,[e.createElementVNode("div",nr,[e.createElementVNode("div",{class:"flex flex-wrap gap-2 pl-8 pr-2 gl-multi-dropdown showOptions",onClick:r[2]||(r[2]=i=>l.showOptions())},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.selected,(i,s)=>(e.openBlock(),e.createElementBlock("span",{key:s,class:"px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded pointer-events-none dark:bg-blue-900 dark:text-blue-300"},[e.createTextVNode(e.toDisplayString(i.name)+" ",1),e.createElementVNode("i",{onClick:e.withModifiers(d=>l.clearOption(i),["stop"]),class:"cursor-pointer pointer-events-auto hover:text-red-600 dark:hover:text-red-400 fas fa-times"},null,8,lr)]))),128))]),e.createElementVNode("i",{class:e.normalizeClass([a.optionsShown?"fa-angle-up":"fa-angle-down","absolute text-xl text-gray-500 cursor-pointer fas right-2 hover:text-gray-700"]),style:{top:"11px"}},null,2)]),e.withDirectives(e.createElementVNode("div",ar,[e.createElementVNode("div",sr,[ir,e.createElementVNode("div",dr,[cr,e.withDirectives(e.createElementVNode("input",{type:"search","onUpdate:modelValue":r[3]||(r[3]=i=>a.searchFilter=i),id:o.field_name+"search",ref:o.field_name+"search",onBlur:r[4]||(r[4]=i=>l.exit()),autocomplete:"off",class:"block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Search ..."},null,40,mr),[[e.vModelText,a.searchFilter]])])]),e.createElementVNode("div",fr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.filteredOptions,(i,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["block px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white",s+1==a.count||l.isOptionSelected(i.id)?"bg-gray-100 dark:bg-gray-600":""]),onClick:d=>l.selectOption(i),onMousedown:d=>l.selectOption(i),key:s,id:s+1},e.toDisplayString(i.name||i.id||"-"),43,gr))),128))])],512),[[e.vShow,a.optionsShown]])])])):e.createCommentVNode("",!0)],2))],64)}const ur=y(Wt,[["render",hr]]),pr={props:{button_type:{type:String,default:"default"},is_submit:{type:Boolean,default:!1},icon:{type:String,default:""},is_loading:{type:Boolean,default:!1},is_disabled:{type:Boolean,default:!1},tag:{type:String,default:"button"},href:{type:String,default:""}},computed:{buttonTypeClass(){switch(this.button_type){case"default":return"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800";case"alternative":return" text-gray-900 bg-white border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700";case"dark":return"text-white bg-gray-800 hover:bg-gray-900 focus:ring-4 focus:ring-gray-300 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-700 dark:border-gray-700";case"light":return"text-gray-900 bg-white border border-gray-300 hover:bg-gray-100 focus:ring-4 focus:ring-gray-100 dark:bg-gray-800 dark:text-white dark:border-gray-600 dark:hover:bg-gray-700 dark:hover:border-gray-600 dark:focus:ring-gray-700";case"green":return" text-white bg-green-700 hover:bg-green-800 focus:ring-4 focus:ring-green-300 dark:bg-green-600 dark:hover:bg-green-700 dark:focus:ring-green-800";case"red":return" text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900";case"yellow":return" text-white bg-yellow-400 hover:bg-yellow-500 focus:ring-4 focus:ring-yellow-300 dark:focus:ring-yellow-900";case"purple":return" text-white bg-purple-700 hover:bg-purple-800 focus:ring-4 focus:ring-purple-300 dark:bg-purple-600 dark:hover:bg-purple-700 dark:focus:ring-purple-900";default:return""}}},methods:{}},_r=e.createElementVNode("svg",{"aria-hidden":"true",role:"status",class:"inline w-4 h-4 me-3 animate-spin",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),e.createElementVNode("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"#1C64F2"})],-1);function yr(t,r,o,n,a,l){return o.is_loading?(e.openBlock(),e.createBlock(e.resolveDynamicComponent("button"),{key:1,disabled:"",class:e.normalizeClass(`flex items-center gap-2 focus:outline-none text-sm px-2 py-2 me-2 font-medium rounded-lg ${l.buttonTypeClass}`)},{default:e.withCtx(()=>[_r,e.createTextVNode(" Loading... ")]),_:1},8,["class"])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.tag),e.mergeProps({key:0,type:o.is_submit,disabled:o.is_disabled},{type:o.is_submit?"submit":void 0},{href:o.tag==="a"?o.href:void 0,class:` ${o.is_disabled?"cursor-not-allowed opacity-50":""} flex items-center gap-2 focus:outline-none text-sm px-5 py-2 me-2 font-medium rounded-lg ${l.buttonTypeClass}`}),{default:e.withCtx(()=>[o.icon?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass([o.icon,"text-base"])},null,2)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default")]),_:3},16,["type","disabled","href","class"]))}const br=y(pr,[["render",yr]]),kr={class:"font-bold ptext-lg dark:text-white"},xr=["name","id"],wr=["id"],Er=e.createElementVNode("hr",{class:"!opacity-100 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),Nr=["for"],Vr=e.createElementVNode("span",{class:"language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300"},null,-1),Br=["name","id"],Cr=["required","name","id","type"],Sr={class:"gl-span-form-error"},$r={class:"block mt-1 text-sm font-normal leading-5 text-gray-500"},Dr={__name:"GlTextareaTranslate",props:{is_required:{type:Boolean,default:!1},show:{type:Boolean,default:!1},error_message:{type:String,default:""},model_value:{type:[String,Number],default:null},modelValue:{type:[String,Number],default:""},model_value_translate:{type:[String,Object],default:null},modelValueTranslate:{type:[String,Object],default:""},type:{type:String,default:"text"},field_name:{type:String,default:""},label_name:{type:String,default:""},get_field_translations:{type:String,default:""},description:{type:String,default:""},translatable:{type:Object,default:null}},emits:["update:modelValue","update:modelValueTranslate","keydown"],setup(t,{expose:r,emit:o}){const n=t,a=o,l=e.ref(null),i=e.ref(null);return e.onMounted(()=>{l.value!==null&&l.value.hasAttribute("autofocus")&&l.value.focus(),n.model_value&&(a("update:modelValue",n.model_value),l.value.value=n.model_value),n.model_value_translate,n.translatable&&axios.post("/admin/get_field_translations",{model:n.translatable.model,row_id:n.translatable.row_id,field:n.translatable.field}).then(s=>{i.value.value=JSON.stringify(s.data),a("update:modelValueTranslate",JSON.stringify(s.data)),console.log("input_translate",i.value.value)}).catch(s=>{console.log(s)})}),r({focus:()=>l.value.focus()}),(s,d)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t.show?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(t.field_name)},[e.createElementVNode("h3",kr,e.toDisplayString(t.label_name),1),e.withDirectives(e.createElementVNode("input",{type:"hidden","data-i18n":"true",name:t.field_name+"_i18n",id:t.field_name+"_i18n",ref_key:"input_translate",ref:i,"onUpdate:modelValue":d[0]||(d[0]=c=>s.inputTranslateValue=c)},null,8,xr),[[e.vModelText,s.inputTranslateValue]]),e.createElementVNode("p",{id:t.field_name,class:"mb-4 text-base text-gray-900 input_tr_show dark:text-white"},e.toDisplayString(t.model_value),9,wr),Er],2)):e.createCommentVNode("",!0),t.show?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["mb-4",t.field_name])},[e.createElementVNode("label",{class:e.normalizeClass({"gl-label-translation-form":t.error_message=="","gl-label-translation-form-invalid":t.error_message!=="",required:t.is_required}),for:t.field_name},e.toDisplayString(t.label_name),11,Nr),Vr,e.createElementVNode("input",{class:"mb-4",type:"hidden","data-i18n":"true",name:t.field_name+"_i18n",id:t.field_name+"_i18n",onInput:d[1]||(d[1]=c=>s.$emit("update:modelValueTranslate",c.target.value)),ref_key:"input_translate",ref:i},null,40,Br),e.createElementVNode("textarea",{required:t.is_required,name:t.field_name,id:t.field_name,class:e.normalizeClass({" gl-textarea-form form-input-translation mt-4 ":t.error_message==""," gl-textarea-form-invalid form-input-translation mt-4 ":t.error_message!==""}),type:t.type,onInput:d[2]||(d[2]=c=>s.$emit("update:modelValue",c.target.value)),onKeydown:d[3]||(d[3]=c=>s.$emit("keydown",c)),ref_key:"input",ref:l,rows:"4"},`
|
|
6
6
|
`,42,Cr),e.createElementVNode("span",Sr,e.toDisplayString(t.error_message),1),e.createElementVNode("small",$r,e.toDisplayString(t.description),1)],2))],64))}},Or={class:"font-bold ptext-lg dark:text-white"},Pr=["name","id"],Tr=["id"],jr=e.createElementVNode("hr",{class:"!opacity-100 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),Mr=["for"],Ar=e.createElementVNode("span",{class:"language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300"},null,-1),Ir=["name","id"],Lr=["name","id","type"],Fr={class:"gl-span-form-error"},zr={class:"block mt-1 text-sm font-normal leading-5 text-gray-500"},Gr={__name:"GlTinymceTranslate",props:{is_required:{type:Boolean,default:!1},show:{type:Boolean,default:!1},error_message:{type:String,default:""},model_value:{type:[String,Number],default:null},modelValue:{type:[String,Number],default:""},model_value_translate:{type:[String,Object],default:null},modelValueTranslate:{type:[String,Object],default:""},type:{type:String,default:"text"},field_name:{type:String,default:""},label_name:{type:String,default:""},get_field_translations:{type:String,default:""},description:{type:String,default:""},translatable:{type:Object,default:null}},emits:["update:modelValue","update:modelValueTranslate","keydown"],setup(t,{expose:r,emit:o}){const n=t,a=o,l=e.ref(null),i=e.ref(null);return e.onMounted(()=>{tinymce.init({selector:"#"+n.field_name,width:"100%",height:300}),console.log("tinymce ",n.model_value),l.value!==null&&l.value.hasAttribute("autofocus")&&l.value.focus(),n.model_value&&(a("update:modelValue",n.model_value),l.value.value=n.model_value),n.model_value_translate,n.translatable&&axios.post("/admin/get_field_translations",{model:n.translatable.model,row_id:n.translatable.row_id,field:n.translatable.field}).then(s=>{i.value.value=JSON.stringify(s.data),a("update:modelValueTranslate",JSON.stringify(s.data))}).catch(s=>{console.log(s)})}),r({focus:()=>l.value.focus()}),(s,d)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t.show?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(t.field_name)},[e.createElementVNode("h3",Or,e.toDisplayString(t.label_name),1),e.withDirectives(e.createElementVNode("input",{type:"hidden","data-i18n":"true",name:t.field_name+"_i18n",id:t.field_name+"_i18n",ref_key:"input_translate",ref:i,"onUpdate:modelValue":d[0]||(d[0]=c=>s.inputTranslateValue=c)},null,8,Pr),[[e.vModelText,s.inputTranslateValue]]),e.createElementVNode("p",{id:t.field_name,class:"mb-4 text-base text-gray-900 input_tr_show dark:text-white"},e.toDisplayString(t.model_value),9,Tr),jr],2)):e.createCommentVNode("",!0),t.show?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["mb-4",t.field_name])},[e.createElementVNode("label",{class:e.normalizeClass({"gl-label-translation-form":t.error_message=="","gl-label-translation-form-invalid":t.error_message!=="",required:t.is_required}),for:t.field_name},e.toDisplayString(t.label_name),11,Mr),Ar,e.createElementVNode("input",{class:"mb-4",type:"hidden","data-i18n":"true",name:t.field_name+"_i18n",id:t.field_name+"_i18n",onInput:d[1]||(d[1]=c=>s.$emit("update:modelValueTranslate",c.target.value)),ref_key:"input_translate",ref:i},null,40,Ir),e.createElementVNode("textarea",{name:t.field_name,id:t.field_name,class:e.normalizeClass(["tiny",{" gl-textarea-form form-input-translation mt-4 ":t.error_message==""," gl-textarea-form-invalid form-input-translation mt-4 ":t.error_message!==""}]),type:t.type,onInput:d[2]||(d[2]=c=>s.$emit("update:modelValue",c.target.value)),onKeydown:d[3]||(d[3]=c=>s.$emit("keydown",c)),ref_key:"input",ref:l,rows:"4"},`
|
|
7
7
|
`,42,Lr),e.createElementVNode("span",Fr,e.toDisplayString(t.error_message),1),e.createElementVNode("small",zr,e.toDisplayString(t.description),1)],2))],64))}},vr={class:"font-bold ptext-lg dark:text-white"},Rr=["name","id"],Ur=["id"],qr=e.createElementVNode("hr",{class:"!opacity-100 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),Hr=["for"],Zr=e.createElementVNode("span",{class:"language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300"},null,-1),Kr=["name","id"],Wr=["required","name","id","type"],Xr={class:"gl-span-form-error"},Yr={class:"block mt-1 text-sm font-normal leading-5 text-gray-500"},Jr={__name:"GlTextTranslate",props:{is_required:{type:Boolean,default:!1},show:{type:Boolean,default:!1},error_message:{type:String,default:""},model_value:{type:[String,Number],default:null},modelValue:{type:[String,Number],default:""},model_value_translate:{type:[String,Object],default:null},modelValueTranslate:{type:[String,Object],default:""},type:{type:String,default:"text"},field_name:{type:String,default:""},label_name:{type:String,default:""},get_field_translations:{type:String,default:""},description:{type:String,default:""},translatable:{type:Object,default:null}},emits:["update:modelValue","update:modelValueTranslate","keydown"],setup(t,{expose:r,emit:o}){const n=t,a=o,l=e.ref(null),i=e.ref(null);return e.onMounted(()=>{l.value!==null&&l.value.hasAttribute("autofocus")&&l.value.focus(),n.model_value&&(a("update:modelValue",n.model_value),l.value.value=n.model_value),n.model_value_translate,n.translatable&&axios.post("/admin/get_field_translations",{model:n.translatable.model,row_id:n.translatable.row_id,field:n.translatable.field}).then(s=>{i.value.value=JSON.stringify(s.data),a("update:modelValueTranslate",JSON.stringify(s.data))}).catch(s=>{console.log(s)})}),r({focus:()=>l.value.focus()}),(s,d)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t.show?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(t.field_name)},[e.createElementVNode("h3",vr,e.toDisplayString(t.label_name),1),e.withDirectives(e.createElementVNode("input",{type:"hidden","data-i18n":"true",name:t.field_name+"_i18n",id:t.field_name+"_i18n",ref:"input_translate_s","onUpdate:modelValue":d[0]||(d[0]=c=>s.inputTranslateValue=c)},null,8,Rr),[[e.vModelText,s.inputTranslateValue]]),e.createElementVNode("p",{id:t.field_name,class:"mb-4 text-base text-gray-900 input_tr_show dark:text-white"},e.toDisplayString(t.model_value),9,Ur),qr],2)):e.createCommentVNode("",!0),t.show?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["mb-4",t.field_name])},[e.createElementVNode("label",{class:e.normalizeClass({"gl-label-translation-form":t.error_message=="","gl-label-translation-form-invalid":t.error_message!=="",required:t.is_required}),for:t.field_name},e.toDisplayString(t.label_name),11,Hr),Zr,e.createElementVNode("input",{class:"mb-4",type:"hidden","data-i18n":"true",name:t.field_name+"_i18n",id:t.field_name+"_i18n",onInput:d[1]||(d[1]=c=>s.$emit("update:modelValueTranslate",c.target.value)),ref_key:"input_translate",ref:i},null,40,Kr),e.createElementVNode("input",{required:t.is_required,name:t.field_name,id:t.field_name,class:e.normalizeClass({" gl-input-form form-input-translation mt-2 ":t.error_message==""," gl-input-form-invalid form-input-translation mt-2 ":t.error_message!==""}),type:t.type,onInput:d[2]||(d[2]=c=>s.$emit("update:modelValue",c.target.value)),onKeydown:d[3]||(d[3]=c=>s.$emit("keydown",c)),ref_key:"input",ref:l},null,42,Wr),e.createElementVNode("span",Xr,e.toDisplayString(t.error_message),1),e.createElementVNode("small",Yr,e.toDisplayString(t.description),1)],2))],64))}},Qr={class:"font-bold ptext-lg dark:text-white"},eo={class:"mb-4 text-base text-gray-900 dark:text-white"},to=e.createElementVNode("hr",{class:"!opacity-100 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),ro=["for"],oo=["required","name","id","type"],no={class:"gl-span-form-error"},lo={class:"block mt-1 text-sm font-normal leading-5 text-gray-500"},ao={__name:"GlTextInput",props:{is_required:{type:Boolean,default:!1},show:{type:Boolean,default:!1},error_message:{type:String,default:""},model_value:{type:[String,Number],default:""},modelValue:{type:[String,Number],default:""},type:{type:String,default:"text"},field_name:{type:String,default:""},label_name:{type:String,default:""},description:{type:String,default:""}},emits:["update:modelValue","keydown"],setup(t,{expose:r,emit:o}){const n=t,a=o,l=e.ref(null);e.onMounted(()=>{l.value!==null&&l.value.hasAttribute("autofocus")&&l.value.focus()});const i=e.computed({get(){return n.modelValue},set(s){a("update:modelValue",s)}});return r({focus:()=>l.value.focus()}),(s,d)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t.show?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(t.field_name)},[e.createElementVNode("h3",Qr,e.toDisplayString(t.label_name),1),e.createElementVNode("p",eo,e.toDisplayString(t.type=="password"?t.modelValue.replace(/./g,"*"):t.modelValue),1),to],2)):e.createCommentVNode("",!0),t.show?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["mb-4",t.field_name])},[e.createElementVNode("label",{class:e.normalizeClass({"gl-label-form":t.error_message=="","gl-label-form-invalid":t.error_message!=="",required:t.is_required}),for:t.field_name},e.toDisplayString(t.label_name),11,ro),e.withDirectives(e.createElementVNode("input",{required:t.is_required,name:t.field_name,id:t.field_name,class:e.normalizeClass({"gl-input-form":t.error_message=="","gl-input-form-invalid":t.error_message!==""}),type:t.type,"onUpdate:modelValue":d[0]||(d[0]=c=>i.value=c),onKeydown:d[1]||(d[1]=c=>s.$emit("keydown",c)),ref_key:"input",ref:l},null,42,oo),[[e.vModelDynamic,i.value]]),e.createElementVNode("span",no,e.toDisplayString(t.error_message),1),e.createElementVNode("small",lo,e.toDisplayString(t.description),1)],2))],64))}},so={setup(t,{slots:r}){const o=e.ref(r.default().map(a=>a.props)),n=e.ref(o.value[0].title);return e.provide("selectedTitle",n),{tabs:o,selectedTitle:n}}},io={class:"flex flex-wrap"},co={class:"w-full"},mo={class:"flex flex-row flex-wrap gap-1 pt-3 pb-4 mb-0 list-none"},fo=["onClick"],go={class:"relative flex flex-col w-full min-w-0 mb-6 break-words bg-white rounded shadow-lg dark:border-strokedark dark:bg-boxdark"},ho={class:"flex-auto px-4 py-5"},uo={class:"tab-content tab-space"};function po(t,r,o,n,a,l){return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",io,[e.createElementVNode("div",co,[e.createElementVNode("ul",mo,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.tabs,i=>(e.openBlock(),e.createElementBlock("li",{key:i.title,onClick:s=>n.selectedTitle=i.title,class:"flex-auto -mb-px text-center"},[e.createElementVNode("a",{class:e.normalizeClass([{"text-slate-600 bg-white dark:bg-meta-4":n.selectedTitle!=i.title,"text-white bg-slate-600 dark:bg-primary":n.selectedTitle===i.title},"block px-5 py-3 text-xs font-bold leading-normal rounded shadow-lg hover:text-white tex hover:bg-slate-600 dark:hover:bg-primary dark:text-white tabs_buttons"])},[e.createElementVNode("i",{class:e.normalizeClass([i.icon,"mr-1 text-base"])},null,2),e.createTextVNode(" "+e.toDisplayString(i.title),1)],2)],8,fo))),128))])])]),e.createElementVNode("div",go,[e.createElementVNode("div",ho,[e.createElementVNode("div",uo,[e.renderSlot(t.$slots,"default")])])])],64)}const _o=y(so,[["render",po]]),yo={props:["title"],setup(){return{selectedTitle:e.inject("selectedTitle")}}},bo={class:"block"};function ko(t,r,o,n,a,l){return e.withDirectives((e.openBlock(),e.createElementBlock("div",bo,[e.renderSlot(t.$slots,"default")],512)),[[e.vShow,o.title==n.selectedTitle]])}const xo=y(yo,[["render",ko]]),wo={props:{elements_to_show_prop:{type:Number,default:3},hide_arrow:{type:Boolean,default:!1},disable_touch:{type:Boolean,default:!1},direction_property:{type:String,default:"ltr"},slider_arrows_indicators_position:{type:String,default:"arrows_outside_slider"}},data:function(){return{elementsToShow:3,dotsNum:0,currentDot:1,dotsNavigation:[],touchStartX:0,isMoving:!1,initialX:0,initialY:0,Random_string:this.generateRandomString(6)}},mounted(){this.elementsToShow=this.elements_to_show_prop,this.initSlider(),this.disable_touch||this.movingActions()},methods:{sliderIndicatorsAction(){var t="";return this.direction_property=="rtl"?(t+=" space-x-reverse ",t+=" slider_indicators "):this.slider_arrows_indicators_position=="arrows_indicators_inside_slider"&&(t+=" slider_indicators "),t},sliderContainerAction(){var t="";return!this.hide_arrow&&this.slider_arrows_indicators_position=="arrows_outside_slider"?t+=" w-12/12 xl:w-8/12 xxl:w-8/12 md:w-8/12 sm:w-8/12":this.slider_arrows_indicators_position!="arrows_outside_slider"&&(t+=" w-12/12 "),t},generateRandomString(t){let r="";const o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=o.length;for(let a=0;a<t;a++)r+=o.charAt(Math.floor(Math.random()*n));return r},movingActions(){let t=this,r=document.getElementById("slider_"+this.Random_string);const o=a=>{r.style.cursor="grabbing";const l=s=>{const d=s.clientX||s.touches&&s.touches[0]&&s.touches[0].clientX,c=s.clientY||s.touches&&s.touches[0]&&s.touches[0].clientY,m=d-t.initialX,g=c-t.initialY;Math.abs(m)>Math.abs(g)?(s.preventDefault(),Math.abs(m)>=70&&(m<0?t.next():t.prev(),t.initialX=d)):r.style.cursor="grab",Math.abs(g)>Math.abs(m)&&(r.style.cursor="grab")},i=()=>{document.removeEventListener("mousemove",l),document.removeEventListener("touchmove",l),document.removeEventListener("mouseup",i),document.removeEventListener("touchend",i),r.style.cursor="grab"};document.addEventListener("mousemove",l),document.addEventListener("touchmove",l,{passive:!1}),document.addEventListener("mouseup",i),document.addEventListener("touchend",i),t.initialX=a.clientX||a.touches&&a.touches[0]&&a.touches[0].clientX,t.initialY=a.clientY||a.touches&&a.touches[0]&&a.touches[0].clientY},n=a=>{a.key==="ArrowLeft"?t.prev():a.key==="ArrowRight"&&t.next()};r.addEventListener("mousedown",o),r.addEventListener("touchstart",o),document.addEventListener("keydown",n)},next(){this.currentDot<this.dotsNavigation.length&&(this.currentDot++,this.setDot(this.currentDot))},prev(){this.currentDot>1&&(this.currentDot--,this.setDot(this.currentDot))},initSlider(){let t=document.getElementById("sliderContainer_"+this.Random_string),r=document.getElementById("mainSliderContainer_"+this.Random_string),o=document.getElementById("slider_"+this.Random_string),n=o.querySelectorAll("li"),a=Array.from(n).filter(s=>s.parentNode===o),l=t.clientWidth,i=l/this.elementsToShow;if(this.elementsToShow>1?document.body.clientWidth<1e3?(this.elementsToShow=1,i=this.hide_arrow?r.clientWidth:l):document.body.clientWidth<1500&&(this.elementsToShow=2):(this.elementsToShow=1,i=this.hide_arrow?r.clientWidth:l),a.length>1){this.dotsNum=this.elementsToShow==1?a.length:a.length-this.elementsToShow+1;let s=this.elementsToShow==1?i*a.length/this.dotsNum:i*(a.length-this.elementsToShow)/(this.dotsNum-1);this.dotsNavigation=[];for(let d=0;d<this.dotsNum;d++)this.dotsNavigation.push(s*d)}o.style.width=a.length*i+"px",o.style.transition="margin",o.style.transitionDuration="1s";for(let s=0;s<a.length;s++){const d=a[s];d.style.width=i+"px"}},setDot(t){let r=document.getElementById("slider_"+this.Random_string);this.direction_property=="rtl"?r.style.marginRight=-this.dotsNavigation[t-1]+"px":r.style.marginLeft=-this.dotsNavigation[t-1]+"px",this.currentDot=t}}},k=t=>(e.pushScopeId("data-v-a94f16a9"),t=t(),e.popScopeId(),t),Eo=["id"],No={key:0,class:"items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"},Vo={class:"w-full"},Bo={key:0,xmlns:"http://www.w3.org/2000/svg",class:"w-6 h-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},Co=[k(()=>e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M11 17l-5-5m0 0l5-5m-5 5h12"},null,-1))],So={key:1,xmlns:"http://www.w3.org/2000/svg",class:"w-6 h-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},$o=[k(()=>e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M13 7l5 5m0 0l-5 5m5-5H6"},null,-1))],Do=["id"],Oo=["id"],Po={class:"w-full"},To={key:0,xmlns:"http://www.w3.org/2000/svg",class:"w-6 h-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},jo=[k(()=>e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M11 17l-5-5m0 0l5-5m-5 5h12"},null,-1))],Mo={key:1,xmlns:"http://www.w3.org/2000/svg",class:"w-6 h-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},Ao=[k(()=>e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M13 7l5 5m0 0l-5 5m5-5H6"},null,-1))],Io={class:"w-full"},Lo={key:0,xmlns:"http://www.w3.org/2000/svg",class:"w-6 h-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},Fo=[k(()=>e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M13 7l5 5m0 0l-5 5m5-5H6"},null,-1))],zo={key:1,xmlns:"http://www.w3.org/2000/svg",class:"w-6 h-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},Go=[k(()=>e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M11 17l-5-5m0 0l5-5m-5 5h12"},null,-1))],vo=["onClick"],Ro=[k(()=>e.createElementVNode("span",null,null,-1))],Uo={key:1,class:"flex justify-between pl-5 pr-5"},qo=["onClick"],Ho=[k(()=>e.createElementVNode("span",null,null,-1))],Zo={key:0,class:"flex"},Ko={class:"flex items-center"},Wo={class:"w-full"},Xo={key:0,xmlns:"http://www.w3.org/2000/svg",class:"w-6 h-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},Yo=[k(()=>e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M11 17l-5-5m0 0l5-5m-5 5h12"},null,-1))],Jo={key:1,xmlns:"http://www.w3.org/2000/svg",class:"w-6 h-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},Qo=[k(()=>e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M13 7l5 5m0 0l-5 5m5-5H6"},null,-1))],en={class:"flex items-center"},tn={class:"w-full"},rn={key:0,xmlns:"http://www.w3.org/2000/svg",class:"w-6 h-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},on=[k(()=>e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M13 7l5 5m0 0l-5 5m5-5H6"},null,-1))],nn={key:1,xmlns:"http://www.w3.org/2000/svg",class:"w-6 h-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},ln=[k(()=>e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M11 17l-5-5m0 0l5-5m-5 5h12"},null,-1))],an={key:1,class:"items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"},sn={class:"w-full"},dn={key:0,xmlns:"http://www.w3.org/2000/svg",class:"w-6 h-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},cn=[k(()=>e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M13 7l5 5m0 0l-5 5m5-5H6"},null,-1))],mn={key:1,xmlns:"http://www.w3.org/2000/svg",class:"w-6 h-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},fn=[k(()=>e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M11 17l-5-5m0 0l5-5m-5 5h12"},null,-1))];function gn(t,r,o,n,a,l){return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{class:e.normalizeClass(["",!o.hide_arrow&&o.slider_arrows_indicators_position=="arrows_outside_slide"?"flex":"relative block"]),id:"mainSliderContainer_"+t.Random_string},[t.dotsNum>0&&!o.hide_arrow&&o.slider_arrows_indicators_position=="arrows_outside_slider"?(e.openBlock(),e.createElementBlock("div",No,[e.createElementVNode("div",Vo,[e.createElementVNode("button",{class:"p-3 mr-5 rounded-full shadow-lg arrow_button_styles",onClick:r[0]||(r[0]=i=>l.prev())},[o.direction_property=="ltr"?(e.openBlock(),e.createElementBlock("svg",Bo,Co)):e.createCommentVNode("",!0),o.direction_property=="rtl"?(e.openBlock(),e.createElementBlock("svg",So,$o)):e.createCommentVNode("",!0)])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["overflow-hidden",l.sliderContainerAction()]),id:"sliderContainer_"+t.Random_string},[e.createElementVNode("ul",{class:"flex",id:"slider_"+t.Random_string},[t.dotsNum>0&&!o.hide_arrow&&o.slider_arrows_indicators_position=="arrows_indicators_inside_slider"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["items-center justify-center hidden arrow_button xl:flex xxl:flex md:flex sm:flex",o.direction_property=="rtl"?"arrow_button_next":"arrow_button_prev"])},[e.createElementVNode("div",Po,[e.createElementVNode("button",{class:"p-3 rounded-full shadow-lg arrow_button_styles",onClick:r[1]||(r[1]=e.withModifiers(i=>l.prev(),["stop"]))},[o.direction_property=="ltr"?(e.openBlock(),e.createElementBlock("svg",To,jo)):e.createCommentVNode("",!0),o.direction_property=="rtl"?(e.openBlock(),e.createElementBlock("svg",Mo,Ao)):e.createCommentVNode("",!0)])])],2)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default",{},void 0,!0),t.dotsNum>0&&!o.hide_arrow&&o.slider_arrows_indicators_position=="arrows_indicators_inside_slider"?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["items-center justify-center hidden xl:flex xxl:flex md:flex sm:flex arrow_button",o.direction_property=="rtl"?"arrow_button_prev":"arrow_button_next"])},[e.createElementVNode("div",Io,[e.createElementVNode("button",{class:"p-3 rounded-full shadow-lg arrow_button_styles",onClick:r[2]||(r[2]=e.withModifiers(i=>l.next(),["stop"]))},[o.direction_property=="ltr"?(e.openBlock(),e.createElementBlock("svg",Lo,Fo)):e.createCommentVNode("",!0),o.direction_property=="rtl"?(e.openBlock(),e.createElementBlock("svg",zo,Go)):e.createCommentVNode("",!0)])])],2)):e.createCommentVNode("",!0)],8,Oo),o.slider_arrows_indicators_position!="arrows_indicators_below_slider"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["flex justify-center mb-1 space-x-1",l.sliderIndicatorsAction()])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.dotsNum,i=>(e.openBlock(),e.createElementBlock("button",{role:"button",class:e.normalizeClass(["gl-dot",{active:t.currentDot==i}]),key:i,onClick:s=>l.setDot(i)},Ro,10,vo))),128))],2)):e.createCommentVNode("",!0),o.slider_arrows_indicators_position=="arrows_indicators_below_slider"?(e.openBlock(),e.createElementBlock("div",Uo,[e.createElementVNode("div",{class:e.normalizeClass(["flex justify-center mb-1 space-x-1",l.sliderIndicatorsAction()])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.dotsNum,i=>(e.openBlock(),e.createElementBlock("button",{role:"button",class:e.normalizeClass(["gl-dot",{active:t.currentDot==i}]),key:i,onClick:s=>l.setDot(i)},Ho,10,qo))),128))],2),t.dotsNum>0?(e.openBlock(),e.createElementBlock("div",Zo,[e.createElementVNode("div",Ko,[e.createElementVNode("div",Wo,[e.createElementVNode("button",{class:e.normalizeClass(["p-3 rounded-full arrow_button_styles",o.direction_property=="rtl"?"ml-3":"mr-3"]),onClick:r[3]||(r[3]=i=>l.prev())},[o.direction_property=="ltr"?(e.openBlock(),e.createElementBlock("svg",Xo,Yo)):e.createCommentVNode("",!0),o.direction_property=="rtl"?(e.openBlock(),e.createElementBlock("svg",Jo,Qo)):e.createCommentVNode("",!0)],2)])]),e.createElementVNode("div",en,[e.createElementVNode("div",tn,[e.createElementVNode("button",{class:"p-3 rounded-full arrow_button_styles",onClick:r[4]||(r[4]=i=>l.next())},[o.direction_property=="ltr"?(e.openBlock(),e.createElementBlock("svg",rn,on)):e.createCommentVNode("",!0),o.direction_property=="rtl"?(e.openBlock(),e.createElementBlock("svg",nn,ln)):e.createCommentVNode("",!0)])])])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],10,Do),t.dotsNum>0&&!o.hide_arrow&&o.slider_arrows_indicators_position=="arrows_outside_slider"?(e.openBlock(),e.createElementBlock("div",an,[e.createElementVNode("div",sn,[e.createElementVNode("button",{class:"p-3 ml-5 rounded-full shadow-lg arrow_button_styles",onClick:r[5]||(r[5]=i=>l.next())},[o.direction_property=="ltr"?(e.openBlock(),e.createElementBlock("svg",dn,cn)):e.createCommentVNode("",!0),o.direction_property=="rtl"?(e.openBlock(),e.createElementBlock("svg",mn,fn)):e.createCommentVNode("",!0)])])])):e.createCommentVNode("",!0)],10,Eo)])}const hn=y(wo,[["render",gn],["__scopeId","data-v-a94f16a9"]]),un={class:"fixed left-0 top-13 z-[1055] h-full w-full overflow-y-auto overflow-x-hidden outline-none inset-0 bg-black bg-opacity-80",tabindex:"-1","aria-hidden":"true"},pn={class:"pointer-events-auto relative flex max-h-[100%] w-full flex-col overflow-hidden text-current shadow-4 outline-none bg-white border rounded-lg border-stroke dark:border-strokedark dark:bg-boxdark"},_n={class:"flex items-center justify-between flex-shrink-0 pt-10 pb-3 pl-3 pr-3 border-b-2 dark:border-gray-600"},yn={class:"text-xl font-medium leading-normal text-surface dark:text-white"},bn=[e.createElementVNode("span",{class:"[&>svg]:h-6 [&>svg]:w-6"},[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})])],-1)],kn={class:"relative p-4 overflow-y-auto"},xn={class:"flex flex-wrap items-center justify-end flex-shrink-0 p-4 border-t-2 rounded-b-md border-neutral-100 dark:border-gray-600"},wn={__name:"GlModal",props:{is_open:{type:Boolean,default:!1},title:{type:String,default:""},max_width:{type:String,default:"max-w-2xl"}},emits:["closeModal"],setup(t,{emit:r}){const o=t,n=r,a=()=>{document.documentElement.style.overflow="hidden",document.documentElement.style.paddingRight="0px"},l=()=>{document.documentElement.style.overflow="",document.documentElement.style.paddingRight=""},i=()=>{n("closeModal"),l()};return e.watch(()=>o.is_open,(s,d)=>{s?a():l()},{immediate:!0,deep:!0}),(s,d)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",un,[e.createElementVNode("div",{class:e.normalizeClass(["pointer-events-none relative h-[calc(100%-1rem)] w-auto translate-y-[-50px] transition-all duration-300 ease-in-out min-[576px]:mx-auto min-[576px]:mt-7 min-[576px]:h-[calc(100%-3.5rem)]",t.max_width])},[e.createElementVNode("div",pn,[e.createElementVNode("div",_n,[e.createElementVNode("h5",yn,e.toDisplayString(t.title),1),e.createElementVNode("button",{type:"button",class:"box-content border-none rounded-none text-neutral-500 hover:text-neutral-800 hover:no-underline focus:text-neutral-800 focus:opacity-100 focus:shadow-none focus:outline-none dark:text-neutral-400 dark:hover:text-neutral-300 dark:focus:text-neutral-300",onClick:i,"aria-label":"Close"},bn)]),e.createElementVNode("div",kn,[e.renderSlot(s.$slots,"body")]),e.createElementVNode("div",xn,[e.renderSlot(s.$slots,"buttons"),e.createElementVNode("button",{onClick:i,type:"button",class:"px-5 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-200 rounded-lg ms-3 hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-blue-300 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"}," Close ")])])],2)],512)),[[e.vShow,t.is_open]])}},En={class:"mb-4"},Nn={class:"flex justify-between px-6 py-3 -mb-px border border-gray-300 no-underlin"},Vn={class:"relative inline-flex items-center cursor-pointer"},Bn=["name","id","checked"],Cn=e.createElementVNode("div",{class:"w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1),Sn=e.createElementVNode("hr",{class:"!opacity-100 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),$n={class:"flex justify-between px-6 py-3 -mb-px border border-gray-200 rounded-lg no-underlin dark:border-gray-600 dark:focus:border-frontenddark"},Dn={class:"relative inline-flex items-center cursor-pointer"},On=["name","id"],Pn=e.createElementVNode("div",{class:"w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1),Tn={class:"gl-span-form-error"},jn={class:"block mt-1 text-sm font-normal leading-5 text-gray-500"},Mn={__name:"GlToggleBox",props:{is_required:{type:Boolean,default:!1},show:{type:Boolean,default:!1},error_message:{type:String,default:""},model_value:{type:String,required:!0},modelValue:{type:[String,Number],default:""},type:{type:String,default:"text"},field_name:{type:String,default:""},label_name:{type:String,default:""},description:{type:String,default:""}},emits:["update:modelValue"],setup(t,{emit:r}){const o=t,n=r,a=e.ref(null),l=e.computed({get(){return o.modelValue},set(i){n("update:modelValue",i)}});return(i,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t.show?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(t.field_name)},[e.createElementVNode("div",En,[e.createElementVNode("li",Nn,[e.createTextVNode(e.toDisplayString(t.label_name)+" ",1),e.createElementVNode("label",Vn,[e.createElementVNode("input",{type:"checkbox",class:"sr-only peer",name:t.field_name,id:t.field_name,checked:t.modelValue,"true-value":1,"false-value":0,ref_key:"input",ref:a,disabled:""},null,8,Bn),Cn])])]),Sn],2)):e.createCommentVNode("",!0),t.show?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["mb-4",t.field_name])},[e.createElementVNode("li",$n,[e.createTextVNode(e.toDisplayString(t.label_name)+" ",1),e.createElementVNode("label",Dn,[e.withDirectives(e.createElementVNode("input",{type:"checkbox",class:"sr-only peer",name:t.field_name,id:t.field_name,"true-value":1,"false-value":0,ref_key:"input",ref:a,"onUpdate:modelValue":s[0]||(s[0]=d=>l.value=d)},null,8,On),[[e.vModelCheckbox,l.value]]),Pn])]),e.createElementVNode("span",Tn,e.toDisplayString(t.error_message),1),e.createElementVNode("small",jn,e.toDisplayString(t.description),1)],2))],64))}},An={class:"font-bold ptext-lg dark:text-white"},In={class:"mt-3 mb-4"},Ln={class:"bg-blue-100 text-blue-800 text-sm font-medium mb-2 mt-2 me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300"},Fn=e.createElementVNode("hr",{class:"!opacity-100 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),zn=["name","id","value"],Gn={key:0,class:"dropdown"},vn={class:"border border-gray-200 rounded-lg focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:focus:ring-blue-500 dark:focus:border-blue-500"},Rn={class:"relative showOptions"},Un=["value","placeholder"],qn={class:"text-gray-700 bg-white dark:border-strokedark dark:bg-boxdark dark:text-gray-200 !border-b !border-t-0 !border-r !border-l absolute w-full z-[999999999]"},Hn={class:"p-1"},Zn=e.createElementVNode("label",{for:"default-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1),Kn={class:"relative"},Wn=e.createElementVNode("div",{class:"absolute inset-y-0 flex items-center pointer-events-none start-0 ps-3"},[e.createElementVNode("svg",{class:"w-4 h-4 text-gray-500 dark:text-gray-400","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20"},[e.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"})])],-1),Xn=["id"],Yn={class:"overflow-y-auto max-h-64"},Jn=["onClick","onMousedown","id"],Qn={class:"flex items-center py-2 pl-10 pr-4"},el={key:0,class:"absolute flex items-center flex-shrink-0 w-4 h-4 text-green-500 left-2 dark:text-green-400","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 12"},tl=[e.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M1 5.917 5.724 10.5 15 1.5"},null,-1)],rl={class:"block mt-1 text-sm font-normal leading-5 text-red-500"},ol={class:"block mt-1 text-sm font-normal leading-5 text-gray-500"},nl={__name:"GlDropdown",props:{modelValue:{type:[String,Number],default:""},defaultValue:{type:[String,Number],default:""},field_name:{type:String,default:""},is_required:{type:Boolean,default:!1},has_cancel:{type:Boolean,default:!0},label_name:{type:String,default:""},options:{type:Array,required:!0,default:()=>[],note:"Options of dropdown. An array of options with id and name"},placeholder:{type:String,required:!1,default:"Please select an option",note:"Placeholder of dropdown"},maxItem:{type:Number,required:!1,default:1e4,note:"Max items showing"},show:{type:Boolean,default:!1},error_message:{type:String,default:""},description:{type:String,default:""}},emits:["update:modelValue","selected","selectionChanged"],setup(t,{emit:r}){const o=t,n=r,a=e.ref(null),l=e.ref({}),i=e.ref(0),s=e.ref(!1),d=e.ref(""),c=e.ref("");e.onMounted(()=>{c.value=S(),o.show||(document.body.addEventListener("click",f=>{yi(f)}),document.addEventListener("keypress",f=>{f.key==="Enter"&&f.target.form&&f.preventDefault()}))});const m=e.computed(()=>xi()),g=e.computed(()=>wi()),u=e.computed(()=>{const f=[],b=new RegExp(d.value,"ig");for(const w of m.value){const $=String(w.name);(d.value.length<1||$.match(b))&&f.length<o.maxItem&&f.push(w)}return f});function p(f){if(["ArrowLeft","ArrowUp","ArrowRight","ArrowDown","Enter"].includes(f.key)){if(["ArrowUp","ArrowDown"].includes(f.key)&&f.preventDefault(),f.key==="ArrowDown"&&o.posts==="")return;ki(f.key)}}function S(){let f=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(w){const $=(f+Math.random()*16)%16|0;return f=Math.floor(f/16),(w==="x"?$:$&3|8).toString(16)})}function U(f){return f!==null&&typeof f=="object"&&Object.keys(f).length>0}function yi(f){f.target.id!=o.field_name+"search"+c.value&&f.target.id!=o.field_name&&!f.target.classList.contains("showOptions")&&(_e(),i.value=0)}function ue(f){const b=`${f}${c.value}`,w=document.getElementById(b);w&&w.scrollIntoView()}function bi(f){const b=`${f}${c.value}`,w=document.getElementById(b);w&&w.click()}function ki(f){f==="ArrowDown"&&i.value<u.value.length&&(i.value++,ue(i.value)),f==="ArrowUp"&&i.value>1&&(i.value--,ue(i.value)),f==="Enter"&&bi(i.value)}function xi(){return o.options.map((f,b)=>typeof f=="object"?f:{id:f,name:f})}function wi(){if(U(l.value))return console.log("selected.value: ",l.value),typeof l.value=="object"?m.value.find(f=>String(f.id)===String(l.value.id))||{}:m.value.find(f=>String(f.id)===String(l.value))||{};if(o.modelValue)return console.log("props.modelValue :",o.modelValue),typeof o.modelValue=="object"?m.value.find(f=>String(f.id)===String(o.modelValue.id))||{}:m.value.find(f=>String(f.id)===String(o.modelValue))||{}}function pe(f){l.value=f,s.value=!1,n("selected",l.value),n("selectionChanged",l.value)}function q(){o.show||(d.value="",s.value=!0,e.nextTick(()=>{var f=document.getElementById(`${o.field_name}search${c.value}`);f&&f.focus()}))}function Ei(){o.show||(l.value={},d.value="",n("update:modelValue",""),q())}function _e(){l.value.id||(l.value={},d.value=""),n("selected",l.value),s.value=!1}return e.watch(d,()=>{u.value.length===0&&(l.value={})}),e.watch(l,f=>{U(f)&&n("update:modelValue",f.id)}),(f,b)=>{var w,$,ye;return e.openBlock(),e.createElementBlock(e.Fragment,null,[t.show?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(t.field_name)},[e.createElementVNode("h3",An,e.toDisplayString(t.label_name),1),e.createElementVNode("p",In,[e.createElementVNode("span",Ln,e.toDisplayString((w=g.value)==null?void 0:w.name),1)]),Fn],2)):e.createCommentVNode("",!0),t.show?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["mb-4",t.field_name])},[e.createElementVNode("input",{type:"hidden",name:t.field_name,id:t.field_name,value:($=g.value)==null?void 0:$.id},null,8,zn),t.options?(e.openBlock(),e.createElementBlock("div",Gn,[t.label_name?(e.openBlock(),e.createElementBlock("label",{key:0,class:e.normalizeClass({"gl-label-form":t.error_message=="","gl-label-form-invalid":t.error_message!=="",required:t.is_required})},e.toDisplayString(t.label_name),3)):e.createCommentVNode("",!0),e.createElementVNode("div",vn,[e.createElementVNode("div",Rn,[e.createElementVNode("input",{class:e.normalizeClass([{"gl-input-form":t.error_message=="","gl-input-form-invalid":t.error_message!==""},"pl-8 pr-2 showOptions"]),ref:t.field_name,onClick:b[0]||(b[0]=V=>q()),value:(ye=g.value)==null?void 0:ye.name,placeholder:t.placeholder,autocomplete:"off",readonly:""},null,10,Un),e.withDirectives(e.createElementVNode("i",{onClick:b[1]||(b[1]=e.withModifiers(V=>Ei(),["stop"])),class:"absolute text-gray-500 cursor-pointer fas fa-times right-7 hover:text-gray-700 dark:hover:text-gray-800",style:{top:"13px"}},null,512),[[e.vShow,U(g.value)&&t.has_cancel]]),e.createElementVNode("i",{onClick:b[2]||(b[2]=V=>!s.value&&q()),class:e.normalizeClass([s.value?"fa-angle-up":"fa-angle-down","absolute text-xl text-gray-500 cursor-pointer fas right-2 hover:text-gray-700 dark:hover:text-gray-800 showOptions"]),style:{top:"11px"}},null,2)]),e.withDirectives(e.createElementVNode("div",qn,[e.createElementVNode("div",Hn,[Zn,e.createElementVNode("div",Kn,[Wn,e.withDirectives(e.createElementVNode("input",{type:"search","onUpdate:modelValue":b[3]||(b[3]=V=>d.value=V),ref:a.value,id:`${t.field_name}search${c.value}`,onKeydown:p,onBlur:b[4]||(b[4]=V=>_e()),autocomplete:"off",class:"block w-full p-2 text-sm text-gray-900 border rounded-lg outline-none border-frontend ps-10 bg-gray-50 focus:border-frontend dark:bg-gray-700 dark:border-frontenddark dark:placeholder-frontenddark dark:text-white dark:focus:border-frontenddark",placeholder:"Search ..."},null,40,Xn),[[e.vModelText,d.value]])])]),e.createElementVNode("div",Yn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value,(V,H)=>{var be;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["relative px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white",H+1==i.value?"bg-gray-100 dark:bg-gray-600":""]),onClick:Ni=>pe(V),onMousedown:Ni=>pe(V),key:H,id:`${H+1}${c.value}`},[e.createElementVNode("div",Qn,[((be=g.value)==null?void 0:be.id)===V.id?(e.openBlock(),e.createElementBlock("svg",el,tl)):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(V.name||V.id||"-"),1)])],42,Jn)}),128))])],512),[[e.vShow,s.value]])])])):e.createCommentVNode("",!0),e.createElementVNode("span",rl,e.toDisplayString(t.error_message),1),e.createElementVNode("small",ol,e.toDisplayString(t.description),1)],2))],64)}}},ll={class:"font-bold ptext-lg dark:text-white"},al=["id"],sl=e.createElementVNode("hr",{class:"!opacity-100 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),il=["for"],dl=["required","name","id","type","placeholder"],cl={class:"gl-span-form-error"},ml={class:"block mt-1 text-sm font-normal leading-5 text-gray-500"},fl={__name:"GlTextarea",props:{is_required:{type:Boolean,default:!1},show:{type:Boolean,default:!1},error_message:{type:String,default:""},model_value:{type:[String,Number],default:""},modelValue:{type:[String,Number],default:""},type:{type:String,default:"text"},field_name:{type:String,default:""},label_name:{type:String,default:""},description:{type:String,default:""},place_holder:{type:String,default:""}},emits:["update:modelValue","keydown"],setup(t,{expose:r,emit:o}){const n=t,a=o,l=e.ref(null);return e.onMounted(()=>{l.value!==null&&l.value.hasAttribute("autofocus")&&l.value.focus(),n.model_value&&(a("update:modelValue",n.model_value),l.value.value=n.model_value),n.modelValue!=""&&(a("update:modelValue",n.modelValue),l.value.value=n.modelValue)}),r({focus:()=>l.value.focus()}),(i,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t.show?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(t.field_name)},[e.createElementVNode("h3",ll,e.toDisplayString(t.label_name),1),e.createElementVNode("p",{id:t.field_name,class:"mb-4 text-base text-gray-900 input_tr_show dark:text-white"},e.toDisplayString(t.model_value),9,al),sl],2)):e.createCommentVNode("",!0),t.show?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["mb-4",t.field_name])},[e.createElementVNode("label",{class:e.normalizeClass({"gl-label-form":t.error_message=="","gl-label-form-invalid":t.error_message!=="",required:t.is_required}),for:t.field_name},e.toDisplayString(t.label_name),11,il),e.createElementVNode("textarea",{required:t.is_required,name:t.field_name,id:t.field_name,class:e.normalizeClass({" gl-textarea-form mt-4 ":t.error_message==""," gl-textarea-form-invalid mt-4 ":t.error_message!==""}),type:t.type,onInput:s[0]||(s[0]=d=>i.$emit("update:modelValue",d.target.value)),ref_key:"input",ref:l,rows:"4",placeholder:t.place_holder},null,42,dl),e.createElementVNode("span",cl,e.toDisplayString(t.error_message),1),e.createElementVNode("small",ml,e.toDisplayString(t.description),1)],2))],64))}},gl={compatConfig:{MODE:3},inheritAttrs:!1,emits:["pagination-change-page"],components:{RenderlessPagination:{emits:["pagination-change-page"],props:{data:{type:Object,default:()=>{}},limit:{type:Number,default:0}},computed:{isApiResource(){return!!this.data.meta},currentPage(){return this.isApiResource?this.data.meta.current_page:this.data.current_page},firstPageUrl(){return this.isApiResource?this.data.links.first:null},from(){return this.isApiResource?this.data.meta.from:this.data.from},lastPage(){return this.isApiResource?this.data.meta.last_page:this.data.last_page},lastPageUrl(){return this.isApiResource?this.data.links.last:null},nextPageUrl(){return this.isApiResource?this.data.links.next:this.data.next_page_url},perPage(){return this.isApiResource?this.data.meta.per_page:this.data.per_page},prevPageUrl(){return this.isApiResource?this.data.links.prev:this.data.prev_page_url},to(){return this.isApiResource?this.data.meta.to:this.data.to},total(){return this.isApiResource?this.data.meta.total:this.data.total},pageRange(){if(this.limit===-1)return 0;if(this.limit===0)return this.lastPage;for(var t=this.currentPage,r=this.lastPage,o=this.limit,n=t-o,a=t+o+1,l=[],i=[],s,d=1;d<=r;d++)(d===1||d===r||d>=n&&d<a)&&l.push(d);return l.forEach(function(c){s&&(c-s===2?i.push(s+1):c-s!==1&&i.push("...")),i.push(c),s=c}),i}},methods:{previousPage(){this.selectPage(this.currentPage-1)},nextPage(){this.selectPage(this.currentPage+1)},selectPage(t){t!=="..."&&this.$emit("pagination-change-page",t)}},render(){return this.$slots.default({data:this.data,limit:this.limit,computed:{isApiResource:this.isApiResource,currentPage:this.currentPage,firstPageUrl:this.firstPageUrl,from:this.from,lastPage:this.lastPage,lastPageUrl:this.lastPageUrl,nextPageUrl:this.nextPageUrl,perPage:this.perPage,prevPageUrl:this.prevPageUrl,to:this.to,total:this.total,pageRange:this.pageRange},prevButtonEvents:{click:t=>{t.preventDefault(),this.previousPage()}},nextButtonEvents:{click:t=>{t.preventDefault(),this.nextPage()}},pageButtonEvents:t=>({click:r=>{r.preventDefault(),this.selectPage(t)}})})}}},props:{data:{type:Object,default:()=>{}},limit:{type:Number,default:0},showDisabled:{type:Boolean,default:!1},size:{type:String,default:"default",validator:t=>["small","default","large"].indexOf(t)!==-1},align:{type:String,default:"left",validator:t=>["left","center","right"].indexOf(t)!==-1}},methods:{onPaginationChangePage(t){this.$emit("pagination-change-page",t)}},mounted(){}},hl={class:"flex flex-col items-center"},ul={key:0,class:"text-sm text-gray-700 dark:text-gray-400"},pl={class:"font-semibold text-gray-900 dark:text-white"},_l={class:"font-semibold text-gray-900 dark:text-white"},yl={class:"font-semibold text-gray-900 dark:text-white"},bl=["tabindex"],kl=e.createElementVNode("span",{class:"sr-only"},"Previous",-1),xl=e.createElementVNode("svg",{class:"w-2.5 h-2.5 rtl:rotate-180","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 6 10"},[e.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 1 1 5l4 4"})],-1),wl=["aria-current"],El=["tabindex"],Nl=e.createElementVNode("span",{class:"sr-only"},"Next",-1),Vl=e.createElementVNode("svg",{class:"w-2.5 h-2.5 rtl:rotate-180","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 6 10"},[e.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 9 4-4-4-4"})],-1);function Bl(t,r,o,n,a,l){const i=e.resolveComponent("RenderlessPagination");return e.openBlock(),e.createBlock(i,{data:o.data,limit:o.limit,onPaginationChangePage:l.onPaginationChangePage},{default:e.withCtx(s=>[e.createElementVNode("div",hl,[s.computed.total>s.computed.perPage?(e.openBlock(),e.createElementBlock("span",ul,[e.createTextVNode(" Showing "),e.createElementVNode("span",pl,e.toDisplayString(s.computed.from),1),e.createTextVNode(" to "),e.createElementVNode("span",_l,e.toDisplayString(s.computed.to),1),e.createTextVNode(" of "),e.createElementVNode("span",yl,e.toDisplayString(s.computed.total),1),e.createTextVNode(" Entries ")])):e.createCommentVNode("",!0),s.computed.total>s.computed.perPage?(e.openBlock(),e.createElementBlock("ul",e.mergeProps({key:1},t.$attrs,{class:["flex items-center h-8 -space-x-px text-sm",{"pagination-sm":o.size=="small","pagination-lg":o.size=="large","justify-content-center":o.align=="center","justify-content-end":o.align=="right"}]}),[s.computed.prevPageUrl||o.showDisabled?(e.openBlock(),e.createElementBlock("li",{key:0,class:e.normalizeClass(["flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 ms-0 border-e-0 rounded-s-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white",{disabled:!s.computed.prevPageUrl}])},[e.createElementVNode("a",e.mergeProps({class:"page-link",href:"#","aria-label":"Previous",tabindex:!s.computed.prevPageUrl&&-1},e.toHandlers(s.prevButtonEvents,!0)),[e.renderSlot(t.$slots,"prev-nav",{},()=>[kl,xl])],16,bl)],2)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.computed.pageRange,(d,c)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass(["",{active:d==s.computed.currentPage}]),key:c},[e.createElementVNode("a",e.mergeProps({class:"",href:"#"},e.toHandlers(s.pageButtonEvents(d),!0),{"aria-current":d==s.computed.currentPage?"page":null,class:d==s.computed.currentPage?"z-10 flex items-center justify-center px-3 h-8 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white":"flex items-center justify-center px-3 h-8 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"}),e.toDisplayString(d),17,wl)],2))),128)),s.computed.nextPageUrl||o.showDisabled?(e.openBlock(),e.createElementBlock("li",{key:1,class:e.normalizeClass(["flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 rounded-e-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white",{disabled:!s.computed.nextPageUrl}])},[e.createElementVNode("a",e.mergeProps({class:"",href:"#","aria-label":"Next",tabindex:!s.computed.nextPageUrl&&-1},e.toHandlers(s.nextButtonEvents,!0)),[e.renderSlot(t.$slots,"next-nav",{},()=>[Nl,Vl])],16,El)],2)):e.createCommentVNode("",!0)],16)):e.createCommentVNode("",!0)])]),_:3},8,["data","limit","onPaginationChangePage"])}const he=y(gl,[["render",Bl]]),Cl={components:{TailwindPagination:he},props:{data:Array,columns:Array,get_item_url:String,xprops:Object,refreshData:Boolean},data(){return{isMounted:!1,limit:5,showDisabled:!1,size:"default",align:"left",search:"",isDropdownOpen:!1,itemLists:[],tableData:[],sortField:this.columns[0].field_name,sortOrder:"asc",pageOptions:[5,10,20,50],perPage:5,page:1}},computed:{filteredData(){const t=this.search.toLowerCase();return this.sortData(this.data).filter(o=>Object.values(o).some(n=>n.toString().toLowerCase().includes(t)))}},methods:{forDynCompIs(t){return typeof t=="object"?t:null},GetItemLists(t=1){this.page=t;const r={sort:this.sortField,order:this.sortOrder,s:this.search,limit:this.perPage,page:this.page};axios.get(this.xprops.route_get_data,{params:r}).then(o=>{this.itemLists=o.data}).catch(o=>{console.error(o)})},updateSortColumn(t,r){r&&(t===this.sortField?this.sortOrder=this.sortOrder==="asc"?"desc":"asc":(this.sortField=t,this.sortOrder="asc"),this.GetItemLists(this.page))},handleSearch(){this.sortField=this.columns[0].field_name,this.sortOrder="asc",this.page=1,this.GetItemLists(this.page)}},beforeDestroy(){},mounted(){this.GetItemLists(),this.isMounted=!0},watch:{searchFilter(){this.filteredOptions.length===0?this.selected={}:this.selected=this.filteredOptions[0]},perPage(t){this.page=1,this.perPage=t,this.GetItemLists(this.page)},refreshData(t,r){this.isMounted&&t!==r&&this.GetItemLists()}}},Sl={class:"p-2"},$l={class:"flex flex-col flex-wrap pb-4 space-y-4 xl:flex-row xl:items-center xl:justify-between flex-column sm:space-y-0"},Dl={class:"flex items-center gap-2"},Ol=e.createElementVNode("span",{class:"font-medium"}," Show ",-1),Pl={style:{"margin-top":"9px"}},Tl=e.createElementVNode("span",{class:"font-medium"}," Entries ",-1),jl=e.createElementVNode("label",{for:"table-search",class:"sr-only"},"Search",-1),Ml={class:"relative"},Al=e.createElementVNode("div",{class:"absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3"},[e.createElementVNode("svg",{class:"w-5 h-5 text-gray-500 dark:text-gray-400","aria-hidden":"true",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z","clip-rule":"evenodd"})])],-1),Il={class:"overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800"},Ll={class:"w-full h-full max-w-full overflow-hidden bg-white border-separate xl:overflow-auto lg:border-collapse border-spacing-y-3 lg:border-spacing-y-0 dark:border-strokedark dark:bg-boxdark"},Fl={class:"hidden text-sm font-normal text-center text-gray-700 uppercase lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400"},zl=["onClick"],Gl={key:0,class:"ml-2"},vl={key:0,class:"fa fa-arrow-up"},Rl={key:1,class:"fa fa-arrow-down"},Ul=["data-label"],ql={class:"overflow-auto max-h-40"},Hl={class:"flex items-center justify-between px-4 py-3 bg-white border-gray-200 sm:px-6 dark:text-gray-400 dark:bg-gray-800"};function Zl(t,r,o,n,a,l){const i=e.resolveComponent("dropdown"),s=e.resolveComponent("TailwindPagination");return e.openBlock(),e.createElementBlock("div",Sl,[e.createElementVNode("div",$l,[e.createElementVNode("div",Dl,[Ol,e.createElementVNode("div",Pl,[e.createVNode(i,{has_cancel:!1,options:a.pageOptions,modelValue:a.perPage,"onUpdate:modelValue":r[0]||(r[0]=d=>a.perPage=d),is_required:!1,field_name:"perPage",label_name:"",default_value:5,show:!1,placeholder:"Please select an option"},null,8,["options","modelValue"])]),Tl]),jl,e.createElementVNode("div",Ml,[Al,e.withDirectives(e.createElementVNode("input",{type:"text","onUpdate:modelValue":r[1]||(r[1]=d=>a.search=d),onInput:r[2]||(r[2]=d=>l.handleSearch()),class:"block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Search ..."},null,544),[[e.vModelText,a.search]])])]),e.createElementVNode("div",Il,[e.createElementVNode("table",Ll,[e.createElementVNode("thead",Fl,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.columns,(d,c)=>(e.openBlock(),e.createElementBlock("th",{key:c,onClick:m=>l.updateSortColumn(d.field_name,d.sortable),class:"w-full px-4 py-2 lg:w-2/12"},[e.createTextVNode(e.toDisplayString(d.field_label)+" ",1),a.sortField===d.field_name?(e.openBlock(),e.createElementBlock("span",Gl,[a.sortOrder==="asc"?(e.openBlock(),e.createElementBlock("i",vl)):(e.openBlock(),e.createElementBlock("i",Rl))])):e.createCommentVNode("",!0)],8,zl))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.itemLists.data,(d,c)=>(e.openBlock(),e.createElementBlock("tr",{key:c,class:"bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.columns,(m,g)=>(e.openBlock(),e.createElementBlock("td",{key:g,"data-label":m.field_label,class:"text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-2.5 lg:px-4 border dark:border-gray-700"},[e.createElementVNode("div",ql,[m.tdComp?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.forDynCompIs(m.tdComp)),{key:0,row:d,field:m.field_name,xprops:o.xprops,tdProps:m.tdProps,onDeleteAction:r[3]||(r[3]=u=>l.GetItemLists())},null,40,["row","field","xprops","tdProps"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(d[m.field_name]),1)],64))])],8,Ul))),128))]))),128))])])]),e.createElementVNode("div",Hl,[e.createVNode(s,{class:"mt-3 mb-0",data:a.itemLists,limit:a.limit,size:a.size,align:a.align,onPaginationChangePage:l.GetItemLists},null,8,["data","limit","size","align","onPaginationChangePage"])])])}const Kl=y(Cl,[["render",Zl]]),Wl={components:{},props:{data:Array,columns:Array},data(){return{showNoOfEntries:[1,2,3,10,20,30,40],search:"",isDropdownOpen:!1,sortKey:"",sortOrder:1,currentPage:1,itemsPerPage:10,jumpToPage:"",maxDisplayedPages:10}},computed:{filteredData(){const t=this.search.toLowerCase();return this.sortData(this.data).filter(o=>Object.values(o).some(n=>n!=null&&n.toString().toLowerCase().includes(t)))},totalPages(){return Math.ceil(this.filteredData.length/this.itemsPerPage)},paginatedData(){const t=(this.currentPage-1)*this.itemsPerPage,r=t+this.itemsPerPage;return this.filteredData.slice(t,r)},displayedPageNumbers(){let t=Math.max(this.currentPage-Math.floor(this.maxDisplayedPages/2),1),r=t+this.maxDisplayedPages-1;return r>this.totalPages&&(r=this.totalPages,t=Math.max(r-this.maxDisplayedPages+1,1)),Array.from({length:r-t+1},(o,n)=>t+n)},firstItemIndex(){return this.itemsPerPage*(this.currentPage-1)+1},lastItemIndex(){const t=this.itemsPerPage*this.currentPage;return t>this.filteredData.length?this.filteredData.length:t}},methods:{handleItemsPerPageChange(t){this.itemsPerPage=t},goToPage(t){t>=1&&t<=this.totalPages&&(this.currentPage=t)},sort(t){t===this.sortKey?this.sortOrder*=-1:(this.sortKey=t,this.sortOrder=1)},sortData(t){return this.sortKey?t.slice().sort((r,o)=>(r[this.sortKey]<o[this.sortKey]?-1:1)*this.sortOrder):t},previousPage(){this.currentPage>1&&this.currentPage--},nextPage(){this.currentPage<this.totalPages&&this.currentPage++},firstPage(){this.currentPage=1},lastPage(){this.currentPage=this.totalPages},goToPage(t){t>=1&&t<=this.totalPages&&(this.currentPage=t)},onJumpToPageChange(){const t=parseInt(this.jumpToPage);t>=1&&t<=this.totalPages&&(this.jumpToPage=t)},jumpToPageButton(){this.jumpToPage>=1&&this.jumpToPage<=this.totalPages&&(this.currentPage=this.jumpToPage)},closeBoxOnbodyClick(){event.target.closest(".main_box_close")||(this.isDropdownOpen=!1)}},beforeDestroy(){document.body.removeEventListener("click",this.closeBoxOnbodyClick)},mounted(){document.body.addEventListener("click",this.closeBoxOnbodyClick)}},Xl={class:"p-2"},Yl={class:"flex flex-wrap pb-4 space-y-4 md:items-center md:justify-between flex-column sm:flex-row sm:space-y-0"},Jl={class:"flex items-center gap-2"},Ql=e.createElementVNode("span",{class:"font-medium"}," Show ",-1),ea={style:{"margin-top":"9px"}},ta=e.createElementVNode("span",{class:"font-medium"}," Entries ",-1),ra=e.createElementVNode("label",{for:"table-search",class:"sr-only"},"Search",-1),oa={class:"relative"},na=e.createElementVNode("div",{class:"absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3"},[e.createElementVNode("svg",{class:"w-5 h-5 text-gray-500 dark:text-gray-400","aria-hidden":"true",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z","clip-rule":"evenodd"})])],-1),la={class:"overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800"},aa={class:"w-full h-full max-w-full overflow-hidden bg-white border-separate xl:overflow-auto lg:border-collapse border-spacing-y-3 lg:border-spacing-y-0 dark:border-strokedark dark:bg-boxdark"},sa={class:"hidden text-sm font-normal text-center text-gray-700 uppercase lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400"},ia=["onClick"],da={key:0,class:"ml-2"},ca=["data-label"],ma=["innerHTML"],fa={class:"flex items-center justify-between px-4 py-3 bg-white border-gray-200 sm:px-6 dark:text-gray-400 dark:bg-gray-800"},ga={class:"flex justify-between flex-1 sm:hidden"},ha=["disabled"],ua=["disabled"],pa={class:"hidden sm:flex sm:flex-1 sm:items-center sm:justify-between"},_a={class:"text-sm text-gray-700 dark:text-gray-400"},ya={class:"font-medium"},ba={class:"font-medium"},ka={class:"font-medium"},xa={"aria-label":"Page navigation"},wa={class:"flex items-center h-8 -space-x-px text-sm"},Ea=["disabled"],Na=[e.createElementVNode("span",{class:"sr-only"},"Previous",-1),e.createElementVNode("svg",{class:"w-2.5 h-2.5 rtl:rotate-180","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 6 10"},[e.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 1 1 5l4 4"})],-1)],Va=["onClick"],Ba=["onClick"],Ca=["disabled"],Sa=[e.createElementVNode("span",{class:"sr-only"},"Next",-1),e.createElementVNode("svg",{class:"w-2.5 h-2.5 rtl:rotate-180","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 6 10"},[e.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 9 4-4-4-4"})],-1)];function $a(t,r,o,n,a,l){const i=e.resolveComponent("dropdown");return e.openBlock(),e.createElementBlock("div",Xl,[e.createElementVNode("div",Yl,[e.createElementVNode("div",Jl,[Ql,e.createElementVNode("div",ea,[e.createVNode(i,{has_cancel:!1,options:a.showNoOfEntries,modelValue:a.itemsPerPage,"onUpdate:modelValue":r[0]||(r[0]=s=>a.itemsPerPage=s),is_required:!1,field_name:"NoOfEntries",label_name:"",default_value:"10",show:!1,placeholder:"Please select an option"},null,8,["options","modelValue"])]),ta]),ra,e.createElementVNode("div",oa,[na,e.withDirectives(e.createElementVNode("input",{type:"text","onUpdate:modelValue":r[1]||(r[1]=s=>a.search=s),class:"block p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 w-80 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Search ..."},null,512),[[e.vModelText,a.search]])])]),e.createElementVNode("div",la,[e.createElementVNode("table",aa,[e.createElementVNode("thead",sa,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.columns,(s,d)=>(e.openBlock(),e.createElementBlock("th",{key:d,onClick:c=>l.sort(s),class:"w-full px-4 py-2 lg:w-2/12"},[e.createTextVNode(e.toDisplayString(s)+" ",1),a.sortKey===s?(e.openBlock(),e.createElementBlock("span",da,e.toDisplayString(a.sortOrder===1?"▲":"▼"),1)):e.createCommentVNode("",!0)],8,ia))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.paginatedData,(s,d)=>(e.openBlock(),e.createElementBlock("tr",{key:d,class:"bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.columns,(c,m)=>(e.openBlock(),e.createElementBlock("td",{key:m,"data-label":c,class:"text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-2.5 lg:px-4 border dark:border-gray-700"},[e.createElementVNode("p",{class:"text-pretty",innerHTML:s[m]},null,8,ma)],8,ca))),128))]))),128))])])]),e.createElementVNode("div",fa,[e.createElementVNode("div",ga,[e.createElementVNode("a",{href:"#",onClick:r[2]||(r[2]=(...s)=>l.previousPage&&l.previousPage(...s)),disabled:a.currentPage===1,class:"relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"},"Previous",8,ha),e.createElementVNode("a",{href:"#",onClick:r[3]||(r[3]=(...s)=>l.nextPage&&l.nextPage(...s)),disabled:a.currentPage===l.totalPages,class:"relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"},"Next",8,ua)]),e.createElementVNode("div",pa,[e.createElementVNode("div",null,[e.createElementVNode("p",_a,[e.createTextVNode(" Showing "),e.createElementVNode("span",ya,e.toDisplayString(l.firstItemIndex),1),e.createTextVNode(" to "),e.createElementVNode("span",ba,e.toDisplayString(l.lastItemIndex),1),e.createTextVNode(" of "),e.createElementVNode("span",ka,e.toDisplayString(l.filteredData.length),1),e.createTextVNode(" entries ")])]),e.createElementVNode("div",null,[e.createElementVNode("nav",xa,[e.createElementVNode("ul",wa,[e.createElementVNode("li",null,[e.createElementVNode("a",{href:"#",onClick:r[4]||(r[4]=(...s)=>l.previousPage&&l.previousPage(...s)),disabled:a.currentPage===1,class:"flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 ms-0 border-e-0 rounded-s-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"},Na,8,Ea)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.displayedPageNumbers,s=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:s},[e.createElementVNode("li",null,[a.currentPage!==s?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:d=>l.goToPage(s),class:"flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"},e.toDisplayString(s),9,Va)):e.createCommentVNode("",!0)]),e.createElementVNode("li",null,[a.currentPage===s?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:d=>l.goToPage(s),"aria-current":"page",class:"z-10 flex items-center justify-center h-8 px-3 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white"},e.toDisplayString(s),9,Ba)):e.createCommentVNode("",!0)])],64))),128)),e.createElementVNode("li",null,[e.createElementVNode("a",{href:"#",onClick:r[5]||(r[5]=(...s)=>l.nextPage&&l.nextPage(...s)),disabled:a.currentPage===l.totalPages,class:"flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 rounded-e-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"},Sa,8,Ca)])])])])])])])}const Da=y(Wl,[["render",$a]]),Oa={class:"flex items-center p-4 text-gray-500 bg-white rounded-lg shadow dark:bg-gray-800 dark:text-gray-400",role:"alert"},Pa={key:0,class:"inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-green-500 bg-green-100 rounded-lg dark:bg-green-800 dark:text-green-200"},Ta=[e.createElementVNode("svg",{class:"w-5 h-5","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20"},[e.createElementVNode("path",{d:"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z"})],-1),e.createElementVNode("span",{class:"sr-only"},"Check icon",-1)],ja={key:1,class:"inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-red-500 bg-red-100 rounded-lg dark:bg-red-800 dark:text-red-200"},Ma=[e.createElementVNode("svg",{class:"w-5 h-5","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20"},[e.createElementVNode("path",{d:"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 11.793a1 1 0 1 1-1.414 1.414L10 11.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L8.586 10 6.293 7.707a1 1 0 0 1 1.414-1.414L10 8.586l2.293-2.293a1 1 0 0 1 1.414 1.414L11.414 10l2.293 2.293Z"})],-1),e.createElementVNode("span",{class:"sr-only"},"Error icon",-1)],Aa={key:2,class:"inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-orange-500 bg-orange-100 rounded-lg dark:bg-orange-700 dark:text-orange-200"},Ia=[e.createElementVNode("svg",{class:"w-5 h-5","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20"},[e.createElementVNode("path",{d:"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM10 15a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm1-4a1 1 0 0 1-2 0V6a1 1 0 0 1 2 0v5Z"})],-1),e.createElementVNode("span",{class:"sr-only"},"Warning icon",-1)],La={class:"ml-3 text-sm font-normal"},Fa=[e.createElementVNode("span",{class:"sr-only"},"Close",-1),e.createElementVNode("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)],za={__name:"ToastListItem",props:{message:String,duration:{type:Number,default:2e3},type:{type:String,default:"success"}},emits:["remove"],setup(t,{emit:r}){const o=t;e.onMounted(()=>{setTimeout(()=>n("remove"),o.duration)});const n=r;return(a,l)=>(e.openBlock(),e.createElementBlock("div",Oa,[o.type==="success"?(e.openBlock(),e.createElementBlock("div",Pa,Ta)):e.createCommentVNode("",!0),o.type==="error"?(e.openBlock(),e.createElementBlock("div",ja,Ma)):e.createCommentVNode("",!0),o.type==="warning"?(e.openBlock(),e.createElementBlock("div",Aa,Ia)):e.createCommentVNode("",!0),e.createElementVNode("div",La,e.toDisplayString(o.message),1),e.createElementVNode("button",{onClick:l[0]||(l[0]=i=>n("remove")),type:"button",class:"-mx-1.5 -my-1.5 ml-auto inline-flex h-8 w-8 rounded-lg bg-white p-1.5 text-gray-400 hover:bg-gray-100 hover:text-gray-900 focus:ring-2 focus:ring-gray-300 dark:bg-gray-800 dark:text-gray-500 dark:hover:bg-gray-700 dark:hover:text-white","data-dismiss-target":"#toast-default","aria-label":"Close"},Fa)]))}},v=e.reactive({items:[]}),R={state:v,methods:{add(t){v.items.unshift({key:Symbol(),message:t.message,type:t.type,duration:t.duration})},remove(t){v.items.splice(t,1)}}},Ga={__name:"GlToastList",setup(t){function r(o){R.methods.remove(o)}return(o,n)=>(e.openBlock(),e.createBlock(e.TransitionGroup,{tag:"div","enter-from-class":"translate-x-full opacity-0","enter-active-class":"duration-500","leave-active-class":"duration-500","leave-to-class":"translate-x-full opacity-0",class:"fixed z-50 w-full max-w-xs space-y-4 top-4 right-4"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(R).state.items,(a,l)=>(e.openBlock(),e.createBlock(za,{key:a.key,message:a.message,type:a.type,duration:a.duration,onRemove:i=>r(l)},null,8,["message","type","duration","onRemove"]))),128))]),_:1}))}},va={key:0,class:"flex justify-center"},Ra=[e.createElementVNode("svg",{class:"w-5 h-5","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 4 15"},[e.createElementVNode("path",{d:"M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"})],-1)],Ua={class:"absolute z-10 mt-5 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600"},qa={class:"py-2 text-sm text-gray-700 dark:text-gray-200","aria-labelledby":"dropdownDividerButton"},Ha={key:0},Za=["href"],Ka=e.createElementVNode("i",{class:"mr-2 fa-solid fa-list-ul opacity-80"},null,-1),Wa={key:1},Xa=e.createElementVNode("i",{class:"mr-2 fa-solid fa-trash-can opacity-80"},null,-1),Ya={__name:"DatatableAction",props:{field:{type:String,default:""},route_url:{type:String,default:""},row:{type:[Array,Object],default:[]},xprops:{type:Object,default:{}},tdProps:{type:Object,default:{}}},emits:["deleteAction"],setup(t,{emit:r}){const o=W(),n=t,a=e.ref(!1),l=e.ref(!1),i=()=>{a.value=!1},s=()=>{a.value=!0},d=()=>{l.value=!1},c=()=>{l.value=!0},m=r,g=()=>{axios.delete(`${n.xprops.route}/${n.row.id}`).then(()=>{d(),m("deleteAction"),o.commit("notification/SHOW_NOTIFICATION",{message:"Item deleted successfully.",type:"success",duration:5e3})}).catch(u=>{console.log(u)})};return(u,p)=>{const S=e.resolveDirective("click-outside");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(P,{isOpen:l.value,onConfirmDelete:g,onCancelDelete:d},null,8,["isOpen"]),t.row&&u.can(`edit_${t.xprops.permission} || delete_${t.xprops.permission}`)?e.withDirectives((e.openBlock(),e.createElementBlock("div",va,[e.createElementVNode("button",{onClick:s,class:"inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",type:"button"},Ra),e.withDirectives(e.createElementVNode("div",Ua,[e.createElementVNode("ul",qa,[u.can(`edit_${t.xprops.permission}`)?(e.openBlock(),e.createElementBlock("li",Ha,[e.createElementVNode("a",{href:t.xprops.route+"/"+t.row.id+"/edit",class:"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"},[Ka,e.createTextVNode(" Edit")],8,Za)])):e.createCommentVNode("",!0),u.can(`delete_${t.xprops.permission}`)?(e.openBlock(),e.createElementBlock("li",Wa,[e.createElementVNode("a",{href:"#",onClick:e.withModifiers(c,["prevent"]),class:"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"},[Xa,e.createTextVNode(" Remove")])])):e.createCommentVNode("",!0)])],512),[[e.vShow,a.value]])])),[[S,i]]):e.createCommentVNode("",!0)],64)}}},Ja={key:0,class:"flex justify-center"},Qa=[e.createElementVNode("svg",{class:"w-5 h-5","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 4 15"},[e.createElementVNode("path",{d:"M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"})],-1)],es={class:"absolute z-10 mt-5 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600"},ts={class:"py-2 text-sm text-gray-700 dark:text-gray-200","aria-labelledby":"dropdownDividerButton"},rs={key:0},os=e.createElementVNode("i",{class:"mr-2 fa-solid fa-trash-can opacity-80"},null,-1),ns={__name:"DatatableDeleteAction",props:{field:{type:String,default:""},route_url:{type:String,default:""},row:{type:[Array,Object],default:[]},xprops:{type:Object,default:{}},tdProps:{type:Object,default:{}}},emits:["deleteAction"],setup(t,{emit:r}){const o=W(),n=t,a=e.ref(!1),l=e.ref(!1),i=()=>{a.value=!1},s=()=>{a.value=!0},d=()=>{l.value=!1},c=()=>{l.value=!0},m=r,g=()=>{axios.delete(`${n.xprops.route}/${n.row.id}`).then(()=>{d(),m("deleteAction"),o.commit("notification/SHOW_NOTIFICATION",{message:"Item deleted successfully.",type:"success",duration:5e3})}).catch(u=>{console.log(u)})};return(u,p)=>{const S=e.resolveDirective("click-outside");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(P,{isOpen:l.value,onConfirmDelete:g,onCancelDelete:d},null,8,["isOpen"]),t.row&&u.can(`delete_${t.xprops.permission}`)?e.withDirectives((e.openBlock(),e.createElementBlock("div",Ja,[e.createElementVNode("button",{onClick:s,class:"inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",type:"button"},Qa),e.withDirectives(e.createElementVNode("div",es,[e.createElementVNode("ul",ts,[u.can(`delete_${t.xprops.permission}`)?(e.openBlock(),e.createElementBlock("li",rs,[e.createElementVNode("a",{href:"#",onClick:e.withModifiers(c,["prevent"]),class:"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"},[os,e.createTextVNode(" Remove")])])):e.createCommentVNode("",!0)])],512),[[e.vShow,a.value]])])),[[S,i]]):e.createCommentVNode("",!0)],64)}}},ls={props:["field","row"],computed:{isArray(){return Array.isArray(this.row)},isObject(){return typeof this.row=="object"},isString(){return typeof this.row=="string"}},mounted(){console.log("row : ",this.row)}},as=["href","title"],ss=e.createElementVNode("svg",{class:"w-3 h-3 text-white me-2","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M13 11.15V4a1 1 0 1 0-2 0v7.15L8.78 8.374a1 1 0 1 0-1.56 1.25l4 5a1 1 0 0 0 1.56 0l4-5a1 1 0 1 0-1.56-1.25L13 11.15Z","clip-rule":"evenodd"}),e.createElementVNode("path",{"fill-rule":"evenodd",d:"M9.657 15.874 7.358 13H5a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2.358l-2.3 2.874a3 3 0 0 1-4.685 0ZM17 16a1 1 0 1 0 0 2h.01a1 1 0 1 0 0-2H17Z","clip-rule":"evenodd"})],-1),is={key:1,class:"m-1 d-inline-block"},ds=["href","title"],cs=e.createElementVNode("svg",{class:"w-3 h-3 text-white me-2","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M13 11.15V4a1 1 0 1 0-2 0v7.15L8.78 8.374a1 1 0 1 0-1.56 1.25l4 5a1 1 0 0 0 1.56 0l4-5a1 1 0 1 0-1.56-1.25L13 11.15Z","clip-rule":"evenodd"}),e.createElementVNode("path",{"fill-rule":"evenodd",d:"M9.657 15.874 7.358 13H5a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2.358l-2.3 2.874a3 3 0 0 1-4.685 0ZM17 16a1 1 0 1 0 0 2h.01a1 1 0 1 0 0-2H17Z","clip-rule":"evenodd"})],-1);function ms(t,r,o,n,a,l){return e.openBlock(),e.createElementBlock("div",null,[l.isArray?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(o.row,(i,s)=>(e.openBlock(),e.createElementBlock("div",{key:s,class:"m-1 d-inline-block"},[e.createElementVNode("a",{href:i,title:i,target:"_blank",class:"inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[ss,e.createTextVNode(" Download ")],8,as)]))),128)):l.isString?(e.openBlock(),e.createElementBlock("div",is,[e.createElementVNode("a",{href:o.row,title:o.row,target:"_blank",class:"inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[cs,e.createTextVNode(" Download ")],8,ds)])):e.createCommentVNode("",!0)])}const fs=y(ls,[["render",ms]]),gs={props:["field","row"],computed:{isArray(){return Array.isArray(this.row[this.field])},isObject(){return typeof this.row[this.field]=="object"}}},hs=["href","title"],us=e.createElementVNode("svg",{class:"w-3 h-3 text-white me-2","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M13 11.15V4a1 1 0 1 0-2 0v7.15L8.78 8.374a1 1 0 1 0-1.56 1.25l4 5a1 1 0 0 0 1.56 0l4-5a1 1 0 1 0-1.56-1.25L13 11.15Z","clip-rule":"evenodd"}),e.createElementVNode("path",{"fill-rule":"evenodd",d:"M9.657 15.874 7.358 13H5a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2.358l-2.3 2.874a3 3 0 0 1-4.685 0ZM17 16a1 1 0 1 0 0 2h.01a1 1 0 1 0 0-2H17Z","clip-rule":"evenodd"})],-1),ps={key:1,class:"m-1 d-inline-block"},_s=["href","title"],ys=e.createElementVNode("svg",{class:"w-3 h-3 text-white me-2","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M13 11.15V4a1 1 0 1 0-2 0v7.15L8.78 8.374a1 1 0 1 0-1.56 1.25l4 5a1 1 0 0 0 1.56 0l4-5a1 1 0 1 0-1.56-1.25L13 11.15Z","clip-rule":"evenodd"}),e.createElementVNode("path",{"fill-rule":"evenodd",d:"M9.657 15.874 7.358 13H5a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2.358l-2.3 2.874a3 3 0 0 1-4.685 0ZM17 16a1 1 0 1 0 0 2h.01a1 1 0 1 0 0-2H17Z","clip-rule":"evenodd"})],-1);function bs(t,r,o,n,a,l){return e.openBlock(),e.createElementBlock("div",null,[l.isArray?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(o.row[o.field],i=>(e.openBlock(),e.createElementBlock("div",{key:i.id,class:"m-1 d-inline-block"},[e.createElementVNode("a",{href:i.url,title:i.name,target:"_blank",class:"inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[us,e.createTextVNode(" Download ")],8,hs)]))),128)):l.isObject?(e.openBlock(),e.createElementBlock("div",ps,[e.createElementVNode("a",{href:o.row[o.field].url,title:o.row[o.field].name,target:"_blank",class:"inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[ys,e.createTextVNode(" Download ")],8,_s)])):e.createCommentVNode("",!0)])}const ks=y(gs,[["render",bs]]),xs={props:["field","row","tdProps"]},ws={key:0},Es=["innerHTML"];function Ns(t,r,o,n,a,l){return o.row[o.field]?(e.openBlock(),e.createElementBlock("div",ws,[e.createElementVNode("div",{class:"w-full",innerHTML:o.row[o.field]},null,8,Es)])):e.createCommentVNode("",!0)}const Vs=y(xs,[["render",Ns]]),Bs={props:["field","row","tdProps"],computed:{entry(){const[t,r]=this.field.split(".");return e.markRaw({key:t,field:r})},isArray(){return Array.isArray(this.row[this.entry.key])},isObject(){return typeof this.row[this.entry.key]=="object"}}},Cs={class:"flex flex-wrap gap-2"},Ss={key:1,class:"px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"};function $s(t,r,o,n,a,l){return e.openBlock(),e.createElementBlock("div",Cs,[l.isArray?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(o.row[l.entry.key],(i,s)=>(e.openBlock(),e.createElementBlock("span",{key:s,class:"px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"},e.toDisplayString(i[l.entry.field]),1))),128)):l.isObject?(e.openBlock(),e.createElementBlock("span",Ss,e.toDisplayString(o.row[l.entry.key][l.entry.field]),1)):e.createCommentVNode("",!0)])}const Ds=y(Bs,[["render",$s]]),Os={props:["field","row","tdProps"]},Ps={key:0},Ts={class:"m-1 d-inline-block"},js=["href","title"],Ms=["src","alt","title"];function As(t,r,o,n,a,l){return o.row[o.field]?(e.openBlock(),e.createElementBlock("div",Ps,[e.createElementVNode("div",Ts,[e.createElementVNode("a",{href:o.row[o.field].url,title:o.row[o.field].name,target:"_blank"},[e.createElementVNode("img",{src:o.row[o.field].thumbnail,alt:o.row[o.field].name,title:o.row[o.field].name},null,8,Ms)],8,js)])])):e.createCommentVNode("",!0)}const Is=y(Os,[["render",As],["__scopeId","data-v-3a28c02c"]]),Ls={props:["field","row","tdProps"],computed:{isActive(){return this.row[this.field]===1}}},Fs={class:"flex flex-wrap gap-2"},zs={key:0,class:"inline-flex items-center px-2 py-1 text-xs font-medium text-green-800 bg-green-100 rounded-full dark:bg-green-900 dark:text-green-300"},Gs=e.createElementVNode("span",{class:"w-2 h-2 bg-green-500 rounded-full me-1"},null,-1),vs={key:1,class:"inline-flex items-center bg-red-100 text-red-800 text-xs font-medium px-2.5 py-0.5 rounded-full dark:bg-red-900 dark:text-red-300"},Rs=e.createElementVNode("span",{class:"w-2 h-2 bg-red-500 rounded-full me-1"},null,-1);function Us(t,r,o,n,a,l){return e.openBlock(),e.createElementBlock("div",Fs,[l.isActive?(e.openBlock(),e.createElementBlock("span",zs,[Gs,e.createTextVNode(" Active ")])):l.isActive?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",vs,[Rs,e.createTextVNode(" Inactive ")]))])}const qs=y(Ls,[["render",Us]]),Hs={props:["field","row","tdProps"],computed:{hasLabelColor(t){const r=this.tdProps.status_general_labels_color.find(o=>o.label===this.row[this.field]);return r?r.class:""}}},Zs={class:"flex flex-wrap gap-2"},Ks={key:0,class:"inline-flex items-center px-2 py-1 text-xs font-medium text-green-800 bg-green-100 rounded-full dark:bg-green-900 dark:text-green-300"},Ws=e.createElementVNode("span",{class:"w-2 h-2 bg-green-500 rounded-full me-1"},null,-1),Xs={key:1,class:"inline-flex items-center px-2 py-1 text-xs font-medium text-red-800 bg-red-100 rounded-full dark:bg-red-900 dark:text-red-300"},Ys=e.createElementVNode("span",{class:"w-2 h-2 bg-red-500 rounded-full me-1"},null,-1),Js={key:2,class:"inline-flex items-center px-2 py-1 text-xs font-medium text-yellow-800 bg-yellow-100 rounded-full dark:bg-gray-700 dark:text-yellow-300"},Qs=e.createElementVNode("span",{class:"w-2 h-2 bg-yellow-500 rounded-full me-1"},null,-1),ei={key:3,class:"inline-flex items-center px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded-full dark:bg-gray-700 dark:text-blue-400"},ti=e.createElementVNode("span",{class:"w-2 h-2 bg-blue-500 rounded-full me-1"},null,-1);function ri(t,r,o,n,a,l){return e.openBlock(),e.createElementBlock("div",Zs,[l.hasLabelColor=="green"?(e.openBlock(),e.createElementBlock("span",Ks,[Ws,e.createTextVNode(" "+e.toDisplayString(this.row[this.field]),1)])):e.createCommentVNode("",!0),l.hasLabelColor=="red"?(e.openBlock(),e.createElementBlock("span",Xs,[Ys,e.createTextVNode(" "+e.toDisplayString(this.row[this.field]),1)])):e.createCommentVNode("",!0),l.hasLabelColor=="yellow"?(e.openBlock(),e.createElementBlock("span",Js,[Qs,e.createTextVNode(" "+e.toDisplayString(this.row[this.field]),1)])):e.createCommentVNode("",!0),l.hasLabelColor=="default"?(e.openBlock(),e.createElementBlock("span",ei,[ti,e.createTextVNode(" "+e.toDisplayString(this.row[this.field]),1)])):e.createCommentVNode("",!0)])}const oi=y(Hs,[["render",ri]]),ni={props:["isOpen","title","button_text"],methods:{confirmAction(){this.$emit("confirm-action")},cancelAction(){this.$emit("cancel-action")}}},li={key:0,class:"fixed inset-0 z-50 overflow-y-auto",role:"dialog","aria-modal":"true"},ai={class:"flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0"},si=e.createElementVNode("div",{class:"fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75","aria-hidden":"true"},null,-1),ii=e.createElementVNode("span",{class:"hidden sm:inline-block sm:align-middle sm:h-screen","aria-hidden":"true"},"",-1),di={class:"inline-block overflow-hidden text-left align-bottom transition-all transform bg-white rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full"},ci={class:"px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4"},mi={class:"sm:flex sm:items-start"},fi={class:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"},gi={class:"text-lg font-medium leading-6 text-gray-900"},hi={class:"mt-2"},ui={class:"px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse"};function pi(t,r,o,n,a,l){return o.isOpen?(e.openBlock(),e.createElementBlock("div",li,[e.createElementVNode("div",ai,[si,ii,e.createElementVNode("div",di,[e.createElementVNode("div",ci,[e.createElementVNode("div",mi,[e.createElementVNode("div",fi,[e.createElementVNode("h3",gi,e.toDisplayString(o.title),1),e.createElementVNode("div",hi,[e.renderSlot(t.$slots,"default")])])])]),e.createElementVNode("div",ui,[e.createElementVNode("button",{onClick:r[0]||(r[0]=(...i)=>l.confirmAction&&l.confirmAction(...i)),type:"button",class:"inline-flex justify-center w-full px-4 py-2 text-base font-medium text-white bg-red-600 border border-transparent rounded-md shadow-sm hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 sm:ml-3 sm:w-auto sm:text-sm"},e.toDisplayString(o.button_text),1),e.createElementVNode("button",{onClick:r[1]||(r[1]=(...i)=>l.cancelAction&&l.cancelAction(...i)),type:"button",class:"inline-flex justify-center w-full px-4 py-2 mt-3 text-base font-medium text-gray-700 bg-white border border-gray-300 rounded-md shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm"}," Cancel ")])])])])):e.createCommentVNode("",!0)}const _i=y(ni,[["render",pi]]);h.GlButton=br,h.GlCard=Kt,h.GlConfirmationModal=_i,h.GlDataTable=Da,h.GlDataTableServerSide=Kl,h.GlDatatableAction=Ya,h.GlDatatableDeleteAction=ns,h.GlDatatableFileDownload=fs,h.GlDatatableFiles=ks,h.GlDatatableHtml=Vs,h.GlDatatableList=Ds,h.GlDatatablePicture=Is,h.GlDatatableStatus=qs,h.GlDatatableStatusGeneral=oi,h.GlDeleteConfirmationModal=P,h.GlDropdown=nl,h.GlFilesUpload=Dt,h.GlLanguageSelector=Rt,h.GlModal=wn,h.GlMultiItemSlide=hn,h.GlMultiSelectDropdown=ur,h.GlNotify=It,h.GlTab=xo,h.GlTabsWrapper=_o,h.GlTailwindPagination=he,h.GlTextInput=ao,h.GlTextTranslate=Jr,h.GlTextarea=fl,h.GlTextareaTranslate=Dr,h.GlTinymceTranslate=Gr,h.GlToast=R,h.GlToastList=Ga,h.GlToggleBox=Mn,Object.defineProperty(h,Symbol.toStringTag,{value:"Module"})});
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.left-0{left:0}.left-2{left:.5rem}.right-0{right:0}.right-2{right:.5rem}.right-4{right:1rem}.right-7{right:1.75rem}.start-0{inset-inline-start:0px}.top-4{top:1rem}.z-10{z-index:10}.z-50{z-index:50}.z-\[1055\]{z-index:1055}.z-\[999999999\]{z-index:999999999}.m-0{margin:0}.m-1{margin:.25rem}.m-5{margin:1.25rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-1\.5{margin-left:-.375rem;margin-right:-.375rem}.-my-1{margin-top:-.25rem;margin-bottom:-.25rem}.-my-1\.5{margin-top:-.375rem;margin-bottom:-.375rem}.-mb-px{margin-bottom:-1px}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.me-1{margin-inline-end:.25rem}.me-2{margin-inline-end:.5rem}.me-3{margin-inline-end:.75rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-5{margin-left:1.25rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-5{margin-right:1.25rem}.ms-0{margin-inline-start:0px}.ms-3{margin-inline-start:.75rem}.ms-auto{margin-inline-start:auto}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.box-content{box-sizing:content-box}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-1{height:.25rem}.h-10{height:2.5rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-3{height:.75rem}.h-4{height:1rem}.h-40{height:10rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-\[calc\(100\%-1rem\)\]{height:calc(100% - 1rem)}.h-full{height:100%}.max-h-40{max-height:10rem}.max-h-56{max-height:14rem}.max-h-64{max-height:16rem}.max-h-\[100\%\]{max-height:100%}.min-h-screen{min-height:100vh}.w-11{width:2.75rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-2\/12{width:16.666667%}.w-3{width:.75rem}.w-4{width:1rem}.w-44{width:11rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-80{width:20rem}.w-auto{width:auto}.w-full{width:100%}.min-w-0{min-width:0px}.max-w-2xl{max-width:42rem}.max-w-full{max-width:100%}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.flex-shrink-0{flex-shrink:0}.border-separate{border-collapse:separate}.border-spacing-y-3{--tw-border-spacing-y: .75rem;border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y)}.origin-top-right{transform-origin:top right}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50px\]{--tw-translate-y: -50px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-9{gap:2.25rem}.-space-x-px>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1px * var(--tw-space-x-reverse));margin-left:calc(-1px * calc(1 - var(--tw-space-x-reverse)))}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-x-reverse>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 1}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(243 244 246 / var(--tw-divide-opacity))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-x-scroll{overflow-x:scroll}.text-pretty{text-wrap:pretty}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.\!rounded-e-lg{border-start-end-radius:.5rem!important;border-end-end-radius:.5rem!important}.\!rounded-s-lg{border-start-start-radius:.5rem!important;border-end-start-radius:.5rem!important}.rounded-b-md{border-bottom-right-radius:.375rem;border-bottom-left-radius:.375rem}.rounded-e-lg{border-start-end-radius:.5rem;border-end-end-radius:.5rem}.rounded-e-md{border-start-end-radius:.375rem;border-end-end-radius:.375rem}.rounded-s-lg{border-start-start-radius:.5rem;border-end-start-radius:.5rem}.rounded-s-md{border-start-start-radius:.375rem;border-end-start-radius:.375rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.\!border-b{border-bottom-width:1px!important}.\!border-l{border-left-width:1px!important}.\!border-r{border-right-width:1px!important}.\!border-t-0{border-top-width:0px!important}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-e-0{border-inline-end-width:0px}.border-t{border-top-width:1px}.border-t-2{border-top-width:2px}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity))}.border-frontend{border-color:var(--theme-color)}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.border-gray-900{--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}.border-green-400{--tw-border-opacity: 1;border-color:rgb(74 222 128 / var(--tw-border-opacity))}.border-neutral-100{--tw-border-opacity: 1;border-color:rgb(245 245 245 / var(--tw-border-opacity))}.border-red-400{--tw-border-opacity: 1;border-color:rgb(248 113 113 / var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.border-stroke{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.bg-black{--tw-bg-opacity: 1;background-color:rgb(28 36 52 / var(--tw-bg-opacity))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.bg-green-700{--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity))}.bg-meta-4{--tw-bg-opacity: 1;background-color:rgb(49 61 74 / var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity))}.bg-primary{--tw-bg-opacity: 1;background-color:rgb(60 80 224 / var(--tw-bg-opacity))}.bg-purple-700{--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.bg-slate-600{--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity))}.bg-yellow-400{--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}.bg-yellow-500{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity: .75}.bg-opacity-80{--tw-bg-opacity: .8}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.pb-20{padding-bottom:5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pl-10{padding-left:2.5rem}.pl-3{padding-left:.75rem}.pl-5{padding-left:1.25rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pr-5{padding-right:1.25rem}.ps-10{padding-inline-start:2.5rem}.ps-3{padding-inline-start:.75rem}.pt-10{padding-top:2.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.text-left{text-align:left}.text-center{text-align:center}.align-bottom{vertical-align:bottom}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-normal{line-height:1.5}.leading-tight{line-height:1.25}.text-black{--tw-text-opacity: 1;color:rgb(28 36 52 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.text-current{color:currentColor}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.text-neutral-500{--tw-text-opacity: 1;color:rgb(115 115 115 / var(--tw-text-opacity))}.text-neutral-800{--tw-text-opacity: 1;color:rgb(38 38 38 / var(--tw-text-opacity))}.text-orange-500{--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity))}.text-slate-600{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.\!opacity-100{opacity:1!important}.opacity-0{opacity:0}.opacity-80{opacity:.8}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-inset{--tw-ring-inset: inset}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.ring-indigo-600{--tw-ring-opacity: 1;--tw-ring-color: rgb(79 70 229 / var(--tw-ring-opacity))}.drop-shadow{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.btn{border-radius:.25rem;padding:.5rem 1.5rem}.btn-primary{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-primary:hover{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-secondary{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-secondary:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-success{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-success:hover{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-danger{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-danger:hover{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-warning{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-warning:hover{--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}.btn-info{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-info:hover{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-light{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.btn-light:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}@media (min-width: 768px){.main.active{margin-left:0;width:100%}}.btn-dark{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-dark:hover{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.gl-label-form-invalid{margin-bottom:.5rem;display:block;font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity))}.gl-label-form-invalid:is(.dark *){--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.gl-label-form{margin-bottom:.5rem;display:block;font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.gl-label-form:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.gl-label-translation-form-invalid{font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity))}.gl-label-translation-form-invalid:is(.dark *){--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.gl-label-translation-form{font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.gl-label-translation-form:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.gl-input-form-invalid{display:block;height:2.5rem;width:100%;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity));padding:.625rem;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(127 29 29 / var(--tw-text-opacity))}.gl-input-form-invalid::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(185 28 28 / var(--tw-placeholder-opacity))}.gl-input-form-invalid::placeholder{--tw-placeholder-opacity: 1;color:rgb(185 28 28 / var(--tw-placeholder-opacity))}.gl-input-form-invalid{outline:2px solid transparent;outline-offset:2px}.gl-input-form-invalid:focus{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.gl-input-form-invalid:is(.dark *){--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.gl-input-form-invalid:is(.dark *)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(239 68 68 / var(--tw-placeholder-opacity))}.gl-input-form-invalid:is(.dark *)::placeholder{--tw-placeholder-opacity: 1;color:rgb(239 68 68 / var(--tw-placeholder-opacity))}.gl-input-form{display:block;height:2.5rem;width:100%;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity));padding:.625rem;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.gl-input-form:focus{border-color:var(--theme-color)}.gl-input-form:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.gl-input-form:is(.dark *)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.gl-input-form:is(.dark *)::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.gl-input-form:focus:is(.dark *){border-color:var(--theme-dark-color)}.gl-textarea-form-invalid{display:block;width:100%;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity));padding:.625rem;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(127 29 29 / var(--tw-text-opacity))}.gl-textarea-form-invalid::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(185 28 28 / var(--tw-placeholder-opacity))}.gl-textarea-form-invalid::placeholder{--tw-placeholder-opacity: 1;color:rgb(185 28 28 / var(--tw-placeholder-opacity))}.gl-textarea-form-invalid{outline:2px solid transparent;outline-offset:2px}.gl-textarea-form-invalid:focus{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.gl-textarea-form-invalid:is(.dark *){--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.gl-textarea-form-invalid:is(.dark *)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(239 68 68 / var(--tw-placeholder-opacity))}.gl-textarea-form-invalid:is(.dark *)::placeholder{--tw-placeholder-opacity: 1;color:rgb(239 68 68 / var(--tw-placeholder-opacity))}.gl-textarea-form{display:block;width:100%;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity));padding:.625rem;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.gl-textarea-form:focus{border-color:var(--theme-color)}.gl-textarea-form:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.gl-textarea-form:is(.dark *)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.gl-textarea-form:is(.dark *)::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.gl-textarea-form:focus:is(.dark *){border-color:var(--theme-dark-color)}.gl-multi-dropdown{min-height:2.5rem;width:100%;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity));padding:.5rem;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.gl-multi-dropdown:focus{border-color:var(--theme-color)}.gl-multi-dropdown:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.gl-multi-dropdown:is(.dark *)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.gl-multi-dropdown:is(.dark *)::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.gl-multi-dropdown:focus:is(.dark *){border-color:var(--theme-dark-color)}.gl-span-form-error{font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.gl-span-form-error:is(.dark *){--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.required:after{content:" *";color:red}select:not([size]){background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 10 6'%3e %3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 1 4 4 4-4'/%3e %3c/svg%3e");background-position:right .75rem center;background-repeat:no-repeat;background-size:.75em .75em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}body{font-family:Open Sans,Arial,Helvetica,sans-serif;font-size:14px}.placeholder\:text-gray-400::-moz-placeholder{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.placeholder\:text-gray-400::placeholder{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.before\:font-bold:before{content:var(--tw-content);font-weight:700}.before\:content-\[attr\(data-label\)\]:before{--tw-content: attr(data-label);content:var(--tw-content)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:start-\[2px\]:after{content:var(--tw-content);inset-inline-start:2px}.after\:top-\[2px\]:after{content:var(--tw-content);top:2px}.after\:h-5:after{content:var(--tw-content);height:1.25rem}.after\:w-5:after{content:var(--tw-content);width:1.25rem}.after\:rounded-full:after{content:var(--tw-content);border-radius:9999px}.after\:border:after{content:var(--tw-content);border-width:1px}.after\:border-gray-300:after{content:var(--tw-content);--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.after\:bg-white:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.after\:transition-all:after{content:var(--tw-content);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.after\:content-\[\'\'\]:after{--tw-content: "";content:var(--tw-content)}.hover\:bg-blue-100:hover{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}.hover\:bg-blue-200:hover{--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}.hover\:bg-blue-800:hover{--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-gray-900:hover{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.hover\:bg-green-200:hover{--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}.hover\:bg-green-800:hover{--tw-bg-opacity: 1;background-color:rgb(22 101 52 / var(--tw-bg-opacity))}.hover\:bg-purple-800:hover{--tw-bg-opacity: 1;background-color:rgb(107 33 168 / var(--tw-bg-opacity))}.hover\:bg-red-200:hover{--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity))}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.hover\:bg-red-800:hover{--tw-bg-opacity: 1;background-color:rgb(153 27 27 / var(--tw-bg-opacity))}.hover\:bg-slate-600:hover{--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}.hover\:bg-yellow-200:hover{--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity))}.hover\:bg-yellow-500:hover{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}.hover\:bg-opacity-50:hover{--tw-bg-opacity: .5}.hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.hover\:text-neutral-800:hover{--tw-text-opacity: 1;color:rgb(38 38 38 / var(--tw-text-opacity))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:no-underline:hover{text-decoration-line:none}.hover\:shadow:hover{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:z-10:focus{z-index:10}.focus\:border-blue-500:focus{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.focus\:border-frontend:focus{border-color:var(--theme-color)}.focus\:bg-gray-900:focus{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.focus\:text-neutral-800:focus{--tw-text-opacity: 1;color:rgb(38 38 38 / var(--tw-text-opacity))}.focus\:text-white:focus{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.focus\:opacity-100:focus{opacity:1}.focus\:shadow-none:focus{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-4:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-inset:focus{--tw-ring-inset: inset}.focus\:ring-blue-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(147 197 253 / var(--tw-ring-opacity))}.focus\:ring-blue-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity))}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity))}.focus\:ring-gray-100:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(243 244 246 / var(--tw-ring-opacity))}.focus\:ring-gray-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.focus\:ring-gray-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity))}.focus\:ring-gray-50:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(249 250 251 / var(--tw-ring-opacity))}.focus\:ring-green-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(134 239 172 / var(--tw-ring-opacity))}.focus\:ring-green-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(74 222 128 / var(--tw-ring-opacity))}.focus\:ring-indigo-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity))}.focus\:ring-indigo-600:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(79 70 229 / var(--tw-ring-opacity))}.focus\:ring-purple-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(216 180 254 / var(--tw-ring-opacity))}.focus\:ring-red-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(252 165 165 / var(--tw-ring-opacity))}.focus\:ring-red-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 113 113 / var(--tw-ring-opacity))}.focus\:ring-red-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity))}.focus\:ring-yellow-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(253 224 71 / var(--tw-ring-opacity))}.focus\:ring-yellow-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(250 204 21 / var(--tw-ring-opacity))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.peer:checked~.peer-checked\:border-blue-600{--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity))}.peer:checked~.peer-checked\:bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.peer:checked~.peer-checked\:text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.peer:checked~.peer-checked\:after\:translate-x-full:after{content:var(--tw-content);--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:checked~.peer-checked\:after\:border-white:after{content:var(--tw-content);--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.peer:focus~.peer-focus\:outline-none{outline:2px solid transparent;outline-offset:2px}.peer:focus~.peer-focus\:ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.peer:focus~.peer-focus\:ring-blue-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(147 197 253 / var(--tw-ring-opacity))}.dark\:divide-gray-600:is(.dark *)>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(75 85 99 / var(--tw-divide-opacity))}.dark\:border-frontenddark:is(.dark *){border-color:var(--theme-dark-color)}.dark\:border-gray-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.dark\:border-gray-600:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.dark\:border-gray-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.dark\:border-red-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.dark\:border-strokedark:is(.dark *){--tw-border-opacity: 1;border-color:rgb(46 58 71 / var(--tw-border-opacity))}.dark\:border-white:is(.dark *){--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.dark\:bg-blue-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.dark\:bg-blue-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity))}.dark\:bg-boxdark:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(36 48 63 / var(--tw-bg-opacity))}.dark\:bg-gray-400:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.dark\:bg-gray-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.dark\:bg-gray-700:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.dark\:bg-gray-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.dark\:bg-green-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}.dark\:bg-green-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(22 101 52 / var(--tw-bg-opacity))}.dark\:bg-green-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity))}.dark\:bg-meta-4:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(49 61 74 / var(--tw-bg-opacity))}.dark\:bg-orange-700:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(194 65 12 / var(--tw-bg-opacity))}.dark\:bg-primary:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(60 80 224 / var(--tw-bg-opacity))}.dark\:bg-purple-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity))}.dark\:bg-red-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.dark\:bg-red-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(153 27 27 / var(--tw-bg-opacity))}.dark\:bg-red-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity))}.dark\:text-blue-300:is(.dark *){--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity))}.dark\:text-blue-400:is(.dark *){--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}.dark\:text-gray-200:is(.dark *){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.dark\:text-gray-300:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.dark\:text-gray-400:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.dark\:text-gray-500:is(.dark *){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.dark\:text-green-200:is(.dark *){--tw-text-opacity: 1;color:rgb(187 247 208 / var(--tw-text-opacity))}.dark\:text-green-300:is(.dark *){--tw-text-opacity: 1;color:rgb(134 239 172 / var(--tw-text-opacity))}.dark\:text-green-400:is(.dark *){--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity))}.dark\:text-neutral-400:is(.dark *){--tw-text-opacity: 1;color:rgb(163 163 163 / var(--tw-text-opacity))}.dark\:text-orange-200:is(.dark *){--tw-text-opacity: 1;color:rgb(254 215 170 / var(--tw-text-opacity))}.dark\:text-red-200:is(.dark *){--tw-text-opacity: 1;color:rgb(254 202 202 / var(--tw-text-opacity))}.dark\:text-red-300:is(.dark *){--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity))}.dark\:text-red-400:is(.dark *){--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.dark\:text-white:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dark\:text-yellow-300:is(.dark *){--tw-text-opacity: 1;color:rgb(253 224 71 / var(--tw-text-opacity))}.dark\:placeholder-frontenddark:is(.dark *)::-moz-placeholder{color:var(--theme-dark-color)}.dark\:placeholder-frontenddark:is(.dark *)::placeholder{color:var(--theme-dark-color)}.dark\:placeholder-gray-400:is(.dark *)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.dark\:placeholder-gray-400:is(.dark *)::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.dark\:hover\:border-gray-500:hover:is(.dark *){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.dark\:hover\:border-gray-600:hover:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.dark\:hover\:bg-blue-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.dark\:hover\:bg-gray-500:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.dark\:hover\:bg-gray-600:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.dark\:hover\:bg-gray-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.dark\:hover\:bg-green-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity))}.dark\:hover\:bg-primary:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(60 80 224 / var(--tw-bg-opacity))}.dark\:hover\:bg-purple-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}.dark\:hover\:bg-red-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.dark\:hover\:text-gray-300:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.dark\:hover\:text-gray-800:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.dark\:hover\:text-neutral-300:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(212 212 212 / var(--tw-text-opacity))}.dark\:hover\:text-red-400:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.dark\:hover\:text-white:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dark\:focus\:border-blue-500:focus:is(.dark *){--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.dark\:focus\:border-frontenddark:focus:is(.dark *){border-color:var(--theme-dark-color)}.dark\:focus\:bg-gray-700:focus:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.dark\:focus\:text-neutral-300:focus:is(.dark *){--tw-text-opacity: 1;color:rgb(212 212 212 / var(--tw-text-opacity))}.dark\:focus\:ring-blue-500:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity))}.dark\:focus\:ring-blue-800:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(30 64 175 / var(--tw-ring-opacity))}.dark\:focus\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}.dark\:focus\:ring-gray-700:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(55 65 81 / var(--tw-ring-opacity))}.dark\:focus\:ring-green-800:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(22 101 52 / var(--tw-ring-opacity))}.dark\:focus\:ring-purple-900:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(88 28 135 / var(--tw-ring-opacity))}.dark\:focus\:ring-red-900:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(127 29 29 / var(--tw-ring-opacity))}.dark\:focus\:ring-yellow-900:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(113 63 18 / var(--tw-ring-opacity))}.peer:checked~.dark\:peer-checked\:text-blue-500:is(.dark *){--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.peer:focus~.dark\:peer-focus\:ring-blue-800:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(30 64 175 / var(--tw-ring-opacity))}@media (min-width: 576px){.min-\[576px\]\:mx-auto{margin-left:auto;margin-right:auto}.min-\[576px\]\:mt-7{margin-top:1.75rem}.min-\[576px\]\:h-\[calc\(100\%-3\.5rem\)\]{height:calc(100% - 3.5rem)}}@media (min-width: 640px){.sm\:my-8{margin-top:2rem;margin-bottom:2rem}.sm\:ml-3{margin-left:.75rem}.sm\:ml-4{margin-left:1rem}.sm\:mt-0{margin-top:0}.sm\:block{display:block}.sm\:inline-block{display:inline-block}.sm\:flex{display:flex}.sm\:hidden{display:none}.sm\:h-screen{height:100vh}.sm\:w-8\/12{width:66.666667%}.sm\:w-auto{width:auto}.sm\:w-full{width:100%}.sm\:max-w-lg{max-width:32rem}.sm\:flex-1{flex:1 1 0%}.sm\:flex-row{flex-direction:row}.sm\:flex-row-reverse{flex-direction:row-reverse}.sm\:items-start{align-items:flex-start}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}.sm\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.sm\:p-0{padding:0}.sm\:p-6{padding:1.5rem}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:pb-4{padding-bottom:1rem}.sm\:text-left{text-align:left}.sm\:align-middle{vertical-align:middle}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\:leading-6{line-height:1.5rem}}@media (min-width: 768px){.md\:flex{display:flex}.md\:w-8\/12{width:66.666667%}.md\:grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:justify-between{justify-content:space-between}.md\:gap-0{gap:0px}.md\:rounded-none{border-radius:0}.md\:\!rounded-e-lg{border-start-end-radius:.5rem!important;border-end-end-radius:.5rem!important}.md\:\!rounded-s-lg{border-start-start-radius:.5rem!important;border-end-start-radius:.5rem!important}}@media (min-width: 1024px){.lg\:table-cell{display:table-cell}.lg\:table-header-group{display:table-header-group}.lg\:w-2\/12{width:16.666667%}.lg\:border-collapse{border-collapse:collapse}.lg\:border-spacing-y-0{--tw-border-spacing-y: 0px;border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y)}.lg\:px-4{padding-left:1rem;padding-right:1rem}.lg\:py-2{padding-top:.5rem;padding-bottom:.5rem}.lg\:py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.lg\:before\:content-none:before{--tw-content: none;content:var(--tw-content)}}@media (min-width: 1280px){.xl\:flex{display:flex}.xl\:w-8\/12{width:66.666667%}.xl\:flex-row{flex-direction:row}.xl\:items-center{align-items:center}.xl\:justify-between{justify-content:space-between}.xl\:overflow-auto{overflow:auto}}.rtl\:right-0:where([dir=rtl],[dir=rtl] *){right:0}.rtl\:rotate-180:where([dir=rtl],[dir=rtl] *){--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:checked~.rtl\:peer-checked\:after\:-translate-x-full:where([dir=rtl],[dir=rtl] *):after{content:var(--tw-content);--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:h-6>svg{height:1.5rem}.\[\&\>svg\]\:w-6>svg{width:1.5rem}.gl-dot.active span[data-v-a94f16a9],.gl-dot:hover span[data-v-a94f16a9]{opacity:.9;height:1.56rem;width:1.56rem;max-width:1.56rem}.gl-dot span[data-v-a94f16a9]{cursor:pointer;display:inline-block;border-radius:100%;opacity:.2;height:1.25rem;width:1.25rem;max-width:1.25rem}.arrow_button_prev[data-v-a94f16a9]{position:absolute;top:0;left:0;bottom:0;z-index:10;display:flex;align-items:center;justify-content:center;padding:10px;text-align:center;transition:opacity .15s ease}.arrow_button_next[data-v-a94f16a9]{position:absolute;top:0;right:0;bottom:0;z-index:10;display:flex;align-items:center;justify-content:center;padding:10px;text-align:center;transition:opacity .15s ease}.slider_indicators[data-v-a94f16a9]{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}a[data-v-3a28c02c]{font-size:13px;font-weight:500;color:#202124}a[data-v-3a28c02c]:hover{color:#9c27b0;text-decoration:underline}
|
|
1
|
+
*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.left-0{left:0}.left-2{left:.5rem}.right-0{right:0}.right-2{right:.5rem}.right-4{right:1rem}.right-7{right:1.75rem}.start-0{inset-inline-start:0px}.top-4{top:1rem}.z-10{z-index:10}.z-50{z-index:50}.z-\[1055\]{z-index:1055}.z-\[999999999\]{z-index:999999999}.m-0{margin:0}.m-1{margin:.25rem}.m-5{margin:1.25rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-1\.5{margin-left:-.375rem;margin-right:-.375rem}.-my-1{margin-top:-.25rem;margin-bottom:-.25rem}.-my-1\.5{margin-top:-.375rem;margin-bottom:-.375rem}.-mb-px{margin-bottom:-1px}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.me-1{margin-inline-end:.25rem}.me-2{margin-inline-end:.5rem}.me-3{margin-inline-end:.75rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-5{margin-left:1.25rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-5{margin-right:1.25rem}.ms-0{margin-inline-start:0px}.ms-3{margin-inline-start:.75rem}.ms-auto{margin-inline-start:auto}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.box-content{box-sizing:content-box}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-1{height:.25rem}.h-10{height:2.5rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-3{height:.75rem}.h-4{height:1rem}.h-40{height:10rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-\[calc\(100\%-1rem\)\]{height:calc(100% - 1rem)}.h-full{height:100%}.max-h-40{max-height:10rem}.max-h-56{max-height:14rem}.max-h-64{max-height:16rem}.max-h-\[100\%\]{max-height:100%}.min-h-screen{min-height:100vh}.w-11{width:2.75rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-2\/12{width:16.666667%}.w-3{width:.75rem}.w-4{width:1rem}.w-44{width:11rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-80{width:20rem}.w-auto{width:auto}.w-full{width:100%}.min-w-0{min-width:0px}.max-w-2xl{max-width:42rem}.max-w-full{max-width:100%}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.flex-shrink-0{flex-shrink:0}.border-separate{border-collapse:separate}.border-spacing-y-3{--tw-border-spacing-y: .75rem;border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y)}.origin-top-right{transform-origin:top right}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50px\]{--tw-translate-y: -50px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-9{gap:2.25rem}.-space-x-px>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1px * var(--tw-space-x-reverse));margin-left:calc(-1px * calc(1 - var(--tw-space-x-reverse)))}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-x-reverse>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 1}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(243 244 246 / var(--tw-divide-opacity))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-x-scroll{overflow-x:scroll}.text-pretty{text-wrap:pretty}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.\!rounded-e-lg{border-start-end-radius:.5rem!important;border-end-end-radius:.5rem!important}.\!rounded-s-lg{border-start-start-radius:.5rem!important;border-end-start-radius:.5rem!important}.rounded-b-md{border-bottom-right-radius:.375rem;border-bottom-left-radius:.375rem}.rounded-e-lg{border-start-end-radius:.5rem;border-end-end-radius:.5rem}.rounded-e-md{border-start-end-radius:.375rem;border-end-end-radius:.375rem}.rounded-s-lg{border-start-start-radius:.5rem;border-end-start-radius:.5rem}.rounded-s-md{border-start-start-radius:.375rem;border-end-start-radius:.375rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.\!border-b{border-bottom-width:1px!important}.\!border-l{border-left-width:1px!important}.\!border-r{border-right-width:1px!important}.\!border-t-0{border-top-width:0px!important}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-e-0{border-inline-end-width:0px}.border-t{border-top-width:1px}.border-t-2{border-top-width:2px}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity))}.border-frontend{border-color:var(--theme-color)}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.border-gray-900{--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}.border-green-400{--tw-border-opacity: 1;border-color:rgb(74 222 128 / var(--tw-border-opacity))}.border-neutral-100{--tw-border-opacity: 1;border-color:rgb(245 245 245 / var(--tw-border-opacity))}.border-red-400{--tw-border-opacity: 1;border-color:rgb(248 113 113 / var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.border-stroke{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.bg-black{--tw-bg-opacity: 1;background-color:rgb(28 36 52 / var(--tw-bg-opacity))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.bg-green-700{--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity))}.bg-meta-4{--tw-bg-opacity: 1;background-color:rgb(49 61 74 / var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity))}.bg-primary{--tw-bg-opacity: 1;background-color:rgb(60 80 224 / var(--tw-bg-opacity))}.bg-purple-700{--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.bg-slate-600{--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity))}.bg-yellow-400{--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}.bg-yellow-500{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity: .75}.bg-opacity-80{--tw-bg-opacity: .8}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.pb-20{padding-bottom:5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pl-10{padding-left:2.5rem}.pl-3{padding-left:.75rem}.pl-5{padding-left:1.25rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pr-5{padding-right:1.25rem}.ps-10{padding-inline-start:2.5rem}.ps-3{padding-inline-start:.75rem}.pt-10{padding-top:2.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.text-left{text-align:left}.text-center{text-align:center}.align-bottom{vertical-align:bottom}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-normal{line-height:1.5}.leading-tight{line-height:1.25}.text-black{--tw-text-opacity: 1;color:rgb(28 36 52 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.text-current{color:currentColor}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.text-neutral-500{--tw-text-opacity: 1;color:rgb(115 115 115 / var(--tw-text-opacity))}.text-neutral-800{--tw-text-opacity: 1;color:rgb(38 38 38 / var(--tw-text-opacity))}.text-orange-500{--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity))}.text-slate-600{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.\!opacity-100{opacity:1!important}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-80{opacity:.8}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-inset{--tw-ring-inset: inset}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.ring-indigo-600{--tw-ring-opacity: 1;--tw-ring-color: rgb(79 70 229 / var(--tw-ring-opacity))}.drop-shadow{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.btn{border-radius:.25rem;padding:.5rem 1.5rem}.btn-primary{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-primary:hover{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-secondary{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-secondary:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-success{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-success:hover{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-danger{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-danger:hover{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-warning{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-warning:hover{--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}.btn-info{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-info:hover{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-light{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.btn-light:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}@media (min-width: 768px){.main.active{margin-left:0;width:100%}}.btn-dark{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-dark:hover{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.gl-label-form-invalid{margin-bottom:.5rem;display:block;font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity))}.gl-label-form-invalid:is(.dark *){--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.gl-label-form{margin-bottom:.5rem;display:block;font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.gl-label-form:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.gl-label-translation-form-invalid{font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity))}.gl-label-translation-form-invalid:is(.dark *){--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.gl-label-translation-form{font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.gl-label-translation-form:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.gl-input-form-invalid{display:block;height:2.5rem;width:100%;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity));padding:.625rem;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(127 29 29 / var(--tw-text-opacity))}.gl-input-form-invalid::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(185 28 28 / var(--tw-placeholder-opacity))}.gl-input-form-invalid::placeholder{--tw-placeholder-opacity: 1;color:rgb(185 28 28 / var(--tw-placeholder-opacity))}.gl-input-form-invalid{outline:2px solid transparent;outline-offset:2px}.gl-input-form-invalid:focus{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.gl-input-form-invalid:is(.dark *){--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.gl-input-form-invalid:is(.dark *)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(239 68 68 / var(--tw-placeholder-opacity))}.gl-input-form-invalid:is(.dark *)::placeholder{--tw-placeholder-opacity: 1;color:rgb(239 68 68 / var(--tw-placeholder-opacity))}.gl-input-form{display:block;height:2.5rem;width:100%;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity));padding:.625rem;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.gl-input-form:focus{border-color:var(--theme-color)}.gl-input-form:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.gl-input-form:is(.dark *)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.gl-input-form:is(.dark *)::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.gl-input-form:focus:is(.dark *){border-color:var(--theme-dark-color)}.gl-textarea-form-invalid{display:block;width:100%;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity));padding:.625rem;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(127 29 29 / var(--tw-text-opacity))}.gl-textarea-form-invalid::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(185 28 28 / var(--tw-placeholder-opacity))}.gl-textarea-form-invalid::placeholder{--tw-placeholder-opacity: 1;color:rgb(185 28 28 / var(--tw-placeholder-opacity))}.gl-textarea-form-invalid{outline:2px solid transparent;outline-offset:2px}.gl-textarea-form-invalid:focus{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.gl-textarea-form-invalid:is(.dark *){--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.gl-textarea-form-invalid:is(.dark *)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(239 68 68 / var(--tw-placeholder-opacity))}.gl-textarea-form-invalid:is(.dark *)::placeholder{--tw-placeholder-opacity: 1;color:rgb(239 68 68 / var(--tw-placeholder-opacity))}.gl-textarea-form{display:block;width:100%;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity));padding:.625rem;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.gl-textarea-form:focus{border-color:var(--theme-color)}.gl-textarea-form:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.gl-textarea-form:is(.dark *)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.gl-textarea-form:is(.dark *)::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.gl-textarea-form:focus:is(.dark *){border-color:var(--theme-dark-color)}.gl-multi-dropdown{min-height:2.5rem;width:100%;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity));padding:.5rem;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.gl-multi-dropdown:focus{border-color:var(--theme-color)}.gl-multi-dropdown:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.gl-multi-dropdown:is(.dark *)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.gl-multi-dropdown:is(.dark *)::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.gl-multi-dropdown:focus:is(.dark *){border-color:var(--theme-dark-color)}.gl-span-form-error{font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.gl-span-form-error:is(.dark *){--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.required:after{content:" *";color:red}select:not([size]){background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 10 6'%3e %3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 1 4 4 4-4'/%3e %3c/svg%3e");background-position:right .75rem center;background-repeat:no-repeat;background-size:.75em .75em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}body{font-family:Open Sans,Arial,Helvetica,sans-serif;font-size:14px}.placeholder\:text-gray-400::-moz-placeholder{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.placeholder\:text-gray-400::placeholder{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.before\:font-bold:before{content:var(--tw-content);font-weight:700}.before\:content-\[attr\(data-label\)\]:before{--tw-content: attr(data-label);content:var(--tw-content)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:start-\[2px\]:after{content:var(--tw-content);inset-inline-start:2px}.after\:top-\[2px\]:after{content:var(--tw-content);top:2px}.after\:h-5:after{content:var(--tw-content);height:1.25rem}.after\:w-5:after{content:var(--tw-content);width:1.25rem}.after\:rounded-full:after{content:var(--tw-content);border-radius:9999px}.after\:border:after{content:var(--tw-content);border-width:1px}.after\:border-gray-300:after{content:var(--tw-content);--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.after\:bg-white:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.after\:transition-all:after{content:var(--tw-content);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.after\:content-\[\'\'\]:after{--tw-content: "";content:var(--tw-content)}.hover\:bg-blue-100:hover{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}.hover\:bg-blue-200:hover{--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}.hover\:bg-blue-800:hover{--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-gray-900:hover{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.hover\:bg-green-200:hover{--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}.hover\:bg-green-800:hover{--tw-bg-opacity: 1;background-color:rgb(22 101 52 / var(--tw-bg-opacity))}.hover\:bg-purple-800:hover{--tw-bg-opacity: 1;background-color:rgb(107 33 168 / var(--tw-bg-opacity))}.hover\:bg-red-200:hover{--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity))}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.hover\:bg-red-800:hover{--tw-bg-opacity: 1;background-color:rgb(153 27 27 / var(--tw-bg-opacity))}.hover\:bg-slate-600:hover{--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}.hover\:bg-yellow-200:hover{--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity))}.hover\:bg-yellow-500:hover{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}.hover\:bg-opacity-50:hover{--tw-bg-opacity: .5}.hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.hover\:text-neutral-800:hover{--tw-text-opacity: 1;color:rgb(38 38 38 / var(--tw-text-opacity))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:no-underline:hover{text-decoration-line:none}.hover\:shadow:hover{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:z-10:focus{z-index:10}.focus\:border-blue-500:focus{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.focus\:border-frontend:focus{border-color:var(--theme-color)}.focus\:bg-gray-900:focus{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.focus\:text-neutral-800:focus{--tw-text-opacity: 1;color:rgb(38 38 38 / var(--tw-text-opacity))}.focus\:text-white:focus{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.focus\:opacity-100:focus{opacity:1}.focus\:shadow-none:focus{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-4:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-inset:focus{--tw-ring-inset: inset}.focus\:ring-blue-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(147 197 253 / var(--tw-ring-opacity))}.focus\:ring-blue-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity))}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity))}.focus\:ring-gray-100:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(243 244 246 / var(--tw-ring-opacity))}.focus\:ring-gray-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.focus\:ring-gray-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity))}.focus\:ring-gray-50:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(249 250 251 / var(--tw-ring-opacity))}.focus\:ring-green-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(134 239 172 / var(--tw-ring-opacity))}.focus\:ring-green-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(74 222 128 / var(--tw-ring-opacity))}.focus\:ring-indigo-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity))}.focus\:ring-indigo-600:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(79 70 229 / var(--tw-ring-opacity))}.focus\:ring-purple-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(216 180 254 / var(--tw-ring-opacity))}.focus\:ring-red-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(252 165 165 / var(--tw-ring-opacity))}.focus\:ring-red-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 113 113 / var(--tw-ring-opacity))}.focus\:ring-red-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity))}.focus\:ring-yellow-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(253 224 71 / var(--tw-ring-opacity))}.focus\:ring-yellow-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(250 204 21 / var(--tw-ring-opacity))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.peer:checked~.peer-checked\:border-blue-600{--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity))}.peer:checked~.peer-checked\:bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.peer:checked~.peer-checked\:text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.peer:checked~.peer-checked\:after\:translate-x-full:after{content:var(--tw-content);--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:checked~.peer-checked\:after\:border-white:after{content:var(--tw-content);--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.peer:focus~.peer-focus\:outline-none{outline:2px solid transparent;outline-offset:2px}.peer:focus~.peer-focus\:ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.peer:focus~.peer-focus\:ring-blue-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(147 197 253 / var(--tw-ring-opacity))}.dark\:divide-gray-600:is(.dark *)>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(75 85 99 / var(--tw-divide-opacity))}.dark\:border-frontenddark:is(.dark *){border-color:var(--theme-dark-color)}.dark\:border-gray-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.dark\:border-gray-600:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.dark\:border-gray-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.dark\:border-red-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.dark\:border-strokedark:is(.dark *){--tw-border-opacity: 1;border-color:rgb(46 58 71 / var(--tw-border-opacity))}.dark\:border-white:is(.dark *){--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.dark\:bg-blue-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.dark\:bg-blue-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity))}.dark\:bg-boxdark:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(36 48 63 / var(--tw-bg-opacity))}.dark\:bg-gray-400:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.dark\:bg-gray-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.dark\:bg-gray-700:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.dark\:bg-gray-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.dark\:bg-green-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}.dark\:bg-green-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(22 101 52 / var(--tw-bg-opacity))}.dark\:bg-green-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity))}.dark\:bg-meta-4:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(49 61 74 / var(--tw-bg-opacity))}.dark\:bg-orange-700:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(194 65 12 / var(--tw-bg-opacity))}.dark\:bg-primary:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(60 80 224 / var(--tw-bg-opacity))}.dark\:bg-purple-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity))}.dark\:bg-red-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.dark\:bg-red-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(153 27 27 / var(--tw-bg-opacity))}.dark\:bg-red-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity))}.dark\:text-blue-300:is(.dark *){--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity))}.dark\:text-blue-400:is(.dark *){--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}.dark\:text-gray-200:is(.dark *){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.dark\:text-gray-300:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.dark\:text-gray-400:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.dark\:text-gray-500:is(.dark *){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.dark\:text-green-200:is(.dark *){--tw-text-opacity: 1;color:rgb(187 247 208 / var(--tw-text-opacity))}.dark\:text-green-300:is(.dark *){--tw-text-opacity: 1;color:rgb(134 239 172 / var(--tw-text-opacity))}.dark\:text-green-400:is(.dark *){--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity))}.dark\:text-neutral-400:is(.dark *){--tw-text-opacity: 1;color:rgb(163 163 163 / var(--tw-text-opacity))}.dark\:text-orange-200:is(.dark *){--tw-text-opacity: 1;color:rgb(254 215 170 / var(--tw-text-opacity))}.dark\:text-red-200:is(.dark *){--tw-text-opacity: 1;color:rgb(254 202 202 / var(--tw-text-opacity))}.dark\:text-red-300:is(.dark *){--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity))}.dark\:text-red-400:is(.dark *){--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.dark\:text-white:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dark\:text-yellow-300:is(.dark *){--tw-text-opacity: 1;color:rgb(253 224 71 / var(--tw-text-opacity))}.dark\:placeholder-frontenddark:is(.dark *)::-moz-placeholder{color:var(--theme-dark-color)}.dark\:placeholder-frontenddark:is(.dark *)::placeholder{color:var(--theme-dark-color)}.dark\:placeholder-gray-400:is(.dark *)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.dark\:placeholder-gray-400:is(.dark *)::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.dark\:hover\:border-gray-500:hover:is(.dark *){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.dark\:hover\:border-gray-600:hover:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.dark\:hover\:bg-blue-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.dark\:hover\:bg-gray-500:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.dark\:hover\:bg-gray-600:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.dark\:hover\:bg-gray-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.dark\:hover\:bg-green-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity))}.dark\:hover\:bg-primary:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(60 80 224 / var(--tw-bg-opacity))}.dark\:hover\:bg-purple-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}.dark\:hover\:bg-red-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.dark\:hover\:text-gray-300:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.dark\:hover\:text-gray-800:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.dark\:hover\:text-neutral-300:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(212 212 212 / var(--tw-text-opacity))}.dark\:hover\:text-red-400:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.dark\:hover\:text-white:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dark\:focus\:border-blue-500:focus:is(.dark *){--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.dark\:focus\:border-frontenddark:focus:is(.dark *){border-color:var(--theme-dark-color)}.dark\:focus\:bg-gray-700:focus:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.dark\:focus\:text-neutral-300:focus:is(.dark *){--tw-text-opacity: 1;color:rgb(212 212 212 / var(--tw-text-opacity))}.dark\:focus\:ring-blue-500:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity))}.dark\:focus\:ring-blue-800:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(30 64 175 / var(--tw-ring-opacity))}.dark\:focus\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}.dark\:focus\:ring-gray-700:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(55 65 81 / var(--tw-ring-opacity))}.dark\:focus\:ring-green-800:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(22 101 52 / var(--tw-ring-opacity))}.dark\:focus\:ring-purple-900:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(88 28 135 / var(--tw-ring-opacity))}.dark\:focus\:ring-red-900:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(127 29 29 / var(--tw-ring-opacity))}.dark\:focus\:ring-yellow-900:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(113 63 18 / var(--tw-ring-opacity))}.peer:checked~.dark\:peer-checked\:text-blue-500:is(.dark *){--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.peer:focus~.dark\:peer-focus\:ring-blue-800:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(30 64 175 / var(--tw-ring-opacity))}@media (min-width: 576px){.min-\[576px\]\:mx-auto{margin-left:auto;margin-right:auto}.min-\[576px\]\:mt-7{margin-top:1.75rem}.min-\[576px\]\:h-\[calc\(100\%-3\.5rem\)\]{height:calc(100% - 3.5rem)}}@media (min-width: 640px){.sm\:my-8{margin-top:2rem;margin-bottom:2rem}.sm\:ml-3{margin-left:.75rem}.sm\:ml-4{margin-left:1rem}.sm\:mt-0{margin-top:0}.sm\:block{display:block}.sm\:inline-block{display:inline-block}.sm\:flex{display:flex}.sm\:hidden{display:none}.sm\:h-screen{height:100vh}.sm\:w-8\/12{width:66.666667%}.sm\:w-auto{width:auto}.sm\:w-full{width:100%}.sm\:max-w-lg{max-width:32rem}.sm\:flex-1{flex:1 1 0%}.sm\:flex-row{flex-direction:row}.sm\:flex-row-reverse{flex-direction:row-reverse}.sm\:items-start{align-items:flex-start}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}.sm\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.sm\:p-0{padding:0}.sm\:p-6{padding:1.5rem}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:pb-4{padding-bottom:1rem}.sm\:text-left{text-align:left}.sm\:align-middle{vertical-align:middle}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\:leading-6{line-height:1.5rem}}@media (min-width: 768px){.md\:flex{display:flex}.md\:w-8\/12{width:66.666667%}.md\:grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:justify-between{justify-content:space-between}.md\:gap-0{gap:0px}.md\:rounded-none{border-radius:0}.md\:\!rounded-e-lg{border-start-end-radius:.5rem!important;border-end-end-radius:.5rem!important}.md\:\!rounded-s-lg{border-start-start-radius:.5rem!important;border-end-start-radius:.5rem!important}}@media (min-width: 1024px){.lg\:table-cell{display:table-cell}.lg\:table-header-group{display:table-header-group}.lg\:w-2\/12{width:16.666667%}.lg\:border-collapse{border-collapse:collapse}.lg\:border-spacing-y-0{--tw-border-spacing-y: 0px;border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y)}.lg\:px-4{padding-left:1rem;padding-right:1rem}.lg\:py-2{padding-top:.5rem;padding-bottom:.5rem}.lg\:py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.lg\:before\:content-none:before{--tw-content: none;content:var(--tw-content)}}@media (min-width: 1280px){.xl\:flex{display:flex}.xl\:w-8\/12{width:66.666667%}.xl\:flex-row{flex-direction:row}.xl\:items-center{align-items:center}.xl\:justify-between{justify-content:space-between}.xl\:overflow-auto{overflow:auto}}.rtl\:right-0:where([dir=rtl],[dir=rtl] *){right:0}.rtl\:rotate-180:where([dir=rtl],[dir=rtl] *){--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:checked~.rtl\:peer-checked\:after\:-translate-x-full:where([dir=rtl],[dir=rtl] *):after{content:var(--tw-content);--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:h-6>svg{height:1.5rem}.\[\&\>svg\]\:w-6>svg{width:1.5rem}.gl-dot.active span[data-v-a94f16a9],.gl-dot:hover span[data-v-a94f16a9]{opacity:.9;height:1.56rem;width:1.56rem;max-width:1.56rem}.gl-dot span[data-v-a94f16a9]{cursor:pointer;display:inline-block;border-radius:100%;opacity:.2;height:1.25rem;width:1.25rem;max-width:1.25rem}.arrow_button_prev[data-v-a94f16a9]{position:absolute;top:0;left:0;bottom:0;z-index:10;display:flex;align-items:center;justify-content:center;padding:10px;text-align:center;transition:opacity .15s ease}.arrow_button_next[data-v-a94f16a9]{position:absolute;top:0;right:0;bottom:0;z-index:10;display:flex;align-items:center;justify-content:center;padding:10px;text-align:center;transition:opacity .15s ease}.slider_indicators[data-v-a94f16a9]{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}a[data-v-3a28c02c]{font-size:13px;font-weight:500;color:#202124}a[data-v-3a28c02c]:hover{color:#9c27b0;text-decoration:underline}
|