anytrek-front-public-component 1.7.21 → 1.7.23

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.
@@ -40,7 +40,7 @@ ${d}`:c)}else throw i},onCacheKey:i=>w9(n,o,i)}}function aN(t){if(Qe(t))return t
40
40
  * vue-i18n v9.14.5
41
41
  * (c) 2025 kazuya kawaguchi
42
42
  * Released under the MIT License.
43
- */const mN="9.14.5";function pN(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(wa().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(wa().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(wa().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(wa().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(wa().__INTLIFY_PROD_DEVTOOLS__=!1)}const bh=Un.__EXTEND_POINT__,Ta=cs(bh),qn={FALLBACK_TO_ROOT:bh,NOT_SUPPORTED_PRESERVE:Ta(),NOT_SUPPORTED_FORMATTER:Ta(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Ta(),NOT_SUPPORTED_GET_CHOICE_INDEX:Ta(),COMPONENT_NAME_LEGACY_COMPATIBLE:Ta(),NOT_FOUND_PARENT_SCOPE:Ta(),IGNORE_OBJ_FLATTEN:Ta(),NOTICE_DROP_ALLOW_COMPOSITION:Ta(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Ta()},hN={[qn.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[qn.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[qn.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[qn.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[qn.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[qn.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[qn.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[qn.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[qn.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[qn.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function ks(t,...n){return Md(hN[t],...n)}const wh=wn.__EXTEND_POINT__,Qn=cs(wh),Xt={UNEXPECTED_RETURN_TYPE:wh,INVALID_ARGUMENT:Qn(),MUST_BE_CALL_SETUP_TOP:Qn(),NOT_INSTALLED:Qn(),NOT_AVAILABLE_IN_LEGACY_MODE:Qn(),REQUIRED_VALUE:Qn(),INVALID_VALUE:Qn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Qn(),NOT_INSTALLED_WITH_PROVIDE:Qn(),UNEXPECTED_ERROR:Qn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Qn(),BRIDGE_SUPPORT_VUE_2_ONLY:Qn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Qn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Qn(),__EXTEND_POINT__:Qn()};function Ha(t,...n){return el(t,null,process.env.NODE_ENV!=="production"?{messages:gN,args:n}:void 0)}const gN={[Xt.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[Xt.INVALID_ARGUMENT]:"Invalid argument",[Xt.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[Xt.NOT_INSTALLED]:"Need to install with `app.use` function",[Xt.UNEXPECTED_ERROR]:"Unexpected error",[Xt.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[Xt.REQUIRED_VALUE]:"Required in value: {0}",[Xt.INVALID_VALUE]:"Invalid value",[Xt.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[Xt.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[Xt.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[Xt.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[Xt.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[Xt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Ud=ba("__translateVNode"),Wd=ba("__datetimeParts"),Gd=ba("__numberParts"),Kd=ba("__enableEmitter"),qd=ba("__disableEmitter"),yN=ba("__setPluralRules"),Ch=ba("__injectWithOption"),Qd=ba("__dispose");function Ql(t){if(!Ct(t)||Zo(t))return t;for(const n in t)if(_o(t,n))if(!n.includes("."))Ct(t[n])&&Ql(t[n]);else{const o=n.split("."),a=o.length-1;let r=t,l=!1;for(let i=0;i<a;i++){if(o[i]==="__proto__")throw new Error(`unsafe key: ${o[i]}`);if(o[i]in r||(r[o[i]]=Pt()),!Ct(r[o[i]])){process.env.NODE_ENV!=="production"&&ta(ks(qn.IGNORE_OBJ_FLATTEN,{key:o[i]})),l=!0;break}r=r[o[i]]}if(l||(Zo(r)?P1.includes(o[a])||delete t[n]:(r[o[a]]=t[n],delete t[n])),!Zo(r)){const i=r[o[a]];Ct(i)&&Ql(i)}}return t}function Xd(t,n){const{messages:o,__i18n:a,messageResolver:r,flatJson:l}=n,i=kt(o)?o:sn(a)?Pt():{[t]:Pt()};if(sn(a)&&a.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:c,resource:d}=s;c?(i[c]=i[c]||Pt(),us(d,i[c])):us(d,i)}else Qe(s)&&us(JSON.parse(s),i)}),r==null&&l)for(const s in i)_o(i,s)&&Ql(i[s]);return i}function Th(t){return t.type}function kN(t,n,o){let a=Ct(n.messages)?n.messages:Pt();"__i18nGlobal"in o&&(a=Xd(t.locale.value,{messages:a,__i18n:o.__i18nGlobal}));const r=Object.keys(a);r.length&&r.forEach(l=>{t.mergeLocaleMessage(l,a[l])});{if(Ct(n.datetimeFormats)){const l=Object.keys(n.datetimeFormats);l.length&&l.forEach(i=>{t.mergeDateTimeFormat(i,n.datetimeFormats[i])})}if(Ct(n.numberFormats)){const l=Object.keys(n.numberFormats);l.length&&l.forEach(i=>{t.mergeNumberFormat(i,n.numberFormats[i])})}}}function Eh(t){return e.createVNode(e.Text,null,t,0)}const Sh="__INTLIFY_META__",Nh=()=>[],vN=()=>!1;let Vh=0;function Bh(t){return(n,o,a,r)=>t(o,a,e.getCurrentInstance()||void 0,r)}const bN=()=>{const t=e.getCurrentInstance();let n=null;return t&&(n=Th(t)[Sh])?{[Sh]:n}:null};function wN(t={},n){const{__root:o,__injectWithOption:a}=t,r=o===void 0,l=t.flatJson,i=va?e.ref:e.shallowRef,s=!!t.translateExistCompatible;process.env.NODE_ENV!=="production"&&s&&p1(ks(qn.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let c=Rt(t.inheritLocale)?t.inheritLocale:!0;const d=i(o&&c?o.locale.value:Qe(t.locale)?t.locale:Kl),u=i(o&&c?o.fallbackLocale.value:Qe(t.fallbackLocale)||sn(t.fallbackLocale)||kt(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:d.value),y=i(Xd(d.value,t)),p=i(kt(t.datetimeFormats)?t.datetimeFormats:{[d.value]:{}}),m=i(kt(t.numberFormats)?t.numberFormats:{[d.value]:{}});let v=o?o.missingWarn:Rt(t.missingWarn)||$r(t.missingWarn)?t.missingWarn:!0,h=o?o.fallbackWarn:Rt(t.fallbackWarn)||$r(t.fallbackWarn)?t.fallbackWarn:!0,g=o?o.fallbackRoot:Rt(t.fallbackRoot)?t.fallbackRoot:!0,k=!!t.fallbackFormat,T=Gt(t.missing)?t.missing:null,f=Gt(t.missing)?Bh(t.missing):null,b=Gt(t.postTranslation)?t.postTranslation:null,w=o?o.warnHtmlMessage:Rt(t.warnHtmlMessage)?t.warnHtmlMessage:!0,E=!!t.escapeParameter;const C=o?o.modifiers:kt(t.modifiers)?t.modifiers:{};let D=t.pluralRules||o&&o.pluralRules,S;S=(()=>{r&&X1(null);const $={version:mN,locale:d.value,fallbackLocale:u.value,messages:y.value,modifiers:C,pluralRules:D,missing:f===null?void 0:f,missingWarn:v,fallbackWarn:h,fallbackFormat:k,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:w,escapeParameter:E,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};$.datetimeFormats=p.value,$.numberFormats=m.value,$.__datetimeFormatters=kt(S)?S.__datetimeFormatters:void 0,$.__numberFormatters=kt(S)?S.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&($.__v_emitter=kt(S)?S.__v_emitter:void 0);const ne=qS($);return r&&X1(ne),ne})(),ql(S,d.value,u.value);function B(){return[d.value,u.value,y.value,p.value,m.value]}const N=e.computed({get:()=>d.value,set:$=>{d.value=$,S.locale=d.value}}),j=e.computed({get:()=>u.value,set:$=>{u.value=$,S.fallbackLocale=u.value,ql(S,d.value,$)}}),O=e.computed(()=>y.value),I=e.computed(()=>p.value),A=e.computed(()=>m.value);function z(){return Gt(b)?b:null}function M($){b=$,S.postTranslation=$}function x(){return T}function H($){$!==null&&(f=Bh($)),T=$,S.missing=f}function X($,ne){return $!=="translate"||!ne.resolvedMessage}const P=($,ne,He,Re,it,ve)=>{B();let be;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,r||(S.fallbackContext=o?KS():void 0),be=$(S)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,r||(S.fallbackContext=void 0)}if(He!=="translate exists"&&bn(be)&&be===hs||He==="translate exists"&&!be){const[Ne,Ce]=ne();if(process.env.NODE_ENV!=="production"&&o&&Qe(Ne)&&X(He,Ce)&&(g&&(ys(h,Ne)||$1(v,Ne))&&ta(ks(qn.FALLBACK_TO_ROOT,{key:Ne,type:He})),process.env.NODE_ENV!=="production")){const{__v_emitter:nt}=S;nt&&g&&nt.emit("fallback",{type:He,key:Ne,to:"global",groupId:`${He}:${Ne}`})}return o&&g?Re(o):it(Ne)}else{if(ve(be))return be;throw Ha(Xt.UNEXPECTED_RETURN_TYPE)}};function oe(...$){return P(ne=>Reflect.apply(ih,null,[ne,...$]),()=>_d(...$),"translate",ne=>Reflect.apply(ne.t,ne,[...$]),ne=>ne,ne=>Qe(ne))}function te(...$){const[ne,He,Re]=$;if(Re&&!Ct(Re))throw Ha(Xt.INVALID_ARGUMENT);return oe(ne,He,On({resolvedMessage:!0},Re||{}))}function Ve(...$){return P(ne=>Reflect.apply(fh,null,[ne,...$]),()=>Yd(...$),"datetime format",ne=>Reflect.apply(ne.d,ne,[...$]),()=>gs,ne=>Qe(ne))}function De(...$){return P(ne=>Reflect.apply(hh,null,[ne,...$]),()=>Zd(...$),"number format",ne=>Reflect.apply(ne.n,ne,[...$]),()=>gs,ne=>Qe(ne))}function de($){return $.map(ne=>Qe(ne)||bn(ne)||Rt(ne)?Eh(String(ne)):ne)}const ae={normalize:de,interpolate:$=>$,type:"vnode"};function ge(...$){return P(ne=>{let He;const Re=ne;try{Re.processor=ae,He=Reflect.apply(ih,null,[Re,...$])}finally{Re.processor=null}return He},()=>_d(...$),"translate",ne=>ne[Ud](...$),ne=>[Eh(ne)],ne=>sn(ne))}function he(...$){return P(ne=>Reflect.apply(hh,null,[ne,...$]),()=>Zd(...$),"number format",ne=>ne[Gd](...$),Nh,ne=>Qe(ne)||sn(ne))}function Te(...$){return P(ne=>Reflect.apply(fh,null,[ne,...$]),()=>Yd(...$),"datetime format",ne=>ne[Wd](...$),Nh,ne=>Qe(ne)||sn(ne))}function je($){D=$,S.pluralRules=D}function ye($,ne){return P(()=>{if(!$)return!1;const He=Qe(ne)?ne:d.value,Re=Ee(He),it=S.messageResolver(Re,$);return s?it!=null:Zo(it)||Co(it)||Qe(it)},()=>[$],"translate exists",He=>Reflect.apply(He.te,He,[$,ne]),vN,He=>Rt(He))}function ue($){let ne=null;const He=Y1(S,u.value,d.value);for(let Re=0;Re<He.length;Re++){const it=y.value[He[Re]]||{},ve=S.messageResolver(it,$);if(ve!=null){ne=ve;break}}return ne}function Ie($){const ne=ue($);return ne??(o?o.tm($)||{}:{})}function Ee($){return y.value[$]||{}}function Xe($,ne){if(l){const He={[$]:ne};for(const Re in He)_o(He,Re)&&Ql(He[Re]);ne=He[$]}y.value[$]=ne,S.messages=y.value}function mt($,ne){y.value[$]=y.value[$]||{};const He={[$]:ne};if(l)for(const Re in He)_o(He,Re)&&Ql(He[Re]);ne=He[$],us(ne,y.value[$]),S.messages=y.value}function R($){return p.value[$]||{}}function U($,ne){p.value[$]=ne,S.datetimeFormats=p.value,ph(S,$,ne)}function pe($,ne){p.value[$]=On(p.value[$]||{},ne),S.datetimeFormats=p.value,ph(S,$,ne)}function q($){return m.value[$]||{}}function J($,ne){m.value[$]=ne,S.numberFormats=m.value,yh(S,$,ne)}function Be($,ne){m.value[$]=On(m.value[$]||{},ne),S.numberFormats=m.value,yh(S,$,ne)}Vh++,o&&va&&(e.watch(o.locale,$=>{c&&(d.value=$,S.locale=$,ql(S,d.value,u.value))}),e.watch(o.fallbackLocale,$=>{c&&(u.value=$,S.fallbackLocale=$,ql(S,d.value,u.value))}));const Pe={id:Vh,locale:N,fallbackLocale:j,get inheritLocale(){return c},set inheritLocale($){c=$,$&&o&&(d.value=o.locale.value,u.value=o.fallbackLocale.value,ql(S,d.value,u.value))},get availableLocales(){return Object.keys(y.value).sort()},messages:O,get modifiers(){return C},get pluralRules(){return D||{}},get isGlobal(){return r},get missingWarn(){return v},set missingWarn($){v=$,S.missingWarn=v},get fallbackWarn(){return h},set fallbackWarn($){h=$,S.fallbackWarn=h},get fallbackRoot(){return g},set fallbackRoot($){g=$},get fallbackFormat(){return k},set fallbackFormat($){k=$,S.fallbackFormat=k},get warnHtmlMessage(){return w},set warnHtmlMessage($){w=$,S.warnHtmlMessage=$},get escapeParameter(){return E},set escapeParameter($){E=$,S.escapeParameter=$},t:oe,getLocaleMessage:Ee,setLocaleMessage:Xe,mergeLocaleMessage:mt,getPostTranslationHandler:z,setPostTranslationHandler:M,getMissingHandler:x,setMissingHandler:H,[yN]:je};return Pe.datetimeFormats=I,Pe.numberFormats=A,Pe.rt=te,Pe.te=ye,Pe.tm=Ie,Pe.d=Ve,Pe.n=De,Pe.getDateTimeFormat=R,Pe.setDateTimeFormat=U,Pe.mergeDateTimeFormat=pe,Pe.getNumberFormat=q,Pe.setNumberFormat=J,Pe.mergeNumberFormat=Be,Pe[Ch]=a,Pe[Ud]=ge,Pe[Wd]=Te,Pe[Gd]=he,process.env.NODE_ENV!=="production"&&(Pe[Kd]=$=>{S.__v_emitter=$},Pe[qd]=()=>{S.__v_emitter=void 0}),Pe}const Jd={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function CN({slots:t},n){return n.length===1&&n[0]==="default"?(t.default?t.default():[]).reduce((a,r)=>[...a,...r.type===e.Fragment?r.children:[r]],[]):n.reduce((o,a)=>{const r=t[a];return r&&(o[a]=r()),o},Pt())}function Ih(t){return e.Fragment}On({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>bn(t)||!isNaN(t)}},Jd);function TN(t){return sn(t)&&!Qe(t[0])}function Ah(t,n,o,a){const{slots:r,attrs:l}=n;return()=>{const i={part:!0};let s=Pt();t.locale&&(i.locale=t.locale),Qe(t.format)?i.key=t.format:Ct(t.format)&&(Qe(t.format.key)&&(i.key=t.format.key),s=Object.keys(t.format).reduce((p,m)=>o.includes(m)?On(Pt(),p,{[m]:t.format[m]}):p,Pt()));const c=a(t.value,i,s);let d=[i.key];sn(c)?d=c.map((p,m)=>{const v=r[p.type],h=v?v({[p.type]:p.value,index:m,parts:c}):[p.value];return TN(h)&&(h[0].key=`${p.type}-${m}`),h}):Qe(c)&&(d=[c]);const u=On(Pt(),l),y=Qe(t.tag)||Ct(t.tag)?t.tag:Ih();return e.h(y,u,d)}}On({value:{type:Number,required:!0},format:{type:[String,Object]}},Jd),On({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Jd);function Dh(t,n){}const EN=ba("global-vue-i18n");function Xl(t={}){const n=e.getCurrentInstance();if(n==null)throw Ha(Xt.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw Ha(Xt.NOT_INSTALLED);const o=SN(n),a=VN(o),r=Th(n),l=NN(t,r);if(__VUE_I18N_LEGACY_API__&&o.mode==="legacy"&&!t.__useComponent){if(!o.allowComposition)throw Ha(Xt.NOT_AVAILABLE_IN_LEGACY_MODE);return DN(n,l,a,t)}if(l==="global")return kN(a,t,r),a;if(l==="parent"){let c=BN(o,n,t.__useComponent);return c==null&&(process.env.NODE_ENV!=="production"&&ta(ks(qn.NOT_FOUND_PARENT_SCOPE)),c=a),c}const i=o;let s=i.__getInstance(n);if(s==null){const c=On({},t);"__i18n"in r&&(c.__i18n=r.__i18n),a&&(c.__root=a),s=wN(c),i.__composerExtend&&(s[Qd]=i.__composerExtend(s)),AN(i,n,s),i.__setInstance(n,s)}return s}function SN(t){{const n=e.inject(t.isCE?EN:t.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw Ha(t.isCE?Xt.NOT_INSTALLED_WITH_PROVIDE:Xt.UNEXPECTED_ERROR);return n}}function NN(t,n){return ss(t)?"__i18n"in n?"local":"global":t.useScope?t.useScope:"local"}function VN(t){return t.mode==="composition"?t.global:t.global.__composer}function BN(t,n,o=!1){let a=null;const r=n.root;let l=IN(n,o);for(;l!=null;){const i=t;if(t.mode==="composition")a=i.__getInstance(l);else if(__VUE_I18N_LEGACY_API__){const s=i.__getInstance(l);s!=null&&(a=s.__composer,o&&a&&!a[Ch]&&(a=null))}if(a!=null||r===l)break;l=l.parent}return a}function IN(t,n=!1){return t==null?null:n&&t.vnode.ctx||t.parent}function AN(t,n,o){let a=null;e.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&n.vnode.el){n.vnode.el.__VUE_I18N__=o,a=D9();const r=o;r[Kd]&&r[Kd](a),a.on("*",Dh)}},n),e.onUnmounted(()=>{const r=o;process.env.NODE_ENV!=="production"&&n.vnode.el&&n.vnode.el.__VUE_I18N__&&(a&&a.off("*",Dh),r[qd]&&r[qd](),delete n.vnode.el.__VUE_I18N__),t.__deleteInstance(n);const l=r[Qd];l&&(l(),delete r[Qd])},n)}function DN(t,n,o,a={}){const r=n==="local",l=e.shallowRef(null);if(r&&t.proxy&&!(t.proxy.$options.i18n||t.proxy.$options.__i18n))throw Ha(Xt.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const i=Rt(a.inheritLocale)?a.inheritLocale:!Qe(a.locale),s=e.ref(!r||i?o.locale.value:Qe(a.locale)?a.locale:Kl),c=e.ref(!r||i?o.fallbackLocale.value:Qe(a.fallbackLocale)||sn(a.fallbackLocale)||kt(a.fallbackLocale)||a.fallbackLocale===!1?a.fallbackLocale:s.value),d=e.ref(Xd(s.value,a)),u=e.ref(kt(a.datetimeFormats)?a.datetimeFormats:{[s.value]:{}}),y=e.ref(kt(a.numberFormats)?a.numberFormats:{[s.value]:{}}),p=r?o.missingWarn:Rt(a.missingWarn)||$r(a.missingWarn)?a.missingWarn:!0,m=r?o.fallbackWarn:Rt(a.fallbackWarn)||$r(a.fallbackWarn)?a.fallbackWarn:!0,v=r?o.fallbackRoot:Rt(a.fallbackRoot)?a.fallbackRoot:!0,h=!!a.fallbackFormat,g=Gt(a.missing)?a.missing:null,k=Gt(a.postTranslation)?a.postTranslation:null,T=r?o.warnHtmlMessage:Rt(a.warnHtmlMessage)?a.warnHtmlMessage:!0,f=!!a.escapeParameter,b=r?o.modifiers:kt(a.modifiers)?a.modifiers:{},w=a.pluralRules||r&&o.pluralRules;function E(){return[s.value,c.value,d.value,u.value,y.value]}const C=e.computed({get:()=>l.value?l.value.locale.value:s.value,set:ye=>{l.value&&(l.value.locale.value=ye),s.value=ye}}),D=e.computed({get:()=>l.value?l.value.fallbackLocale.value:c.value,set:ye=>{l.value&&(l.value.fallbackLocale.value=ye),c.value=ye}}),S=e.computed(()=>l.value?l.value.messages.value:d.value),V=e.computed(()=>u.value),B=e.computed(()=>y.value);function N(){return l.value?l.value.getPostTranslationHandler():k}function j(ye){l.value&&l.value.setPostTranslationHandler(ye)}function O(){return l.value?l.value.getMissingHandler():g}function I(ye){l.value&&l.value.setMissingHandler(ye)}function A(ye){return E(),ye()}function z(...ye){return l.value?A(()=>Reflect.apply(l.value.t,null,[...ye])):A(()=>"")}function M(...ye){return l.value?Reflect.apply(l.value.rt,null,[...ye]):""}function x(...ye){return l.value?A(()=>Reflect.apply(l.value.d,null,[...ye])):A(()=>"")}function H(...ye){return l.value?A(()=>Reflect.apply(l.value.n,null,[...ye])):A(()=>"")}function X(ye){return l.value?l.value.tm(ye):{}}function P(ye,ue){return l.value?l.value.te(ye,ue):!1}function oe(ye){return l.value?l.value.getLocaleMessage(ye):{}}function te(ye,ue){l.value&&(l.value.setLocaleMessage(ye,ue),d.value[ye]=ue)}function Ve(ye,ue){l.value&&l.value.mergeLocaleMessage(ye,ue)}function De(ye){return l.value?l.value.getDateTimeFormat(ye):{}}function de(ye,ue){l.value&&(l.value.setDateTimeFormat(ye,ue),u.value[ye]=ue)}function _(ye,ue){l.value&&l.value.mergeDateTimeFormat(ye,ue)}function ae(ye){return l.value?l.value.getNumberFormat(ye):{}}function ge(ye,ue){l.value&&(l.value.setNumberFormat(ye,ue),y.value[ye]=ue)}function he(ye,ue){l.value&&l.value.mergeNumberFormat(ye,ue)}const Te={get id(){return l.value?l.value.id:-1},locale:C,fallbackLocale:D,messages:S,datetimeFormats:V,numberFormats:B,get inheritLocale(){return l.value?l.value.inheritLocale:i},set inheritLocale(ye){l.value&&(l.value.inheritLocale=ye)},get availableLocales(){return l.value?l.value.availableLocales:Object.keys(d.value)},get modifiers(){return l.value?l.value.modifiers:b},get pluralRules(){return l.value?l.value.pluralRules:w},get isGlobal(){return l.value?l.value.isGlobal:!1},get missingWarn(){return l.value?l.value.missingWarn:p},set missingWarn(ye){l.value&&(l.value.missingWarn=ye)},get fallbackWarn(){return l.value?l.value.fallbackWarn:m},set fallbackWarn(ye){l.value&&(l.value.missingWarn=ye)},get fallbackRoot(){return l.value?l.value.fallbackRoot:v},set fallbackRoot(ye){l.value&&(l.value.fallbackRoot=ye)},get fallbackFormat(){return l.value?l.value.fallbackFormat:h},set fallbackFormat(ye){l.value&&(l.value.fallbackFormat=ye)},get warnHtmlMessage(){return l.value?l.value.warnHtmlMessage:T},set warnHtmlMessage(ye){l.value&&(l.value.warnHtmlMessage=ye)},get escapeParameter(){return l.value?l.value.escapeParameter:f},set escapeParameter(ye){l.value&&(l.value.escapeParameter=ye)},t:z,getPostTranslationHandler:N,setPostTranslationHandler:j,getMissingHandler:O,setMissingHandler:I,rt:M,d:x,n:H,tm:X,te:P,getLocaleMessage:oe,setLocaleMessage:te,mergeLocaleMessage:Ve,getDateTimeFormat:De,setDateTimeFormat:de,mergeDateTimeFormat:_,getNumberFormat:ae,setNumberFormat:ge,mergeNumberFormat:he};function je(ye){ye.locale.value=s.value,ye.fallbackLocale.value=c.value,Object.keys(d.value).forEach(ue=>{ye.mergeLocaleMessage(ue,d.value[ue])}),Object.keys(u.value).forEach(ue=>{ye.mergeDateTimeFormat(ue,u.value[ue])}),Object.keys(y.value).forEach(ue=>{ye.mergeNumberFormat(ue,y.value[ue])}),ye.escapeParameter=f,ye.fallbackFormat=h,ye.fallbackRoot=v,ye.fallbackWarn=m,ye.missingWarn=p,ye.warnHtmlMessage=T}return e.onBeforeMount(()=>{if(t.proxy==null||t.proxy.$i18n==null)throw Ha(Xt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const ye=l.value=t.proxy.$i18n.__composer;n==="global"?(s.value=ye.locale.value,c.value=ye.fallbackLocale.value,d.value=ye.messages.value,u.value=ye.datetimeFormats.value,y.value=ye.numberFormats.value):r&&je(ye)}),Te}if(pN(),__INTLIFY_JIT_COMPILATION__?W1(eN):W1($S),jS(ES),US(Y1),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const t=wa();t.__INTLIFY__=!0,LS(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const MN={common:{},anytrekTimePick:{timeZone:"Time zone",now:"Now",Jan:"Jan",Feb:"Feb",Mar:"Mar",Apr:"Apr",May:"May",Jun:"Jun",Jul:"Jul",Aug:"Aug",Sep:"Sep",Oct:"Oct",Nov:"Nov",Dec:"Dec",Sun:"Sun",Mon:"Mon",Tue:"Tue",Wed:"Wed",Thu:"Thu",Fri:"Fri",Sat:"Sat"},anytrekTimerangePick:{from:"From",to:"To",overLast:"Over the last",hr:"hr",min:"min",Hour:"Hour",Hours:"Hours",Day:"Day",Days:"Days",Week:"Week",Weeks:"Weeks",Month:"Month",Months:"Months",Quarter:"Quarter",Quarters:"Quarters",Year:"Year",Years:"Years",this:"This"},vehicleSelect:{search:"Search",vehicle:"Vehicle",lastUpdate:"Last update",copySuccessful:"Copy successful",doorOpenCurrently:"Door is opened currently",doorCloseCurrently:"Door is closed currently",offline:"Offline",idle:"Idle",driving:"Driving",engineOff:"Engine Off",searchDevice:"Search device",noData:"No Data",all:"All",tag:"Tag",landmark:"Landmark",drivingFirst:"Driving First",idleFirst:"Idle First",warningFirst:"Warning First",offlineFirst:"Offline First",batteryOnUseFirst:"Battery On Use First",lastUpdated:"Last Updated",createFirst:"Create First",viewSelectedVehicle:"View Selected Vehicle",viewSelectedDevice:"View Selected Device"},vehicle:{vehicles:"Vehicles",name:"Name",device:"Device",createAVehicle:"Create a Vehicle",editVehicle:"Edit Vehicle",vehicleType:"Vehicle Type",selectAssetType:"Select a Asset Type",selectDevice:"Select a Device",boundDate:"Bound Date",bingToTags:"Bind to tags",make:"Make",year:"Year",plateNum:"Plate Number",vinOrSerialNumber:"VIN/Serial Number",history:"History",assetType:{assetType:"Asset Type",semiTrailer:"Semi-trailer",VANTrailer:"VAN Trailer",chassis:"Chassis",tank:"Tank",gears:"Gears",stepDeck:"Step deck",flatbed:"Flat bed",dump:"Dump",BumperPullTrailer:"Bumper Pull Trailer",GooseneckTrailer:"Gooseneck Trailer",Pneumatic:"Pneumatic",ISOTank:"ISO Tank",truck:"Truck",heavyDutyTruck:"Heavy duty truck",mediumDutyTruck:"Medium duty truck",lightDutyTruck:"Light duty truck",bus:"BUS",forklift:"Forklift",traffic:"Traffic",portableTrafficLights:"Portable traffic lights",arrowBoard:"Arrow board",others:"Others",customize:"Customize"},nameTip:"name is required",assetTypeTip:"Asset Type is required",fuelType:"Fuel Type",diesel:"Diesel",grossWeight:"Gross Weight",selected:"Selected",typeInContent:"Type in content",now:"Now",seeAll:"See all",devicesInTotal:"Devices in total",addSensor:"Add Sensor",tipChooseTheSensorToConfigure:"Choose the sensor to configure.",tipPurchaseItFirstToAddHere:"Purchase it first to add here.",containerDetectionSensor:"Container Detection Sensor",containerDetectionSensorTip:"You must purchase first before you can add here.",addConDetSensor:"Add A Container Detection Sensor",editConDetSensor:"Edit Container Detection Sensor",conDetSensorPlaceholder:"Enter mac address or ID of the sensor",lightHub:"LightHub",addLightHub:"Add A LightHub",editLightHub:"Edit LightHub",lightHubPlaceholder:"Enter mac address or ID of the LightHub",tirePressureMonitoringSensor:"Tire Pressure Monitoring Sensor",weightSensor:"Weight Sensor",addWeightSensor:"Add A Weight Sensor",editWeightSensor:"Edit Weight Sensor",placeholderOfSensor:"Enter mac address or ID of the sensor",placeholderOfSensorName:"Enter the name of the sensor",BTLSensor:"Bluetooth Trailer Lock",addBTLSensor:"Add A Bluetooth Trailer Lock",editBTLSensor:"Edit Bluetooth Trailer Lock",THSensor:"Temp & Humidity Sensor",addTHSensor:"Add A temp. sensor",editTHSensor:"Edit temp. sensor",macAddress:"Mac address",nameThisSensor:"Name this sensor",odometer:"Odometer",add:"Add"},tag:{nameThisTag:"Name This Tag",addElements:"Add Elements",addTag:"Add tag",addVehicle:"Add vehicle",addLandmark:"Add landmark",addDevice:"Add device",selectAll:"Select All",createNewLandmarkGroup:"Create New Landmark Group",createTag:"Create Tag",createATag:"Create a Tag",createNewTag:"Create New Tag",editThisTag:"Edit This Tag",createNewVehicle:"Create New Vehicle",searchDeviceID:"Search Device ID",element:"Element",batchDeviceID:"Batch Device ID"},landmark:{createLandmark:"Create a Landmark",createNewLandmark:"Create New Landmark",editLandmark:"Edit This Landmark",nameThisLandmark:"Name This Landmark",mapArea:"Map Area",reset:"Reset",satellite:"Satellite",address:"Address",city:"City",state:"State",remark:"Remark",chooseLandmarkGroup:"Choose A Landmark Group",zipCode:"Zip Code"},description:"Description",cancel:"Cancel",save:"Save",deleteTip:"Sure to remove this?",share:{nameOfShare:"Name of Share",creator:"Creator",action:"Action",newShare:"New Share",createAShare:"Create a Share",expandDetails:"Expand details",previewLink:"Preview Link",sendToEmail:"Send to Email",removeThisShare:"Remove this Share",OverTheLastHours:"Over the last {hour} Hours",overTheLast:"Over the last",onlyCurrent:"Only current",nameThisShare:"Name This Share",enterUniqueName:"Enter a unique name",selectedVehiclesToShare:"Selected Vehicles to Share",expiresAfter:"Expires After",saveAndGenerate:"Save and Generate",landmarkGroup:"Landmark Group",createNew:"Create New",batchDeviceID:"Batch Device ID",oneIDLine:"One ID per line",seeAllVehicles:"See all {n} Vehicles",anyoneCanView:"Anyone with the link can view",displayYourLogo:"Display Your Logo",withTrailLast:"With trail of the last",addALink:"Add a Link",yourLogo:"Your Logo",typeContent:"Type in content",sureRemoveThis:"Sure to remove this?",enterEmailAddress:"Enter Email Address",allSelectedElement:"All Selected Element",NinTotal:"{n} in total",enterAliasName:"Enter Alias Name",editAliasName:"Edit Alias Name",loadingPleaseWait:"Loading please wait",shareNotFound:"Share not found",shareExpired:"This share link has expired.",NExpiredOn:"Expired on {n}",ValidForNDays:"Valid for {n} days",backToViewAll:"Back to view all",ViewAllNVehicles:"View all {n} vehicles",navigate:"Navigate",tripList:"Trip list",viewTripList:"View trip list",localstorageFullTip:"The local storage card is nearly full. Please manually clean up the unnecessary videos.",numberOfVehiclesWithinLandmarks:"Number of vehicles within landmarks",sendtoEmailorPhoneNumber:"Send to Email or Phone Number",enterEmailAddressPhoneNumber:"Enter Email Address or Phone Number",permanent:"Permanent",custom:"Custom",enable:"Enable",disable:"Disable",selected:"Selected",vehicleName:"Vehicle Name",realTimeLocationMode:"Real-Time Location",historyTrailsMode:"History Trails",detailOf:"Details of {name}",editName:"Edit {name}",daysLeft:"{d} Days Left",aliasNameEditing:"{name} Alias Name Editing",selectedvehicles:"{n} Vehicles",allSelectedVehicles:"All Selected Vehicles",searchVehicle:"Search Vehicle",moreConfigurations:"More configurations",displayTemperature:"Display Temperature",lessConfigurations:"Less configurations",Can0to72:"Can be set within a range of 0 to 72 hours"}},LN={common:{},anytrekTimePick:{timeZone:"Huso horario",now:"Ahora",Jan:"Ene",Feb:"Feb",Mar:"Mar",Apr:"Abr",May:"May",Jun:"Jun",Jul:"Jul",Aug:"Ago",Sep:"Sep",Oct:"Oct",Nov:"Nov",Dec:"Dic",Sun:"Dom",Mon:"Lun",Tue:"Mar",Wed:"Mié",Thu:"Jue",Fri:"Vie",Sat:"Sáb"},anytrekTimerangePick:{from:"Desde",to:"A",overLast:"Durante los últimos",hr:"h",min:"min",Hour:"Hora",Hours:"Horas",Day:"Día",Days:"Días",Week:"Semana",Weeks:"Semanas",Month:"Mes",Months:"Meses",Quarter:"Trimestre",Quarters:"Trimestres",Year:"Año",Years:"Años",this:"Esto"},vehicleSelect:{search:"Buscar",vehicle:"Vehículo",lastUpdate:"Última actualización",copySuccessful:"Copia exitosa",doorOpenCurrently:"La puerta está abierta actualmente",doorCloseCurrently:"La puerta está cerrada actualmente",offline:"Fuera de línea",idle:"Inactivo.",driving:"Conducción",engineOff:"Motor apagado",searchDevice:"Dispositivo de búsqueda",noData:"Sin datos",all:"Total",tag:"Etiqueta",landmark:"Geocerca",drivingFirst:"Primero Conducir",idleFirst:"Primero Ralenti",warningFirst:"Primero Alerta",offlineFirst:"Primero Offline",batteryOnUseFirst:"Primero Batería",lastUpdated:"Última Actualiz.",createFirst:"Primero Crear",viewSelectedVehicle:"Ver vehículo seleccionado",viewSelectedDevice:"Ver dispositivo seleccionado"},vehicle:{vehicles:"Vehículos",name:"Nombre",device:"Dispositivo",createAVehicle:"Crear un vehículo",editVehicle:"Editar vehículo",vehicleType:"Tipo de vehículo",selectAssetType:"Seleccione un tipo de activo",selectDevice:"Seleccione un dispositivo",boundDate:"Fecha límite",bingToTags:"Vincular a etiquetas",make:"Hacer",year:"Año",plateNum:"Número de matrícula",vinOrSerialNumber:"VIN/número de serie",history:"Historia",assetType:{assetType:"Tipos de activos",semiTrailer:"Semi - remolque",VANTrailer:"camioneta",chassis:"Remolques para contenedores",tank:"coche",gears:"engranaje",stepDeck:"Plataforma de paso",flatbed:"Cama plana",dump:"Dump",BumperPullTrailer:"Remolque con parachoques",GooseneckTrailer:"Remolque de cuello de cisne",Pneumatic:"Neumático",ISOTank:"Tanque ISO",truck:"Vertedero",heavyDutyTruck:"Camiones pesados",mediumDutyTruck:"Camión de transporte medio",lightDutyTruck:"La camioneta",bus:"El autobús",forklift:"carretilla",traffic:"Tráfico",portableTrafficLights:"Semáforos portátiles",arrowBoard:"Tablero de flechas",others:"Otros",customize:"Personalizar"},nameTip:"Se necesita un nuevo nombre",assetTypeTip:"Se requiere tipo de activo",fuelType:"Tipo de combustible",diesel:"Diesel",grossWeight:"Peso bruto",selected:"seleccionado",typeInContent:"Escriba el contenido",now:"Ahora",seeAll:"Ver todo",devicesInTotal:"Dispositivos en total",addSensor:"Añadir sensor",tipChooseTheSensorToConfigure:"Elige el sensor que quieres configurar.",tipPurchaseItFirstToAddHere:"Cómpralo primero para poder añadirlo aquí.",containerDetectionSensor:"Sensor de Detección de Contenedores",containerDetectionSensorTip:"Debe comprar primero antes de poder agregar aquí.",addConDetSensor:"Añadir un sensor de detección de contenedor",editConDetSensor:"Editar Sensor de Detección de Contenedores",conDetSensorPlaceholder:"Ingrese la dirección MAC o el ID del sensor",lightHub:"LightHub",addLightHub:"Añadir un LightHub",editLightHub:"Editar LightHub",lightHubPlaceholder:"Introduzca la dirección MAC o el ID del LightHub",tirePressureMonitoringSensor:"Sensor de presión de neumáticos",weightSensor:"Sensor de peso",addWeightSensor:"Añadir un sensor de peso",editWeightSensor:"Editar sensor de peso",placeholderOfSensor:"Introduce la dirección MAC o el ID del sensor",placeholderOfSensorName:"Introduce el nombre del sensor",BTLSensor:"Cerradura de remolque Bluetooth",addBTLSensor:"Añadir una cerradura de remolque Bluetooth",editBTLSensor:"Editar cerradura de remolque Bluetooth",THSensor:"Sensor de temperatura y humedad",addTHSensor:"Añadir un sensor de temperatura",editTHSensor:"Editar sensor de temperatura",macAddress:"Dirección MAC",nameThisSensor:"Asigna un nombre a este sensor",odometer:"Odómetro",add:"Añadir"},tag:{nameThisTag:"Nombra esta etiqueta",addElements:"Agregar elementos",addTag:"Añadir etiqueta",addVehicle:"Añadir vehículo",addLandmark:"Añadir punto de referencia",addDevice:"Agregar dispositivo",selectAll:"Seleccionar todo",createNewLandmarkGroup:"Crear un nuevo grupo Landmark",createTag:"Crear etiqueta",createATag:"Crear una etiqueta",createNewTag:"Crear nueva etiqueta",editThisTag:"Editar esta etiqueta",createNewVehicle:"Crear nuevo vehículo",searchDeviceID:"Buscar ID del dispositivo",element:"Elemento",batchDeviceID:"ID de dispositivo de lote"},landmark:{createLandmark:"Crear un hito",createNewLandmark:"Crear nuevo punto de referencia",editLandmark:"Editar hito",nameThisLandmark:"Nombre este Landmark",mapArea:"Área del mapa",reset:"Reiniciar",satellite:"Satélite",address:"Dirección",city:"Ciudad",state:"Estado",remark:"Observación",chooseLandmarkGroup:"Elegir un grupo de referencia",zipCode:"Código postal"},description:"Descripción",cancel:"Cancelar",save:"Guardar",deleteTip:"¿Estás seguro de eliminar esto?",share:{nameOfShare:"Nombre del enlace",creator:"Creador",action:"Acción",newShare:"Nuevo enlace",createAShare:"Crear un enlace",expandDetails:"Expandir detalles",previewLink:"Vista previa del enlace",sendToEmail:"Enviar por correo electrónico",removeThisShare:"Eliminar este enlace",OverTheLastHours:"En las últimas {hour} horas",overTheLast:"En las últimas",onlyCurrent:"Solo actual",nameThisShare:"Nombrar este enlace",enterUniqueName:"Ingrese un nombre único",selectedVehiclesToShare:"Vehículos seleccionados para compartir",expiresAfter:"Expira después de",saveAndGenerate:"Guardar y generar",landmarkGroup:"Grupo de puntos de referencia",createNew:"Crear nuevo",batchDeviceID:"ID de dispositivo por lote",oneIDLine:"Un ID por línea",seeAllVehicles:"Ver los {n} vehículos",anyoneCanView:"Cualquiera con el enlace puede ver",displayYourLogo:"Mostrar tu logotipo",withTrailLast:"Con rastro reciente",addALink:"Agregar un enlace",yourLogo:"Tu logotipo",typeContent:"Escriba el contenido",sureRemoveThis:"¿Seguro que desea eliminar esto?",enterEmailAddress:"Introduzca dirección de correo",allSelectedElement:"Todos los elementos seleccionados",NinTotal:"{n} en total",enterAliasName:"Introduzca nombre alternativo",editAliasName:"Editar nombre alternativo",loadingPleaseWait:"Cargando, por favor espere",shareNotFound:"Enlace no encontrado",shareExpired:"Este enlace ha expirado.",NExpiredOn:"Expirado el {n}",ValidForNDays:"Válido por {n} días",backToViewAll:"Volver a ver todo",ViewAllNVehicles:"Ver los {n} vehículos",navigate:"Navegar",tripList:"Lista de viajes",viewTripList:"Ver lista de viajes",localstorageFullTip:"El almacenamiento local está casi lleno. Por favor, elimine manualmente los videos innecesarios.",numberOfVehiclesWithinLandmarks:"Número de vehículos dentro de los puntos de referencia",sendtoEmailorPhoneNumber:"Enviar al correo o número de teléfono",enterEmailAddressPhoneNumber:"Introduzca correo o número de teléfono",permanent:"Permanente",custom:"Personalizado",enable:"Habilitar",disable:"Deshabilitar",selected:"Seleccionado",vehicleName:"Nombre del vehículo",realTimeLocationMode:"Ubicación en tiempo real",historyTrailsMode:"Historial de rutas",detailOf:"Detalles de {name}",editName:"Editar el nombre de {name}",daysLeft:"{d} Días Restantes",aliasNameEditing:"Edición del nombre de alias de {name}",selectedvehicles:"{n} Vehículos",allSelectedVehicles:"Todos los vehículos seleccionados",searchVehicle:"Buscar vehiculo.",moreConfigurations:"Más configuraciones",displayTemperature:"Mostrar temperatura",lessConfigurations:"Menos configuraciones",Can0to72:"Se puede configurar dentro de un rango de 0 a 72 horas"}},xN={common:{},anytrekTimePick:{timeZone:"Fuseau horaire",now:"Maintenant",Jan:"Janv",Feb:"Févr",Mar:"Mars",Apr:"Avr",May:"Mai",Jun:"Juin",Jul:"Juil",Aug:"Août",Sep:"Sept",Oct:"Oct",Nov:"Nov",Dec:"Déc",Sun:"Dim",Mon:"Lun",Tue:"Mar",Wed:"Mer",Thu:"Jeu",Fri:"Ven",Sat:"Sam"},anytrekTimerangePick:{from:"De",to:"À",overLast:"Au cours des dernières",hr:"h",min:"min",Hour:"Heure",Hours:"Heures",Day:"Jour",Days:"Jours",Week:"Semaine",Weeks:"Semaines",Month:"Mois",Months:"Mois",Quarter:"Trimestre",Quarters:"Trimestres",Year:"An",Years:"Ans",this:"Ceci"},vehicleSelect:{search:"Recherche",vehicle:"Véhicule",lastUpdate:"Dernière mise à jour",copySuccessful:"Copie réussie",doorOpenCurrently:"La porte est actuellement ouverte",doorCloseCurrently:"La porte est actuellement fermée",offline:"Hors ligne",idle:"Inactivité",driving:"Conduite",engineOff:"Moteur éteint",searchDevice:"Appareil de recherche",noData:"Aucune donnée",all:"Tout",tag:"Étiqueter",landmark:"Clôture",drivingFirst:"Conduite d’abord",idleFirst:"Ralenti d’abord",warningFirst:"Alerte d’abord",offlineFirst:"Hors-ligne d’abord",batteryOnUseFirst:"Batterie d’abord",lastUpdated:"Dernière maj.",createFirst:"Création d’abord",viewSelectedVehicle:"Voir le véhicule sélectionné",viewSelectedDevice:"Voir l’appareil sélectionné"},vehicle:{vehicles:"Véhicules",name:"Nom",device:"appareil",createAVehicle:"Créer un véhicule",editVehicle:"Modifier le véhicule",vehicleType:"Type de véhicule",selectAssetType:"Sélectionnez un type d'actif",selectDevice:"Sélectionnez un appareil",boundDate:"Date limite",bingToTags:"Lier aux balises",make:"Marque",year:"Année",plateNum:"Numéro de plaque",vinOrSerialNumber:"NIV/numéro de série",history:"Histoire",assetType:{assetType:"Types de biens",semiTrailer:"Semi-remorques pour",VANTrailer:"Camion camion remorque",chassis:"Remorques pour conteneurs",tank:"compartiment",gears:"engrenage",stepDeck:"Pont à marches",flatbed:"À plat",dump:"Décharge",BumperPullTrailer:"Remolque con parachoques",GooseneckTrailer:"Remolque de cuello de cisne",Pneumatic:"Neumático",ISOTank:"Tanque ISO",truck:"camion",heavyDutyTruck:"Poids lourds lourds",mediumDutyTruck:"Camion de transport moyen",lightDutyTruck:"Véhicules utilitaires légers",bus:"Bus",forklift:"chariot élévateur à fourche",traffic:"Tráfico",portableTrafficLights:"Semáforos portátiles",arrowBoard:"Tablero de flechas",others:"Autres",customize:"Personalizar"},nameTip:"Veuillez saisir le nom",assetTypeTip:"Le type d'actif est requis",fuelType:"Type de carburant",diesel:"Diesel",grossWeight:"Poids brut",selected:"choisi",typeInContent:"Saisissez le contenu",now:"Maintenant",seeAll:"Tout voir",devicesInTotal:"Appareils au total",addSensor:"Ajouter un capteur",tipChooseTheSensorToConfigure:"Choisissez le capteur à configurer.",tipPurchaseItFirstToAddHere:"Achetez-le d’abord pour pouvoir l’ajouter ici.",containerDetectionSensor:"Capteur de Détection de Conteneur",containerDetectionSensorTip:"Vous devez d'abord acheter avant de pouvoir ajouter ici.",addConDetSensor:"Ajouter un capteur de détection de conteneur",editConDetSensor:"Modifier le Capteur de Détection de Conteneur",conDetSensorPlaceholder:"Entrez l'adresse MAC ou l'ID du capteur",lightHub:"LightHub",addLightHub:"Ajouter un LightHub",editLightHub:"Modifier le LightHub",lightHubPlaceholder:"Saisissez l'adresse MAC ou l'ID du LightHub",tirePressureMonitoringSensor:"Capteur de pression des pneus",weightSensor:"Capteur de poids",addWeightSensor:"Ajouter un capteur de poids",editWeightSensor:"Modifier le capteur de poids",placeholderOfSensor:"Saisissez l’adresse MAC ou l’ID du capteur",placeholderOfSensorName:"Saisissez le nom du capteur",BTLSensor:"Serrure de remorque Bluetooth",addBTLSensor:"Ajouter une serrure de remorque Bluetooth",editBTLSensor:"Modifier la serrure de remorque Bluetooth",THSensor:"Capteur de température et d’humidité",addTHSensor:"Ajouter un capteur de température",editTHSensor:"Modifier le capteur de température",macAddress:"Adresse MAC",nameThisSensor:"Nommez ce capteur",odometer:"Odomètre",add:"Ajouter"},tag:{nameThisTag:"Nommez cette balise",addElements:"Ajouter des éléments",addTag:"Ajouter une balise",addVehicle:"Ajouter un véhicule",addLandmark:"Ajouter un point de repère",addDevice:"Ajouter un appareil",selectAll:"Tout sélectionner",createNewLandmarkGroup:"Créer un nouveau groupe de points de repère",createTag:"Créer une balise",createATag:"Créer une balise",createNewTag:"Créer une nouvelle balise",editThisTag:"Modifier cette balise",createNewVehicle:"Créer un nouveau véhicule",searchDeviceID:"Rechercher l'ID de l'appareil",element:"Élément",batchDeviceID:"ID de l'appareil par lots"},landmark:{createLandmark:"Créer un point de repère",createNewLandmark:"Créer un nouveau point de repère",editLandmark:"Modifier le point de repère",nameThisLandmark:"Nommez ce monument",mapArea:"Zone de la carte",reset:"Réinitialiser",satellite:"Satellite",address:"Adresse",city:"Ville",state:"Etat",remark:"Remarque",chooseLandmarkGroup:"Choisissez un groupe emblématique",zipCode:"Code postal"},description:"Descripción",cancel:"Annuler",save:"sauvegarder",deleteTip:"Êtes-vous sûr de vouloir supprimer cela ?",share:{nameOfShare:"Nom du partage",creator:"Créateur",action:"Action",newShare:"Nouveau partage",createAShare:"Créer un partage",expandDetails:"Afficher les détails",previewLink:"Aperçu du lien",sendToEmail:"Envoyer par e-mail",removeThisShare:"Supprimer ce partage",OverTheLastHours:"Au cours des dernières {hour} heures",overTheLast:"Au cours des dernières",onlyCurrent:"Seulement actuel",nameThisShare:"Nommer ce partage",enterUniqueName:"Entrez un nom unique",selectedVehiclesToShare:"Véhicules sélectionnés à partager",expiresAfter:"Expire après",saveAndGenerate:"Enregistrer et générer",landmarkGroup:"Groupe de repères",createNew:"Créer nouveau",batchDeviceID:"ID de périphérique en lot",oneIDLine:"Un ID par ligne",seeAllVehicles:"Voir les {n} véhicules",anyoneCanView:"Toute personne avec le lien peut voir",displayYourLogo:"Afficher votre logo",withTrailLast:"Avec trace récente",addALink:"Ajouter un lien",yourLogo:"Votre logo",typeContent:"Saisissez du contenu",sureRemoveThis:"Êtes-vous sûr de vouloir supprimer cela ?",enterEmailAddress:"Entrez l'adresse e-mail",allSelectedElement:"Tous les éléments sélectionnés",NinTotal:"{n} au total",enterAliasName:"Entrez le nom d'alias",editAliasName:"Modifier le nom d'alias",loadingPleaseWait:"Chargement, veuillez patienter",shareNotFound:"Partage introuvable",shareExpired:"Ce lien de partage a expiré.",NExpiredOn:"Expiré le {n}",ValidForNDays:"Valide pendant {n} jours",backToViewAll:"Retour à la vue d'ensemble",ViewAllNVehicles:"Voir les {n} véhicules",navigate:"Naviguer",tripList:"Liste des trajets",viewTripList:"Voir la liste des trajets",localstorageFullTip:"La carte de stockage local est presque pleine. Veuillez supprimer manuellement les vidéos inutiles.",numberOfVehiclesWithinLandmarks:"Nombre de véhicules dans les repères",sendtoEmailorPhoneNumber:"Envoyer à l'e-mail ou au numéro de téléphone",enterEmailAddressPhoneNumber:"Entrez l'adresse e-mail ou le numéro de téléphone",permanent:"Permanent",custom:"Personnalisé",enable:"Activer",disable:"Désactiver",selected:"Sélectionné",vehicleName:"Nom du véhicule",realTimeLocationMode:"Localisation en temps réel",historyTrailsMode:"Historique des trajets",detailOf:"Détails de {name}",editName:"Modifier le nom de {name}",daysLeft:"{d} Jours Restants",aliasNameEditing:"Édition du nom d'alias de {name}",selectedvehicles:"{n} Véhicules",allSelectedVehicles:"Tous les véhicules sélectionnés",searchVehicle:"Recherche de véhicule",moreConfigurations:"Plus de configurations",displayTemperature:"Afficher la température",lessConfigurations:"Moins de configurations",Can0to72:"Peut être défini dans une plage de 0 à 72 heures"}},ON={common:{},anytrekTimePick:{timeZone:"时区",now:"现在",Jan:"一月",Feb:"二月",Mar:"三月",Apr:"四月",May:"五月",Jun:"六月",Jul:"七月",Aug:"八月",Sep:"九月",Oct:"十月",Nov:"十一月",Dec:"十二月",Sun:"周日",Mon:"周一",Tue:"周二",Wed:"周三",Thu:"周四",Fri:"周五",Sat:"周六"},anytrekTimerangePick:{from:"从",to:"到",overLast:"在过去",hr:"时",min:"分",Hour:"小时",Hours:"小时",Day:"天",Days:"天",Week:"周",Weeks:"周",Month:"月",Months:"月",Quarter:"季度",Quarters:"季度",Year:"年",Years:"年",this:"这个"},vehicleSelect:{search:"搜索",vehicle:"车辆",lastUpdate:"最后更新",copySuccessful:"复制成功",doorOpenCurrently:"门当前处于打开状态",doorCloseCurrently:"门目前已关闭",offline:"离线",idle:"静止",driving:"驾驶中",engineOff:"发动机关闭",searchDevice:"搜索设备",noData:"没有数据",all:"全部",tag:"标签",landmark:"地标",drivingFirst:"行驶优先",idleFirst:"怠速优先",warningFirst:"预警优先",offlineFirst:"离线优先",batteryOnUseFirst:"电池优先",lastUpdated:"最后更新",createFirst:"创建优先",viewSelectedVehicle:"查看所选车辆",viewSelectedDevice:"查看所选设备"},vehicle:{vehicles:"车辆",name:"名称",device:"设备",createAVehicle:"创建车辆",editVehicle:"编辑车辆",vehicleType:"车辆类型",selectAssetType:"选择车辆类型",selectDevice:"选择设备",boundDate:"绑定时间",bingToTags:"绑定的标签",make:"制造商",year:"年",plateNum:"车牌号",vinOrSerialNumber:"VIN/序列号",history:"历史",assetType:{assetType:"资产类型",semiTrailer:"半拖车",VANTrailer:"厢式挂车",chassis:"集装箱拖车",tank:"车厢",gears:"齿轮",stepDeck:"阶梯甲板",flatbed:"平板",dump:"倾倒",BumperPullTrailer:"保险杠拖车",GooseneckTrailer:"鹅颈拖车",Pneumatic:"气动",ISOTank:"ISO罐式集装箱",truck:"货车",heavyDutyTruck:"重型载货车",mediumDutyTruck:"中型运输卡车",lightDutyTruck:"轻型货车",bus:"巴士",forklift:"叉车",traffic:"交通",portableTrafficLights:"便携式交通灯",arrowBoard:"箭头板",others:"其他",customize:"自定义"},nameTip:"请输入名称",assetTypeTip:"请选择资产类型",fuelType:"燃料类型",diesel:"柴油",grossWeight:"总重",selected:"已选择",typeInContent:"输入内容",now:"现在",seeAll:"查看全部",devicesInTotal:"设备总数",addSensor:"添加传感器",tipChooseTheSensorToConfigure:"选择要配置的传感器。",tipPurchaseItFirstToAddHere:"请先购买该设备,然后在此添加。",containerDetectionSensor:"集装箱检测传感器",containerDetectionSensorTip:"您必须先购买,然后才能在此处添加。",addConDetSensor:"添加集装箱检测传感器",editConDetSensor:"编辑集装箱探测传感器",conDetSensorPlaceholder:"请输入传感器的MAC地址或ID",lightHub:"光枢纽",addLightHub:"添加光枢纽",editLightHub:"编辑光枢纽",lightHubPlaceholder:"输入光枢纽的MAC地址或ID",tirePressureMonitoringSensor:"胎压监测传感器",weightSensor:"重量传感器",addWeightSensor:"添加重量传感器",editWeightSensor:"编辑重量传感器",placeholderOfSensor:"请输入传感器的 MAC 地址或 ID",placeholderOfSensorName:"请输入传感器名称",BTLSensor:"蓝牙挂车锁",addBTLSensor:"添加蓝牙挂车锁",editBTLSensor:"编辑蓝牙挂车锁",THSensor:"温湿度传感器",addTHSensor:"添加温度传感器",editTHSensor:"编辑温度传感器",macAddress:"MAC 地址",nameThisSensor:"传感器名称",odometer:"里程",add:"添加"},tag:{nameThisTag:"标签名称",addElements:"添加元素",addTag:"添加标签",addVehicle:"添加车辆",addLandmark:"添加地标",addDevice:"添加设备",selectAll:"全选",createNewLandmarkGroup:"创建地标组",createTag:"创建标签",createATag:"创建标签",createNewTag:"创建标签",editThisTag:"编辑标签",createNewVehicle:"创建车辆",searchDeviceID:"搜索设备ID",element:"元素",batchDeviceID:"批量设备ID"},landmark:{createLandmark:"创建地标",createNewLandmark:"创建地标",editLandmark:"编辑地标",nameThisLandmark:"地标名称",mapArea:"地图区域",reset:"重置",satellite:"卫星",address:"地址",city:"城市",state:"州/省份",remark:"备注",chooseLandmarkGroup:"选择地标组",zipCode:"邮政编码"},description:"描述",cancel:"取消",save:"保存",deleteTip:"确定要删除此内容吗?",share:{nameOfShare:"分享名称",creator:"创建者",action:"操作",newShare:"新建分享",createAShare:"创建一个分享",expandDetails:"展开详情",previewLink:"预览链接",sendToEmail:"发送到邮箱",removeThisShare:"删除此分享",OverTheLastHours:"过去 {hour} 小时内",overTheLast:"过去",onlyCurrent:"仅当前",nameThisShare:"为分享命名",enterUniqueName:"输入唯一名称",selectedVehiclesToShare:"已选车辆进行分享",expiresAfter:"过期时间",saveAndGenerate:"保存并生成",landmarkGroup:"地标分组",createNew:"新建",batchDeviceID:"批量设备ID",oneIDLine:"每行一个ID",seeAllVehicles:"查看全部 {n} 辆车",anyoneCanView:"任何持有链接的人均可查看",displayYourLogo:"显示你的Logo",withTrailLast:"包含最近的轨迹",addALink:"添加一个链接",yourLogo:"你的Logo",typeContent:"输入内容",sureRemoveThis:"确定要删除吗?",enterEmailAddress:"请输入邮箱地址",allSelectedElement:"所有已选项",NinTotal:"共 {n} 个",enterAliasName:"输入别名",editAliasName:"编辑别名",loadingPleaseWait:"加载中,请稍候",shareNotFound:"分享未找到",shareExpired:"该分享链接已过期。",NExpiredOn:"于 {n} 过期",ValidForNDays:"有效期 {n} 天",backToViewAll:"返回查看全部",ViewAllNVehicles:"查看全部 {n} 辆车",navigate:"导航",tripList:"行程列表",viewTripList:"查看行程列表",localstorageFullTip:"本地存储卡容量即将满,请手动清理不必要的视频。",numberOfVehiclesWithinLandmarks:"地标内的车辆数量",sendtoEmailorPhoneNumber:"发送到邮箱或手机号",enterEmailAddressPhoneNumber:"请输入邮箱或手机号",permanent:"永久",custom:"自定义",enable:"启用",disable:"禁用",selected:"已选",vehicleName:"车辆名称",realTimeLocationMode:"实时位置",historyTrailsMode:"历史轨迹",detailOf:"{name} 的详情",editName:"编辑 {name}",daysLeft:"剩余 {d} 天",aliasNameEditing:"{name} 别名编辑",selectedvehicles:"已选 {n} 辆车",allSelectedVehicles:"所有已选车辆",searchVehicle:"搜索车辆",moreConfigurations:"更多配置",displayTemperature:"显示温度",lessConfigurations:"更少的配置",Can0to72:"可以设置为 0 到 72 小时的范围"}};function Cn(){function t(r,{en:l,es:i,fr:s,zh:c}){function d(v,h){for(const g in h)if(Object.prototype.hasOwnProperty.call(h,g)){const k=h[g];k.constructor===Object?d(v,k):v[g]=k}}const u={},y={},p={},m={};switch(d(u,l),d(y,i),d(p,s),d(m,c),r){case"en":return u;case"es":return y;case"fr":return p;case"zh":case"zh-CN":return m;default:return u}}const n=Xl(),o=e.toRef(n.locale.value);e.watch(()=>n.locale.value,()=>{const r={en:MN,es:LN,fr:xN,zh:ON},{setLocaleMessage:l,getLocaleMessage:i}=Xl(),s=i(n.locale.value);l(n.locale.value,{...s,"anytrek-front-public-component":t(n.locale.value,r)})},{immediate:!0});function a(r,...l){return n.t(`anytrek-front-public-component.${r}`,...l)}return{t:a,locale:o}}const PN={class:"choose-time-content"},FN={class:"choose-time-body"},zN={class:"startHours"},RN={class:"hover"},HN=["onClick"],_N={class:"startMins startHours"},YN={class:"hover"},ZN=["onClick"],jN={class:"choose-time-body-bottom"},$d=bt(e.defineComponent({__name:"timeSelect",props:{day:{type:String,default:"2024-01-02"},startTime:{type:String,default:"00:00"},disabled:{type:Boolean,default:!1},disableHourFuntion:{type:Function},disableMinuteFuntion:{type:Function},timeZone:{type:String,default:""}},emits:["update:startTime","change"],setup(t,{emit:n}){const{t:o}=Cn(),a=t,{startTime:r}=e.toRefs(a),l=n,i=e.computed(()=>{const O=[];for(let I=0;I<24;I++){const A={};if(A.value=I+1,A.disabled=!1,a.disableHourFuntion){const z=a.disableHourFuntion(a.day,a.timeZone);try{A.disabled=(z||[]).includes(I)}catch{}}O.push(A)}return O}),s=e.computed(()=>{const O=[];for(let I=0;I<60;I++){const A={};if(A.value=I+1,A.disabled=!1,a.disableMinuteFuntion){const z=a.disableMinuteFuntion(a.day,p.value-1,a.timeZone);try{A.disabled=(z||[]).includes(I)}catch{}}O.push(A)}return O}),c=()=>{r.value?(p.value=Number(r.value.split(":")[0])+1,b.value=Number(r.value.split(":")[1])+1):(p.value=1,b.value=1),e.nextTick(()=>{k(),S()})},d=e.ref(null);e.onMounted(()=>{d.value={modifiers:[{name:"preventOverflow",options:{mainAxis:!0,altAxis:!0}}]}});const u=e.ref(!1);e.watch(()=>u.value,()=>{u.value&&c()}),e.watch(()=>a.day,()=>{a.day&&c()});const y=e.ref(),p=e.ref(1);let m=0,v=0,h=0;const g=O=>{const I=Math.round(O.scrollTop/48);p.value=I+1,m&&clearTimeout(m),v&&clearTimeout(v),m=setTimeout(()=>{k()},200)};function k(){if(!a.day)return;const O=p.value;let I=0;if(a.disableHourFuntion){I=100;const A=a.disableHourFuntion(a.day,a.timeZone);if(p.value>h){let z=!1;for(;(A||[]).includes(p.value-1);)if(p.value++,p.value>24){z=!0;break}if(z){for(p.value=O;(A||[]).includes(p.value-1);)if(p.value--,p.value<1){p.value=O;break}}}else{let z=!1;for(;(A||[]).includes(p.value-1);)if(p.value--,p.value<1){z=!0;break}if(z){for(p.value=O;(A||[]).includes(p.value-1);)if(p.value++,p.value>24){p.value=O;break}}}}h=O,v=setTimeout(()=>{T()},I)}const T=O=>{const I=O||p.value;y.value.setScrollTop((I-1)*48)},f=e.ref(),b=e.ref(1);let w=0,E=0,C=0;const D=O=>{const I=Math.round(O.scrollTop/48);b.value=I+1,w&&clearTimeout(w),E&&clearTimeout(E),w=setTimeout(()=>{S()},100)};function S(){if(!a.day)return;const O=b.value;let I=0;if(a.disableMinuteFuntion){I=100;const A=a.disableMinuteFuntion(a.day,p.value-1,a.timeZone);if(b.value>C||b.value===0){let z=!1;for(;(A||[]).includes(b.value-1);)if(b.value++,b.value>60){z=!0;break}if(z){for(b.value=O;(A||[]).includes(b.value-1);)if(b.value--,b.value<1){b.value=O;break}}}else{let z=!1;for(;(A||[]).includes(b.value-1);)if(b.value--,b.value<1){z=!0;break}if(z){for(b.value=O;(A||[]).includes(b.value-1);)if(b.value++,b.value>60){b.value=O;break}}}}C=O,E=setTimeout(()=>{V()},I)}const V=O=>{const I=O||b.value;f.value.setScrollTop((I-1)*48)};e.watch(()=>`${p.value<10?`0${p.value}`:p.value}${b.value<10?`0${b.value}`:b.value}`,()=>{u.value||B()});const B=()=>{let O="";O+=p.value-1<10?"0"+(p.value-1):p.value-1,O+=":",O+=b.value-1<10?"0"+(b.value-1):b.value-1,l("update:startTime",O),l("change")},N=()=>{u.value=!1},j=()=>{let O="";O+=p.value-1<10?"0"+(p.value-1):p.value-1,O+=":",O+=b.value-1<10?"0"+(b.value-1):b.value-1,l("update:startTime",O),l("change"),u.value=!1};return(O,I)=>{const A=Ba,z=Ro;return e.openBlock(),e.createBlock(z,{placement:"bottom",width:156,trigger:"click","show-arrow":!1,teleported:!1,disabled:t.disabled,"hide-after":0,visible:u.value,"onUpdate:visible":I[0]||(I[0]=M=>u.value=M),"popper-class":"anytrek-timerange-popper choose-timeselect-popper","popper-options":d.value},{reference:e.withCtx(()=>[e.renderSlot(O.$slots,"default",{},void 0,!0)]),default:e.withCtx(()=>[e.createElementVNode("div",PN,[e.createElementVNode("div",FN,[e.createElementVNode("div",zN,[e.createElementVNode("div",RN,e.toDisplayString(e.unref(o)("hr")),1),e.createVNode(A,{ref_key:"startHourRef",ref:y,onScroll:g},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(2,M=>e.createElementVNode("span",{key:M,class:"time-span"})),64)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,M=>(e.openBlock(),e.createElementBlock("span",{key:M.value,class:e.normalizeClass(["time-span",{active:p.value===M.value,disabled:M.disabled}]),onClick:x=>T(M.value)},e.toDisplayString(M.value-1),11,HN))),128)),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(2,M=>e.createElementVNode("span",{key:M,class:"time-span"})),64))]),_:1},512)]),e.createElementVNode("div",_N,[e.createElementVNode("div",YN,e.toDisplayString(e.unref(o)("min")),1),e.createVNode(A,{ref_key:"startMinRef",ref:f,onScroll:D},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(2,M=>e.createElementVNode("span",{key:M,class:"time-span"})),64)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,M=>(e.openBlock(),e.createElementBlock("span",{key:M.value,class:e.normalizeClass(["time-span",{active:b.value===M.value,disabled:M.disabled}]),onClick:x=>V(M.value)},e.toDisplayString(M.value-1),11,ZN))),128)),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(2,M=>e.createElementVNode("span",{key:M,class:"time-span"})),64))]),_:1},512)])]),e.createElementVNode("div",jN,[e.createVNode(vn,{src:e.unref(ls),color:"rgba(154, 154, 154, 1)",fontSize:"32",class:"timerange-body-right-bottom-cancel",onClick:N},null,8,["src"]),e.createVNode(vn,{src:e.unref(is),color:"rgba(11, 165, 236, 1)",fontSize:"32",class:"timerange-body-right-bottom-confirm",onClick:j},null,8,["src"])])])]),_:3},8,["disabled","visible","popper-options"])}}}),[["__scopeId","data-v-8be94649"]]);var Mh={exports:{}};(function(t,n){(function(o,a){t.exports=a()})(rr,function(){var o="minute",a=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(l,i,s){var c=i.prototype;s.utc=function(h){var g={date:h,utc:!0,args:arguments};return new i(g)},c.utc=function(h){var g=s(this.toDate(),{locale:this.$L,utc:!0});return h?g.add(this.utcOffset(),o):g},c.local=function(){return s(this.toDate(),{locale:this.$L,utc:!1})};var d=c.parse;c.parse=function(h){h.utc&&(this.$u=!0),this.$utils().u(h.$offset)||(this.$offset=h.$offset),d.call(this,h)};var u=c.init;c.init=function(){if(this.$u){var h=this.$d;this.$y=h.getUTCFullYear(),this.$M=h.getUTCMonth(),this.$D=h.getUTCDate(),this.$W=h.getUTCDay(),this.$H=h.getUTCHours(),this.$m=h.getUTCMinutes(),this.$s=h.getUTCSeconds(),this.$ms=h.getUTCMilliseconds()}else u.call(this)};var y=c.utcOffset;c.utcOffset=function(h,g){var k=this.$utils().u;if(k(h))return this.$u?0:k(this.$offset)?y.call(this):this.$offset;if(typeof h=="string"&&(h=function(w){w===void 0&&(w="");var E=w.match(a);if(!E)return null;var C=(""+E[0]).match(r)||["-",0,0],D=C[0],S=60*+C[1]+ +C[2];return S===0?0:D==="+"?S:-S}(h),h===null))return this;var T=Math.abs(h)<=16?60*h:h;if(T===0)return this.utc(g);var f=this.clone();if(g)return f.$offset=T,f.$u=!1,f;var b=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(f=this.local().add(T+b,o)).$offset=T,f.$x.$localOffset=b,f};var p=c.format;c.format=function(h){var g=h||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return p.call(this,g)},c.valueOf=function(){var h=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*h},c.isUTC=function(){return!!this.$u},c.toISOString=function(){return this.toDate().toISOString()},c.toString=function(){return this.toDate().toUTCString()};var m=c.toDate;c.toDate=function(h){return h==="s"&&this.$offset?s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():m.call(this)};var v=c.diff;c.diff=function(h,g,k){if(h&&this.$u===h.$u)return v.call(this,h,g,k);var T=this.local(),f=s(h).local();return v.call(T,f,g,k)}}})})(Mh);var UN=Mh.exports;const oa=Fl(UN);var Lh={exports:{}};(function(t,n){(function(o,a){t.exports=a()})(rr,function(){var o={year:0,month:1,day:2,hour:3,minute:4,second:5},a={};return function(r,l,i){var s,c=function(p,m,v){v===void 0&&(v={});var h=new Date(p),g=function(k,T){T===void 0&&(T={});var f=T.timeZoneName||"short",b=k+"|"+f,w=a[b];return w||(w=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:k,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:f}),a[b]=w),w}(m,v);return g.formatToParts(h)},d=function(p,m){for(var v=c(p,m),h=[],g=0;g<v.length;g+=1){var k=v[g],T=k.type,f=k.value,b=o[T];b>=0&&(h[b]=parseInt(f,10))}var w=h[3],E=w===24?0:w,C=h[0]+"-"+h[1]+"-"+h[2]+" "+E+":"+h[4]+":"+h[5]+":000",D=+p;return(i.utc(C).valueOf()-(D-=D%1e3))/6e4},u=l.prototype;u.tz=function(p,m){p===void 0&&(p=s);var v,h=this.utcOffset(),g=this.toDate(),k=g.toLocaleString("en-US",{timeZone:p}),T=Math.round((g-new Date(k))/1e3/60),f=15*-Math.round(g.getTimezoneOffset()/15)-T;if(!Number(f))v=this.utcOffset(0,m);else if(v=i(k,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(f,!0),m){var b=v.utcOffset();v=v.add(h-b,"minute")}return v.$x.$timezone=p,v},u.offsetName=function(p){var m=this.$x.$timezone||i.tz.guess(),v=c(this.valueOf(),m,{timeZoneName:p}).find(function(h){return h.type.toLowerCase()==="timezonename"});return v&&v.value};var y=u.startOf;u.startOf=function(p,m){if(!this.$x||!this.$x.$timezone)return y.call(this,p,m);var v=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return y.call(v,p,m).tz(this.$x.$timezone,!0)},i.tz=function(p,m,v){var h=v&&m,g=v||m||s,k=d(+i(),g);if(typeof p!="string")return i(p).tz(g);var T=function(E,C,D){var S=E-60*C*1e3,V=d(S,D);if(C===V)return[S,C];var B=d(S-=60*(V-C)*1e3,D);return V===B?[S,V]:[E-60*Math.min(V,B)*1e3,Math.max(V,B)]}(i.utc(p,h).valueOf(),k,g),f=T[0],b=T[1],w=i(f).utcOffset(b);return w.$x.$timezone=g,w},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(p){s=p}}})})(Lh);var WN=Lh.exports;const aa=Fl(WN),GN={class:"choose-time-content"},KN={class:"choose-time-body"},qN={class:"years"},QN=["onClick"],XN={class:"choose-time-body-bottom"},xh=bt(e.defineComponent({__name:"yearSelect",props:{year:{type:[String,Number],default:"2024"},disabled:{type:Boolean,default:!1}},emits:["change"],setup(t,{emit:n}){K.extend(ea),K.extend(oa),K.extend(aa);const o=t,{year:a}=e.toRefs(o),r=n,l=e.inject("allYearList",e.ref([])),i=e.computed(()=>{var f;return(f=l.value)!=null&&f.length?l.value[0]:0}),s=()=>{y.value=Number(a.value),e.nextTick(()=>{h()})},c=e.ref(null);e.onMounted(()=>{c.value={modifiers:[{name:"preventOverflow",options:{mainAxis:!0,altAxis:!0}}]}});const d=e.ref(!1);e.watch(()=>d.value,()=>{d.value&&s()}),e.watch(()=>o.year,()=>{o.year&&s()});const u=e.ref(),y=e.ref(1);let p=0,m=0;const v=f=>{const b=Math.round(f.scrollTop/40);y.value=b+i.value,p&&clearTimeout(p),m&&clearTimeout(m),p=setTimeout(()=>{h()},200)};function h(){if(!o.year)return;m=setTimeout(()=>{g()},0)}const g=f=>{const b=(f||y.value)-i.value;u.value.setScrollTop(b*40)},k=()=>{d.value=!1},T=()=>{r("change",y.value),d.value=!1};return(f,b)=>{const w=Ba,E=Ro;return e.openBlock(),e.createBlock(E,{placement:"bottom",width:112,trigger:"click","show-arrow":!1,teleported:!1,disabled:t.disabled,"hide-after":0,visible:d.value,"onUpdate:visible":b[0]||(b[0]=C=>d.value=C),"popper-class":"anytrek-timerange-popper choose-year-popper","popper-options":c.value},{reference:e.withCtx(()=>[e.renderSlot(f.$slots,"default",{},void 0,!0)]),default:e.withCtx(()=>[e.createElementVNode("div",GN,[e.createElementVNode("div",KN,[e.createElementVNode("div",qN,[e.createVNode(w,{ref_key:"yearRef",ref:u,onScroll:v},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(2,C=>e.createElementVNode("span",{key:C+.01,class:"time-span"})),64)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(l),C=>(e.openBlock(),e.createElementBlock("span",{key:C,class:e.normalizeClass(["time-span",{active:y.value===C}]),onClick:D=>g(C)},e.toDisplayString(C),11,QN))),128)),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(2,C=>e.createElementVNode("span",{key:C+.02,class:"time-span"})),64))]),_:1},512)])]),e.createElementVNode("div",XN,[e.createVNode(vn,{src:e.unref(ls),color:"rgba(154, 154, 154, 1)",fontSize:"32",class:"timerange-body-right-bottom-cancel",onClick:k},null,8,["src"]),e.createVNode(vn,{src:e.unref(is),color:"rgba(11, 165, 236, 1)",fontSize:"32",class:"timerange-body-right-bottom-confirm",onClick:T},null,8,["src"])])])]),_:3},8,["disabled","visible","popper-options"])}}}),[["__scopeId","data-v-85b1dba9"]]),JN={class:"anytrekTimerangePickTime"},$N={class:"anytrekTimerangePickTime-date"},eV={class:"anytrekTimerangePickTime-date-year-choose"},tV={class:"year-span"},nV={class:"anytrekTimerangePickTime-date-year-choose"},oV={class:"month-span"},aV={class:"anytrekTimerangePickTime-date-day-word"},rV={class:"anytrekTimerangePickTime-date-day-pcik"},lV=["onClick","onMouseover","onMouseleave"],eu=bt(e.defineComponent({__name:"anytrekTimerangePickTime",props:{type:{type:Number,default:1},showYear:{type:Number,default:2024},showMonth:{type:Number,default:12},startDay:{type:String,default:""},endDay:{type:String,default:""},chooseStartDay:{type:String,default:""},chooseEndDay:{type:String,default:""},disableFuntion:{type:Function},unlinkPanels:{type:Boolean,default:!0},quarterMessage:{type:Object,default(){return{}}}},emits:["changeMonth","handleClick","handleMouseover","handleMouseleave","opNow","changeYear"],setup(t,{emit:n}){K.extend(ea),K.extend(oa),K.extend(aa);const{t:o}=Cn(),a=t,r=n,l=[o("Sun"),o("Mon"),o("Tue"),o("Wed"),o("Thu"),o("Fri"),o("Sat")];function i(g){const k=K().set("year",a.showYear).set("month",a.showMonth-1).set("date",12).format("YYYY-MM");if(a.chooseStartDay){const T=K(a.chooseStartDay,"YYYY-MM-DD");if(T.format("YYYY-MM")===k&&T.day()===g)return!0;if(a.chooseEndDay){const f=K(a.chooseEndDay,"YYYY-MM-DD");if(f.format("YYYY-MM")===k&&f.day()===g)return!0}return!1}if(a.startDay){const T=K(a.startDay,"YYYY-MM-DD");if(T.format("YYYY-MM")===k&&T.day()===g)return!0}if(a.endDay){const T=K(a.endDay,"YYYY-MM-DD");if(T.format("YYYY-MM")===k&&T.day()===g)return!0}return!1}const s=[o("Jan"),o("Feb"),o("Mar"),o("Apr"),o("May"),o("Jun"),o("Jul"),o("Aug"),o("Sep"),o("Oct"),o("Nov"),o("Dec")],c=e.computed(()=>{const g=K().set("year",a.showYear).set("month",a.showMonth-1).set("date",15).set("hour",12),k=g.startOf("month").day(),T=g.endOf("month").day(),f=+g.endOf("month").format("DD"),b=+g.subtract(1,"month").endOf("month").format("DD"),w=g.subtract(1,"month").endOf("month").day(),E=[];for(let C=0;C<k;C++)E.push({date:b-w+C,isCurrentMonth:!1,year:a.showYear,month:a.showMonth-1});for(let C=0;C<f;C++)E.push({date:C+1,isCurrentMonth:!0,year:a.showYear,month:a.showMonth});if(E.length%7!==0)for(let C=0;C<6-T;C++)E.push({date:C+1,isCurrentMonth:!1,year:a.showYear,month:a.showMonth+1});return E}),d=e.computed(()=>g=>{const k=K().set("year",a.showYear).set("month",a.showMonth-1).set("date",g.date).set("hour",12).format("YYYY-MM-DD"),T={};return a.disableFuntion&&a.disableFuntion(k)?(T.disable=!0,T):(g.isCurrentMonth&&(a.startDay?(a.startDay===k&&(T.startDay=!0),a.endDay===k&&(T.endDay=!0),k>a.startDay&&k<a.endDay&&(T.inDay=!0)):a.chooseStartDay&&a.chooseEndDay?(a.chooseStartDay===k&&(T.startDay=!0),a.chooseEndDay===k&&(T.endDay=!0),k>a.chooseStartDay&&k<a.chooseEndDay&&(T.inDay=!0)):a.chooseStartDay&&a.chooseStartDay===k&&(T.startDay=!0,T.noEnd=!0)),T)});function u(g){if(d.value(g).disable)return;const k=K().set("year",a.showYear).set("month",a.showMonth-1).set("date",g.date).set("hour",12).format("YYYY-MM-DD");r("handleClick",k)}function y(g){if(d.value(g).disable)return;const k=K().set("year",a.showYear).set("month",a.showMonth-1).set("date",g.date).set("hour",12).format("YYYY-MM-DD");r("handleMouseover",k)}function p(g){d.value(g).disable||r("handleMouseleave")}function m(g){r("changeYear",g)}function v(){r("changeMonth","month","pre",a.type)}function h(){r("changeMonth","month","next",a.type)}return(g,k)=>{var f,b;const T=e.resolveComponent("anSvgIcon");return e.openBlock(),e.createElementBlock("div",JN,[e.createElementVNode("div",$N,[t.unlinkPanels?(e.openBlock(),e.createBlock(T,{key:0,name:"arrow-icon",onClick:v})):e.createCommentVNode("",!0),e.createElementVNode("div",eV,[e.createVNode(xh,{year:t.showYear,onChange:m,disabled:!!((f=t.quarterMessage)!=null&&f.year&&((b=t.quarterMessage)!=null&&b.quarter))},{default:e.withCtx(()=>{var w,E;return[e.createElementVNode("div",null,[e.createElementVNode("span",tV,e.toDisplayString(t.showYear),1),(w=t.quarterMessage)!=null&&w.year&&((E=t.quarterMessage)!=null&&E.quarter)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(T,{key:0,name:"new_arrow",class:"chooseYear",color:"#9A9A9A"}))])]}),_:1},8,["year","disabled"])]),e.createElementVNode("div",nV,[e.createElementVNode("span",oV,e.toDisplayString(s[t.showMonth-1]),1)]),t.unlinkPanels?(e.openBlock(),e.createBlock(T,{key:1,name:"arrow-icon",onClick:h})):e.createCommentVNode("",!0)]),e.createElementVNode("div",aV,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(l,(w,E)=>e.createElementVNode("span",{key:w,class:e.normalizeClass({active:i(E)})},e.toDisplayString(w),3)),64))]),e.createElementVNode("div",rV,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(w,E)=>(e.openBlock(),e.createElementBlock("div",{key:E+.1,class:e.normalizeClass({notNow:!w.isCurrentMonth}),onClick:C=>u(w),onMouseover:C=>y(w),onMouseleave:C=>p(w)},[e.createElementVNode("span",{class:e.normalizeClass(d.value(w))},e.toDisplayString(w.date),3)],42,lV))),128))])])}}}),[["__scopeId","data-v-97236866"]]),iV={class:"timerange-body"},sV={key:0,class:"timerange-body-left-tip"},cV=["onClick"],dV=["onClick"],uV=["onClick"],fV=["onClick"],mV=["onClick"],pV=["onClick"],hV={class:"timerange-body-right"},gV={class:"timerange-body-right-bottom"},yV={class:"anytrekTimerangePickTime-date-contnet"},kV={class:"anytrekTimerangePickTime-date-year-show"},vV={class:"anytrekTimerangePickTime-date-month-show"},bV={class:"anytrekTimerangePickTime-date-time-choose"},wV={class:"anytrekTimerangePickTime-date-year-show"},CV={class:"anytrekTimerangePickTime-date-month-show"},TV={class:"anytrekTimerangePickTime-date-time-choose"},EV={key:0,class:"anytrekTimerangePickTime-date-show-padding"},SV={class:"timerange-body-right-bottom-timezone"},NV={class:"over-ellipsis"},VV={class:"popper-choose-list"},BV=["onClick"],IV={class:"over-ellipsis"},AV={class:"timerange-body-right-bottom",style:{"margin-top":"0"}},DV=600,pr=376,MV=bt(e.defineComponent({inheritAttrs:!1,__name:"anytrekTimerangePickBody",props:{hourList:{type:Array,default(){return[]}},dayList:{type:Array,default(){return[1]}},weekList:{type:Array,default(){return[1,2]}},monthList:{type:Array,default(){return[1]}},quarterList:{type:Array,default(){return[]}},yearList:{type:Array,default(){return[]}},startTime:{type:String,default:""},endTime:{type:String,default:""},timeZone:{type:String,default:""},valueFormat:{type:String,default:""},popperOptions:{type:Object,default(){return{}}},showQuick:{type:Boolean,default:!0},disabledDate:{type:Number,default:366},needNowTimeZone:{type:Boolean,default:!0},timeZoneList:{default(){return[{value:"PST",label:"PST"},{value:"PDT",label:"PDT"},{value:"MST",label:"MST"},{value:"MDT",label:"MDT"},{value:"CST",label:"CST"},{value:"CDT",label:"CDT"},{value:"EST",label:"EST"},{value:"EDT",label:"EDT"},{value:"AST",label:"AST"},{value:"ADT",label:"ADT"},{value:"AKST",label:"AKST"},{value:"AKDT",label:"AKDT"}]}},unlinkPanels:{type:Boolean,default:!0},isLast:{type:Boolean,default:!0},disableDayFuntion:{type:Function},disableHourFuntion:{type:Function},disableMinuteFuntion:{type:Function},showTimeZoneChoose:{type:Boolean,default:!0},showTime:{type:String,default:""},quarterMessage:{type:Object,default(){return{}}}},emits:["quickChoose","cancel","confirm","update:startTime","update:endTime","update:timeZone","update:value","changeNowTimeZone","setCustom"],setup(t,{emit:n}){var pe;K.extend(ea),K.extend(oa),K.extend(aa);const{t:o,locale:a}=Cn(),r=t,l=n,i=e.computed(()=>r.isLast?r.hourList:r.hourList.filter(q=>q===1)),s=e.computed(()=>r.isLast?r.dayList:r.dayList.filter(q=>q===1)),c=e.computed(()=>r.isLast?r.weekList:r.weekList.filter(q=>q===1)),d=e.computed(()=>r.isLast?r.monthList:r.monthList.filter(q=>q===1)),u=e.computed(()=>r.isLast?r.quarterList:r.quarterList.filter(q=>q===1)),y=e.computed(()=>r.isLast?r.yearList:r.yearList.filter(q=>q===1)),p=e.computed(()=>!r.valueFormat||(r.valueFormat+"").indexOf("H")!==-1||(r.valueFormat+"").indexOf("h")!==-1);function m(q,J){l("quickChoose",q,J)}const v=e.ref((pe=r.timeZoneList)!=null&&pe.length?[...r.timeZoneList]:[]),h=e.ref(!1);function g(q,J,Be,Pe){const $=J.find(ne=>ne[Be]===q);return $?$[Pe]:q}function k(){let q="";switch(r.timeZone){case"PST":case"PDT":q="US/Pacific";break;case"MST":case"MDT":q="US/Mountain";break;case"CST":case"CDT":q="US/Central";break;case"EST":case"EDT":q="US/Eastern";break;case"AST":case"ADT":q="America/Halifax";break;case"AKST":case"AKDT":q="America/Anchorage";break;default:q=r.timeZone;break}return q}function T(){w.value=+K().tz(k()).format("YYYY"),E.value=+K().tz(k()).format("MM");const q=K().set("year",w.value).set("month",E.value-1).set("date",15).set("hour",12).subtract(1,"month");f.value=Number(q.format("YYYY")),b.value=Number(q.format("MM")),P.value=K().tz(k()).format("YYYY-MM-DD"),oe.value=K().tz(k()).format("YYYY-MM-DD"),R.value="00:00",U.value="23:59",l("setCustom")}const f=e.ref(2024),b=e.ref(1),w=e.ref(2024),E=e.ref(2),C=e.ref([]),D=e.ref([]);e.provide("allYearList",D);function S(q,J){const Be=new Date(q,J-2,1),Pe=new Date(q,J,1);return{preMonthYear:Be.getFullYear(),preMonthMonth:Be.getMonth()+1,nextMonthYear:Pe.getFullYear(),nextMonthMonth:Pe.getMonth()+1}}function V(q,J=DV){var He,Re;const{year:Be,month:Pe}=q;if(!Be||Pe<1||Pe>12)throw new Error("Invalid { year, month }");const $=[];if((He=r.quarterMessage)!=null&&He.year&&((Re=r.quarterMessage)!=null&&Re.quarter))return B[r.quarterMessage.quarter].forEach(it=>{const ve=new Date(Be,it-1,1),be=ve.getFullYear(),Ne=ve.getMonth()+1,Ce=S(be,Ne);$.push({year:be,month:Ne,key:`year${be}month${Ne}`,size:376,...Ce}),D.value.push(be)}),$[0].size=328,D.value=[...new Set(D.value)],$;const ne=Pe-1;for(let it=-J;it<=J;it++){const ve=new Date(Be,ne+it,1),be=ve.getFullYear(),Ne=ve.getMonth()+1,Ce=S(be,Ne);$.push({year:be,month:Ne,key:`year${be}month${Ne}`,size:376,...Ce}),D.value.push(be)}return D.value=[...new Set(D.value)],$[0].size=328,$}const B={1:[1,2,3],2:[4,5,6],3:[7,8,9],4:[10,11,12]};e.onBeforeMount(()=>{var q,J,Be,Pe,$,ne;if(r.startTime){let He=r.valueFormat?K(r.startTime,r.valueFormat).utc(!0).tz(k()):K(r.startTime).tz(k()),Re=r.valueFormat?K(r.endTime,r.valueFormat).utc(!0).tz(k()):K(r.endTime).tz(k());p.value||(He=K(r.startTime,r.valueFormat),Re=K(r.endTime,r.valueFormat)),f.value=+He.format("YYYY"),b.value=+He.format("MM");const it=He.set("date",15).set("hour",12).add(1,"month");if(w.value=Number(it.format("YYYY")),E.value=Number(it.format("MM")),P.value=He.format("YYYY-MM-DD"),oe.value=Re.format("YYYY-MM-DD"),(Pe=r.quarterMessage)!=null&&Pe.year&&(($=r.quarterMessage)!=null&&$.quarter)&&!((ne=B[r.quarterMessage.quarter])!=null&&ne.includes(E.value))){w.value=f.value,E.value=b.value;const ve=K().set("year",f.value).set("month",b.value-1).set("date",15).set("hour",12).subtract(1,"month");f.value=Number(ve.format("YYYY")),b.value=Number(ve.format("MM"))}}else{f.value=r.showTime?+K(r.showTime).tz(k()).format("YYYY"):+K().tz(k()).format("YYYY"),b.value=r.showTime?+K(r.showTime).tz(k()).format("MM"):+K().tz(k()).format("MM");const He=K().set("year",f.value).set("month",b.value+1).set("date",15).set("hour",12).subtract(1,"month");if(w.value=Number(He.format("YYYY")),E.value=Number(He.format("MM")),P.value="",oe.value="",(q=r.quarterMessage)!=null&&q.year&&((J=r.quarterMessage)!=null&&J.quarter)&&!((Be=B[r.quarterMessage.quarter])!=null&&Be.includes(E.value))){w.value=f.value,E.value=b.value;const Re=K().set("year",f.value).set("month",b.value-1).set("date",15).set("hour",12).subtract(1,"month");f.value=Number(Re.format("YYYY")),b.value=Number(Re.format("MM"))}}C.value=V({year:f.value,month:b.value})}),e.onMounted(()=>{e.nextTick(()=>{requestAnimationFrame(()=>{var J,Be;let q=Math.floor(C.value.length/2);if((J=r.quarterMessage)!=null&&J.year&&((Be=r.quarterMessage)!=null&&Be.quarter)){const Pe=C.value.findIndex($=>$.year===f.value&&$.month===b.value);Pe>-1&&(q=Pe)}x.value.scrollToPosition(q*376)})})});const N=e.ref(!1),j=e.ref(!1);function O(){const q=C.value.length*376-48,{start:J,end:Be}=x.value.getScroll();J===0?j.value=!0:j.value=!1,Be===q?N.value=!0:N.value=!1}function I(q){return Math.round(q/pr)*pr}let A=Promise.resolve();function z(q,J=400){A=A.then(()=>new Promise(Be=>{const Pe=x.value.getScroll().start,$=I(Pe),ne=I(q),He=ne-$,Re=performance.now();function it(ve){const be=Math.min((ve-Re)/J,1),Ne=be*(2-be);x.value.scrollToPosition($+He*Ne),be<1?requestAnimationFrame(it):(x.value.scrollToPosition(ne),Be())}requestAnimationFrame(it)}))}function M(q,J){if(r.unlinkPanels){J===1?f.value=q:w.value=q;return}const Pe=x.value.getScroll().start/pr;if(J===Pe){let $=C.value.findIndex(ne=>ne.year===q&&ne.month===C.value[J].month);$<0&&($=0),x.value.scrollToPosition($*pr)}else{let $=C.value.findIndex(ne=>ne.year===q&&ne.month===C.value[J-1].month);$<0&&($=0),x.value.scrollToPosition($*pr)}}const x=e.ref();function H(q,J,Be){if(r.unlinkPanels){switch(Be){case 1:J==="pre"?q==="month"?(b.value--,b.value===0&&(b.value=12,f.value--)):f.value--:q==="month"?(b.value++,b.value===13&&(b.value=1,f.value++)):f.value++;break;case 2:J==="pre"?q==="month"?(E.value--,E.value===0&&(E.value=12,w.value--)):w.value--:q==="month"?(E.value++,E.value===13&&(E.value=1,w.value++)):w.value++;break}return}const Pe=I(x.value.getScroll().start);let $=J==="pre"?Pe-pr:Pe+pr;$<0&&($=0),z($)}function X(q){l("changeNowTimeZone",q.value,r.timeZone),l("update:value","custom"),l("update:timeZone",q.value),l("setCustom"),h.value=!1}const P=e.ref(""),oe=e.ref(""),te=e.ref(""),Ve=e.ref(""),De=e.ref(""),de=e.ref(0);function _(q){de.value&&clearTimeout(de.value),De.value&&(De.value>=q?(te.value=q,Ve.value=De.value):(te.value=De.value,Ve.value=q))}function ae(){de.value&&clearTimeout(de.value),de.value=setTimeout(()=>{De.value&&(te.value=De.value,Ve.value="")},100)}function ge(q){if(!De.value)te.value=q,De.value=q,P.value="",oe.value="",Te.value=!0;else{De.value>=q?(P.value=q,oe.value=De.value):(P.value=De.value,oe.value=q),te.value="",Ve.value="",De.value="",Te.value=!1;let J=K(`${P.value} 00:00`,"YYYY-MM-DD HH:mm").tz(k(),!0).utc().format(r.valueFormat),Be=K(`${oe.value} 23:59`,"YYYY-MM-DD HH:mm").tz(k(),!0).utc().format(r.valueFormat);p.value||(J=K(`${P.value} 00:00`,"YYYY-MM-DD HH:mm").format(r.valueFormat),Be=K(`${oe.value} 23:59`,"YYYY-MM-DD HH:mm").format(r.valueFormat)),l("update:startTime",J),l("update:endTime",Be),l("setCustom")}}const he=e.computed(()=>q=>{if(r.disableDayFuntion&&r.disableDayFuntion(q))return!0;const J=K(q,"YYYY-MM-DD").valueOf();if(r.disabledDate===0)return!1;if(De.value){const Be=K(De.value,"YYYY-MM-DD").valueOf(),Pe=Be-3600*1e3*24*(r.disabledDate-1),$=Be+3600*1e3*24*(r.disabledDate-1);return J<Pe||J>$}return!1}),Te=e.ref(!1);function je(){l("cancel")}function ye(){Te.value||!P.value||l("confirm")}const ue=[o("Jan"),o("Feb"),o("Mar"),o("Apr"),o("May"),o("Jun"),o("Jul"),o("Aug"),o("Sep"),o("Oct"),o("Nov"),o("Dec")],Ie=e.computed(()=>P.value?K(P.value,"YYYY-MM-DD").format("YYYY"):"----"),Ee=e.computed(()=>P.value?ue[K(P.value,"YYYY-MM-DD").month()]+" "+K(P.value,"YYYY-MM-DD").format("D"):"--"),Xe=e.computed(()=>oe.value?K(oe.value,"YYYY-MM-DD").format("YYYY"):"----"),mt=e.computed(()=>oe.value?ue[K(oe.value,"YYYY-MM-DD").month()]+" "+K(oe.value,"YYYY-MM-DD").format("D"):"--"),R=e.computed({get(){return r.startTime?(r.valueFormat?K(r.startTime,r.valueFormat).utc(!0).tz(k()):K(r.startTime).tz(k())).format("HH:mm"):"00:00"},set(q){const J=K(`${P.value} ${q}`,"YYYY-MM-DD HH:mm").tz(k(),!0).utc().format(r.valueFormat);l("update:startTime",J),l("setCustom")}}),U=e.computed({get(){return r.endTime?(r.valueFormat?K(r.endTime,r.valueFormat).utc(!0).tz(k()):K(r.endTime).tz(k())).format("HH:mm"):"23:59"},set(q){const J=K(`${oe.value} ${q}`,"YYYY-MM-DD HH:mm").tz(k(),!0).utc().format(r.valueFormat);l("update:endTime",J),l("setCustom")}});return(q,J)=>{const Be=e.resolveComponent("anSvgIcon"),Pe=e.resolveComponent("RecycleScroller"),$=Ro;return e.openBlock(),e.createElementBlock("div",iV,[t.showQuick?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["timerange-body-left",{notLast:!t.isLast}])},[t.isLast?(e.openBlock(),e.createElementBlock("span",sV,e.toDisplayString(e.unref(o)("overLast"))+":",1)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,ne=>(e.openBlock(),e.createElementBlock("div",{class:"timerange-body-left-one",key:"hour"+ne,onClick:He=>m(ne,"hour")},e.toDisplayString(t.isLast?ne:e.unref(o)("this"))+" "+e.toDisplayString(ne===1?e.unref(o)("Hour"):e.unref(o)("Hours")),9,cV))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,ne=>(e.openBlock(),e.createElementBlock("div",{class:"timerange-body-left-one",key:"day"+ne,onClick:He=>m(ne,"day")},e.toDisplayString(t.isLast?ne:e.unref(o)("this"))+" "+e.toDisplayString(ne===1?e.unref(o)("Day"):e.unref(o)("Days")),9,dV))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,ne=>(e.openBlock(),e.createElementBlock("div",{class:"timerange-body-left-one",key:"week"+ne,onClick:He=>m(ne,"week")},e.toDisplayString(t.isLast?ne:e.unref(o)("this"))+" "+e.toDisplayString(ne===1?e.unref(o)("Week"):e.unref(o)("Weeks")),9,uV))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,ne=>(e.openBlock(),e.createElementBlock("div",{class:"timerange-body-left-one",key:"month"+ne,onClick:He=>m(ne,"month")},e.toDisplayString(t.isLast?ne:e.unref(o)("this"))+" "+e.toDisplayString(ne===1?e.unref(o)("Month"):e.unref(o)("Months")),9,fV))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value,ne=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["timerange-body-left-one",e.unref(a)]),key:"quarter"+ne,onClick:He=>m(ne,"quarter")},e.toDisplayString(t.isLast?ne:e.unref(o)("this"))+" "+e.toDisplayString(ne===1?e.unref(o)("Quarter"):e.unref(o)("Quarters")),11,mV))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,ne=>(e.openBlock(),e.createElementBlock("div",{class:"timerange-body-left-one",key:"year"+ne,onClick:He=>m(ne,"year")},e.toDisplayString(t.isLast?ne:e.unref(o)("this"))+" "+e.toDisplayString(ne===1?e.unref(o)("Year"):e.unref(o)("Years")),9,pV))),128))],2)):e.createCommentVNode("",!0),e.createElementVNode("div",hV,[e.createElementVNode("div",{class:e.normalizeClass(["timerange-body-right-top",{unlinkPanels:t.unlinkPanels}])},[t.unlinkPanels?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["monthSwitch",{disabled:j.value}]),onClick:J[0]||(J[0]=ne=>H("-","pre",1))},[e.createVNode(Be,{name:"arrow-icon"})],2)),t.unlinkPanels?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["monthSwitch",{disabled:N.value}]),onClick:J[1]||(J[1]=ne=>H("-","next",1))},[e.createVNode(Be,{name:"arrow-icon"})],2)),t.unlinkPanels?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createVNode(eu,{type:1,showMonth:b.value,showYear:f.value,"start-day":P.value,"end-day":oe.value,"choose-start-day":te.value,"choose-end-day":Ve.value,"disable-funtion":he.value,onChangeMonth:H,onHandleClick:ge,onHandleMouseover:_,onHandleMouseleave:ae,unlinkPanels:t.unlinkPanels,quarterMessage:t.quarterMessage,onChangeYear:J[2]||(J[2]=ne=>M(ne,1))},null,8,["showMonth","showYear","start-day","end-day","choose-start-day","choose-end-day","disable-funtion","unlinkPanels","quarterMessage"]),e.createVNode(eu,{type:2,showMonth:E.value,showYear:w.value,"start-day":P.value,"end-day":oe.value,"choose-start-day":te.value,"choose-end-day":Ve.value,"disable-funtion":he.value,onChangeMonth:H,onHandleClick:ge,onHandleMouseover:_,onHandleMouseleave:ae,onOpNow:T,unlinkPanels:t.unlinkPanels,onChangeYear:J[3]||(J[3]=ne=>M(ne,2))},null,8,["showMonth","showYear","start-day","end-day","choose-start-day","choose-end-day","disable-funtion","unlinkPanels"])],64)):(e.openBlock(),e.createBlock(Pe,{key:2,class:"dateScroller",items:C.value,direction:"horizontal","key-field":"key",ref_key:"scroller",ref:x,onScroll:O},{default:e.withCtx(({item:ne,index:He})=>[e.createVNode(eu,{style:e.normalizeStyle({width:ne.size+"px",paddingLeft:He!==0?"48px":""}),type:1,showMonth:ne.month,showYear:ne.year,"start-day":P.value,"end-day":oe.value,"choose-start-day":te.value,"choose-end-day":Ve.value,"disable-funtion":he.value,onChangeMonth:H,onHandleClick:ge,onHandleMouseover:_,onHandleMouseleave:ae,unlinkPanels:t.unlinkPanels,quarterMessage:t.quarterMessage,onChangeYear:Re=>M(Re,He)},null,8,["style","showMonth","showYear","start-day","end-day","choose-start-day","choose-end-day","disable-funtion","unlinkPanels","quarterMessage","onChangeYear"])]),_:1},8,["items"]))],2),e.createElementVNode("div",gV,[e.createElementVNode("div",yV,[e.createElementVNode("div",{class:e.normalizeClass(["anytrekTimerangePickTime-date-show",{disabled:Te.value||!P.value}])},[e.createElementVNode("span",kV,e.toDisplayString(Ie.value),1),e.createElementVNode("span",vV,e.toDisplayString(Ee.value),1),p.value?(e.openBlock(),e.createBlock($d,{key:0,"start-time":R.value,"onUpdate:startTime":J[4]||(J[4]=ne=>R.value=ne),disabled:Te.value||!P.value,disableHourFuntion:t.disableHourFuntion,disableMinuteFuntion:t.disableMinuteFuntion,day:P.value,timeZone:t.timeZone},{default:e.withCtx(()=>[e.createElementVNode("div",bV,[e.createElementVNode("span",null,e.toDisplayString(R.value),1),e.createVNode(Be,{name:"arrow-icon",color:"#fff"})])]),_:1},8,["start-time","disabled","disableHourFuntion","disableMinuteFuntion","day","timeZone"])):e.createCommentVNode("",!0)],2),J[7]||(J[7]=e.createElementVNode("div",{class:"anytrekTimerangePickTime-date-show-padding"},null,-1)),e.createElementVNode("div",{class:e.normalizeClass(["anytrekTimerangePickTime-date-show",{disabled:Te.value||!P.value}])},[e.createElementVNode("span",wV,e.toDisplayString(Xe.value),1),e.createElementVNode("span",CV,e.toDisplayString(mt.value),1),p.value?(e.openBlock(),e.createBlock($d,{key:0,"start-time":U.value,"onUpdate:startTime":J[5]||(J[5]=ne=>U.value=ne),disabled:Te.value||!oe.value,disableHourFuntion:t.disableHourFuntion,disableMinuteFuntion:t.disableMinuteFuntion,day:oe.value,timeZone:t.timeZone},{default:e.withCtx(()=>[e.createElementVNode("div",TV,[e.createElementVNode("span",null,e.toDisplayString(U.value),1),e.createVNode(Be,{name:"arrow-icon",color:"#fff"})])]),_:1},8,["start-time","disabled","disableHourFuntion","disableMinuteFuntion","day","timeZone"])):e.createCommentVNode("",!0)],2)]),t.showTimeZoneChoose?(e.openBlock(),e.createElementBlock("div",EV)):e.createCommentVNode("",!0),t.showTimeZoneChoose?(e.openBlock(),e.createBlock($,{key:1,width:121,"show-arrow":!1,trigger:"click","popper-options":t.popperOptions,visible:h.value,"onUpdate:visible":J[6]||(J[6]=ne=>h.value=ne),"hide-after":0,teleported:!1,placement:"bottom-end","popper-class":"choose-item-popper anytrek-timerange-popper"},{reference:e.withCtx(()=>[e.createElementVNode("div",SV,[e.createElementVNode("span",NV,e.toDisplayString(g(t.timeZone,v.value,"value","label")),1),e.createVNode(vn,{src:e.unref(Dd)},null,8,["src"])])]),default:e.withCtx(()=>[e.createElementVNode("div",VV,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,ne=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["popper-choose-list-one",{active:t.timeZone===ne.value}]),key:ne.value,onClick:He=>X(ne)},[e.createVNode(vn,{src:e.unref(f1),fontSize:"32",class:"check-icon"},null,8,["src"]),e.createElementVNode("span",IV,e.toDisplayString(ne.label),1)],10,BV))),128))])]),_:1},8,["popper-options","visible"])):e.createCommentVNode("",!0),J[8]||(J[8]=e.createElementVNode("div",{class:"anytrekTimerangePickTime-date-show-padding"},null,-1)),e.createElementVNode("div",AV,[e.createVNode(vn,{src:e.unref(ls),color:"rgba(154, 154, 154, 1)",fontSize:"32",class:"timerange-body-right-bottom-cancel",onClick:je},null,8,["src"]),e.createVNode(vn,{src:e.unref(is),color:"rgba(11, 165, 236, 1)",fontSize:"32",class:e.normalizeClass(["timerange-body-right-bottom-confirm",{disable:Te.value||!P.value}]),onClick:ye},null,8,["src","class"])])])])])}}}),[["__scopeId","data-v-743b483e"]]),LV={class:"anytrek-timerange-pick-outside"},xV={class:"anytrek-timerange-pick-from"},OV={class:"anytrek-timerange-pick-startTime"},PV={class:"anytrek-timerange-pick-to"},FV={class:"anytrek-timerange-pick-endTime"},zV={class:"anytrek-timerange-pick-timezone"},RV={class:"anytrek-timerange-pick-from anytrek-timerange-pick-last"},HV={class:"anytrek-timerange-pick-startTime anytrek-timerange-pick-week"},_V={class:"anytrek-timerange-pick-timezone"},YV={class:"anytrek-timerange-pick-from"},ZV={class:"anytrek-timerange-pick-startTime"},jV={class:"anytrek-timerange-pick-to"},UV={class:"anytrek-timerange-pick-endTime"},WV={class:"anytrek-timerange-pick-timezone"},GV={class:"anytrek-timerange-pick-from anytrek-timerange-pick-last"},KV={class:"anytrek-timerange-pick-startTime anytrek-timerange-pick-week"},qV={class:"anytrek-timerange-pick-timezone"},QV={key:1},XV=bt(e.defineComponent({__name:"anytrekTimerangePick",props:{value:{type:[String,Number],default:"custom"},valueType:{type:String,default:""},startTime:{type:String,default:""},endTime:{type:String,default:""},valueFormat:{type:String,default:""},showFormat:{type:String,default:"YYYY-MM-DD HH:mm"},timeZone:{type:String,default:""},visible:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},teleported:{type:Boolean,default:!0},showQuick:{type:Boolean,default:!0},immediate:{type:Boolean,default:!1},hourList:{type:Array,default(){return[]}},dayList:{type:Array,default(){return[1]}},weekList:{type:Array,default(){return[1,2]}},monthList:{type:Array,default(){return[1]}},quarterList:{type:Array,default(){return[]}},yearList:{type:Array,default(){return[]}},needNowTimeZone:{type:Boolean,default:!0},disabledDate:{type:Number,default:366},timeZoneList:{default(){return[{value:"PST",label:"PST"},{value:"PDT",label:"PDT"},{value:"MST",label:"MST"},{value:"MDT",label:"MDT"},{value:"CST",label:"CST"},{value:"CDT",label:"CDT"},{value:"EST",label:"EST"},{value:"EDT",label:"EDT"},{value:"AST",label:"AST"},{value:"ADT",label:"ADT"},{value:"AKST",label:"AKST"},{value:"AKDT",label:"AKDT"}]}},haveRangSwitch:{type:Boolean,default:!1},needMaxIndex:{type:Boolean,default:!1},unlinkPanels:{type:Boolean,default:!1},isLast:{type:Boolean,default:!0},disableDayFuntion:{type:Function},disableHourFuntion:{type:Function},disableMinuteFuntion:{type:Function},showTimeZoneChoose:{type:Boolean,default:!0},showTime:{type:String,default:""},quarterMessage:{type:Object,default(){return{}}},assetTimeList:{type:Array,default(){return[]}}},emits:["update:visible","update:value","update:valueType","update:startTime","update:endTime","update:timeZone","change","prev","next"],setup(t,{expose:n,emit:o}){var je,ye;K.extend(ea),K.extend(oa),K.extend(aa);const{t:a}=Cn(),r=t,{value:l,valueType:i,startTime:s,endTime:c,visible:d,timeZone:u,assetTimeList:y}=e.toRefs(r),p=o,m=e.ref(!1);e.watch(()=>d.value,()=>{m.value=d.value},{immediate:!0});const v=e.computed({get(){return m.value},set(ue){m.value=ue,p("update:visible",ue)}}),h=e.computed(()=>!r.valueFormat||(r.valueFormat+"").indexOf("H")!==-1||(r.valueFormat+"").indexOf("h")!==-1),g=((je=window.top)==null?void 0:je.location)!==window.location,k=e.computed(()=>{let ue="";return r.needMaxIndex&&(ue="needMaxIndex-popper"),g&&(ue+=" isIframe-popper"),(v.value?"anytrek-timerange-popper anytrek-timerange-popper-outside":"nowNotVisible")+" "+ue}),T=e.ref(0),f=e.ref(null);let b=!0;e.onMounted(()=>{f.value={modifiers:[{name:"preventOverflow",options:{mainAxis:!0,altAxis:!0}}]},e.nextTick(()=>{if(l.value!=="custom"){if(x.value=j.value,y.value.length){I.value="custom",z.value=K(y.value[0].startTime||new Date().getTime()).utc().format(r.valueFormat),M.value=K(y.value[0].endTime||new Date().getTime()).utc().format(r.valueFormat),T.value=0,he();return}P(Number(l.value),i.value)}else if(B.value){if(x.value=j.value,y.value.length){I.value="custom";try{const ue=y.value.findIndex(Ie=>K(Ie.startTime).utc().format(r.valueFormat)===B.value&&K(Ie.endTime).utc().format(r.valueFormat)===N.value);if(ue<0)throw{xx:"xx"};T.value=ue,z.value=K(y.value[ue].startTime||new Date().getTime()).utc().format(r.valueFormat),M.value=K(y.value[ue].endTime||new Date().getTime()).utc().format(r.valueFormat)}catch{z.value=K(y.value[0].startTime||new Date().getTime()).utc().format(r.valueFormat),M.value=K(y.value[0].endTime||new Date().getTime()).utc().format(r.valueFormat),T.value=0}he();return}I.value=S.value,A.value=V.value,z.value=B.value,M.value=N.value,x.value=j.value,he()}else{if(y.value.length){I.value="custom",x.value=j.value,z.value=K(y.value[0].startTime||new Date().getTime()).utc().format(r.valueFormat),M.value=K(y.value[0].endTime||new Date().getTime()).utc().format(r.valueFormat),T.value=0,he();return}b=!1}})});const w=e.computed(()=>ue=>y.value.length?ue===T.value:!1),E=(ue,Ie,Ee,Xe)=>{const mt=Ie.find(R=>R[Ee]===ue);return mt?mt[Xe]:ue};function C(ue,Ie){switch(Ie){case"hour":return a(ue===1?"Hour":"Hours");case"day":return a(ue===1?"Day":"Days");case"week":return a(ue===1?"Week":"Weeks");case"month":return a(ue===1?"Month":"Months");case"quarter":return a(ue===1?"Quarter":"Quarters");case"year":return a(ue===1?"Year":"Years")}return""}const D=e.ref((ye=r.timeZoneList)!=null&&ye.length?[...r.timeZoneList]:[]),S=e.ref(""),V=e.ref(""),B=e.ref(""),N=e.ref(""),j=e.ref("");e.watch(()=>l.value,()=>{S.value=l.value},{immediate:!0}),e.watch(()=>i.value,()=>{V.value=i.value},{immediate:!0}),e.watch(()=>s.value,()=>{B.value=s.value},{immediate:!0}),e.watch(()=>c.value,()=>{N.value=c.value},{immediate:!0}),e.watch(()=>u.value,()=>{const ue=r.timeZone?K().tz(H(r.timeZone)).format("z"):K().format("z");D.value.some(Ee=>Ee.value===ue)||r.timeZone&&!D.value.some(Ee=>Ee.value===r.timeZone)&&D.value.push({value:r.timeZone,label:r.timeZone.indexOf("/")!==-1?r.timeZone.split("/")[1]:r.timeZone});const Ie=K.tz.guess();r.needNowTimeZone&&!D.value.some(Ee=>Ee.value===Ie)&&D.value.push({value:Ie,label:Ie.indexOf("/")!==-1?Ie.split("/")[1]:Ie}),u.value?r.timeZoneList.some(Ee=>Ee.value===ue)?j.value=ue:j.value=u.value:r.timeZoneList.some(Ee=>Ee.value===ue)?j.value=ue:j.value=r.needNowTimeZone?Ie:"PST"},{immediate:!0});const O=e.computed(()=>ue=>{const Ie=r.valueFormat,Ee=r.showFormat,Xe=H(x.value);return ue?h.value?Ie?K(ue,Ie).utc(!0).tz(Xe).format(Ee):K(ue).tz(Xe).format(Ee):K(ue,Ie).utc(!0).format(Ee):"-"}),I=e.ref(""),A=e.ref(""),z=e.ref(""),M=e.ref(""),x=e.ref("");e.watch(()=>m.value,()=>{m.value?(I.value=S.value,A.value=V.value,z.value=B.value,M.value=N.value,x.value=j.value):(I.value="",A.value="",z.value="",M.value="",x.value="")},{immediate:!0});function H(ue){let Ie="";switch(ue||j.value){case"PST":case"PDT":Ie="US/Pacific";break;case"MST":case"MDT":Ie="US/Mountain";break;case"CST":case"CDT":Ie="US/Central";break;case"EST":case"EDT":Ie="US/Eastern";break;case"AST":case"ADT":Ie="America/Halifax";break;case"AKST":case"AKDT":Ie="America/Anchorage";break;default:Ie=ue||j.value;break}return Ie}function X(ue){if(ue<1||ue>12)throw new Error("月份必须是 1-12");return Math.floor((ue-1)/3)*3+1}function P(ue,Ie){const Ee=H(x.value);let Xe="";Ie==="quarter"?Xe=K().tz(Ee).subtract(ue*3,"month").format("YYYY-MM-DD HH:mm"):Xe=K().tz(Ee).subtract(ue,Ie).format("YYYY-MM-DD HH:mm");let mt=K().tz(Ee).format("YYYY-MM-DD HH:mm");if(!r.isLast)if(Ie==="quarter"){const pe=Number(K().tz(Ee).format("MM")),q=X(pe);Xe=K().tz(Ee).set("month",q-1).startOf("month").format("YYYY-MM-DD HH:mm"),mt=K().tz(Ee).set("month",q+1).endOf("month").format("YYYY-MM-DD HH:mm")}else Xe=K().tz(Ee).startOf(Ie).format("YYYY-MM-DD HH:mm"),mt=K().tz(Ee).endOf(Ie).format("YYYY-MM-DD HH:mm");let R=K(Xe,"YYYY-MM-DD HH:mm").tz(Ee,!0).utc().format(r.valueFormat),U=K(mt,"YYYY-MM-DD HH:mm").tz(Ee,!0).utc().format(r.valueFormat);if(h.value||(R=K(Xe,"YYYY-MM-DD HH:mm").tz(Ee,!0).format(r.valueFormat),U=K(mt,"YYYY-MM-DD HH:mm").tz(Ee,!0).format(r.valueFormat)),S.value=ue,V.value=Ie,B.value=R,N.value=U,j.value=x.value,p("update:value",ue),p("update:valueType",Ie),p("update:startTime",R),p("update:endTime",U),p("update:timeZone",x.value),b||(v.value=!1),te.value="",Ve.value="",De.value="",de.value="",b&&!r.immediate){b=!1;return}b=!1,p("change",R,U,j.value,[R,U])}function oe(ue,Ie){const Ee=H(ue),Xe=H(Ie);if(!h.value||!z.value)return;const mt=(r.valueFormat?K(z.value,r.valueFormat).utc(!0).tz(Xe):K(z.value).tz(Xe)).format("YYYY-MM-DD HH:mm"),R=(r.valueFormat?K(M.value,r.valueFormat).utc(!0).tz(Xe):K(M.value).tz(Xe)).format("YYYY-MM-DD HH:mm");z.value=K(mt,"YYYY-MM-DD HH:mm").tz(Ee,!0).utc().format(r.valueFormat),M.value=K(R,"YYYY-MM-DD HH:mm").tz(Ee,!0).utc().format(r.valueFormat),te.value="",Ve.value="",De.value="",de.value=""}const te=e.ref(""),Ve=e.ref(""),De=e.ref(""),de=e.ref("");function _(){if(r.disabled||!z.value&&!N.value)return;if(y.value.length){if(!T.value)return;T.value--,B.value=K(y.value[T.value].startTime||new Date().getTime()).utc().format(r.valueFormat),N.value=K(y.value[T.value].endTime||new Date().getTime()).utc().format(r.valueFormat),I.value=S.value,A.value=V.value,z.value=B.value,M.value=N.value,x.value=j.value,p("update:value",S.value),p("update:valueType",V.value),p("update:startTime",B.value),p("update:endTime",N.value),p("update:timeZone",j.value),p("change",B.value,N.value,j.value,[B.value,N.value]),p("prev",B.value,N.value,j.value,[B.value,N.value]);return}te.value||(te.value=I.value||S.value,Ve.value=A.value||V.value,De.value=z.value||B.value,de.value=M.value||N.value);const ue=H(x.value||j.value),Ie=(r.valueFormat?K(B.value,r.valueFormat).utc(!0).tz(ue).startOf("m"):K(B.value).tz(ue).startOf("m")).valueOf(),Ee=(r.valueFormat?K(N.value,r.valueFormat).utc(!0).tz(ue).startOf("m"):K(N.value).tz(ue).startOf("m")).valueOf();te.value==="custom"?(N.value=K(Ie).endOf("m").utc().format(r.valueFormat),B.value=K(Ie-(Ee-Ie)).utc().format(r.valueFormat)):(S.value="custom",N.value=K(Ie).endOf("m").utc().format(r.valueFormat),Ve.value==="quarter"?B.value=K(Ie).tz(ue).subtract(te.value*3,"month").utc().format(r.valueFormat):B.value=K(Ie).tz(ue).subtract(te.value,Ve.value).utc().format(r.valueFormat),r.isLast||(Ve.value==="quarter"?(B.value=K(Ie).tz(ue).subtract(te.value*3,"month").startOf("m").utc().format(r.valueFormat),N.value=K(Ee).tz(ue).subtract(te.value*3,"month").endOf("m").utc().format(r.valueFormat)):(B.value=K(Ie).tz(ue).subtract(te.value,Ve.value).startOf(Ve.value).utc().format(r.valueFormat),N.value=K(Ie).tz(ue).subtract(te.value,Ve.value).endOf(Ve.value).utc().format(r.valueFormat)))),I.value=S.value,A.value=V.value,z.value=B.value,M.value=N.value,x.value=j.value,p("update:value",S.value),p("update:valueType",V.value),p("update:startTime",B.value),p("update:endTime",N.value),p("update:timeZone",j.value),p("change",B.value,N.value,j.value,[B.value,N.value]),p("prev",B.value,N.value,j.value,[B.value,N.value])}function ae(){if(r.disabled||!z.value&&!N.value||!z.value&&!B.value)return;if(y.value.length){if(T.value===y.value.length-1)return;T.value++,B.value=K(y.value[T.value].startTime||new Date().getTime()).utc().format(r.valueFormat),N.value=K(y.value[T.value].endTime||new Date().getTime()).utc().format(r.valueFormat),I.value=S.value,A.value=V.value,z.value=B.value,M.value=N.value,x.value=j.value,p("update:value",S.value),p("update:valueType",V.value),p("update:startTime",B.value),p("update:endTime",N.value),p("update:timeZone",j.value),p("change",B.value,N.value,j.value,[B.value,N.value]),p("next",B.value,N.value,j.value,[B.value,N.value]);return}te.value||(te.value=I.value||S.value,Ve.value=A.value||V.value,De.value=z.value||B.value,de.value=M.value||N.value);const ue=H(x.value||j.value),Ie=(r.valueFormat?K(B.value,r.valueFormat).utc(!0).tz(ue).startOf("m"):K(B.value).tz(ue).startOf("m")).valueOf(),Ee=(r.valueFormat?K(N.value,r.valueFormat).utc(!0).tz(ue).startOf("m"):K(N.value).tz(ue).startOf("m")).valueOf();te.value==="custom"?(B.value=K(Ee).utc().format(r.valueFormat),N.value=K(Ee+(Ee-Ie)).endOf("m").utc().format(r.valueFormat)):(S.value="custom",B.value=K(Ee).utc().format(r.valueFormat),Ve.value==="quarter"?N.value=K(Ee).tz(ue).endOf("m").add(te.value*3,"month").utc().format(r.valueFormat):N.value=K(Ee).tz(ue).endOf("m").add(te.value,Ve.value).utc().format(r.valueFormat),r.isLast||(Ve.value==="quarter"?(B.value=K(Ie).tz(ue).add(te.value*3,"month").startOf("m").utc().format(r.valueFormat),N.value=K(Ee).tz(ue).add(te.value*3,"month").endOf("m").utc().format(r.valueFormat)):(B.value=K(Ie).tz(ue).add(te.value,Ve.value).startOf(Ve.value).utc().format(r.valueFormat),N.value=K(Ie).tz(ue).add(te.value,Ve.value).endOf(Ve.value).utc().format(r.valueFormat)))),I.value=S.value,A.value=V.value,z.value=B.value,M.value=N.value,x.value=j.value,p("update:value",S.value),p("update:valueType",V.value),p("update:startTime",B.value),p("update:endTime",N.value),p("update:timeZone",j.value),p("change",B.value,N.value,j.value,[B.value,N.value]),p("next",B.value,N.value,j.value,[B.value,N.value])}function ge(){v.value=!1}function he(){if(S.value=I.value,V.value=A.value,B.value=z.value,N.value=M.value,j.value=x.value,N.value<B.value&&([B.value,N.value]=[N.value,B.value]),te.value="",Ve.value="",De.value="",de.value="",b||(v.value=!1),p("update:value",S.value),p("update:valueType",V.value),p("update:startTime",B.value),p("update:endTime",N.value),p("update:timeZone",j.value),b&&!r.immediate){b=!1;return}I.value="",A.value="",z.value="",M.value="",x.value="",b=!1,p("change",B.value,N.value,j.value,[B.value,N.value])}function Te(){B.value&&(I.value=S.value,A.value=V.value,z.value=B.value,M.value=N.value,x.value=j.value,he())}return n({outSideConfirm:Te}),(ue,Ie)=>{const Ee=Ro;return e.openBlock(),e.createElementBlock("div",LV,[t.haveRangSwitch?(e.openBlock(),e.createBlock(vn,{key:0,src:e.unref(u1),fontSize:"32",onClick:_,class:e.normalizeClass({disable:t.disabled||!z.value&&!N.value||w.value(0)})},null,8,["src","class"])):e.createCommentVNode("",!0),e.createVNode(Ee,{placement:"bottom",width:t.showQuick?904:754,"show-arrow":!1,trigger:"click","popper-options":f.value,visible:v.value,"onUpdate:visible":Ie[5]||(Ie[5]=Xe=>v.value=Xe),disabled:t.disabled||!!e.unref(y).length,"hide-after":0,teleported:t.teleported,"popper-class":k.value,onClose:ge},{reference:e.withCtx(()=>[e.renderSlot(ue.$slots,"default",{},()=>[e.createElementVNode("div",{class:e.normalizeClass(["anytrek-timerange-pick",{disable:t.disabled,active:m.value}])},[I.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[I.value==="custom"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",xV,e.toDisplayString(e.unref(a)("from")),1),e.createElementVNode("span",OV,e.toDisplayString(O.value(z.value)),1),e.createElementVNode("span",PV,e.toDisplayString(e.unref(a)("to")),1),e.createElementVNode("span",FV,e.toDisplayString(O.value(M.value)),1),e.createElementVNode("span",zV,e.toDisplayString(E(x.value,D.value,"value","label")),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",RV,e.toDisplayString(t.isLast?e.unref(a)("overLast"):e.unref(a)("this")),1),e.createElementVNode("span",HV,e.toDisplayString(t.isLast?e.unref(l):"")+" "+e.toDisplayString(C(e.unref(l),e.unref(i))),1),e.createElementVNode("span",_V,e.toDisplayString(E(x.value,D.value,"value","label")),1)],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[S.value==="custom"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",YV,e.toDisplayString(e.unref(a)("from")),1),e.createElementVNode("span",ZV,e.toDisplayString(O.value(B.value)),1),e.createElementVNode("span",jV,e.toDisplayString(e.unref(a)("to")),1),e.createElementVNode("span",UV,e.toDisplayString(O.value(N.value)),1),e.createElementVNode("span",WV,e.toDisplayString(E(j.value,D.value,"value","label")),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",GV,e.toDisplayString(t.isLast?e.unref(a)("overLast"):e.unref(a)("this")),1),e.createElementVNode("span",KV,e.toDisplayString(t.isLast?S.value:"")+" "+e.toDisplayString(C(S.value,V.value)),1),e.createElementVNode("span",qV,e.toDisplayString(E(j.value,D.value,"value","label")),1)],64))],64)),e.createVNode(vn,{src:e.unref(d1),fontSize:"32",style:{"margin-left":"4px"}},null,8,["src"])],2)],!0)]),default:e.withCtx(()=>[v.value?(e.openBlock(),e.createBlock(MV,e.mergeProps({key:0},ue.$props,{onQuickChoose:P,startTime:z.value,"onUpdate:startTime":Ie[0]||(Ie[0]=Xe=>z.value=Xe),endTime:M.value,"onUpdate:endTime":Ie[1]||(Ie[1]=Xe=>M.value=Xe),timeZone:x.value,"onUpdate:timeZone":Ie[2]||(Ie[2]=Xe=>x.value=Xe),value:I.value,"onUpdate:value":Ie[3]||(Ie[3]=Xe=>I.value=Xe),popperOptions:f.value,timeZoneList:D.value,disableDayFuntion:t.disableDayFuntion,onCancel:ge,onConfirm:he,onChangeNowTimeZone:oe,onSetCustom:Ie[4]||(Ie[4]=Xe=>I.value="custom"),disableHourFuntion:t.disableHourFuntion,disableMinuteFuntion:t.disableMinuteFuntion,showTimeZoneChoose:t.showTimeZoneChoose,showTime:t.showTime,quarterMessage:t.quarterMessage}),null,16,["startTime","endTime","timeZone","value","popperOptions","timeZoneList","disableDayFuntion","disableHourFuntion","disableMinuteFuntion","showTimeZoneChoose","showTime","quarterMessage"])):(e.openBlock(),e.createElementBlock("div",QV))]),_:3},8,["width","popper-options","visible","disabled","teleported","popper-class"]),t.haveRangSwitch?(e.openBlock(),e.createBlock(vn,{key:1,src:e.unref(u1),fontSize:"32",onClick:ae,class:e.normalizeClass({disable:t.disabled||!z.value&&!N.value||w.value(e.unref(y).length-1)})},null,8,["src","class"])):e.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-149eb4f1"]]),JV={class:"anytrekTimePickTime"},$V={class:"anytrekTimePickTime-date"},eB={class:"anytrekTimePickTime-date-year-choose"},tB={class:"monthWord"},nB={class:"anytrekTimePickTime-date-day-word"},oB={class:"anytrekTimePickTime-date-day-pcik"},aB=["onClick"],rB=bt(e.defineComponent({inheritAttrs:!1,__name:"anytrekTimePickTime",props:{showYear:{type:Number,default:2024},showMonth:{type:Number,default:12},chooseDay:{type:String,default:""},disableFuntion:{type:Function},timeZone:{type:String,default:""},quarterMessage:{type:Object,default(){return{}}}},emits:["changeMonth","changeYear","update:chooseDay","setNow"],setup(t,{emit:n}){K.extend(ea),K.extend(oa),K.extend(aa);const{t:o}=Cn(),a=t,r=n,l=e.ref([]);e.provide("allYearList",l),e.onMounted(()=>{for(let w=1;w<31;w++)l.value.unshift(a.showYear-w);l.value.push(a.showYear);for(let w=1;w<31;w++)l.value.push(a.showYear+w)});const i=e.computed(()=>{var w,E,C;if(a.disableFuntion){const D=m(),S=K().tz(D).format("YYYY-MM-DD");if(a.disableFuntion(S,D))return!0}if((w=a.quarterMessage)!=null&&w.year&&((E=a.quarterMessage)!=null&&E.quarter)){const D={1:[1,2,3],2:[4,5,6],3:[7,8,9],4:[10,11,12]},S=m(),V=+K().tz(S).format("MM");if(!((C=D[a.quarterMessage.quarter])!=null&&C.includes(V)))return!0}return!1});function s(w,E,C,D=!0){if(E<1||E>4||C<1||C>12)return!1;const S={1:[1,2,3],2:[4,5,6],3:[7,8,9],4:[10,11,12]};let V=C-1;return D?V===0&&(V=12):(V=C+1,V===13&&(V=1)),S[E].includes(V)}const c=e.computed(()=>{var w,E;return!!((w=a.quarterMessage)!=null&&w.year&&((E=a.quarterMessage)!=null&&E.quarter)&&!s(a.quarterMessage.year,a.quarterMessage.quarter,a.showMonth,!1))}),d=e.computed(()=>{var w,E;return!!((w=a.quarterMessage)!=null&&w.year&&((E=a.quarterMessage)!=null&&E.quarter)&&!s(a.quarterMessage.year,a.quarterMessage.quarter,a.showMonth))}),u=[o("Sun"),o("Mon"),o("Tue"),o("Wed"),o("Thu"),o("Fri"),o("Sat")];function y(w){const E=K().set("year",a.showYear).set("month",a.showMonth-1).set("date",12).format("YYYY-MM");if(a.chooseDay){const C=K(a.chooseDay,"YYYY-MM-DD");return C.format("YYYY-MM")===E&&C.day()===w}return!1}const p=[o("Jan"),o("Feb"),o("Mar"),o("Apr"),o("May"),o("Jun"),o("Jul"),o("Aug"),o("Sep"),o("Oct"),o("Nov"),o("Dec")];function m(){let w="";switch(a.timeZone){case"PST":case"PDT":w="US/Pacific";break;case"MST":case"MDT":w="US/Mountain";break;case"CST":case"CDT":w="US/Central";break;case"EST":case"EDT":w="US/Eastern";break;case"AST":case"ADT":w="America/Halifax";break;case"AKST":case"AKDT":w="America/Anchorage";break;default:w=a.timeZone;break}return w}const v=e.computed(()=>{const w=K().set("year",a.showYear).set("month",a.showMonth-1).set("date",15).set("hour",12),E=w.startOf("month").day(),C=w.endOf("month").day(),D=+w.endOf("month").format("DD"),S=+w.subtract(1,"month").endOf("month").format("DD"),V=w.subtract(1,"month").endOf("month").day(),B=[];for(let N=0;N<E;N++)B.push({date:S-V+N,isCurrentMonth:!1,year:a.showYear,month:a.showMonth-1});for(let N=0;N<D;N++)B.push({date:N+1,isCurrentMonth:!0,year:a.showYear,month:a.showMonth});if(B.length%7!==0)for(let N=0;N<6-C;N++)B.push({date:N+1,isCurrentMonth:!1,year:a.showYear,month:a.showMonth+1});return B}),h=e.computed(()=>w=>{const E=K().set("year",a.showYear).set("month",a.showMonth-1).set("date",w.date).set("hour",12).format("YYYY-MM-DD"),C={};return a.disableFuntion&&a.disableFuntion(E,m())?(C.disable=!0,C):(w.isCurrentMonth&&a.chooseDay&&a.chooseDay===E&&(C.inDay=!0),C)});function g(){d.value||r("changeMonth","month","pre")}function k(){c.value||r("changeMonth","month","next")}function T(w){r("changeYear",w)}function f(){i.value||r("setNow")}function b(w){if(h.value(w).disable)return;const E=K().set("year",a.showYear).set("month",a.showMonth-1).set("date",w.date).set("hour",12).format("YYYY-MM-DD");r("update:chooseDay",E)}return(w,E)=>{var D,S;const C=e.resolveComponent("anSvgIcon");return e.openBlock(),e.createElementBlock("div",JV,[e.createElementVNode("div",$V,[e.createVNode(C,{name:"arrow-icon",onClick:g,class:e.normalizeClass({disabled:d.value})},null,8,["class"]),e.createElementVNode("div",eB,[e.createVNode(xh,{year:t.showYear,onChange:T,disabled:!!((D=t.quarterMessage)!=null&&D.year&&((S=t.quarterMessage)!=null&&S.quarter))},{default:e.withCtx(()=>{var V,B;return[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString(t.showYear),1),(V=t.quarterMessage)!=null&&V.year&&((B=t.quarterMessage)!=null&&B.quarter)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(C,{key:0,name:"new_arrow",class:"yearArrow",color:"#9A9A9A"}))])]}),_:1},8,["year","disabled"]),e.createElementVNode("span",tB,e.toDisplayString(p[t.showMonth-1]),1)]),e.createVNode(C,{name:"arrow-icon",onClick:k,class:e.normalizeClass({disabled:c.value})},null,8,["class"]),i.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["time-now",{"time-now-disable":i.value}]),onClick:f},e.toDisplayString(e.unref(o)("now")),3))]),e.createElementVNode("div",nB,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(u,(V,B)=>e.createElementVNode("span",{key:V,class:e.normalizeClass({active:y(B)})},e.toDisplayString(V),3)),64))]),e.createElementVNode("div",oB,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,(V,B)=>(e.openBlock(),e.createElementBlock("div",{key:B+.1,class:e.normalizeClass({notNow:!V.isCurrentMonth}),onClick:N=>b(V)},[e.createElementVNode("span",{class:e.normalizeClass(h.value(V))},e.toDisplayString(V.date),3)],10,aB))),128))])])}}}),[["__scopeId","data-v-139a7df6"]]),lB={class:"time-bottom time-bottom-top"},iB={class:"popper-choose-list"},sB=["onClick"],cB={class:"over-ellipsis"},dB={key:2,class:"anytrekTimerangePickTime-date-show-padding"},uB={key:1},fB=bt(e.defineComponent({__name:"anytrekTimePick",props:{value:{type:String,default:""},valueFormat:{type:String,default:""},showFormat:{type:String,default:"YYYY-MM-DD HH:mm"},timeZone:{type:String,default:""},visible:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},teleported:{type:Boolean,default:!0},immediate:{type:Boolean,default:!1},disableFuntion:{type:Function},needNowTimeZone:{type:Boolean,default:!0},timeZoneList:{default(){return[{value:"PST",label:"PST"},{value:"PDT",label:"PDT"},{value:"MST",label:"MST"},{value:"MDT",label:"MDT"},{value:"CST",label:"CST"},{value:"CDT",label:"CDT"},{value:"EST",label:"EST"},{value:"EDT",label:"EDT"},{value:"AST",label:"AST"},{value:"ADT",label:"ADT"},{value:"AKST",label:"AKST"},{value:"AKDT",label:"AKDT"}]}},needMaxIndex:{type:Boolean,default:!1},showTimeZoneChoose:{type:Boolean,default:!0},showTime:{type:String,default:""},quarterMessage:{type:Object,default(){return{}}}},emits:["update:visible","update:value","update:timeZone","change"],setup(t,{expose:n,emit:o}){var M;K.extend(ea),K.extend(oa),K.extend(aa);const a=t,{value:r,timeZone:l,visible:i}=e.toRefs(a),s=o,c=e.computed(()=>{let x="";return a.needMaxIndex&&(x="needMaxIndex-popper"),(w.value?"anytrek-timerange-popper":"nowNotVisible")+" "+x}),d=e.ref(null);e.onMounted(()=>{d.value={modifiers:[{name:"preventOverflow",options:{mainAxis:!0,altAxis:!0}}]},a.immediate&&s("change",f.value,k.value||b.value)});function u(){s("change",f.value,k.value||b.value)}n({outSideConfirm:u});const y=(x,H,X,P)=>{const oe=H.find(te=>te[X]===x);return oe?oe[P]:x},p=e.ref((M=a.timeZoneList)!=null&&M.length?[...a.timeZoneList]:[]),m=e.computed(()=>!a.valueFormat||(a.valueFormat+"").indexOf("H")!==-1||(a.valueFormat+"").indexOf("h")!==-1);function v(x){let H="";switch(x||b.value){case"PST":case"PDT":H="US/Pacific";break;case"MST":case"MDT":H="US/Mountain";break;case"CST":case"CDT":H="US/Central";break;case"EST":case"EDT":H="US/Eastern";break;case"AST":case"ADT":H="America/Halifax";break;case"AKST":case"AKDT":H="America/Anchorage";break;default:H=x||b.value;break}return H}const h=e.computed(()=>x=>{const H=a.valueFormat,X=a.showFormat,P=v(k.value);return x?m.value?H?K(x,H).utc(!0).tz(P).format(X):K(x).tz(P).format(X):K(x,H).format(X):"-"}),g=e.ref(""),k=e.ref(""),T=e.ref(!1),f=e.ref(""),b=e.ref(""),w=e.computed({get(){return T.value},set(x){T.value=x,s("update:visible",x)}});e.watch(()=>r.value,()=>{f.value=r.value},{immediate:!0}),e.watch(()=>i.value,()=>{T.value=i.value},{immediate:!0}),e.watch(()=>l.value,()=>{const x=a.timeZone?K().tz(v(a.timeZone)).format("z"):K().format("z");p.value.some(X=>X.value===x)||a.timeZone&&!p.value.some(X=>X.value===a.timeZone)&&p.value.push({value:a.timeZone,label:a.timeZone.indexOf("/")!==-1?a.timeZone.split("/")[1]:a.timeZone});const H=K.tz.guess();a.needNowTimeZone&&!p.value.some(X=>X.value===H)&&p.value.push({value:H,label:H.indexOf("/")!==-1?H.split("/")[1]:H}),l.value?a.timeZoneList.some(X=>X.value===x)?b.value=x:b.value=l.value:a.timeZoneList.some(X=>X.value===x)?b.value=x:b.value=a.needNowTimeZone?H:"PST"},{immediate:!0});const E=e.ref(2024),C=e.ref(1),D=e.computed({get(){const x=g.value||f.value;if(!m.value)return x;const H=v(k.value||b.value);return(a.valueFormat?K(x,a.valueFormat).utc(!0).tz(H):K(x).tz(H)).format("YYYY-MM-DD")},set(x){if(!m.value){g.value=x;return}const H=v(k.value||b.value),X=`${x} ${S.value}`;g.value=K(X,"YYYY-MM-DD HH:mm").tz(H,!0).utc().format(a.valueFormat)}}),S=e.computed({get(){const x=g.value||f.value,H=v(k.value||b.value);return x?(a.valueFormat?K(x,a.valueFormat).utc(!0).tz(H):K(x).tz(H)).format("HH:mm"):"00:00"},set(x){const H=v(k.value||b.value),X=`${D.value} ${x}`;g.value=K(X,"YYYY-MM-DD HH:mm").tz(H,!0).utc().format(a.valueFormat)}});e.watch(()=>T.value,()=>{if(T.value){if(g.value=f.value,k.value=b.value,!f.value){E.value=a.showTime?+K(a.showTime).tz(v()).format("YYYY"):+K().tz(v()).format("YYYY"),C.value=a.showTime?+K(a.showTime).tz(v()).format("MM"):+K().tz(v()).format("MM");return}if(!m.value){const H=K(f.value,a.valueFormat).tz(v(k.value||b.value),!0);E.value=H.year(),C.value=H.month()+1;return}const x=a.valueFormat?K(f.value,a.valueFormat).utc(!0).tz(v()):K(f.value).tz(v());E.value=x.year(),C.value=x.month()+1}else if(g.value="",k.value="",f.value){if(!m.value){const H=K(f.value,a.valueFormat).tz(v(k.value||b.value),!0);E.value=H.year(),C.value=H.month()+1;return}const x=a.valueFormat?K(f.value,a.valueFormat).utc(!0).tz(v()):K(f.value).tz(v());E.value=x.year(),C.value=x.month()+1}else E.value=a.showTime?+K(a.showTime).tz(v()).format("YYYY"):+K().tz(v()).format("YYYY"),C.value=a.showTime?+K(a.showTime).tz(v()).format("MM"):+K().tz(v()).format("MM")},{immediate:!0});const V=e.ref();function B(x){E.value=x;try{V.value.popperRef.popperInstanceRef.update()}catch{}}function N(x,H){if(H==="pre")if(x==="month"){const X=K().set("year",E.value).set("month",C.value-1).set("date",15).set("hour",12).subtract(1,"month");E.value=Number(X.format("YYYY")),C.value=Number(X.format("MM"))}else E.value--;else if(x==="month"){const X=K().set("year",E.value).set("month",C.value-1).set("date",15).set("hour",12).add(1,"month");E.value=Number(X.format("YYYY")),C.value=Number(X.format("MM"))}else E.value++;try{V.value.popperRef.popperInstanceRef.update()}catch{}}const j=e.ref(!1);function O(x){if(!m.value){k.value=x.value,j.value=!1;return}const H=g.value||f.value;if(!H){k.value=x.value,j.value=!1;return}const X=v(k.value||b.value),P=(a.valueFormat?K(H,a.valueFormat).utc(!0).tz(X):K(H).tz(X)).format("YYYY-MM-DD HH:mm:ss");g.value=K(P,"YYYY-MM-DD HH:mm:ss").tz(v(x.value),!0).utc().format(a.valueFormat),k.value=x.value,j.value=!1}function I(){if(!m.value){const H=K().tz(v(k.value||b.value));g.value=H.format(a.valueFormat),E.value=H.year(),C.value=H.month()+1;return}g.value=K().utc().format(a.valueFormat);const x=a.valueFormat?K(g.value,a.valueFormat).utc(!0).tz(v(k.value||b.value)):K(g.value).tz(v(k.value||b.value));E.value=x.year(),C.value=x.month()+1}function A(){w.value=!1}function z(){g.value&&(f.value=g.value,b.value=k.value,s("update:value",f.value),s("update:timeZone",b.value),s("change",f.value,b.value),w.value=!1)}return(x,H)=>{const X=Ro;return e.openBlock(),e.createBlock(X,{placement:"bottom",width:378,"show-arrow":!1,trigger:"click",ref_key:"popoverRef",ref:V,"popper-options":d.value,visible:w.value,"onUpdate:visible":H[3]||(H[3]=P=>w.value=P),disabled:t.disabled,"hide-after":0,teleported:t.teleported,"popper-class":c.value},{reference:e.withCtx(()=>[e.renderSlot(x.$slots,"default",{},()=>[e.createElementVNode("div",{class:e.normalizeClass(["anytrek-pick",{disable:t.disabled,active:T.value}])},[g.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(e.openBlock(),e.createElementBlock("span",{class:"anytrek-pick-time",key:g.value},e.toDisplayString(h.value(g.value)),1)),(e.openBlock(),e.createElementBlock("span",{class:"anytrek-pick-timezone",key:k.value},e.toDisplayString(y(k.value,p.value,"value","label")),1))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(e.openBlock(),e.createElementBlock("span",{class:"anytrek-pick-time",key:f.value},e.toDisplayString(h.value(f.value)),1)),(e.openBlock(),e.createElementBlock("span",{class:"anytrek-pick-timezone",key:b.value},e.toDisplayString(y(b.value,p.value,"value","label")),1))],64)),e.createVNode(vn,{src:e.unref(d1),fontSize:"32",style:{"margin-left":"4px"}},null,8,["src"])],2)],!0)]),default:e.withCtx(()=>[w.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(rB,e.mergeProps(x.$props,{chooseDay:D.value,"onUpdate:chooseDay":H[0]||(H[0]=P=>D.value=P),timeZone:k.value,popperOptions:d.value,showMonth:C.value,showYear:E.value,timeZoneList:p.value,onSetNow:I,onChangeMonth:N,onChangeYear:B,showTime:t.showTime,quarterMessage:t.quarterMessage}),null,16,["chooseDay","timeZone","popperOptions","showMonth","showYear","timeZoneList","showTime","quarterMessage"]),e.createElementVNode("div",lB,[m.value?(e.openBlock(),e.createBlock($d,{key:0,"start-time":S.value,"onUpdate:startTime":H[1]||(H[1]=P=>S.value=P),disabled:!g.value},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["time-choose",{disabled:!g.value}])},[e.createElementVNode("span",null,e.toDisplayString(S.value),1),e.createVNode(vn,{src:e.unref(Dd)},null,8,["src"])],2)]),_:1},8,["start-time","disabled"])):e.createCommentVNode("",!0),t.showTimeZoneChoose?(e.openBlock(),e.createBlock(X,{key:1,width:121,"show-arrow":!1,trigger:"click","popper-options":d.value,visible:j.value,"onUpdate:visible":H[2]||(H[2]=P=>j.value=P),"hide-after":0,teleported:!1,placement:"bottom-end","popper-class":"choose-item-popper anytrek-timerange-popper"},{reference:e.withCtx(()=>[e.createElementVNode("div",{class:"time-timezone",style:e.normalizeStyle({marginLeft:m.value?"":"0"})},[e.createElementVNode("span",null,e.toDisplayString(y(k.value,p.value,"value","label")),1),e.createVNode(vn,{src:e.unref(Dd)},null,8,["src"])],4)]),default:e.withCtx(()=>[e.createElementVNode("div",iB,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,P=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["popper-choose-list-one",{active:k.value===P.value}]),key:P.value,onClick:oe=>O(P)},[e.createVNode(vn,{src:e.unref(f1),fontSize:"32",class:"check-icon"},null,8,["src"]),e.createElementVNode("span",cB,e.toDisplayString(P.label),1)],10,sB))),128))])]),_:1},8,["popper-options","visible"])):e.createCommentVNode("",!0),t.showTimeZoneChoose?(e.openBlock(),e.createElementBlock("div",dB)):e.createCommentVNode("",!0),e.createVNode(vn,{src:e.unref(ls),color:"rgba(154, 154, 154, 1)",fontSize:"32",class:"time-bottom-cancel",onClick:A,style:e.normalizeStyle({marginLeft:!t.showTimeZoneChoose||!m.value?"auto":""})},null,8,["src","style"]),e.createVNode(vn,{src:e.unref(is),color:"rgba(11, 165, 236, 1)",fontSize:"32",class:e.normalizeClass(["time-bottom-confirm",{disable:!g.value}]),onClick:z},null,8,["src","class"])])],64)):(e.openBlock(),e.createElementBlock("div",uB))]),_:3},8,["popper-options","visible","disabled","teleported","popper-class"])}}}),[["__scopeId","data-v-1fe5f8d2"]]);function mB(){var t=window.navigator.userAgent,n=t.indexOf("MSIE ");if(n>0)return parseInt(t.substring(n+5,t.indexOf(".",n)),10);var o=t.indexOf("Trident/");if(o>0){var a=t.indexOf("rv:");return parseInt(t.substring(a+3,t.indexOf(".",a)),10)}var r=t.indexOf("Edge/");return r>0?parseInt(t.substring(r+5,t.indexOf(".",r)),10):-1}let vs;function tu(){tu.init||(tu.init=!0,vs=mB()!==-1)}var bs={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){tu(),e.nextTick(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",vs&&this.$el.appendChild(t),t.data="about:blank",vs||this.$el.appendChild(t)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!vs&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const pB=e.withScopeId("data-v-b329ee4c");e.pushScopeId("data-v-b329ee4c");const hB={class:"resize-observer",tabindex:"-1"};e.popScopeId();const gB=pB((t,n,o,a,r,l)=>(e.openBlock(),e.createBlock("div",hB)));bs.render=gB,bs.__scopeId="data-v-b329ee4c",bs.__file="src/components/ResizeObserver.vue";function ws(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ws=function(n){return typeof n}:ws=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},ws(t)}function yB(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function kB(t,n){for(var o=0;o<n.length;o++){var a=n[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function vB(t,n,o){return n&&kB(t.prototype,n),t}function Oh(t){return bB(t)||wB(t)||CB(t)||TB()}function bB(t){if(Array.isArray(t))return nu(t)}function wB(t){if(typeof Symbol<"u"&&Symbol.iterator in Object(t))return Array.from(t)}function CB(t,n){if(t){if(typeof t=="string")return nu(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);if(o==="Object"&&t.constructor&&(o=t.constructor.name),o==="Map"||o==="Set")return Array.from(t);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return nu(t,n)}}function nu(t,n){(n==null||n>t.length)&&(n=t.length);for(var o=0,a=new Array(n);o<n;o++)a[o]=t[o];return a}function TB(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
43
+ */const mN="9.14.5";function pN(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(wa().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(wa().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(wa().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(wa().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(wa().__INTLIFY_PROD_DEVTOOLS__=!1)}const bh=Un.__EXTEND_POINT__,Ta=cs(bh),qn={FALLBACK_TO_ROOT:bh,NOT_SUPPORTED_PRESERVE:Ta(),NOT_SUPPORTED_FORMATTER:Ta(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Ta(),NOT_SUPPORTED_GET_CHOICE_INDEX:Ta(),COMPONENT_NAME_LEGACY_COMPATIBLE:Ta(),NOT_FOUND_PARENT_SCOPE:Ta(),IGNORE_OBJ_FLATTEN:Ta(),NOTICE_DROP_ALLOW_COMPOSITION:Ta(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Ta()},hN={[qn.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[qn.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[qn.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[qn.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[qn.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[qn.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[qn.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[qn.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[qn.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[qn.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function ks(t,...n){return Md(hN[t],...n)}const wh=wn.__EXTEND_POINT__,Qn=cs(wh),Xt={UNEXPECTED_RETURN_TYPE:wh,INVALID_ARGUMENT:Qn(),MUST_BE_CALL_SETUP_TOP:Qn(),NOT_INSTALLED:Qn(),NOT_AVAILABLE_IN_LEGACY_MODE:Qn(),REQUIRED_VALUE:Qn(),INVALID_VALUE:Qn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Qn(),NOT_INSTALLED_WITH_PROVIDE:Qn(),UNEXPECTED_ERROR:Qn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Qn(),BRIDGE_SUPPORT_VUE_2_ONLY:Qn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Qn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Qn(),__EXTEND_POINT__:Qn()};function Ha(t,...n){return el(t,null,process.env.NODE_ENV!=="production"?{messages:gN,args:n}:void 0)}const gN={[Xt.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[Xt.INVALID_ARGUMENT]:"Invalid argument",[Xt.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[Xt.NOT_INSTALLED]:"Need to install with `app.use` function",[Xt.UNEXPECTED_ERROR]:"Unexpected error",[Xt.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[Xt.REQUIRED_VALUE]:"Required in value: {0}",[Xt.INVALID_VALUE]:"Invalid value",[Xt.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[Xt.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[Xt.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[Xt.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[Xt.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[Xt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Ud=ba("__translateVNode"),Wd=ba("__datetimeParts"),Gd=ba("__numberParts"),Kd=ba("__enableEmitter"),qd=ba("__disableEmitter"),yN=ba("__setPluralRules"),Ch=ba("__injectWithOption"),Qd=ba("__dispose");function Ql(t){if(!Ct(t)||Zo(t))return t;for(const n in t)if(_o(t,n))if(!n.includes("."))Ct(t[n])&&Ql(t[n]);else{const o=n.split("."),a=o.length-1;let r=t,l=!1;for(let i=0;i<a;i++){if(o[i]==="__proto__")throw new Error(`unsafe key: ${o[i]}`);if(o[i]in r||(r[o[i]]=Pt()),!Ct(r[o[i]])){process.env.NODE_ENV!=="production"&&ta(ks(qn.IGNORE_OBJ_FLATTEN,{key:o[i]})),l=!0;break}r=r[o[i]]}if(l||(Zo(r)?P1.includes(o[a])||delete t[n]:(r[o[a]]=t[n],delete t[n])),!Zo(r)){const i=r[o[a]];Ct(i)&&Ql(i)}}return t}function Xd(t,n){const{messages:o,__i18n:a,messageResolver:r,flatJson:l}=n,i=kt(o)?o:sn(a)?Pt():{[t]:Pt()};if(sn(a)&&a.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:c,resource:d}=s;c?(i[c]=i[c]||Pt(),us(d,i[c])):us(d,i)}else Qe(s)&&us(JSON.parse(s),i)}),r==null&&l)for(const s in i)_o(i,s)&&Ql(i[s]);return i}function Th(t){return t.type}function kN(t,n,o){let a=Ct(n.messages)?n.messages:Pt();"__i18nGlobal"in o&&(a=Xd(t.locale.value,{messages:a,__i18n:o.__i18nGlobal}));const r=Object.keys(a);r.length&&r.forEach(l=>{t.mergeLocaleMessage(l,a[l])});{if(Ct(n.datetimeFormats)){const l=Object.keys(n.datetimeFormats);l.length&&l.forEach(i=>{t.mergeDateTimeFormat(i,n.datetimeFormats[i])})}if(Ct(n.numberFormats)){const l=Object.keys(n.numberFormats);l.length&&l.forEach(i=>{t.mergeNumberFormat(i,n.numberFormats[i])})}}}function Eh(t){return e.createVNode(e.Text,null,t,0)}const Sh="__INTLIFY_META__",Nh=()=>[],vN=()=>!1;let Vh=0;function Bh(t){return(n,o,a,r)=>t(o,a,e.getCurrentInstance()||void 0,r)}const bN=()=>{const t=e.getCurrentInstance();let n=null;return t&&(n=Th(t)[Sh])?{[Sh]:n}:null};function wN(t={},n){const{__root:o,__injectWithOption:a}=t,r=o===void 0,l=t.flatJson,i=va?e.ref:e.shallowRef,s=!!t.translateExistCompatible;process.env.NODE_ENV!=="production"&&s&&p1(ks(qn.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let c=Rt(t.inheritLocale)?t.inheritLocale:!0;const d=i(o&&c?o.locale.value:Qe(t.locale)?t.locale:Kl),u=i(o&&c?o.fallbackLocale.value:Qe(t.fallbackLocale)||sn(t.fallbackLocale)||kt(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:d.value),y=i(Xd(d.value,t)),p=i(kt(t.datetimeFormats)?t.datetimeFormats:{[d.value]:{}}),m=i(kt(t.numberFormats)?t.numberFormats:{[d.value]:{}});let v=o?o.missingWarn:Rt(t.missingWarn)||$r(t.missingWarn)?t.missingWarn:!0,h=o?o.fallbackWarn:Rt(t.fallbackWarn)||$r(t.fallbackWarn)?t.fallbackWarn:!0,g=o?o.fallbackRoot:Rt(t.fallbackRoot)?t.fallbackRoot:!0,k=!!t.fallbackFormat,T=Gt(t.missing)?t.missing:null,f=Gt(t.missing)?Bh(t.missing):null,b=Gt(t.postTranslation)?t.postTranslation:null,w=o?o.warnHtmlMessage:Rt(t.warnHtmlMessage)?t.warnHtmlMessage:!0,E=!!t.escapeParameter;const C=o?o.modifiers:kt(t.modifiers)?t.modifiers:{};let D=t.pluralRules||o&&o.pluralRules,S;S=(()=>{r&&X1(null);const $={version:mN,locale:d.value,fallbackLocale:u.value,messages:y.value,modifiers:C,pluralRules:D,missing:f===null?void 0:f,missingWarn:v,fallbackWarn:h,fallbackFormat:k,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:w,escapeParameter:E,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};$.datetimeFormats=p.value,$.numberFormats=m.value,$.__datetimeFormatters=kt(S)?S.__datetimeFormatters:void 0,$.__numberFormatters=kt(S)?S.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&($.__v_emitter=kt(S)?S.__v_emitter:void 0);const ne=qS($);return r&&X1(ne),ne})(),ql(S,d.value,u.value);function B(){return[d.value,u.value,y.value,p.value,m.value]}const N=e.computed({get:()=>d.value,set:$=>{d.value=$,S.locale=d.value}}),j=e.computed({get:()=>u.value,set:$=>{u.value=$,S.fallbackLocale=u.value,ql(S,d.value,$)}}),O=e.computed(()=>y.value),I=e.computed(()=>p.value),A=e.computed(()=>m.value);function z(){return Gt(b)?b:null}function M($){b=$,S.postTranslation=$}function x(){return T}function H($){$!==null&&(f=Bh($)),T=$,S.missing=f}function X($,ne){return $!=="translate"||!ne.resolvedMessage}const P=($,ne,He,Re,it,ve)=>{B();let be;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,r||(S.fallbackContext=o?KS():void 0),be=$(S)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,r||(S.fallbackContext=void 0)}if(He!=="translate exists"&&bn(be)&&be===hs||He==="translate exists"&&!be){const[Ne,Ce]=ne();if(process.env.NODE_ENV!=="production"&&o&&Qe(Ne)&&X(He,Ce)&&(g&&(ys(h,Ne)||$1(v,Ne))&&ta(ks(qn.FALLBACK_TO_ROOT,{key:Ne,type:He})),process.env.NODE_ENV!=="production")){const{__v_emitter:nt}=S;nt&&g&&nt.emit("fallback",{type:He,key:Ne,to:"global",groupId:`${He}:${Ne}`})}return o&&g?Re(o):it(Ne)}else{if(ve(be))return be;throw Ha(Xt.UNEXPECTED_RETURN_TYPE)}};function oe(...$){return P(ne=>Reflect.apply(ih,null,[ne,...$]),()=>_d(...$),"translate",ne=>Reflect.apply(ne.t,ne,[...$]),ne=>ne,ne=>Qe(ne))}function te(...$){const[ne,He,Re]=$;if(Re&&!Ct(Re))throw Ha(Xt.INVALID_ARGUMENT);return oe(ne,He,On({resolvedMessage:!0},Re||{}))}function Ve(...$){return P(ne=>Reflect.apply(fh,null,[ne,...$]),()=>Yd(...$),"datetime format",ne=>Reflect.apply(ne.d,ne,[...$]),()=>gs,ne=>Qe(ne))}function De(...$){return P(ne=>Reflect.apply(hh,null,[ne,...$]),()=>Zd(...$),"number format",ne=>Reflect.apply(ne.n,ne,[...$]),()=>gs,ne=>Qe(ne))}function de($){return $.map(ne=>Qe(ne)||bn(ne)||Rt(ne)?Eh(String(ne)):ne)}const ae={normalize:de,interpolate:$=>$,type:"vnode"};function ge(...$){return P(ne=>{let He;const Re=ne;try{Re.processor=ae,He=Reflect.apply(ih,null,[Re,...$])}finally{Re.processor=null}return He},()=>_d(...$),"translate",ne=>ne[Ud](...$),ne=>[Eh(ne)],ne=>sn(ne))}function he(...$){return P(ne=>Reflect.apply(hh,null,[ne,...$]),()=>Zd(...$),"number format",ne=>ne[Gd](...$),Nh,ne=>Qe(ne)||sn(ne))}function Te(...$){return P(ne=>Reflect.apply(fh,null,[ne,...$]),()=>Yd(...$),"datetime format",ne=>ne[Wd](...$),Nh,ne=>Qe(ne)||sn(ne))}function je($){D=$,S.pluralRules=D}function ye($,ne){return P(()=>{if(!$)return!1;const He=Qe(ne)?ne:d.value,Re=Ee(He),it=S.messageResolver(Re,$);return s?it!=null:Zo(it)||Co(it)||Qe(it)},()=>[$],"translate exists",He=>Reflect.apply(He.te,He,[$,ne]),vN,He=>Rt(He))}function ue($){let ne=null;const He=Y1(S,u.value,d.value);for(let Re=0;Re<He.length;Re++){const it=y.value[He[Re]]||{},ve=S.messageResolver(it,$);if(ve!=null){ne=ve;break}}return ne}function Ie($){const ne=ue($);return ne??(o?o.tm($)||{}:{})}function Ee($){return y.value[$]||{}}function Xe($,ne){if(l){const He={[$]:ne};for(const Re in He)_o(He,Re)&&Ql(He[Re]);ne=He[$]}y.value[$]=ne,S.messages=y.value}function mt($,ne){y.value[$]=y.value[$]||{};const He={[$]:ne};if(l)for(const Re in He)_o(He,Re)&&Ql(He[Re]);ne=He[$],us(ne,y.value[$]),S.messages=y.value}function R($){return p.value[$]||{}}function U($,ne){p.value[$]=ne,S.datetimeFormats=p.value,ph(S,$,ne)}function pe($,ne){p.value[$]=On(p.value[$]||{},ne),S.datetimeFormats=p.value,ph(S,$,ne)}function q($){return m.value[$]||{}}function J($,ne){m.value[$]=ne,S.numberFormats=m.value,yh(S,$,ne)}function Be($,ne){m.value[$]=On(m.value[$]||{},ne),S.numberFormats=m.value,yh(S,$,ne)}Vh++,o&&va&&(e.watch(o.locale,$=>{c&&(d.value=$,S.locale=$,ql(S,d.value,u.value))}),e.watch(o.fallbackLocale,$=>{c&&(u.value=$,S.fallbackLocale=$,ql(S,d.value,u.value))}));const Pe={id:Vh,locale:N,fallbackLocale:j,get inheritLocale(){return c},set inheritLocale($){c=$,$&&o&&(d.value=o.locale.value,u.value=o.fallbackLocale.value,ql(S,d.value,u.value))},get availableLocales(){return Object.keys(y.value).sort()},messages:O,get modifiers(){return C},get pluralRules(){return D||{}},get isGlobal(){return r},get missingWarn(){return v},set missingWarn($){v=$,S.missingWarn=v},get fallbackWarn(){return h},set fallbackWarn($){h=$,S.fallbackWarn=h},get fallbackRoot(){return g},set fallbackRoot($){g=$},get fallbackFormat(){return k},set fallbackFormat($){k=$,S.fallbackFormat=k},get warnHtmlMessage(){return w},set warnHtmlMessage($){w=$,S.warnHtmlMessage=$},get escapeParameter(){return E},set escapeParameter($){E=$,S.escapeParameter=$},t:oe,getLocaleMessage:Ee,setLocaleMessage:Xe,mergeLocaleMessage:mt,getPostTranslationHandler:z,setPostTranslationHandler:M,getMissingHandler:x,setMissingHandler:H,[yN]:je};return Pe.datetimeFormats=I,Pe.numberFormats=A,Pe.rt=te,Pe.te=ye,Pe.tm=Ie,Pe.d=Ve,Pe.n=De,Pe.getDateTimeFormat=R,Pe.setDateTimeFormat=U,Pe.mergeDateTimeFormat=pe,Pe.getNumberFormat=q,Pe.setNumberFormat=J,Pe.mergeNumberFormat=Be,Pe[Ch]=a,Pe[Ud]=ge,Pe[Wd]=Te,Pe[Gd]=he,process.env.NODE_ENV!=="production"&&(Pe[Kd]=$=>{S.__v_emitter=$},Pe[qd]=()=>{S.__v_emitter=void 0}),Pe}const Jd={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function CN({slots:t},n){return n.length===1&&n[0]==="default"?(t.default?t.default():[]).reduce((a,r)=>[...a,...r.type===e.Fragment?r.children:[r]],[]):n.reduce((o,a)=>{const r=t[a];return r&&(o[a]=r()),o},Pt())}function Ih(t){return e.Fragment}On({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>bn(t)||!isNaN(t)}},Jd);function TN(t){return sn(t)&&!Qe(t[0])}function Ah(t,n,o,a){const{slots:r,attrs:l}=n;return()=>{const i={part:!0};let s=Pt();t.locale&&(i.locale=t.locale),Qe(t.format)?i.key=t.format:Ct(t.format)&&(Qe(t.format.key)&&(i.key=t.format.key),s=Object.keys(t.format).reduce((p,m)=>o.includes(m)?On(Pt(),p,{[m]:t.format[m]}):p,Pt()));const c=a(t.value,i,s);let d=[i.key];sn(c)?d=c.map((p,m)=>{const v=r[p.type],h=v?v({[p.type]:p.value,index:m,parts:c}):[p.value];return TN(h)&&(h[0].key=`${p.type}-${m}`),h}):Qe(c)&&(d=[c]);const u=On(Pt(),l),y=Qe(t.tag)||Ct(t.tag)?t.tag:Ih();return e.h(y,u,d)}}On({value:{type:Number,required:!0},format:{type:[String,Object]}},Jd),On({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Jd);function Dh(t,n){}const EN=ba("global-vue-i18n");function Xl(t={}){const n=e.getCurrentInstance();if(n==null)throw Ha(Xt.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw Ha(Xt.NOT_INSTALLED);const o=SN(n),a=VN(o),r=Th(n),l=NN(t,r);if(__VUE_I18N_LEGACY_API__&&o.mode==="legacy"&&!t.__useComponent){if(!o.allowComposition)throw Ha(Xt.NOT_AVAILABLE_IN_LEGACY_MODE);return DN(n,l,a,t)}if(l==="global")return kN(a,t,r),a;if(l==="parent"){let c=BN(o,n,t.__useComponent);return c==null&&(process.env.NODE_ENV!=="production"&&ta(ks(qn.NOT_FOUND_PARENT_SCOPE)),c=a),c}const i=o;let s=i.__getInstance(n);if(s==null){const c=On({},t);"__i18n"in r&&(c.__i18n=r.__i18n),a&&(c.__root=a),s=wN(c),i.__composerExtend&&(s[Qd]=i.__composerExtend(s)),AN(i,n,s),i.__setInstance(n,s)}return s}function SN(t){{const n=e.inject(t.isCE?EN:t.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw Ha(t.isCE?Xt.NOT_INSTALLED_WITH_PROVIDE:Xt.UNEXPECTED_ERROR);return n}}function NN(t,n){return ss(t)?"__i18n"in n?"local":"global":t.useScope?t.useScope:"local"}function VN(t){return t.mode==="composition"?t.global:t.global.__composer}function BN(t,n,o=!1){let a=null;const r=n.root;let l=IN(n,o);for(;l!=null;){const i=t;if(t.mode==="composition")a=i.__getInstance(l);else if(__VUE_I18N_LEGACY_API__){const s=i.__getInstance(l);s!=null&&(a=s.__composer,o&&a&&!a[Ch]&&(a=null))}if(a!=null||r===l)break;l=l.parent}return a}function IN(t,n=!1){return t==null?null:n&&t.vnode.ctx||t.parent}function AN(t,n,o){let a=null;e.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&n.vnode.el){n.vnode.el.__VUE_I18N__=o,a=D9();const r=o;r[Kd]&&r[Kd](a),a.on("*",Dh)}},n),e.onUnmounted(()=>{const r=o;process.env.NODE_ENV!=="production"&&n.vnode.el&&n.vnode.el.__VUE_I18N__&&(a&&a.off("*",Dh),r[qd]&&r[qd](),delete n.vnode.el.__VUE_I18N__),t.__deleteInstance(n);const l=r[Qd];l&&(l(),delete r[Qd])},n)}function DN(t,n,o,a={}){const r=n==="local",l=e.shallowRef(null);if(r&&t.proxy&&!(t.proxy.$options.i18n||t.proxy.$options.__i18n))throw Ha(Xt.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const i=Rt(a.inheritLocale)?a.inheritLocale:!Qe(a.locale),s=e.ref(!r||i?o.locale.value:Qe(a.locale)?a.locale:Kl),c=e.ref(!r||i?o.fallbackLocale.value:Qe(a.fallbackLocale)||sn(a.fallbackLocale)||kt(a.fallbackLocale)||a.fallbackLocale===!1?a.fallbackLocale:s.value),d=e.ref(Xd(s.value,a)),u=e.ref(kt(a.datetimeFormats)?a.datetimeFormats:{[s.value]:{}}),y=e.ref(kt(a.numberFormats)?a.numberFormats:{[s.value]:{}}),p=r?o.missingWarn:Rt(a.missingWarn)||$r(a.missingWarn)?a.missingWarn:!0,m=r?o.fallbackWarn:Rt(a.fallbackWarn)||$r(a.fallbackWarn)?a.fallbackWarn:!0,v=r?o.fallbackRoot:Rt(a.fallbackRoot)?a.fallbackRoot:!0,h=!!a.fallbackFormat,g=Gt(a.missing)?a.missing:null,k=Gt(a.postTranslation)?a.postTranslation:null,T=r?o.warnHtmlMessage:Rt(a.warnHtmlMessage)?a.warnHtmlMessage:!0,f=!!a.escapeParameter,b=r?o.modifiers:kt(a.modifiers)?a.modifiers:{},w=a.pluralRules||r&&o.pluralRules;function E(){return[s.value,c.value,d.value,u.value,y.value]}const C=e.computed({get:()=>l.value?l.value.locale.value:s.value,set:ye=>{l.value&&(l.value.locale.value=ye),s.value=ye}}),D=e.computed({get:()=>l.value?l.value.fallbackLocale.value:c.value,set:ye=>{l.value&&(l.value.fallbackLocale.value=ye),c.value=ye}}),S=e.computed(()=>l.value?l.value.messages.value:d.value),V=e.computed(()=>u.value),B=e.computed(()=>y.value);function N(){return l.value?l.value.getPostTranslationHandler():k}function j(ye){l.value&&l.value.setPostTranslationHandler(ye)}function O(){return l.value?l.value.getMissingHandler():g}function I(ye){l.value&&l.value.setMissingHandler(ye)}function A(ye){return E(),ye()}function z(...ye){return l.value?A(()=>Reflect.apply(l.value.t,null,[...ye])):A(()=>"")}function M(...ye){return l.value?Reflect.apply(l.value.rt,null,[...ye]):""}function x(...ye){return l.value?A(()=>Reflect.apply(l.value.d,null,[...ye])):A(()=>"")}function H(...ye){return l.value?A(()=>Reflect.apply(l.value.n,null,[...ye])):A(()=>"")}function X(ye){return l.value?l.value.tm(ye):{}}function P(ye,ue){return l.value?l.value.te(ye,ue):!1}function oe(ye){return l.value?l.value.getLocaleMessage(ye):{}}function te(ye,ue){l.value&&(l.value.setLocaleMessage(ye,ue),d.value[ye]=ue)}function Ve(ye,ue){l.value&&l.value.mergeLocaleMessage(ye,ue)}function De(ye){return l.value?l.value.getDateTimeFormat(ye):{}}function de(ye,ue){l.value&&(l.value.setDateTimeFormat(ye,ue),u.value[ye]=ue)}function _(ye,ue){l.value&&l.value.mergeDateTimeFormat(ye,ue)}function ae(ye){return l.value?l.value.getNumberFormat(ye):{}}function ge(ye,ue){l.value&&(l.value.setNumberFormat(ye,ue),y.value[ye]=ue)}function he(ye,ue){l.value&&l.value.mergeNumberFormat(ye,ue)}const Te={get id(){return l.value?l.value.id:-1},locale:C,fallbackLocale:D,messages:S,datetimeFormats:V,numberFormats:B,get inheritLocale(){return l.value?l.value.inheritLocale:i},set inheritLocale(ye){l.value&&(l.value.inheritLocale=ye)},get availableLocales(){return l.value?l.value.availableLocales:Object.keys(d.value)},get modifiers(){return l.value?l.value.modifiers:b},get pluralRules(){return l.value?l.value.pluralRules:w},get isGlobal(){return l.value?l.value.isGlobal:!1},get missingWarn(){return l.value?l.value.missingWarn:p},set missingWarn(ye){l.value&&(l.value.missingWarn=ye)},get fallbackWarn(){return l.value?l.value.fallbackWarn:m},set fallbackWarn(ye){l.value&&(l.value.missingWarn=ye)},get fallbackRoot(){return l.value?l.value.fallbackRoot:v},set fallbackRoot(ye){l.value&&(l.value.fallbackRoot=ye)},get fallbackFormat(){return l.value?l.value.fallbackFormat:h},set fallbackFormat(ye){l.value&&(l.value.fallbackFormat=ye)},get warnHtmlMessage(){return l.value?l.value.warnHtmlMessage:T},set warnHtmlMessage(ye){l.value&&(l.value.warnHtmlMessage=ye)},get escapeParameter(){return l.value?l.value.escapeParameter:f},set escapeParameter(ye){l.value&&(l.value.escapeParameter=ye)},t:z,getPostTranslationHandler:N,setPostTranslationHandler:j,getMissingHandler:O,setMissingHandler:I,rt:M,d:x,n:H,tm:X,te:P,getLocaleMessage:oe,setLocaleMessage:te,mergeLocaleMessage:Ve,getDateTimeFormat:De,setDateTimeFormat:de,mergeDateTimeFormat:_,getNumberFormat:ae,setNumberFormat:ge,mergeNumberFormat:he};function je(ye){ye.locale.value=s.value,ye.fallbackLocale.value=c.value,Object.keys(d.value).forEach(ue=>{ye.mergeLocaleMessage(ue,d.value[ue])}),Object.keys(u.value).forEach(ue=>{ye.mergeDateTimeFormat(ue,u.value[ue])}),Object.keys(y.value).forEach(ue=>{ye.mergeNumberFormat(ue,y.value[ue])}),ye.escapeParameter=f,ye.fallbackFormat=h,ye.fallbackRoot=v,ye.fallbackWarn=m,ye.missingWarn=p,ye.warnHtmlMessage=T}return e.onBeforeMount(()=>{if(t.proxy==null||t.proxy.$i18n==null)throw Ha(Xt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const ye=l.value=t.proxy.$i18n.__composer;n==="global"?(s.value=ye.locale.value,c.value=ye.fallbackLocale.value,d.value=ye.messages.value,u.value=ye.datetimeFormats.value,y.value=ye.numberFormats.value):r&&je(ye)}),Te}if(pN(),__INTLIFY_JIT_COMPILATION__?W1(eN):W1($S),jS(ES),US(Y1),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const t=wa();t.__INTLIFY__=!0,LS(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const MN={common:{},anytrekTimePick:{timeZone:"Time zone",now:"Now",Jan:"Jan",Feb:"Feb",Mar:"Mar",Apr:"Apr",May:"May",Jun:"Jun",Jul:"Jul",Aug:"Aug",Sep:"Sep",Oct:"Oct",Nov:"Nov",Dec:"Dec",Sun:"Sun",Mon:"Mon",Tue:"Tue",Wed:"Wed",Thu:"Thu",Fri:"Fri",Sat:"Sat"},anytrekTimerangePick:{from:"From",to:"To",overLast:"Over the last",hr:"hr",min:"min",Hour:"Hour",Hours:"Hours",Day:"Day",Days:"Days",Week:"Week",Weeks:"Weeks",Month:"Month",Months:"Months",Quarter:"Quarter",Quarters:"Quarters",Year:"Year",Years:"Years",this:"This"},vehicleSelect:{search:"Search",vehicle:"Vehicle",lastUpdate:"Last update",copySuccessful:"Copy successful",doorOpenCurrently:"Door is opened currently",doorCloseCurrently:"Door is closed currently",offline:"Offline",idle:"Idle",driving:"Driving",engineOff:"Engine Off",searchDevice:"Search device",noData:"No Data",all:"All",tag:"Tag",landmark:"Landmark",drivingFirst:"Driving First",idleFirst:"Idle First",warningFirst:"Warning First",offlineFirst:"Offline First",batteryOnUseFirst:"Battery On Use First",lastUpdated:"Last Updated",createFirst:"Create First",viewSelectedVehicle:"View Selected Vehicle",viewSelectedDevice:"View Selected Device"},vehicle:{vehicles:"Vehicles",name:"Name",device:"Device",createAVehicle:"Create a Vehicle",editVehicle:"Edit Vehicle",vehicleType:"Vehicle Type",selectAssetType:"Select a Asset Type",selectDevice:"Select a Device",boundDate:"Bound Date",bingToTags:"Bind to tags",make:"Make",year:"Year",plateNum:"Plate Number",vinOrSerialNumber:"VIN/Serial Number",history:"History",assetType:{assetType:"Asset Type",semiTrailer:"Semi-trailer",VANTrailer:"VAN Trailer",chassis:"Chassis",tank:"Tank",gears:"Gears",stepDeck:"Step deck",flatbed:"Flat bed",dump:"Dump",BumperPullTrailer:"Bumper Pull Trailer",GooseneckTrailer:"Gooseneck Trailer",Pneumatic:"Pneumatic",ISOTank:"ISO Tank",truck:"Truck",heavyDutyTruck:"Heavy duty truck",mediumDutyTruck:"Medium duty truck",lightDutyTruck:"Light duty truck",bus:"BUS",forklift:"Forklift",traffic:"Traffic",portableTrafficLights:"Portable traffic lights",arrowBoard:"Arrow board",others:"Others",customize:"Customize"},nameTip:"name is required",assetTypeTip:"Asset Type is required",fuelType:"Fuel Type",diesel:"Diesel",grossWeight:"Gross Weight",selected:"Selected",typeInContent:"Type in content",now:"Now",seeAll:"See all",devicesInTotal:"Devices in total",addSensor:"Add Sensor",tipChooseTheSensorToConfigure:"Choose the sensor to configure.",tipPurchaseItFirstToAddHere:"Purchase it first to add here.",containerDetectionSensor:"Container Detection Sensor",containerDetectionSensorTip:"You must purchase first before you can add here.",addConDetSensor:"Add A Container Detection Sensor",editConDetSensor:"Edit Container Detection Sensor",conDetSensorPlaceholder:"Enter mac address or ID of the sensor",lightHub:"LightHub",addLightHub:"Add A LightHub",editLightHub:"Edit LightHub",lightHubPlaceholder:"Enter mac address or ID of the LightHub",tirePressureMonitoringSensor:"Tire Pressure Monitoring Sensor",weightSensor:"Weight Sensor",addWeightSensor:"Add A Weight Sensor",editWeightSensor:"Edit Weight Sensor",placeholderOfSensor:"Enter mac address or ID of the sensor",placeholderOfSensorName:"Enter the name of the sensor",BTLSensor:"Bluetooth Trailer Lock",addBTLSensor:"Add A Bluetooth Trailer Lock",editBTLSensor:"Edit Bluetooth Trailer Lock",THSensor:"Temp & Humidity Sensor",addTHSensor:"Add A temp. sensor",editTHSensor:"Edit temp. sensor",macAddress:"Mac address",nameThisSensor:"Name this sensor",odometer:"Odometer",add:"Add"},tag:{nameThisTag:"Name This Tag",addElements:"Add Elements",addTag:"Add tag",addVehicle:"Add vehicle",addLandmark:"Add landmark",addDevice:"Add device",selectAll:"Select All",createNewLandmarkGroup:"Create New Landmark Group",createTag:"Create Tag",createATag:"Create a Tag",createNewTag:"Create New Tag",editThisTag:"Edit This Tag",createNewVehicle:"Create New Vehicle",searchDeviceID:"Search Device ID",element:"Element",batchDeviceID:"Batch Device ID"},landmark:{createLandmark:"Create a Landmark",createNewLandmark:"Create New Landmark",editLandmark:"Edit This Landmark",nameThisLandmark:"Name This Landmark",mapArea:"Map Area",reset:"Reset",satellite:"Satellite",address:"Address",city:"City",state:"State",remark:"Remark",chooseLandmarkGroup:"Choose A Landmark Group",zipCode:"Zip Code"},description:"Description",cancel:"Cancel",save:"Save",deleteTip:"Sure to remove this?",share:{nameOfShare:"Name of Share",creator:"Creator",action:"Action",newShare:"New Share",createAShare:"Create a Share",expandDetails:"Expand details",previewLink:"Preview Link",sendToEmail:"Send to Email",removeThisShare:"Remove this Share",OverTheLastHours:"Over the last {hour} Hours",overTheLast:"Over the last",onlyCurrent:"Only current",nameThisShare:"Name This Share",enterUniqueName:"Enter a unique name",selectedVehiclesToShare:"Selected Vehicles to Share",expiresAfter:"Expires After",saveAndGenerate:"Save and Generate",landmarkGroup:"Landmark Group",createNew:"Create New",batchDeviceID:"Batch Device ID",oneIDLine:"One ID per line",seeAllVehicles:"See all {n} Vehicles",anyoneCanView:"Anyone with the link can view",displayYourLogo:"Display Your Logo",withTrailLast:"With trail of the last",addALink:"Add a Link",yourLogo:"Your Logo",typeContent:"Type in content",sureRemoveThis:"Sure to remove this?",enterEmailAddress:"Enter Email Address",allSelectedElement:"All Selected Element",NinTotal:"{n} in total",enterAliasName:"Enter Alias Name",editAliasName:"Edit Alias Name",loadingPleaseWait:"Loading please wait",shareNotFound:"Share not found",shareExpired:"This share link has expired.",NExpiredOn:"Expired on {n}",ValidForNDays:"Valid for {n} days",backToViewAll:"Back to view all",ViewAllNVehicles:"View all {n} vehicles",navigate:"Navigate",tripList:"Trip list",viewTripList:"View trip list",localstorageFullTip:"The local storage card is nearly full. Please manually clean up the unnecessary videos.",numberOfVehiclesWithinLandmarks:"Number of vehicles within landmarks",sendtoEmailorPhoneNumber:"Send to Email or Phone Number",enterEmailAddressPhoneNumber:"Enter Email Address or Phone Number",permanent:"Permanent",custom:"Custom",enable:"Enable",disable:"Disable",selected:"Selected",vehicleName:"Vehicle Name",realTimeLocationMode:"Real-Time Location",historyTrailsMode:"History Trails",detailOf:"Details of {name}",editName:"Edit {name}",daysLeft:"{d} Days Left",aliasNameEditing:"{name} Alias Name Editing",selectedvehicles:"{n} Vehicles",allSelectedVehicles:"All Selected Vehicles",searchVehicle:"Search Vehicle",moreConfigurations:"More configurations",displayTemperature:"Display Temperature",lessConfigurations:"Less configurations",Can0to72:"Can be set within a range of 0 to 72 hours"}},LN={common:{},anytrekTimePick:{timeZone:"Huso horario",now:"Ahora",Jan:"Ene",Feb:"Feb",Mar:"Mar",Apr:"Abr",May:"May",Jun:"Jun",Jul:"Jul",Aug:"Ago",Sep:"Sep",Oct:"Oct",Nov:"Nov",Dec:"Dic",Sun:"Dom",Mon:"Lun",Tue:"Mar",Wed:"Mié",Thu:"Jue",Fri:"Vie",Sat:"Sáb"},anytrekTimerangePick:{from:"Desde",to:"A",overLast:"Durante los últimos",hr:"h",min:"min",Hour:"Hora",Hours:"Horas",Day:"Día",Days:"Días",Week:"Semana",Weeks:"Semanas",Month:"Mes",Months:"Meses",Quarter:"Trimestre",Quarters:"Trimestres",Year:"Año",Years:"Años",this:"Esto"},vehicleSelect:{search:"Buscar",vehicle:"Vehículo",lastUpdate:"Última actualización",copySuccessful:"Copia exitosa",doorOpenCurrently:"La puerta está abierta actualmente",doorCloseCurrently:"La puerta está cerrada actualmente",offline:"Fuera de línea",idle:"Inactivo.",driving:"Conducción",engineOff:"Motor apagado",searchDevice:"Dispositivo de búsqueda",noData:"Sin datos",all:"Total",tag:"Etiqueta",landmark:"Geocerca",drivingFirst:"Primero Conducir",idleFirst:"Primero Ralenti",warningFirst:"Primero Alerta",offlineFirst:"Primero Offline",batteryOnUseFirst:"Primero Batería",lastUpdated:"Última Actualiz.",createFirst:"Primero Crear",viewSelectedVehicle:"Ver vehículo seleccionado",viewSelectedDevice:"Ver dispositivo seleccionado"},vehicle:{vehicles:"Vehículos",name:"Nombre",device:"Dispositivo",createAVehicle:"Crear un vehículo",editVehicle:"Editar vehículo",vehicleType:"Tipo de vehículo",selectAssetType:"Seleccione un tipo de activo",selectDevice:"Seleccione un dispositivo",boundDate:"Fecha límite",bingToTags:"Vincular a etiquetas",make:"Hacer",year:"Año",plateNum:"Número de matrícula",vinOrSerialNumber:"VIN/número de serie",history:"Historia",assetType:{assetType:"Tipos de activos",semiTrailer:"Semi - remolque",VANTrailer:"camioneta",chassis:"Remolques para contenedores",tank:"coche",gears:"engranaje",stepDeck:"Plataforma de paso",flatbed:"Cama plana",dump:"Dump",BumperPullTrailer:"Remolque con parachoques",GooseneckTrailer:"Remolque de cuello de cisne",Pneumatic:"Neumático",ISOTank:"Tanque ISO",truck:"Vertedero",heavyDutyTruck:"Camiones pesados",mediumDutyTruck:"Camión de transporte medio",lightDutyTruck:"La camioneta",bus:"El autobús",forklift:"carretilla",traffic:"Tráfico",portableTrafficLights:"Semáforos portátiles",arrowBoard:"Tablero de flechas",others:"Otros",customize:"Personalizar"},nameTip:"Se necesita un nuevo nombre",assetTypeTip:"Se requiere tipo de activo",fuelType:"Tipo de combustible",diesel:"Diesel",grossWeight:"Peso bruto",selected:"seleccionado",typeInContent:"Escriba el contenido",now:"Ahora",seeAll:"Ver todo",devicesInTotal:"Dispositivos en total",addSensor:"Añadir sensor",tipChooseTheSensorToConfigure:"Elige el sensor que quieres configurar.",tipPurchaseItFirstToAddHere:"Cómpralo primero para poder añadirlo aquí.",containerDetectionSensor:"Sensor de Detección de Contenedores",containerDetectionSensorTip:"Debe comprar primero antes de poder agregar aquí.",addConDetSensor:"Añadir un sensor de detección de contenedor",editConDetSensor:"Editar Sensor de Detección de Contenedores",conDetSensorPlaceholder:"Ingrese la dirección MAC o el ID del sensor",lightHub:"LightHub",addLightHub:"Añadir un LightHub",editLightHub:"Editar LightHub",lightHubPlaceholder:"Introduzca la dirección MAC o el ID del LightHub",tirePressureMonitoringSensor:"Sensor de presión de neumáticos",weightSensor:"Sensor de peso",addWeightSensor:"Añadir un sensor de peso",editWeightSensor:"Editar sensor de peso",placeholderOfSensor:"Introduce la dirección MAC o el ID del sensor",placeholderOfSensorName:"Introduce el nombre del sensor",BTLSensor:"Cerradura de remolque Bluetooth",addBTLSensor:"Añadir una cerradura de remolque Bluetooth",editBTLSensor:"Editar cerradura de remolque Bluetooth",THSensor:"Sensor de temperatura y humedad",addTHSensor:"Añadir un sensor de temperatura",editTHSensor:"Editar sensor de temperatura",macAddress:"Dirección MAC",nameThisSensor:"Asigna un nombre a este sensor",odometer:"Odómetro",add:"Añadir"},tag:{nameThisTag:"Nombra esta etiqueta",addElements:"Agregar elementos",addTag:"Añadir etiqueta",addVehicle:"Añadir vehículo",addLandmark:"Añadir punto de referencia",addDevice:"Agregar dispositivo",selectAll:"Seleccionar todo",createNewLandmarkGroup:"Crear un nuevo grupo Landmark",createTag:"Crear etiqueta",createATag:"Crear una etiqueta",createNewTag:"Crear nueva etiqueta",editThisTag:"Editar esta etiqueta",createNewVehicle:"Crear nuevo vehículo",searchDeviceID:"Buscar ID del dispositivo",element:"Elemento",batchDeviceID:"ID de dispositivo de lote"},landmark:{createLandmark:"Crear un hito",createNewLandmark:"Crear nuevo punto de referencia",editLandmark:"Editar hito",nameThisLandmark:"Nombre este Landmark",mapArea:"Área del mapa",reset:"Reiniciar",satellite:"Satélite",address:"Dirección",city:"Ciudad",state:"Estado",remark:"Observación",chooseLandmarkGroup:"Elegir un grupo de referencia",zipCode:"Código postal"},description:"Descripción",cancel:"Cancelar",save:"Guardar",deleteTip:"¿Estás seguro de eliminar esto?",share:{nameOfShare:"Nombre del enlace",creator:"Creador",action:"Acción",newShare:"Nuevo enlace",createAShare:"Crear un enlace",expandDetails:"Expandir detalles",previewLink:"Vista previa del enlace",sendToEmail:"Enviar por correo electrónico",removeThisShare:"Eliminar este enlace",OverTheLastHours:"En las últimas {hour} horas",overTheLast:"En las últimas",onlyCurrent:"Solo actual",nameThisShare:"Nombrar este enlace",enterUniqueName:"Ingrese un nombre único",selectedVehiclesToShare:"Vehículos seleccionados para compartir",expiresAfter:"Expira después de",saveAndGenerate:"Guardar y generar",landmarkGroup:"Grupo de puntos de referencia",createNew:"Crear nuevo",batchDeviceID:"ID de dispositivo por lote",oneIDLine:"Un ID por línea",seeAllVehicles:"Ver los {n} vehículos",anyoneCanView:"Cualquiera con el enlace puede ver",displayYourLogo:"Mostrar tu logotipo",withTrailLast:"Con rastro reciente",addALink:"Agregar un enlace",yourLogo:"Tu logotipo",typeContent:"Escriba el contenido",sureRemoveThis:"¿Seguro que desea eliminar esto?",enterEmailAddress:"Introduzca dirección de correo",allSelectedElement:"Todos los elementos seleccionados",NinTotal:"{n} en total",enterAliasName:"Introduzca nombre alternativo",editAliasName:"Editar nombre alternativo",loadingPleaseWait:"Cargando, por favor espere",shareNotFound:"Enlace no encontrado",shareExpired:"Este enlace ha expirado.",NExpiredOn:"Expirado el {n}",ValidForNDays:"Válido por {n} días",backToViewAll:"Volver a ver todo",ViewAllNVehicles:"Ver los {n} vehículos",navigate:"Navegar",tripList:"Lista de viajes",viewTripList:"Ver lista de viajes",localstorageFullTip:"El almacenamiento local está casi lleno. Por favor, elimine manualmente los videos innecesarios.",numberOfVehiclesWithinLandmarks:"Número de vehículos dentro de los puntos de referencia",sendtoEmailorPhoneNumber:"Enviar al correo o número de teléfono",enterEmailAddressPhoneNumber:"Introduzca correo o número de teléfono",permanent:"Permanente",custom:"Personalizado",enable:"Habilitar",disable:"Deshabilitar",selected:"Seleccionado",vehicleName:"Nombre del vehículo",realTimeLocationMode:"Ubicación en tiempo real",historyTrailsMode:"Historial de rutas",detailOf:"Detalles de {name}",editName:"Editar el nombre de {name}",daysLeft:"{d} Días Restantes",aliasNameEditing:"Edición del nombre de alias de {name}",selectedvehicles:"{n} Vehículos",allSelectedVehicles:"Todos los vehículos seleccionados",searchVehicle:"Buscar vehiculo.",moreConfigurations:"Más configuraciones",displayTemperature:"Mostrar temperatura",lessConfigurations:"Menos configuraciones",Can0to72:"Se puede configurar dentro de un rango de 0 a 72 horas"}},xN={common:{},anytrekTimePick:{timeZone:"Fuseau horaire",now:"Maintenant",Jan:"Janv",Feb:"Févr",Mar:"Mars",Apr:"Avr",May:"Mai",Jun:"Juin",Jul:"Juil",Aug:"Août",Sep:"Sept",Oct:"Oct",Nov:"Nov",Dec:"Déc",Sun:"Dim",Mon:"Lun",Tue:"Mar",Wed:"Mer",Thu:"Jeu",Fri:"Ven",Sat:"Sam"},anytrekTimerangePick:{from:"De",to:"À",overLast:"Au cours des dernières",hr:"h",min:"min",Hour:"Heure",Hours:"Heures",Day:"Jour",Days:"Jours",Week:"Semaine",Weeks:"Semaines",Month:"Mois",Months:"Mois",Quarter:"Trimestre",Quarters:"Trimestres",Year:"An",Years:"Ans",this:"Ceci"},vehicleSelect:{search:"Recherche",vehicle:"Véhicule",lastUpdate:"Dernière mise à jour",copySuccessful:"Copie réussie",doorOpenCurrently:"La porte est actuellement ouverte",doorCloseCurrently:"La porte est actuellement fermée",offline:"Hors ligne",idle:"Inactivité",driving:"Conduite",engineOff:"Moteur éteint",searchDevice:"Appareil de recherche",noData:"Aucune donnée",all:"Tout",tag:"Étiqueter",landmark:"Clôture",drivingFirst:"Conduite d’abord",idleFirst:"Ralenti d’abord",warningFirst:"Alerte d’abord",offlineFirst:"Hors-ligne d’abord",batteryOnUseFirst:"Batterie d’abord",lastUpdated:"Dernière maj.",createFirst:"Création d’abord",viewSelectedVehicle:"Voir le véhicule sélectionné",viewSelectedDevice:"Voir l’appareil sélectionné"},vehicle:{vehicles:"Véhicules",name:"Nom",device:"appareil",createAVehicle:"Créer un véhicule",editVehicle:"Modifier le véhicule",vehicleType:"Type de véhicule",selectAssetType:"Sélectionnez un type d'actif",selectDevice:"Sélectionnez un appareil",boundDate:"Date limite",bingToTags:"Lier aux balises",make:"Marque",year:"Année",plateNum:"Numéro de plaque",vinOrSerialNumber:"NIV/numéro de série",history:"Histoire",assetType:{assetType:"Types de biens",semiTrailer:"Semi-remorques pour",VANTrailer:"Camion camion remorque",chassis:"Remorques pour conteneurs",tank:"compartiment",gears:"engrenage",stepDeck:"Pont à marches",flatbed:"À plat",dump:"Décharge",BumperPullTrailer:"Remolque con parachoques",GooseneckTrailer:"Remolque de cuello de cisne",Pneumatic:"Neumático",ISOTank:"Tanque ISO",truck:"camion",heavyDutyTruck:"Poids lourds lourds",mediumDutyTruck:"Camion de transport moyen",lightDutyTruck:"Véhicules utilitaires légers",bus:"Bus",forklift:"chariot élévateur à fourche",traffic:"Tráfico",portableTrafficLights:"Semáforos portátiles",arrowBoard:"Tablero de flechas",others:"Autres",customize:"Personalizar"},nameTip:"Veuillez saisir le nom",assetTypeTip:"Le type d'actif est requis",fuelType:"Type de carburant",diesel:"Diesel",grossWeight:"Poids brut",selected:"choisi",typeInContent:"Saisissez le contenu",now:"Maintenant",seeAll:"Tout voir",devicesInTotal:"Appareils au total",addSensor:"Ajouter un capteur",tipChooseTheSensorToConfigure:"Choisissez le capteur à configurer.",tipPurchaseItFirstToAddHere:"Achetez-le d’abord pour pouvoir l’ajouter ici.",containerDetectionSensor:"Capteur de Détection de Conteneur",containerDetectionSensorTip:"Vous devez d'abord acheter avant de pouvoir ajouter ici.",addConDetSensor:"Ajouter un capteur de détection de conteneur",editConDetSensor:"Modifier le Capteur de Détection de Conteneur",conDetSensorPlaceholder:"Entrez l'adresse MAC ou l'ID du capteur",lightHub:"LightHub",addLightHub:"Ajouter un LightHub",editLightHub:"Modifier le LightHub",lightHubPlaceholder:"Saisissez l'adresse MAC ou l'ID du LightHub",tirePressureMonitoringSensor:"Capteur de pression des pneus",weightSensor:"Capteur de poids",addWeightSensor:"Ajouter un capteur de poids",editWeightSensor:"Modifier le capteur de poids",placeholderOfSensor:"Saisissez l’adresse MAC ou l’ID du capteur",placeholderOfSensorName:"Saisissez le nom du capteur",BTLSensor:"Serrure de remorque Bluetooth",addBTLSensor:"Ajouter une serrure de remorque Bluetooth",editBTLSensor:"Modifier la serrure de remorque Bluetooth",THSensor:"Capteur de température et d’humidité",addTHSensor:"Ajouter un capteur de température",editTHSensor:"Modifier le capteur de température",macAddress:"Adresse MAC",nameThisSensor:"Nommez ce capteur",odometer:"Odomètre",add:"Ajouter"},tag:{nameThisTag:"Nommez cette balise",addElements:"Ajouter des éléments",addTag:"Ajouter une balise",addVehicle:"Ajouter un véhicule",addLandmark:"Ajouter un point de repère",addDevice:"Ajouter un appareil",selectAll:"Tout sélectionner",createNewLandmarkGroup:"Créer un nouveau groupe de points de repère",createTag:"Créer une balise",createATag:"Créer une balise",createNewTag:"Créer une nouvelle balise",editThisTag:"Modifier cette balise",createNewVehicle:"Créer un nouveau véhicule",searchDeviceID:"Rechercher l'ID de l'appareil",element:"Élément",batchDeviceID:"ID de l'appareil par lots"},landmark:{createLandmark:"Créer un point de repère",createNewLandmark:"Créer un nouveau point de repère",editLandmark:"Modifier le point de repère",nameThisLandmark:"Nommez ce monument",mapArea:"Zone de la carte",reset:"Réinitialiser",satellite:"Satellite",address:"Adresse",city:"Ville",state:"Etat",remark:"Remarque",chooseLandmarkGroup:"Choisissez un groupe emblématique",zipCode:"Code postal"},description:"Descripción",cancel:"Annuler",save:"sauvegarder",deleteTip:"Êtes-vous sûr de vouloir supprimer cela ?",share:{nameOfShare:"Nom du partage",creator:"Créateur",action:"Action",newShare:"Nouveau partage",createAShare:"Créer un partage",expandDetails:"Afficher les détails",previewLink:"Aperçu du lien",sendToEmail:"Envoyer par e-mail",removeThisShare:"Supprimer ce partage",OverTheLastHours:"Au cours des dernières {hour} heures",overTheLast:"Au cours des dernières",onlyCurrent:"Seulement actuel",nameThisShare:"Nommer ce partage",enterUniqueName:"Entrez un nom unique",selectedVehiclesToShare:"Véhicules sélectionnés à partager",expiresAfter:"Expire après",saveAndGenerate:"Enregistrer et générer",landmarkGroup:"Groupe de repères",createNew:"Créer nouveau",batchDeviceID:"ID de périphérique en lot",oneIDLine:"Un ID par ligne",seeAllVehicles:"Voir les {n} véhicules",anyoneCanView:"Toute personne avec le lien peut voir",displayYourLogo:"Afficher votre logo",withTrailLast:"Avec trace récente",addALink:"Ajouter un lien",yourLogo:"Votre logo",typeContent:"Saisissez du contenu",sureRemoveThis:"Êtes-vous sûr de vouloir supprimer cela ?",enterEmailAddress:"Entrez l'adresse e-mail",allSelectedElement:"Tous les éléments sélectionnés",NinTotal:"{n} au total",enterAliasName:"Entrez le nom d'alias",editAliasName:"Modifier le nom d'alias",loadingPleaseWait:"Chargement, veuillez patienter",shareNotFound:"Partage introuvable",shareExpired:"Ce lien de partage a expiré.",NExpiredOn:"Expiré le {n}",ValidForNDays:"Valide pendant {n} jours",backToViewAll:"Retour à la vue d'ensemble",ViewAllNVehicles:"Voir les {n} véhicules",navigate:"Naviguer",tripList:"Liste des trajets",viewTripList:"Voir la liste des trajets",localstorageFullTip:"La carte de stockage local est presque pleine. Veuillez supprimer manuellement les vidéos inutiles.",numberOfVehiclesWithinLandmarks:"Nombre de véhicules dans les repères",sendtoEmailorPhoneNumber:"Envoyer à l'e-mail ou au numéro de téléphone",enterEmailAddressPhoneNumber:"Entrez l'adresse e-mail ou le numéro de téléphone",permanent:"Permanent",custom:"Personnalisé",enable:"Activer",disable:"Désactiver",selected:"Sélectionné",vehicleName:"Nom du véhicule",realTimeLocationMode:"Localisation en temps réel",historyTrailsMode:"Historique des trajets",detailOf:"Détails de {name}",editName:"Modifier le nom de {name}",daysLeft:"{d} Jours Restants",aliasNameEditing:"Édition du nom d'alias de {name}",selectedvehicles:"{n} Véhicules",allSelectedVehicles:"Tous les véhicules sélectionnés",searchVehicle:"Recherche de véhicule",moreConfigurations:"Plus de configurations",displayTemperature:"Afficher la température",lessConfigurations:"Moins de configurations",Can0to72:"Peut être défini dans une plage de 0 à 72 heures"}},ON={common:{},anytrekTimePick:{timeZone:"时区",now:"现在",Jan:"一月",Feb:"二月",Mar:"三月",Apr:"四月",May:"五月",Jun:"六月",Jul:"七月",Aug:"八月",Sep:"九月",Oct:"十月",Nov:"十一月",Dec:"十二月",Sun:"周日",Mon:"周一",Tue:"周二",Wed:"周三",Thu:"周四",Fri:"周五",Sat:"周六"},anytrekTimerangePick:{from:"从",to:"到",overLast:"在过去",hr:"时",min:"分",Hour:"小时",Hours:"小时",Day:"天",Days:"天",Week:"周",Weeks:"周",Month:"月",Months:"月",Quarter:"季度",Quarters:"季度",Year:"年",Years:"年",this:"这个"},vehicleSelect:{search:"搜索",vehicle:"车辆",lastUpdate:"最后更新",copySuccessful:"复制成功",doorOpenCurrently:"门当前处于打开状态",doorCloseCurrently:"门目前已关闭",offline:"离线",idle:"静止",driving:"驾驶中",engineOff:"发动机关闭",searchDevice:"搜索设备",noData:"没有数据",all:"全部",tag:"标签",landmark:"地标",drivingFirst:"行驶优先",idleFirst:"怠速优先",warningFirst:"预警优先",offlineFirst:"离线优先",batteryOnUseFirst:"电池优先",lastUpdated:"最后更新",createFirst:"创建优先",viewSelectedVehicle:"查看所选车辆",viewSelectedDevice:"查看所选设备"},vehicle:{vehicles:"车辆",name:"名称",device:"设备",createAVehicle:"创建车辆",editVehicle:"编辑车辆",vehicleType:"车辆类型",selectAssetType:"选择车辆类型",selectDevice:"选择设备",boundDate:"绑定时间",bingToTags:"绑定的标签",make:"制造商",year:"年",plateNum:"车牌号",vinOrSerialNumber:"VIN/序列号",history:"历史",assetType:{assetType:"资产类型",semiTrailer:"半拖车",VANTrailer:"厢式挂车",chassis:"集装箱拖车",tank:"车厢",gears:"齿轮",stepDeck:"阶梯甲板",flatbed:"平板",dump:"倾倒",BumperPullTrailer:"保险杠拖车",GooseneckTrailer:"鹅颈拖车",Pneumatic:"气动",ISOTank:"ISO罐式集装箱",truck:"货车",heavyDutyTruck:"重型载货车",mediumDutyTruck:"中型运输卡车",lightDutyTruck:"轻型货车",bus:"巴士",forklift:"叉车",traffic:"交通",portableTrafficLights:"便携式交通灯",arrowBoard:"箭头板",others:"其他",customize:"自定义"},nameTip:"请输入名称",assetTypeTip:"请选择资产类型",fuelType:"燃料类型",diesel:"柴油",grossWeight:"总重",selected:"已选择",typeInContent:"输入内容",now:"现在",seeAll:"查看全部",devicesInTotal:"设备总数",addSensor:"添加传感器",tipChooseTheSensorToConfigure:"选择要配置的传感器。",tipPurchaseItFirstToAddHere:"请先购买该设备,然后在此添加。",containerDetectionSensor:"集装箱检测传感器",containerDetectionSensorTip:"您必须先购买,然后才能在此处添加。",addConDetSensor:"添加集装箱检测传感器",editConDetSensor:"编辑集装箱探测传感器",conDetSensorPlaceholder:"请输入传感器的MAC地址或ID",lightHub:"光枢纽",addLightHub:"添加光枢纽",editLightHub:"编辑光枢纽",lightHubPlaceholder:"输入光枢纽的MAC地址或ID",tirePressureMonitoringSensor:"胎压监测传感器",weightSensor:"重量传感器",addWeightSensor:"添加重量传感器",editWeightSensor:"编辑重量传感器",placeholderOfSensor:"请输入传感器的 MAC 地址或 ID",placeholderOfSensorName:"请输入传感器名称",BTLSensor:"蓝牙挂车锁",addBTLSensor:"添加蓝牙挂车锁",editBTLSensor:"编辑蓝牙挂车锁",THSensor:"温湿度传感器",addTHSensor:"添加温度传感器",editTHSensor:"编辑温度传感器",macAddress:"MAC 地址",nameThisSensor:"传感器名称",odometer:"里程",add:"添加"},tag:{nameThisTag:"标签名称",addElements:"添加元素",addTag:"添加标签",addVehicle:"添加车辆",addLandmark:"添加地标",addDevice:"添加设备",selectAll:"全选",createNewLandmarkGroup:"创建地标组",createTag:"创建标签",createATag:"创建标签",createNewTag:"创建标签",editThisTag:"编辑标签",createNewVehicle:"创建车辆",searchDeviceID:"搜索设备ID",element:"元素",batchDeviceID:"批量设备ID"},landmark:{createLandmark:"创建地标",createNewLandmark:"创建地标",editLandmark:"编辑地标",nameThisLandmark:"地标名称",mapArea:"地图区域",reset:"重置",satellite:"卫星",address:"地址",city:"城市",state:"州/省份",remark:"备注",chooseLandmarkGroup:"选择地标组",zipCode:"邮政编码"},description:"描述",cancel:"取消",save:"保存",deleteTip:"确定要删除此内容吗?",share:{nameOfShare:"分享名称",creator:"创建者",action:"操作",newShare:"新建分享",createAShare:"创建一个分享",expandDetails:"展开详情",previewLink:"预览链接",sendToEmail:"发送到邮箱",removeThisShare:"删除此分享",OverTheLastHours:"过去 {hour} 小时内",overTheLast:"过去",onlyCurrent:"仅当前",nameThisShare:"为分享命名",enterUniqueName:"输入唯一名称",selectedVehiclesToShare:"已选车辆进行分享",expiresAfter:"过期时间",saveAndGenerate:"保存并生成",landmarkGroup:"地标分组",createNew:"新建",batchDeviceID:"批量设备ID",oneIDLine:"每行一个ID",seeAllVehicles:"查看全部 {n} 辆车",anyoneCanView:"任何持有链接的人均可查看",displayYourLogo:"显示你的Logo",withTrailLast:"包含最近的轨迹",addALink:"添加一个链接",yourLogo:"你的Logo",typeContent:"输入内容",sureRemoveThis:"确定要删除吗?",enterEmailAddress:"请输入邮箱地址",allSelectedElement:"所有已选项",NinTotal:"共 {n} 个",enterAliasName:"输入别名",editAliasName:"编辑别名",loadingPleaseWait:"加载中,请稍候",shareNotFound:"分享未找到",shareExpired:"该分享链接已过期。",NExpiredOn:"于 {n} 过期",ValidForNDays:"有效期 {n} 天",backToViewAll:"返回查看全部",ViewAllNVehicles:"查看全部 {n} 辆车",navigate:"导航",tripList:"行程列表",viewTripList:"查看行程列表",localstorageFullTip:"本地存储卡容量即将满,请手动清理不必要的视频。",numberOfVehiclesWithinLandmarks:"地标内的车辆数量",sendtoEmailorPhoneNumber:"发送到邮箱或手机号",enterEmailAddressPhoneNumber:"请输入邮箱或手机号",permanent:"永久",custom:"自定义",enable:"启用",disable:"禁用",selected:"已选",vehicleName:"车辆名称",realTimeLocationMode:"实时位置",historyTrailsMode:"历史轨迹",detailOf:"{name} 的详情",editName:"编辑 {name}",daysLeft:"剩余 {d} 天",aliasNameEditing:"{name} 别名编辑",selectedvehicles:"已选 {n} 辆车",allSelectedVehicles:"所有已选车辆",searchVehicle:"搜索车辆",moreConfigurations:"更多配置",displayTemperature:"显示温度",lessConfigurations:"更少的配置",Can0to72:"可以设置为 0 到 72 小时的范围"}};function Cn(){function t(r,{en:l,es:i,fr:s,zh:c}){function d(v,h){for(const g in h)if(Object.prototype.hasOwnProperty.call(h,g)){const k=h[g];k.constructor===Object?d(v,k):v[g]=k}}const u={},y={},p={},m={};switch(d(u,l),d(y,i),d(p,s),d(m,c),r){case"en":return u;case"es":return y;case"fr":return p;case"zh":case"zh-CN":return m;default:return u}}const n=Xl(),o=e.toRef(n.locale.value);e.watch(()=>n.locale.value,()=>{const r={en:MN,es:LN,fr:xN,zh:ON},{setLocaleMessage:l,getLocaleMessage:i}=Xl(),s=i(n.locale.value);l(n.locale.value,{...s,"anytrek-front-public-component":t(n.locale.value,r)})},{immediate:!0});function a(r,...l){return n.t(`anytrek-front-public-component.${r}`,...l)}return{t:a,locale:o}}const PN={class:"choose-time-content"},FN={class:"choose-time-body"},zN={class:"startHours"},RN={class:"hover"},HN=["onClick"],_N={class:"startMins startHours"},YN={class:"hover"},ZN=["onClick"],jN={class:"choose-time-body-bottom"},$d=bt(e.defineComponent({__name:"timeSelect",props:{day:{type:String,default:"2024-01-02"},startTime:{type:String,default:"00:00"},disabled:{type:Boolean,default:!1},disableHourFuntion:{type:Function},disableMinuteFuntion:{type:Function},timeZone:{type:String,default:""}},emits:["update:startTime","change"],setup(t,{emit:n}){const{t:o}=Cn(),a=t,{startTime:r}=e.toRefs(a),l=n,i=e.computed(()=>{const O=[];for(let I=0;I<24;I++){const A={};if(A.value=I+1,A.disabled=!1,a.disableHourFuntion){const z=a.disableHourFuntion(a.day,a.timeZone);try{A.disabled=(z||[]).includes(I)}catch{}}O.push(A)}return O}),s=e.computed(()=>{const O=[];for(let I=0;I<60;I++){const A={};if(A.value=I+1,A.disabled=!1,a.disableMinuteFuntion){const z=a.disableMinuteFuntion(a.day,p.value-1,a.timeZone);try{A.disabled=(z||[]).includes(I)}catch{}}O.push(A)}return O}),c=()=>{r.value?(p.value=Number(r.value.split(":")[0])+1,b.value=Number(r.value.split(":")[1])+1):(p.value=1,b.value=1),e.nextTick(()=>{k(),S()})},d=e.ref(null);e.onMounted(()=>{d.value={modifiers:[{name:"preventOverflow",options:{mainAxis:!0,altAxis:!0}}]}});const u=e.ref(!1);e.watch(()=>u.value,()=>{u.value&&c()}),e.watch(()=>a.day,()=>{a.day&&c()});const y=e.ref(),p=e.ref(1);let m=0,v=0,h=0;const g=O=>{const I=Math.round(O.scrollTop/48);p.value=I+1,m&&clearTimeout(m),v&&clearTimeout(v),m=setTimeout(()=>{k()},200)};function k(){if(!a.day)return;const O=p.value;let I=0;if(a.disableHourFuntion){I=100;const A=a.disableHourFuntion(a.day,a.timeZone);if(p.value>h){let z=!1;for(;(A||[]).includes(p.value-1);)if(p.value++,p.value>24){z=!0;break}if(z){for(p.value=O;(A||[]).includes(p.value-1);)if(p.value--,p.value<1){p.value=O;break}}}else{let z=!1;for(;(A||[]).includes(p.value-1);)if(p.value--,p.value<1){z=!0;break}if(z){for(p.value=O;(A||[]).includes(p.value-1);)if(p.value++,p.value>24){p.value=O;break}}}}h=O,v=setTimeout(()=>{T()},I)}const T=O=>{const I=O||p.value;y.value.setScrollTop((I-1)*48)},f=e.ref(),b=e.ref(1);let w=0,E=0,C=0;const D=O=>{const I=Math.round(O.scrollTop/48);b.value=I+1,w&&clearTimeout(w),E&&clearTimeout(E),w=setTimeout(()=>{S()},100)};function S(){if(!a.day)return;const O=b.value;let I=0;if(a.disableMinuteFuntion){I=100;const A=a.disableMinuteFuntion(a.day,p.value-1,a.timeZone);if(b.value>C||b.value===0){let z=!1;for(;(A||[]).includes(b.value-1);)if(b.value++,b.value>60){z=!0;break}if(z){for(b.value=O;(A||[]).includes(b.value-1);)if(b.value--,b.value<1){b.value=O;break}}}else{let z=!1;for(;(A||[]).includes(b.value-1);)if(b.value--,b.value<1){z=!0;break}if(z){for(b.value=O;(A||[]).includes(b.value-1);)if(b.value++,b.value>60){b.value=O;break}}}}C=O,E=setTimeout(()=>{V()},I)}const V=O=>{const I=O||b.value;f.value.setScrollTop((I-1)*48)};e.watch(()=>`${p.value<10?`0${p.value}`:p.value}${b.value<10?`0${b.value}`:b.value}`,()=>{u.value||B()});const B=()=>{let O="";O+=p.value-1<10?"0"+(p.value-1):p.value-1,O+=":",O+=b.value-1<10?"0"+(b.value-1):b.value-1,l("update:startTime",O),l("change")},N=()=>{u.value=!1},j=()=>{let O="";O+=p.value-1<10?"0"+(p.value-1):p.value-1,O+=":",O+=b.value-1<10?"0"+(b.value-1):b.value-1,l("update:startTime",O),l("change"),u.value=!1};return(O,I)=>{const A=Ba,z=Ro;return e.openBlock(),e.createBlock(z,{placement:"bottom",width:156,trigger:"click","show-arrow":!1,teleported:!1,disabled:t.disabled,"hide-after":0,visible:u.value,"onUpdate:visible":I[0]||(I[0]=M=>u.value=M),"popper-class":"anytrek-timerange-popper choose-timeselect-popper","popper-options":d.value},{reference:e.withCtx(()=>[e.renderSlot(O.$slots,"default",{},void 0,!0)]),default:e.withCtx(()=>[e.createElementVNode("div",PN,[e.createElementVNode("div",FN,[e.createElementVNode("div",zN,[e.createElementVNode("div",RN,e.toDisplayString(e.unref(o)("hr")),1),e.createVNode(A,{ref_key:"startHourRef",ref:y,onScroll:g},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(2,M=>e.createElementVNode("span",{key:M,class:"time-span"})),64)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,M=>(e.openBlock(),e.createElementBlock("span",{key:M.value,class:e.normalizeClass(["time-span",{active:p.value===M.value,disabled:M.disabled}]),onClick:x=>T(M.value)},e.toDisplayString(M.value-1),11,HN))),128)),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(2,M=>e.createElementVNode("span",{key:M,class:"time-span"})),64))]),_:1},512)]),e.createElementVNode("div",_N,[e.createElementVNode("div",YN,e.toDisplayString(e.unref(o)("min")),1),e.createVNode(A,{ref_key:"startMinRef",ref:f,onScroll:D},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(2,M=>e.createElementVNode("span",{key:M,class:"time-span"})),64)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,M=>(e.openBlock(),e.createElementBlock("span",{key:M.value,class:e.normalizeClass(["time-span",{active:b.value===M.value,disabled:M.disabled}]),onClick:x=>V(M.value)},e.toDisplayString(M.value-1),11,ZN))),128)),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(2,M=>e.createElementVNode("span",{key:M,class:"time-span"})),64))]),_:1},512)])]),e.createElementVNode("div",jN,[e.createVNode(vn,{src:e.unref(ls),color:"rgba(154, 154, 154, 1)",fontSize:"32",class:"timerange-body-right-bottom-cancel",onClick:N},null,8,["src"]),e.createVNode(vn,{src:e.unref(is),color:"rgba(11, 165, 236, 1)",fontSize:"32",class:"timerange-body-right-bottom-confirm",onClick:j},null,8,["src"])])])]),_:3},8,["disabled","visible","popper-options"])}}}),[["__scopeId","data-v-8be94649"]]);var Mh={exports:{}};(function(t,n){(function(o,a){t.exports=a()})(rr,function(){var o="minute",a=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(l,i,s){var c=i.prototype;s.utc=function(h){var g={date:h,utc:!0,args:arguments};return new i(g)},c.utc=function(h){var g=s(this.toDate(),{locale:this.$L,utc:!0});return h?g.add(this.utcOffset(),o):g},c.local=function(){return s(this.toDate(),{locale:this.$L,utc:!1})};var d=c.parse;c.parse=function(h){h.utc&&(this.$u=!0),this.$utils().u(h.$offset)||(this.$offset=h.$offset),d.call(this,h)};var u=c.init;c.init=function(){if(this.$u){var h=this.$d;this.$y=h.getUTCFullYear(),this.$M=h.getUTCMonth(),this.$D=h.getUTCDate(),this.$W=h.getUTCDay(),this.$H=h.getUTCHours(),this.$m=h.getUTCMinutes(),this.$s=h.getUTCSeconds(),this.$ms=h.getUTCMilliseconds()}else u.call(this)};var y=c.utcOffset;c.utcOffset=function(h,g){var k=this.$utils().u;if(k(h))return this.$u?0:k(this.$offset)?y.call(this):this.$offset;if(typeof h=="string"&&(h=function(w){w===void 0&&(w="");var E=w.match(a);if(!E)return null;var C=(""+E[0]).match(r)||["-",0,0],D=C[0],S=60*+C[1]+ +C[2];return S===0?0:D==="+"?S:-S}(h),h===null))return this;var T=Math.abs(h)<=16?60*h:h;if(T===0)return this.utc(g);var f=this.clone();if(g)return f.$offset=T,f.$u=!1,f;var b=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(f=this.local().add(T+b,o)).$offset=T,f.$x.$localOffset=b,f};var p=c.format;c.format=function(h){var g=h||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return p.call(this,g)},c.valueOf=function(){var h=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*h},c.isUTC=function(){return!!this.$u},c.toISOString=function(){return this.toDate().toISOString()},c.toString=function(){return this.toDate().toUTCString()};var m=c.toDate;c.toDate=function(h){return h==="s"&&this.$offset?s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():m.call(this)};var v=c.diff;c.diff=function(h,g,k){if(h&&this.$u===h.$u)return v.call(this,h,g,k);var T=this.local(),f=s(h).local();return v.call(T,f,g,k)}}})})(Mh);var UN=Mh.exports;const oa=Fl(UN);var Lh={exports:{}};(function(t,n){(function(o,a){t.exports=a()})(rr,function(){var o={year:0,month:1,day:2,hour:3,minute:4,second:5},a={};return function(r,l,i){var s,c=function(p,m,v){v===void 0&&(v={});var h=new Date(p),g=function(k,T){T===void 0&&(T={});var f=T.timeZoneName||"short",b=k+"|"+f,w=a[b];return w||(w=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:k,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:f}),a[b]=w),w}(m,v);return g.formatToParts(h)},d=function(p,m){for(var v=c(p,m),h=[],g=0;g<v.length;g+=1){var k=v[g],T=k.type,f=k.value,b=o[T];b>=0&&(h[b]=parseInt(f,10))}var w=h[3],E=w===24?0:w,C=h[0]+"-"+h[1]+"-"+h[2]+" "+E+":"+h[4]+":"+h[5]+":000",D=+p;return(i.utc(C).valueOf()-(D-=D%1e3))/6e4},u=l.prototype;u.tz=function(p,m){p===void 0&&(p=s);var v,h=this.utcOffset(),g=this.toDate(),k=g.toLocaleString("en-US",{timeZone:p}),T=Math.round((g-new Date(k))/1e3/60),f=15*-Math.round(g.getTimezoneOffset()/15)-T;if(!Number(f))v=this.utcOffset(0,m);else if(v=i(k,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(f,!0),m){var b=v.utcOffset();v=v.add(h-b,"minute")}return v.$x.$timezone=p,v},u.offsetName=function(p){var m=this.$x.$timezone||i.tz.guess(),v=c(this.valueOf(),m,{timeZoneName:p}).find(function(h){return h.type.toLowerCase()==="timezonename"});return v&&v.value};var y=u.startOf;u.startOf=function(p,m){if(!this.$x||!this.$x.$timezone)return y.call(this,p,m);var v=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return y.call(v,p,m).tz(this.$x.$timezone,!0)},i.tz=function(p,m,v){var h=v&&m,g=v||m||s,k=d(+i(),g);if(typeof p!="string")return i(p).tz(g);var T=function(E,C,D){var S=E-60*C*1e3,V=d(S,D);if(C===V)return[S,C];var B=d(S-=60*(V-C)*1e3,D);return V===B?[S,V]:[E-60*Math.min(V,B)*1e3,Math.max(V,B)]}(i.utc(p,h).valueOf(),k,g),f=T[0],b=T[1],w=i(f).utcOffset(b);return w.$x.$timezone=g,w},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(p){s=p}}})})(Lh);var WN=Lh.exports;const aa=Fl(WN),GN={class:"choose-time-content"},KN={class:"choose-time-body"},qN={class:"years"},QN=["onClick"],XN={class:"choose-time-body-bottom"},xh=bt(e.defineComponent({__name:"yearSelect",props:{year:{type:[String,Number],default:"2024"},disabled:{type:Boolean,default:!1}},emits:["change"],setup(t,{emit:n}){K.extend(ea),K.extend(oa),K.extend(aa);const o=t,{year:a}=e.toRefs(o),r=n,l=e.inject("allYearList",e.ref([])),i=e.computed(()=>{var f;return(f=l.value)!=null&&f.length?l.value[0]:0}),s=()=>{y.value=Number(a.value),e.nextTick(()=>{h()})},c=e.ref(null);e.onMounted(()=>{c.value={modifiers:[{name:"preventOverflow",options:{mainAxis:!0,altAxis:!0}}]}});const d=e.ref(!1);e.watch(()=>d.value,()=>{d.value&&s()}),e.watch(()=>o.year,()=>{o.year&&s()});const u=e.ref(),y=e.ref(1);let p=0,m=0;const v=f=>{const b=Math.round(f.scrollTop/40);y.value=b+i.value,p&&clearTimeout(p),m&&clearTimeout(m),p=setTimeout(()=>{h()},200)};function h(){if(!o.year)return;m=setTimeout(()=>{g()},0)}const g=f=>{const b=(f||y.value)-i.value;u.value.setScrollTop(b*40)},k=()=>{d.value=!1},T=()=>{r("change",y.value),d.value=!1};return(f,b)=>{const w=Ba,E=Ro;return e.openBlock(),e.createBlock(E,{placement:"bottom",width:112,trigger:"click","show-arrow":!1,teleported:!1,disabled:t.disabled,"hide-after":0,visible:d.value,"onUpdate:visible":b[0]||(b[0]=C=>d.value=C),"popper-class":"anytrek-timerange-popper choose-year-popper","popper-options":c.value},{reference:e.withCtx(()=>[e.renderSlot(f.$slots,"default",{},void 0,!0)]),default:e.withCtx(()=>[e.createElementVNode("div",GN,[e.createElementVNode("div",KN,[e.createElementVNode("div",qN,[e.createVNode(w,{ref_key:"yearRef",ref:u,onScroll:v},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(2,C=>e.createElementVNode("span",{key:C+.01,class:"time-span"})),64)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(l),C=>(e.openBlock(),e.createElementBlock("span",{key:C,class:e.normalizeClass(["time-span",{active:y.value===C}]),onClick:D=>g(C)},e.toDisplayString(C),11,QN))),128)),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(2,C=>e.createElementVNode("span",{key:C+.02,class:"time-span"})),64))]),_:1},512)])]),e.createElementVNode("div",XN,[e.createVNode(vn,{src:e.unref(ls),color:"rgba(154, 154, 154, 1)",fontSize:"32",class:"timerange-body-right-bottom-cancel",onClick:k},null,8,["src"]),e.createVNode(vn,{src:e.unref(is),color:"rgba(11, 165, 236, 1)",fontSize:"32",class:"timerange-body-right-bottom-confirm",onClick:T},null,8,["src"])])])]),_:3},8,["disabled","visible","popper-options"])}}}),[["__scopeId","data-v-85b1dba9"]]),JN={class:"anytrekTimerangePickTime"},$N={class:"anytrekTimerangePickTime-date"},eV={class:"anytrekTimerangePickTime-date-year-choose"},tV={class:"year-span"},nV={class:"anytrekTimerangePickTime-date-year-choose"},oV={class:"month-span"},aV={class:"anytrekTimerangePickTime-date-day-word"},rV={class:"anytrekTimerangePickTime-date-day-pcik"},lV=["onClick","onMouseover","onMouseleave"],eu=bt(e.defineComponent({__name:"anytrekTimerangePickTime",props:{type:{type:Number,default:1},showYear:{type:Number,default:2024},showMonth:{type:Number,default:12},startDay:{type:String,default:""},endDay:{type:String,default:""},chooseStartDay:{type:String,default:""},chooseEndDay:{type:String,default:""},disableFuntion:{type:Function},unlinkPanels:{type:Boolean,default:!0},quarterMessage:{type:Object,default(){return{}}}},emits:["changeMonth","handleClick","handleMouseover","handleMouseleave","opNow","changeYear"],setup(t,{emit:n}){K.extend(ea),K.extend(oa),K.extend(aa);const{t:o}=Cn(),a=t,r=n,l=[o("Sun"),o("Mon"),o("Tue"),o("Wed"),o("Thu"),o("Fri"),o("Sat")];function i(g){const k=K().set("year",a.showYear).set("month",a.showMonth-1).set("date",12).format("YYYY-MM");if(a.chooseStartDay){const T=K(a.chooseStartDay,"YYYY-MM-DD");if(T.format("YYYY-MM")===k&&T.day()===g)return!0;if(a.chooseEndDay){const f=K(a.chooseEndDay,"YYYY-MM-DD");if(f.format("YYYY-MM")===k&&f.day()===g)return!0}return!1}if(a.startDay){const T=K(a.startDay,"YYYY-MM-DD");if(T.format("YYYY-MM")===k&&T.day()===g)return!0}if(a.endDay){const T=K(a.endDay,"YYYY-MM-DD");if(T.format("YYYY-MM")===k&&T.day()===g)return!0}return!1}const s=[o("Jan"),o("Feb"),o("Mar"),o("Apr"),o("May"),o("Jun"),o("Jul"),o("Aug"),o("Sep"),o("Oct"),o("Nov"),o("Dec")],c=e.computed(()=>{const g=K().set("year",a.showYear).set("month",a.showMonth-1).set("date",15).set("hour",12),k=g.startOf("month").day(),T=g.endOf("month").day(),f=+g.endOf("month").format("DD"),b=+g.subtract(1,"month").endOf("month").format("DD"),w=g.subtract(1,"month").endOf("month").day(),E=[];for(let C=0;C<k;C++)E.push({date:b-w+C,isCurrentMonth:!1,year:a.showYear,month:a.showMonth-1});for(let C=0;C<f;C++)E.push({date:C+1,isCurrentMonth:!0,year:a.showYear,month:a.showMonth});if(E.length%7!==0)for(let C=0;C<6-T;C++)E.push({date:C+1,isCurrentMonth:!1,year:a.showYear,month:a.showMonth+1});return E}),d=e.computed(()=>g=>{const k=K().set("year",a.showYear).set("month",a.showMonth-1).set("date",g.date).set("hour",12).format("YYYY-MM-DD"),T={};return a.disableFuntion&&a.disableFuntion(k)?(T.disable=!0,T):(g.isCurrentMonth&&(a.startDay?(a.startDay===k&&(T.startDay=!0),a.endDay===k&&(T.endDay=!0),k>a.startDay&&k<a.endDay&&(T.inDay=!0)):a.chooseStartDay&&a.chooseEndDay?(a.chooseStartDay===k&&(T.startDay=!0),a.chooseEndDay===k&&(T.endDay=!0),k>a.chooseStartDay&&k<a.chooseEndDay&&(T.inDay=!0)):a.chooseStartDay&&a.chooseStartDay===k&&(T.startDay=!0,T.noEnd=!0)),T)});function u(g){if(d.value(g).disable)return;const k=K().set("year",a.showYear).set("month",a.showMonth-1).set("date",g.date).set("hour",12).format("YYYY-MM-DD");r("handleClick",k)}function y(g){if(d.value(g).disable)return;const k=K().set("year",a.showYear).set("month",a.showMonth-1).set("date",g.date).set("hour",12).format("YYYY-MM-DD");r("handleMouseover",k)}function p(g){d.value(g).disable||r("handleMouseleave")}function m(g){r("changeYear",g)}function v(){r("changeMonth","month","pre",a.type)}function h(){r("changeMonth","month","next",a.type)}return(g,k)=>{var f,b;const T=e.resolveComponent("anSvgIcon");return e.openBlock(),e.createElementBlock("div",JN,[e.createElementVNode("div",$N,[t.unlinkPanels?(e.openBlock(),e.createBlock(T,{key:0,name:"arrow-icon",onClick:v})):e.createCommentVNode("",!0),e.createElementVNode("div",eV,[e.createVNode(xh,{year:t.showYear,onChange:m,disabled:!!((f=t.quarterMessage)!=null&&f.year&&((b=t.quarterMessage)!=null&&b.quarter))},{default:e.withCtx(()=>{var w,E;return[e.createElementVNode("div",null,[e.createElementVNode("span",tV,e.toDisplayString(t.showYear),1),(w=t.quarterMessage)!=null&&w.year&&((E=t.quarterMessage)!=null&&E.quarter)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(T,{key:0,name:"new_arrow",class:"chooseYear",color:"#9A9A9A"}))])]}),_:1},8,["year","disabled"])]),e.createElementVNode("div",nV,[e.createElementVNode("span",oV,e.toDisplayString(s[t.showMonth-1]),1)]),t.unlinkPanels?(e.openBlock(),e.createBlock(T,{key:1,name:"arrow-icon",onClick:h})):e.createCommentVNode("",!0)]),e.createElementVNode("div",aV,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(l,(w,E)=>e.createElementVNode("span",{key:w,class:e.normalizeClass({active:i(E)})},e.toDisplayString(w),3)),64))]),e.createElementVNode("div",rV,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(w,E)=>(e.openBlock(),e.createElementBlock("div",{key:E+.1,class:e.normalizeClass({notNow:!w.isCurrentMonth}),onClick:C=>u(w),onMouseover:C=>y(w),onMouseleave:C=>p(w)},[e.createElementVNode("span",{class:e.normalizeClass(d.value(w))},e.toDisplayString(w.date),3)],42,lV))),128))])])}}}),[["__scopeId","data-v-38a7b5e0"]]),iV={class:"timerange-body"},sV={key:0,class:"timerange-body-left-tip"},cV=["onClick"],dV=["onClick"],uV=["onClick"],fV=["onClick"],mV=["onClick"],pV=["onClick"],hV={class:"timerange-body-right"},gV={class:"timerange-body-right-bottom"},yV={class:"anytrekTimerangePickTime-date-contnet"},kV={class:"anytrekTimerangePickTime-date-year-show"},vV={class:"anytrekTimerangePickTime-date-month-show"},bV={class:"anytrekTimerangePickTime-date-time-choose"},wV={class:"anytrekTimerangePickTime-date-year-show"},CV={class:"anytrekTimerangePickTime-date-month-show"},TV={class:"anytrekTimerangePickTime-date-time-choose"},EV={key:0,class:"anytrekTimerangePickTime-date-show-padding"},SV={class:"timerange-body-right-bottom-timezone"},NV={class:"over-ellipsis"},VV={class:"popper-choose-list"},BV=["onClick"],IV={class:"over-ellipsis"},AV={class:"timerange-body-right-bottom",style:{"margin-top":"0"}},DV=600,pr=376,MV=bt(e.defineComponent({inheritAttrs:!1,__name:"anytrekTimerangePickBody",props:{hourList:{type:Array,default(){return[]}},dayList:{type:Array,default(){return[1]}},weekList:{type:Array,default(){return[1,2]}},monthList:{type:Array,default(){return[1]}},quarterList:{type:Array,default(){return[]}},yearList:{type:Array,default(){return[]}},startTime:{type:String,default:""},endTime:{type:String,default:""},timeZone:{type:String,default:""},valueFormat:{type:String,default:""},popperOptions:{type:Object,default(){return{}}},showQuick:{type:Boolean,default:!0},disabledDate:{type:Number,default:366},needNowTimeZone:{type:Boolean,default:!0},timeZoneList:{default(){return[{value:"PST",label:"PST"},{value:"PDT",label:"PDT"},{value:"MST",label:"MST"},{value:"MDT",label:"MDT"},{value:"CST",label:"CST"},{value:"CDT",label:"CDT"},{value:"EST",label:"EST"},{value:"EDT",label:"EDT"},{value:"AST",label:"AST"},{value:"ADT",label:"ADT"},{value:"AKST",label:"AKST"},{value:"AKDT",label:"AKDT"}]}},unlinkPanels:{type:Boolean,default:!0},isLast:{type:Boolean,default:!0},disableDayFuntion:{type:Function},disableHourFuntion:{type:Function},disableMinuteFuntion:{type:Function},showTimeZoneChoose:{type:Boolean,default:!0},showTime:{type:String,default:""},quarterMessage:{type:Object,default(){return{}}}},emits:["quickChoose","cancel","confirm","update:startTime","update:endTime","update:timeZone","update:value","changeNowTimeZone","setCustom"],setup(t,{emit:n}){var pe;K.extend(ea),K.extend(oa),K.extend(aa);const{t:o,locale:a}=Cn(),r=t,l=n,i=e.computed(()=>r.isLast?r.hourList:r.hourList.filter(q=>q===1)),s=e.computed(()=>r.isLast?r.dayList:r.dayList.filter(q=>q===1)),c=e.computed(()=>r.isLast?r.weekList:r.weekList.filter(q=>q===1)),d=e.computed(()=>r.isLast?r.monthList:r.monthList.filter(q=>q===1)),u=e.computed(()=>r.isLast?r.quarterList:r.quarterList.filter(q=>q===1)),y=e.computed(()=>r.isLast?r.yearList:r.yearList.filter(q=>q===1)),p=e.computed(()=>!r.valueFormat||(r.valueFormat+"").indexOf("H")!==-1||(r.valueFormat+"").indexOf("h")!==-1);function m(q,J){l("quickChoose",q,J)}const v=e.ref((pe=r.timeZoneList)!=null&&pe.length?[...r.timeZoneList]:[]),h=e.ref(!1);function g(q,J,Be,Pe){const $=J.find(ne=>ne[Be]===q);return $?$[Pe]:q}function k(){let q="";switch(r.timeZone){case"PST":case"PDT":q="US/Pacific";break;case"MST":case"MDT":q="US/Mountain";break;case"CST":case"CDT":q="US/Central";break;case"EST":case"EDT":q="US/Eastern";break;case"AST":case"ADT":q="America/Halifax";break;case"AKST":case"AKDT":q="America/Anchorage";break;default:q=r.timeZone;break}return q}function T(){w.value=+K().tz(k()).format("YYYY"),E.value=+K().tz(k()).format("MM");const q=K().set("year",w.value).set("month",E.value-1).set("date",15).set("hour",12).subtract(1,"month");f.value=Number(q.format("YYYY")),b.value=Number(q.format("MM")),P.value=K().tz(k()).format("YYYY-MM-DD"),oe.value=K().tz(k()).format("YYYY-MM-DD"),R.value="00:00",U.value="23:59",l("setCustom")}const f=e.ref(2024),b=e.ref(1),w=e.ref(2024),E=e.ref(2),C=e.ref([]),D=e.ref([]);e.provide("allYearList",D);function S(q,J){const Be=new Date(q,J-2,1),Pe=new Date(q,J,1);return{preMonthYear:Be.getFullYear(),preMonthMonth:Be.getMonth()+1,nextMonthYear:Pe.getFullYear(),nextMonthMonth:Pe.getMonth()+1}}function V(q,J=DV){var He,Re;const{year:Be,month:Pe}=q;if(!Be||Pe<1||Pe>12)throw new Error("Invalid { year, month }");const $=[];if((He=r.quarterMessage)!=null&&He.year&&((Re=r.quarterMessage)!=null&&Re.quarter))return B[r.quarterMessage.quarter].forEach(it=>{const ve=new Date(Be,it-1,1),be=ve.getFullYear(),Ne=ve.getMonth()+1,Ce=S(be,Ne);$.push({year:be,month:Ne,key:`year${be}month${Ne}`,size:376,...Ce}),D.value.push(be)}),$[0].size=328,D.value=[...new Set(D.value)],$;const ne=Pe-1;for(let it=-J;it<=J;it++){const ve=new Date(Be,ne+it,1),be=ve.getFullYear(),Ne=ve.getMonth()+1,Ce=S(be,Ne);$.push({year:be,month:Ne,key:`year${be}month${Ne}`,size:376,...Ce}),D.value.push(be)}return D.value=[...new Set(D.value)],$[0].size=328,$}const B={1:[1,2,3],2:[4,5,6],3:[7,8,9],4:[10,11,12]};e.onBeforeMount(()=>{var q,J,Be,Pe,$,ne;if(r.startTime){let He=r.valueFormat?K(r.startTime,r.valueFormat).utc(!0).tz(k()):K(r.startTime).tz(k()),Re=r.valueFormat?K(r.endTime,r.valueFormat).utc(!0).tz(k()):K(r.endTime).tz(k());p.value||(He=K(r.startTime,r.valueFormat),Re=K(r.endTime,r.valueFormat)),f.value=+He.format("YYYY"),b.value=+He.format("MM");const it=He.set("date",15).set("hour",12).add(1,"month");if(w.value=Number(it.format("YYYY")),E.value=Number(it.format("MM")),P.value=He.format("YYYY-MM-DD"),oe.value=Re.format("YYYY-MM-DD"),(Pe=r.quarterMessage)!=null&&Pe.year&&(($=r.quarterMessage)!=null&&$.quarter)&&!((ne=B[r.quarterMessage.quarter])!=null&&ne.includes(E.value))){w.value=f.value,E.value=b.value;const ve=K().set("year",f.value).set("month",b.value-1).set("date",15).set("hour",12).subtract(1,"month");f.value=Number(ve.format("YYYY")),b.value=Number(ve.format("MM"))}}else{f.value=r.showTime?+K(r.showTime).tz(k()).format("YYYY"):+K().tz(k()).format("YYYY"),b.value=r.showTime?+K(r.showTime).tz(k()).format("MM"):+K().tz(k()).format("MM");const He=K().set("year",f.value).set("month",b.value+1).set("date",15).set("hour",12).subtract(1,"month");if(w.value=Number(He.format("YYYY")),E.value=Number(He.format("MM")),P.value="",oe.value="",(q=r.quarterMessage)!=null&&q.year&&((J=r.quarterMessage)!=null&&J.quarter)&&!((Be=B[r.quarterMessage.quarter])!=null&&Be.includes(E.value))){w.value=f.value,E.value=b.value;const Re=K().set("year",f.value).set("month",b.value-1).set("date",15).set("hour",12).subtract(1,"month");f.value=Number(Re.format("YYYY")),b.value=Number(Re.format("MM"))}}C.value=V({year:f.value,month:b.value})}),e.onMounted(()=>{e.nextTick(()=>{requestAnimationFrame(()=>{var J,Be;let q=Math.floor(C.value.length/2);if((J=r.quarterMessage)!=null&&J.year&&((Be=r.quarterMessage)!=null&&Be.quarter)){const Pe=C.value.findIndex($=>$.year===f.value&&$.month===b.value);Pe>-1&&(q=Pe)}x.value.scrollToPosition(q*376)})})});const N=e.ref(!1),j=e.ref(!1);function O(){const q=C.value.length*376-48,{start:J,end:Be}=x.value.getScroll();J===0?j.value=!0:j.value=!1,Be===q?N.value=!0:N.value=!1}function I(q){return Math.round(q/pr)*pr}let A=Promise.resolve();function z(q,J=400){A=A.then(()=>new Promise(Be=>{const Pe=x.value.getScroll().start,$=I(Pe),ne=I(q),He=ne-$,Re=performance.now();function it(ve){const be=Math.min((ve-Re)/J,1),Ne=be*(2-be);x.value.scrollToPosition($+He*Ne),be<1?requestAnimationFrame(it):(x.value.scrollToPosition(ne),Be())}requestAnimationFrame(it)}))}function M(q,J){if(r.unlinkPanels){J===1?f.value=q:w.value=q;return}const Pe=x.value.getScroll().start/pr;if(J===Pe){let $=C.value.findIndex(ne=>ne.year===q&&ne.month===C.value[J].month);$<0&&($=0),x.value.scrollToPosition($*pr)}else{let $=C.value.findIndex(ne=>ne.year===q&&ne.month===C.value[J-1].month);$<0&&($=0),x.value.scrollToPosition($*pr)}}const x=e.ref();function H(q,J,Be){if(r.unlinkPanels){switch(Be){case 1:J==="pre"?q==="month"?(b.value--,b.value===0&&(b.value=12,f.value--)):f.value--:q==="month"?(b.value++,b.value===13&&(b.value=1,f.value++)):f.value++;break;case 2:J==="pre"?q==="month"?(E.value--,E.value===0&&(E.value=12,w.value--)):w.value--:q==="month"?(E.value++,E.value===13&&(E.value=1,w.value++)):w.value++;break}return}const Pe=I(x.value.getScroll().start);let $=J==="pre"?Pe-pr:Pe+pr;$<0&&($=0),z($)}function X(q){l("changeNowTimeZone",q.value,r.timeZone),l("update:value","custom"),l("update:timeZone",q.value),l("setCustom"),h.value=!1}const P=e.ref(""),oe=e.ref(""),te=e.ref(""),Ve=e.ref(""),De=e.ref(""),de=e.ref(0);function _(q){de.value&&clearTimeout(de.value),De.value&&(De.value>=q?(te.value=q,Ve.value=De.value):(te.value=De.value,Ve.value=q))}function ae(){de.value&&clearTimeout(de.value),de.value=setTimeout(()=>{De.value&&(te.value=De.value,Ve.value="")},100)}function ge(q){if(!De.value)te.value=q,De.value=q,P.value="",oe.value="",Te.value=!0;else{De.value>=q?(P.value=q,oe.value=De.value):(P.value=De.value,oe.value=q),te.value="",Ve.value="",De.value="",Te.value=!1;let J=K(`${P.value} 00:00`,"YYYY-MM-DD HH:mm").tz(k(),!0).utc().format(r.valueFormat),Be=K(`${oe.value} 23:59`,"YYYY-MM-DD HH:mm").tz(k(),!0).utc().format(r.valueFormat);p.value||(J=K(`${P.value} 00:00`,"YYYY-MM-DD HH:mm").format(r.valueFormat),Be=K(`${oe.value} 23:59`,"YYYY-MM-DD HH:mm").format(r.valueFormat)),l("update:startTime",J),l("update:endTime",Be),l("setCustom")}}const he=e.computed(()=>q=>{if(r.disableDayFuntion&&r.disableDayFuntion(q))return!0;const J=K(q,"YYYY-MM-DD").valueOf();if(r.disabledDate===0)return!1;if(De.value){const Be=K(De.value,"YYYY-MM-DD").valueOf(),Pe=Be-3600*1e3*24*(r.disabledDate-1),$=Be+3600*1e3*24*(r.disabledDate-1);return J<Pe||J>$}return!1}),Te=e.ref(!1);function je(){l("cancel")}function ye(){Te.value||!P.value||l("confirm")}const ue=[o("Jan"),o("Feb"),o("Mar"),o("Apr"),o("May"),o("Jun"),o("Jul"),o("Aug"),o("Sep"),o("Oct"),o("Nov"),o("Dec")],Ie=e.computed(()=>P.value?K(P.value,"YYYY-MM-DD").format("YYYY"):"----"),Ee=e.computed(()=>P.value?ue[K(P.value,"YYYY-MM-DD").month()]+" "+K(P.value,"YYYY-MM-DD").format("D"):"--"),Xe=e.computed(()=>oe.value?K(oe.value,"YYYY-MM-DD").format("YYYY"):"----"),mt=e.computed(()=>oe.value?ue[K(oe.value,"YYYY-MM-DD").month()]+" "+K(oe.value,"YYYY-MM-DD").format("D"):"--"),R=e.computed({get(){return r.startTime?(r.valueFormat?K(r.startTime,r.valueFormat).utc(!0).tz(k()):K(r.startTime).tz(k())).format("HH:mm"):"00:00"},set(q){const J=K(`${P.value} ${q}`,"YYYY-MM-DD HH:mm").tz(k(),!0).utc().format(r.valueFormat);l("update:startTime",J),l("setCustom")}}),U=e.computed({get(){return r.endTime?(r.valueFormat?K(r.endTime,r.valueFormat).utc(!0).tz(k()):K(r.endTime).tz(k())).format("HH:mm"):"23:59"},set(q){const J=K(`${oe.value} ${q}`,"YYYY-MM-DD HH:mm").tz(k(),!0).utc().format(r.valueFormat);l("update:endTime",J),l("setCustom")}});return(q,J)=>{const Be=e.resolveComponent("anSvgIcon"),Pe=e.resolveComponent("RecycleScroller"),$=Ro;return e.openBlock(),e.createElementBlock("div",iV,[t.showQuick?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["timerange-body-left",{notLast:!t.isLast}])},[t.isLast?(e.openBlock(),e.createElementBlock("span",sV,e.toDisplayString(e.unref(o)("overLast"))+":",1)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,ne=>(e.openBlock(),e.createElementBlock("div",{class:"timerange-body-left-one",key:"hour"+ne,onClick:He=>m(ne,"hour")},e.toDisplayString(t.isLast?ne:e.unref(o)("this"))+" "+e.toDisplayString(ne===1?e.unref(o)("Hour"):e.unref(o)("Hours")),9,cV))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,ne=>(e.openBlock(),e.createElementBlock("div",{class:"timerange-body-left-one",key:"day"+ne,onClick:He=>m(ne,"day")},e.toDisplayString(t.isLast?ne:e.unref(o)("this"))+" "+e.toDisplayString(ne===1?e.unref(o)("Day"):e.unref(o)("Days")),9,dV))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,ne=>(e.openBlock(),e.createElementBlock("div",{class:"timerange-body-left-one",key:"week"+ne,onClick:He=>m(ne,"week")},e.toDisplayString(t.isLast?ne:e.unref(o)("this"))+" "+e.toDisplayString(ne===1?e.unref(o)("Week"):e.unref(o)("Weeks")),9,uV))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,ne=>(e.openBlock(),e.createElementBlock("div",{class:"timerange-body-left-one",key:"month"+ne,onClick:He=>m(ne,"month")},e.toDisplayString(t.isLast?ne:e.unref(o)("this"))+" "+e.toDisplayString(ne===1?e.unref(o)("Month"):e.unref(o)("Months")),9,fV))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value,ne=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["timerange-body-left-one",e.unref(a)]),key:"quarter"+ne,onClick:He=>m(ne,"quarter")},e.toDisplayString(t.isLast?ne:e.unref(o)("this"))+" "+e.toDisplayString(ne===1?e.unref(o)("Quarter"):e.unref(o)("Quarters")),11,mV))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,ne=>(e.openBlock(),e.createElementBlock("div",{class:"timerange-body-left-one",key:"year"+ne,onClick:He=>m(ne,"year")},e.toDisplayString(t.isLast?ne:e.unref(o)("this"))+" "+e.toDisplayString(ne===1?e.unref(o)("Year"):e.unref(o)("Years")),9,pV))),128))],2)):e.createCommentVNode("",!0),e.createElementVNode("div",hV,[e.createElementVNode("div",{class:e.normalizeClass(["timerange-body-right-top",{unlinkPanels:t.unlinkPanels}])},[t.unlinkPanels?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["monthSwitch",{disabled:j.value}]),onClick:J[0]||(J[0]=ne=>H("-","pre",1))},[e.createVNode(Be,{name:"arrow-icon"})],2)),t.unlinkPanels?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["monthSwitch",{disabled:N.value}]),onClick:J[1]||(J[1]=ne=>H("-","next",1))},[e.createVNode(Be,{name:"arrow-icon"})],2)),t.unlinkPanels?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createVNode(eu,{type:1,showMonth:b.value,showYear:f.value,"start-day":P.value,"end-day":oe.value,"choose-start-day":te.value,"choose-end-day":Ve.value,"disable-funtion":he.value,onChangeMonth:H,onHandleClick:ge,onHandleMouseover:_,onHandleMouseleave:ae,unlinkPanels:t.unlinkPanels,quarterMessage:t.quarterMessage,onChangeYear:J[2]||(J[2]=ne=>M(ne,1))},null,8,["showMonth","showYear","start-day","end-day","choose-start-day","choose-end-day","disable-funtion","unlinkPanels","quarterMessage"]),e.createVNode(eu,{type:2,showMonth:E.value,showYear:w.value,"start-day":P.value,"end-day":oe.value,"choose-start-day":te.value,"choose-end-day":Ve.value,"disable-funtion":he.value,onChangeMonth:H,onHandleClick:ge,onHandleMouseover:_,onHandleMouseleave:ae,onOpNow:T,unlinkPanels:t.unlinkPanels,onChangeYear:J[3]||(J[3]=ne=>M(ne,2))},null,8,["showMonth","showYear","start-day","end-day","choose-start-day","choose-end-day","disable-funtion","unlinkPanels"])],64)):(e.openBlock(),e.createBlock(Pe,{key:2,class:"dateScroller",items:C.value,direction:"horizontal","key-field":"key",ref_key:"scroller",ref:x,onScroll:O},{default:e.withCtx(({item:ne,index:He})=>[e.createVNode(eu,{style:e.normalizeStyle({width:ne.size+"px",paddingLeft:He!==0?"48px":""}),type:1,showMonth:ne.month,showYear:ne.year,"start-day":P.value,"end-day":oe.value,"choose-start-day":te.value,"choose-end-day":Ve.value,"disable-funtion":he.value,onChangeMonth:H,onHandleClick:ge,onHandleMouseover:_,onHandleMouseleave:ae,unlinkPanels:t.unlinkPanels,quarterMessage:t.quarterMessage,onChangeYear:Re=>M(Re,He)},null,8,["style","showMonth","showYear","start-day","end-day","choose-start-day","choose-end-day","disable-funtion","unlinkPanels","quarterMessage","onChangeYear"])]),_:1},8,["items"]))],2),e.createElementVNode("div",gV,[e.createElementVNode("div",yV,[e.createElementVNode("div",{class:e.normalizeClass(["anytrekTimerangePickTime-date-show",{disabled:Te.value||!P.value}])},[e.createElementVNode("span",kV,e.toDisplayString(Ie.value),1),e.createElementVNode("span",vV,e.toDisplayString(Ee.value),1),p.value?(e.openBlock(),e.createBlock($d,{key:0,"start-time":R.value,"onUpdate:startTime":J[4]||(J[4]=ne=>R.value=ne),disabled:Te.value||!P.value,disableHourFuntion:t.disableHourFuntion,disableMinuteFuntion:t.disableMinuteFuntion,day:P.value,timeZone:t.timeZone},{default:e.withCtx(()=>[e.createElementVNode("div",bV,[e.createElementVNode("span",null,e.toDisplayString(R.value),1),e.createVNode(Be,{name:"arrow-icon",color:"#fff"})])]),_:1},8,["start-time","disabled","disableHourFuntion","disableMinuteFuntion","day","timeZone"])):e.createCommentVNode("",!0)],2),J[7]||(J[7]=e.createElementVNode("div",{class:"anytrekTimerangePickTime-date-show-padding"},null,-1)),e.createElementVNode("div",{class:e.normalizeClass(["anytrekTimerangePickTime-date-show",{disabled:Te.value||!P.value}])},[e.createElementVNode("span",wV,e.toDisplayString(Xe.value),1),e.createElementVNode("span",CV,e.toDisplayString(mt.value),1),p.value?(e.openBlock(),e.createBlock($d,{key:0,"start-time":U.value,"onUpdate:startTime":J[5]||(J[5]=ne=>U.value=ne),disabled:Te.value||!oe.value,disableHourFuntion:t.disableHourFuntion,disableMinuteFuntion:t.disableMinuteFuntion,day:oe.value,timeZone:t.timeZone},{default:e.withCtx(()=>[e.createElementVNode("div",TV,[e.createElementVNode("span",null,e.toDisplayString(U.value),1),e.createVNode(Be,{name:"arrow-icon",color:"#fff"})])]),_:1},8,["start-time","disabled","disableHourFuntion","disableMinuteFuntion","day","timeZone"])):e.createCommentVNode("",!0)],2)]),t.showTimeZoneChoose?(e.openBlock(),e.createElementBlock("div",EV)):e.createCommentVNode("",!0),t.showTimeZoneChoose?(e.openBlock(),e.createBlock($,{key:1,width:121,"show-arrow":!1,trigger:"click","popper-options":t.popperOptions,visible:h.value,"onUpdate:visible":J[6]||(J[6]=ne=>h.value=ne),"hide-after":0,teleported:!1,placement:"bottom-end","popper-class":"choose-item-popper anytrek-timerange-popper"},{reference:e.withCtx(()=>[e.createElementVNode("div",SV,[e.createElementVNode("span",NV,e.toDisplayString(g(t.timeZone,v.value,"value","label")),1),e.createVNode(vn,{src:e.unref(Dd)},null,8,["src"])])]),default:e.withCtx(()=>[e.createElementVNode("div",VV,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,ne=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["popper-choose-list-one",{active:t.timeZone===ne.value}]),key:ne.value,onClick:He=>X(ne)},[e.createVNode(vn,{src:e.unref(f1),fontSize:"32",class:"check-icon"},null,8,["src"]),e.createElementVNode("span",IV,e.toDisplayString(ne.label),1)],10,BV))),128))])]),_:1},8,["popper-options","visible"])):e.createCommentVNode("",!0),J[8]||(J[8]=e.createElementVNode("div",{class:"anytrekTimerangePickTime-date-show-padding"},null,-1)),e.createElementVNode("div",AV,[e.createVNode(vn,{src:e.unref(ls),color:"rgba(154, 154, 154, 1)",fontSize:"32",class:"timerange-body-right-bottom-cancel",onClick:je},null,8,["src"]),e.createVNode(vn,{src:e.unref(is),color:"rgba(11, 165, 236, 1)",fontSize:"32",class:e.normalizeClass(["timerange-body-right-bottom-confirm",{disable:Te.value||!P.value}]),onClick:ye},null,8,["src","class"])])])])])}}}),[["__scopeId","data-v-743b483e"]]),LV={class:"anytrek-timerange-pick-outside"},xV={class:"anytrek-timerange-pick-from"},OV={class:"anytrek-timerange-pick-startTime"},PV={class:"anytrek-timerange-pick-to"},FV={class:"anytrek-timerange-pick-endTime"},zV={class:"anytrek-timerange-pick-timezone"},RV={class:"anytrek-timerange-pick-from anytrek-timerange-pick-last"},HV={class:"anytrek-timerange-pick-startTime anytrek-timerange-pick-week"},_V={class:"anytrek-timerange-pick-timezone"},YV={class:"anytrek-timerange-pick-from"},ZV={class:"anytrek-timerange-pick-startTime"},jV={class:"anytrek-timerange-pick-to"},UV={class:"anytrek-timerange-pick-endTime"},WV={class:"anytrek-timerange-pick-timezone"},GV={class:"anytrek-timerange-pick-from anytrek-timerange-pick-last"},KV={class:"anytrek-timerange-pick-startTime anytrek-timerange-pick-week"},qV={class:"anytrek-timerange-pick-timezone"},QV={key:1},XV=bt(e.defineComponent({__name:"anytrekTimerangePick",props:{value:{type:[String,Number],default:"custom"},valueType:{type:String,default:""},startTime:{type:String,default:""},endTime:{type:String,default:""},valueFormat:{type:String,default:""},showFormat:{type:String,default:"YYYY-MM-DD HH:mm"},timeZone:{type:String,default:""},visible:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},teleported:{type:Boolean,default:!0},showQuick:{type:Boolean,default:!0},immediate:{type:Boolean,default:!1},hourList:{type:Array,default(){return[]}},dayList:{type:Array,default(){return[1]}},weekList:{type:Array,default(){return[1,2]}},monthList:{type:Array,default(){return[1]}},quarterList:{type:Array,default(){return[]}},yearList:{type:Array,default(){return[]}},needNowTimeZone:{type:Boolean,default:!0},disabledDate:{type:Number,default:366},timeZoneList:{default(){return[{value:"PST",label:"PST"},{value:"PDT",label:"PDT"},{value:"MST",label:"MST"},{value:"MDT",label:"MDT"},{value:"CST",label:"CST"},{value:"CDT",label:"CDT"},{value:"EST",label:"EST"},{value:"EDT",label:"EDT"},{value:"AST",label:"AST"},{value:"ADT",label:"ADT"},{value:"AKST",label:"AKST"},{value:"AKDT",label:"AKDT"}]}},haveRangSwitch:{type:Boolean,default:!1},needMaxIndex:{type:Boolean,default:!1},unlinkPanels:{type:Boolean,default:!1},isLast:{type:Boolean,default:!0},disableDayFuntion:{type:Function},disableHourFuntion:{type:Function},disableMinuteFuntion:{type:Function},showTimeZoneChoose:{type:Boolean,default:!0},showTime:{type:String,default:""},quarterMessage:{type:Object,default(){return{}}},assetTimeList:{type:Array,default(){return[]}}},emits:["update:visible","update:value","update:valueType","update:startTime","update:endTime","update:timeZone","change","prev","next"],setup(t,{expose:n,emit:o}){var je,ye;K.extend(ea),K.extend(oa),K.extend(aa);const{t:a}=Cn(),r=t,{value:l,valueType:i,startTime:s,endTime:c,visible:d,timeZone:u,assetTimeList:y}=e.toRefs(r),p=o,m=e.ref(!1);e.watch(()=>d.value,()=>{m.value=d.value},{immediate:!0});const v=e.computed({get(){return m.value},set(ue){m.value=ue,p("update:visible",ue)}}),h=e.computed(()=>!r.valueFormat||(r.valueFormat+"").indexOf("H")!==-1||(r.valueFormat+"").indexOf("h")!==-1),g=((je=window.top)==null?void 0:je.location)!==window.location,k=e.computed(()=>{let ue="";return r.needMaxIndex&&(ue="needMaxIndex-popper"),g&&(ue+=" isIframe-popper"),(v.value?"anytrek-timerange-popper anytrek-timerange-popper-outside":"nowNotVisible")+" "+ue}),T=e.ref(0),f=e.ref(null);let b=!0;e.onMounted(()=>{f.value={modifiers:[{name:"preventOverflow",options:{mainAxis:!0,altAxis:!0}}]},e.nextTick(()=>{if(l.value!=="custom"){if(x.value=j.value,y.value.length){I.value="custom",z.value=K(y.value[0].startTime||new Date().getTime()).utc().format(r.valueFormat),M.value=K(y.value[0].endTime||new Date().getTime()).utc().format(r.valueFormat),T.value=0,he();return}P(Number(l.value),i.value)}else if(B.value){if(x.value=j.value,y.value.length){I.value="custom";try{const ue=y.value.findIndex(Ie=>K(Ie.startTime).utc().format(r.valueFormat)===B.value&&K(Ie.endTime).utc().format(r.valueFormat)===N.value);if(ue<0)throw{xx:"xx"};T.value=ue,z.value=K(y.value[ue].startTime||new Date().getTime()).utc().format(r.valueFormat),M.value=K(y.value[ue].endTime||new Date().getTime()).utc().format(r.valueFormat)}catch{z.value=K(y.value[0].startTime||new Date().getTime()).utc().format(r.valueFormat),M.value=K(y.value[0].endTime||new Date().getTime()).utc().format(r.valueFormat),T.value=0}he();return}I.value=S.value,A.value=V.value,z.value=B.value,M.value=N.value,x.value=j.value,he()}else{if(y.value.length){I.value="custom",x.value=j.value,z.value=K(y.value[0].startTime||new Date().getTime()).utc().format(r.valueFormat),M.value=K(y.value[0].endTime||new Date().getTime()).utc().format(r.valueFormat),T.value=0,he();return}b=!1}})});const w=e.computed(()=>ue=>y.value.length?ue===T.value:!1),E=(ue,Ie,Ee,Xe)=>{const mt=Ie.find(R=>R[Ee]===ue);return mt?mt[Xe]:ue};function C(ue,Ie){switch(Ie){case"hour":return a(ue===1?"Hour":"Hours");case"day":return a(ue===1?"Day":"Days");case"week":return a(ue===1?"Week":"Weeks");case"month":return a(ue===1?"Month":"Months");case"quarter":return a(ue===1?"Quarter":"Quarters");case"year":return a(ue===1?"Year":"Years")}return""}const D=e.ref((ye=r.timeZoneList)!=null&&ye.length?[...r.timeZoneList]:[]),S=e.ref(""),V=e.ref(""),B=e.ref(""),N=e.ref(""),j=e.ref("");e.watch(()=>l.value,()=>{S.value=l.value},{immediate:!0}),e.watch(()=>i.value,()=>{V.value=i.value},{immediate:!0}),e.watch(()=>s.value,()=>{B.value=s.value},{immediate:!0}),e.watch(()=>c.value,()=>{N.value=c.value},{immediate:!0}),e.watch(()=>u.value,()=>{const ue=r.timeZone?K().tz(H(r.timeZone)).format("z"):K().format("z");D.value.some(Ee=>Ee.value===ue)||r.timeZone&&!D.value.some(Ee=>Ee.value===r.timeZone)&&D.value.push({value:r.timeZone,label:r.timeZone.indexOf("/")!==-1?r.timeZone.split("/")[1]:r.timeZone});const Ie=K.tz.guess();r.needNowTimeZone&&!D.value.some(Ee=>Ee.value===Ie)&&D.value.push({value:Ie,label:Ie.indexOf("/")!==-1?Ie.split("/")[1]:Ie}),u.value?r.timeZoneList.some(Ee=>Ee.value===ue)?j.value=ue:j.value=u.value:r.timeZoneList.some(Ee=>Ee.value===ue)?j.value=ue:j.value=r.needNowTimeZone?Ie:"PST"},{immediate:!0});const O=e.computed(()=>ue=>{const Ie=r.valueFormat,Ee=r.showFormat,Xe=H(x.value);return ue?h.value?Ie?K(ue,Ie).utc(!0).tz(Xe).format(Ee):K(ue).tz(Xe).format(Ee):K(ue,Ie).utc(!0).format(Ee):"-"}),I=e.ref(""),A=e.ref(""),z=e.ref(""),M=e.ref(""),x=e.ref("");e.watch(()=>m.value,()=>{m.value?(I.value=S.value,A.value=V.value,z.value=B.value,M.value=N.value,x.value=j.value):(I.value="",A.value="",z.value="",M.value="",x.value="")},{immediate:!0});function H(ue){let Ie="";switch(ue||j.value){case"PST":case"PDT":Ie="US/Pacific";break;case"MST":case"MDT":Ie="US/Mountain";break;case"CST":case"CDT":Ie="US/Central";break;case"EST":case"EDT":Ie="US/Eastern";break;case"AST":case"ADT":Ie="America/Halifax";break;case"AKST":case"AKDT":Ie="America/Anchorage";break;default:Ie=ue||j.value;break}return Ie}function X(ue){if(ue<1||ue>12)throw new Error("月份必须是 1-12");return Math.floor((ue-1)/3)*3+1}function P(ue,Ie){const Ee=H(x.value);let Xe="";Ie==="quarter"?Xe=K().tz(Ee).subtract(ue*3,"month").format("YYYY-MM-DD HH:mm"):Xe=K().tz(Ee).subtract(ue,Ie).format("YYYY-MM-DD HH:mm");let mt=K().tz(Ee).format("YYYY-MM-DD HH:mm");if(!r.isLast)if(Ie==="quarter"){const pe=Number(K().tz(Ee).format("MM")),q=X(pe);Xe=K().tz(Ee).set("month",q-1).startOf("month").format("YYYY-MM-DD HH:mm"),mt=K().tz(Ee).set("month",q+1).endOf("month").format("YYYY-MM-DD HH:mm")}else Xe=K().tz(Ee).startOf(Ie).format("YYYY-MM-DD HH:mm"),mt=K().tz(Ee).endOf(Ie).format("YYYY-MM-DD HH:mm");let R=K(Xe,"YYYY-MM-DD HH:mm").tz(Ee,!0).utc().format(r.valueFormat),U=K(mt,"YYYY-MM-DD HH:mm").tz(Ee,!0).utc().format(r.valueFormat);if(h.value||(R=K(Xe,"YYYY-MM-DD HH:mm").tz(Ee,!0).format(r.valueFormat),U=K(mt,"YYYY-MM-DD HH:mm").tz(Ee,!0).format(r.valueFormat)),S.value=ue,V.value=Ie,B.value=R,N.value=U,j.value=x.value,p("update:value",ue),p("update:valueType",Ie),p("update:startTime",R),p("update:endTime",U),p("update:timeZone",x.value),b||(v.value=!1),te.value="",Ve.value="",De.value="",de.value="",b&&!r.immediate){b=!1;return}b=!1,p("change",R,U,j.value,[R,U])}function oe(ue,Ie){const Ee=H(ue),Xe=H(Ie);if(!h.value||!z.value)return;const mt=(r.valueFormat?K(z.value,r.valueFormat).utc(!0).tz(Xe):K(z.value).tz(Xe)).format("YYYY-MM-DD HH:mm"),R=(r.valueFormat?K(M.value,r.valueFormat).utc(!0).tz(Xe):K(M.value).tz(Xe)).format("YYYY-MM-DD HH:mm");z.value=K(mt,"YYYY-MM-DD HH:mm").tz(Ee,!0).utc().format(r.valueFormat),M.value=K(R,"YYYY-MM-DD HH:mm").tz(Ee,!0).utc().format(r.valueFormat),te.value="",Ve.value="",De.value="",de.value=""}const te=e.ref(""),Ve=e.ref(""),De=e.ref(""),de=e.ref("");function _(){if(r.disabled||!z.value&&!N.value)return;if(y.value.length){if(!T.value)return;T.value--,B.value=K(y.value[T.value].startTime||new Date().getTime()).utc().format(r.valueFormat),N.value=K(y.value[T.value].endTime||new Date().getTime()).utc().format(r.valueFormat),I.value=S.value,A.value=V.value,z.value=B.value,M.value=N.value,x.value=j.value,p("update:value",S.value),p("update:valueType",V.value),p("update:startTime",B.value),p("update:endTime",N.value),p("update:timeZone",j.value),p("change",B.value,N.value,j.value,[B.value,N.value]),p("prev",B.value,N.value,j.value,[B.value,N.value]);return}te.value||(te.value=I.value||S.value,Ve.value=A.value||V.value,De.value=z.value||B.value,de.value=M.value||N.value);const ue=H(x.value||j.value),Ie=(r.valueFormat?K(B.value,r.valueFormat).utc(!0).tz(ue).startOf("m"):K(B.value).tz(ue).startOf("m")).valueOf(),Ee=(r.valueFormat?K(N.value,r.valueFormat).utc(!0).tz(ue).startOf("m"):K(N.value).tz(ue).startOf("m")).valueOf();te.value==="custom"?(N.value=K(Ie).endOf("m").utc().format(r.valueFormat),B.value=K(Ie-(Ee-Ie)).utc().format(r.valueFormat)):(S.value="custom",N.value=K(Ie).endOf("m").utc().format(r.valueFormat),Ve.value==="quarter"?B.value=K(Ie).tz(ue).subtract(te.value*3,"month").utc().format(r.valueFormat):B.value=K(Ie).tz(ue).subtract(te.value,Ve.value).utc().format(r.valueFormat),r.isLast||(Ve.value==="quarter"?(B.value=K(Ie).tz(ue).subtract(te.value*3,"month").startOf("m").utc().format(r.valueFormat),N.value=K(Ee).tz(ue).subtract(te.value*3,"month").endOf("m").utc().format(r.valueFormat)):(B.value=K(Ie).tz(ue).subtract(te.value,Ve.value).startOf(Ve.value).utc().format(r.valueFormat),N.value=K(Ie).tz(ue).subtract(te.value,Ve.value).endOf(Ve.value).utc().format(r.valueFormat)))),I.value=S.value,A.value=V.value,z.value=B.value,M.value=N.value,x.value=j.value,p("update:value",S.value),p("update:valueType",V.value),p("update:startTime",B.value),p("update:endTime",N.value),p("update:timeZone",j.value),p("change",B.value,N.value,j.value,[B.value,N.value]),p("prev",B.value,N.value,j.value,[B.value,N.value])}function ae(){if(r.disabled||!z.value&&!N.value||!z.value&&!B.value)return;if(y.value.length){if(T.value===y.value.length-1)return;T.value++,B.value=K(y.value[T.value].startTime||new Date().getTime()).utc().format(r.valueFormat),N.value=K(y.value[T.value].endTime||new Date().getTime()).utc().format(r.valueFormat),I.value=S.value,A.value=V.value,z.value=B.value,M.value=N.value,x.value=j.value,p("update:value",S.value),p("update:valueType",V.value),p("update:startTime",B.value),p("update:endTime",N.value),p("update:timeZone",j.value),p("change",B.value,N.value,j.value,[B.value,N.value]),p("next",B.value,N.value,j.value,[B.value,N.value]);return}te.value||(te.value=I.value||S.value,Ve.value=A.value||V.value,De.value=z.value||B.value,de.value=M.value||N.value);const ue=H(x.value||j.value),Ie=(r.valueFormat?K(B.value,r.valueFormat).utc(!0).tz(ue).startOf("m"):K(B.value).tz(ue).startOf("m")).valueOf(),Ee=(r.valueFormat?K(N.value,r.valueFormat).utc(!0).tz(ue).startOf("m"):K(N.value).tz(ue).startOf("m")).valueOf();te.value==="custom"?(B.value=K(Ee).utc().format(r.valueFormat),N.value=K(Ee+(Ee-Ie)).endOf("m").utc().format(r.valueFormat)):(S.value="custom",B.value=K(Ee).utc().format(r.valueFormat),Ve.value==="quarter"?N.value=K(Ee).tz(ue).endOf("m").add(te.value*3,"month").utc().format(r.valueFormat):N.value=K(Ee).tz(ue).endOf("m").add(te.value,Ve.value).utc().format(r.valueFormat),r.isLast||(Ve.value==="quarter"?(B.value=K(Ie).tz(ue).add(te.value*3,"month").startOf("m").utc().format(r.valueFormat),N.value=K(Ee).tz(ue).add(te.value*3,"month").endOf("m").utc().format(r.valueFormat)):(B.value=K(Ie).tz(ue).add(te.value,Ve.value).startOf(Ve.value).utc().format(r.valueFormat),N.value=K(Ie).tz(ue).add(te.value,Ve.value).endOf(Ve.value).utc().format(r.valueFormat)))),I.value=S.value,A.value=V.value,z.value=B.value,M.value=N.value,x.value=j.value,p("update:value",S.value),p("update:valueType",V.value),p("update:startTime",B.value),p("update:endTime",N.value),p("update:timeZone",j.value),p("change",B.value,N.value,j.value,[B.value,N.value]),p("next",B.value,N.value,j.value,[B.value,N.value])}function ge(){v.value=!1}function he(){if(S.value=I.value,V.value=A.value,B.value=z.value,N.value=M.value,j.value=x.value,N.value<B.value&&([B.value,N.value]=[N.value,B.value]),te.value="",Ve.value="",De.value="",de.value="",b||(v.value=!1),p("update:value",S.value),p("update:valueType",V.value),p("update:startTime",B.value),p("update:endTime",N.value),p("update:timeZone",j.value),b&&!r.immediate){b=!1;return}I.value="",A.value="",z.value="",M.value="",x.value="",b=!1,p("change",B.value,N.value,j.value,[B.value,N.value])}function Te(){B.value&&(I.value=S.value,A.value=V.value,z.value=B.value,M.value=N.value,x.value=j.value,he())}return n({outSideConfirm:Te}),(ue,Ie)=>{const Ee=Ro;return e.openBlock(),e.createElementBlock("div",LV,[t.haveRangSwitch?(e.openBlock(),e.createBlock(vn,{key:0,src:e.unref(u1),fontSize:"32",onClick:_,class:e.normalizeClass({disable:t.disabled||!z.value&&!N.value||w.value(0)})},null,8,["src","class"])):e.createCommentVNode("",!0),e.createVNode(Ee,{placement:"bottom",width:t.showQuick?904:754,"show-arrow":!1,trigger:"click","popper-options":f.value,visible:v.value,"onUpdate:visible":Ie[5]||(Ie[5]=Xe=>v.value=Xe),disabled:t.disabled||!!e.unref(y).length,"hide-after":0,teleported:t.teleported,"popper-class":k.value,onClose:ge},{reference:e.withCtx(()=>[e.renderSlot(ue.$slots,"default",{},()=>[e.createElementVNode("div",{class:e.normalizeClass(["anytrek-timerange-pick",{disable:t.disabled,active:m.value}])},[I.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[I.value==="custom"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",xV,e.toDisplayString(e.unref(a)("from")),1),e.createElementVNode("span",OV,e.toDisplayString(O.value(z.value)),1),e.createElementVNode("span",PV,e.toDisplayString(e.unref(a)("to")),1),e.createElementVNode("span",FV,e.toDisplayString(O.value(M.value)),1),e.createElementVNode("span",zV,e.toDisplayString(E(x.value,D.value,"value","label")),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",RV,e.toDisplayString(t.isLast?e.unref(a)("overLast"):e.unref(a)("this")),1),e.createElementVNode("span",HV,e.toDisplayString(t.isLast?e.unref(l):"")+" "+e.toDisplayString(C(e.unref(l),e.unref(i))),1),e.createElementVNode("span",_V,e.toDisplayString(E(x.value,D.value,"value","label")),1)],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[S.value==="custom"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",YV,e.toDisplayString(e.unref(a)("from")),1),e.createElementVNode("span",ZV,e.toDisplayString(O.value(B.value)),1),e.createElementVNode("span",jV,e.toDisplayString(e.unref(a)("to")),1),e.createElementVNode("span",UV,e.toDisplayString(O.value(N.value)),1),e.createElementVNode("span",WV,e.toDisplayString(E(j.value,D.value,"value","label")),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",GV,e.toDisplayString(t.isLast?e.unref(a)("overLast"):e.unref(a)("this")),1),e.createElementVNode("span",KV,e.toDisplayString(t.isLast?S.value:"")+" "+e.toDisplayString(C(S.value,V.value)),1),e.createElementVNode("span",qV,e.toDisplayString(E(j.value,D.value,"value","label")),1)],64))],64)),e.createVNode(vn,{src:e.unref(d1),fontSize:"32",style:{"margin-left":"4px"}},null,8,["src"])],2)],!0)]),default:e.withCtx(()=>[v.value?(e.openBlock(),e.createBlock(MV,e.mergeProps({key:0},ue.$props,{onQuickChoose:P,startTime:z.value,"onUpdate:startTime":Ie[0]||(Ie[0]=Xe=>z.value=Xe),endTime:M.value,"onUpdate:endTime":Ie[1]||(Ie[1]=Xe=>M.value=Xe),timeZone:x.value,"onUpdate:timeZone":Ie[2]||(Ie[2]=Xe=>x.value=Xe),value:I.value,"onUpdate:value":Ie[3]||(Ie[3]=Xe=>I.value=Xe),popperOptions:f.value,timeZoneList:D.value,disableDayFuntion:t.disableDayFuntion,onCancel:ge,onConfirm:he,onChangeNowTimeZone:oe,onSetCustom:Ie[4]||(Ie[4]=Xe=>I.value="custom"),disableHourFuntion:t.disableHourFuntion,disableMinuteFuntion:t.disableMinuteFuntion,showTimeZoneChoose:t.showTimeZoneChoose,showTime:t.showTime,quarterMessage:t.quarterMessage}),null,16,["startTime","endTime","timeZone","value","popperOptions","timeZoneList","disableDayFuntion","disableHourFuntion","disableMinuteFuntion","showTimeZoneChoose","showTime","quarterMessage"])):(e.openBlock(),e.createElementBlock("div",QV))]),_:3},8,["width","popper-options","visible","disabled","teleported","popper-class"]),t.haveRangSwitch?(e.openBlock(),e.createBlock(vn,{key:1,src:e.unref(u1),fontSize:"32",onClick:ae,class:e.normalizeClass({disable:t.disabled||!z.value&&!N.value||w.value(e.unref(y).length-1)})},null,8,["src","class"])):e.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-149eb4f1"]]),JV={class:"anytrekTimePickTime"},$V={class:"anytrekTimePickTime-date"},eB={class:"anytrekTimePickTime-date-year-choose"},tB={class:"monthWord"},nB={class:"anytrekTimePickTime-date-day-word"},oB={class:"anytrekTimePickTime-date-day-pcik"},aB=["onClick"],rB=bt(e.defineComponent({inheritAttrs:!1,__name:"anytrekTimePickTime",props:{showYear:{type:Number,default:2024},showMonth:{type:Number,default:12},chooseDay:{type:String,default:""},disableFuntion:{type:Function},timeZone:{type:String,default:""},quarterMessage:{type:Object,default(){return{}}}},emits:["changeMonth","changeYear","update:chooseDay","setNow"],setup(t,{emit:n}){K.extend(ea),K.extend(oa),K.extend(aa);const{t:o}=Cn(),a=t,r=n,l=e.ref([]);e.provide("allYearList",l),e.onMounted(()=>{for(let w=1;w<31;w++)l.value.unshift(a.showYear-w);l.value.push(a.showYear);for(let w=1;w<31;w++)l.value.push(a.showYear+w)});const i=e.computed(()=>{var w,E,C;if(a.disableFuntion){const D=m(),S=K().tz(D).format("YYYY-MM-DD");if(a.disableFuntion(S,D))return!0}if((w=a.quarterMessage)!=null&&w.year&&((E=a.quarterMessage)!=null&&E.quarter)){const D={1:[1,2,3],2:[4,5,6],3:[7,8,9],4:[10,11,12]},S=m(),V=+K().tz(S).format("MM");if(!((C=D[a.quarterMessage.quarter])!=null&&C.includes(V)))return!0}return!1});function s(w,E,C,D=!0){if(E<1||E>4||C<1||C>12)return!1;const S={1:[1,2,3],2:[4,5,6],3:[7,8,9],4:[10,11,12]};let V=C-1;return D?V===0&&(V=12):(V=C+1,V===13&&(V=1)),S[E].includes(V)}const c=e.computed(()=>{var w,E;return!!((w=a.quarterMessage)!=null&&w.year&&((E=a.quarterMessage)!=null&&E.quarter)&&!s(a.quarterMessage.year,a.quarterMessage.quarter,a.showMonth,!1))}),d=e.computed(()=>{var w,E;return!!((w=a.quarterMessage)!=null&&w.year&&((E=a.quarterMessage)!=null&&E.quarter)&&!s(a.quarterMessage.year,a.quarterMessage.quarter,a.showMonth))}),u=[o("Sun"),o("Mon"),o("Tue"),o("Wed"),o("Thu"),o("Fri"),o("Sat")];function y(w){const E=K().set("year",a.showYear).set("month",a.showMonth-1).set("date",12).format("YYYY-MM");if(a.chooseDay){const C=K(a.chooseDay,"YYYY-MM-DD");return C.format("YYYY-MM")===E&&C.day()===w}return!1}const p=[o("Jan"),o("Feb"),o("Mar"),o("Apr"),o("May"),o("Jun"),o("Jul"),o("Aug"),o("Sep"),o("Oct"),o("Nov"),o("Dec")];function m(){let w="";switch(a.timeZone){case"PST":case"PDT":w="US/Pacific";break;case"MST":case"MDT":w="US/Mountain";break;case"CST":case"CDT":w="US/Central";break;case"EST":case"EDT":w="US/Eastern";break;case"AST":case"ADT":w="America/Halifax";break;case"AKST":case"AKDT":w="America/Anchorage";break;default:w=a.timeZone;break}return w}const v=e.computed(()=>{const w=K().set("year",a.showYear).set("month",a.showMonth-1).set("date",15).set("hour",12),E=w.startOf("month").day(),C=w.endOf("month").day(),D=+w.endOf("month").format("DD"),S=+w.subtract(1,"month").endOf("month").format("DD"),V=w.subtract(1,"month").endOf("month").day(),B=[];for(let N=0;N<E;N++)B.push({date:S-V+N,isCurrentMonth:!1,year:a.showYear,month:a.showMonth-1});for(let N=0;N<D;N++)B.push({date:N+1,isCurrentMonth:!0,year:a.showYear,month:a.showMonth});if(B.length%7!==0)for(let N=0;N<6-C;N++)B.push({date:N+1,isCurrentMonth:!1,year:a.showYear,month:a.showMonth+1});return B}),h=e.computed(()=>w=>{const E=K().set("year",a.showYear).set("month",a.showMonth-1).set("date",w.date).set("hour",12).format("YYYY-MM-DD"),C={};return a.disableFuntion&&a.disableFuntion(E,m())?(C.disable=!0,C):(w.isCurrentMonth&&a.chooseDay&&a.chooseDay===E&&(C.inDay=!0),C)});function g(){d.value||r("changeMonth","month","pre")}function k(){c.value||r("changeMonth","month","next")}function T(w){r("changeYear",w)}function f(){i.value||r("setNow")}function b(w){if(h.value(w).disable)return;const E=K().set("year",a.showYear).set("month",a.showMonth-1).set("date",w.date).set("hour",12).format("YYYY-MM-DD");r("update:chooseDay",E)}return(w,E)=>{var D,S;const C=e.resolveComponent("anSvgIcon");return e.openBlock(),e.createElementBlock("div",JV,[e.createElementVNode("div",$V,[e.createVNode(C,{name:"arrow-icon",onClick:g,class:e.normalizeClass({disabled:d.value})},null,8,["class"]),e.createElementVNode("div",eB,[e.createVNode(xh,{year:t.showYear,onChange:T,disabled:!!((D=t.quarterMessage)!=null&&D.year&&((S=t.quarterMessage)!=null&&S.quarter))},{default:e.withCtx(()=>{var V,B;return[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString(t.showYear),1),(V=t.quarterMessage)!=null&&V.year&&((B=t.quarterMessage)!=null&&B.quarter)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(C,{key:0,name:"new_arrow",class:"yearArrow",color:"#9A9A9A"}))])]}),_:1},8,["year","disabled"]),e.createElementVNode("span",tB,e.toDisplayString(p[t.showMonth-1]),1)]),e.createVNode(C,{name:"arrow-icon",onClick:k,class:e.normalizeClass({disabled:c.value})},null,8,["class"]),i.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["time-now",{"time-now-disable":i.value}]),onClick:f},e.toDisplayString(e.unref(o)("now")),3))]),e.createElementVNode("div",nB,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(u,(V,B)=>e.createElementVNode("span",{key:V,class:e.normalizeClass({active:y(B)})},e.toDisplayString(V),3)),64))]),e.createElementVNode("div",oB,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,(V,B)=>(e.openBlock(),e.createElementBlock("div",{key:B+.1,class:e.normalizeClass({notNow:!V.isCurrentMonth}),onClick:N=>b(V)},[e.createElementVNode("span",{class:e.normalizeClass(h.value(V))},e.toDisplayString(V.date),3)],10,aB))),128))])])}}}),[["__scopeId","data-v-b7d7cb65"]]),lB={class:"time-bottom time-bottom-top"},iB={class:"popper-choose-list"},sB=["onClick"],cB={class:"over-ellipsis"},dB={key:2,class:"anytrekTimerangePickTime-date-show-padding"},uB={key:1},fB=bt(e.defineComponent({__name:"anytrekTimePick",props:{value:{type:String,default:""},valueFormat:{type:String,default:""},showFormat:{type:String,default:"YYYY-MM-DD HH:mm"},timeZone:{type:String,default:""},visible:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},teleported:{type:Boolean,default:!0},immediate:{type:Boolean,default:!1},disableFuntion:{type:Function},needNowTimeZone:{type:Boolean,default:!0},timeZoneList:{default(){return[{value:"PST",label:"PST"},{value:"PDT",label:"PDT"},{value:"MST",label:"MST"},{value:"MDT",label:"MDT"},{value:"CST",label:"CST"},{value:"CDT",label:"CDT"},{value:"EST",label:"EST"},{value:"EDT",label:"EDT"},{value:"AST",label:"AST"},{value:"ADT",label:"ADT"},{value:"AKST",label:"AKST"},{value:"AKDT",label:"AKDT"}]}},needMaxIndex:{type:Boolean,default:!1},showTimeZoneChoose:{type:Boolean,default:!0},showTime:{type:String,default:""},quarterMessage:{type:Object,default(){return{}}}},emits:["update:visible","update:value","update:timeZone","change"],setup(t,{expose:n,emit:o}){var M;K.extend(ea),K.extend(oa),K.extend(aa);const a=t,{value:r,timeZone:l,visible:i}=e.toRefs(a),s=o,c=e.computed(()=>{let x="";return a.needMaxIndex&&(x="needMaxIndex-popper"),(w.value?"anytrek-timerange-popper":"nowNotVisible")+" "+x}),d=e.ref(null);e.onMounted(()=>{d.value={modifiers:[{name:"preventOverflow",options:{mainAxis:!0,altAxis:!0}}]},a.immediate&&s("change",f.value,k.value||b.value)});function u(){s("change",f.value,k.value||b.value)}n({outSideConfirm:u});const y=(x,H,X,P)=>{const oe=H.find(te=>te[X]===x);return oe?oe[P]:x},p=e.ref((M=a.timeZoneList)!=null&&M.length?[...a.timeZoneList]:[]),m=e.computed(()=>!a.valueFormat||(a.valueFormat+"").indexOf("H")!==-1||(a.valueFormat+"").indexOf("h")!==-1);function v(x){let H="";switch(x||b.value){case"PST":case"PDT":H="US/Pacific";break;case"MST":case"MDT":H="US/Mountain";break;case"CST":case"CDT":H="US/Central";break;case"EST":case"EDT":H="US/Eastern";break;case"AST":case"ADT":H="America/Halifax";break;case"AKST":case"AKDT":H="America/Anchorage";break;default:H=x||b.value;break}return H}const h=e.computed(()=>x=>{const H=a.valueFormat,X=a.showFormat,P=v(k.value);return x?m.value?H?K(x,H).utc(!0).tz(P).format(X):K(x).tz(P).format(X):K(x,H).format(X):"-"}),g=e.ref(""),k=e.ref(""),T=e.ref(!1),f=e.ref(""),b=e.ref(""),w=e.computed({get(){return T.value},set(x){T.value=x,s("update:visible",x)}});e.watch(()=>r.value,()=>{f.value=r.value},{immediate:!0}),e.watch(()=>i.value,()=>{T.value=i.value},{immediate:!0}),e.watch(()=>l.value,()=>{const x=a.timeZone?K().tz(v(a.timeZone)).format("z"):K().format("z");p.value.some(X=>X.value===x)||a.timeZone&&!p.value.some(X=>X.value===a.timeZone)&&p.value.push({value:a.timeZone,label:a.timeZone.indexOf("/")!==-1?a.timeZone.split("/")[1]:a.timeZone});const H=K.tz.guess();a.needNowTimeZone&&!p.value.some(X=>X.value===H)&&p.value.push({value:H,label:H.indexOf("/")!==-1?H.split("/")[1]:H}),l.value?a.timeZoneList.some(X=>X.value===x)?b.value=x:b.value=l.value:a.timeZoneList.some(X=>X.value===x)?b.value=x:b.value=a.needNowTimeZone?H:"PST"},{immediate:!0});const E=e.ref(2024),C=e.ref(1),D=e.computed({get(){const x=g.value||f.value;if(!m.value)return x;const H=v(k.value||b.value);return(a.valueFormat?K(x,a.valueFormat).utc(!0).tz(H):K(x).tz(H)).format("YYYY-MM-DD")},set(x){if(!m.value){g.value=x;return}const H=v(k.value||b.value),X=`${x} ${S.value}`;g.value=K(X,"YYYY-MM-DD HH:mm").tz(H,!0).utc().format(a.valueFormat)}}),S=e.computed({get(){const x=g.value||f.value,H=v(k.value||b.value);return x?(a.valueFormat?K(x,a.valueFormat).utc(!0).tz(H):K(x).tz(H)).format("HH:mm"):"00:00"},set(x){const H=v(k.value||b.value),X=`${D.value} ${x}`;g.value=K(X,"YYYY-MM-DD HH:mm").tz(H,!0).utc().format(a.valueFormat)}});e.watch(()=>T.value,()=>{if(T.value){if(g.value=f.value,k.value=b.value,!f.value){E.value=a.showTime?+K(a.showTime).tz(v()).format("YYYY"):+K().tz(v()).format("YYYY"),C.value=a.showTime?+K(a.showTime).tz(v()).format("MM"):+K().tz(v()).format("MM");return}if(!m.value){const H=K(f.value,a.valueFormat).tz(v(k.value||b.value),!0);E.value=H.year(),C.value=H.month()+1;return}const x=a.valueFormat?K(f.value,a.valueFormat).utc(!0).tz(v()):K(f.value).tz(v());E.value=x.year(),C.value=x.month()+1}else if(g.value="",k.value="",f.value){if(!m.value){const H=K(f.value,a.valueFormat).tz(v(k.value||b.value),!0);E.value=H.year(),C.value=H.month()+1;return}const x=a.valueFormat?K(f.value,a.valueFormat).utc(!0).tz(v()):K(f.value).tz(v());E.value=x.year(),C.value=x.month()+1}else E.value=a.showTime?+K(a.showTime).tz(v()).format("YYYY"):+K().tz(v()).format("YYYY"),C.value=a.showTime?+K(a.showTime).tz(v()).format("MM"):+K().tz(v()).format("MM")},{immediate:!0});const V=e.ref();function B(x){E.value=x;try{V.value.popperRef.popperInstanceRef.update()}catch{}}function N(x,H){if(H==="pre")if(x==="month"){const X=K().set("year",E.value).set("month",C.value-1).set("date",15).set("hour",12).subtract(1,"month");E.value=Number(X.format("YYYY")),C.value=Number(X.format("MM"))}else E.value--;else if(x==="month"){const X=K().set("year",E.value).set("month",C.value-1).set("date",15).set("hour",12).add(1,"month");E.value=Number(X.format("YYYY")),C.value=Number(X.format("MM"))}else E.value++;try{V.value.popperRef.popperInstanceRef.update()}catch{}}const j=e.ref(!1);function O(x){if(!m.value){k.value=x.value,j.value=!1;return}const H=g.value||f.value;if(!H){k.value=x.value,j.value=!1;return}const X=v(k.value||b.value),P=(a.valueFormat?K(H,a.valueFormat).utc(!0).tz(X):K(H).tz(X)).format("YYYY-MM-DD HH:mm:ss");g.value=K(P,"YYYY-MM-DD HH:mm:ss").tz(v(x.value),!0).utc().format(a.valueFormat),k.value=x.value,j.value=!1}function I(){if(!m.value){const H=K().tz(v(k.value||b.value));g.value=H.format(a.valueFormat),E.value=H.year(),C.value=H.month()+1;return}g.value=K().utc().format(a.valueFormat);const x=a.valueFormat?K(g.value,a.valueFormat).utc(!0).tz(v(k.value||b.value)):K(g.value).tz(v(k.value||b.value));E.value=x.year(),C.value=x.month()+1}function A(){w.value=!1}function z(){g.value&&(f.value=g.value,b.value=k.value,s("update:value",f.value),s("update:timeZone",b.value),s("change",f.value,b.value),w.value=!1)}return(x,H)=>{const X=Ro;return e.openBlock(),e.createBlock(X,{placement:"bottom",width:378,"show-arrow":!1,trigger:"click",ref_key:"popoverRef",ref:V,"popper-options":d.value,visible:w.value,"onUpdate:visible":H[3]||(H[3]=P=>w.value=P),disabled:t.disabled,"hide-after":0,teleported:t.teleported,"popper-class":c.value},{reference:e.withCtx(()=>[e.renderSlot(x.$slots,"default",{},()=>[e.createElementVNode("div",{class:e.normalizeClass(["anytrek-pick",{disable:t.disabled,active:T.value}])},[g.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(e.openBlock(),e.createElementBlock("span",{class:"anytrek-pick-time",key:g.value},e.toDisplayString(h.value(g.value)),1)),(e.openBlock(),e.createElementBlock("span",{class:"anytrek-pick-timezone",key:k.value},e.toDisplayString(y(k.value,p.value,"value","label")),1))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(e.openBlock(),e.createElementBlock("span",{class:"anytrek-pick-time",key:f.value},e.toDisplayString(h.value(f.value)),1)),(e.openBlock(),e.createElementBlock("span",{class:"anytrek-pick-timezone",key:b.value},e.toDisplayString(y(b.value,p.value,"value","label")),1))],64)),e.createVNode(vn,{src:e.unref(d1),fontSize:"32",style:{"margin-left":"4px"}},null,8,["src"])],2)],!0)]),default:e.withCtx(()=>[w.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(rB,e.mergeProps(x.$props,{chooseDay:D.value,"onUpdate:chooseDay":H[0]||(H[0]=P=>D.value=P),timeZone:k.value,popperOptions:d.value,showMonth:C.value,showYear:E.value,timeZoneList:p.value,onSetNow:I,onChangeMonth:N,onChangeYear:B,showTime:t.showTime,quarterMessage:t.quarterMessage}),null,16,["chooseDay","timeZone","popperOptions","showMonth","showYear","timeZoneList","showTime","quarterMessage"]),e.createElementVNode("div",lB,[m.value?(e.openBlock(),e.createBlock($d,{key:0,"start-time":S.value,"onUpdate:startTime":H[1]||(H[1]=P=>S.value=P),disabled:!g.value},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["time-choose",{disabled:!g.value}])},[e.createElementVNode("span",null,e.toDisplayString(S.value),1),e.createVNode(vn,{src:e.unref(Dd)},null,8,["src"])],2)]),_:1},8,["start-time","disabled"])):e.createCommentVNode("",!0),t.showTimeZoneChoose?(e.openBlock(),e.createBlock(X,{key:1,width:121,"show-arrow":!1,trigger:"click","popper-options":d.value,visible:j.value,"onUpdate:visible":H[2]||(H[2]=P=>j.value=P),"hide-after":0,teleported:!1,placement:"bottom-end","popper-class":"choose-item-popper anytrek-timerange-popper"},{reference:e.withCtx(()=>[e.createElementVNode("div",{class:"time-timezone",style:e.normalizeStyle({marginLeft:m.value?"":"0"})},[e.createElementVNode("span",null,e.toDisplayString(y(k.value,p.value,"value","label")),1),e.createVNode(vn,{src:e.unref(Dd)},null,8,["src"])],4)]),default:e.withCtx(()=>[e.createElementVNode("div",iB,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,P=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["popper-choose-list-one",{active:k.value===P.value}]),key:P.value,onClick:oe=>O(P)},[e.createVNode(vn,{src:e.unref(f1),fontSize:"32",class:"check-icon"},null,8,["src"]),e.createElementVNode("span",cB,e.toDisplayString(P.label),1)],10,sB))),128))])]),_:1},8,["popper-options","visible"])):e.createCommentVNode("",!0),t.showTimeZoneChoose?(e.openBlock(),e.createElementBlock("div",dB)):e.createCommentVNode("",!0),e.createVNode(vn,{src:e.unref(ls),color:"rgba(154, 154, 154, 1)",fontSize:"32",class:"time-bottom-cancel",onClick:A,style:e.normalizeStyle({marginLeft:!t.showTimeZoneChoose||!m.value?"auto":""})},null,8,["src","style"]),e.createVNode(vn,{src:e.unref(is),color:"rgba(11, 165, 236, 1)",fontSize:"32",class:e.normalizeClass(["time-bottom-confirm",{disable:!g.value}]),onClick:z},null,8,["src","class"])])],64)):(e.openBlock(),e.createElementBlock("div",uB))]),_:3},8,["popper-options","visible","disabled","teleported","popper-class"])}}}),[["__scopeId","data-v-1fe5f8d2"]]);function mB(){var t=window.navigator.userAgent,n=t.indexOf("MSIE ");if(n>0)return parseInt(t.substring(n+5,t.indexOf(".",n)),10);var o=t.indexOf("Trident/");if(o>0){var a=t.indexOf("rv:");return parseInt(t.substring(a+3,t.indexOf(".",a)),10)}var r=t.indexOf("Edge/");return r>0?parseInt(t.substring(r+5,t.indexOf(".",r)),10):-1}let vs;function tu(){tu.init||(tu.init=!0,vs=mB()!==-1)}var bs={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){tu(),e.nextTick(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",vs&&this.$el.appendChild(t),t.data="about:blank",vs||this.$el.appendChild(t)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!vs&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const pB=e.withScopeId("data-v-b329ee4c");e.pushScopeId("data-v-b329ee4c");const hB={class:"resize-observer",tabindex:"-1"};e.popScopeId();const gB=pB((t,n,o,a,r,l)=>(e.openBlock(),e.createBlock("div",hB)));bs.render=gB,bs.__scopeId="data-v-b329ee4c",bs.__file="src/components/ResizeObserver.vue";function ws(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ws=function(n){return typeof n}:ws=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},ws(t)}function yB(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function kB(t,n){for(var o=0;o<n.length;o++){var a=n[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function vB(t,n,o){return n&&kB(t.prototype,n),t}function Oh(t){return bB(t)||wB(t)||CB(t)||TB()}function bB(t){if(Array.isArray(t))return nu(t)}function wB(t){if(typeof Symbol<"u"&&Symbol.iterator in Object(t))return Array.from(t)}function CB(t,n){if(t){if(typeof t=="string")return nu(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);if(o==="Object"&&t.constructor&&(o=t.constructor.name),o==="Map"||o==="Set")return Array.from(t);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return nu(t,n)}}function nu(t,n){(n==null||n>t.length)&&(n=t.length);for(var o=0,a=new Array(n);o<n;o++)a[o]=t[o];return a}function TB(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
44
44
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function EB(t){var n;return typeof t=="function"?n={callback:t}:n=t,n}function SB(t,n){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,r,l,i=function(c){for(var d=arguments.length,u=new Array(d>1?d-1:0),y=1;y<d;y++)u[y-1]=arguments[y];if(l=u,!(a&&c===r)){var p=o.leading;typeof p=="function"&&(p=p(c,r)),(!a||c!==r)&&p&&t.apply(void 0,[c].concat(Oh(l))),r=c,clearTimeout(a),a=setTimeout(function(){t.apply(void 0,[c].concat(Oh(l))),a=0},n)}};return i._clear=function(){clearTimeout(a),a=null},i}function Ph(t,n){if(t===n)return!0;if(ws(t)==="object"){for(var o in t)if(!Ph(t[o],n[o]))return!1;return!0}return!1}var NB=function(){function t(n,o,a){yB(this,t),this.el=n,this.observer=null,this.frozen=!1,this.createObserver(o,a)}return vB(t,[{key:"createObserver",value:function(o,a){var r=this;if(this.observer&&this.destroyObserver(),!this.frozen){if(this.options=EB(o),this.callback=function(s,c){r.options.callback(s,c),s&&r.options.once&&(r.frozen=!0,r.destroyObserver())},this.callback&&this.options.throttle){var l=this.options.throttleOptions||{},i=l.leading;this.callback=SB(this.callback,this.options.throttle,{leading:function(c){return i==="both"||i==="visible"&&c||i==="hidden"&&!c}})}this.oldResult=void 0,this.observer=new IntersectionObserver(function(s){var c=s[0];if(s.length>1){var d=s.find(function(y){return y.isIntersecting});d&&(c=d)}if(r.callback){var u=c.isIntersecting&&c.intersectionRatio>=r.threshold;if(u===r.oldResult)return;r.oldResult=u,r.callback(u,c)}},this.options.intersection),e.nextTick(function(){r.observer&&r.observer.observe(r.el)})}}},{key:"destroyObserver",value:function(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callback&&this.callback._clear&&(this.callback._clear(),this.callback=null)}},{key:"threshold",get:function(){return this.options.intersection&&typeof this.options.intersection.threshold=="number"?this.options.intersection.threshold:0}}]),t}();function Fh(t,n,o){var a=n.value;if(a)if(typeof IntersectionObserver>"u")console.warn("[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill");else{var r=new NB(t,a,o);t._vue_visibilityState=r}}function VB(t,n,o){var a=n.value,r=n.oldValue;if(!Ph(a,r)){var l=t._vue_visibilityState;if(!a){zh(t);return}l?l.createObserver(a,o):Fh(t,{value:a},o)}}function zh(t){var n=t._vue_visibilityState;n&&(n.destroyObserver(),delete t._vue_visibilityState)}var BB={beforeMount:Fh,updated:VB,unmounted:zh};function IB(t){return{all:t=t||new Map,on:function(n,o){var a=t.get(n);a&&a.push(o)||t.set(n,[o])},off:function(n,o){var a=t.get(n);a&&a.splice(a.indexOf(o)>>>0,1)},emit:function(n,o){(t.get(n)||[]).slice().map(function(a){a(o)}),(t.get("*")||[]).slice().map(function(a){a(n,o)})}}}var AB={itemsLimit:1e3},DB=/(auto|scroll)/;function Rh(t,n){return t.parentNode===null?n:Rh(t.parentNode,n.concat([t]))}var ou=function(n,o){return getComputedStyle(n,null).getPropertyValue(o)},MB=function(n){return ou(n,"overflow")+ou(n,"overflow-y")+ou(n,"overflow-x")},LB=function(n){return DB.test(MB(n))};function Hh(t){if(t instanceof HTMLElement||t instanceof SVGElement){for(var n=Rh(t.parentNode,[]),o=0;o<n.length;o+=1)if(LB(n[o]))return n[o];return document.scrollingElement||document.documentElement}}function au(t){"@babel/helpers - typeof";return au=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},au(t)}var _h={items:{type:Array,required:!0},keyField:{type:String,default:"id"},direction:{type:String,default:"vertical",validator:function(n){return["vertical","horizontal"].includes(n)}},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"}};function Yh(){return this.items.length&&au(this.items[0])!=="object"}var ru=!1;if(typeof window<"u"){ru=!1;try{var xB=Object.defineProperty({},"passive",{get:function(){ru=!0}});window.addEventListener("test",null,xB)}catch{}}let OB=0;var Cs={name:"RecycleScroller",components:{ResizeObserver:bs},directives:{ObserveVisibility:BB},props:{..._h,itemSize:{type:Number,default:null},gridItems:{type:Number,default:void 0},itemSecondarySize:{type:Number,default:void 0},minItemSize:{type:[Number,String],default:null},sizeField:{type:String,default:"size"},typeField:{type:String,default:"type"},buffer:{type:Number,default:200},pageMode:{type:Boolean,default:!1},prerender:{type:Number,default:0},emitUpdate:{type:Boolean,default:!1},updateInterval:{type:Number,default:0},skipHover:{type:Boolean,default:!1},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"},listClass:{type:[String,Object,Array],default:""},itemClass:{type:[String,Object,Array],default:""}},emits:["resize","visible","hidden","update","scroll-start","scroll-end"],data(){return{pool:[],totalSize:0,ready:!1,hoverKey:null}},computed:{sizes(){if(this.itemSize===null){const t={"-1":{accumulator:0}},n=this.items,o=this.sizeField,a=this.minItemSize;let r=1e4,l=0,i;for(let s=0,c=n.length;s<c;s++)i=n[s][o]||a,i<r&&(r=i),l+=i,t[s]={accumulator:l,size:i};return this.$_computedMinItemSize=r,t}return[]},simpleArray:Yh,itemIndexByKey(){const{keyField:t,items:n}=this,o={};for(let a=0,r=n.length;a<r;a++)o[n[a][t]]=a;return o}},watch:{items(){this.updateVisibleItems(!0)},pageMode(){this.applyPageMode(),this.updateVisibleItems(!1)},sizes:{handler(){this.updateVisibleItems(!1)},deep:!0},gridItems(){this.updateVisibleItems(!0)},itemSecondarySize(){this.updateVisibleItems(!0)}},created(){this.$_startIndex=0,this.$_endIndex=0,this.$_views=new Map,this.$_unusedViews=new Map,this.$_scrollDirty=!1,this.$_lastUpdateScrollPosition=0,this.prerender&&(this.$_prerender=!0,this.updateVisibleItems(!1)),this.gridItems&&!this.itemSize&&console.error("[vue-recycle-scroller] You must provide an itemSize when using gridItems")},mounted(){this.applyPageMode(),this.$nextTick(()=>{this.$_prerender=!1,this.updateVisibleItems(!0),this.ready=!0})},activated(){const t=this.$_lastUpdateScrollPosition;typeof t=="number"&&this.$nextTick(()=>{this.scrollToPosition(t)})},beforeUnmount(){this.removeListeners()},methods:{addView(t,n,o,a,r){const l=e.markRaw({id:OB++,index:n,used:!0,key:a,type:r}),i=e.shallowReactive({item:o,position:0,nr:l});return t.push(i),i},unuseView(t,n=!1){const o=this.$_unusedViews,a=t.nr.type;let r=o.get(a);r||(r=[],o.set(a,r)),r.push(t),n||(t.nr.used=!1,t.position=-9999)},handleResize(){this.$emit("resize"),this.ready&&this.updateVisibleItems(!1)},handleScroll(t){if(!this.$_scrollDirty){if(this.$_scrollDirty=!0,this.$_updateTimeout)return;const n=()=>requestAnimationFrame(()=>{this.$_scrollDirty=!1;const{continuous:o}=this.updateVisibleItems(!1,!0);o||(clearTimeout(this.$_refreshTimout),this.$_refreshTimout=setTimeout(this.handleScroll,this.updateInterval+100))});n(),this.updateInterval&&(this.$_updateTimeout=setTimeout(()=>{this.$_updateTimeout=0,this.$_scrollDirty&&n()},this.updateInterval))}},handleVisibilityChange(t,n){this.ready&&(t||n.boundingClientRect.width!==0||n.boundingClientRect.height!==0?(this.$emit("visible"),requestAnimationFrame(()=>{this.updateVisibleItems(!1)})):this.$emit("hidden"))},updateVisibleItems(t,n=!1){const o=this.itemSize,a=this.gridItems||1,r=this.itemSecondarySize||o,l=this.$_computedMinItemSize,i=this.typeField,s=this.simpleArray?null:this.keyField,c=this.items,d=c.length,u=this.sizes,y=this.$_views,p=this.$_unusedViews,m=this.pool,v=this.itemIndexByKey;let h,g,k,T,f;if(!d)h=g=T=f=k=0;else if(this.$_prerender)h=T=0,g=f=Math.min(this.prerender,c.length),k=null;else{const V=this.getScroll();if(n){let j=V.start-this.$_lastUpdateScrollPosition;if(j<0&&(j=-j),o===null&&j<l||j<o)return{continuous:!0}}this.$_lastUpdateScrollPosition=V.start;const B=this.buffer;V.start-=B,V.end+=B;let N=0;if(this.$refs.before&&(N=this.$refs.before.scrollHeight,V.start-=N),this.$refs.after){const j=this.$refs.after.scrollHeight;V.end+=j}if(o===null){let j,O=0,I=d-1,A=~~(d/2),z;do z=A,j=u[A].accumulator,j<V.start?O=A:A<d-1&&u[A+1].accumulator>V.start&&(I=A),A=~~((O+I)/2);while(A!==z);for(A<0&&(A=0),h=A,k=u[d-1].accumulator,g=A;g<d&&u[g].accumulator<V.end;g++);for(g===-1?g=c.length-1:(g++,g>d&&(g=d)),T=h;T<d&&N+u[T].accumulator<V.start;T++);for(f=T;f<d&&N+u[f].accumulator<V.end;f++);}else{h=~~(V.start/o*a);const j=h%a;h-=j,g=Math.ceil(V.end/o*a),T=Math.max(0,Math.floor((V.start-N)/o*a)),f=Math.floor((V.end-N)/o*a),h<0&&(h=0),g>d&&(g=d),T<0&&(T=0),f>d&&(f=d),k=Math.ceil(d/a)*o}}g-h>AB.itemsLimit&&this.itemsLimitError(),this.totalSize=k;let b;const w=h<=this.$_endIndex&&g>=this.$_startIndex;if(w)for(let V=0,B=m.length;V<B;V++)b=m[V],b.nr.used&&(t&&(b.nr.index=v[b.item[s]]),(b.nr.index==null||b.nr.index<h||b.nr.index>=g)&&this.unuseView(b));const E=w?null:new Map;let C,D,S;for(let V=h;V<g;V++){C=c[V];const B=s?C[s]:C;if(B==null)throw new Error(`Key is ${B} on item (keyField is '${s}')`);if(b=y.get(B),!o&&!u[V].size){b&&this.unuseView(b);continue}D=C[i];let N=p.get(D),j=!1;if(!b)w?N&&N.length?b=N.pop():b=this.addView(m,V,C,B,D):(S=E.get(D)||0,(!N||S>=N.length)&&(b=this.addView(m,V,C,B,D),this.unuseView(b,!0),N=p.get(D)),b=N[S],E.set(D,S+1)),y.delete(b.nr.key),b.nr.used=!0,b.nr.index=V,b.nr.key=B,b.nr.type=D,y.set(B,b),j=!0;else if(!b.nr.used&&(b.nr.used=!0,j=!0,N)){const O=N.indexOf(b);O!==-1&&N.splice(O,1)}b.item=C,j&&(V===c.length-1&&this.$emit("scroll-end"),V===0&&this.$emit("scroll-start")),o===null?(b.position=u[V-1].accumulator,b.offset=0):(b.position=Math.floor(V/a)*o,b.offset=V%a*r)}return this.$_startIndex=h,this.$_endIndex=g,this.emitUpdate&&this.$emit("update",h,g,T,f),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,this.updateInterval+300),{continuous:w}},getListenerTarget(){let t=Hh(this.$el);return window.document&&(t===window.document.documentElement||t===window.document.body)&&(t=window),t},getScroll(){const{$el:t,direction:n}=this,o=n==="vertical";let a;if(this.pageMode){const r=t.getBoundingClientRect(),l=o?r.height:r.width;let i=-(o?r.top:r.left),s=o?window.innerHeight:window.innerWidth;i<0&&(s+=i,i=0),i+s>l&&(s=l-i),a={start:i,end:i+s}}else o?a={start:t.scrollTop,end:t.scrollTop+t.clientHeight}:a={start:t.scrollLeft,end:t.scrollLeft+t.clientWidth};return a},applyPageMode(){this.pageMode?this.addListeners():this.removeListeners()},addListeners(){this.listenerTarget=this.getListenerTarget(),this.listenerTarget.addEventListener("scroll",this.handleScroll,ru?{passive:!0}:!1),this.listenerTarget.addEventListener("resize",this.handleResize)},removeListeners(){this.listenerTarget&&(this.listenerTarget.removeEventListener("scroll",this.handleScroll),this.listenerTarget.removeEventListener("resize",this.handleResize),this.listenerTarget=null)},scrollToItem(t){let n;const o=this.gridItems||1;this.itemSize===null?n=t>0?this.sizes[t-1].accumulator:0:n=Math.floor(t/o)*this.itemSize,this.scrollToPosition(n)},scrollToPosition(t){const n=this.direction==="vertical"?{scroll:"scrollTop",start:"top"}:{scroll:"scrollLeft",start:"left"};let o,a,r;if(this.pageMode){const l=Hh(this.$el),i=l.tagName==="HTML"?0:l[n.scroll],s=l.getBoundingClientRect(),d=this.$el.getBoundingClientRect()[n.start]-s[n.start];o=l,a=n.scroll,r=t+i+d}else o=this.$el,a=n.scroll,r=t;o[a]=r},itemsLimitError(){throw setTimeout(()=>{console.log("It seems the scroller element isn't scrolling, so it tries to render all the items at once.","Scroller:",this.$el),console.log("Make sure the scroller has a fixed height (or width) and 'overflow-y' (or 'overflow-x') set to 'auto' so it can scroll correctly and only render the items visible in the scroll viewport.")}),new Error("Rendered items limit reached")},sortViews(){this.pool.sort((t,n)=>t.nr.index-n.nr.index)}}};const PB={key:0,ref:"before",class:"vue-recycle-scroller__slot"},FB={key:1,ref:"after",class:"vue-recycle-scroller__slot"};function zB(t,n,o,a,r,l){const i=e.resolveComponent("ResizeObserver"),s=e.resolveDirective("observe-visibility");return e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["vue-recycle-scroller",{ready:r.ready,"page-mode":o.pageMode,[`direction-${t.direction}`]:!0}]),onScrollPassive:n[0]||(n[0]=(...c)=>l.handleScroll&&l.handleScroll(...c))},[t.$slots.before?(e.openBlock(),e.createElementBlock("div",PB,[e.renderSlot(t.$slots,"before")],512)):e.createCommentVNode("v-if",!0),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.listTag),{ref:"wrapper",style:e.normalizeStyle({[t.direction==="vertical"?"minHeight":"minWidth"]:r.totalSize+"px"}),class:e.normalizeClass(["vue-recycle-scroller__item-wrapper",o.listClass])},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.pool,c=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.itemTag),e.mergeProps({key:c.nr.id,style:r.ready?{transform:`translate${t.direction==="vertical"?"Y":"X"}(${c.position}px) translate${t.direction==="vertical"?"X":"Y"}(${c.offset}px)`,width:o.gridItems?`${t.direction==="vertical"&&o.itemSecondarySize||o.itemSize}px`:void 0,height:o.gridItems?`${t.direction==="horizontal"&&o.itemSecondarySize||o.itemSize}px`:void 0}:null,class:["vue-recycle-scroller__item-view",[o.itemClass,{hover:!o.skipHover&&r.hoverKey===c.nr.key}]]},e.toHandlers(o.skipHover?{}:{mouseenter:()=>{r.hoverKey=c.nr.key},mouseleave:()=>{r.hoverKey=null}})),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{item:c.item,index:c.nr.index,active:c.nr.used})]),_:2},1040,["style","class"]))),128)),e.renderSlot(t.$slots,"empty")]),_:3},8,["style","class"])),t.$slots.after?(e.openBlock(),e.createElementBlock("div",FB,[e.renderSlot(t.$slots,"after")],512)):e.createCommentVNode("v-if",!0),e.createVNode(i,{onNotify:l.handleResize},null,8,["onNotify"])],34)),[[s,l.handleVisibilityChange]])}Cs.render=zB,Cs.__file="src/components/RecycleScroller.vue";var rl={name:"DynamicScroller",components:{RecycleScroller:Cs},provide(){return typeof ResizeObserver<"u"&&(this.$_resizeObserver=new ResizeObserver(t=>{requestAnimationFrame(()=>{if(Array.isArray(t)){for(const n of t)if(n.target&&n.target.$_vs_onResize){let o,a;if(n.borderBoxSize){const r=n.borderBoxSize[0];o=r.inlineSize,a=r.blockSize}else o=n.contentRect.width,a=n.contentRect.height;n.target.$_vs_onResize(n.target.$_vs_id,o,a)}}})})),{vscrollData:this.vscrollData,vscrollParent:this,vscrollResizeObserver:this.$_resizeObserver}},inheritAttrs:!1,props:{..._h,minItemSize:{type:[Number,String],required:!0}},emits:["resize","visible"],data(){return{vscrollData:{active:!0,sizes:{},keyField:this.keyField,simpleArray:!1}}},computed:{simpleArray:Yh,itemsWithSize(){const t=[],{items:n,keyField:o,simpleArray:a}=this,r=this.vscrollData.sizes,l=n.length;for(let i=0;i<l;i++){const s=n[i],c=a?i:s[o];let d=r[c];typeof d>"u"&&!this.$_undefinedMap[c]&&(d=0),t.push({item:s,id:c,size:d})}return t}},watch:{items(){this.forceUpdate()},simpleArray:{handler(t){this.vscrollData.simpleArray=t},immediate:!0},direction(t){this.forceUpdate(!0)},itemsWithSize(t,n){const o=this.$el.scrollTop;let a=0,r=0;const l=Math.min(t.length,n.length);for(let s=0;s<l&&!(a>=o);s++)a+=n[s].size||this.minItemSize,r+=t[s].size||this.minItemSize;const i=r-a;i!==0&&(this.$el.scrollTop+=i)}},beforeCreate(){this.$_updates=[],this.$_undefinedSizes=0,this.$_undefinedMap={},this.$_events=IB()},activated(){this.vscrollData.active=!0},deactivated(){this.vscrollData.active=!1},unmounted(){this.$_events.all.clear()},methods:{onScrollerResize(){this.$refs.scroller&&this.forceUpdate(),this.$emit("resize")},onScrollerVisible(){this.$_events.emit("vscroll:update",{force:!1}),this.$emit("visible")},forceUpdate(t=!1){(t||this.simpleArray)&&(this.vscrollData.sizes={}),this.$_events.emit("vscroll:update",{force:!0})},scrollToItem(t){const n=this.$refs.scroller;n&&n.scrollToItem(t)},getItemSize(t,n=void 0){const o=this.simpleArray?n??this.items.indexOf(t):t[this.keyField];return this.vscrollData.sizes[o]||0},scrollToBottom(){if(this.$_scrollingToBottom)return;this.$_scrollingToBottom=!0;const t=this.$el;this.$nextTick(()=>{t.scrollTop=t.scrollHeight+5e3;const n=()=>{t.scrollTop=t.scrollHeight+5e3,requestAnimationFrame(()=>{t.scrollTop=t.scrollHeight+5e3,this.$_undefinedSizes===0?this.$_scrollingToBottom=!1:requestAnimationFrame(n)})};requestAnimationFrame(n)})}}};function RB(t,n,o,a,r,l){const i=e.resolveComponent("RecycleScroller");return e.openBlock(),e.createBlock(i,e.mergeProps({ref:"scroller",items:l.itemsWithSize,"min-item-size":o.minItemSize,direction:t.direction,"key-field":"id","list-tag":t.listTag,"item-tag":t.itemTag},t.$attrs,{onResize:l.onScrollerResize,onVisible:l.onScrollerVisible}),{default:e.withCtx(({item:s,index:c,active:d})=>[e.renderSlot(t.$slots,"default",e.normalizeProps(e.guardReactiveProps({item:s.item,index:c,active:d,itemWithSize:s})))]),before:e.withCtx(()=>[e.renderSlot(t.$slots,"before")]),after:e.withCtx(()=>[e.renderSlot(t.$slots,"after")]),empty:e.withCtx(()=>[e.renderSlot(t.$slots,"empty")]),_:3},16,["items","min-item-size","direction","list-tag","item-tag","onResize","onVisible"])}rl.render=RB,rl.__file="src/components/DynamicScroller.vue";var Jl={name:"DynamicScrollerItem",inject:["vscrollData","vscrollParent","vscrollResizeObserver"],props:{item:{required:!0},watchData:{type:Boolean,default:!1},active:{type:Boolean,required:!0},index:{type:Number,default:void 0},sizeDependencies:{type:[Array,Object],default:null},emitResize:{type:Boolean,default:!1},tag:{type:String,default:"div"}},emits:["resize"],computed:{id(){if(this.vscrollData.simpleArray)return this.index;if(this.vscrollData.keyField in this.item)return this.item[this.vscrollData.keyField];throw new Error(`keyField '${this.vscrollData.keyField}' not found in your item. You should set a valid keyField prop on your Scroller`)},size(){return this.vscrollData.sizes[this.id]||0},finalActive(){return this.active&&this.vscrollData.active}},watch:{watchData:"updateWatchData",id(t,n){if(this.$el.$_vs_id=this.id,this.size||this.onDataUpdate(),this.$_sizeObserved){const o=this.vscrollData.sizes[n],a=this.vscrollData.sizes[t];o!=null&&o!==a&&this.applySize(o)}},finalActive(t){this.size||(t?this.vscrollParent.$_undefinedMap[this.id]||(this.vscrollParent.$_undefinedSizes++,this.vscrollParent.$_undefinedMap[this.id]=!0):this.vscrollParent.$_undefinedMap[this.id]&&(this.vscrollParent.$_undefinedSizes--,this.vscrollParent.$_undefinedMap[this.id]=!1)),this.vscrollResizeObserver?t?this.observeSize():this.unobserveSize():t&&this.$_pendingVScrollUpdate===this.id&&this.updateSize()}},created(){if(!this.$isServer&&(this.$_forceNextVScrollUpdate=null,this.updateWatchData(),!this.vscrollResizeObserver)){for(const t in this.sizeDependencies)this.$watch(()=>this.sizeDependencies[t],this.onDataUpdate);this.vscrollParent.$_events.on("vscroll:update",this.onVscrollUpdate)}},mounted(){this.finalActive&&(this.updateSize(),this.observeSize())},beforeUnmount(){this.vscrollParent.$_events.off("vscroll:update",this.onVscrollUpdate),this.unobserveSize()},methods:{updateSize(){this.finalActive?this.$_pendingSizeUpdate!==this.id&&(this.$_pendingSizeUpdate=this.id,this.$_forceNextVScrollUpdate=null,this.$_pendingVScrollUpdate=null,this.computeSize(this.id)):this.$_forceNextVScrollUpdate=this.id},updateWatchData(){this.watchData&&!this.vscrollResizeObserver?this.$_watchData=this.$watch("item",()=>{this.onDataUpdate()},{deep:!0}):this.$_watchData&&(this.$_watchData(),this.$_watchData=null)},onVscrollUpdate({force:t}){!this.finalActive&&t&&(this.$_pendingVScrollUpdate=this.id),(this.$_forceNextVScrollUpdate===this.id||t||!this.size)&&this.updateSize()},onDataUpdate(){this.updateSize()},computeSize(t){this.$nextTick(()=>{if(this.id===t){const n=this.$el.offsetWidth,o=this.$el.offsetHeight;this.applyWidthHeight(n,o)}this.$_pendingSizeUpdate=null})},applyWidthHeight(t,n){const o=~~(this.vscrollParent.direction==="vertical"?n:t);o&&this.size!==o&&this.applySize(o)},applySize(t){this.vscrollParent.$_undefinedMap[this.id]&&(this.vscrollParent.$_undefinedSizes--,this.vscrollParent.$_undefinedMap[this.id]=void 0),this.vscrollData.sizes[this.id]=t,this.emitResize&&this.$emit("resize",this.id)},observeSize(){this.vscrollResizeObserver&&(this.$_sizeObserved||(this.vscrollResizeObserver.observe(this.$el),this.$el.$_vs_id=this.id,this.$el.$_vs_onResize=this.onResize,this.$_sizeObserved=!0))},unobserveSize(){this.vscrollResizeObserver&&this.$_sizeObserved&&(this.vscrollResizeObserver.unobserve(this.$el),this.$el.$_vs_onResize=void 0,this.$_sizeObserved=!1)},onResize(t,n,o){this.id===t&&this.applyWidthHeight(n,o)}},render(){return e.h(this.tag,this.$slots.default())}};Jl.__file="src/components/DynamicScrollerItem.vue";const HB="data:image/svg+xml,%3csvg%20width='44'%20height='84'%20viewBox='0%200%2044%2084'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='0.5'%20y='0.5'%20width='43'%20height='83'%20rx='9.5'%20fill='transparent'/%3e%3crect%20x='0.5'%20y='0.5'%20width='43'%20height='83'%20rx='9.5'%20stroke='%23DFDFDF'/%3e%3crect%20x='14'%20y='16.5'%20width='16'%20height='3'%20rx='1.5'%20fill='%239A9A9A'/%3e%3crect%20x='20'%20y='32.5'%20width='10'%20height='3'%20rx='1.5'%20fill='%23DFDFDF'/%3e%3crect%20x='14'%20y='48.5'%20width='16'%20height='3'%20rx='1.5'%20fill='%239A9A9A'/%3e%3crect%20x='20'%20y='64.5'%20width='10'%20height='3'%20rx='1.5'%20fill='%23DFDFDF'/%3e%3c/svg%3e";var Zh={exports:{}};(function(t){(function(){function n(h,g){document.addEventListener?h.addEventListener("scroll",g,!1):h.attachEvent("scroll",g)}function o(h){document.body?h():document.addEventListener?document.addEventListener("DOMContentLoaded",function g(){document.removeEventListener("DOMContentLoaded",g),h()}):document.attachEvent("onreadystatechange",function g(){(document.readyState=="interactive"||document.readyState=="complete")&&(document.detachEvent("onreadystatechange",g),h())})}function a(h){this.g=document.createElement("div"),this.g.setAttribute("aria-hidden","true"),this.g.appendChild(document.createTextNode(h)),this.h=document.createElement("span"),this.i=document.createElement("span"),this.m=document.createElement("span"),this.j=document.createElement("span"),this.l=-1,this.h.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.i.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.j.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.m.style.cssText="display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;",this.h.appendChild(this.m),this.i.appendChild(this.j),this.g.appendChild(this.h),this.g.appendChild(this.i)}function r(h,g){h.g.style.cssText="max-width:none;min-width:20px;min-height:20px;display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;white-space:nowrap;font-synthesis:none;font:"+g+";"}function l(h){var g=h.g.offsetWidth,k=g+100;return h.j.style.width=k+"px",h.i.scrollLeft=k,h.h.scrollLeft=h.h.scrollWidth+100,h.l!==g?(h.l=g,!0):!1}function i(h,g){function k(){var f=T;l(f)&&f.g.parentNode!==null&&g(f.l)}var T=h;n(h.h,k),n(h.i,k),l(h)}function s(h,g,k){g=g||{},k=k||window,this.family=h,this.style=g.style||"normal",this.weight=g.weight||"normal",this.stretch=g.stretch||"normal",this.context=k}var c=null,d=null,u=null,y=null;function p(h){return d===null&&(m(h)&&/Apple/.test(window.navigator.vendor)?(h=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(window.navigator.userAgent),d=!!h&&603>parseInt(h[1],10)):d=!1),d}function m(h){return y===null&&(y=!!h.document.fonts),y}function v(h,g){var k=h.style,T=h.weight;if(u===null){var f=document.createElement("div");try{f.style.font="condensed 100px sans-serif"}catch{}u=f.style.font!==""}return[k,T,u?h.stretch:"","100px",g].join(" ")}s.prototype.load=function(h,g){var k=this,T=h||"BESbswy",f=0,b=g||3e3,w=new Date().getTime();return new Promise(function(E,C){if(m(k.context)&&!p(k.context)){var D=new Promise(function(V,B){function N(){new Date().getTime()-w>=b?B(Error(""+b+"ms timeout exceeded")):k.context.document.fonts.load(v(k,'"'+k.family+'"'),T).then(function(j){1<=j.length?V():setTimeout(N,25)},B)}N()}),S=new Promise(function(V,B){f=setTimeout(function(){B(Error(""+b+"ms timeout exceeded"))},b)});Promise.race([S,D]).then(function(){clearTimeout(f),E(k)},C)}else o(function(){function V(){var P;(P=I!=-1&&A!=-1||I!=-1&&z!=-1||A!=-1&&z!=-1)&&((P=I!=A&&I!=z&&A!=z)||(c===null&&(P=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent),c=!!P&&(536>parseInt(P[1],10)||parseInt(P[1],10)===536&&11>=parseInt(P[2],10))),P=c&&(I==M&&A==M&&z==M||I==x&&A==x&&z==x||I==H&&A==H&&z==H)),P=!P),P&&(X.parentNode!==null&&X.parentNode.removeChild(X),clearTimeout(f),E(k))}function B(){if(new Date().getTime()-w>=b)X.parentNode!==null&&X.parentNode.removeChild(X),C(Error(""+b+"ms timeout exceeded"));else{var P=k.context.document.hidden;(P===!0||P===void 0)&&(I=N.g.offsetWidth,A=j.g.offsetWidth,z=O.g.offsetWidth,V()),f=setTimeout(B,50)}}var N=new a(T),j=new a(T),O=new a(T),I=-1,A=-1,z=-1,M=-1,x=-1,H=-1,X=document.createElement("div");X.dir="ltr",r(N,v(k,"sans-serif")),r(j,v(k,"serif")),r(O,v(k,"monospace")),X.appendChild(N.g),X.appendChild(j.g),X.appendChild(O.g),k.context.document.body.appendChild(X),M=N.g.offsetWidth,x=j.g.offsetWidth,H=O.g.offsetWidth,B(),i(N,function(P){I=P,V()}),r(N,v(k,'"'+k.family+'",sans-serif')),i(j,function(P){A=P,V()}),r(j,v(k,'"'+k.family+'",serif')),i(O,function(P){z=P,V()}),r(O,v(k,'"'+k.family+'",monospace'))})})},t.exports=s})()})(Zh);var _B=Zh.exports;const Ts=Fl(_B),YB={class:"vehicle-select-body-tab"},ZB={class:"tab-one-content"},jB={class:"num"},UB={class:"tab-one-content"},WB={class:"num"},GB={class:"tab-one-content"},KB={class:"num"},qB=bt(e.defineComponent({__name:"vehicleTab",props:{allLength:{type:Number,default:0},tagLength:{type:Number,default:0},landmarkLength:{type:Number,default:0},activeOne:{type:Number,default:0},active:{type:Boolean,default:!1}},emits:["update:activeOne","change"],setup(t,{emit:n}){const{t:o}=Cn(),a=t,r=n,l=e.ref("");e.onMounted(()=>{s()}),e.watch(()=>a.active,()=>{a.active||(setTimeout(()=>{s()},210),setTimeout(()=>{s()},510))}),new Ts("Inter").load().then(()=>{s()});function s(){e.nextTick(()=>{let y=document.getElementsByClassName("vehicle-select-body-tab")[0].clientWidth-2;const p=document.getElementsByClassName("tab-one-content");for(let m=0;m<p.length;m++){const v=p[m];y-=v.clientWidth}l.value="0 "+y/6+"px"})}const c=e.computed(()=>`${a.allLength}${a.landmarkLength}${a.tagLength}`);e.watch(()=>c.value,()=>{s()});function d(u){a.activeOne!==u&&(r("update:activeOne",u),r("change",u))}return(u,y)=>{const p=e.resolveComponent("anSvgIcon");return e.openBlock(),e.createElementBlock("div",YB,[e.createElementVNode("div",{class:e.normalizeClass(["tab-one",{"active-one":t.activeOne===0}]),onClick:y[0]||(y[0]=m=>d(0)),style:e.normalizeStyle({padding:l.value})},[e.createElementVNode("div",ZB,[e.createVNode(p,{name:"all-tab-icon",fontSize:20}),e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(e.unref(o)("all"))+" ",1),e.createElementVNode("span",jB,"("+e.toDisplayString(t.allLength)+")",1)])])],6),e.createElementVNode("div",{class:e.normalizeClass(["tab-one tab-tag",{"active-one":t.activeOne===1}]),onClick:y[1]||(y[1]=m=>d(1)),style:e.normalizeStyle({padding:l.value})},[e.createElementVNode("div",UB,[e.createVNode(p,{name:"tag-tab-icon",fontSize:20}),e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(e.unref(o)("tag"))+" ",1),e.createElementVNode("span",WB,"("+e.toDisplayString(t.tagLength)+")",1)])])],6),e.createElementVNode("div",{class:e.normalizeClass(["tab-one tab-landmark",{"active-one":t.activeOne===2}]),onClick:y[2]||(y[2]=m=>d(2)),style:e.normalizeStyle({padding:l.value})},[e.createElementVNode("div",GB,[e.createVNode(p,{name:"landmark-tab-icon",fontSize:20}),e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(e.unref(o)("landmark"))+" ",1),e.createElementVNode("span",KB,"("+e.toDisplayString(t.landmarkLength)+")",1)])])],6)])}}}),[["__scopeId","data-v-63577af9"]]);(function(){try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(".mapdiv[data-v-dbf82c40]{width:100%;height:100%}.custom-control-wrapper[data-v-d099a3a6]{display:none}.mapdiv .custom-control-wrapper[data-v-d099a3a6]{display:inline-block}.info-window-wrapper[data-v-cbe1707b]{display:none}.mapdiv .info-window-wrapper[data-v-cbe1707b]{display:inline-block}.custom-marker-wrapper[data-v-2d2d343a]{display:none}.mapdiv .custom-marker-wrapper[data-v-2d2d343a]{display:inline-block}")),document.head.appendChild(t)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}})();var QB=Object.defineProperty,XB=(t,n,o)=>n in t?QB(t,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[n]=o,jh=(t,n,o)=>(XB(t,typeof n!="symbol"?n+"":n,o),o);const ll=Symbol("map"),il=Symbol("api"),Uh=Symbol("marker"),Wh=Symbol("markerCluster"),Es=Symbol("CustomMarker"),Gh=Symbol("mapTilesLoaded"),sl=["click","dblclick","drag","dragend","dragstart","mousedown","mousemove","mouseout","mouseover","mouseup","rightclick"];/*! *****************************************************************************
45
45
  Copyright (c) Microsoft Corporation.
46
46
 
@@ -272,8 +272,8 @@ This will fail in production.`);s=ni,s._s.has(a)||(l?yu(a,n,r,s):D2(a,r,s),proce
272
272
  `;const h_=F=>{let L="";F.label==="Light Hub"?(L=F.label+"/TPMS/Weight",L=F.label+"/TPMS"):L=F.label,Pa.alert(`<div class='icon'>
273
273
  ${p_}
274
274
  </div>
275
- <div class='text'>If you uncheck this, all the linked ${L} sensors will be removed. </div>`,{dangerouslyUseHTMLString:!0,customClass:"message-box-waring-sensor",confirmButtonText:"Confirm",cancelButtonText:"Cancel",showCancelButton:!0,showClose:!1,beforeClose:async(ee,ie,Ue)=>{if(ee==="confirm"){let Fe=Mn.value.findIndex(wt=>wt.label===F.label);Fe>-1&&(Mn.value[Fe].checkValue=!1),F.label==="Light Hub"?(Mn.value=Mn.value.map(wt=>wt.label==="TPMS"||wt.label==="Weight"?{...wt,checkValue:!1}:wt),Sn.value="",io.value=[["","","",""],["","","",""],["","","",""]],$n.value=""):F.label==="TPMS"?io.value=[["","","",""],["","","",""],["","","",""]]:F.label==="Weight"?$n.value="":F.label==="Trailer Lock"?so.value="":F.label==="Container Detection"?An.value="":F.label==="Temp & Humidity"&&(rn.value=[]),Ue()}else Ue()}})};let ju=0;const g_=()=>{var F,L,ee,ie,Ue,Fe,wt,Ot,Nn,Go,Wa,Nr,Vr,Br,Ao,Ir,Ar,Q,Ge,dt,Je,Rn,ot,co,Dr,oc,ug,fg,mg,pg,hg,gg,yg,kg,vg,bg;if(An.value="",Sn.value="",io.value=[["","","",""],["","","",""],["","","",""]],$n.value="",so.value="",rn.value=[],l.vehicleData.id){let ze=l.allVehicles.find(Ht=>Ht.id===l.vehicleData.id);if(ze){let Ht=xu(ze.id),Ga=O(l.vehicleData.id,"vehicleId");E.value=((F=ze.content)==null?void 0:F.elements)||Ht.map(Ka=>Ka.id),Bt.value={id:ze.id,name:ze.name,deviceId:Ga?Ga.deviceId:"",dataTime:"",tagContent:Ht,assetType:ze.content.assetType,newIcon:ze.content.newIcon,vehicleTypeId:ze.content.vehicleTypeId,make:ze.content.make,year:ze.content.year,licensePlateNumber:ze.content.licensePlateNumber,vin:ze.content.vin,fuelType:ze.content.fuelType,grossWeight:ze.content.grossWeight,odo:Number(R2(ze.content.odo,!1)),description:ze.content.description,elements:E.value,sensorConfig:qH(ze==null?void 0:ze.sensorConfig)},ju=Number(R2(ze.content.odo,!1)),An.value=((ee=(L=ze==null?void 0:ze.sensorConfig)==null?void 0:L.AS2521)==null?void 0:ee.macId)||"",Sn.value=((Ue=(ie=ze==null?void 0:ze.sensorConfig)==null?void 0:ie.AS2528)==null?void 0:Ue.macId)||"",(Fe=ze==null?void 0:ze.sensorConfig)!=null&&Fe.AS2530&&QH((wt=ze==null?void 0:ze.sensorConfig)==null?void 0:wt.AS2530),$n.value=((Nn=(Ot=ze==null?void 0:ze.sensorConfig)==null?void 0:Ot.AS)==null?void 0:Nn.macId)||"",so.value=((Wa=(Go=ze==null?void 0:ze.sensorConfig)==null?void 0:Go.AS)==null?void 0:Wa.macId)||"",rn.value=((Vr=(Nr=ze==null?void 0:ze.sensorConfig)==null?void 0:Nr.AS2540)==null?void 0:Vr.map(Ka=>({macId:(Ka==null?void 0:Ka.macId)||"",name:(Ka==null?void 0:Ka.name)||""})))||[]}}if(si.value=(l.conDetSensorList||[]).filter(ze=>ze.model==="AS2521").filter(ze=>{var Ht;return!ze.bindVehicleId&&!ze.bindUserPackageId||ze.bindVehicleId===((Ht=l.vehicleData)==null?void 0:Ht.id)}),mn.value=(l.conDetSensorList||[]).filter(ze=>ze.model==="AS2528").filter(ze=>{var Ht;return!ze.bindVehicleId&&!ze.bindUserPackageId||ze.bindVehicleId===((Ht=l.vehicleData)==null?void 0:Ht.id)}),Dt.value=(l.conDetSensorList||[]).filter(ze=>ze.model==="AS2530").filter(ze=>{var Ht;return!ze.bindVehicleId&&!ze.bindUserPackageId||ze.bindVehicleId===((Ht=l.vehicleData)==null?void 0:Ht.id)}),Vo.value=(l.conDetSensorList||[]).filter(ze=>ze.model==="AS").filter(ze=>{var Ht;return!ze.bindVehicleId&&!ze.bindUserPackageId||ze.bindVehicleId===((Ht=l.vehicleData)==null?void 0:Ht.id)}),ft.value=(l.conDetSensorList||[]).filter(ze=>ze.model==="AS").filter(ze=>{var Ht;return!ze.bindVehicleId&&!ze.bindUserPackageId||ze.bindVehicleId===((Ht=l.vehicleData)==null?void 0:Ht.id)}),Dn.value=(l.conDetSensorList||[]).filter(ze=>ze.model==="AS2540").filter(ze=>{var Ht;return!ze.bindVehicleId&&!ze.bindUserPackageId||ze.bindVehicleId===((Ht=l.vehicleData)==null?void 0:Ht.id)}),ci.value=si.value,ct.value=mn.value,Bo.value=Vo.value,pn.value=ft.value,D.value="",g(k.value),N(Bt.value.deviceId),fe(Bt.value),l.vehicleData.id){f.value={id:Bt.value.id,name:Bt.value.name,deviceId:Bt.value.deviceId,dataTime:Bt.value.dataTime,tagContent:Bt.value.tagContent,assetType:Bt.value.assetType,newIcon:Bt.value.newIcon,vehicleTypeId:Bt.value.vehicleTypeId,make:Bt.value.make,year:Bt.value.year,licensePlateNumber:Bt.value.licensePlateNumber,vin:Bt.value.vin,fuelType:Bt.value.fuelType,grossWeight:Bt.value.grossWeight,odo:Bt.value.odo,description:Bt.value.description};let ze=[];h.value.forEach(Ga=>{ze.push(...Ga.children)});let Ht=ze.find(Ga=>f.value.vehicleTypeId?Ga.id==f.value.vehicleTypeId:Ga.assetType<9999&&Ga.icon==f.value.newIcon);pe.value=Ht||{id:"",assetType:f.value.assetType,icon:f.value.newIcon,label:"",type:""}}else if(f.value={id:"",name:"",deviceId:"",dataTime:"",tagContent:[],assetType:"",newIcon:"",vehicleTypeId:"",make:"",year:"",licensePlateNumber:"",vin:"",fuelType:"",grossWeight:"",odo:null,description:""},l.vehicleData.deviceId){Ua.value=!0,f.value={name:l.vehicleData.name,deviceId:l.vehicleData.deviceId,dataTime:"",tagContent:((Br=l.vehicleData)==null?void 0:Br.tagContent)||[],assetType:(Ir=(Ao=l.vehicleData)==null?void 0:Ao.content)==null?void 0:Ir.assetType,newIcon:(Q=(Ar=l.vehicleData)==null?void 0:Ar.content)==null?void 0:Q.newIcon,vehicleTypeId:(dt=(Ge=l.vehicleData)==null?void 0:Ge.content)==null?void 0:dt.vehicleTypeId,make:(Rn=(Je=l.vehicleData)==null?void 0:Je.content)==null?void 0:Rn.make,year:(co=(ot=l.vehicleData)==null?void 0:ot.content)==null?void 0:co.year,licensePlateNumber:(oc=(Dr=l.vehicleData)==null?void 0:Dr.content)==null?void 0:oc.licensePlateNumber,vin:(fg=(ug=l.vehicleData)==null?void 0:ug.content)==null?void 0:fg.vin,fuelType:(pg=(mg=l.vehicleData)==null?void 0:mg.content)==null?void 0:pg.fuelType,grossWeight:(gg=(hg=l.vehicleData)==null?void 0:hg.content)==null?void 0:gg.grossWeight,odo:(kg=(yg=l.vehicleData)==null?void 0:yg.content)==null?void 0:kg.odo,description:(bg=(vg=l.vehicleData)==null?void 0:vg.content)==null?void 0:bg.description};let ze=S.value.find(Ht=>Ht.id===l.vehicleData.deviceId);ze&&(j.value=ze.deviceId,Kt.value=ze.modelId,on.value=j.value,pt.value=K(new Date).utc().format("YYYY-MM-DDTHH:mm:ss[Z]"))}l.needShowList&&be()};return e.watch(()=>l.loading,F=>{F||g_()},{immediate:!0}),(F,L)=>{const ee=os,ie=e.resolveComponent("anSvgIcon"),Ue=Ji,Fe=Fo,wt=Ro,Ot=_0,Nn=e.resolveComponent("anytrekTimePick"),Go=e.resolveComponent("TextClamp"),Wa=Ki,Nr=ns,Vr=Ba,Br=qi,Ao=V7,Ir=e.resolveComponent("add-or-edit-tag"),Ar=Xr;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(Br,{modelValue:v.value,"onUpdate:modelValue":L[37]||(L[37]=Q=>v.value=Q),size:"520",title:B.value,"destroy-on-close":"","before-close":V,"close-on-click-modal":!0,"close-on-press-escape":!1,"show-close":!1,class:"drawer-footer-line vehicles-drawer add-or-edit",onClick:it},{footer:e.withCtx(()=>[e.createVNode(e.unref(Bn),{style:{width:"85px",height:"40px"},onClick:V},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("cancel")),1)]),_:1}),t.loginInfo.type&&t.loginInfo.type!==3?(e.openBlock(),e.createBlock(e.unref(Bn),{key:0,style:{height:"40px"},type:"primary",loading:A.value,onClick:z},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("save")),1)]),_:1},8,["loading"])):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[t.loading?(e.openBlock(),e.createElementBlock("div",uO,[e.createElementVNode("div",fO,[e.createVNode(ie,{class:"icon-loading",name:"loading-black-loading1","font-size":24,color:"#000"})])])):(e.openBlock(),e.createBlock(Vr,{key:0},{default:e.withCtx(()=>[e.createVNode(Nr,{model:f.value,rules:C.value,"label-position":"top",ref_key:"refForm",ref:I,class:"op-body","require-asterisk-position":"right"},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("div",ZD,[e.createVNode(ee,{label:e.unref(a)("name"),prop:"name",class:"form-item-name"},{default:e.withCtx(()=>[e.createVNode(e.unref(Yt),{modelValue:f.value.name,"onUpdate:modelValue":L[0]||(L[0]=Q=>f.value.name=Q),maxlength:"64",placeholder:e.unref(a)("enterUniqueName")},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),e.createElementVNode("div",jD,[e.createVNode(ee,{label:e.unref(a)("vehicleType"),prop:"assetType",required:"",class:"custom-label-position error-class"},{default:e.withCtx(()=>{var Q,Ge,dt;return[e.createElementVNode("div",{ref_key:"assetTypeRef",ref:Pe,class:e.normalizeClass(["asset-type",{disabled:dg.value}]),onClick:De},[f.value.assetType?(e.openBlock(),e.createElementBlock("div",UD,[e.createVNode(ie,{class:"icon",name:"vehicle-"+((Q=e.unref(pe))==null?void 0:Q.icon),"font-size":"24"},null,8,["name"]),e.createElementVNode("div",WD,e.toDisplayString((Ge=e.unref(pe))==null?void 0:Ge.label),1)])):(e.openBlock(),e.createElementBlock("div",GD,e.toDisplayString(e.unref(a)("selectAssetType")),1)),e.createVNode(ie,{class:"icon hover-animation",name:"xiajiantou","font-size":"24"}),e.unref(te)?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"assetTypeSelectRef",ref:$,class:"asset-type-select"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(h),(Je,Rn)=>(e.openBlock(),e.createElementBlock("div",{class:"item",key:Je.value,onMouseenter:ot=>ge(Je,Rn)},[e.createElementVNode("div",qD,e.toDisplayString(e.unref(a)(Je.type)),1),e.createVNode(ie,{"font-size":24,name:"arrow-right",color:"#949494"})],40,KD))),128)),e.unref(Ve)?(e.openBlock(),e.createElementBlock("div",{key:0,class:"asset-type-select-sub",style:e.normalizeStyle({marginTop:ae.value+"px"})},[e.createElementVNode("div",null,[e.unref(de).assetType===9999?(e.openBlock(),e.createElementBlock("div",QD,[e.createElementVNode("span",null,e.toDisplayString(e.unref(_).length),1),L[56]||(L[56]=e.createTextVNode(" intotal ",-1))])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["sub-wrapper",{"sub-wrapper-cus":((dt=e.unref(de))==null?void 0:dt.assetType)==9999}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(_),(Je,Rn)=>{var ot,co,Dr;return e.openBlock(),e.createElementBlock("div",{class:"sub-item",key:Rn,onClick:e.withModifiers(oc=>q(Je),["stop"])},[e.createElementVNode("div",JD,[e.createVNode(ie,{name:"vehicle-"+(Je==null?void 0:Je.icon),"font-size":24},null,8,["name"]),e.createElementVNode("div",$D,[e.createElementVNode("div",null,[e.createElementVNode("div",eM,[Je.assetType===5e3?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(""))],64)):Je.assetType<9999?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(e.unref(a)(Je.type)),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(Je.label),1)],64))]),(Je==null?void 0:Je.icon)==="heavyDutyTruck"?(e.openBlock(),e.createElementBlock("div",tM," Day Cab ")):e.createCommentVNode("",!0),(Je==null?void 0:Je.icon)==="heavyDutyTruckHaul"?(e.openBlock(),e.createElementBlock("div",nM," Sleeper Cab ")):e.createCommentVNode("",!0)]),xt(Je)?(e.openBlock(),e.createElementBlock("span",oM,"("+e.toDisplayString(xt(Je))+")",1)):e.createCommentVNode("",!0)])]),(Je==null?void 0:Je.assetType)>=9999&&((ot=e.unref(pe))==null?void 0:ot.label)!==Je.label&&!xt(Je)?(e.openBlock(),e.createBlock(ie,{key:0,name:"closeIconNew","font-size":"24",color:"#9a9a9a",class:"icon-hover delete-icon",onClick:e.withModifiers(oc=>Te(Je),["stop"])},null,8,["onClick"])):e.createCommentVNode("",!0),((co=e.unref(pe))==null?void 0:co.id)===(Je==null?void 0:Je.id)&&((Dr=e.unref(pe))==null?void 0:Dr.icon)===Je.icon?(e.openBlock(),e.createBlock(ie,{key:1,name:"device-gou","font-size":24})):e.createCommentVNode("",!0)],8,XD)}),128))],2)]),e.unref(de).assetType===9999?(e.openBlock(),e.createElementBlock("div",aM,[e.createVNode(ie,{name:"plus","font-size":"32",color:"#9a9a9a",onClick:Ie}),je.value?e.withDirectives((e.openBlock(),e.createElementBlock("div",rM,[e.createElementVNode("div",lM,[e.createVNode(e.unref(Yt),{modelValue:ye.value,"onUpdate:modelValue":L[1]||(L[1]=Je=>ye.value=Je),placeholder:"Enter Vehicle name",class:"input-add-type auto-table-search",style:{width:"303px"},size:"large",ref:"searchInput"},{prefix:e.withCtx(()=>[e.createElementVNode("div",{class:"cus-icon",ref_key:"customizeIconRef",ref:Re},[e.createVNode(ie,{"font-size":ue.value?24:32,name:ue.value?"vehicle-"+ue.value:"addVehicleType",color:"#000"},null,8,["font-size","name"])],512)]),_:1},8,["modelValue"]),e.createElementVNode("div",iM,[L[57]||(L[57]=e.createElementVNode("div",{class:"name"},"Select a icon",-1)),e.createElementVNode("div",sM,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.value,Je=>(e.openBlock(),e.createElementBlock("div",{class:"icon-item",key:Je,onClick:e.withModifiers(Rn=>Ee(Je),["stop"])},[e.createVNode(ie,{name:"vehicle-"+Je,"font-size":24},null,8,["name"])],8,cM))),128))])])]),L[58]||(L[58]=e.createElementVNode("div",{class:"divider"},null,-1)),e.createElementVNode("div",dM,[e.createElementVNode("div",uM,[e.createVNode(ie,{name:"closeIconNew","font-size":"32",color:"#9a9a9a",class:"icon-hover",onClick:e.withModifiers(Xe,["stop"])}),e.createVNode(ie,{name:"comfirmIcon","font-size":"32",color:"#0BA5EC",class:"icon-hover",onClick:e.withModifiers(U,["stop"])})])])])),[[Ar,R.value]]):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0)],512)):e.createCommentVNode("",!0)],2)]}),_:1},8,["label"]),e.createVNode(ee,{label:e.unref(a)("device"),prop:"deviceId",class:"custom-label-position border-top"},{default:e.withCtx(()=>[e.createVNode(Ue,{ref_key:"deviceSelectRef",ref:Jt,trigger:"click","popper-class":"device-dropdown-v noanimation-dropdown",placement:"bottom-start",disabled:Ua.value,onVisibleChange:Ce},{dropdown:e.withCtx(()=>[e.createElementVNode("div",yM,[e.createElementVNode("div",kM,[e.createVNode(e.unref(Yt),{modelValue:nt.value,"onUpdate:modelValue":L[2]||(L[2]=Q=>nt.value=Q),placeholder:e.unref(a)("search"),class:"auto-table-search",size:"large",ref_key:"searchDevice",ref:Hs},{prefix:e.withCtx(()=>[e.createVNode(ie,{"font-size":"40",name:"searchIcon",color:"#000"})]),suffix:e.withCtx(()=>[nt.value?(e.openBlock(),e.createBlock(ie,{key:0,class:"clear-icon",id:"clear-icon",name:"closeIconNew2","font-size":"32",onClick:Mu})):e.createCommentVNode("",!0)]),_:1},8,["modelValue","placeholder"])]),e.createElementVNode("div",vM,e.toDisplayString(S.value.length+" "+e.unref(a)("devicesInTotal")),1),e.createElementVNode("div",bM,[vt.value.length?(e.openBlock(),e.createElementBlock("div",wM,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(vt.value,Q=>(e.openBlock(),e.createElementBlock("div",{key:Q.id,class:"list-body-one",onClick:Ge=>zn(Q)},[e.createVNode(ie,{color:"#000",name:"monitorIconCpu","font-size":"24"}),e.createElementVNode("div",TM,[e.createElementVNode("div",null,e.toDisplayString(Q.deviceId),1),e.createElementVNode("div",EM,e.toDisplayString(t.modelTypes[Q.modelId]),1)]),e.withDirectives(e.createVNode(ie,{name:"filterchecked","font-size":"24"},null,512),[[e.vShow,Q.dId===f.value.deviceId]])],8,CM))),128))])):e.createCommentVNode("",!0)])])]),default:e.withCtx(()=>[e.createElementVNode("div",fM,[j.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["device-show canClick",{"disabled-eidt":Ua.value}])},[e.createElementVNode("div",hM,[e.createVNode(ie,{class:"icon",name:"monitorIconCpu ","font-size":"24",color:"#000"}),e.createElementVNode("div",gM,e.toDisplayString(j.value),1),Ua.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"remove-icon",onClick:e.withModifiers(Tt,["stop"])},[e.createVNode(ie,{name:"removeIcon","font-size":"16"})]))]),Ua.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ie,{key:0,class:"device-arrow icon hover-animation",name:"xiajiantou","font-size":"24",color:"#000"}))],2)):(e.openBlock(),e.createElementBlock("div",mM,[e.createElementVNode("span",pM,e.toDisplayString(e.unref(a)("selectDevice")),1),e.createVNode(ie,{class:"device-arrow icon hover-animation",name:"xiajiantou",color:"#000","font-size":"24"})]))])]),_:1},8,["disabled"])]),_:1},8,["label"])]),e.createElementVNode("div",SM,[e.createElementVNode("div",NM,[e.createVNode(ee,{label:e.unref(a)("make"),prop:"model",class:e.normalizeClass(["custom-label-poosition2",{"is-focus":Ze.value}])},{default:e.withCtx(()=>[e.createVNode(e.unref(Yt),{modelValue:f.value.make,"onUpdate:modelValue":L[3]||(L[3]=Q=>f.value.make=Q),maxlength:64,class:"input-make",onFocus:L[4]||(L[4]=Q=>Ze.value=!0),onBlur:L[5]||(L[5]=Q=>Ze.value=!1)},{suffix:e.withCtx(()=>[cg.value?(e.openBlock(),e.createBlock(wt,{key:0,placement:"bottom-end",width:226,"popper-options":Ye.value,trigger:"click","popper-class":"popper-make",ref_key:"popperMakeRef",ref:In,"hide-after":0,offset:-24},{reference:e.withCtx(()=>[e.createElementVNode("div",VM,[e.createVNode(ie,{name:"xiajiantou","font-size":"24",color:"#000",class:"hover-animation",style:{cursor:"pointer"}})])]),default:e.withCtx(()=>[e.createElementVNode("div",BM,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(en,Q=>e.createElementVNode("div",{class:"type-item",key:Q.type},[e.createElementVNode("div",IM,e.toDisplayString(Q.type),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Q.children,Ge=>(e.openBlock(),e.createBlock(Fe,{key:Ge.value,class:"box-item",effect:"dark",placement:"left","popper-class":"popper-make-tip","show-arrow":!1,"hide-after":0},{content:e.withCtx(()=>[e.createElementVNode("div",DM,[e.createElementVNode("div",MM,[e.createElementVNode("img",{src:Ge.img},null,8,LM)]),e.createElementVNode("div",xM,[L[59]||(L[59]=e.createElementVNode("div",{class:"name"},"Trailer Length",-1)),e.createElementVNode("div",OM,e.toDisplayString(Ge.length),1)]),e.createElementVNode("div",PM,[L[60]||(L[60]=e.createElementVNode("div",{class:"name"},"Trailer Width",-1)),e.createElementVNode("div",FM,e.toDisplayString(Ge.width),1)]),e.createElementVNode("div",zM,[L[61]||(L[61]=e.createElementVNode("div",{class:"name"},"Trailer Height",-1)),e.createElementVNode("div",RM,e.toDisplayString(Ge.height),1)]),e.createElementVNode("div",HM,[L[62]||(L[62]=e.createElementVNode("div",{class:"name"},"Capacity/GVWR",-1)),e.createElementVNode("div",_M,e.toDisplayString(Ge.capacity),1)])])]),default:e.withCtx(()=>[e.createElementVNode("div",{class:"make-item",onClick:dt=>Zt(Ge)},[e.createElementVNode("span",null,e.toDisplayString(Ge.label),1)],8,AM)]),_:2},1024))),128))])),64))])]),_:1},8,["popper-options"])):e.createCommentVNode("",!0)]),_:1},8,["modelValue"])]),_:1},8,["label","class"]),e.createVNode(ee,{label:e.unref(a)("year"),prop:"make",class:e.normalizeClass(["custom-label-poosition2 custom-label-poosition8",{"is-focus":qe.value}])},{default:e.withCtx(()=>[e.createVNode(e.unref(Yt),{modelValue:e.unref(Ft),"onUpdate:modelValue":L[6]||(L[6]=Q=>e.isRef(Ft)?Ft.value=Q:Ft=Q),maxlength:4,onFocus:L[7]||(L[7]=Q=>qe.value=!0),onBlur:ro},{suffix:e.withCtx(()=>[e.createVNode(wt,{placement:"bottom-start",width:144,trigger:"click","popper-class":"popper-year","popper-style":{minWidth:"144px"},ref_key:"popperYearRef",ref:Eo,"hide-after":0,offset:-24,onShow:Me},{reference:e.withCtx(()=>[e.createElementVNode("div",YM,[e.createVNode(ie,{name:"date","font-size":"24",color:"#000",style:{cursor:"pointer"}})])]),default:e.withCtx(()=>[e.createElementVNode("div",{id:"scrollBox",class:"popper-year-content",ref_key:"yearRef",ref:J},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(lo.value,Q=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["item",{active:f.value.year==Q}]),key:Q,onClick:Ge=>So(Q)},e.toDisplayString(Q),11,ZM))),128))],512)]),_:1},512)]),_:1},8,["modelValue"])]),_:1},8,["label","class"])]),e.createElementVNode("div",jM,[e.createVNode(ee,{label:e.unref(a)("plateNum"),prop:"licensePlateNumber",class:e.normalizeClass(["custom-label-poosition2",{"is-focus":Z.value}])},{default:e.withCtx(()=>[e.createVNode(e.unref(Yt),{modelValue:f.value.licensePlateNumber,"onUpdate:modelValue":L[8]||(L[8]=Q=>f.value.licensePlateNumber=Q),maxlength:50,onFocus:L[9]||(L[9]=Q=>Z.value=!0),onBlur:L[10]||(L[10]=Q=>Z.value=!1)},null,8,["modelValue"])]),_:1},8,["label","class"]),e.createVNode(ee,{label:e.unref(a)("vinOrSerialNumber"),prop:"vin",class:e.normalizeClass(["custom-label-poosition2",{"is-focus":Le.value}])},{default:e.withCtx(()=>[e.createVNode(e.unref(Yt),{modelValue:f.value.vin,"onUpdate:modelValue":L[11]||(L[11]=Q=>f.value.vin=Q),maxlength:64,onFocus:L[12]||(L[12]=Q=>Le.value=!0),onBlur:L[13]||(L[13]=Q=>Le.value=!1)},null,8,["modelValue"])]),_:1},8,["label","class"])]),e.createElementVNode("div",UM,[e.createVNode(ee,{label:e.unref(a)("fuelType"),prop:"fuelType",class:e.normalizeClass(["custom-label-poosition2",{"is-focus":ke.value}])},{default:e.withCtx(()=>[e.createVNode(wt,{placement:"bottom",width:230,trigger:"click","popper-class":"popper-fuel-type",ref_key:"popperFuelTypeRef",ref:Ke,"hide-after":0,offset:-24},{reference:e.withCtx(()=>[e.createElementVNode("div",WM,[e.createElementVNode("span",null,e.toDisplayString(f.value.fuelType?e.unref(a)(f.value.fuelType):""),1),e.createElementVNode("div",GM,[f.value.fuelType?(e.openBlock(),e.createBlock(ie,{key:0,class:"icon-close",name:"closeIconNew","font-size":"24",onClick:L[14]||(L[14]=e.withModifiers(Q=>f.value.fuelType="",["stop"]))})):e.createCommentVNode("",!0),e.createVNode(ie,{name:"xiajiantou","font-size":"24",color:"#000",class:"a-icon",style:{cursor:"pointer"}})])])]),default:e.withCtx(()=>[e.createElementVNode("div",KM,[e.createElementVNode("div",{class:"item",onClick:L[15]||(L[15]=e.withModifiers(Q=>Oe("diesel"),["stop"]))},[e.createElementVNode("span",null,e.toDisplayString(e.unref(a)("diesel")),1),f.value.fuelType==="diesel"?(e.openBlock(),e.createBlock(ie,{key:0,name:"device-gou","font-size":24})):e.createCommentVNode("",!0)])])]),_:1},512)]),_:1},8,["label","class"]),e.createVNode(ee,{label:e.unref(a)("grossWeight"),prop:"grossWeight",class:e.normalizeClass(["custom-label-poosition2",{"is-focus":et.value}])},{default:e.withCtx(()=>[e.createVNode(wt,{placement:"bottom",width:230,trigger:"click","popper-class":"popper-gross-weight",ref_key:"popperGrossWeightRef",ref:Vt,"hide-after":0,offset:-130},{reference:e.withCtx(()=>[e.createElementVNode("div",qM,[e.createElementVNode("span",null,e.toDisplayString(f.value.grossWeight?f.value.grossWeight:""),1),e.createElementVNode("div",QM,[f.value.grossWeight?(e.openBlock(),e.createBlock(ie,{key:0,class:"icon-close",name:"closeIconNew","font-size":"24",onClick:L[16]||(L[16]=e.withModifiers(Q=>f.value.grossWeight="",["stop"]))})):e.createCommentVNode("",!0),e.createVNode(ie,{name:"xiajiantou","font-size":"24",color:"#000",class:"a-icon",style:{cursor:"pointer"}})])])]),default:e.withCtx(()=>[e.createElementVNode("div",XM,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(En,Q=>e.createElementVNode("div",{class:"item",key:Q.label,onClick:e.withModifiers(Ge=>At(Q.label),["stop"])},[e.createElementVNode("span",null,e.toDisplayString(Q.label),1),f.value.grossWeight===Q.label?(e.openBlock(),e.createBlock(ie,{key:0,name:"device-gou","font-size":24})):e.createCommentVNode("",!0)],8,JM)),64))])]),_:1},512)]),_:1},8,["label","class"])]),e.createElementVNode("div",$M,[e.createVNode(ee,{label:`${e.unref(a)("odometer")} (${e.unref(rA)()})`,prop:"odo",class:e.normalizeClass(["custom-label-poosition2",{"is-focus":_e.value}])},{default:e.withCtx(()=>[e.createVNode(Ot,{modelValue:f.value.odo,"onUpdate:modelValue":L[17]||(L[17]=Q=>f.value.odo=Q),controls:!1,precision:0,class:"input-number-odometer",onFocus:L[18]||(L[18]=Q=>_e.value=!0),onBlur:L[19]||(L[19]=Q=>_e.value=!1),onKeydown:b,onChange:w},null,8,["modelValue"])]),_:1},8,["label","class"])])]),e.createVNode(Nn,{value:e.unref(pt),"onUpdate:value":L[21]||(L[21]=Q=>e.isRef(pt)?pt.value=Q:pt=Q),timeZone:tn.value,"onUpdate:timeZone":L[22]||(L[22]=Q=>tn.value=Q),visible:Uo.value,"onUpdate:visible":L[23]||(L[23]=Q=>Uo.value=Q),showFormat:le.value,immediate:!0,disableFuntion:We,teleported:!0,needMaxIndex:!0,onChange:Y},{default:e.withCtx(()=>[e.createVNode(ee,{label:e.unref(a)("boundDate"),prop:"deviceId",class:"custom-label-poosition3"},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"content",ref_key:"datePickerSelectRef",ref:ne},[L[63]||(L[63]=e.createElementVNode("div",{class:"sub-text"},"Current device data starts",-1)),e.createElementVNode("div",eL,[e.createElementVNode("div",tL,[e.createElementVNode("span",nL,e.toDisplayString(Ae()),1),e.unref(pt)?(e.openBlock(),e.createElementBlock("div",oL,e.toDisplayString(tn.value),1)):e.createCommentVNode("",!0),e.createElementVNode("div",aL,[e.createVNode(ie,{name:"date","font-size":"24",color:"#020202"})])]),e.createElementVNode("div",{class:"btn-now",onClick:e.withModifiers(an,["stop"])},e.toDisplayString(e.unref(a)("now")),1)])],512),f.value.deviceId?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"disabled-date",onClick:L[20]||(L[20]=e.withModifiers(()=>{},["stop"]))}))]),_:1},8,["label"])]),_:1},8,["value","timeZone","visible","showFormat"]),e.createVNode(ee,{prop:"tagContent",class:"custom-label-poosition4"},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("div",rL,[e.createElementVNode("span",null,e.toDisplayString(e.unref(a)("bingToTags")),1),e.createElementVNode("span",lL,"("+e.toDisplayString(f.value.tagContent?f.value.tagContent.length:0)+")",1)]),e.createElementVNode("div",iL,[f.value.tagContent&&f.value.tagContent.length?(e.openBlock(),e.createElementBlock("div",{key:0,style:{"margin-top":"16px"},class:e.normalizeClass({noMaigin:Sr.value})},[f.value.tagContent.length>vP?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Sr.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:"tag-cell all-elelist",onScroll:Lu},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value.tagContent,Q=>(e.openBlock(),e.createElementBlock("div",{key:Q.name},[e.createElementVNode("div",{class:"tag-item my-tag-item",onMouseenter:Ge=>Tr(Ge,Q.name,"top",80),onMouseleave:Er,onClick:Ge=>qs(Q)},[e.createVNode(ie,{name:"tagIcon","font-size":"24",class:"icon"}),e.createElementVNode("div",yL,[e.createVNode(Go,{class:"tagtxt",text:Q.name||"-",location:e.unref(Sa)(),"max-lines":1,autoResize:!0},null,8,["text","location"])]),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(Ge=>W(Q),["stop"])},[e.createVNode(ie,{name:"removeIcon","font-size":"16"})],8,kL)],40,gL)]))),128))],32)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",sL,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value.tagContent.slice(0,3),Q=>(e.openBlock(),e.createElementBlock("div",{key:Q.name},[e.createElementVNode("div",{class:"tag-item my-tag-item",onMouseenter:Ge=>Tr(Ge,Q.name,"top",80),onMouseleave:Er,onClick:Ge=>qs(Q)},[e.createVNode(ie,{name:"tagIcon","font-size":"24",class:"icon"}),e.createElementVNode("div",dL,[e.createVNode(Go,{class:"tagtxt",text:Q.name||"-",location:e.unref(Sa)(),"max-lines":1,autoResize:!0},null,8,["text","location"])]),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(Ge=>W(Q),["stop"])},[e.createVNode(ie,{name:"removeIcon","font-size":"16"})],8,uL)],40,cL)]))),128))]),e.createElementVNode("div",{class:"show-all",onClick:L[24]||(L[24]=Q=>Sr.value=!0)},[e.createVNode(ie,{name:"verticalPoint","font-size":"24"}),e.createElementVNode("div",null,e.toDisplayString(e.unref(a)("seeAll")+" "+f.value.tagContent.length+" "+e.unref(a)("vehicles")),1)]),e.createElementVNode("div",fL,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value.tagContent.slice(f.value.tagContent.length-(f.value.tagContent.length%3?f.value.tagContent.length%3:3)),Q=>(e.openBlock(),e.createElementBlock("div",{key:Q.name},[e.createElementVNode("div",{class:"tag-item my-tag-item",onMouseenter:Ge=>Tr(Ge,Q.name,"top",80),onMouseleave:Er,onClick:Ge=>qs(Q)},[e.createVNode(ie,{name:"tagIcon","font-size":"24",class:"icon"}),e.createElementVNode("div",pL,[e.createVNode(Go,{class:"tagtxt",text:Q.name||"-",location:e.unref(Sa)(),"max-lines":1,autoResize:!0},null,8,["text","location"])]),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(Ge=>W(Q),["stop"])},[e.createVNode(ie,{name:"removeIcon","font-size":"16"})],8,hL)],40,mL)]))),128))])],64))],64)):(e.openBlock(),e.createElementBlock("div",vL,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value.tagContent,Q=>(e.openBlock(),e.createElementBlock("div",{key:Q.name},[e.createElementVNode("div",{class:"my-tag-item tag-item",onMouseenter:Ge=>Tr(Ge,Q.name,"top",80),onMouseleave:Er,onClick:Ge=>qs(Q)},[e.createVNode(ie,{name:"tagIcon","font-size":"24",class:"icon"}),e.createElementVNode("div",wL,[e.createVNode(Go,{class:"tagtxt",text:Q.name||"-",location:e.unref(Sa)(),"max-lines":1,autoResize:!0},null,8,["text","location"])]),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(Ge=>W(Q),["stop"])},[e.createVNode(ie,{name:"removeIcon","font-size":"16"})],8,CL)],40,bL)]))),128))]))],2)):e.createCommentVNode("",!0),t.loginInfo.type&&t.loginInfo.type!==3?(e.openBlock(),e.createElementBlock("div",TL,[e.createVNode(ie,{class:"tag-add",name:"plus","font-size":"32",color:"#9a9a9a",onClick:be})])):e.createCommentVNode("",!0),ve.value?(e.openBlock(),e.createElementBlock("div",EL,[e.createElementVNode("div",SL,[e.createElementVNode("div",NL,[e.createCommentVNode("",!0),e.createElementVNode("div",VL,e.toDisplayString(e.unref(a)("selected"))+":"+e.toDisplayString(e.unref(oe).filter(Q=>Q.checkValue).length),1)]),e.createElementVNode("div",BL,[e.createVNode(ie,{name:"closeIconNew","font-size":"32",color:"#9a9a9a",class:"icon-hover",style:{"margin-right":"16px"},onClick:Ne}),e.createVNode(ie,{name:"comfirmIcon","font-size":"32",color:"#0BA5EC",class:"icon-hover",onClick:dn})])]),e.createElementVNode("div",IL,[e.createVNode(e.unref(Yt),{modelValue:P.value,"onUpdate:modelValue":L[25]||(L[25]=Q=>P.value=Q),max:"64",class:"search-input",placeholder:e.unref(a)("search")+" "+e.unref(a)("tag")},{prefix:e.withCtx(()=>[e.createVNode(ie,{"font-size":"40",name:"searchIcon",color:"#000"})]),_:1},8,["modelValue","placeholder"])]),e.createElementVNode("div",AL,[e.createElementVNode("div",DL,[e.createVNode(ie,{class:"icon",name:"selectAllIcon","font-size":"24"}),e.createElementVNode("span",null,e.toDisplayString(e.unref(a)("selectAll")),1)]),e.createElementVNode("div",ML,[e.createVNode(Wa,{modelValue:cn.value,"onUpdate:modelValue":L[26]||(L[26]=Q=>cn.value=Q),indeterminate:gn.value,onChange:re,style:{"margin-right":"6px"}},null,8,["modelValue","indeterminate"])])]),L[64]||(L[64]=e.createElementVNode("div",{class:"fengexian"},null,-1)),e.createElementVNode("div",LL,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(oe),Q=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Q.name},[Q.isShow?(e.openBlock(),e.createElementBlock("div",xL,[e.createElementVNode("div",OL,[e.createVNode(ie,{name:"tagIcon","font-size":"24"}),e.createElementVNode("div",{style:{"margin-left":"8px"},class:"name",onMouseenter:Ge=>Tr(Ge,Q.name,"top",200),onMouseleave:Er},[e.createVNode(Go,{class:"tagtxt",text:Q.name,location:e.unref(Sa)(),"max-lines":1,autoResize:!0},null,8,["text","location"])],40,PL)]),e.createElementVNode("div",FL,[e.createVNode(ie,{class:"jump-icon",name:"jumpIcon","font-size":"32",color:"#000",style:{"margin-right":"16px"},onClick:Ge=>xe(Q)},null,8,["onClick"]),e.createVNode(Wa,{modelValue:Q.checkValue,"onUpdate:modelValue":Ge=>Q.checkValue=Ge,onChange:se},null,8,["modelValue","onUpdate:modelValue"])])])):e.createCommentVNode("",!0)],64))),128))]),L[65]||(L[65]=e.createElementVNode("div",{class:"fengexian"},null,-1)),e.createElementVNode("div",{class:"add-wrapper",onClick:st},[e.createVNode(ie,{class:"driver-add",name:"plus","font-size":"32",color:"#9a9a9a"}),e.createElementVNode("span",null,e.toDisplayString(e.unref(a)("createNewTag")),1)])])):e.createCommentVNode("",!0)])])]),_:1}),eg.value?(e.openBlock(),e.createElementBlock("div",zL,[e.createElementVNode("div",RL,[e.createElementVNode("div",HL,[e.createElementVNode("div",_L,e.toDisplayString(e.unref(a)("addSensor")),1),e.createElementVNode("div",YL,[e.createElementVNode("span",null,e.toDisplayString(e.unref(a)("tipChooseTheSensorToConfigure")),1),e.createElementVNode("span",null,e.toDisplayString(e.unref(a)("tipPurchaseItFirstToAddHere")),1)])]),e.createElementVNode("div",ZL,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Mn.value,Q=>(e.openBlock(),e.createElementBlock("div",{key:Q.label,class:"type-item"},[e.createElementVNode("span",null,e.toDisplayString(Q.label),1),e.createElementVNode("div",{class:e.normalizeClass(["checkbox",{checked:Q.checkValue}]),onClick:Ge=>m_(Q)},null,10,jL)]))),128))])]),Io("Light Hub")?(e.openBlock(),e.createElementBlock("div",UL,[Io("Light Hub")?(e.openBlock(),e.createElementBlock("div",WL,[e.createElementVNode("div",GL,e.toDisplayString(e.unref(a)("lightHub")),1),e.createElementVNode("div",KL,[Sn.value?(e.openBlock(),e.createBlock(Fe,{key:0,class:"box-item",effect:"dark",placement:"top","popper-class":"popper-cdSensor-tip","show-arrow":!1,"hide-after":0},{content:e.withCtx(()=>[e.createElementVNode("div",XL,[L[66]||(L[66]=e.createElementVNode("div",{class:"name"},[e.createTextVNode("ID "),e.createElementVNode("span",null,":")],-1)),e.createElementVNode("div",JL,e.toDisplayString(Sn.value),1),L[67]||(L[67]=e.createElementVNode("div",{class:"name",style:{"margin-top":"4px"}},[e.createTextVNode(" Mac address "),e.createElementVNode("span",null,":")],-1)),e.createElementVNode("div",$L,e.toDisplayString(Xs(Sn.value)),1)])]),default:e.withCtx(()=>[e.createElementVNode("div",qL,[e.createVNode(ie,{name:"lightHub","font-size":"32",color:"#000"}),e.createVNode(ie,{class:"icon-delete",name:"removeIcon","font-size":"16",color:"#fff",onClick:d_}),e.createElementVNode("div",QL,[e.createVNode(ie,{name:"edit18","font-size":"18",color:"#DFDFDF",onClick:L[27]||(L[27]=Q=>og(Sn.value))})])])]),_:1})):(e.openBlock(),e.createElementBlock("div",ex,[e.createVNode(ie,{class:"tag-add",name:"plus","font-size":"32",color:"#9a9a9a",onClick:L[28]||(L[28]=Q=>og(""))})]))])])):e.createCommentVNode("",!0),Sn.value&&Io("TPMS")?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[L[75]||(L[75]=e.createElementVNode("div",{class:"divider"},null,-1)),e.createElementVNode("div",tx,[e.createElementVNode("div",nx,[e.createElementVNode("span",null,e.toDisplayString(e.unref(a)("tirePressureMonitoringSensor")),1),e.createVNode(ie,{name:"tirePressureMonitoringSensor","font-size":"24"})]),e.createElementVNode("div",ox,[e.createElementVNode("div",ax,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(io.value,(Q,Ge)=>(e.openBlock(),e.createElementBlock("div",{class:"column",key:Ge},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([0,1],dt=>e.createElementVNode("div",{key:dt,class:e.normalizeClass(["sensor-item",{"hava-value":Q[dt]}]),onClick:Je=>ig(Q[dt],dt,Ge)},[Q[dt]?(e.openBlock(),e.createBlock(Fe,{key:0,class:"box-item",effect:"dark",placement:"top","popper-class":"popper-cdSensor-tip","show-arrow":!1,"hide-after":0,offset:8},{content:e.withCtx(()=>{var Je,Rn;return[e.createElementVNode("div",lx,[L[68]||(L[68]=e.createElementVNode("div",{class:"name"},"ID:",-1)),e.createElementVNode("div",ix,e.toDisplayString((Je=Q[dt])==null?void 0:Je.macId),1),L[69]||(L[69]=e.createElementVNode("div",{class:"name",style:{"margin-top":"4px"}},[e.createTextVNode(" Mac address "),e.createElementVNode("span",null,":")],-1)),e.createElementVNode("div",sx,e.toDisplayString(ng((Rn=Q[dt])==null?void 0:Rn.macId)),1)])]}),default:e.withCtx(()=>[L[70]||(L[70]=e.createElementVNode("div",{class:"value"},"TPMS",-1))]),_:2},1024)):(e.openBlock(),e.createBlock(ie,{key:1,name:"addIcon2","font-size":"24"})),Q[dt]?(e.openBlock(),e.createBlock(ie,{key:2,class:"btn-remove",name:"removeIcon","font-size":"16",color:"#fff",onClick:e.withModifiers(Je=>sg(dt,Ge),["stop"])},null,8,["onClick"])):e.createCommentVNode("",!0)],10,rx)),64))]))),128))]),L[74]||(L[74]=e.createElementVNode("div",{class:"tpms-center"},null,-1)),e.createElementVNode("div",cx,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(io.value,(Q,Ge)=>(e.openBlock(),e.createElementBlock("div",{class:"column",key:Ge},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([2,3],dt=>e.createElementVNode("div",{key:dt,class:e.normalizeClass(["sensor-item",{"hava-value":Q[dt]}]),onClick:Je=>ig(Q[dt],dt,Ge)},[Q[dt]?(e.openBlock(),e.createBlock(Fe,{key:0,class:"box-item",effect:"dark",placement:"top","popper-class":"popper-cdSensor-tip","show-arrow":!1,"hide-after":0,offset:8},{content:e.withCtx(()=>{var Je,Rn;return[e.createElementVNode("div",ux,[L[71]||(L[71]=e.createElementVNode("div",{class:"name"},"ID:",-1)),e.createElementVNode("div",fx,e.toDisplayString((Je=Q[dt])==null?void 0:Je.macId),1),L[72]||(L[72]=e.createElementVNode("div",{class:"name",style:{"margin-top":"4px"}},[e.createTextVNode(" Mac address "),e.createElementVNode("span",null,":")],-1)),e.createElementVNode("div",mx,e.toDisplayString(ng((Rn=Q[dt])==null?void 0:Rn.macId)),1)])]}),default:e.withCtx(()=>[L[73]||(L[73]=e.createElementVNode("div",{class:"value"},"TPMS",-1))]),_:2},1024)):(e.openBlock(),e.createBlock(ie,{key:1,name:"addIcon2","font-size":"24"})),Q[dt]?(e.openBlock(),e.createBlock(ie,{key:2,class:"btn-remove",name:"removeIcon","font-size":"16",color:"#fff",onClick:e.withModifiers(Je=>sg(dt,Ge),["stop"])},null,8,["onClick"])):e.createCommentVNode("",!0)],10,dx)),64))]))),128))])])])],64)):e.createCommentVNode("",!0),Io("Weight")?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[L[78]||(L[78]=e.createElementVNode("div",{class:"divider"},null,-1)),e.createElementVNode("div",px,[e.createElementVNode("div",hx,e.toDisplayString(e.unref(a)("weightSensor")),1),e.createElementVNode("div",gx,[$n.value?(e.openBlock(),e.createBlock(Fe,{key:0,class:"box-item",effect:"dark",placement:"top","popper-class":"popper-cdSensor-tip","show-arrow":!1,"hide-after":0},{content:e.withCtx(()=>[e.createElementVNode("div",vx,[L[76]||(L[76]=e.createElementVNode("div",{class:"name"},[e.createTextVNode("ID "),e.createElementVNode("span",null,":")],-1)),e.createElementVNode("div",bx,e.toDisplayString($n.value),1),L[77]||(L[77]=e.createElementVNode("div",{class:"name",style:{"margin-top":"4px"}},[e.createTextVNode(" Mac address "),e.createElementVNode("span",null,":")],-1)),e.createElementVNode("div",wx,e.toDisplayString(Xs($n.value)),1)])]),default:e.withCtx(()=>[e.createElementVNode("div",yx,[e.createVNode(ie,{name:"sensor-weight","font-size":"32",color:"#000"}),e.createVNode(ie,{class:"icon-delete",name:"removeIcon","font-size":"16",color:"#fff",onClick:FH}),e.createElementVNode("div",kx,[e.createVNode(ie,{name:"edit18","font-size":"18",color:"#DFDFDF",onClick:L[29]||(L[29]=Q=>Q2($n.value))})])])]),_:1})):(e.openBlock(),e.createElementBlock("div",Cx,[e.createVNode(ie,{class:"tag-add",name:"plus","font-size":"32",color:"#9a9a9a",onClick:L[30]||(L[30]=Q=>Q2(""))})]))])])],64)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),Io("Trailer Lock")?(e.openBlock(),e.createElementBlock("div",Tx,[e.createElementVNode("div",Ex,e.toDisplayString(e.unref(a)("BTLSensor")),1),e.createElementVNode("div",Sx,[so.value?(e.openBlock(),e.createBlock(Fe,{key:0,class:"box-item",effect:"dark",placement:"top","popper-class":"popper-cdSensor-tip","show-arrow":!1,"hide-after":0},{content:e.withCtx(()=>[e.createElementVNode("div",Bx,[L[79]||(L[79]=e.createElementVNode("div",{class:"name"},[e.createTextVNode("ID "),e.createElementVNode("span",null,":")],-1)),e.createElementVNode("div",Ix,e.toDisplayString(so.value),1),L[80]||(L[80]=e.createElementVNode("div",{class:"name",style:{"margin-top":"4px"}},[e.createTextVNode(" Mac address "),e.createElementVNode("span",null,":")],-1)),e.createElementVNode("div",Ax,e.toDisplayString(Xs(so.value)),1)])]),default:e.withCtx(()=>[e.createElementVNode("div",Nx,[e.createVNode(ie,{name:"sensor-BTLock","font-size":"32",color:"#000"}),e.createVNode(ie,{class:"icon-delete",name:"removeIcon","font-size":"16",color:"#fff",onClick:YH}),e.createElementVNode("div",Vx,[e.createVNode(ie,{name:"edit18","font-size":"18",color:"#DFDFDF",onClick:L[31]||(L[31]=Q=>J2(so.value))})])])]),_:1})):(e.openBlock(),e.createElementBlock("div",Dx,[e.createVNode(ie,{class:"tag-add",name:"plus","font-size":"32",color:"#9a9a9a",onClick:L[32]||(L[32]=Q=>J2(""))})]))])])):e.createCommentVNode("",!0),Io("Container Detection")&&Io("Trailer Lock")?(e.openBlock(),e.createElementBlock("div",Mx)):e.createCommentVNode("",!0),t.loginInfo.type&&(t.loginInfo.type===1||t.loginInfo.type===2)&&Ru.value&&Io("Container Detection")?(e.openBlock(),e.createElementBlock("div",Lx,[e.createElementVNode("div",xx,[e.createElementVNode("div",Ox,e.toDisplayString(e.unref(a)("containerDetectionSensor")),1)]),e.createElementVNode("div",Px,[An.value?(e.openBlock(),e.createBlock(Fe,{key:0,class:"box-item",effect:"dark",placement:"top","popper-class":"popper-cdSensor-tip","show-arrow":!1,"hide-after":0},{content:e.withCtx(()=>[e.createElementVNode("div",Rx,[L[81]||(L[81]=e.createElementVNode("div",{class:"name"},[e.createTextVNode("ID "),e.createElementVNode("span",null,":")],-1)),e.createElementVNode("div",Hx,e.toDisplayString(An.value),1),L[82]||(L[82]=e.createElementVNode("div",{class:"name",style:{"margin-top":"4px"}},[e.createTextVNode(" Mac address "),e.createElementVNode("span",null,":")],-1)),e.createElementVNode("div",_x,e.toDisplayString(r_()),1)])]),default:e.withCtx(()=>[e.createElementVNode("div",Fx,[e.createVNode(ie,{name:"containerDetectionSensor","font-size":"32",color:"#000"}),e.createVNode(ie,{class:"icon-delete",name:"removeIcon","font-size":"16",color:"#fff",onClick:t_}),e.createElementVNode("div",zx,[e.createVNode(ie,{name:"edit18","font-size":"18",color:"#DFDFDF",onClick:o_})])])]),_:1})):(e.openBlock(),e.createElementBlock("div",Yx,[e.createVNode(ie,{class:"tag-add",name:"plus","font-size":"32",color:"#9a9a9a",onClick:n_})]))])])):e.createCommentVNode("",!0),Io("Temp & Humidity")&&(Io("Trailer Lock")||Io("Container Detection"))?(e.openBlock(),e.createElementBlock("div",Zx)):e.createCommentVNode("",!0),Io("Temp & Humidity")?(e.openBlock(),e.createElementBlock("div",jx,[e.createElementVNode("div",Ux,e.toDisplayString(e.unref(a)("THSensor")),1),e.createElementVNode("div",Wx,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(rn.value,(Q,Ge)=>(e.openBlock(),e.createBlock(Fe,{key:Q.macId,class:"box-item",effect:"dark",placement:"top","popper-class":"popper-cdSensor-tip","show-arrow":!1,"hide-after":0},{content:e.withCtx(()=>[e.createElementVNode("div",Jx,[L[83]||(L[83]=e.createElementVNode("div",{class:"name"},[e.createTextVNode("ID "),e.createElementVNode("span",null,":")],-1)),e.createElementVNode("div",$x,e.toDisplayString(Q.macId),1),L[84]||(L[84]=e.createElementVNode("div",{class:"name",style:{"margin-top":"4px"}},[e.createTextVNode(" Mac address "),e.createElementVNode("span",null,":")],-1)),e.createElementVNode("div",eO,e.toDisplayString(Xs(Q.macId)),1)])]),default:e.withCtx(()=>[e.createElementVNode("div",Gx,[e.createVNode(ie,{name:"sensor-temp&humidity","font-size":"16",color:"#000"}),e.createElementVNode("span",Kx,e.toDisplayString(Q.name),1),e.createVNode(ie,{class:"icon-delete",name:"removeIcon","font-size":"16",color:"#fff",onClick:dt=>WH(Ge)},null,8,["onClick"]),e.createElementVNode("div",qx,[Ge!==0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"move-item",onClick:dt=>GH(Ge)},[e.createVNode(ie,{name:"sensor-move-left","font-size":"24"})],8,Qx)):e.createCommentVNode("",!0),Ge!==rn.value.length-1?(e.openBlock(),e.createElementBlock("div",{key:1,class:"move-item",onClick:dt=>KH(Ge)},[e.createVNode(ie,{name:"sensor-move-right","font-size":"24"})],8,Xx)):e.createCommentVNode("",!0)])])]),_:2},1024))),128)),rn.value.length<3?(e.openBlock(),e.createElementBlock("div",tO,[e.createVNode(ie,{class:"tag-add",name:"plus","font-size":"32",color:"#9a9a9a",onClick:L[33]||(L[33]=Q=>ZH(""))})])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),(t.loginInfo.type&&(t.loginInfo.type===1||t.loginInfo.type===2)&&XH.value,e.createCommentVNode("",!0)),(t.loginInfo.type&&(t.loginInfo.type===1||t.loginInfo.type===2)&&Ru.value,e.createCommentVNode("",!0)),e.createVNode(ee,{label:e.unref(a)("description"),prop:"description"},{default:e.withCtx(()=>[e.createVNode(e.unref(Yt),{modelValue:f.value.description,"onUpdate:modelValue":L[36]||(L[36]=Q=>f.value.description=Q),placeholder:e.unref(a)("typeInContent"),type:"textarea",autosize:!1,"show-word-limit":"",maxlength:250},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),un.value.length?(e.openBlock(),e.createBlock(ee,{key:3},{default:e.withCtx(()=>[e.createElementVNode("div",nO,[e.createElementVNode("div",oO,e.toDisplayString(e.unref(a)("history")),1),e.createElementVNode("div",aO,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(un.value,(Q,Ge)=>(e.openBlock(),e.createElementBlock("div",{key:Ge,class:"bound-year"},[e.createElementVNode("div",rO,e.toDisplayString(Q),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(G.value[Q],(dt,Je)=>(e.openBlock(),e.createElementBlock("div",{key:Je,index:Je,class:"year-content"},[e.createElementVNode("div",{class:e.normalizeClass(["left","left"+Number(Je)%4])},null,2),e.createElementVNode("div",iO,[e.createElementVNode("div",null,e.toDisplayString(dt.endTime||"To future"),1),e.createElementVNode("div",null,e.toDisplayString(dt.startTime),1)]),e.createElementVNode("div",sO,[dt.userPackageId?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(ie,{name:"monitorIconCpu ","font-size":"24"}),e.createElementVNode("span",null,e.toDisplayString(dt.userPackageId),1),dt.endTime?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",cO," Current "))],64)):(e.openBlock(),e.createElementBlock("div",dO,e.toDisplayString(e.unref(a)("noData")),1))])],8,lO))),128))]))),128))])])]),_:1})):e.createCommentVNode("",!0)])])]),_:1},8,["model","rules"])]),_:1}))]),_:1},8,["modelValue","title"]),e.createVNode(Fe,{ref_key:"tooltipRef",ref:fn,visible:jt.value,placement:ii.value,"hide-after":0,"popper-options":{modifiers:[{name:"computeStyles",options:{adaptive:!1,enabled:!1}}]},"virtual-ref":yn.value,"virtual-triggering":"","popper-class":"singleton-tooltip-tag"},{content:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(Jn.value),1)]),_:1},8,["visible","placement","virtual-ref"]),e.createVNode(Ao,{modelValue:fi.value,"onUpdate:modelValue":L[40]||(L[40]=Q=>fi.value=Q),width:"495",top:"0","before-close":_u,"show-close":!1,"close-on-click-modal":!1,"modal-class":"dialog-ConDetSensor-confrim"},{default:e.withCtx(()=>[e.createElementVNode("div",mO,[e.createElementVNode("div",pO,[e.createElementVNode("div",hO,[e.createVNode(ie,{name:"containerDetectionSensor","font-size":"32"})]),e.createElementVNode("div",gO,e.toDisplayString(An.value?e.unref(a)("editConDetSensor"):e.unref(a)("addConDetSensor")),1),e.createElementVNode("div",{class:"close",onClick:_u},[e.createVNode(ie,{name:"closeElMessageBox","font-size":"32"})])]),e.createElementVNode("div",yO,[e.createVNode(e.unref(Yt),{modelValue:Qs.value,"onUpdate:modelValue":L[39]||(L[39]=Q=>Qs.value=Q),placeholder:String(hl.value)||e.unref(a)("placeholderOfSensor"),onInput:JH,onBlur:$H},{suffix:e.withCtx(()=>[e.createVNode(wt,{placement:"bottom-end",width:227,trigger:"click","popper-class":"popper-conDetSensor",visible:Hu.value,"onUpdate:visible":L[38]||(L[38]=Q=>Hu.value=Q),ref_key:"popperConDetSensorRef",ref:tg,"hide-after":0,offset:10},{reference:e.withCtx(()=>[e.createVNode(ie,{class:"icon hover-animation",name:"xiajiantou","font-size":"24"})]),default:e.withCtx(()=>[e.createElementVNode("div",kO,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ci.value,Q=>(e.openBlock(),e.createElementBlock("div",{class:"item",key:Q.id,onClick:e.withModifiers(Ge=>a_(Q),["stop"])},[e.createVNode(ie,{name:"containerDetectionSensor","font-size":"24"}),e.createElementVNode("div",null,[e.createElementVNode("div",null,e.toDisplayString(Q.macId),1),e.createElementVNode("div",bO,e.toDisplayString(Q.mac),1)])],8,vO))),128))])]),_:1},8,["visible"])]),_:1},8,["modelValue","placeholder"]),e.createElementVNode("div",null,[e.createVNode(e.unref(Bn),{style:{height:"40px"},type:"primary",onClick:e_},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("save")),1)]),_:1})])])])]),_:1},8,["modelValue"]),e.createVNode(Ao,{modelValue:Js.value,"onUpdate:modelValue":L[43]||(L[43]=Q=>Js.value=Q),width:"495",top:"0","before-close":Zu,"show-close":!1,"close-on-click-modal":!1,"modal-class":"dialog-ConDetSensor-confrim"},{default:e.withCtx(()=>[e.createElementVNode("div",wO,[e.createElementVNode("div",CO,[e.createElementVNode("div",TO,[e.createVNode(ie,{name:"lightHub","font-size":"32"})]),e.createElementVNode("div",EO,e.toDisplayString(Sn.value?e.unref(a)("editLightHub"):e.unref(a)("addLightHub")),1),e.createElementVNode("div",{class:"close",onClick:Zu},[e.createVNode(ie,{name:"closeElMessageBox","font-size":"32"})])]),e.createElementVNode("div",SO,[e.createVNode(e.unref(Yt),{modelValue:$s.value,"onUpdate:modelValue":L[42]||(L[42]=Q=>$s.value=Q),placeholder:String(mi.value)||e.unref(a)("lightHubPlaceholder"),onInput:l_,onBlur:i_},{suffix:e.withCtx(()=>[e.createVNode(wt,{placement:"bottom-end",width:227,trigger:"click","popper-class":"popper-conDetSensor",ref_key:"popperLightHubRef",ref:ag,visible:Yu.value,"onUpdate:visible":L[41]||(L[41]=Q=>Yu.value=Q),"hide-after":0,offset:10},{reference:e.withCtx(()=>[e.createVNode(ie,{class:"icon hover-animation",name:"xiajiantou","font-size":"24"})]),default:e.withCtx(()=>[e.createElementVNode("div",NO,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ct.value,Q=>(e.openBlock(),e.createElementBlock("div",{class:"item",key:Q.id,onClick:e.withModifiers(Ge=>c_(Q),["stop"])},[e.createVNode(ie,{name:"lightHub","font-size":"24"}),e.createElementVNode("div",null,[e.createElementVNode("div",null,e.toDisplayString(Q.macId),1),e.createElementVNode("div",BO,e.toDisplayString(Q.mac),1)])],8,VO))),128))])]),_:1},8,["visible"])]),_:1},8,["modelValue","placeholder"]),e.createElementVNode("div",null,[e.createVNode(e.unref(Bn),{style:{height:"40px"},type:"primary",onClick:s_},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("save")),1)]),_:1})])])])]),_:1},8,["modelValue"]),e.createVNode(Ao,{modelValue:_s.value,"onUpdate:modelValue":L[46]||(L[46]=Q=>_s.value=Q),width:"495",top:"0","before-close":Pu,"show-close":!1,"close-on-click-modal":!1,"modal-class":"dialog-ConDetSensor-confrim"},{default:e.withCtx(()=>[e.createElementVNode("div",IO,[e.createElementVNode("div",AO,[e.createElementVNode("div",DO,[e.createVNode(ie,{name:"sensor-weight","font-size":"32"})]),e.createElementVNode("div",MO,e.toDisplayString($n.value?e.unref(a)("editWeightSensor"):e.unref(a)("addWeightSensor")),1),e.createElementVNode("div",{class:"close",onClick:Pu},[e.createVNode(ie,{name:"closeElMessageBox","font-size":"32"})])]),e.createElementVNode("div",LO,[e.createVNode(e.unref(Yt),{modelValue:Ys.value,"onUpdate:modelValue":L[45]||(L[45]=Q=>Ys.value=Q),placeholder:String(di.value)||e.unref(a)("placeholderOfSensor"),onInput:LH,onBlur:xH},{suffix:e.withCtx(()=>[e.createVNode(wt,{placement:"bottom-end",width:227,trigger:"click","popper-class":"popper-conDetSensor",ref_key:"popperWeightSensorRef",ref:X2,visible:Ou.value,"onUpdate:visible":L[44]||(L[44]=Q=>Ou.value=Q),"hide-after":0,offset:10},{reference:e.withCtx(()=>[e.createVNode(ie,{class:"icon hover-animation",name:"xiajiantou","font-size":"24"})]),default:e.withCtx(()=>[e.createElementVNode("div",xO,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Bo.value,Q=>(e.openBlock(),e.createElementBlock("div",{class:"item",key:Q.id,onClick:e.withModifiers(Ge=>OH(Q),["stop"])},[e.createVNode(ie,{name:"sensor-weight","font-size":"24"}),e.createElementVNode("div",null,[e.createElementVNode("div",null,e.toDisplayString(Q.macId),1),e.createElementVNode("div",PO,e.toDisplayString(Q.mac),1)])],8,OO))),128))])]),_:1},8,["visible"])]),_:1},8,["modelValue","placeholder"]),e.createElementVNode("div",null,[e.createVNode(e.unref(Bn),{style:{height:"40px"},type:"primary",onClick:PH},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("save")),1)]),_:1})])])])]),_:1},8,["modelValue"]),e.createVNode(Ao,{modelValue:Zs.value,"onUpdate:modelValue":L[49]||(L[49]=Q=>Zs.value=Q),width:"495",top:"0","before-close":zu,"show-close":!1,"close-on-click-modal":!1,"modal-class":"dialog-ConDetSensor-confrim"},{default:e.withCtx(()=>[e.createElementVNode("div",FO,[e.createElementVNode("div",zO,[e.createElementVNode("div",RO,[e.createVNode(ie,{name:"sensor-BTLock","font-size":"32"})]),e.createElementVNode("div",HO,e.toDisplayString(so.value?e.unref(a)("editBTLSensor"):e.unref(a)("addBTLSensor")),1),e.createElementVNode("div",{class:"close",onClick:zu},[e.createVNode(ie,{name:"closeElMessageBox","font-size":"32"})])]),e.createElementVNode("div",_O,[e.createVNode(e.unref(Yt),{modelValue:js.value,"onUpdate:modelValue":L[48]||(L[48]=Q=>js.value=Q),placeholder:String(ui.value)||e.unref(a)("placeholderOfSensor"),onInput:zH,onBlur:RH},{suffix:e.withCtx(()=>[e.createVNode(wt,{placement:"bottom-end",width:227,trigger:"click","popper-class":"popper-conDetSensor",ref_key:"popperBTLSensorRef",ref:$2,visible:Fu.value,"onUpdate:visible":L[47]||(L[47]=Q=>Fu.value=Q),"hide-after":0,offset:10},{reference:e.withCtx(()=>[e.createVNode(ie,{class:"icon hover-animation",name:"xiajiantou","font-size":"24"})]),default:e.withCtx(()=>[e.createElementVNode("div",YO,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(pn.value,Q=>(e.openBlock(),e.createElementBlock("div",{class:"item",key:Q.id,onClick:e.withModifiers(Ge=>HH(Q),["stop"])},[e.createVNode(ie,{name:"sensor-BTLock","font-size":"24"}),e.createElementVNode("div",null,[e.createElementVNode("div",null,e.toDisplayString(Q.macId),1),e.createElementVNode("div",jO,e.toDisplayString(Q.mac),1)])],8,ZO))),128))])]),_:1},8,["visible"])]),_:1},8,["modelValue","placeholder"]),e.createElementVNode("div",null,[e.createVNode(e.unref(Bn),{style:{height:"40px"},type:"primary",onClick:_H},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("save")),1)]),_:1})])])])]),_:1},8,["modelValue"]),e.createVNode(Ao,{modelValue:ec.value,"onUpdate:modelValue":L[51]||(L[51]=Q=>ec.value=Q),width:"472",top:"0","before-close":nc,"show-close":!1,"close-on-click-modal":!1,"modal-class":"dialog-TPMSensor-confrim"},{default:e.withCtx(()=>[e.createElementVNode("div",UO,[e.createElementVNode("div",WO,[e.createElementVNode("div",GO,[e.createVNode(ie,{name:"tirePressureMonitoringSensor","font-size":"32"})]),e.createElementVNode("div",{class:"close",onClick:nc},[e.createVNode(ie,{name:"closeElMessageBox","font-size":"32"})])]),e.createElementVNode("div",KO,[L[98]||(L[98]=e.createElementVNode("div",{class:"text"},[e.createElementVNode("span",{class:"word"}," Choose a tire pressure sensors for the selected tires: ")],-1)),e.createElementVNode("div",qO,[e.createVNode(e.unref(Yt),{modelValue:tc.value,"onUpdate:modelValue":L[50]||(L[50]=Q=>tc.value=Q),placeholder:e.unref(a)("placeholderOfSensor"),onInput:u_},null,8,["modelValue","placeholder"])]),e.createElementVNode("div",QO,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Wo.value,Q=>{var Ge,dt;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["tpms-item",{active:Q.macId===((Ge=sa.value)==null?void 0:Ge.macId)}]),key:Q,onClick:Je=>sa.value=Q},[e.createElementVNode("div",JO,[L[97]||(L[97]=e.createElementVNode("div",{class:"btn"},"TPMS",-1)),e.createElementVNode("div",null,[e.createElementVNode("div",null,e.toDisplayString(Q.macId),1),e.createElementVNode("div",$O,e.toDisplayString(Q.mac),1)])]),Q.macId===((dt=sa.value)==null?void 0:dt.macId)?(e.openBlock(),e.createBlock(ie,{key:0,name:"device-gou","font-size":"24"})):e.createCommentVNode("",!0)],10,XO)}),128))])]),e.createElementVNode("div",eP,[e.createVNode(e.unref(Bn),{style:{width:"78px",height:"40px",color:"#000"},onClick:nc},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("cancel")),1)]),_:1}),e.createVNode(e.unref(Bn),{style:{height:"40px"},type:"primary",onClick:f_},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("save")),1)]),_:1})])])]),_:1},8,["modelValue"]),e.createVNode(Ao,{modelValue:Us.value,"onUpdate:modelValue":L[54]||(L[54]=Q=>Us.value=Q),width:"472",top:"0","before-close":Ks,"show-close":!1,"close-on-click-modal":!1,"modal-class":"dialog-TPMSensor-confrim dialog-THSensor-confrim"},{default:e.withCtx(()=>[e.createElementVNode("div",tP,[e.createElementVNode("div",nP,[e.createElementVNode("div",oP,[e.createVNode(ie,{name:"sensor-temp&humidity","font-size":"16",color:"#000"})]),e.createElementVNode("div",null,e.toDisplayString(e.unref(a)("addTHSensor")),1),e.createElementVNode("div",{class:"close",onClick:Ks},[e.createVNode(ie,{name:"closeElMessageBox","font-size":"32"})])]),e.createElementVNode("div",aP,[e.createElementVNode("div",rP,[e.createElementVNode("span",lP,e.toDisplayString(e.unref(a)("macAddress"))+":",1)]),e.createElementVNode("div",iP,[e.createVNode(e.unref(Yt),{modelValue:Ws.value,"onUpdate:modelValue":L[52]||(L[52]=Q=>Ws.value=Q),placeholder:e.unref(a)("placeholderOfSensor"),onInput:jH},null,8,["modelValue","placeholder"])]),e.createElementVNode("div",sP,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(q2.value,Q=>{var Ge,dt;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["tpms-item",{active:Q.macId===((Ge=pl.value)==null?void 0:Ge.macId)}]),key:Q,onClick:Je=>pl.value=Q},[e.createElementVNode("div",dP,[e.createElementVNode("div",uP,[e.createVNode(ie,{name:"sensor-temp&humidity","font-size":"16"})]),e.createElementVNode("div",null,[e.createElementVNode("div",null,e.toDisplayString(Q.macId),1),e.createElementVNode("div",fP,e.toDisplayString(Q.mac),1)])]),Q.macId===((dt=pl.value)==null?void 0:dt.macId)?(e.openBlock(),e.createBlock(ie,{key:0,name:"device-gou","font-size":"24"})):e.createCommentVNode("",!0)],10,cP)}),128)),q2.value.length===0?(e.openBlock(),e.createElementBlock("div",mP,e.toDisplayString(e.unref(a)("noData")),1)):e.createCommentVNode("",!0)])]),e.createElementVNode("div",pP,[e.createElementVNode("div",hP,[e.createElementVNode("span",gP,e.toDisplayString(e.unref(a)("nameThisSensor"))+":",1)]),e.createElementVNode("div",yP,[e.createVNode(e.unref(Yt),{modelValue:Gs.value,"onUpdate:modelValue":L[53]||(L[53]=Q=>Gs.value=Q),placeholder:e.unref(a)("placeholderOfSensorName")},null,8,["modelValue","placeholder"])])]),e.createElementVNode("div",kP,[e.createVNode(e.unref(Bn),{style:{width:"78px",height:"40px",color:"#000"},onClick:Ks},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("cancel")),1)]),_:1}),e.createVNode(e.unref(Bn),{style:{width:"121px",height:"40px"},type:"primary",onClick:UH},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("add")),1)]),_:1})])])]),_:1},8,["modelValue"]),me.value?(e.openBlock(),e.createBlock(Ir,{key:0,modelValue:me.value,"onUpdate:modelValue":L[55]||(L[55]=Q=>me.value=Q),loginInfo:t.loginInfo,customerHabit:e.unref(s),itemData:Se.value,allVehicles:t.allVehicles,allAssetTypes:t.allAssetTypes,allDevices:t.allDevices,modelTypes:t.modelTypes,allVehicleToDevice:t.allVehicleToDevice,allTags:t.allTags,allLandmarks:t.allLandmarks,landmarkGroup:t.landmarkGroup,saveFunctionTag:t.saveFunctionTag,assetTypeFn:e.unref(c),bindDeviceHis:e.unref(d),deviceBindTimeLimit:e.unref(u),saveFunctionVehicle:e.unref(y),unitAllState:t.unitAllState,GOOGLE_MAP_API_KEY:t.GOOGLE_MAP_API_KEY,MAP_STYLES:t.MAP_STYLES,searhTrimblemapAddress:t.searhTrimblemapAddress,saveFunctionLandmark:t.saveFunctionLandmark,conDetSensorList:e.unref(p)},null,8,["modelValue","loginInfo","customerHabit","itemData","allVehicles","allAssetTypes","allDevices","modelTypes","allVehicleToDevice","allTags","allLandmarks","landmarkGroup","saveFunctionTag","assetTypeFn","bindDeviceHis","deviceBindTimeLimit","saveFunctionVehicle","unitAllState","GOOGLE_MAP_API_KEY","MAP_STYLES","searhTrimblemapAddress","saveFunctionLandmark","conDetSensorList"])):e.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-939c005c"]]),wP={class:"sub-title"},CP={class:"content-wrapper"},TP={class:"title"},EP={class:"many-tag"},SP=["onMouseenter","onClick"],NP={class:"bound-tagitem-name"},VP=["onClick"],BP={class:"many-tag"},IP=["onMouseenter","onClick"],AP={class:"bound-tagitem-name"},DP=["onClick"],MP=["onMouseenter","onClick"],LP={class:"bound-tagitem-name"},xP=["onClick"],OP={key:1,class:"less-tag"},PP=["onMouseenter","onClick"],FP={class:"bound-tagitem-name"},zP=["onClick"],RP={class:"list-item-left"},HP={class:"name"},_P={class:"num"},YP={class:"list-item-left"},ZP={class:"name"},jP={class:"num"},UP={class:"list-item-left"},WP={class:"name"},GP={class:"num"},KP={class:"title"},qP={class:"title-left"},QP={class:"select-num"},XP={class:"title-right"},JP={style:{"margin-right":"8px"}},$P={key:0,class:"input-type"},eF={key:1,class:"input-wrapper"},tF={key:2,class:"input-wrapper2"},nF={class:"icon"},oF={class:"select-wrapper"},aF={class:"select-left"},rF={style:{"margin-left":"3px"}},lF={class:"right"},iF={class:"all-list-content"},sF={key:0,class:"select-item"},cF={class:"left"},dF={class:"name",style:{"margin-left":"8px","vertical-align":"middle"}},uF={class:"right"},fF={key:1,class:"mask"},mF={class:"loading-container"},pF={style:{flex:"auto"}},hF=bt(e.defineComponent({__name:"AddOrEditTag",props:{modelValue:{type:Boolean,required:!0,default:!1},loading:{type:Boolean,default:!1},loginInfo:{type:Object,required:!0,default(){return{}}},itemData:{type:Object,default:()=>({})},allVehicles:{type:Array,default:()=>[]},allDevices:{type:Array,default:()=>[]},allTags:{type:Array,default:()=>[]},allLandmarks:{type:Array,default:()=>[]},landmarkGroup:{type:Array,default:()=>[]},isNeedAdd:{type:String,default:""},saveFunctionTag:{type:Function,required:!0,default(){return()=>new Promise(t=>{t([])})}},customerHabit:{type:Object,required:!0,default(){return{}}},allAssetTypes:{type:Array,required:!0,default(){return[]}},modelTypes:{type:Object,required:!0,default(){return{}}},allVehicleToDevice:{type:Array,required:!0,default(){return[]}},assetTypeFn:{type:Function,required:!0,default(){return()=>new Promise(t=>{t([])})}},bindDeviceHis:{type:Function,required:!0,default(){return()=>new Promise(t=>{t([])})}},deviceBindTimeLimit:{type:Function,required:!0,default(){return()=>new Promise(t=>{t([])})}},saveFunctionVehicle:{type:Function,required:!0,default(){return()=>new Promise(t=>{t([])})}},unitAllState:{type:Array,default:()=>[]},GOOGLE_MAP_API_KEY:{type:String,required:!0,default:""},MAP_STYLES:{type:Array,default:()=>[]},searhTrimblemapAddress:{type:Function,required:!0,default(){return()=>new Promise(t=>{t([])})}},saveFunctionLandmark:{type:Function,required:!0,default(){return()=>new Promise(t=>{t([])})}},conDetSensorList:{type:Array,default:()=>[]},needConDetSensor:{type:Boolean,default:!0},needShowList:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{expose:n,emit:o}){const a=ai(),{t:r}=Cn(),l=t,{modelValue:i,saveFunctionTag:s}=e.toRefs(l),c=o,d=e.computed({get(){return i.value},set(re){c("update:modelValue",re)}}),u={name:[{required:!0,message:r("nameTip")}]},y=e.computed(()=>{var re;return(re=l.itemData)!=null&&re.id?r("editThisTag"):r("createTag")}),p=e.ref({landmark:[],vehicle:[],device:[],tag:[]}),m=e.ref({}),v=e.ref({id:"",name:"",description:"",content:{vehicle:[],device:[],tag:[],landmark:[]}}),h=()=>{var re,se,me,Se;if(p.value.vehicle=l.allVehicles,p.value.device=l.allDevices,p.value.tag=l.allTags,p.value.landmark=l.allLandmarks,l.itemData&&l.itemData.id){let xe=l.allTags.find(st=>st.id===l.itemData.id);if(xe){let st=l.allVehicles.filter(Nt=>xe.content.vehicle.includes(Nt.id)).map(Nt=>({name:Nt.name,id:Nt.id})),dn=l.allDevices.filter(Nt=>{var lo;return(lo=xe.content.device)==null?void 0:lo.includes(Nt.id)}).map(Nt=>({name:Nt.userPackageId,id:Nt.id})),Ft=l.allTags.filter(Nt=>xe.content.tag.includes(Nt.id)).map(Nt=>({name:Nt.name,id:Nt.id})),ro=l.allLandmarks.filter(Nt=>xe.content.landmark.includes(Nt.id)).map(Nt=>({name:Nt.name,id:Nt.id}));v.value={id:xe.id,name:xe.name,description:xe.content.description,content:{vehicle:st,device:dn,tag:Ft,landmark:ro}}}m.value={id:v.value.id,name:v.value.name,description:v.value.description,content:{landmark:((re=v.value.content)==null?void 0:re.landmark)||[],vehicle:((se=v.value.content)==null?void 0:se.vehicle)||[],device:((me=v.value.content)==null?void 0:me.device)||[],tag:((Se=v.value.content)==null?void 0:Se.tag)||[]}}}else{let xe=[];l.itemData&&l.itemData.vehicles&&l.itemData.vehicles.length&&(xe=l.allVehicles.filter(st=>{var dn;return(dn=l.itemData.vehicles)==null?void 0:dn.includes(st.id)}).map(st=>({name:st.name,id:st.id}))),m.value={id:"",name:"",description:"",content:{landmark:[],vehicle:xe,device:[],tag:[]}}}},g=e.ref(!1),k=e.ref(),T=e.ref(!1),f=()=>{var re;if(O.value){ue();return}T.value=!1,(re=k.value)==null||re.validate(async se=>{if(!se)return;const me={...m.value,content:{landmark:m.value.content.landmark.map(xe=>xe.id)||[],vehicle:m.value.content.vehicle.map(xe=>xe.id)||[],device:m.value.content.device.map(xe=>xe.id)||[],tag:m.value.content.tag.map(xe=>xe.id)||[]}};T.value=!0;let Se={content:{}};if(me.id){for(let xe of Object.keys(me))if(me[xe]!==v.value[xe])if(typeof me[xe]=="object")for(const st of Object.keys(me[xe]))JSON.stringify(me[xe][st])!=JSON.stringify(v.value[xe][st])&&(Se[xe][st]=me[xe][st]);else Se[xe]=me[xe];Se.id=me.id}if(delete Se.tagType,delete me.tagType,me.id?(Se.content.modifyTime=K(new Date).utc().format("YYYY-MM-DDTHH:mm:ss[Z]"),v.value.description!==me.description&&(Se.content.description=me.description)):(me.content.createTime=K(new Date).utc().format("YYYY-MM-DDTHH:mm:ss[Z]"),me.description&&(me.content.description=me.description)),delete me.description,delete Se.description,me.id&&Object.keys(Se.content).length===1&&Object.keys(Se.content)[0]==="modifyTime"&&!Se.name){T.value=!1,d.value=!1;return}await s.value(me.id?Se:me,b,w)})},b=()=>{a.success("Saved successfully!"),T.value=!1,Jt()},w=()=>{T.value=!1},E=(re,se)=>{if(re==="landmark"&&se&&se.id){let me=l.allLandmarks.find(Se=>Se.id===se.id);return me&&me.content.landmarkType?"landmark-group"+me.content.landmarkType:"landmarkIcon"}return re==="landmark"?"landmarkIcon":re==="vehicle"?"vehicleIcon":re==="device"?"monitorIconCpu":"tagIcon"},C=re=>{let se=l.allVehicles.find(me=>me.id===re);return se?"vehicle-"+se.content.newIcon:"vehicleIcon"};e.watch(()=>d.value,re=>{var se;re?l.needShowList&&(g.value=!0):(m.value={},(se=k.value)==null||se.resetFields(),g.value=!1,O.value=!1,ve.value=!1,be.value="",v.value={id:"",name:"",description:"",content:{vehicle:[],device:[],tag:[],landmark:[]}},Ne.value=!1)});const D=()=>Ls(K.utc().format()),S=e.computed(()=>{let re=[];return m.value.content&&Object.keys(m.value.content).forEach(se=>{let me=m.value.content[se];me=me.map(Se=>({...Se,type:se})),re.push(...me)}),re}),V=e.ref(),B=e.ref(),N=e.ref(),j=re=>{try{if(g.value&&!O.value&&B.value){let se=B.value.contains(re.target),me=V.value.contains(re.target);!se&&!me&&(g.value=!1)}if(O.value&&N.value){let se=N.value.contains(re.target),me=B.value.contains(re.target);!se&&!me&&(O.value=!1)}}catch(se){console.log("error",se)}},O=e.ref(!1),I=e.ref([]),A=e.ref([]),z=e.ref([]),M=e.ref("tag"),x=e.ref("Search Tag"),H=e.ref(0),X=re=>{const se=l.allVehicleToDevice.find(me=>me.vehicleId===re);if(se)return l.allDevices.find(me=>se.deviceId===me.id)},P=e.ref("");let oe=e.ref(""),te=e.ref("one"),Ve=e.ref("tag"),De=e.ref(!1);const de=re=>{if(O.value=!1,oe.value=re,M.value=re,ae.value="",te.value="one",Ve.value=re,De.value=!1,re==="tag"?(x.value=r("search")+" "+r("tag"),P.value=r("createNewTag")):re==="vehicle"?(x.value=r("search")+" "+r("vehicle"),P.value=r("createNewVehicle"),De.value=!0):re==="device"?(x.value=r("searchDeviceID"),P.value="",De.value=!0):re==="landmark"&&(x.value=r("search")+" "+r("landmark"),P.value=r("createNewLandmark")),re==="tag"||re==="vehicle"||re==="device"||re==="landmark"){let se=[];p.value[re].forEach(me=>{if(re==="tag"){if(m.value.id!==me.id){let Se=m.value.content[re].some(xe=>xe.id===me.id);se.push({...me,name:me.name||me.userPackageId,checkValue:Se,isShow:!0})}}else if(re==="vehicle"){let Se=m.value.content[re].some(st=>st.id===me.id),xe=X(me.id);se.push({...me,name:me.name||me.userPackageId,deviceUpid:xe?xe.userPackageId:"",checkValue:Se,isShow:!0})}else{let Se=m.value.content[re].some(xe=>xe.id===me.id);se.push({...me,name:me.name||me.userPackageId,checkValue:Se,isShow:!0})}}),I.value=se,A.value=se,H.value=se.length}O.value=!0,Te.value=I.value.some(se=>se.checkValue)&&I.value.some(se=>!se.checkValue),he.value=I.value.filter(se=>se.checkValue).length===I.value.length},_=re=>{te.value=re,ae.value="",I.value.forEach(se=>se.isShow=!0)},ae=e.ref("");let ge=e.ref([]);e.watch(()=>ae.value,re=>{if(te.value==="more")if(Ve.value==="vehicle"){let se=re.split(`
275
+ <div class='text'>If you uncheck this, all the linked ${L} sensors will be removed. </div>`,{dangerouslyUseHTMLString:!0,customClass:"message-box-waring-sensor",confirmButtonText:"Confirm",cancelButtonText:"Cancel",showCancelButton:!0,showClose:!1,beforeClose:async(ee,ie,Ue)=>{if(ee==="confirm"){let Fe=Mn.value.findIndex(wt=>wt.label===F.label);Fe>-1&&(Mn.value[Fe].checkValue=!1),F.label==="Light Hub"?(Mn.value=Mn.value.map(wt=>wt.label==="TPMS"||wt.label==="Weight"?{...wt,checkValue:!1}:wt),Sn.value="",io.value=[["","","",""],["","","",""],["","","",""]],$n.value=""):F.label==="TPMS"?io.value=[["","","",""],["","","",""],["","","",""]]:F.label==="Weight"?$n.value="":F.label==="Trailer Lock"?so.value="":F.label==="Container Detection"?An.value="":F.label==="Temp & Humidity"&&(rn.value=[]),Ue()}else Ue()}})};let ju=0;const g_=()=>{var F,L,ee,ie,Ue,Fe,wt,Ot,Nn,Go,Wa,Nr,Vr,Br,Ao,Ir,Ar,Q,Ge,dt,Je,Rn,ot,co,Dr,oc,ug,fg,mg,pg,hg,gg,yg,kg,vg,bg;if(An.value="",Sn.value="",io.value=[["","","",""],["","","",""],["","","",""]],$n.value="",so.value="",rn.value=[],l.vehicleData.id){let ze=l.allVehicles.find(Ht=>Ht.id===l.vehicleData.id);if(ze){let Ht=xu(ze.id),Ga=O(l.vehicleData.id,"vehicleId");E.value=((F=ze.content)==null?void 0:F.elements)||Ht.map(Ka=>Ka.id),Bt.value={id:ze.id,name:ze.name,deviceId:Ga?Ga.deviceId:"",dataTime:"",tagContent:Ht,assetType:ze.content.assetType,newIcon:ze.content.newIcon,vehicleTypeId:ze.content.vehicleTypeId,make:ze.content.make,year:ze.content.year,licensePlateNumber:ze.content.licensePlateNumber,vin:ze.content.vin,fuelType:ze.content.fuelType,grossWeight:ze.content.grossWeight,odo:Number(R2(ze.content.odo,!1)),description:ze.content.description,elements:E.value,sensorConfig:qH(ze==null?void 0:ze.sensorConfig)},ju=Number(R2(ze.content.odo,!1)),An.value=((ee=(L=ze==null?void 0:ze.sensorConfig)==null?void 0:L.AS2521)==null?void 0:ee.macId)||"",Sn.value=((Ue=(ie=ze==null?void 0:ze.sensorConfig)==null?void 0:ie.AS2528)==null?void 0:Ue.macId)||"",(Fe=ze==null?void 0:ze.sensorConfig)!=null&&Fe.AS2530&&QH((wt=ze==null?void 0:ze.sensorConfig)==null?void 0:wt.AS2530),$n.value=((Nn=(Ot=ze==null?void 0:ze.sensorConfig)==null?void 0:Ot.AS)==null?void 0:Nn.macId)||"",so.value=((Wa=(Go=ze==null?void 0:ze.sensorConfig)==null?void 0:Go.AS)==null?void 0:Wa.macId)||"",rn.value=((Vr=(Nr=ze==null?void 0:ze.sensorConfig)==null?void 0:Nr.AS2540)==null?void 0:Vr.map(Ka=>({macId:(Ka==null?void 0:Ka.macId)||"",name:(Ka==null?void 0:Ka.name)||""})))||[]}}if(si.value=(l.conDetSensorList||[]).filter(ze=>ze.model==="AS2521").filter(ze=>{var Ht;return!ze.bindVehicleId&&!ze.bindUserPackageId||ze.bindVehicleId===((Ht=l.vehicleData)==null?void 0:Ht.id)}),mn.value=(l.conDetSensorList||[]).filter(ze=>ze.model==="AS2528").filter(ze=>{var Ht;return!ze.bindVehicleId&&!ze.bindUserPackageId||ze.bindVehicleId===((Ht=l.vehicleData)==null?void 0:Ht.id)}),Dt.value=(l.conDetSensorList||[]).filter(ze=>ze.model==="AS2530").filter(ze=>{var Ht;return!ze.bindVehicleId&&!ze.bindUserPackageId||ze.bindVehicleId===((Ht=l.vehicleData)==null?void 0:Ht.id)}),Vo.value=(l.conDetSensorList||[]).filter(ze=>ze.model==="AS").filter(ze=>{var Ht;return!ze.bindVehicleId&&!ze.bindUserPackageId||ze.bindVehicleId===((Ht=l.vehicleData)==null?void 0:Ht.id)}),ft.value=(l.conDetSensorList||[]).filter(ze=>ze.model==="AS").filter(ze=>{var Ht;return!ze.bindVehicleId&&!ze.bindUserPackageId||ze.bindVehicleId===((Ht=l.vehicleData)==null?void 0:Ht.id)}),Dn.value=(l.conDetSensorList||[]).filter(ze=>ze.model==="AS2540").filter(ze=>{var Ht;return!ze.bindVehicleId&&!ze.bindUserPackageId||ze.bindVehicleId===((Ht=l.vehicleData)==null?void 0:Ht.id)}),ci.value=si.value,ct.value=mn.value,Bo.value=Vo.value,pn.value=ft.value,D.value="",g(k.value),N(Bt.value.deviceId),fe(Bt.value),l.vehicleData.id){f.value={id:Bt.value.id,name:Bt.value.name,deviceId:Bt.value.deviceId,dataTime:Bt.value.dataTime,tagContent:Bt.value.tagContent,assetType:Bt.value.assetType,newIcon:Bt.value.newIcon,vehicleTypeId:Bt.value.vehicleTypeId,make:Bt.value.make,year:Bt.value.year,licensePlateNumber:Bt.value.licensePlateNumber,vin:Bt.value.vin,fuelType:Bt.value.fuelType,grossWeight:Bt.value.grossWeight,odo:Bt.value.odo,description:Bt.value.description};let ze=[];h.value.forEach(Ga=>{ze.push(...Ga.children)});let Ht=ze.find(Ga=>f.value.vehicleTypeId?Ga.id==f.value.vehicleTypeId:Ga.assetType<9999&&Ga.icon==f.value.newIcon);pe.value=Ht||{id:"",assetType:f.value.assetType,icon:f.value.newIcon,label:"",type:""}}else if(f.value={id:"",name:"",deviceId:"",dataTime:"",tagContent:[],assetType:"",newIcon:"",vehicleTypeId:"",make:"",year:"",licensePlateNumber:"",vin:"",fuelType:"",grossWeight:"",odo:null,description:""},l.vehicleData.deviceId){Ua.value=!0,f.value={name:l.vehicleData.name,deviceId:l.vehicleData.deviceId,dataTime:"",tagContent:((Br=l.vehicleData)==null?void 0:Br.tagContent)||[],assetType:(Ir=(Ao=l.vehicleData)==null?void 0:Ao.content)==null?void 0:Ir.assetType,newIcon:(Q=(Ar=l.vehicleData)==null?void 0:Ar.content)==null?void 0:Q.newIcon,vehicleTypeId:(dt=(Ge=l.vehicleData)==null?void 0:Ge.content)==null?void 0:dt.vehicleTypeId,make:(Rn=(Je=l.vehicleData)==null?void 0:Je.content)==null?void 0:Rn.make,year:(co=(ot=l.vehicleData)==null?void 0:ot.content)==null?void 0:co.year,licensePlateNumber:(oc=(Dr=l.vehicleData)==null?void 0:Dr.content)==null?void 0:oc.licensePlateNumber,vin:(fg=(ug=l.vehicleData)==null?void 0:ug.content)==null?void 0:fg.vin,fuelType:(pg=(mg=l.vehicleData)==null?void 0:mg.content)==null?void 0:pg.fuelType,grossWeight:(gg=(hg=l.vehicleData)==null?void 0:hg.content)==null?void 0:gg.grossWeight,odo:(kg=(yg=l.vehicleData)==null?void 0:yg.content)==null?void 0:kg.odo,description:(bg=(vg=l.vehicleData)==null?void 0:vg.content)==null?void 0:bg.description};let ze=S.value.find(Ht=>Ht.id===l.vehicleData.deviceId);ze&&(j.value=ze.deviceId,Kt.value=ze.modelId,on.value=j.value,pt.value=K(new Date).utc().format("YYYY-MM-DDTHH:mm:ss[Z]"))}l.needShowList&&be()};return e.watch(()=>l.loading,F=>{F||g_()},{immediate:!0}),(F,L)=>{const ee=os,ie=e.resolveComponent("anSvgIcon"),Ue=Ji,Fe=Fo,wt=Ro,Ot=_0,Nn=e.resolveComponent("anytrekTimePick"),Go=e.resolveComponent("TextClamp"),Wa=Ki,Nr=ns,Vr=Ba,Br=qi,Ao=V7,Ir=e.resolveComponent("add-or-edit-tag"),Ar=Xr;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(Br,{modelValue:v.value,"onUpdate:modelValue":L[37]||(L[37]=Q=>v.value=Q),size:"520",title:B.value,"destroy-on-close":"","before-close":V,"close-on-click-modal":!0,"close-on-press-escape":!1,"show-close":!1,class:"drawer-footer-line vehicles-drawer add-or-edit",onClick:it},{footer:e.withCtx(()=>[e.createVNode(e.unref(Bn),{style:{width:"85px",height:"40px"},onClick:V},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("cancel")),1)]),_:1}),t.loginInfo.type&&t.loginInfo.type!==3?(e.openBlock(),e.createBlock(e.unref(Bn),{key:0,style:{height:"40px"},type:"primary",loading:A.value,onClick:z},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("save")),1)]),_:1},8,["loading"])):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[t.loading?(e.openBlock(),e.createElementBlock("div",uO,[e.createElementVNode("div",fO,[e.createVNode(ie,{class:"icon-loading",name:"loading-black-loading1","font-size":24,color:"#000"})])])):(e.openBlock(),e.createBlock(Vr,{key:0},{default:e.withCtx(()=>[e.createVNode(Nr,{model:f.value,rules:C.value,"label-position":"top",ref_key:"refForm",ref:I,class:"op-body","require-asterisk-position":"right"},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("div",ZD,[e.createVNode(ee,{label:e.unref(a)("name"),prop:"name",class:"form-item-name"},{default:e.withCtx(()=>[e.createVNode(e.unref(Yt),{modelValue:f.value.name,"onUpdate:modelValue":L[0]||(L[0]=Q=>f.value.name=Q),maxlength:"64",placeholder:e.unref(a)("enterUniqueName")},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),e.createElementVNode("div",jD,[e.createVNode(ee,{label:e.unref(a)("vehicleType"),prop:"assetType",required:"",class:"custom-label-position error-class"},{default:e.withCtx(()=>{var Q,Ge,dt;return[e.createElementVNode("div",{ref_key:"assetTypeRef",ref:Pe,class:e.normalizeClass(["asset-type",{disabled:dg.value}]),onClick:De},[f.value.assetType?(e.openBlock(),e.createElementBlock("div",UD,[e.createVNode(ie,{class:"icon",name:"vehicle-"+((Q=e.unref(pe))==null?void 0:Q.icon),"font-size":"24"},null,8,["name"]),e.createElementVNode("div",WD,e.toDisplayString((Ge=e.unref(pe))==null?void 0:Ge.label),1)])):(e.openBlock(),e.createElementBlock("div",GD,e.toDisplayString(e.unref(a)("selectAssetType")),1)),e.createVNode(ie,{class:"icon hover-animation",name:"xiajiantou","font-size":"24"}),e.unref(te)?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"assetTypeSelectRef",ref:$,class:"asset-type-select"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(h),(Je,Rn)=>(e.openBlock(),e.createElementBlock("div",{class:"item",key:Je.value,onMouseenter:ot=>ge(Je,Rn)},[e.createElementVNode("div",qD,e.toDisplayString(e.unref(a)(Je.type)),1),e.createVNode(ie,{"font-size":24,name:"arrow-right",color:"#949494"})],40,KD))),128)),e.unref(Ve)?(e.openBlock(),e.createElementBlock("div",{key:0,class:"asset-type-select-sub",style:e.normalizeStyle({marginTop:ae.value+"px"})},[e.createElementVNode("div",null,[e.unref(de).assetType===9999?(e.openBlock(),e.createElementBlock("div",QD,[e.createElementVNode("span",null,e.toDisplayString(e.unref(_).length),1),L[56]||(L[56]=e.createTextVNode(" intotal ",-1))])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["sub-wrapper",{"sub-wrapper-cus":((dt=e.unref(de))==null?void 0:dt.assetType)==9999}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(_),(Je,Rn)=>{var ot,co,Dr;return e.openBlock(),e.createElementBlock("div",{class:"sub-item",key:Rn,onClick:e.withModifiers(oc=>q(Je),["stop"])},[e.createElementVNode("div",JD,[e.createVNode(ie,{name:"vehicle-"+(Je==null?void 0:Je.icon),"font-size":24},null,8,["name"]),e.createElementVNode("div",$D,[e.createElementVNode("div",null,[e.createElementVNode("div",eM,[Je.assetType===5e3?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(""))],64)):Je.assetType<9999?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(e.unref(a)(Je.type)),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(Je.label),1)],64))]),(Je==null?void 0:Je.icon)==="heavyDutyTruck"?(e.openBlock(),e.createElementBlock("div",tM," Day Cab ")):e.createCommentVNode("",!0),(Je==null?void 0:Je.icon)==="heavyDutyTruckHaul"?(e.openBlock(),e.createElementBlock("div",nM," Sleeper Cab ")):e.createCommentVNode("",!0)]),xt(Je)?(e.openBlock(),e.createElementBlock("span",oM,"("+e.toDisplayString(xt(Je))+")",1)):e.createCommentVNode("",!0)])]),(Je==null?void 0:Je.assetType)>=9999&&((ot=e.unref(pe))==null?void 0:ot.label)!==Je.label&&!xt(Je)?(e.openBlock(),e.createBlock(ie,{key:0,name:"closeIconNew","font-size":"24",color:"#9a9a9a",class:"icon-hover delete-icon",onClick:e.withModifiers(oc=>Te(Je),["stop"])},null,8,["onClick"])):e.createCommentVNode("",!0),((co=e.unref(pe))==null?void 0:co.id)===(Je==null?void 0:Je.id)&&((Dr=e.unref(pe))==null?void 0:Dr.icon)===Je.icon?(e.openBlock(),e.createBlock(ie,{key:1,name:"device-gou","font-size":24})):e.createCommentVNode("",!0)],8,XD)}),128))],2)]),e.unref(de).assetType===9999?(e.openBlock(),e.createElementBlock("div",aM,[e.createVNode(ie,{name:"plus","font-size":"32",color:"#9a9a9a",onClick:Ie}),je.value?e.withDirectives((e.openBlock(),e.createElementBlock("div",rM,[e.createElementVNode("div",lM,[e.createVNode(e.unref(Yt),{modelValue:ye.value,"onUpdate:modelValue":L[1]||(L[1]=Je=>ye.value=Je),placeholder:"Enter Vehicle name",class:"input-add-type auto-table-search",style:{width:"303px"},size:"large",ref:"searchInput"},{prefix:e.withCtx(()=>[e.createElementVNode("div",{class:"cus-icon",ref_key:"customizeIconRef",ref:Re},[e.createVNode(ie,{"font-size":ue.value?24:32,name:ue.value?"vehicle-"+ue.value:"addVehicleType",color:"#000"},null,8,["font-size","name"])],512)]),_:1},8,["modelValue"]),e.createElementVNode("div",iM,[L[57]||(L[57]=e.createElementVNode("div",{class:"name"},"Select a icon",-1)),e.createElementVNode("div",sM,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.value,Je=>(e.openBlock(),e.createElementBlock("div",{class:"icon-item",key:Je,onClick:e.withModifiers(Rn=>Ee(Je),["stop"])},[e.createVNode(ie,{name:"vehicle-"+Je,"font-size":24},null,8,["name"])],8,cM))),128))])])]),L[58]||(L[58]=e.createElementVNode("div",{class:"divider"},null,-1)),e.createElementVNode("div",dM,[e.createElementVNode("div",uM,[e.createVNode(ie,{name:"closeIconNew","font-size":"32",color:"#9a9a9a",class:"icon-hover",onClick:e.withModifiers(Xe,["stop"])}),e.createVNode(ie,{name:"comfirmIcon","font-size":"32",color:"#0BA5EC",class:"icon-hover",onClick:e.withModifiers(U,["stop"])})])])])),[[Ar,R.value]]):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0)],512)):e.createCommentVNode("",!0)],2)]}),_:1},8,["label"]),e.createVNode(ee,{label:e.unref(a)("device"),prop:"deviceId",class:"custom-label-position border-top"},{default:e.withCtx(()=>[e.createVNode(Ue,{ref_key:"deviceSelectRef",ref:Jt,trigger:"click","popper-class":"device-dropdown-v noanimation-dropdown",placement:"bottom-start",disabled:Ua.value,onVisibleChange:Ce},{dropdown:e.withCtx(()=>[e.createElementVNode("div",yM,[e.createElementVNode("div",kM,[e.createVNode(e.unref(Yt),{modelValue:nt.value,"onUpdate:modelValue":L[2]||(L[2]=Q=>nt.value=Q),placeholder:e.unref(a)("search"),class:"auto-table-search",size:"large",ref_key:"searchDevice",ref:Hs},{prefix:e.withCtx(()=>[e.createVNode(ie,{"font-size":"40",name:"searchIcon",color:"#000"})]),suffix:e.withCtx(()=>[nt.value?(e.openBlock(),e.createBlock(ie,{key:0,class:"clear-icon",id:"clear-icon",name:"closeIconNew2","font-size":"32",onClick:Mu})):e.createCommentVNode("",!0)]),_:1},8,["modelValue","placeholder"])]),e.createElementVNode("div",vM,e.toDisplayString(S.value.length+" "+e.unref(a)("devicesInTotal")),1),e.createElementVNode("div",bM,[vt.value.length?(e.openBlock(),e.createElementBlock("div",wM,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(vt.value,Q=>(e.openBlock(),e.createElementBlock("div",{key:Q.id,class:"list-body-one",onClick:Ge=>zn(Q)},[e.createVNode(ie,{color:"#000",name:"monitorIconCpu","font-size":"24"}),e.createElementVNode("div",TM,[e.createElementVNode("div",null,e.toDisplayString(Q.deviceId),1),e.createElementVNode("div",EM,e.toDisplayString(t.modelTypes[Q.modelId]),1)]),e.withDirectives(e.createVNode(ie,{name:"filterchecked","font-size":"24"},null,512),[[e.vShow,Q.dId===f.value.deviceId]])],8,CM))),128))])):e.createCommentVNode("",!0)])])]),default:e.withCtx(()=>[e.createElementVNode("div",fM,[j.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["device-show canClick",{"disabled-eidt":Ua.value}])},[e.createElementVNode("div",hM,[e.createVNode(ie,{class:"icon",name:"monitorIconCpu ","font-size":"24",color:"#000"}),e.createElementVNode("div",gM,e.toDisplayString(j.value),1),Ua.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"remove-icon",onClick:e.withModifiers(Tt,["stop"])},[e.createVNode(ie,{name:"removeIcon","font-size":"16"})]))]),Ua.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ie,{key:0,class:"device-arrow icon hover-animation",name:"xiajiantou","font-size":"24",color:"#000"}))],2)):(e.openBlock(),e.createElementBlock("div",mM,[e.createElementVNode("span",pM,e.toDisplayString(e.unref(a)("selectDevice")),1),e.createVNode(ie,{class:"device-arrow icon hover-animation",name:"xiajiantou",color:"#000","font-size":"24"})]))])]),_:1},8,["disabled"])]),_:1},8,["label"])]),e.createElementVNode("div",SM,[e.createElementVNode("div",NM,[e.createVNode(ee,{label:e.unref(a)("make"),prop:"model",class:e.normalizeClass(["custom-label-poosition2",{"is-focus":Ze.value}])},{default:e.withCtx(()=>[e.createVNode(e.unref(Yt),{modelValue:f.value.make,"onUpdate:modelValue":L[3]||(L[3]=Q=>f.value.make=Q),maxlength:64,class:"input-make",onFocus:L[4]||(L[4]=Q=>Ze.value=!0),onBlur:L[5]||(L[5]=Q=>Ze.value=!1)},{suffix:e.withCtx(()=>[cg.value?(e.openBlock(),e.createBlock(wt,{key:0,placement:"bottom-end",width:226,"popper-options":Ye.value,trigger:"click","popper-class":"popper-make",ref_key:"popperMakeRef",ref:In,"hide-after":0,offset:-24},{reference:e.withCtx(()=>[e.createElementVNode("div",VM,[e.createVNode(ie,{name:"xiajiantou","font-size":"24",color:"#000",class:"hover-animation",style:{cursor:"pointer"}})])]),default:e.withCtx(()=>[e.createElementVNode("div",BM,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(en,Q=>e.createElementVNode("div",{class:"type-item",key:Q.type},[e.createElementVNode("div",IM,e.toDisplayString(Q.type),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Q.children,Ge=>(e.openBlock(),e.createBlock(Fe,{key:Ge.value,class:"box-item",effect:"dark",placement:"left","popper-class":"popper-make-tip","show-arrow":!1,"hide-after":0},{content:e.withCtx(()=>[e.createElementVNode("div",DM,[e.createElementVNode("div",MM,[e.createElementVNode("img",{src:Ge.img},null,8,LM)]),e.createElementVNode("div",xM,[L[59]||(L[59]=e.createElementVNode("div",{class:"name"},"Trailer Length",-1)),e.createElementVNode("div",OM,e.toDisplayString(Ge.length),1)]),e.createElementVNode("div",PM,[L[60]||(L[60]=e.createElementVNode("div",{class:"name"},"Trailer Width",-1)),e.createElementVNode("div",FM,e.toDisplayString(Ge.width),1)]),e.createElementVNode("div",zM,[L[61]||(L[61]=e.createElementVNode("div",{class:"name"},"Trailer Height",-1)),e.createElementVNode("div",RM,e.toDisplayString(Ge.height),1)]),e.createElementVNode("div",HM,[L[62]||(L[62]=e.createElementVNode("div",{class:"name"},"Capacity/GVWR",-1)),e.createElementVNode("div",_M,e.toDisplayString(Ge.capacity),1)])])]),default:e.withCtx(()=>[e.createElementVNode("div",{class:"make-item",onClick:dt=>Zt(Ge)},[e.createElementVNode("span",null,e.toDisplayString(Ge.label),1)],8,AM)]),_:2},1024))),128))])),64))])]),_:1},8,["popper-options"])):e.createCommentVNode("",!0)]),_:1},8,["modelValue"])]),_:1},8,["label","class"]),e.createVNode(ee,{label:e.unref(a)("year"),prop:"make",class:e.normalizeClass(["custom-label-poosition2 custom-label-poosition8",{"is-focus":qe.value}])},{default:e.withCtx(()=>[e.createVNode(e.unref(Yt),{modelValue:e.unref(Ft),"onUpdate:modelValue":L[6]||(L[6]=Q=>e.isRef(Ft)?Ft.value=Q:Ft=Q),maxlength:4,onFocus:L[7]||(L[7]=Q=>qe.value=!0),onBlur:ro},{suffix:e.withCtx(()=>[e.createVNode(wt,{placement:"bottom-start",width:144,trigger:"click","popper-class":"popper-year","popper-style":{minWidth:"144px"},ref_key:"popperYearRef",ref:Eo,"hide-after":0,offset:-24,onShow:Me},{reference:e.withCtx(()=>[e.createElementVNode("div",YM,[e.createVNode(ie,{name:"date","font-size":"24",color:"#000",style:{cursor:"pointer"}})])]),default:e.withCtx(()=>[e.createElementVNode("div",{id:"scrollBox",class:"popper-year-content",ref_key:"yearRef",ref:J},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(lo.value,Q=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["item",{active:f.value.year==Q}]),key:Q,onClick:Ge=>So(Q)},e.toDisplayString(Q),11,ZM))),128))],512)]),_:1},512)]),_:1},8,["modelValue"])]),_:1},8,["label","class"])]),e.createElementVNode("div",jM,[e.createVNode(ee,{label:e.unref(a)("plateNum"),prop:"licensePlateNumber",class:e.normalizeClass(["custom-label-poosition2",{"is-focus":Z.value}])},{default:e.withCtx(()=>[e.createVNode(e.unref(Yt),{modelValue:f.value.licensePlateNumber,"onUpdate:modelValue":L[8]||(L[8]=Q=>f.value.licensePlateNumber=Q),maxlength:50,onFocus:L[9]||(L[9]=Q=>Z.value=!0),onBlur:L[10]||(L[10]=Q=>Z.value=!1)},null,8,["modelValue"])]),_:1},8,["label","class"]),e.createVNode(ee,{label:e.unref(a)("vinOrSerialNumber"),prop:"vin",class:e.normalizeClass(["custom-label-poosition2",{"is-focus":Le.value}])},{default:e.withCtx(()=>[e.createVNode(e.unref(Yt),{modelValue:f.value.vin,"onUpdate:modelValue":L[11]||(L[11]=Q=>f.value.vin=Q),maxlength:64,onFocus:L[12]||(L[12]=Q=>Le.value=!0),onBlur:L[13]||(L[13]=Q=>Le.value=!1)},null,8,["modelValue"])]),_:1},8,["label","class"])]),e.createElementVNode("div",UM,[e.createVNode(ee,{label:e.unref(a)("fuelType"),prop:"fuelType",class:e.normalizeClass(["custom-label-poosition2",{"is-focus":ke.value}])},{default:e.withCtx(()=>[e.createVNode(wt,{placement:"bottom",width:230,trigger:"click","popper-class":"popper-fuel-type",ref_key:"popperFuelTypeRef",ref:Ke,"hide-after":0,offset:-24},{reference:e.withCtx(()=>[e.createElementVNode("div",WM,[e.createElementVNode("span",null,e.toDisplayString(f.value.fuelType?e.unref(a)(f.value.fuelType):""),1),e.createElementVNode("div",GM,[f.value.fuelType?(e.openBlock(),e.createBlock(ie,{key:0,class:"icon-close",name:"closeIconNew","font-size":"24",onClick:L[14]||(L[14]=e.withModifiers(Q=>f.value.fuelType="",["stop"]))})):e.createCommentVNode("",!0),e.createVNode(ie,{name:"xiajiantou","font-size":"24",color:"#000",class:"a-icon",style:{cursor:"pointer"}})])])]),default:e.withCtx(()=>[e.createElementVNode("div",KM,[e.createElementVNode("div",{class:"item",onClick:L[15]||(L[15]=e.withModifiers(Q=>Oe("diesel"),["stop"]))},[e.createElementVNode("span",null,e.toDisplayString(e.unref(a)("diesel")),1),f.value.fuelType==="diesel"?(e.openBlock(),e.createBlock(ie,{key:0,name:"device-gou","font-size":24})):e.createCommentVNode("",!0)])])]),_:1},512)]),_:1},8,["label","class"]),e.createVNode(ee,{label:e.unref(a)("grossWeight"),prop:"grossWeight",class:e.normalizeClass(["custom-label-poosition2",{"is-focus":et.value}])},{default:e.withCtx(()=>[e.createVNode(wt,{placement:"bottom",width:230,trigger:"click","popper-class":"popper-gross-weight",ref_key:"popperGrossWeightRef",ref:Vt,"hide-after":0,offset:-130},{reference:e.withCtx(()=>[e.createElementVNode("div",qM,[e.createElementVNode("span",null,e.toDisplayString(f.value.grossWeight?f.value.grossWeight:""),1),e.createElementVNode("div",QM,[f.value.grossWeight?(e.openBlock(),e.createBlock(ie,{key:0,class:"icon-close",name:"closeIconNew","font-size":"24",onClick:L[16]||(L[16]=e.withModifiers(Q=>f.value.grossWeight="",["stop"]))})):e.createCommentVNode("",!0),e.createVNode(ie,{name:"xiajiantou","font-size":"24",color:"#000",class:"a-icon",style:{cursor:"pointer"}})])])]),default:e.withCtx(()=>[e.createElementVNode("div",XM,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(En,Q=>e.createElementVNode("div",{class:"item",key:Q.label,onClick:e.withModifiers(Ge=>At(Q.label),["stop"])},[e.createElementVNode("span",null,e.toDisplayString(Q.label),1),f.value.grossWeight===Q.label?(e.openBlock(),e.createBlock(ie,{key:0,name:"device-gou","font-size":24})):e.createCommentVNode("",!0)],8,JM)),64))])]),_:1},512)]),_:1},8,["label","class"])]),e.createElementVNode("div",$M,[e.createVNode(ee,{label:`${e.unref(a)("odometer")} (${e.unref(rA)()})`,prop:"odo",class:e.normalizeClass(["custom-label-poosition2",{"is-focus":_e.value}])},{default:e.withCtx(()=>[e.createVNode(Ot,{modelValue:f.value.odo,"onUpdate:modelValue":L[17]||(L[17]=Q=>f.value.odo=Q),controls:!1,precision:0,class:"input-number-odometer",onFocus:L[18]||(L[18]=Q=>_e.value=!0),onBlur:L[19]||(L[19]=Q=>_e.value=!1),onKeydown:b,onChange:w},null,8,["modelValue"])]),_:1},8,["label","class"])])]),e.createVNode(Nn,{value:e.unref(pt),"onUpdate:value":L[21]||(L[21]=Q=>e.isRef(pt)?pt.value=Q:pt=Q),timeZone:tn.value,"onUpdate:timeZone":L[22]||(L[22]=Q=>tn.value=Q),visible:Uo.value,"onUpdate:visible":L[23]||(L[23]=Q=>Uo.value=Q),showFormat:le.value,immediate:!0,disableFuntion:We,teleported:!0,needMaxIndex:!0,onChange:Y},{default:e.withCtx(()=>[e.createVNode(ee,{label:e.unref(a)("boundDate"),prop:"deviceId",class:"custom-label-poosition3"},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"content",ref_key:"datePickerSelectRef",ref:ne},[L[63]||(L[63]=e.createElementVNode("div",{class:"sub-text"},"Current device data starts",-1)),e.createElementVNode("div",eL,[e.createElementVNode("div",tL,[e.createElementVNode("span",nL,e.toDisplayString(Ae()),1),e.unref(pt)?(e.openBlock(),e.createElementBlock("div",oL,e.toDisplayString(tn.value),1)):e.createCommentVNode("",!0),e.createElementVNode("div",aL,[e.createVNode(ie,{name:"date","font-size":"24",color:"#020202"})])]),e.createElementVNode("div",{class:"btn-now",onClick:e.withModifiers(an,["stop"])},e.toDisplayString(e.unref(a)("now")),1)])],512),f.value.deviceId?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"disabled-date",onClick:L[20]||(L[20]=e.withModifiers(()=>{},["stop"]))}))]),_:1},8,["label"])]),_:1},8,["value","timeZone","visible","showFormat"]),e.createVNode(ee,{prop:"tagContent",class:"custom-label-poosition4"},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("div",rL,[e.createElementVNode("span",null,e.toDisplayString(e.unref(a)("bingToTags")),1),e.createElementVNode("span",lL,"("+e.toDisplayString(f.value.tagContent?f.value.tagContent.length:0)+")",1)]),e.createElementVNode("div",iL,[f.value.tagContent&&f.value.tagContent.length?(e.openBlock(),e.createElementBlock("div",{key:0,style:{"margin-top":"16px"},class:e.normalizeClass({noMaigin:Sr.value})},[f.value.tagContent.length>vP?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Sr.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:"tag-cell all-elelist",onScroll:Lu},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value.tagContent,Q=>(e.openBlock(),e.createElementBlock("div",{key:Q.name},[e.createElementVNode("div",{class:"tag-item my-tag-item",onMouseenter:Ge=>Tr(Ge,Q.name,"top",80),onMouseleave:Er,onClick:Ge=>qs(Q)},[e.createVNode(ie,{name:"tagIcon","font-size":"24",class:"icon"}),e.createElementVNode("div",yL,[e.createVNode(Go,{class:"tagtxt",text:Q.name||"-",location:e.unref(Sa)(),"max-lines":1,autoResize:!0},null,8,["text","location"])]),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(Ge=>W(Q),["stop"])},[e.createVNode(ie,{name:"removeIcon","font-size":"16"})],8,kL)],40,gL)]))),128))],32)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",sL,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value.tagContent.slice(0,3),Q=>(e.openBlock(),e.createElementBlock("div",{key:Q.name},[e.createElementVNode("div",{class:"tag-item my-tag-item",onMouseenter:Ge=>Tr(Ge,Q.name,"top",80),onMouseleave:Er,onClick:Ge=>qs(Q)},[e.createVNode(ie,{name:"tagIcon","font-size":"24",class:"icon"}),e.createElementVNode("div",dL,[e.createVNode(Go,{class:"tagtxt",text:Q.name||"-",location:e.unref(Sa)(),"max-lines":1,autoResize:!0},null,8,["text","location"])]),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(Ge=>W(Q),["stop"])},[e.createVNode(ie,{name:"removeIcon","font-size":"16"})],8,uL)],40,cL)]))),128))]),e.createElementVNode("div",{class:"show-all",onClick:L[24]||(L[24]=Q=>Sr.value=!0)},[e.createVNode(ie,{name:"verticalPoint","font-size":"24"}),e.createElementVNode("div",null,e.toDisplayString(e.unref(a)("seeAll")+" "+f.value.tagContent.length+" "+e.unref(a)("vehicles")),1)]),e.createElementVNode("div",fL,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value.tagContent.slice(f.value.tagContent.length-(f.value.tagContent.length%3?f.value.tagContent.length%3:3)),Q=>(e.openBlock(),e.createElementBlock("div",{key:Q.name},[e.createElementVNode("div",{class:"tag-item my-tag-item",onMouseenter:Ge=>Tr(Ge,Q.name,"top",80),onMouseleave:Er,onClick:Ge=>qs(Q)},[e.createVNode(ie,{name:"tagIcon","font-size":"24",class:"icon"}),e.createElementVNode("div",pL,[e.createVNode(Go,{class:"tagtxt",text:Q.name||"-",location:e.unref(Sa)(),"max-lines":1,autoResize:!0},null,8,["text","location"])]),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(Ge=>W(Q),["stop"])},[e.createVNode(ie,{name:"removeIcon","font-size":"16"})],8,hL)],40,mL)]))),128))])],64))],64)):(e.openBlock(),e.createElementBlock("div",vL,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value.tagContent,Q=>(e.openBlock(),e.createElementBlock("div",{key:Q.name},[e.createElementVNode("div",{class:"my-tag-item tag-item",onMouseenter:Ge=>Tr(Ge,Q.name,"top",80),onMouseleave:Er,onClick:Ge=>qs(Q)},[e.createVNode(ie,{name:"tagIcon","font-size":"24",class:"icon"}),e.createElementVNode("div",wL,[e.createVNode(Go,{class:"tagtxt",text:Q.name||"-",location:e.unref(Sa)(),"max-lines":1,autoResize:!0},null,8,["text","location"])]),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(Ge=>W(Q),["stop"])},[e.createVNode(ie,{name:"removeIcon","font-size":"16"})],8,CL)],40,bL)]))),128))]))],2)):e.createCommentVNode("",!0),t.loginInfo.type&&t.loginInfo.type!==3?(e.openBlock(),e.createElementBlock("div",TL,[e.createVNode(ie,{class:"tag-add",name:"plus","font-size":"32",color:"#9a9a9a",onClick:be})])):e.createCommentVNode("",!0),ve.value?(e.openBlock(),e.createElementBlock("div",EL,[e.createElementVNode("div",SL,[e.createElementVNode("div",NL,[e.createCommentVNode("",!0),e.createElementVNode("div",VL,e.toDisplayString(e.unref(a)("selected"))+":"+e.toDisplayString(e.unref(oe).filter(Q=>Q.checkValue).length),1)]),e.createElementVNode("div",BL,[e.createVNode(ie,{name:"closeIconNew","font-size":"32",color:"#9a9a9a",class:"icon-hover",style:{"margin-right":"16px"},onClick:Ne}),e.createVNode(ie,{name:"comfirmIcon","font-size":"32",color:"#0BA5EC",class:"icon-hover",onClick:dn})])]),e.createElementVNode("div",IL,[e.createVNode(e.unref(Yt),{modelValue:P.value,"onUpdate:modelValue":L[25]||(L[25]=Q=>P.value=Q),max:"64",class:"search-input",placeholder:e.unref(a)("search")+" "+e.unref(a)("tag")},{prefix:e.withCtx(()=>[e.createVNode(ie,{"font-size":"40",name:"searchIcon",color:"#000"})]),_:1},8,["modelValue","placeholder"])]),e.createElementVNode("div",AL,[e.createElementVNode("div",DL,[e.createVNode(ie,{class:"icon",name:"selectAllIcon","font-size":"24"}),e.createElementVNode("span",null,e.toDisplayString(e.unref(a)("selectAll")),1)]),e.createElementVNode("div",ML,[e.createVNode(Wa,{modelValue:cn.value,"onUpdate:modelValue":L[26]||(L[26]=Q=>cn.value=Q),indeterminate:gn.value,onChange:re,style:{"margin-right":"6px"}},null,8,["modelValue","indeterminate"])])]),L[64]||(L[64]=e.createElementVNode("div",{class:"fengexian"},null,-1)),e.createElementVNode("div",LL,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(oe),Q=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Q.name},[Q.isShow?(e.openBlock(),e.createElementBlock("div",xL,[e.createElementVNode("div",OL,[e.createVNode(ie,{name:"tagIcon","font-size":"24"}),e.createElementVNode("div",{style:{"margin-left":"8px"},class:"name",onMouseenter:Ge=>Tr(Ge,Q.name,"top",200),onMouseleave:Er},[e.createVNode(Go,{class:"tagtxt",text:Q.name,location:e.unref(Sa)(),"max-lines":1,autoResize:!0},null,8,["text","location"])],40,PL)]),e.createElementVNode("div",FL,[e.createVNode(ie,{class:"jump-icon",name:"jumpIcon","font-size":"32",color:"#000",style:{"margin-right":"16px"},onClick:Ge=>xe(Q)},null,8,["onClick"]),e.createVNode(Wa,{modelValue:Q.checkValue,"onUpdate:modelValue":Ge=>Q.checkValue=Ge,onChange:se},null,8,["modelValue","onUpdate:modelValue"])])])):e.createCommentVNode("",!0)],64))),128))]),L[65]||(L[65]=e.createElementVNode("div",{class:"fengexian"},null,-1)),e.createElementVNode("div",{class:"add-wrapper",onClick:st},[e.createVNode(ie,{class:"driver-add",name:"plus","font-size":"32",color:"#9a9a9a"}),e.createElementVNode("span",null,e.toDisplayString(e.unref(a)("createNewTag")),1)])])):e.createCommentVNode("",!0)])])]),_:1}),eg.value?(e.openBlock(),e.createElementBlock("div",zL,[e.createElementVNode("div",RL,[e.createElementVNode("div",HL,[e.createElementVNode("div",_L,e.toDisplayString(e.unref(a)("addSensor")),1),e.createElementVNode("div",YL,[e.createElementVNode("span",null,e.toDisplayString(e.unref(a)("tipChooseTheSensorToConfigure")),1),e.createElementVNode("span",null,e.toDisplayString(e.unref(a)("tipPurchaseItFirstToAddHere")),1)])]),e.createElementVNode("div",ZL,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Mn.value,Q=>(e.openBlock(),e.createElementBlock("div",{key:Q.label,class:"type-item"},[e.createElementVNode("span",null,e.toDisplayString(Q.label),1),e.createElementVNode("div",{class:e.normalizeClass(["checkbox",{checked:Q.checkValue}]),onClick:Ge=>m_(Q)},null,10,jL)]))),128))])]),Io("Light Hub")?(e.openBlock(),e.createElementBlock("div",UL,[Io("Light Hub")?(e.openBlock(),e.createElementBlock("div",WL,[e.createElementVNode("div",GL,e.toDisplayString(e.unref(a)("lightHub")),1),e.createElementVNode("div",KL,[Sn.value?(e.openBlock(),e.createBlock(Fe,{key:0,class:"box-item",effect:"dark",placement:"top","popper-class":"popper-cdSensor-tip","show-arrow":!1,"hide-after":0},{content:e.withCtx(()=>[e.createElementVNode("div",XL,[L[66]||(L[66]=e.createElementVNode("div",{class:"name"},[e.createTextVNode("ID "),e.createElementVNode("span",null,":")],-1)),e.createElementVNode("div",JL,e.toDisplayString(Sn.value),1),L[67]||(L[67]=e.createElementVNode("div",{class:"name",style:{"margin-top":"4px"}},[e.createTextVNode(" Mac address "),e.createElementVNode("span",null,":")],-1)),e.createElementVNode("div",$L,e.toDisplayString(Xs(Sn.value)),1)])]),default:e.withCtx(()=>[e.createElementVNode("div",qL,[e.createVNode(ie,{name:"lightHub","font-size":"32",color:"#000"}),e.createVNode(ie,{class:"icon-delete",name:"removeIcon","font-size":"16",color:"#fff",onClick:d_}),e.createElementVNode("div",QL,[e.createVNode(ie,{name:"edit18","font-size":"18",color:"#DFDFDF",onClick:L[27]||(L[27]=Q=>og(Sn.value))})])])]),_:1})):(e.openBlock(),e.createElementBlock("div",ex,[e.createVNode(ie,{class:"tag-add",name:"plus","font-size":"32",color:"#9a9a9a",onClick:L[28]||(L[28]=Q=>og(""))})]))])])):e.createCommentVNode("",!0),Sn.value&&Io("TPMS")?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[L[75]||(L[75]=e.createElementVNode("div",{class:"divider"},null,-1)),e.createElementVNode("div",tx,[e.createElementVNode("div",nx,[e.createElementVNode("span",null,e.toDisplayString(e.unref(a)("tirePressureMonitoringSensor")),1),e.createVNode(ie,{name:"tirePressureMonitoringSensor","font-size":"24"})]),e.createElementVNode("div",ox,[e.createElementVNode("div",ax,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(io.value,(Q,Ge)=>(e.openBlock(),e.createElementBlock("div",{class:"column",key:Ge},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([0,1],dt=>e.createElementVNode("div",{key:dt,class:e.normalizeClass(["sensor-item",{"hava-value":Q[dt]}]),onClick:Je=>ig(Q[dt],dt,Ge)},[Q[dt]?(e.openBlock(),e.createBlock(Fe,{key:0,class:"box-item",effect:"dark",placement:"top","popper-class":"popper-cdSensor-tip","show-arrow":!1,"hide-after":0,offset:8},{content:e.withCtx(()=>{var Je,Rn;return[e.createElementVNode("div",lx,[L[68]||(L[68]=e.createElementVNode("div",{class:"name"},"ID:",-1)),e.createElementVNode("div",ix,e.toDisplayString((Je=Q[dt])==null?void 0:Je.macId),1),L[69]||(L[69]=e.createElementVNode("div",{class:"name",style:{"margin-top":"4px"}},[e.createTextVNode(" Mac address "),e.createElementVNode("span",null,":")],-1)),e.createElementVNode("div",sx,e.toDisplayString(ng((Rn=Q[dt])==null?void 0:Rn.macId)),1)])]}),default:e.withCtx(()=>[L[70]||(L[70]=e.createElementVNode("div",{class:"value"},"TPMS",-1))]),_:2},1024)):(e.openBlock(),e.createBlock(ie,{key:1,name:"addIcon2","font-size":"24"})),Q[dt]?(e.openBlock(),e.createBlock(ie,{key:2,class:"btn-remove",name:"removeIcon","font-size":"16",color:"#fff",onClick:e.withModifiers(Je=>sg(dt,Ge),["stop"])},null,8,["onClick"])):e.createCommentVNode("",!0)],10,rx)),64))]))),128))]),L[74]||(L[74]=e.createElementVNode("div",{class:"tpms-center"},null,-1)),e.createElementVNode("div",cx,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(io.value,(Q,Ge)=>(e.openBlock(),e.createElementBlock("div",{class:"column",key:Ge},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([2,3],dt=>e.createElementVNode("div",{key:dt,class:e.normalizeClass(["sensor-item",{"hava-value":Q[dt]}]),onClick:Je=>ig(Q[dt],dt,Ge)},[Q[dt]?(e.openBlock(),e.createBlock(Fe,{key:0,class:"box-item",effect:"dark",placement:"top","popper-class":"popper-cdSensor-tip","show-arrow":!1,"hide-after":0,offset:8},{content:e.withCtx(()=>{var Je,Rn;return[e.createElementVNode("div",ux,[L[71]||(L[71]=e.createElementVNode("div",{class:"name"},"ID:",-1)),e.createElementVNode("div",fx,e.toDisplayString((Je=Q[dt])==null?void 0:Je.macId),1),L[72]||(L[72]=e.createElementVNode("div",{class:"name",style:{"margin-top":"4px"}},[e.createTextVNode(" Mac address "),e.createElementVNode("span",null,":")],-1)),e.createElementVNode("div",mx,e.toDisplayString(ng((Rn=Q[dt])==null?void 0:Rn.macId)),1)])]}),default:e.withCtx(()=>[L[73]||(L[73]=e.createElementVNode("div",{class:"value"},"TPMS",-1))]),_:2},1024)):(e.openBlock(),e.createBlock(ie,{key:1,name:"addIcon2","font-size":"24"})),Q[dt]?(e.openBlock(),e.createBlock(ie,{key:2,class:"btn-remove",name:"removeIcon","font-size":"16",color:"#fff",onClick:e.withModifiers(Je=>sg(dt,Ge),["stop"])},null,8,["onClick"])):e.createCommentVNode("",!0)],10,dx)),64))]))),128))])])])],64)):e.createCommentVNode("",!0),Io("Weight")?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[L[78]||(L[78]=e.createElementVNode("div",{class:"divider"},null,-1)),e.createElementVNode("div",px,[e.createElementVNode("div",hx,e.toDisplayString(e.unref(a)("weightSensor")),1),e.createElementVNode("div",gx,[$n.value?(e.openBlock(),e.createBlock(Fe,{key:0,class:"box-item",effect:"dark",placement:"top","popper-class":"popper-cdSensor-tip","show-arrow":!1,"hide-after":0},{content:e.withCtx(()=>[e.createElementVNode("div",vx,[L[76]||(L[76]=e.createElementVNode("div",{class:"name"},[e.createTextVNode("ID "),e.createElementVNode("span",null,":")],-1)),e.createElementVNode("div",bx,e.toDisplayString($n.value),1),L[77]||(L[77]=e.createElementVNode("div",{class:"name",style:{"margin-top":"4px"}},[e.createTextVNode(" Mac address "),e.createElementVNode("span",null,":")],-1)),e.createElementVNode("div",wx,e.toDisplayString(Xs($n.value)),1)])]),default:e.withCtx(()=>[e.createElementVNode("div",yx,[e.createVNode(ie,{name:"sensor-weight","font-size":"32",color:"#000"}),e.createVNode(ie,{class:"icon-delete",name:"removeIcon","font-size":"16",color:"#fff",onClick:FH}),e.createElementVNode("div",kx,[e.createVNode(ie,{name:"edit18","font-size":"18",color:"#DFDFDF",onClick:L[29]||(L[29]=Q=>Q2($n.value))})])])]),_:1})):(e.openBlock(),e.createElementBlock("div",Cx,[e.createVNode(ie,{class:"tag-add",name:"plus","font-size":"32",color:"#9a9a9a",onClick:L[30]||(L[30]=Q=>Q2(""))})]))])])],64)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),Io("Trailer Lock")?(e.openBlock(),e.createElementBlock("div",Tx,[e.createElementVNode("div",Ex,e.toDisplayString(e.unref(a)("BTLSensor")),1),e.createElementVNode("div",Sx,[so.value?(e.openBlock(),e.createBlock(Fe,{key:0,class:"box-item",effect:"dark",placement:"top","popper-class":"popper-cdSensor-tip","show-arrow":!1,"hide-after":0},{content:e.withCtx(()=>[e.createElementVNode("div",Bx,[L[79]||(L[79]=e.createElementVNode("div",{class:"name"},[e.createTextVNode("ID "),e.createElementVNode("span",null,":")],-1)),e.createElementVNode("div",Ix,e.toDisplayString(so.value),1),L[80]||(L[80]=e.createElementVNode("div",{class:"name",style:{"margin-top":"4px"}},[e.createTextVNode(" Mac address "),e.createElementVNode("span",null,":")],-1)),e.createElementVNode("div",Ax,e.toDisplayString(Xs(so.value)),1)])]),default:e.withCtx(()=>[e.createElementVNode("div",Nx,[e.createVNode(ie,{name:"sensor-BTLock","font-size":"32",color:"#000"}),e.createVNode(ie,{class:"icon-delete",name:"removeIcon","font-size":"16",color:"#fff",onClick:YH}),e.createElementVNode("div",Vx,[e.createVNode(ie,{name:"edit18","font-size":"18",color:"#DFDFDF",onClick:L[31]||(L[31]=Q=>J2(so.value))})])])]),_:1})):(e.openBlock(),e.createElementBlock("div",Dx,[e.createVNode(ie,{class:"tag-add",name:"plus","font-size":"32",color:"#9a9a9a",onClick:L[32]||(L[32]=Q=>J2(""))})]))])])):e.createCommentVNode("",!0),Io("Container Detection")&&Io("Trailer Lock")?(e.openBlock(),e.createElementBlock("div",Mx)):e.createCommentVNode("",!0),t.loginInfo.type&&(t.loginInfo.type===1||t.loginInfo.type===2)&&Ru.value&&Io("Container Detection")?(e.openBlock(),e.createElementBlock("div",Lx,[e.createElementVNode("div",xx,[e.createElementVNode("div",Ox,e.toDisplayString(e.unref(a)("containerDetectionSensor")),1)]),e.createElementVNode("div",Px,[An.value?(e.openBlock(),e.createBlock(Fe,{key:0,class:"box-item",effect:"dark",placement:"top","popper-class":"popper-cdSensor-tip","show-arrow":!1,"hide-after":0},{content:e.withCtx(()=>[e.createElementVNode("div",Rx,[L[81]||(L[81]=e.createElementVNode("div",{class:"name"},[e.createTextVNode("ID "),e.createElementVNode("span",null,":")],-1)),e.createElementVNode("div",Hx,e.toDisplayString(An.value),1),L[82]||(L[82]=e.createElementVNode("div",{class:"name",style:{"margin-top":"4px"}},[e.createTextVNode(" Mac address "),e.createElementVNode("span",null,":")],-1)),e.createElementVNode("div",_x,e.toDisplayString(r_()),1)])]),default:e.withCtx(()=>[e.createElementVNode("div",Fx,[e.createVNode(ie,{name:"containerDetectionSensor","font-size":"32",color:"#000"}),e.createVNode(ie,{class:"icon-delete",name:"removeIcon","font-size":"16",color:"#fff",onClick:t_}),e.createElementVNode("div",zx,[e.createVNode(ie,{name:"edit18","font-size":"18",color:"#DFDFDF",onClick:o_})])])]),_:1})):(e.openBlock(),e.createElementBlock("div",Yx,[e.createVNode(ie,{class:"tag-add",name:"plus","font-size":"32",color:"#9a9a9a",onClick:n_})]))])])):e.createCommentVNode("",!0),Io("Temp & Humidity")&&(Io("Trailer Lock")||Io("Container Detection"))?(e.openBlock(),e.createElementBlock("div",Zx)):e.createCommentVNode("",!0),Io("Temp & Humidity")?(e.openBlock(),e.createElementBlock("div",jx,[e.createElementVNode("div",Ux,e.toDisplayString(e.unref(a)("THSensor")),1),e.createElementVNode("div",Wx,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(rn.value,(Q,Ge)=>(e.openBlock(),e.createBlock(Fe,{key:Q.macId,class:"box-item",effect:"dark",placement:"top","popper-class":"popper-cdSensor-tip","show-arrow":!1,"hide-after":0},{content:e.withCtx(()=>[e.createElementVNode("div",Jx,[L[83]||(L[83]=e.createElementVNode("div",{class:"name"},[e.createTextVNode("ID "),e.createElementVNode("span",null,":")],-1)),e.createElementVNode("div",$x,e.toDisplayString(Q.macId),1),L[84]||(L[84]=e.createElementVNode("div",{class:"name",style:{"margin-top":"4px"}},[e.createTextVNode(" Mac address "),e.createElementVNode("span",null,":")],-1)),e.createElementVNode("div",eO,e.toDisplayString(Xs(Q.macId)),1)])]),default:e.withCtx(()=>[e.createElementVNode("div",Gx,[e.createVNode(ie,{name:"sensor-temp&humidity","font-size":"16",color:"#000"}),e.createElementVNode("span",Kx,e.toDisplayString(Q.name),1),e.createVNode(ie,{class:"icon-delete",name:"removeIcon","font-size":"16",color:"#fff",onClick:dt=>WH(Ge)},null,8,["onClick"]),e.createElementVNode("div",qx,[Ge!==0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"move-item",onClick:dt=>GH(Ge)},[e.createVNode(ie,{name:"sensor-move-left","font-size":"24"})],8,Qx)):e.createCommentVNode("",!0),Ge!==rn.value.length-1?(e.openBlock(),e.createElementBlock("div",{key:1,class:"move-item",onClick:dt=>KH(Ge)},[e.createVNode(ie,{name:"sensor-move-right","font-size":"24"})],8,Xx)):e.createCommentVNode("",!0)])])]),_:2},1024))),128)),rn.value.length<3?(e.openBlock(),e.createElementBlock("div",tO,[e.createVNode(ie,{class:"tag-add",name:"plus","font-size":"32",color:"#9a9a9a",onClick:L[33]||(L[33]=Q=>ZH(""))})])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),(t.loginInfo.type&&(t.loginInfo.type===1||t.loginInfo.type===2)&&XH.value,e.createCommentVNode("",!0)),(t.loginInfo.type&&(t.loginInfo.type===1||t.loginInfo.type===2)&&Ru.value,e.createCommentVNode("",!0)),e.createVNode(ee,{label:e.unref(a)("description"),prop:"description"},{default:e.withCtx(()=>[e.createVNode(e.unref(Yt),{modelValue:f.value.description,"onUpdate:modelValue":L[36]||(L[36]=Q=>f.value.description=Q),placeholder:e.unref(a)("typeInContent"),type:"textarea",autosize:!1,"show-word-limit":"",maxlength:250},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),un.value.length?(e.openBlock(),e.createBlock(ee,{key:3},{default:e.withCtx(()=>[e.createElementVNode("div",nO,[e.createElementVNode("div",oO,e.toDisplayString(e.unref(a)("history")),1),e.createElementVNode("div",aO,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(un.value,(Q,Ge)=>(e.openBlock(),e.createElementBlock("div",{key:Ge,class:"bound-year"},[e.createElementVNode("div",rO,e.toDisplayString(Q),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(G.value[Q],(dt,Je)=>(e.openBlock(),e.createElementBlock("div",{key:Je,index:Je,class:"year-content"},[e.createElementVNode("div",{class:e.normalizeClass(["left","left"+Number(Je)%4])},null,2),e.createElementVNode("div",iO,[e.createElementVNode("div",null,e.toDisplayString(dt.endTime||"To future"),1),e.createElementVNode("div",null,e.toDisplayString(dt.startTime),1)]),e.createElementVNode("div",sO,[dt.userPackageId?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(ie,{name:"monitorIconCpu ","font-size":"24"}),e.createElementVNode("span",null,e.toDisplayString(dt.userPackageId),1),dt.endTime?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",cO," Current "))],64)):(e.openBlock(),e.createElementBlock("div",dO,e.toDisplayString(e.unref(a)("noData")),1))])],8,lO))),128))]))),128))])])]),_:1})):e.createCommentVNode("",!0)])])]),_:1},8,["model","rules"])]),_:1}))]),_:1},8,["modelValue","title"]),e.createVNode(Fe,{ref_key:"tooltipRef",ref:fn,visible:jt.value,placement:ii.value,"hide-after":0,"popper-options":{modifiers:[{name:"computeStyles",options:{adaptive:!1,enabled:!1}}]},"virtual-ref":yn.value,"virtual-triggering":"","popper-class":"singleton-tooltip-tag"},{content:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(Jn.value),1)]),_:1},8,["visible","placement","virtual-ref"]),e.createVNode(Ao,{modelValue:fi.value,"onUpdate:modelValue":L[40]||(L[40]=Q=>fi.value=Q),width:"495",top:"0","before-close":_u,"show-close":!1,"close-on-click-modal":!1,"modal-class":"dialog-ConDetSensor-confrim"},{default:e.withCtx(()=>[e.createElementVNode("div",mO,[e.createElementVNode("div",pO,[e.createElementVNode("div",hO,[e.createVNode(ie,{name:"containerDetectionSensor","font-size":"32"})]),e.createElementVNode("div",gO,e.toDisplayString(An.value?e.unref(a)("editConDetSensor"):e.unref(a)("addConDetSensor")),1),e.createElementVNode("div",{class:"close",onClick:_u},[e.createVNode(ie,{name:"closeElMessageBox","font-size":"32"})])]),e.createElementVNode("div",yO,[e.createVNode(e.unref(Yt),{modelValue:Qs.value,"onUpdate:modelValue":L[39]||(L[39]=Q=>Qs.value=Q),placeholder:String(hl.value)||e.unref(a)("placeholderOfSensor"),onInput:JH,onBlur:$H},{suffix:e.withCtx(()=>[e.createVNode(wt,{placement:"bottom-end",width:227,trigger:"click","popper-class":"popper-conDetSensor",visible:Hu.value,"onUpdate:visible":L[38]||(L[38]=Q=>Hu.value=Q),ref_key:"popperConDetSensorRef",ref:tg,"hide-after":0,offset:10},{reference:e.withCtx(()=>[e.createVNode(ie,{class:"icon hover-animation",name:"xiajiantou","font-size":"24"})]),default:e.withCtx(()=>[e.createElementVNode("div",kO,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ci.value,Q=>(e.openBlock(),e.createElementBlock("div",{class:"item",key:Q.id,onClick:e.withModifiers(Ge=>a_(Q),["stop"])},[e.createVNode(ie,{name:"containerDetectionSensor","font-size":"24"}),e.createElementVNode("div",null,[e.createElementVNode("div",null,e.toDisplayString(Q.macId),1),e.createElementVNode("div",bO,e.toDisplayString(Q.mac),1)])],8,vO))),128))])]),_:1},8,["visible"])]),_:1},8,["modelValue","placeholder"]),e.createElementVNode("div",null,[e.createVNode(e.unref(Bn),{style:{height:"40px"},type:"primary",onClick:e_},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("save")),1)]),_:1})])])])]),_:1},8,["modelValue"]),e.createVNode(Ao,{modelValue:Js.value,"onUpdate:modelValue":L[43]||(L[43]=Q=>Js.value=Q),width:"495",top:"0","before-close":Zu,"show-close":!1,"close-on-click-modal":!1,"modal-class":"dialog-ConDetSensor-confrim"},{default:e.withCtx(()=>[e.createElementVNode("div",wO,[e.createElementVNode("div",CO,[e.createElementVNode("div",TO,[e.createVNode(ie,{name:"lightHub","font-size":"32"})]),e.createElementVNode("div",EO,e.toDisplayString(Sn.value?e.unref(a)("editLightHub"):e.unref(a)("addLightHub")),1),e.createElementVNode("div",{class:"close",onClick:Zu},[e.createVNode(ie,{name:"closeElMessageBox","font-size":"32"})])]),e.createElementVNode("div",SO,[e.createVNode(e.unref(Yt),{modelValue:$s.value,"onUpdate:modelValue":L[42]||(L[42]=Q=>$s.value=Q),placeholder:String(mi.value)||e.unref(a)("lightHubPlaceholder"),onInput:l_,onBlur:i_},{suffix:e.withCtx(()=>[e.createVNode(wt,{placement:"bottom-end",width:227,trigger:"click","popper-class":"popper-conDetSensor",ref_key:"popperLightHubRef",ref:ag,visible:Yu.value,"onUpdate:visible":L[41]||(L[41]=Q=>Yu.value=Q),"hide-after":0,offset:10},{reference:e.withCtx(()=>[e.createVNode(ie,{class:"icon hover-animation",name:"xiajiantou","font-size":"24"})]),default:e.withCtx(()=>[e.createElementVNode("div",NO,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ct.value,Q=>(e.openBlock(),e.createElementBlock("div",{class:"item",key:Q.id,onClick:e.withModifiers(Ge=>c_(Q),["stop"])},[e.createVNode(ie,{name:"lightHub","font-size":"24"}),e.createElementVNode("div",null,[e.createElementVNode("div",null,e.toDisplayString(Q.macId),1),e.createElementVNode("div",BO,e.toDisplayString(Q.mac),1)])],8,VO))),128))])]),_:1},8,["visible"])]),_:1},8,["modelValue","placeholder"]),e.createElementVNode("div",null,[e.createVNode(e.unref(Bn),{style:{height:"40px"},type:"primary",onClick:s_},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("save")),1)]),_:1})])])])]),_:1},8,["modelValue"]),e.createVNode(Ao,{modelValue:_s.value,"onUpdate:modelValue":L[46]||(L[46]=Q=>_s.value=Q),width:"495",top:"0","before-close":Pu,"show-close":!1,"close-on-click-modal":!1,"modal-class":"dialog-ConDetSensor-confrim"},{default:e.withCtx(()=>[e.createElementVNode("div",IO,[e.createElementVNode("div",AO,[e.createElementVNode("div",DO,[e.createVNode(ie,{name:"sensor-weight","font-size":"32"})]),e.createElementVNode("div",MO,e.toDisplayString($n.value?e.unref(a)("editWeightSensor"):e.unref(a)("addWeightSensor")),1),e.createElementVNode("div",{class:"close",onClick:Pu},[e.createVNode(ie,{name:"closeElMessageBox","font-size":"32"})])]),e.createElementVNode("div",LO,[e.createVNode(e.unref(Yt),{modelValue:Ys.value,"onUpdate:modelValue":L[45]||(L[45]=Q=>Ys.value=Q),placeholder:String(di.value)||e.unref(a)("placeholderOfSensor"),onInput:LH,onBlur:xH},{suffix:e.withCtx(()=>[e.createVNode(wt,{placement:"bottom-end",width:227,trigger:"click","popper-class":"popper-conDetSensor",ref_key:"popperWeightSensorRef",ref:X2,visible:Ou.value,"onUpdate:visible":L[44]||(L[44]=Q=>Ou.value=Q),"hide-after":0,offset:10},{reference:e.withCtx(()=>[e.createVNode(ie,{class:"icon hover-animation",name:"xiajiantou","font-size":"24"})]),default:e.withCtx(()=>[e.createElementVNode("div",xO,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Bo.value,Q=>(e.openBlock(),e.createElementBlock("div",{class:"item",key:Q.id,onClick:e.withModifiers(Ge=>OH(Q),["stop"])},[e.createVNode(ie,{name:"sensor-weight","font-size":"24"}),e.createElementVNode("div",null,[e.createElementVNode("div",null,e.toDisplayString(Q.macId),1),e.createElementVNode("div",PO,e.toDisplayString(Q.mac),1)])],8,OO))),128))])]),_:1},8,["visible"])]),_:1},8,["modelValue","placeholder"]),e.createElementVNode("div",null,[e.createVNode(e.unref(Bn),{style:{height:"40px"},type:"primary",onClick:PH},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("save")),1)]),_:1})])])])]),_:1},8,["modelValue"]),e.createVNode(Ao,{modelValue:Zs.value,"onUpdate:modelValue":L[49]||(L[49]=Q=>Zs.value=Q),width:"495",top:"0","before-close":zu,"show-close":!1,"close-on-click-modal":!1,"modal-class":"dialog-ConDetSensor-confrim"},{default:e.withCtx(()=>[e.createElementVNode("div",FO,[e.createElementVNode("div",zO,[e.createElementVNode("div",RO,[e.createVNode(ie,{name:"sensor-BTLock","font-size":"32"})]),e.createElementVNode("div",HO,e.toDisplayString(so.value?e.unref(a)("editBTLSensor"):e.unref(a)("addBTLSensor")),1),e.createElementVNode("div",{class:"close",onClick:zu},[e.createVNode(ie,{name:"closeElMessageBox","font-size":"32"})])]),e.createElementVNode("div",_O,[e.createVNode(e.unref(Yt),{modelValue:js.value,"onUpdate:modelValue":L[48]||(L[48]=Q=>js.value=Q),placeholder:String(ui.value)||e.unref(a)("placeholderOfSensor"),onInput:zH,onBlur:RH},{suffix:e.withCtx(()=>[e.createVNode(wt,{placement:"bottom-end",width:227,trigger:"click","popper-class":"popper-conDetSensor",ref_key:"popperBTLSensorRef",ref:$2,visible:Fu.value,"onUpdate:visible":L[47]||(L[47]=Q=>Fu.value=Q),"hide-after":0,offset:10},{reference:e.withCtx(()=>[e.createVNode(ie,{class:"icon hover-animation",name:"xiajiantou","font-size":"24"})]),default:e.withCtx(()=>[e.createElementVNode("div",YO,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(pn.value,Q=>(e.openBlock(),e.createElementBlock("div",{class:"item",key:Q.id,onClick:e.withModifiers(Ge=>HH(Q),["stop"])},[e.createVNode(ie,{name:"sensor-BTLock","font-size":"24"}),e.createElementVNode("div",null,[e.createElementVNode("div",null,e.toDisplayString(Q.macId),1),e.createElementVNode("div",jO,e.toDisplayString(Q.mac),1)])],8,ZO))),128))])]),_:1},8,["visible"])]),_:1},8,["modelValue","placeholder"]),e.createElementVNode("div",null,[e.createVNode(e.unref(Bn),{style:{height:"40px"},type:"primary",onClick:_H},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("save")),1)]),_:1})])])])]),_:1},8,["modelValue"]),e.createVNode(Ao,{modelValue:ec.value,"onUpdate:modelValue":L[51]||(L[51]=Q=>ec.value=Q),width:"472",top:"0","before-close":nc,"show-close":!1,"close-on-click-modal":!1,"modal-class":"dialog-TPMSensor-confrim"},{default:e.withCtx(()=>[e.createElementVNode("div",UO,[e.createElementVNode("div",WO,[e.createElementVNode("div",GO,[e.createVNode(ie,{name:"tirePressureMonitoringSensor","font-size":"32"})]),e.createElementVNode("div",{class:"close",onClick:nc},[e.createVNode(ie,{name:"closeElMessageBox","font-size":"32"})])]),e.createElementVNode("div",KO,[L[98]||(L[98]=e.createElementVNode("div",{class:"text"},[e.createElementVNode("span",{class:"word"}," Choose a tire pressure sensors for the selected tires: ")],-1)),e.createElementVNode("div",qO,[e.createVNode(e.unref(Yt),{modelValue:tc.value,"onUpdate:modelValue":L[50]||(L[50]=Q=>tc.value=Q),placeholder:e.unref(a)("placeholderOfSensor"),onInput:u_},null,8,["modelValue","placeholder"])]),e.createElementVNode("div",QO,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Wo.value,Q=>{var Ge,dt;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["tpms-item",{active:Q.macId===((Ge=sa.value)==null?void 0:Ge.macId)}]),key:Q,onClick:Je=>sa.value=Q},[e.createElementVNode("div",JO,[L[97]||(L[97]=e.createElementVNode("div",{class:"btn"},"TPMS",-1)),e.createElementVNode("div",null,[e.createElementVNode("div",null,e.toDisplayString(Q.macId),1),e.createElementVNode("div",$O,e.toDisplayString(Q.mac),1)])]),Q.macId===((dt=sa.value)==null?void 0:dt.macId)?(e.openBlock(),e.createBlock(ie,{key:0,name:"device-gou","font-size":"24"})):e.createCommentVNode("",!0)],10,XO)}),128))])]),e.createElementVNode("div",eP,[e.createVNode(e.unref(Bn),{style:{width:"78px",height:"40px",color:"#000"},onClick:nc},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("cancel")),1)]),_:1}),e.createVNode(e.unref(Bn),{style:{height:"40px"},type:"primary",onClick:f_},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("save")),1)]),_:1})])])]),_:1},8,["modelValue"]),e.createVNode(Ao,{modelValue:Us.value,"onUpdate:modelValue":L[54]||(L[54]=Q=>Us.value=Q),width:"472",top:"0","before-close":Ks,"show-close":!1,"close-on-click-modal":!1,"modal-class":"dialog-TPMSensor-confrim dialog-THSensor-confrim"},{default:e.withCtx(()=>[e.createElementVNode("div",tP,[e.createElementVNode("div",nP,[e.createElementVNode("div",oP,[e.createVNode(ie,{name:"sensor-temp&humidity","font-size":"16",color:"#000"})]),e.createElementVNode("div",null,e.toDisplayString(e.unref(a)("addTHSensor")),1),e.createElementVNode("div",{class:"close",onClick:Ks},[e.createVNode(ie,{name:"closeElMessageBox","font-size":"32"})])]),e.createElementVNode("div",aP,[e.createElementVNode("div",rP,[e.createElementVNode("span",lP,e.toDisplayString(e.unref(a)("macAddress"))+":",1)]),e.createElementVNode("div",iP,[e.createVNode(e.unref(Yt),{modelValue:Ws.value,"onUpdate:modelValue":L[52]||(L[52]=Q=>Ws.value=Q),placeholder:e.unref(a)("placeholderOfSensor"),onInput:jH},null,8,["modelValue","placeholder"])]),e.createElementVNode("div",sP,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(q2.value,Q=>{var Ge,dt;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["tpms-item",{active:Q.macId===((Ge=pl.value)==null?void 0:Ge.macId)}]),key:Q,onClick:Je=>pl.value=Q},[e.createElementVNode("div",dP,[e.createElementVNode("div",uP,[e.createVNode(ie,{name:"sensor-temp&humidity","font-size":"16"})]),e.createElementVNode("div",null,[e.createElementVNode("div",null,e.toDisplayString(Q.macId),1),e.createElementVNode("div",fP,e.toDisplayString(Q.mac),1)])]),Q.macId===((dt=pl.value)==null?void 0:dt.macId)?(e.openBlock(),e.createBlock(ie,{key:0,name:"device-gou","font-size":"24"})):e.createCommentVNode("",!0)],10,cP)}),128)),q2.value.length===0?(e.openBlock(),e.createElementBlock("div",mP,e.toDisplayString(e.unref(a)("noData")),1)):e.createCommentVNode("",!0)])]),e.createElementVNode("div",pP,[e.createElementVNode("div",hP,[e.createElementVNode("span",gP,e.toDisplayString(e.unref(a)("nameThisSensor"))+":",1)]),e.createElementVNode("div",yP,[e.createVNode(e.unref(Yt),{modelValue:Gs.value,"onUpdate:modelValue":L[53]||(L[53]=Q=>Gs.value=Q),placeholder:e.unref(a)("placeholderOfSensorName")},null,8,["modelValue","placeholder"])])]),e.createElementVNode("div",kP,[e.createVNode(e.unref(Bn),{style:{width:"78px",height:"40px",color:"#000"},onClick:Ks},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("cancel")),1)]),_:1}),e.createVNode(e.unref(Bn),{style:{width:"121px",height:"40px"},type:"primary",onClick:UH},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("add")),1)]),_:1})])])]),_:1},8,["modelValue"]),me.value?(e.openBlock(),e.createBlock(Ir,{key:0,modelValue:me.value,"onUpdate:modelValue":L[55]||(L[55]=Q=>me.value=Q),loginInfo:t.loginInfo,customerHabit:e.unref(s),itemData:Se.value,allVehicles:t.allVehicles,allAssetTypes:t.allAssetTypes,allDevices:t.allDevices,modelTypes:t.modelTypes,allVehicleToDevice:t.allVehicleToDevice,allTags:t.allTags,allLandmarks:t.allLandmarks,landmarkGroup:t.landmarkGroup,saveFunctionTag:t.saveFunctionTag,assetTypeFn:e.unref(c),bindDeviceHis:e.unref(d),deviceBindTimeLimit:e.unref(u),saveFunctionVehicle:e.unref(y),unitAllState:t.unitAllState,GOOGLE_MAP_API_KEY:t.GOOGLE_MAP_API_KEY,MAP_STYLES:t.MAP_STYLES,searhTrimblemapAddress:t.searhTrimblemapAddress,saveFunctionLandmark:t.saveFunctionLandmark,conDetSensorList:e.unref(p)},null,8,["modelValue","loginInfo","customerHabit","itemData","allVehicles","allAssetTypes","allDevices","modelTypes","allVehicleToDevice","allTags","allLandmarks","landmarkGroup","saveFunctionTag","assetTypeFn","bindDeviceHis","deviceBindTimeLimit","saveFunctionVehicle","unitAllState","GOOGLE_MAP_API_KEY","MAP_STYLES","searhTrimblemapAddress","saveFunctionLandmark","conDetSensorList"])):e.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-939c005c"]]),wP={class:"sub-title"},CP={class:"content-wrapper"},TP={class:"title"},EP={class:"many-tag"},SP=["onMouseenter","onClick"],NP={class:"bound-tagitem-name"},VP=["onClick"],BP={class:"many-tag"},IP=["onMouseenter","onClick"],AP={class:"bound-tagitem-name"},DP=["onClick"],MP=["onMouseenter","onClick"],LP={class:"bound-tagitem-name"},xP=["onClick"],OP={key:1,class:"less-tag"},PP=["onMouseenter","onClick"],FP={class:"bound-tagitem-name"},zP=["onClick"],RP={class:"list-item-left"},HP={class:"name"},_P={class:"num"},YP={class:"list-item-left"},ZP={class:"name"},jP={class:"num"},UP={class:"list-item-left"},WP={class:"name"},GP={class:"num"},KP={class:"title"},qP={class:"title-left"},QP={class:"select-num"},XP={class:"title-right"},JP={style:{"margin-right":"8px"}},$P={key:0,class:"input-type"},eF={key:1,class:"input-wrapper"},tF={key:2,class:"input-wrapper2"},nF={class:"icon"},oF={class:"select-wrapper"},aF={class:"select-left"},rF={style:{"margin-left":"3px"}},lF={class:"right"},iF={class:"all-list-content"},sF={key:0,class:"select-item"},cF={class:"left"},dF={class:"name",style:{"margin-left":"8px","vertical-align":"middle"}},uF={class:"right"},fF={key:1,class:"mask"},mF={class:"loading-container"},pF={style:{flex:"auto"}},hF=bt(e.defineComponent({__name:"AddOrEditTag",props:{modelValue:{type:Boolean,required:!0,default:!1},loading:{type:Boolean,default:!1},loginInfo:{type:Object,required:!0,default(){return{}}},itemData:{type:Object,default:()=>({})},allVehicles:{type:Array,default:()=>[]},allDevices:{type:Array,default:()=>[]},allTags:{type:Array,default:()=>[]},allLandmarks:{type:Array,default:()=>[]},landmarkGroup:{type:Array,default:()=>[]},isNeedAdd:{type:String,default:""},saveFunctionTag:{type:Function,required:!0,default(){return()=>new Promise(t=>{t([])})}},customerHabit:{type:Object,required:!0,default(){return{}}},allAssetTypes:{type:Array,required:!0,default(){return[]}},modelTypes:{type:Object,required:!0,default(){return{}}},allVehicleToDevice:{type:Array,required:!0,default(){return[]}},assetTypeFn:{type:Function,required:!0,default(){return()=>new Promise(t=>{t([])})}},bindDeviceHis:{type:Function,required:!0,default(){return()=>new Promise(t=>{t([])})}},deviceBindTimeLimit:{type:Function,required:!0,default(){return()=>new Promise(t=>{t([])})}},saveFunctionVehicle:{type:Function,required:!0,default(){return()=>new Promise(t=>{t([])})}},unitAllState:{type:Array,default:()=>[]},GOOGLE_MAP_API_KEY:{type:String,required:!0,default:""},MAP_STYLES:{type:Array,default:()=>[]},searhTrimblemapAddress:{type:Function,required:!0,default(){return()=>new Promise(t=>{t([])})}},saveFunctionLandmark:{type:Function,required:!0,default(){return()=>new Promise(t=>{t([])})}},conDetSensorList:{type:Array,default:()=>[]},needConDetSensor:{type:Boolean,default:!0},needShowList:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{expose:n,emit:o}){const a=ai(),{t:r}=Cn(),l=t,{modelValue:i,saveFunctionTag:s}=e.toRefs(l),c=o,d=e.computed({get(){return i.value},set(re){c("update:modelValue",re)}}),u={name:[{required:!0,message:r("nameTip")}]},y=e.computed(()=>{var re;return(re=l.itemData)!=null&&re.id?r("editThisTag"):r("createTag")}),p=e.ref({landmark:[],vehicle:[],device:[],tag:[]}),m=e.ref({}),v=e.ref({id:"",name:"",description:"",content:{vehicle:[],device:[],tag:[],landmark:[]}}),h=()=>{var re,se,me,Se;if(p.value.vehicle=l.allVehicles,p.value.device=l.allDevices,p.value.tag=l.allTags,p.value.landmark=l.allLandmarks,l.itemData&&l.itemData.id){let xe=l.allTags.find(st=>st.id===l.itemData.id);if(xe){let st=l.allVehicles.filter(Nt=>xe.content.vehicle.includes(Nt.id)).map(Nt=>({name:Nt.name,id:Nt.id})),dn=l.allDevices.filter(Nt=>{var lo;return(lo=xe.content.device)==null?void 0:lo.includes(Nt.id)}).map(Nt=>({name:Nt.userPackageId,id:Nt.id})),Ft=l.allTags.filter(Nt=>xe.content.tag.includes(Nt.id)).map(Nt=>({name:Nt.name,id:Nt.id})),ro=l.allLandmarks.filter(Nt=>xe.content.landmark.includes(Nt.id)).map(Nt=>({name:Nt.name,id:Nt.id}));v.value={id:xe.id,name:xe.name,description:xe.content.description,content:{vehicle:st,device:dn,tag:Ft,landmark:ro}}}m.value={id:v.value.id,name:v.value.name,description:v.value.description,content:{landmark:((re=v.value.content)==null?void 0:re.landmark)||[],vehicle:((se=v.value.content)==null?void 0:se.vehicle)||[],device:((me=v.value.content)==null?void 0:me.device)||[],tag:((Se=v.value.content)==null?void 0:Se.tag)||[]}}}else{let xe=[];l.itemData&&l.itemData.vehicles&&l.itemData.vehicles.length&&(xe=l.allVehicles.filter(st=>{var dn;return(dn=l.itemData.vehicles)==null?void 0:dn.includes(st.id)}).map(st=>({name:st.name,id:st.id}))),m.value={id:"",name:"",description:"",content:{landmark:[],vehicle:xe,device:[],tag:[]}}}l.needShowList&&(g.value=!0)},g=e.ref(!1),k=e.ref(),T=e.ref(!1),f=()=>{var re;if(O.value){ue();return}T.value=!1,(re=k.value)==null||re.validate(async se=>{if(!se)return;const me={...m.value,content:{landmark:m.value.content.landmark.map(xe=>xe.id)||[],vehicle:m.value.content.vehicle.map(xe=>xe.id)||[],device:m.value.content.device.map(xe=>xe.id)||[],tag:m.value.content.tag.map(xe=>xe.id)||[]}};T.value=!0;let Se={content:{}};if(me.id){for(let xe of Object.keys(me))if(me[xe]!==v.value[xe])if(typeof me[xe]=="object")for(const st of Object.keys(me[xe]))JSON.stringify(me[xe][st])!=JSON.stringify(v.value[xe][st])&&(Se[xe][st]=me[xe][st]);else Se[xe]=me[xe];Se.id=me.id}if(delete Se.tagType,delete me.tagType,me.id?(Se.content.modifyTime=K(new Date).utc().format("YYYY-MM-DDTHH:mm:ss[Z]"),v.value.description!==me.description&&(Se.content.description=me.description)):(me.content.createTime=K(new Date).utc().format("YYYY-MM-DDTHH:mm:ss[Z]"),me.description&&(me.content.description=me.description)),delete me.description,delete Se.description,me.id&&Object.keys(Se.content).length===1&&Object.keys(Se.content)[0]==="modifyTime"&&!Se.name){T.value=!1,d.value=!1;return}await s.value(me.id?Se:me,b,w)})},b=()=>{a.success("Saved successfully!"),T.value=!1,Jt()},w=()=>{T.value=!1},E=(re,se)=>{if(re==="landmark"&&se&&se.id){let me=l.allLandmarks.find(Se=>Se.id===se.id);return me&&me.content.landmarkType?"landmark-group"+me.content.landmarkType:"landmarkIcon"}return re==="landmark"?"landmarkIcon":re==="vehicle"?"vehicleIcon":re==="device"?"monitorIconCpu":"tagIcon"},C=re=>{let se=l.allVehicles.find(me=>me.id===re);return se?"vehicle-"+se.content.newIcon:"vehicleIcon"};e.watch(()=>d.value,re=>{var se;re?l.needShowList&&(g.value=!0):(m.value={},(se=k.value)==null||se.resetFields(),g.value=!1,O.value=!1,ve.value=!1,be.value="",v.value={id:"",name:"",description:"",content:{vehicle:[],device:[],tag:[],landmark:[]}},Ne.value=!1)});const D=()=>Ls(K.utc().format()),S=e.computed(()=>{let re=[];return m.value.content&&Object.keys(m.value.content).forEach(se=>{let me=m.value.content[se];me=me.map(Se=>({...Se,type:se})),re.push(...me)}),re}),V=e.ref(),B=e.ref(),N=e.ref(),j=re=>{try{if(g.value&&!O.value&&B.value){let se=B.value.contains(re.target),me=V.value.contains(re.target);!se&&!me&&(g.value=!1)}if(O.value&&N.value){let se=N.value.contains(re.target),me=B.value.contains(re.target);!se&&!me&&(O.value=!1)}}catch(se){console.log("error",se)}},O=e.ref(!1),I=e.ref([]),A=e.ref([]),z=e.ref([]),M=e.ref("tag"),x=e.ref("Search Tag"),H=e.ref(0),X=re=>{const se=l.allVehicleToDevice.find(me=>me.vehicleId===re);if(se)return l.allDevices.find(me=>se.deviceId===me.id)},P=e.ref("");let oe=e.ref(""),te=e.ref("one"),Ve=e.ref("tag"),De=e.ref(!1);const de=re=>{if(O.value=!1,oe.value=re,M.value=re,ae.value="",te.value="one",Ve.value=re,De.value=!1,re==="tag"?(x.value=r("search")+" "+r("tag"),P.value=r("createNewTag")):re==="vehicle"?(x.value=r("search")+" "+r("vehicle"),P.value=r("createNewVehicle"),De.value=!0):re==="device"?(x.value=r("searchDeviceID"),P.value="",De.value=!0):re==="landmark"&&(x.value=r("search")+" "+r("landmark"),P.value=r("createNewLandmark")),re==="tag"||re==="vehicle"||re==="device"||re==="landmark"){let se=[];p.value[re].forEach(me=>{if(re==="tag"){if(m.value.id!==me.id){let Se=m.value.content[re].some(xe=>xe.id===me.id);se.push({...me,name:me.name||me.userPackageId,checkValue:Se,isShow:!0})}}else if(re==="vehicle"){let Se=m.value.content[re].some(st=>st.id===me.id),xe=X(me.id);se.push({...me,name:me.name||me.userPackageId,deviceUpid:xe?xe.userPackageId:"",checkValue:Se,isShow:!0})}else{let Se=m.value.content[re].some(xe=>xe.id===me.id);se.push({...me,name:me.name||me.userPackageId,checkValue:Se,isShow:!0})}}),I.value=se,A.value=se,H.value=se.length}O.value=!0,Te.value=I.value.some(se=>se.checkValue)&&I.value.some(se=>!se.checkValue),he.value=I.value.filter(se=>se.checkValue).length===I.value.length},_=re=>{te.value=re,ae.value="",I.value.forEach(se=>se.isShow=!0)},ae=e.ref("");let ge=e.ref([]);e.watch(()=>ae.value,re=>{if(te.value==="more")if(Ve.value==="vehicle"){let se=re.split(`
276
276
  `).filter(me=>me);se.length?I.value=I.value.map(me=>{let Se=!1;return se.forEach(xe=>{var st;Se||(Se=((st=me.deviceUpid)==null?void 0:st.toString().toLowerCase())===xe.toLowerCase())}),{...me,isShow:Se}}):I.value=I.value.map(me=>({...me,isShow:!0}))}else{let se=re.split(`
277
- `).filter(me=>me);se.length?I.value=I.value.map(me=>{let Se=!1;return se.forEach(xe=>{var st;Se||(Se=((st=me.name)==null?void 0:st.toString().toLowerCase())===xe.toLowerCase())}),{...me,isShow:Se}}):I.value=I.value.map(me=>({...me,isShow:!0}))}else I.value=I.value.map(se=>{var me;return{...se,isShow:(me=se.name)==null?void 0:me.toString().toLowerCase().includes(re.toLowerCase())}});H.value=I.value.filter(se=>se.isShow).length}),e.watch(()=>I.value,()=>{ge.value=I.value.filter(re=>re.isShow)});const he=e.ref(!1),Te=e.ref(!1),je=re=>{I.value.forEach(se=>{se.isShow&&(se.checkValue=re)})},ye=()=>{};e.watch(()=>I.value,()=>{let re=I.value.filter(me=>me.isShow),se=I.value.filter(me=>me.isShow&&me.checkValue);he.value=!!re.length&&re.length===se.length,Te.value=!!se.length&&re.length!==se.length},{deep:!0}),e.watch(()=>z.value,()=>{z.value.forEach(re=>{let se=re.list.filter(me=>me.isShow);re.isIndeterminate=!!(se.filter(me=>me.checkValue).length&&se.filter(me=>!me.checkValue).length)}),Te.value=!!(z.value.filter(re=>re.checkValue).length&&z.value.filter(re=>!re.checkValue).length),he.value=z.value.every(re=>re.checkValue)},{deep:!0});const ue=()=>{if(M.value==="tag"){let re=I.value.filter(se=>se.checkValue);m.value.content.tag=re}else if(M.value==="vehicle"){let re=I.value.filter(se=>se.checkValue);m.value.content.vehicle=re}else if(M.value==="device"){let re=I.value.filter(se=>se.checkValue);m.value.content.device=re}else if(M.value==="landmark"){let re=I.value.filter(se=>se.checkValue);m.value.content.landmark=re}O.value=!1,g.value=!1},Ie=re=>{$.value=!1;let se=[...m.value.content[re.type]],me=se.findIndex(Se=>Se.id===re.id);if(me>-1&&(se.splice(me,1),m.value.content[re.type]=se),O.value&&M.value===re.type){const Se=I.value.findIndex(xe=>xe.id===re.id);Se>-1&&(I.value[Se].checkValue=!1)}},Ee=re=>{if(M.value==="tag"){let se=l.allTags.find(me=>me.id===re.id);se&&(Tt.value={id:se.id},vt.value=!0)}else if(M.value==="vehicle"){let se=l.allVehicles.find(me=>me.id===re.id);if(se){let me=Xe(se.id),Se=mt(se.id,"vehicleId");Tt.value={id:re.id,name:re.name,deviceId:Se?Se.deviceId:"",dataTime:"",tagContent:me,assetType:re.assetType,newIcon:re.newIcon,vehicleTypeId:re.vehicleTypeId,make:re.make,year:re.year,licensePlateNumber:re.licensePlateNumber,vin:re.vin,description:re.description}}Qt.value=!0}else M.value==="device"||M.value==="landmark"&&J(re)},Xe=re=>l.allTags.filter(se=>!!(se.vehicle&&se.vehicle.findIndex(me=>me===re)!==-1)),mt=(re,se="deviceId")=>l.allVehicleToDevice.find(me=>me[se]===re),R=e.ref(!1),U=e.ref(),pe=()=>{M.value==="tag"?(R.value=!0,U.value=m.value.id,ve.value&&(be.value=m.value.id+""),Tt.value=null,vt.value=!0):M.value==="vehicle"?(Tt.value={},Qt.value=!0):M.value==="device"||M.value==="landmark"&&q(),g.value=!1,O.value=!1},q=()=>{Tt.value={},on.value=!0},J=re=>{let se=l.allLandmarks.find(me=>me.id===re.id);se&&(Tt.value={...se},on.value=!0)},Be=e.ref(),Pe=e.ref(),$=e.ref(!1),ne=e.ref(""),He=e.ref("right"),Re=(re,se,me="right")=>{Be.value=re.currentTarget,ne.value=se,He.value=me;let Se=Be.value;const xe=document.createRange();xe.setStart(Se,0),xe.setEnd(Se,Se.childNodes.length),re.currentTarget.querySelector("span").querySelector("span").innerText!=se&&($.value=!0)},it=()=>{$.value=!1};let ve=e.ref(!1),be=e.ref("");const Ne=e.ref(!1),Ce=()=>{$.value=!1},nt=re=>{g.value=!0,ve.value=re},vt=e.ref(!1),Tt=e.ref(),Jt=()=>{d.value=!1};let Kt=e.ref(!1);const zn=()=>{d.value&&(g.value=!1,p.value.vehicle=l.allVehicles,p.value.device=l.allDevices,p.value.tag=l.allTags,p.value.landmark=l.allLandmarks,m.value.content.vehicle=l.allVehicles.filter(re=>m.value.content.vehicle.some(se=>se.id===re.id)).map(re=>({name:re.name,id:re.id})),m.value.content.device=l.allDevices.filter(re=>m.value.content.device.some(se=>se.id===re.id)).map(re=>({name:re.userPackageId,id:re.id})),m.value.content.tag=l.allTags.filter(re=>m.value.content.tag.some(se=>se.id===re.id)).map(re=>({name:re.name,id:re.id})),m.value.content.landmark=l.allLandmarks.filter(re=>m.value.content.landmark.some(se=>se.id===re.id)).map(re=>({name:re.name,id:re.id})))};e.watch(()=>l.allTags,()=>{zn(),Kt.value&&(g.value=!0,de("tag"),Kt.value=!1)}),e.watch(()=>l.allVehicles,()=>{zn()}),e.watch(()=>l.allLandmarks,()=>{zn()}),n({showList:nt});const Qt=e.ref(!1),on=e.ref(!1),cn=re=>{if(re.type==="vehicle")Tt.value={id:re.id},Qt.value=!0;else if(re.type==="tag")Tt.value={id:re.id},vt.value=!0;else if(re.type==="landmark"){let se=l.allLandmarks.find(me=>me.id===re.id);se&&(Tt.value={...se},on.value=!0)}},gn=()=>{try{let re=oe.value||"tag",se=[];p.value[re].forEach(me=>{if(re==="tag"){if(m.value.id!==me.id){let Se=m.value.content[re].some(xe=>xe.id===me.id);se.push({...me,name:me.name||me.userPackageId,checkValue:Se,isShow:!0})}}else if(re==="vehicle"){let Se=m.value.content[re].some(st=>st.id===me.id),xe=X(me.id);se.push({...me,name:me.name||me.userPackageId,deviceUpid:xe?xe.userPackageId:"",checkValue:Se,isShow:!0})}else{let Se=m.value.content[re].some(xe=>xe.id===me.id);se.push({...me,name:me.name||me.userPackageId,checkValue:Se,isShow:!0})}}),I.value=se}catch(re){console.log("error",re)}};return e.watch(()=>l.allTags,()=>{gn()}),e.watch(()=>l.allVehicles,()=>{gn()}),e.watch(()=>l.allLandmarks,()=>{gn()}),e.watch(()=>l.loading,re=>{re||h()},{immediate:!0}),(re,se)=>{const me=Yt,Se=os,xe=e.resolveComponent("anSvgIcon"),st=e.resolveComponent("TextClamp"),dn=Ki,Ft=e.resolveComponent("RecycleScroller"),ro=ns,Nt=Bn,lo=qi,Eo=Fo,So=e.resolveComponent("add-or-edit-vehicle"),ce=e.resolveComponent("add-or-edit-tag",!0),Me=e.resolveComponent("add-or-edit-landmark");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(lo,{modelValue:d.value,"onUpdate:modelValue":se[14]||(se[14]=Ke=>d.value=Ke),size:"520","destroy-on-close":!0,"show-close":!1,class:"drawer-footer-line drawer-class add-or-edit","before-close":Jt,onClick:j},{header:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("div",null,e.toDisplayString(y.value),1),e.createElementVNode("div",wP,e.toDisplayString(D()),1)])]),footer:e.withCtx(()=>[e.createElementVNode("div",pF,[e.createVNode(Nt,{style:{width:"85px",height:"40px"},onClick:Jt},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("cancel")),1)]),_:1}),t.loginInfo.type&&t.loginInfo.type!==3?(e.openBlock(),e.createBlock(Nt,{key:0,style:{width:"70px",height:"40px"},type:"primary",loading:T.value,onClick:f},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("save")),1)]),_:1},8,["loading"])):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[t.loading?(e.openBlock(),e.createElementBlock("div",fF,[e.createElementVNode("div",mF,[e.createVNode(xe,{class:"icon-loading",name:"loading-black-loading1","font-size":24,color:"#000"})])])):(e.openBlock(),e.createBlock(ro,{key:0,ref_key:"refForm",ref:k,class:"tagForm","label-position":"top","label-width":"auto","require-asterisk-position":"right",model:m.value,rules:u},{default:e.withCtx(()=>[e.createVNode(Se,{label:e.unref(r)("nameThisTag"),prop:"name",class:"custom-label-poosition2"},{default:e.withCtx(()=>[e.createVNode(me,{modelValue:m.value.name,"onUpdate:modelValue":se[0]||(se[0]=Ke=>m.value.name=Ke),maxlength:"64",placeholder:e.unref(r)("enterUniqueName")},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),e.createVNode(Se,{class:"custom-label-poosition"},{default:e.withCtx(()=>{var Ke;return[e.createElementVNode("div",CP,[e.createElementVNode("div",TP,[e.createTextVNode(e.toDisplayString(e.unref(r)("addElements")),1),e.createElementVNode("span",null,"("+e.toDisplayString(S.value.length)+")",1)]),S.value.length?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["content",{noMaigin:Ne.value}])},[S.value.length>6?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Ne.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:"many-tag all-elelist",onScroll:Ce},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,(Oe,Vt)=>(e.openBlock(),e.createElementBlock("div",{key:Vt},[e.createElementVNode("div",{class:e.normalizeClass(["bound-tagitem",[Oe.type+"-tag"]]),onMouseenter:At=>Re(At,Oe.name,"top"),onMouseleave:it,onClick:At=>cn(Oe)},[e.createVNode(xe,{name:Oe.type==="vehicle"?C(Oe.id):E(Oe.type,Oe),"font-size":"24",class:"bindcls"},null,8,["name"]),e.createElementVNode("div",LP,[e.createVNode(st,{class:"tagtxt",text:Oe.name+""||"-",location:e.unref(Sa)(),"max-lines":1,autoResize:!0},null,8,["text","location"])]),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(At=>Ie(Oe),["stop"])},[e.createVNode(xe,{name:"removeIcon","font-size":"16"})],8,xP)],42,MP)]))),128))],32)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",EP,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value.slice(0,3),(Oe,Vt)=>(e.openBlock(),e.createElementBlock("div",{key:Vt},[e.createElementVNode("div",{class:e.normalizeClass(["bound-tagitem",[Oe.type+"-tag"]]),onMouseenter:At=>Re(At,Oe.name,"top"),onMouseleave:it,onClick:At=>cn(Oe)},[e.createVNode(xe,{name:Oe.type==="vehicle"?C(Oe.id):E(Oe.type,Oe.id),"font-size":"24",class:"bindcls"},null,8,["name"]),e.createElementVNode("div",NP,[e.createVNode(st,{class:"tagtxt",text:Oe.name+""||"-",location:e.unref(Sa)(),"max-lines":1,autoResize:!0},null,8,["text","location"])]),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(At=>Ie(Oe),["stop"])},[e.createVNode(xe,{name:"removeIcon","font-size":"16"})],8,VP)],42,SP)]))),128))]),e.createElementVNode("div",{class:"show-all",onClick:se[1]||(se[1]=Oe=>Ne.value=!0)},[e.createVNode(xe,{name:"verticalPoint","font-size":"24"}),e.createElementVNode("div",null,e.toDisplayString(e.unref(r)("seeAll")+" "+S.value.length+" "+e.unref(r)("element")),1)]),e.createElementVNode("div",BP,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value.slice(S.value.length-(S.value.length%3?S.value.length%3:3)),(Oe,Vt)=>(e.openBlock(),e.createElementBlock("div",{key:Vt},[e.createElementVNode("div",{class:e.normalizeClass(["bound-tagitem",[Oe.type+"-tag"]]),onMouseenter:At=>Re(At,Oe.name,"top"),onMouseleave:it,onClick:At=>cn(Oe)},[e.createVNode(xe,{name:Oe.type==="vehicle"?C(Oe.id):E(Oe.type,Oe),"font-size":"24",class:"bindcls"},null,8,["name"]),e.createElementVNode("div",AP,[e.createVNode(st,{class:"tagtxt",text:Oe.name+""||"-",location:e.unref(Sa)(),"max-lines":1,autoResize:!0},null,8,["text","location"])]),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(At=>Ie(Oe),["stop"])},[e.createVNode(xe,{name:"removeIcon","font-size":"16"})],8,DP)],42,IP)]))),128))])],64))],64)):(e.openBlock(),e.createElementBlock("div",OP,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,(Oe,Vt)=>(e.openBlock(),e.createElementBlock("div",{key:Vt},[e.createElementVNode("div",{class:e.normalizeClass(["bound-tagitem",[Oe.type+"-tag"]]),onMouseenter:At=>Re(At,Oe.name,"top"),onMouseleave:it,onClick:At=>cn(Oe)},[e.createVNode(xe,{name:Oe.type==="vehicle"?C(Oe.id):E(Oe.type,Oe),"font-size":"24",class:"bindcls"},null,8,["name"]),e.createElementVNode("div",FP,[e.createVNode(st,{class:"tagtxt",text:Oe.name+""||"-",location:e.unref(Sa)(),"max-lines":1,autoResize:!0},null,8,["text","location"])]),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(At=>Ie(Oe),["stop"])},[e.createVNode(xe,{name:"removeIcon","font-size":"16"})],8,zP)],42,PP)]))),128))]))],2)):e.createCommentVNode("",!0),t.loginInfo.type&&t.loginInfo.type!==3?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"listIconRef",ref:V,class:"wrapper-add"},[e.createVNode(xe,{class:"tag-add",name:"plus","font-size":"32",color:"#9a9a9a",style:{cursor:"pointer"},onClick:se[2]||(se[2]=Oe=>g.value=!0)})],512)):e.createCommentVNode("",!0),g.value?(e.openBlock(),e.createElementBlock("div",{key:2,class:"type-list",ref_key:"typeListRef",ref:B},[e.createElementVNode("div",{class:"list-item",onClick:se[3]||(se[3]=Oe=>de("tag"))},[e.createElementVNode("div",RP,[e.createVNode(xe,{name:"tagIcon","font-size":"24",class:"icon"}),e.createElementVNode("span",HP,e.toDisplayString(e.unref(r)("addTag")),1),e.createElementVNode("span",_P,"("+e.toDisplayString((Ke=t.itemData)!=null&&Ke.id?p.value.tag.length-1:p.value.tag.length)+")",1)]),e.createVNode(xe,{"font-size":24,name:"arrow-right",color:"#949494"})]),e.createElementVNode("div",{class:"list-item",onClick:se[4]||(se[4]=Oe=>de("vehicle"))},[e.createElementVNode("div",YP,[e.createVNode(xe,{name:"vehicleIcon","font-size":"24",class:"icon"}),e.createElementVNode("span",ZP,e.toDisplayString(e.unref(r)("addVehicle")),1),e.createElementVNode("span",jP,"("+e.toDisplayString(p.value.vehicle.length)+")",1)]),e.createVNode(xe,{"font-size":24,name:"arrow-right",color:"#949494"})]),e.createElementVNode("div",{class:"list-item",onClick:se[5]||(se[5]=Oe=>de("landmark"))},[e.createElementVNode("div",UP,[e.createVNode(xe,{name:"landmarkIcon","font-size":"24",class:"icon"}),e.createElementVNode("span",WP,e.toDisplayString(e.unref(r)("addLandmark")),1),e.createElementVNode("span",GP,"("+e.toDisplayString(p.value.landmark.length)+")",1)]),e.createVNode(xe,{"font-size":24,name:"arrow-right",color:"#949494"})]),e.createCommentVNode("",!0)],512)):e.createCommentVNode("",!0),O.value?(e.openBlock(),e.createElementBlock("div",{key:3,class:e.normalizeClass(["all-list",{"all-list-device":!P.value}]),ref_key:"allList",ref:N,onClick:e.withModifiers(()=>{},["stop"])},[e.createElementVNode("div",KP,[e.createElementVNode("div",qP,[e.createElementVNode("div",QP,e.toDisplayString(e.unref(r)("selected"))+" :"+e.toDisplayString(I.value.filter(Oe=>Oe.checkValue).length),1)]),e.createElementVNode("div",XP,[e.createElementVNode("div",JP,[e.createVNode(xe,{name:"closeIconNew","font-size":"32",color:"#9a9a9a",class:"icon-hover",onClick:se[7]||(se[7]=Oe=>O.value=!1)})]),e.createElementVNode("div",null,[e.createVNode(xe,{name:"comfirmIcon","font-size":"32",color:"#0BA5EC",class:"icon-hover",onClick:ue})])])]),e.unref(De)?(e.openBlock(),e.createElementBlock("div",$P,[e.createElementVNode("div",{class:e.normalizeClass(["item",{"active-item":e.unref(te)==="one"}]),onClick:se[8]||(se[8]=Oe=>_("one"))},e.toDisplayString(e.unref(Ve)==="vehicle"?e.unref(r)("vehicleName"):e.unref(r)("device")),3),e.createElementVNode("div",{class:e.normalizeClass(["item",{"active-item":e.unref(te)==="more"}]),onClick:se[9]||(se[9]=Oe=>_("more"))},e.toDisplayString(e.unref(r)("batchDeviceID")),3)])):e.createCommentVNode("",!0),e.unref(te)!=="more"?(e.openBlock(),e.createElementBlock("div",eF,[e.createVNode(me,{modelValue:ae.value,"onUpdate:modelValue":se[10]||(se[10]=Oe=>ae.value=Oe),max:"64",placeholder:x.value},{prefix:e.withCtx(()=>[e.createVNode(xe,{"font-size":"40",name:"searchIcon",color:"#000"})]),_:1},8,["modelValue","placeholder"])])):(e.openBlock(),e.createElementBlock("div",tF,[e.createVNode(me,{modelValue:ae.value,"onUpdate:modelValue":se[11]||(se[11]=Oe=>ae.value=Oe),type:"textarea",placeholder:x.value},{prefix:e.withCtx(()=>[e.createVNode(xe,{"font-size":"40",name:"searchIcon",color:"#000"})]),_:1},8,["modelValue","placeholder"]),e.createElementVNode("div",nF,[e.createVNode(xe,{"font-size":"24",name:"searchIcon24",color:"#000"})])])),e.createElementVNode("div",oF,[e.createElementVNode("div",aF,[e.createVNode(xe,{class:"icon",name:"selectAllIcon","font-size":"24",style:{"margin-right":"8px"}}),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString(e.unref(r)("selectAll")),1),e.createElementVNode("span",rF,"("+e.toDisplayString(H.value)+")",1)])]),e.createElementVNode("div",lF,[e.createVNode(dn,{modelValue:he.value,"onUpdate:modelValue":se[12]||(se[12]=Oe=>he.value=Oe),indeterminate:Te.value,onChange:je},null,8,["modelValue","indeterminate"])])]),se[19]||(se[19]=e.createElementVNode("div",{class:"fengexian"},null,-1)),e.createElementVNode("div",iF,[e.unref(ge).length?(e.openBlock(),e.createBlock(Ft,{key:0,items:e.unref(ge),"key-field":"id",style:{height:"100%"},"item-size":44},{default:e.withCtx(({item:Oe})=>[Oe.isShow?(e.openBlock(),e.createElementBlock("div",sF,[e.createElementVNode("div",cF,[e.createVNode(xe,{name:M.value==="vehicle"?C(Oe.id):E(M.value,Oe),"font-size":"24"},null,8,["name"]),e.createElementVNode("div",dF,e.toDisplayString(Oe.tagType)+" "+e.toDisplayString(Oe.name),1)]),e.createElementVNode("div",uF,[e.unref(Ve)!=="device"?(e.openBlock(),e.createBlock(xe,{key:0,class:"jump-icon",name:"jumpIcon","font-size":"32",color:"#000",style:{"margin-right":"16px"},onClick:Vt=>Ee(Oe)},null,8,["onClick"])):e.createCommentVNode("",!0),e.createVNode(dn,{modelValue:Oe.checkValue,"onUpdate:modelValue":Vt=>Oe.checkValue=Vt,onChange:ye},null,8,["modelValue","onUpdate:modelValue"])])])):e.createCommentVNode("",!0)]),_:1},8,["items"])):e.createCommentVNode("",!0)]),P.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[se[18]||(se[18]=e.createElementVNode("div",{class:"fengexian"},null,-1)),e.createElementVNode("div",{class:"add-wrapper",onClick:pe},[e.createVNode(xe,{name:"plus","font-size":"32",color:"#9a9a9a",class:"icon"}),e.createElementVNode("span",null,e.toDisplayString(P.value),1)])],64)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)])]}),_:1}),e.createVNode(Se,{label:e.unref(r)("description"),prop:"description"},{default:e.withCtx(()=>[e.createVNode(me,{modelValue:m.value.description,"onUpdate:modelValue":se[13]||(se[13]=Ke=>m.value.description=Ke),placeholder:e.unref(r)("typeInContent"),type:"textarea",autosize:!1,"show-word-limit":"",maxlength:250},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_:1},8,["model"]))]),_:1},8,["modelValue"]),e.createVNode(Eo,{ref_key:"tooltipRef",ref:Pe,visible:$.value,placement:He.value,"hide-after":0,"show-arrow":!1,"popper-options":{modifiers:[{name:"computeStyles",options:{adaptive:!1,enabled:!1}}]},"virtual-ref":Be.value,"virtual-triggering":"","popper-class":"singleton-tooltip-tag"},{content:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(ne.value),1)]),_:1},8,["visible","placement","virtual-ref"]),Qt.value?(e.openBlock(),e.createBlock(So,{key:0,modelValue:Qt.value,"onUpdate:modelValue":se[15]||(se[15]=Ke=>Qt.value=Ke),loginInfo:t.loginInfo,customerHabit:t.customerHabit,vehicleData:Tt.value,allAssetTypes:t.allAssetTypes,allVehicles:t.allVehicles,allDevices:t.allDevices,modelTypes:t.modelTypes,allVehicleToDevice:t.allVehicleToDevice,allTags:t.allTags,assetTypeFn:t.assetTypeFn,bindDeviceHis:t.bindDeviceHis,deviceBindTimeLimit:t.deviceBindTimeLimit,saveFunctionVehicle:t.saveFunctionVehicle,allLandmarks:t.allLandmarks,landmarkGroup:t.landmarkGroup,saveFunctionTag:e.unref(s),unitAllState:t.unitAllState,GOOGLE_MAP_API_KEY:t.GOOGLE_MAP_API_KEY,MAP_STYLES:t.MAP_STYLES,searhTrimblemapAddress:t.searhTrimblemapAddress,saveFunctionLandmark:t.saveFunctionLandmark,conDetSensorList:t.conDetSensorList,needConDetSensor:t.needConDetSensor},null,8,["modelValue","loginInfo","customerHabit","vehicleData","allAssetTypes","allVehicles","allDevices","modelTypes","allVehicleToDevice","allTags","assetTypeFn","bindDeviceHis","deviceBindTimeLimit","saveFunctionVehicle","allLandmarks","landmarkGroup","saveFunctionTag","unitAllState","GOOGLE_MAP_API_KEY","MAP_STYLES","searhTrimblemapAddress","saveFunctionLandmark","conDetSensorList","needConDetSensor"])):e.createCommentVNode("",!0),vt.value?(e.openBlock(),e.createBlock(ce,{key:1,modelValue:vt.value,"onUpdate:modelValue":se[16]||(se[16]=Ke=>vt.value=Ke),loginInfo:t.loginInfo,customerHabit:t.customerHabit,itemData:Tt.value,allVehicles:t.allVehicles,allAssetTypes:t.allAssetTypes,allDevices:t.allDevices,modelTypes:t.modelTypes,allVehicleToDevice:t.allVehicleToDevice,allTags:t.allTags,allLandmarks:t.allLandmarks,landmarkGroup:t.landmarkGroup,saveFunctionTag:e.unref(s),assetTypeFn:t.assetTypeFn,bindDeviceHis:t.bindDeviceHis,deviceBindTimeLimit:t.deviceBindTimeLimit,saveFunctionVehicle:t.saveFunctionVehicle,unitAllState:t.unitAllState,GOOGLE_MAP_API_KEY:t.GOOGLE_MAP_API_KEY,MAP_STYLES:t.MAP_STYLES,searhTrimblemapAddress:t.searhTrimblemapAddress,saveFunctionLandmark:t.saveFunctionLandmark,conDetSensorList:t.conDetSensorList,needConDetSensor:t.needConDetSensor},null,8,["modelValue","loginInfo","customerHabit","itemData","allVehicles","allAssetTypes","allDevices","modelTypes","allVehicleToDevice","allTags","allLandmarks","landmarkGroup","saveFunctionTag","assetTypeFn","bindDeviceHis","deviceBindTimeLimit","saveFunctionVehicle","unitAllState","GOOGLE_MAP_API_KEY","MAP_STYLES","searhTrimblemapAddress","saveFunctionLandmark","conDetSensorList","needConDetSensor"])):e.createCommentVNode("",!0),on.value?(e.openBlock(),e.createBlock(Me,{key:2,modelValue:on.value,"onUpdate:modelValue":se[17]||(se[17]=Ke=>on.value=Ke),loginInfo:t.loginInfo,itemData:Tt.value,unitAllState:t.unitAllState,GOOGLE_MAP_API_KEY:t.GOOGLE_MAP_API_KEY,MAP_STYLES:t.MAP_STYLES,allLandmarkGroup:t.landmarkGroup,searhTrimblemapAddress:t.searhTrimblemapAddress,saveFunctionLandmark:t.saveFunctionLandmark},null,8,["modelValue","loginInfo","itemData","unitAllState","GOOGLE_MAP_API_KEY","MAP_STYLES","allLandmarkGroup","searhTrimblemapAddress","saveFunctionLandmark"])):e.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-a2c2a6a5"]]),gF={key:0,class:"form-body"},yF={class:"el-dropdown-link hover-animation"},kF={class:"search-input-box"},vF=["onClick"],bF={style:{position:"relative"}},wF={id:"map-type-controller",class:"map-type-controller-container"},CF={class:"map-type-controller"},TF={class:"inner-desc-input",style:{width:"100%"}},EF={class:"flex-item-div"},SF={class:"inner-desc-input",style:{width:"100%"}},NF={class:"label-desc"},VF={class:"make-icon hover-animation"},BF={class:"popper-state-content"},IF=["onClick"],AF={class:"inner-desc-input",style:{width:"100%"}},DF={class:"label-desc"},MF={key:1,class:"mask"},LF={class:"loading-container"},xF={style:{flex:"auto"}},OF=bt(e.defineComponent({__name:"AddOrEditLandmark",props:{modelValue:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},loginInfo:{type:Object,required:!0,default(){return{}}},itemData:{type:Object,default:()=>({})},landmarkGroupId:{type:Number,default:0},unitAllState:{type:Array,default:()=>[]},GOOGLE_MAP_API_KEY:{type:String,required:!0,default:""},MAP_STYLES:{type:Array,default:()=>[]},allLandmarkGroup:{type:Array,default:()=>[]},searhTrimblemapAddress:{type:Function,required:!0,default(){return()=>new Promise(t=>{t([])})}},saveFunctionLandmark:{type:Function,required:!0,default(){return()=>new Promise(t=>{t([])})}}},emits:["update:modelValue"],setup(t,{emit:n}){const{t:o,locale:a}=Cn();let r;const l=t,{itemData:i,allLandmarkGroup:s,searhTrimblemapAddress:c,saveFunctionLandmark:d}=e.toRefs(l),u=()=>{I.value=!1},y=()=>{B.value=!1,it.value=!0},p=localStorage.getItem("locale")||"en",m={name:[{required:!0,message:o("nameTip")}]};a.value=p;const v=ai(),h=e.ref(!1),g=e.ref(0),k=e.ref({lat:34.063084,lng:-117.55725}),T=e.ref(""),f=e.ref(!1),b=e.ref([]),w=e.ref(),E=e.ref(),C=e.ref(16),D=e.ref([]),S=e.ref(),V=e.ref(),B=e.ref(!1),N=e.ref([]),j=e.ref(!1),O=e.ref("roadmap"),I=e.ref(!1),A=()=>{I.value=!I.value},z=()=>{S.value.map.setMapTypeId(O.value),I.value=!1};let M="";const x=async ve=>{var be;if(M=ve,ve!==""){j.value=!0;const Ne={query:ve,includeOnly:"City"},Ce=await c.value(Ne);if(M!==ve)return;if(j.value=!1,!((be=Ce==null?void 0:Ce.Locations)!=null&&be.length)){N.value=[];return}const nt=[];((Ce==null?void 0:Ce.Locations)||[]).forEach(vt=>{nt.some(Tt=>Tt.value===vt.Address.City)||nt.push({value:vt.Address.City})}),N.value=nt}else N.value=[]},H=e.ref({iconType:1,name:"default",id:0}),X=e.ref([]),P=e.ref({content:{}}),oe=e.ref(null),te=e.ref([]),Ve=e.ref(),De=n,de=e.computed(()=>l.itemData.id?o("editLandmark"):o("createLandmark")),_=e.computed({get(){return l.modelValue},set(ve){De("update:modelValue",ve)}}),ae=ve=>{const be=new window.google.maps.LatLngBounds;return ve.forEach(Ne=>{be.extend(Ne)}),be},ge=()=>{var nt;const ve=(nt=E.value)==null?void 0:nt.getCenter(),be=ve.lat(),Ne=ve.lng(),Ce=[];Ce.push({lat:be+.002,lng:Ne+.002}),Ce.push({lat:be+.002,lng:Ne-.002}),Ce.push({lat:be-.002,lng:Ne-.002}),Ce.push({lat:be-.002,lng:Ne+.002}),D.value=Ce,ve.value={lat:be,lng:Ne},oe.value=ae(D.value),E.value.fitBounds(oe.value)},he=()=>{if(P.value.geom){const ve=P.value.geom.replace(/POLYGON\(\((.*?)\)\)/,"$1").split(",");ve.pop();const be=ve.map(Ne=>{let Ce=Ne.split(" ");return Ce={lat:Number(Ce[0]),lng:Number(Ce[1])},Ce});D.value=be,oe.value=ae(D.value),E.value.fitBounds(oe.value)}},Te=ve=>{ve&&ve.forEach(be=>{let Ne=be.types.findIndex(Ce=>Ce==="postal_code");Ne>-1&&(P.value.content.postal=be.long_name),Ne=be.types.findIndex(Ce=>Ce==="country"),Ne>-1&&(P.value.content.country=be.long_name),Ne=be.types.findIndex(Ce=>Ce==="administrative_area_level_1"),Ne>-1&&(P.value.content.state=be.long_name),Ne=be.types.findIndex(Ce=>Ce==="locality"),Ne>-1&&(P.value.content.city=be.long_name),Ne=be.types.findIndex(Ce=>Ce==="route"),Ne>-1&&(P.value.content.street=be.long_name)})},je=()=>{if(D.value.length===0)return"";let ve="";return D.value.forEach(be=>{let Ne=Pe(be.lng);ve+=`${be.lat} ${Ne},`}),ve+=`${D.value[0].lat} ${Pe(D.value[0].lng)}`,ve},ye=async ve=>{const{bounds:be}=ve,Ne=[];if(be){E.value.fitBounds(be);const Ce=be.getNorthEast(),nt=be.getSouthWest();Ne.push({lat:Ce.lat(),lng:Ce.lng()}),Ne.push({lat:nt.lat(),lng:Ce.lng()}),Ne.push({lat:nt.lat(),lng:nt.lng()}),Ne.push({lat:Ce.lat(),lng:nt.lng()})}else{const{position:Ce}=ve;C.value=15,E.value.panTo({lat:Ce.lat(),lng:Ce.lng()})}D.value=Ne,Te(ve.addrList),await e.nextTick(),i.value.geom=je()},ue=()=>{w.value.geocode({address:T.value},(ve,be)=>{if(be==="OK"&&ve)if(ve.length===0)b.value=[];else if(ve.length===1){const Ne=ve[0];Ne.formatted_address;const Ce=Ne.address_components,nt=Ne.geometry.bounds||Ne.geometry.viewport,vt=Ne.geometry.location;ye({addrList:Ce,bounds:nt,position:vt})}else b.value=[],ve.forEach((Ne,Ce)=>{if(Ce>9)return;const nt=Ne.formatted_address,vt=Ne.address_components,{bounds:Tt}=Ne.geometry,Jt=Ne.geometry.location,Kt={detailAddr:nt,addrList:vt,bounds:Tt,position:Jt};b.value.push(Kt)}),f.value=!0})},Ie=()=>{const ve=[],be=new window.google.maps.LatLngBounds;V.value.polygon.getPaths().forEach(function(Ce){Ce.getArray().map(vt=>{be.extend(vt),ve.push({lat:vt.lat(),lng:vt.lng()})})}),D.value=ve,w.value||(w.value=new window.google.maps.Geocoder);const Ne=be.getCenter();w.value.geocode({address:`${Ne.lat()},${Ne.lng()}`},Ce=>{(Ce.length===1||Ce.length!==0)&&Te(Ce[0].address_components)})},Ee=()=>{const ve=[];r&&(clearTimeout(r),r=void 0);const be=new window.google.maps.LatLngBounds;V.value.polygon.getPath().forEach(Ce=>{be.extend(Ce),ve.push({lat:Ce.lat(),lng:Ce.lng()})}),D.value=ve,r=setTimeout(()=>{w.value||(w.value=new window.google.maps.Geocoder);const Ce=be.getCenter();w.value.geocode({address:`${Ce.lat()},${Ce.lng()}`},nt=>{nt===null?Te([]):(nt.length===1||nt.length!==0)&&Te(nt[0].address_components)}),r=void 0},300),e.nextTick(()=>{Xe()})},Xe=()=>{V.value&&V.value.polygon.setOptions({fillOpacity:.04,fillColor:"#000",strokeWeight:2,strokeColor:"#F32C1D"})},mt=()=>{V.value&&V.value.polygon.setOptions({fillOpacity:0,strokeWeight:2,strokeColor:"#F32C1D"})},R=()=>{Ve.value&&Ve.value.validate(ve=>{ve&&U()})},U=async()=>{P.value.geom=`POLYGON((${je()}))`,P.value.content.landmarkGroup=H.value.id===0?[]:[H.value.id],h.value=!0;let ve={};if(P.value.id){const be=pe(P.value.content,i.value.content);ve.content={...be},ve.content.modifyTime=K().utc().format("YYYY-MM-DDTHH:mm:ss[Z]"),ve.id=P.value.id,P.value.geom!==i.value.geom&&(ve.geom=P.value.geom),P.value.name!==i.value.name&&(ve.name=P.value.name)}else ve={...P.value},ve.content.createTime=K().utc().format("YYYY-MM-DDTHH:mm:ss[Z]"),ve.content.modifyTime=K().utc().format("YYYY-MM-DDTHH:mm:ss[Z]");await d.value(ve,q,J)};function pe(ve,be){const Ne={};for(const Ce in ve)ve.hasOwnProperty(Ce)&&(be.hasOwnProperty(Ce)?ve[Ce]!==be[Ce]&&(Ne[Ce]=ve[Ce]):Ne[Ce]=ve[Ce]);for(const Ce in be)be.hasOwnProperty(Ce)&&!ve.hasOwnProperty(Ce)&&(Ne[Ce]=null);return Ne}const q=()=>{v.success("Saved successfully!"),_.value=!1,h.value=!1},J=()=>{h.value=!1};e.watch(()=>{var ve;return(ve=S.value)==null?void 0:ve.ready},ve=>{ve&&(E.value=S.value.map,w.value=new window.google.maps.Geocoder,i.value.id?he():(ge(),setTimeout(()=>{Ie()},200)))});const Be=()=>{var be,Ne;for(const Ce in i.value)Ce==="content"?P.value[Ce]={...i.value[Ce]}:P.value[Ce]=i.value[Ce];if(X.value=[],P.value.id)(Ne=(be=P.value)==null?void 0:be.landmarkGroup)==null||Ne.forEach(Ce=>{let nt=s.value.find(vt=>Ce===vt.id);nt&&X.value.push({iconType:nt.iconType,name:nt.name,id:nt.id})}),X.value.length||X.value.push({iconType:1,name:"default",id:0});else{if(l.landmarkGroupId){let Ce=s.value.find(nt=>l.landmarkGroupId===nt.id);Ce&&X.value.push({iconType:Ce.iconType,name:Ce.name,id:Ce.id})}X.value.length||X.value.push({iconType:1,name:"default",id:0})}let ve=X.value[0];H.value={iconType:ve.iconType,name:ve.name,id:ve.id}};e.watch(()=>_.value,ve=>{T.value="",ve||(P.value={content:{}},D.value=[],te.value=[],g.value=0)},{immediate:!0});const Pe=ve=>(ve=((ve+180)%360+360)%360-180,ve),$=e.ref(!1),ne=e.ref(),He=ve=>{P.value.content.state=ve.value,ne.value&&ne.value.hide()},Re=ve=>{P.value.content.landmarkType=ve},it=e.ref(!0);return e.watch(()=>l.loading,ve=>{ve||Be()},{immediate:!0}),(ve,be)=>{const Ne=e.resolveComponent("anSvgIcon"),Ce=I0,nt=A0,vt=Ji,Tt=Yt,Jt=os,Kt=Ro,zn=Bn,Qt=o0,on=a0,cn=Fo,gn=XT,re=QT,se=ns,me=qi;return e.openBlock(),e.createBlock(me,{modelValue:_.value,"onUpdate:modelValue":be[17]||(be[17]=Se=>_.value=Se),size:"520",title:de.value,class:"drawer-footer-line landmark-drawer add-or-edit","destroy-on-close":!0,onClick:e.withModifiers(y,["stop"])},{footer:e.withCtx(()=>[e.createElementVNode("div",xF,[e.createVNode(zn,{style:{width:"85px",height:"40px"},onClick:be[16]||(be[16]=Se=>_.value=!1)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)("cancel")),1)]),_:1}),t.loginInfo.type&&t.loginInfo.type!==3?(e.openBlock(),e.createBlock(zn,{key:0,style:{height:"40px"},loading:h.value,type:"primary",onClick:R},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)("save")),1)]),_:1},8,["loading"])):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[t.loading?(e.openBlock(),e.createElementBlock("div",MF,[e.createElementVNode("div",LF,[e.createVNode(Ne,{class:"icon-loading",name:"loading-black-loading1","font-size":24,color:"#000"})])])):(e.openBlock(),e.createElementBlock("div",gF,[e.createVNode(se,{ref_key:"formRef",ref:Ve,"label-position":"top","label-width":"auto",model:P.value,rules:m},{default:e.withCtx(()=>[e.createVNode(Jt,{label:e.unref(o)("nameThisLandmark"),prop:"name"},{default:e.withCtx(()=>[e.createVNode(Tt,{class:"h40-br6",modelValue:P.value.name,"onUpdate:modelValue":be[0]||(be[0]=Se=>P.value.name=Se),maxlength:64},{prefix:e.withCtx(()=>[e.createVNode(vt,{trigger:"click","popper-class":"popper-landmarktype noanimation-dropdown",onCommand:Re},{dropdown:e.withCtx(()=>[e.createVNode(nt,{class:"drop-landmarktype"},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(6,Se=>e.createVNode(Ce,{key:Se,command:Se,class:"drop-li"},{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(["check-icon",(P.value.content.landmarkType?P.value.content.landmarkType:1)===Se&&"view-icon"])},[e.createVNode(Ne,{name:"filterchecked","font-size":"24",class:"selcls"})],2),e.createElementVNode("span",null,[e.createVNode(Ne,{name:"landmark-group"+Se,"font-size":"24"},null,8,["name"])])]),_:2},1032,["command"])),64))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",yF,[e.createElementVNode("span",null,[e.createVNode(Ne,{name:P.value.content.landmarkType?"landmark-group"+P.value.content.landmarkType:"landmark-group1","font-size":"24",style:{color:"#000"}},null,8,["name"])]),e.createVNode(Ne,{class:"a-icon",name:"xiajiantou","font-size":"24",style:{color:"#000"}})])]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["label"]),e.createVNode(Jt,{class:"formitem-maparea",label:e.unref(o)("mapArea"),prop:"geom","label-position":"left"},{default:e.withCtx(()=>[e.createElementVNode("div",kF,[e.createVNode(Kt,{visible:f.value,placement:"bottom",width:"480"},{reference:e.withCtx(()=>[e.createVNode(Tt,{modelValue:T.value,"onUpdate:modelValue":be[1]||(be[1]=Se=>T.value=Se),class:"search-input h40-br6",placeholder:e.unref(o)("search")+" "+e.unref(o)("address"),onChange:ue},{prefix:e.withCtx(()=>[e.createVNode(Ne,{color:"#000",name:"searchIcon24","font-size":"24"})]),_:1},8,["modelValue","placeholder"])]),default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,Se=>(e.openBlock(),e.createElementBlock("li",{key:Se.detailAddr,class:"list-item",onClick:xe=>{f.value=!1,ye(Se)}},e.toDisplayString(Se.detailAddr),9,vF))),128))]),_:1},8,["visible"]),e.createCommentVNode("",!0)])]),_:1},8,["label"]),e.createElementVNode("div",{class:"wrapper-map",onClick:be[4]||(be[4]=e.withModifiers(()=>{},["stop"]))},[e.createVNode(e.unref(Jh),{ref_key:"mapRef",ref:S,"api-key":t.GOOGLE_MAP_API_KEY,libraries:["geometry","places"],style:{width:"100%",height:"520px"},styles:t.MAP_STYLES,language:e.unref(a),gestureHandling:"greedy",center:k.value,zoom:C.value,"street-view-control":!1,"map-type-control":!1,disableDefaultUI:!0,"fullscreen-control":!1,rotateControl:!1,onClick:u},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"wrapper-rest",onClick:ge},[e.createElementVNode("span",null,e.toDisplayString(e.unref(o)("reset")),1),e.createVNode(Ne,{name:"refreshIcon","font-size":"24"})]),e.createVNode(e.unref(sI),{ref_key:"polygonRef",ref:V,options:{paths:D.value,fillColor:"rgb(255, 255, 255)",fillOpacity:0,strokeWeight:2,strokeColor:"#F32C1D",editable:!0,controlPoints:!0,draggable:!0},onDragend:Ee,onMouseup:Ie,onMouseover:Xe,onMouseout:mt},null,8,["options"]),e.createVNode(e.unref(fI),{position:"RIGHT_TOP"},{default:e.withCtx(()=>[e.createElementVNode("div",bF,[e.createElementVNode("div",{class:e.normalizeClass([{"mapController-selected":I.value},"mapController"]),id:"map-type-btn",onClick:A},[e.createVNode(Ne,{name:"eye-icon",color:"rgba(2, 2, 2, 1)","font-size":24})],2),e.withDirectives(e.createElementVNode("div",wF,[e.createElementVNode("div",CF,[e.createVNode(on,{modelValue:O.value,"onUpdate:modelValue":be[2]||(be[2]=Se=>O.value=Se),name:"mapTypeGroup",onChange:z},{default:e.withCtx(()=>[e.createVNode(Qt,{value:"roadmap",class:"map-type-item"},{default:e.withCtx(()=>[...be[19]||(be[19]=[e.createTextVNode(" Road ",-1)])]),_:1}),e.createVNode(Qt,{value:"hybrid",class:"map-type-item"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)("satellite")),1)]),_:1})]),_:1},8,["modelValue"])])],512),[[e.vShow,I.value]])])]),_:1})]),_:1},8,["api-key","styles","language","center","zoom"]),it.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"map-mask",onClick:be[3]||(be[3]=Se=>it.value=!1)})):e.createCommentVNode("",!0)]),e.createVNode(Jt,{label:e.unref(o)("address"),class:"form-item-address"},{default:e.withCtx(()=>[e.createElementVNode("div",TF,[be[20]||(be[20]=e.createElementVNode("span",{class:"label-desc"},"Street/Apt/Suite/Floor",-1)),e.createVNode(Tt,{modelValue:P.value.content.street,"onUpdate:modelValue":be[5]||(be[5]=Se=>P.value.content.street=Se),maxlength:126,placeholder:"Enter Street/Apt/Suite/Floor "},null,8,["modelValue"])])]),_:1},8,["label"]),e.createElementVNode("div",EF,[e.createVNode(Jt,{label:"",class:"inner-desc"},{default:e.withCtx(()=>[e.createElementVNode("div",SF,[e.createElementVNode("span",NF,e.toDisplayString(e.unref(o)("city")),1),e.createVNode(re,{modelValue:P.value.content.city,"onUpdate:modelValue":be[6]||(be[6]=Se=>P.value.content.city=Se),filterable:"","allow-create":"",remote:"","fit-input-width":"","reserve-keyword":"","default-first-option":!1,"remote-method":x,loading:j.value,class:"br-6","popper-class":"city-choose",placeholder:"Enter City",onFocus:be[7]||(be[7]=Se=>it.value=!0)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.value,Se=>(e.openBlock(),e.createBlock(gn,{key:Se.value,label:Se.value,value:Se.value},{default:e.withCtx(()=>[e.createVNode(cn,{class:"box-item",effect:"dark",content:Se.value,placement:"right"},{default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(Se.value),1)]),_:2},1032,["content"])]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue","loading"])])]),_:1}),e.createCommentVNode("",!0),e.createVNode(Jt,{label:e.unref(o)("state"),class:e.normalizeClass(["inner-desc form-state",{"is-focus":$.value}])},{default:e.withCtx(()=>[e.createVNode(Tt,{modelValue:P.value.content.state,"onUpdate:modelValue":be[9]||(be[9]=Se=>P.value.content.state=Se),placeholder:"Enter State",onFocus:be[10]||(be[10]=Se=>$.value=!0),onBlur:be[11]||(be[11]=Se=>$.value=!1)},{suffix:e.withCtx(()=>[e.createVNode(Kt,{placement:"bottom-end",width:213,trigger:"click","popper-class":"popper-state",ref_key:"popperStateRef",ref:ne,"show-arrow":!1,"hide-after":0,offset:-24},{reference:e.withCtx(()=>[e.createElementVNode("div",VF,[e.createVNode(Ne,{name:"xiajiantou","font-size":"24",color:"#000",class:"a-icon",style:{cursor:"pointer"}})])]),default:e.withCtx(()=>[e.createElementVNode("div",BF,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.unitAllState,Se=>(e.openBlock(),e.createElementBlock("div",{class:"item",key:Se.key,onClick:xe=>He(Se)},[e.createElementVNode("span",null,e.toDisplayString(Se.value),1),P.value.content.state===Se.value?(e.openBlock(),e.createBlock(Ne,{key:0,name:"device-gou","font-size":24})):e.createCommentVNode("",!0)],8,IF))),128))])]),_:1},512)]),_:1},8,["modelValue"])]),_:1},8,["label","class"]),e.createVNode(Jt,{label:"",class:"inner-desc"},{default:e.withCtx(()=>[e.createElementVNode("div",AF,[e.createElementVNode("span",DF,e.toDisplayString(e.unref(o)("zipCode")),1),e.createVNode(Tt,{modelValue:P.value.content.postal,"onUpdate:modelValue":be[12]||(be[12]=Se=>P.value.content.postal=Se),maxlength:16,placeholder:e.unref(o)("zipCode")},null,8,["modelValue","placeholder"])])]),_:1})]),e.createVNode(Jt,{label:e.unref(o)("remark")},{default:e.withCtx(()=>[e.createVNode(Tt,{modelValue:P.value.content.remark,"onUpdate:modelValue":be[13]||(be[13]=Se=>P.value.content.remark=Se),placeholder:e.unref(o)("typeInContent"),type:"textarea",rows:4,maxlength:250,"show-word-limit":""},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),e.createCommentVNode("",!0)]),_:1},8,["model"])]))]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-0cdaa5b5"]]),Xn=bt(e.defineComponent({__name:"IconButton",props:{name:{default:""},size:{default:"normal"},color:{default:""},fontSize:{default:24},height:{},width:{},svgHeight:{},svgWidth:{},isDelete:{type:Boolean,default:!1},disabled:{type:Boolean}},emits:["handleClick"],setup(t,{emit:n}){const o=n,a=()=>{o("handleClick")};return(r,l)=>{const i=e.resolveComponent("anSvgIcon");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["IconButton",{large:r.size==="large",isDelete:r.isDelete,customHeight:r.height,disabled:r.disabled}]),style:e.normalizeStyle({height:`${r.height||r.fontSize}px`,width:`${r.width||r.height||r.fontSize}px`}),onClick:a},[e.createVNode(i,{name:r.name,"font-size":r.fontSize,color:r.color,style:e.normalizeStyle({height:`${r.svgHeight||r.fontSize}px`,width:`${r.svgWidth||r.fontSize}px`})},null,8,["name","font-size","color","style"])],6)}}}),[["__scopeId","data-v-7326ffa7"]]),PF={class:"icon"},FF={class:"text"},zF={class:"icon"},RF={class:"text"},W2=bt(e.defineComponent({__name:"VehicleLabel",props:{type:{type:Number,default:0},icon:{type:String},name:{type:String},placement:{type:String,default:"top"},height:{type:String,default:"40px"},add:{type:Boolean},data:{type:Object}},emits:["handleClick"],setup(t,{emit:n}){const o=la(),{customerHabit:a}=Ms(o),r=t,{type:l,icon:i,name:s,data:c}=e.toRefs(r),d=e.ref(!1),u=n,y=()=>{u("handleClick",c==null?void 0:c.value)};function p(m){d.value=m}return(m,v)=>{const h=e.resolveComponent("anSvgIcon"),g=e.resolveComponent("text-clamp"),k=Fo;return e.unref(s)?(e.openBlock(),e.createBlock(k,{key:0,effect:"dark",content:e.unref(s),placement:t.placement,"popper-class":"custom-tooltip",offset:10,"show-arrow":!1,disabled:!d.value},{default:e.withCtx(()=>{var T;return[e.createElementVNode("div",{onClick:y,class:e.normalizeClass(["VehicleLabel",{normal:!e.unref(l),add:t.add,vehicle:e.unref(l)===4,"c-g":e.unref(l)===2,"c-r":e.unref(l)===3}]),style:e.normalizeStyle({height:t.height})},[e.createElementVNode("div",PF,[e.unref(l)===1?(e.openBlock(),e.createBlock(h,{key:0,name:"share-tag","font-size":"24"})):e.createCommentVNode("",!0),e.unref(l)===2?(e.openBlock(),e.createBlock(h,{key:1,name:e.unref(i)||"share-vehicle","font-size":"24"},null,8,["name"])):e.createCommentVNode("",!0),e.unref(l)===3?(e.openBlock(),e.createBlock(h,{key:2,name:e.unref(i)||"share-landmark","font-size":"24"},null,8,["name"])):e.createCommentVNode("",!0),e.unref(l)===4?(e.openBlock(),e.createBlock(h,{key:3,name:e.unref(i)||"share-vehicle","font-size":"24"},null,8,["name"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",FF,[e.unref(s)?(e.openBlock(),e.createBlock(g,{key:0,class:"text-clamp-name",location:((T=e.unref(a))==null?void 0:T.textOverflowStyle)||"middle",text:e.unref(s),"max-lines":1,autoResize:!0,onClampChange:p},null,8,["location","text"])):e.createCommentVNode("",!0),e.renderSlot(m.$slots,"default",{},void 0,!0)])],6)]}),_:3},8,["content","placement","disabled"])):(e.openBlock(),e.createElementBlock("div",{key:1,onClick:y,class:e.normalizeClass(["VehicleLabel",{normal:!e.unref(l),add:t.add,vehicle:e.unref(l)===4,"c-g":e.unref(l)===2,"c-r":e.unref(l)===3}]),style:e.normalizeStyle({height:t.height})},[e.createElementVNode("div",zF,[e.unref(l)===1?(e.openBlock(),e.createBlock(h,{key:0,name:"share-tag","font-size":"24"})):e.createCommentVNode("",!0),e.unref(l)===2?(e.openBlock(),e.createBlock(h,{key:1,name:e.unref(i)||"share-vehicle","font-size":"24"},null,8,["name"])):e.createCommentVNode("",!0),e.unref(l)===3?(e.openBlock(),e.createBlock(h,{key:2,name:"share-landmark","font-size":"24"})):e.createCommentVNode("",!0),e.unref(l)===4?(e.openBlock(),e.createBlock(h,{key:3,name:e.unref(i)||"share-vehicle","font-size":"24"},null,8,["name"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",RF,[e.renderSlot(m.$slots,"default",{},void 0,!0)])],6))}}}),[["__scopeId","data-v-2a058901"]]),HF={class:"VehicleItem flex-center-align"},_F={class:"tag-edit-l"},xs=bt(e.defineComponent({__name:"VehicleItem",props:{type:{type:Number},edit:{type:Boolean,default:!0},readOnly:{type:Boolean,default:!1},showDelete:{type:Boolean,default:!0},alias:{type:String,default:""},icon:{type:String,default:""},name:{type:String},placement:{type:String,default:"top"},data:{type:Object}},emits:["update:modelValue","handleDelete","showTag","changeAliasName","handleClick"],setup(t,{emit:n}){const o=t,{type:a,showDelete:r,alias:l,readOnly:i}=e.toRefs(o),{t:s}=Cn(),c=e.ref("");e.watch(()=>l.value,()=>{c.value=l==null?void 0:l.value},{immediate:!0});const d=n,u=v=>{d("handleClick",v,a==null?void 0:a.value)},y=()=>{d("handleDelete")},p=()=>{d("showTag")},m=v=>{d("changeAliasName",v)};return(v,h)=>{const g=Yt,k=e.resolveComponent("anSvgIcon");return e.openBlock(),e.createElementBlock("div",HF,[e.unref(a)===2?(e.openBlock(),e.createBlock(g,{key:0,placeholder:e.unref(s)("enterAliasName"),style:{width:"280px"},modelValue:c.value,"onUpdate:modelValue":h[0]||(h[0]=T=>c.value=T),disabled:e.unref(i),size:"large",onChange:m,maxlength:"20"},{prefix:e.withCtx(()=>[e.createVNode(W2,{data:t.data,type:e.unref(a),height:"38px",icon:t.icon,name:t.name,placement:t.placement,onHandleClick:u},{default:e.withCtx(()=>[e.renderSlot(v.$slots,"default",{},void 0,!0)]),_:3},8,["data","type","icon","name","placement"])]),_:3},8,["placeholder","modelValue","disabled"])):(e.openBlock(),e.createBlock(W2,{key:1,data:t.data,type:e.unref(a),icon:t.icon,name:t.name,placement:t.placement,onHandleClick:u},{default:e.withCtx(()=>[e.renderSlot(v.$slots,"default",{},void 0,!0)]),_:3},8,["data","type","icon","name","placement"])),e.unref(a)===1?(e.openBlock(),e.createElementBlock("div",{key:2,class:"tag-edit",onClick:p},[e.createElementVNode("div",_F,e.toDisplayString(e.unref(s)("editAliasName")),1),e.createVNode(k,{name:"share-right","font-size":"12"})])):e.createCommentVNode("",!0),e.withDirectives(e.createVNode(Xn,{isDelete:"",class:"delete",onClick:y,name:"share-delete","font-size":"30",color:"#000"},null,512),[[e.vShow,e.unref(r)&&!e.unref(i)]])])}}}),[["__scopeId","data-v-94e5a0e0"]]),YF={class:"CustomDatePicker"},ZF={class:"timeText flex-center-align"},jF=bt(e.defineComponent({__name:"CustomDatePicker",props:{modelValue:{default:null}},emits:["update:modelValue","dateChange"],setup(t,{expose:n,emit:o}){const{t:a}=Cn(),r=e.ref(""),l=e.ref(!1),i=t,{modelValue:s}=e.toRefs(i),c=o,{customerHabit:d}=e.toRefs(la()),u=e.computed(()=>{var h,g;return!((h=d==null?void 0:d.value)!=null&&h.localTimezone)&&((g=d==null?void 0:d.value)!=null&&g.timeZone)?d.value.timeZone:""});e.watch(()=>s==null?void 0:s.value,()=>{r.value=s==null?void 0:s.value,console.log(r.value)},{immediate:!0});const y=e.computed(()=>Cu(r.value)),p=()=>{l.value=!l.value},m=h=>new Date(h).getTime()<Date.now()||new Date(h).getTime()>new Date("2089-01-01").getTime(),v=h=>{const g=new Date(h||r.value).getTime();c("update:modelValue",g),c("dateChange",g)};return n({showPicker:p}),(h,g)=>{const k=e.resolveComponent("anytrekTimePick"),T=y0;return e.openBlock(),e.createElementBlock("div",YF,[e.createVNode(k,{value:r.value,"onUpdate:value":g[0]||(g[0]=f=>r.value=f),immediate:!0,teleported:!1,onChange:v,disableFuntion:m,timeZone:u.value,visible:l.value,"onUpdate:visible":g[1]||(g[1]=f=>l.value=f)},null,8,["value","timeZone","visible"]),e.createElementVNode("div",ZF,[e.createElementVNode("span",null,e.toDisplayString(y.value),1),e.createVNode(T,{direction:"vertical",style:{margin:"0","border-color":"#9a9a9a"}}),e.createElementVNode("span",null,e.toDisplayString(e.unref(a)("daysLeft",{d:e.unref(z2)(r.value)})),1),e.createVNode(Xn,{name:"share-edit",onHandleClick:p,color:"#9a9a9a","font-size":"32"})])])}}}),[["__scopeId","data-v-13b945d6"]]),UF={class:"SelectedVehiclePop"},WF={class:"SelectedVehiclePop-t"},GF={class:"SelectedVehiclePop-t-t"},KF={class:"title-l"},qF=["title"],QF={class:"title-r"},XF={class:"SelectedVehiclePop-t-b"},JF={class:"SelectedVehiclePop-m"},$F={class:"content-b"},ez={class:"dynamicScroller-item"},tz={key:0,class:"SelectedVehiclePop-b"},nz=bt(e.defineComponent({__name:"SelectedVehiclePop",props:{modelValue:{type:Boolean},selectedList:{type:Array,default:[]},readOnly:{type:Boolean,default:!1},aliasOnly:{type:Boolean,default:!1},onlyEditName:{type:Boolean,default:!1},aliasNames:{type:Object,default:{}},dataLength:{type:Object}},emits:["update:modelValue","showTag","changeAliasName","handleDelete","clearAll","handleClose","handleConfirm","handleBack","openAddVehicle","handleConfirmAlias","handleClick"],setup(t,{expose:n,emit:o}){const{t:a}=Cn(),r=(O,I)=>{var A;return O.type!==2||!I?"":((A=I==null?void 0:I[O.value])==null?void 0:A.aliasName)||""},l=t,i=e.ref(""),s=e.ref(!1),{modelValue:c,selectedList:d,readOnly:u,aliasNames:y,aliasOnly:p}=e.toRefs(l),m=e.inject("editTagInfo"),v=e.inject("vehicleIconMap"),h=e.computed(()=>{var I;console.log("selectedListDataShowChange");const O=(I=m.value)!=null&&I.infoList?m.value.infoList:g==null?void 0:g.value;return i.value?(O||[]).filter(A=>A.label?((A==null?void 0:A.label)+"").replace(/\s+/g," ").trim().toLocaleLowerCase().indexOf((i.value+"").replace(/\s+/g," ").trim().toLocaleLowerCase())>-1:!0):O}),g=e.ref([]),k=e.ref({}),T=e.computed(()=>c.value),f=e.ref([]),b=O=>O.newIcon?`vehicle-${O.newIcon}`:O.landmarkType?"landmark-group"+O.landmarkType:v.value.get(O.value)||"";e.watch(()=>T.value,()=>{T.value?(f.value=[...d==null?void 0:d.value],g.value=[...d==null?void 0:d.value],k.value=br(y==null?void 0:y.value)):s.value=!1},{immediate:!0}),e.watch(()=>y.value,()=>{k.value=br(y==null?void 0:y.value)},{deep:!0,immediate:!0}),e.watch(()=>d==null?void 0:d.value,O=>{O&&(f.value=[...O],g.value=[...O])},{immediate:!0,deep:!0});const w=o;function E(...O){w("handleClick",...O)}const C=()=>{w("update:modelValue",!1),w("handleClose")},D=()=>{p!=null&&p.value?w("handleConfirmAlias",{...k.value}):w("handleConfirm",g.value,{...k.value}),w("handleClose")},S=O=>{w("showTag",O)},V=(O,I)=>{k.value[I]?k.value[I].aliasName=O:k.value[I]={aliasName:O}},B=(O,I)=>{k.value[I.value]&&delete k.value[I.value],g.value.splice(O,1)},N=()=>{w("openAddVehicle")};function j(O,I){var A,z,M;g.value.map(x=>{var H,X,P,oe,te;x.type===O&&(O===2?x.value===((H=I==null?void 0:I.vehicle)==null?void 0:H.id)&&(x.label=(X=I==null?void 0:I.vehicle)==null?void 0:X.name,x.newIcon=(oe=(P=I==null?void 0:I.vehicle)==null?void 0:P.content)==null?void 0:oe.newIcon):(x.value===(I==null?void 0:I.id)&&(x.label=I==null?void 0:I.name),O===3&&(x.landmarkType=(te=I==null?void 0:I.content)==null?void 0:te.landmarkType)))}),f.value.map(x=>{var H,X,P,oe,te;x.type===O&&(O===2?x.value===((H=I==null?void 0:I.vehicle)==null?void 0:H.id)&&(x.label=(X=I==null?void 0:I.vehicle)==null?void 0:X.name,x.newIcon=(oe=(P=I==null?void 0:I.vehicle)==null?void 0:P.content)==null?void 0:oe.newIcon):(x.value===(I==null?void 0:I.id)&&(x.label=I==null?void 0:I.name),O===3&&(x.landmarkType=(te=I==null?void 0:I.content)==null?void 0:te.landmarkType)))}),(z=(A=m.value)==null?void 0:A.infoList)!=null&&z.length&&((M=m.value)==null||M.infoList.map(x=>{var H,X,P,oe,te;x.type===O&&(O===2?x.value===((H=I==null?void 0:I.vehicle)==null?void 0:H.id)&&(x.label=(X=I==null?void 0:I.vehicle)==null?void 0:X.name,x.newIcon=(oe=(P=I==null?void 0:I.vehicle)==null?void 0:P.content)==null?void 0:oe.newIcon):(x.value===(I==null?void 0:I.id)&&(x.label=I==null?void 0:I.name),O===3&&(x.landmarkType=(te=I==null?void 0:I.content)==null?void 0:te.landmarkType)))}))}return n({opMessage:j}),(O,I)=>{var z,M;const A=Yt;return e.openBlock(),e.createElementBlock("div",UF,[e.createElementVNode("div",WF,[e.createElementVNode("div",GF,[e.createElementVNode("div",KF,[e.createElementVNode("p",{class:"title-text text-overflow-ellipsis",title:e.unref(m)?`${e.unref(m).tagName} ${e.unref(a)("aliasNameEditing")}`:e.unref(a)("allSelectedElement")},e.toDisplayString(e.unref(m)?`${e.unref(m).tagName} ${e.unref(a)("aliasNameEditing")}`:e.unref(a)("allSelectedElement")),9,qF),e.createElementVNode("p",null,e.toDisplayString(e.unref(a)("NinTotal",{n:e.unref(m)?(M=(z=e.unref(m))==null?void 0:z.infoList)==null?void 0:M.length:e.unref(d).length})),1)]),e.createElementVNode("div",QF,[e.createVNode(Xn,{name:"common-popClose",fontSize:"32",color:"#9a9a9a",onHandleClick:C}),!e.unref(u)||t.onlyEditName?(e.openBlock(),e.createBlock(Xn,{key:0,name:"common-popConfirm",color:"#0BA5EC",fontSize:"32",onHandleClick:D})):e.createCommentVNode("",!0)])]),e.createElementVNode("div",XF,[e.createVNode(A,{modelValue:i.value,"onUpdate:modelValue":I[1]||(I[1]=x=>i.value=x),placeholder:e.unref(a)("searchVehicle"),class:"anytrek-vehicle-auto-search",style:{padding:"0"},"prefix-icon":li,size:"large"},{suffix:e.withCtx(()=>[i.value?(e.openBlock(),e.createBlock(ri,{key:0,onClick:I[0]||(I[0]=x=>i.value="")})):e.createCommentVNode("",!0)]),_:1},8,["modelValue","placeholder"])])]),e.createElementVNode("div",JF,[e.createElementVNode("div",$F,[e.createVNode(e.unref(rl),{keyField:"value",items:h.value,"min-item-size":48,class:"dynamicScroller"},{default:e.withCtx(({item:x,index:H,active:X})=>[e.createVNode(e.unref(Jl),{item:x,active:X,"data-index":H},{default:e.withCtx(()=>[e.createElementVNode("div",ez,[e.createVNode(xs,{placement:"left",icon:b(x),onChangeAliasName:P=>{V(P,x.value)},name:x.label,onHandleClick:E,alias:r(x,k.value),onShowTag:P=>S(x.value),type:x.type,onHandleDelete:P=>B(H,x),content:x==null?void 0:x.content,readOnly:e.unref(u)&&!t.onlyEditName,"show-delete":!e.unref(m),data:x},null,8,["icon","onChangeAliasName","name","alias","onShowTag","type","onHandleDelete","content","readOnly","show-delete","data"])])]),_:2},1032,["item","active","data-index"])]),_:1},8,["items"])])]),e.unref(p)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",tz,[e.createVNode(Xn,{name:"share-add2","font-size":"32",color:"#9a9a9a",onHandleClick:N})]))])}}}),[["__scopeId","data-v-70431105"]]),oz={class:"common-share-popover-no-pd"},az={class:"share-add-vehicle-popover"},rz={class:"item-l"},lz={class:"text"},iz={class:"item-l"},sz={class:"text"},cz={class:"item-l"},dz={class:"text"},uz={class:"choose-content"},fz={class:"choose-content-t"},mz={class:"choose-content-t-t flex-center-align"},pz={class:"selected"},hz={class:"confirm flex-center-align"},gz={class:"choose-content-tab flex-center-align"},yz={class:"choose-content-t-m"},kz={class:"choose-content-t-b-l flex-center-align"},vz={class:"choose-content-m"},bz={class:"choose-content-m-content"},wz={class:"item-w"},Cz=["onClick"],Tz={class:"item-l flex-center-align"},Ez={class:"item-r"},Sz={class:"item-w"},Nz=["onClick"],Vz={class:"item-l flex-center-align"},Bz={class:"item-r"},Iz={class:"item-w"},Az=["onClick"],Dz={class:"item-l flex-center-align"},Mz={class:"item-r"},Lz=bt(e.defineComponent({__name:"ShareAddVehiclePopover",props:{dataLength:{type:Object},assetTypesMap:{type:Object,default(){return{}}}},emits:["handleConfirm","handleOp"],setup(t,{expose:n,emit:o}){const a=la(),{customerHabit:r}=Ms(a),l=t,{t:i}=Cn(),{dataLength:s}=e.toRefs(l),c=de=>`vehicle-${de!=null&&de.newIcon||de.isBindVehicle?(de==null?void 0:de.newIcon)||"Vector":"device"}`,d=()=>"",u=e.ref(),y=e.ref(),p=e.ref(),m=e.ref(!1),v=e.ref(!1),h=e.ref(1),g=e.ref(1),k=e.ref(""),T=e.inject("vehicleLoading",!0),f=e.inject("vehiclesListData",[]),b=e.inject("tagListData",[]),w=e.inject("landmarkListData",[]),E=e.inject("selectedListData",[]),C=e.computed(()=>{var de;return u.value?(de=b==null?void 0:b.value)==null?void 0:de.filter(_=>{var ae;return(ae=_==null?void 0:_.label)==null?void 0:ae.includes(u==null?void 0:u.value)}):(b==null?void 0:b.value)||[]}),D=e.computed(()=>{var _;const de=(f==null?void 0:f.value)||[];if(h.value===2&&g.value===2){if(!(k!=null&&k.value))return de;let ae=(_=k==null?void 0:k.value)==null?void 0:_.split(`
277
+ `).filter(me=>me);se.length?I.value=I.value.map(me=>{let Se=!1;return se.forEach(xe=>{var st;Se||(Se=((st=me.name)==null?void 0:st.toString().toLowerCase())===xe.toLowerCase())}),{...me,isShow:Se}}):I.value=I.value.map(me=>({...me,isShow:!0}))}else I.value=I.value.map(se=>{var me;return{...se,isShow:(me=se.name)==null?void 0:me.toString().toLowerCase().includes(re.toLowerCase())}});H.value=I.value.filter(se=>se.isShow).length}),e.watch(()=>I.value,()=>{ge.value=I.value.filter(re=>re.isShow)});const he=e.ref(!1),Te=e.ref(!1),je=re=>{I.value.forEach(se=>{se.isShow&&(se.checkValue=re)})},ye=()=>{};e.watch(()=>I.value,()=>{let re=I.value.filter(me=>me.isShow),se=I.value.filter(me=>me.isShow&&me.checkValue);he.value=!!re.length&&re.length===se.length,Te.value=!!se.length&&re.length!==se.length},{deep:!0}),e.watch(()=>z.value,()=>{z.value.forEach(re=>{let se=re.list.filter(me=>me.isShow);re.isIndeterminate=!!(se.filter(me=>me.checkValue).length&&se.filter(me=>!me.checkValue).length)}),Te.value=!!(z.value.filter(re=>re.checkValue).length&&z.value.filter(re=>!re.checkValue).length),he.value=z.value.every(re=>re.checkValue)},{deep:!0});const ue=()=>{if(M.value==="tag"){let re=I.value.filter(se=>se.checkValue);m.value.content.tag=re}else if(M.value==="vehicle"){let re=I.value.filter(se=>se.checkValue);m.value.content.vehicle=re}else if(M.value==="device"){let re=I.value.filter(se=>se.checkValue);m.value.content.device=re}else if(M.value==="landmark"){let re=I.value.filter(se=>se.checkValue);m.value.content.landmark=re}O.value=!1,g.value=!1},Ie=re=>{$.value=!1;let se=[...m.value.content[re.type]],me=se.findIndex(Se=>Se.id===re.id);if(me>-1&&(se.splice(me,1),m.value.content[re.type]=se),O.value&&M.value===re.type){const Se=I.value.findIndex(xe=>xe.id===re.id);Se>-1&&(I.value[Se].checkValue=!1)}},Ee=re=>{if(M.value==="tag"){let se=l.allTags.find(me=>me.id===re.id);se&&(Tt.value={id:se.id},vt.value=!0)}else if(M.value==="vehicle"){let se=l.allVehicles.find(me=>me.id===re.id);if(se){let me=Xe(se.id),Se=mt(se.id,"vehicleId");Tt.value={id:re.id,name:re.name,deviceId:Se?Se.deviceId:"",dataTime:"",tagContent:me,assetType:re.assetType,newIcon:re.newIcon,vehicleTypeId:re.vehicleTypeId,make:re.make,year:re.year,licensePlateNumber:re.licensePlateNumber,vin:re.vin,description:re.description}}Qt.value=!0}else M.value==="device"||M.value==="landmark"&&J(re)},Xe=re=>l.allTags.filter(se=>!!(se.vehicle&&se.vehicle.findIndex(me=>me===re)!==-1)),mt=(re,se="deviceId")=>l.allVehicleToDevice.find(me=>me[se]===re),R=e.ref(!1),U=e.ref(),pe=()=>{M.value==="tag"?(R.value=!0,U.value=m.value.id,ve.value&&(be.value=m.value.id+""),Tt.value=null,vt.value=!0):M.value==="vehicle"?(Tt.value={},Qt.value=!0):M.value==="device"||M.value==="landmark"&&q(),g.value=!1,O.value=!1},q=()=>{Tt.value={},on.value=!0},J=re=>{let se=l.allLandmarks.find(me=>me.id===re.id);se&&(Tt.value={...se},on.value=!0)},Be=e.ref(),Pe=e.ref(),$=e.ref(!1),ne=e.ref(""),He=e.ref("right"),Re=(re,se,me="right")=>{Be.value=re.currentTarget,ne.value=se,He.value=me;let Se=Be.value;const xe=document.createRange();xe.setStart(Se,0),xe.setEnd(Se,Se.childNodes.length),re.currentTarget.querySelector("span").querySelector("span").innerText!=se&&($.value=!0)},it=()=>{$.value=!1};let ve=e.ref(!1),be=e.ref("");const Ne=e.ref(!1),Ce=()=>{$.value=!1},nt=re=>{g.value=!0,ve.value=re},vt=e.ref(!1),Tt=e.ref(),Jt=()=>{d.value=!1};let Kt=e.ref(!1);const zn=()=>{d.value&&(g.value=!1,p.value.vehicle=l.allVehicles,p.value.device=l.allDevices,p.value.tag=l.allTags,p.value.landmark=l.allLandmarks,m.value.content.vehicle=l.allVehicles.filter(re=>m.value.content.vehicle.some(se=>se.id===re.id)).map(re=>({name:re.name,id:re.id})),m.value.content.device=l.allDevices.filter(re=>m.value.content.device.some(se=>se.id===re.id)).map(re=>({name:re.userPackageId,id:re.id})),m.value.content.tag=l.allTags.filter(re=>m.value.content.tag.some(se=>se.id===re.id)).map(re=>({name:re.name,id:re.id})),m.value.content.landmark=l.allLandmarks.filter(re=>m.value.content.landmark.some(se=>se.id===re.id)).map(re=>({name:re.name,id:re.id})))};e.watch(()=>l.allTags,()=>{zn(),Kt.value&&(g.value=!0,de("tag"),Kt.value=!1)}),e.watch(()=>l.allVehicles,()=>{zn()}),e.watch(()=>l.allLandmarks,()=>{zn()}),n({showList:nt});const Qt=e.ref(!1),on=e.ref(!1),cn=re=>{if(re.type==="vehicle")Tt.value={id:re.id},Qt.value=!0;else if(re.type==="tag")Tt.value={id:re.id},vt.value=!0;else if(re.type==="landmark"){let se=l.allLandmarks.find(me=>me.id===re.id);se&&(Tt.value={...se},on.value=!0)}},gn=()=>{try{let re=oe.value||"tag",se=[];p.value[re].forEach(me=>{if(re==="tag"){if(m.value.id!==me.id){let Se=m.value.content[re].some(xe=>xe.id===me.id);se.push({...me,name:me.name||me.userPackageId,checkValue:Se,isShow:!0})}}else if(re==="vehicle"){let Se=m.value.content[re].some(st=>st.id===me.id),xe=X(me.id);se.push({...me,name:me.name||me.userPackageId,deviceUpid:xe?xe.userPackageId:"",checkValue:Se,isShow:!0})}else{let Se=m.value.content[re].some(xe=>xe.id===me.id);se.push({...me,name:me.name||me.userPackageId,checkValue:Se,isShow:!0})}}),I.value=se}catch(re){console.log("error",re)}};return e.watch(()=>l.allTags,()=>{gn()}),e.watch(()=>l.allVehicles,()=>{gn()}),e.watch(()=>l.allLandmarks,()=>{gn()}),e.watch(()=>l.loading,re=>{re||h()},{immediate:!0}),(re,se)=>{const me=Yt,Se=os,xe=e.resolveComponent("anSvgIcon"),st=e.resolveComponent("TextClamp"),dn=Ki,Ft=e.resolveComponent("RecycleScroller"),ro=ns,Nt=Bn,lo=qi,Eo=Fo,So=e.resolveComponent("add-or-edit-vehicle"),ce=e.resolveComponent("add-or-edit-tag",!0),Me=e.resolveComponent("add-or-edit-landmark");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(lo,{modelValue:d.value,"onUpdate:modelValue":se[14]||(se[14]=Ke=>d.value=Ke),size:"520","destroy-on-close":!0,"show-close":!1,class:"drawer-footer-line drawer-class add-or-edit","before-close":Jt,onClick:j},{header:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("div",null,e.toDisplayString(y.value),1),e.createElementVNode("div",wP,e.toDisplayString(D()),1)])]),footer:e.withCtx(()=>[e.createElementVNode("div",pF,[e.createVNode(Nt,{style:{width:"85px",height:"40px"},onClick:Jt},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("cancel")),1)]),_:1}),t.loginInfo.type&&t.loginInfo.type!==3?(e.openBlock(),e.createBlock(Nt,{key:0,style:{width:"70px",height:"40px"},type:"primary",loading:T.value,onClick:f},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("save")),1)]),_:1},8,["loading"])):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[t.loading?(e.openBlock(),e.createElementBlock("div",fF,[e.createElementVNode("div",mF,[e.createVNode(xe,{class:"icon-loading",name:"loading-black-loading1","font-size":24,color:"#000"})])])):(e.openBlock(),e.createBlock(ro,{key:0,ref_key:"refForm",ref:k,class:"tagForm","label-position":"top","label-width":"auto","require-asterisk-position":"right",model:m.value,rules:u},{default:e.withCtx(()=>[e.createVNode(Se,{label:e.unref(r)("nameThisTag"),prop:"name",class:"custom-label-poosition2"},{default:e.withCtx(()=>[e.createVNode(me,{modelValue:m.value.name,"onUpdate:modelValue":se[0]||(se[0]=Ke=>m.value.name=Ke),maxlength:"64",placeholder:e.unref(r)("enterUniqueName")},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),e.createVNode(Se,{class:"custom-label-poosition"},{default:e.withCtx(()=>{var Ke;return[e.createElementVNode("div",CP,[e.createElementVNode("div",TP,[e.createTextVNode(e.toDisplayString(e.unref(r)("addElements")),1),e.createElementVNode("span",null,"("+e.toDisplayString(S.value.length)+")",1)]),S.value.length?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["content",{noMaigin:Ne.value}])},[S.value.length>6?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Ne.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:"many-tag all-elelist",onScroll:Ce},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,(Oe,Vt)=>(e.openBlock(),e.createElementBlock("div",{key:Vt},[e.createElementVNode("div",{class:e.normalizeClass(["bound-tagitem",[Oe.type+"-tag"]]),onMouseenter:At=>Re(At,Oe.name,"top"),onMouseleave:it,onClick:At=>cn(Oe)},[e.createVNode(xe,{name:Oe.type==="vehicle"?C(Oe.id):E(Oe.type,Oe),"font-size":"24",class:"bindcls"},null,8,["name"]),e.createElementVNode("div",LP,[e.createVNode(st,{class:"tagtxt",text:Oe.name+""||"-",location:e.unref(Sa)(),"max-lines":1,autoResize:!0},null,8,["text","location"])]),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(At=>Ie(Oe),["stop"])},[e.createVNode(xe,{name:"removeIcon","font-size":"16"})],8,xP)],42,MP)]))),128))],32)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",EP,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value.slice(0,3),(Oe,Vt)=>(e.openBlock(),e.createElementBlock("div",{key:Vt},[e.createElementVNode("div",{class:e.normalizeClass(["bound-tagitem",[Oe.type+"-tag"]]),onMouseenter:At=>Re(At,Oe.name,"top"),onMouseleave:it,onClick:At=>cn(Oe)},[e.createVNode(xe,{name:Oe.type==="vehicle"?C(Oe.id):E(Oe.type,Oe.id),"font-size":"24",class:"bindcls"},null,8,["name"]),e.createElementVNode("div",NP,[e.createVNode(st,{class:"tagtxt",text:Oe.name+""||"-",location:e.unref(Sa)(),"max-lines":1,autoResize:!0},null,8,["text","location"])]),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(At=>Ie(Oe),["stop"])},[e.createVNode(xe,{name:"removeIcon","font-size":"16"})],8,VP)],42,SP)]))),128))]),e.createElementVNode("div",{class:"show-all",onClick:se[1]||(se[1]=Oe=>Ne.value=!0)},[e.createVNode(xe,{name:"verticalPoint","font-size":"24"}),e.createElementVNode("div",null,e.toDisplayString(e.unref(r)("seeAll")+" "+S.value.length+" "+e.unref(r)("element")),1)]),e.createElementVNode("div",BP,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value.slice(S.value.length-(S.value.length%3?S.value.length%3:3)),(Oe,Vt)=>(e.openBlock(),e.createElementBlock("div",{key:Vt},[e.createElementVNode("div",{class:e.normalizeClass(["bound-tagitem",[Oe.type+"-tag"]]),onMouseenter:At=>Re(At,Oe.name,"top"),onMouseleave:it,onClick:At=>cn(Oe)},[e.createVNode(xe,{name:Oe.type==="vehicle"?C(Oe.id):E(Oe.type,Oe),"font-size":"24",class:"bindcls"},null,8,["name"]),e.createElementVNode("div",AP,[e.createVNode(st,{class:"tagtxt",text:Oe.name+""||"-",location:e.unref(Sa)(),"max-lines":1,autoResize:!0},null,8,["text","location"])]),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(At=>Ie(Oe),["stop"])},[e.createVNode(xe,{name:"removeIcon","font-size":"16"})],8,DP)],42,IP)]))),128))])],64))],64)):(e.openBlock(),e.createElementBlock("div",OP,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,(Oe,Vt)=>(e.openBlock(),e.createElementBlock("div",{key:Vt},[e.createElementVNode("div",{class:e.normalizeClass(["bound-tagitem",[Oe.type+"-tag"]]),onMouseenter:At=>Re(At,Oe.name,"top"),onMouseleave:it,onClick:At=>cn(Oe)},[e.createVNode(xe,{name:Oe.type==="vehicle"?C(Oe.id):E(Oe.type,Oe),"font-size":"24",class:"bindcls"},null,8,["name"]),e.createElementVNode("div",FP,[e.createVNode(st,{class:"tagtxt",text:Oe.name+""||"-",location:e.unref(Sa)(),"max-lines":1,autoResize:!0},null,8,["text","location"])]),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(At=>Ie(Oe),["stop"])},[e.createVNode(xe,{name:"removeIcon","font-size":"16"})],8,zP)],42,PP)]))),128))]))],2)):e.createCommentVNode("",!0),t.loginInfo.type&&t.loginInfo.type!==3?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"listIconRef",ref:V,class:"wrapper-add"},[e.createVNode(xe,{class:"tag-add",name:"plus","font-size":"32",color:"#9a9a9a",style:{cursor:"pointer"},onClick:se[2]||(se[2]=Oe=>g.value=!0)})],512)):e.createCommentVNode("",!0),g.value?(e.openBlock(),e.createElementBlock("div",{key:2,class:"type-list",ref_key:"typeListRef",ref:B},[e.createElementVNode("div",{class:"list-item",onClick:se[3]||(se[3]=Oe=>de("tag"))},[e.createElementVNode("div",RP,[e.createVNode(xe,{name:"tagIcon","font-size":"24",class:"icon"}),e.createElementVNode("span",HP,e.toDisplayString(e.unref(r)("addTag")),1),e.createElementVNode("span",_P,"("+e.toDisplayString((Ke=t.itemData)!=null&&Ke.id?p.value.tag.length-1:p.value.tag.length)+")",1)]),e.createVNode(xe,{"font-size":24,name:"arrow-right",color:"#949494"})]),e.createElementVNode("div",{class:"list-item",onClick:se[4]||(se[4]=Oe=>de("vehicle"))},[e.createElementVNode("div",YP,[e.createVNode(xe,{name:"vehicleIcon","font-size":"24",class:"icon"}),e.createElementVNode("span",ZP,e.toDisplayString(e.unref(r)("addVehicle")),1),e.createElementVNode("span",jP,"("+e.toDisplayString(p.value.vehicle.length)+")",1)]),e.createVNode(xe,{"font-size":24,name:"arrow-right",color:"#949494"})]),e.createElementVNode("div",{class:"list-item",onClick:se[5]||(se[5]=Oe=>de("landmark"))},[e.createElementVNode("div",UP,[e.createVNode(xe,{name:"landmarkIcon","font-size":"24",class:"icon"}),e.createElementVNode("span",WP,e.toDisplayString(e.unref(r)("addLandmark")),1),e.createElementVNode("span",GP,"("+e.toDisplayString(p.value.landmark.length)+")",1)]),e.createVNode(xe,{"font-size":24,name:"arrow-right",color:"#949494"})]),e.createCommentVNode("",!0)],512)):e.createCommentVNode("",!0),O.value?(e.openBlock(),e.createElementBlock("div",{key:3,class:e.normalizeClass(["all-list",{"all-list-device":!P.value}]),ref_key:"allList",ref:N,onClick:e.withModifiers(()=>{},["stop"])},[e.createElementVNode("div",KP,[e.createElementVNode("div",qP,[e.createElementVNode("div",QP,e.toDisplayString(e.unref(r)("selected"))+" :"+e.toDisplayString(I.value.filter(Oe=>Oe.checkValue).length),1)]),e.createElementVNode("div",XP,[e.createElementVNode("div",JP,[e.createVNode(xe,{name:"closeIconNew","font-size":"32",color:"#9a9a9a",class:"icon-hover",onClick:se[7]||(se[7]=Oe=>O.value=!1)})]),e.createElementVNode("div",null,[e.createVNode(xe,{name:"comfirmIcon","font-size":"32",color:"#0BA5EC",class:"icon-hover",onClick:ue})])])]),e.unref(De)?(e.openBlock(),e.createElementBlock("div",$P,[e.createElementVNode("div",{class:e.normalizeClass(["item",{"active-item":e.unref(te)==="one"}]),onClick:se[8]||(se[8]=Oe=>_("one"))},e.toDisplayString(e.unref(Ve)==="vehicle"?e.unref(r)("vehicleName"):e.unref(r)("device")),3),e.createElementVNode("div",{class:e.normalizeClass(["item",{"active-item":e.unref(te)==="more"}]),onClick:se[9]||(se[9]=Oe=>_("more"))},e.toDisplayString(e.unref(r)("batchDeviceID")),3)])):e.createCommentVNode("",!0),e.unref(te)!=="more"?(e.openBlock(),e.createElementBlock("div",eF,[e.createVNode(me,{modelValue:ae.value,"onUpdate:modelValue":se[10]||(se[10]=Oe=>ae.value=Oe),max:"64",placeholder:x.value},{prefix:e.withCtx(()=>[e.createVNode(xe,{"font-size":"40",name:"searchIcon",color:"#000"})]),_:1},8,["modelValue","placeholder"])])):(e.openBlock(),e.createElementBlock("div",tF,[e.createVNode(me,{modelValue:ae.value,"onUpdate:modelValue":se[11]||(se[11]=Oe=>ae.value=Oe),type:"textarea",placeholder:x.value},{prefix:e.withCtx(()=>[e.createVNode(xe,{"font-size":"40",name:"searchIcon",color:"#000"})]),_:1},8,["modelValue","placeholder"]),e.createElementVNode("div",nF,[e.createVNode(xe,{"font-size":"24",name:"searchIcon24",color:"#000"})])])),e.createElementVNode("div",oF,[e.createElementVNode("div",aF,[e.createVNode(xe,{class:"icon",name:"selectAllIcon","font-size":"24",style:{"margin-right":"8px"}}),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString(e.unref(r)("selectAll")),1),e.createElementVNode("span",rF,"("+e.toDisplayString(H.value)+")",1)])]),e.createElementVNode("div",lF,[e.createVNode(dn,{modelValue:he.value,"onUpdate:modelValue":se[12]||(se[12]=Oe=>he.value=Oe),indeterminate:Te.value,onChange:je},null,8,["modelValue","indeterminate"])])]),se[19]||(se[19]=e.createElementVNode("div",{class:"fengexian"},null,-1)),e.createElementVNode("div",iF,[e.unref(ge).length?(e.openBlock(),e.createBlock(Ft,{key:0,items:e.unref(ge),"key-field":"id",style:{height:"100%"},"item-size":44},{default:e.withCtx(({item:Oe})=>[Oe.isShow?(e.openBlock(),e.createElementBlock("div",sF,[e.createElementVNode("div",cF,[e.createVNode(xe,{name:M.value==="vehicle"?C(Oe.id):E(M.value,Oe),"font-size":"24"},null,8,["name"]),e.createElementVNode("div",dF,e.toDisplayString(Oe.tagType)+" "+e.toDisplayString(Oe.name),1)]),e.createElementVNode("div",uF,[e.unref(Ve)!=="device"?(e.openBlock(),e.createBlock(xe,{key:0,class:"jump-icon",name:"jumpIcon","font-size":"32",color:"#000",style:{"margin-right":"16px"},onClick:Vt=>Ee(Oe)},null,8,["onClick"])):e.createCommentVNode("",!0),e.createVNode(dn,{modelValue:Oe.checkValue,"onUpdate:modelValue":Vt=>Oe.checkValue=Vt,onChange:ye},null,8,["modelValue","onUpdate:modelValue"])])])):e.createCommentVNode("",!0)]),_:1},8,["items"])):e.createCommentVNode("",!0)]),P.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[se[18]||(se[18]=e.createElementVNode("div",{class:"fengexian"},null,-1)),e.createElementVNode("div",{class:"add-wrapper",onClick:pe},[e.createVNode(xe,{name:"plus","font-size":"32",color:"#9a9a9a",class:"icon"}),e.createElementVNode("span",null,e.toDisplayString(P.value),1)])],64)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)])]}),_:1}),e.createVNode(Se,{label:e.unref(r)("description"),prop:"description"},{default:e.withCtx(()=>[e.createVNode(me,{modelValue:m.value.description,"onUpdate:modelValue":se[13]||(se[13]=Ke=>m.value.description=Ke),placeholder:e.unref(r)("typeInContent"),type:"textarea",autosize:!1,"show-word-limit":"",maxlength:250},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_:1},8,["model"]))]),_:1},8,["modelValue"]),e.createVNode(Eo,{ref_key:"tooltipRef",ref:Pe,visible:$.value,placement:He.value,"hide-after":0,"show-arrow":!1,"popper-options":{modifiers:[{name:"computeStyles",options:{adaptive:!1,enabled:!1}}]},"virtual-ref":Be.value,"virtual-triggering":"","popper-class":"singleton-tooltip-tag"},{content:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(ne.value),1)]),_:1},8,["visible","placement","virtual-ref"]),Qt.value?(e.openBlock(),e.createBlock(So,{key:0,modelValue:Qt.value,"onUpdate:modelValue":se[15]||(se[15]=Ke=>Qt.value=Ke),loginInfo:t.loginInfo,customerHabit:t.customerHabit,vehicleData:Tt.value,allAssetTypes:t.allAssetTypes,allVehicles:t.allVehicles,allDevices:t.allDevices,modelTypes:t.modelTypes,allVehicleToDevice:t.allVehicleToDevice,allTags:t.allTags,assetTypeFn:t.assetTypeFn,bindDeviceHis:t.bindDeviceHis,deviceBindTimeLimit:t.deviceBindTimeLimit,saveFunctionVehicle:t.saveFunctionVehicle,allLandmarks:t.allLandmarks,landmarkGroup:t.landmarkGroup,saveFunctionTag:e.unref(s),unitAllState:t.unitAllState,GOOGLE_MAP_API_KEY:t.GOOGLE_MAP_API_KEY,MAP_STYLES:t.MAP_STYLES,searhTrimblemapAddress:t.searhTrimblemapAddress,saveFunctionLandmark:t.saveFunctionLandmark,conDetSensorList:t.conDetSensorList,needConDetSensor:t.needConDetSensor},null,8,["modelValue","loginInfo","customerHabit","vehicleData","allAssetTypes","allVehicles","allDevices","modelTypes","allVehicleToDevice","allTags","assetTypeFn","bindDeviceHis","deviceBindTimeLimit","saveFunctionVehicle","allLandmarks","landmarkGroup","saveFunctionTag","unitAllState","GOOGLE_MAP_API_KEY","MAP_STYLES","searhTrimblemapAddress","saveFunctionLandmark","conDetSensorList","needConDetSensor"])):e.createCommentVNode("",!0),vt.value?(e.openBlock(),e.createBlock(ce,{key:1,modelValue:vt.value,"onUpdate:modelValue":se[16]||(se[16]=Ke=>vt.value=Ke),loginInfo:t.loginInfo,customerHabit:t.customerHabit,itemData:Tt.value,allVehicles:t.allVehicles,allAssetTypes:t.allAssetTypes,allDevices:t.allDevices,modelTypes:t.modelTypes,allVehicleToDevice:t.allVehicleToDevice,allTags:t.allTags,allLandmarks:t.allLandmarks,landmarkGroup:t.landmarkGroup,saveFunctionTag:e.unref(s),assetTypeFn:t.assetTypeFn,bindDeviceHis:t.bindDeviceHis,deviceBindTimeLimit:t.deviceBindTimeLimit,saveFunctionVehicle:t.saveFunctionVehicle,unitAllState:t.unitAllState,GOOGLE_MAP_API_KEY:t.GOOGLE_MAP_API_KEY,MAP_STYLES:t.MAP_STYLES,searhTrimblemapAddress:t.searhTrimblemapAddress,saveFunctionLandmark:t.saveFunctionLandmark,conDetSensorList:t.conDetSensorList,needConDetSensor:t.needConDetSensor},null,8,["modelValue","loginInfo","customerHabit","itemData","allVehicles","allAssetTypes","allDevices","modelTypes","allVehicleToDevice","allTags","allLandmarks","landmarkGroup","saveFunctionTag","assetTypeFn","bindDeviceHis","deviceBindTimeLimit","saveFunctionVehicle","unitAllState","GOOGLE_MAP_API_KEY","MAP_STYLES","searhTrimblemapAddress","saveFunctionLandmark","conDetSensorList","needConDetSensor"])):e.createCommentVNode("",!0),on.value?(e.openBlock(),e.createBlock(Me,{key:2,modelValue:on.value,"onUpdate:modelValue":se[17]||(se[17]=Ke=>on.value=Ke),loginInfo:t.loginInfo,itemData:Tt.value,unitAllState:t.unitAllState,GOOGLE_MAP_API_KEY:t.GOOGLE_MAP_API_KEY,MAP_STYLES:t.MAP_STYLES,allLandmarkGroup:t.landmarkGroup,searhTrimblemapAddress:t.searhTrimblemapAddress,saveFunctionLandmark:t.saveFunctionLandmark},null,8,["modelValue","loginInfo","itemData","unitAllState","GOOGLE_MAP_API_KEY","MAP_STYLES","allLandmarkGroup","searhTrimblemapAddress","saveFunctionLandmark"])):e.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-db21de3d"]]),gF={key:0,class:"form-body"},yF={class:"el-dropdown-link hover-animation"},kF={class:"search-input-box"},vF=["onClick"],bF={style:{position:"relative"}},wF={id:"map-type-controller",class:"map-type-controller-container"},CF={class:"map-type-controller"},TF={class:"inner-desc-input",style:{width:"100%"}},EF={class:"flex-item-div"},SF={class:"inner-desc-input",style:{width:"100%"}},NF={class:"label-desc"},VF={class:"make-icon hover-animation"},BF={class:"popper-state-content"},IF=["onClick"],AF={class:"inner-desc-input",style:{width:"100%"}},DF={class:"label-desc"},MF={key:1,class:"mask"},LF={class:"loading-container"},xF={style:{flex:"auto"}},OF=bt(e.defineComponent({__name:"AddOrEditLandmark",props:{modelValue:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},loginInfo:{type:Object,required:!0,default(){return{}}},itemData:{type:Object,default:()=>({})},landmarkGroupId:{type:Number,default:0},unitAllState:{type:Array,default:()=>[]},GOOGLE_MAP_API_KEY:{type:String,required:!0,default:""},MAP_STYLES:{type:Array,default:()=>[]},allLandmarkGroup:{type:Array,default:()=>[]},searhTrimblemapAddress:{type:Function,required:!0,default(){return()=>new Promise(t=>{t([])})}},saveFunctionLandmark:{type:Function,required:!0,default(){return()=>new Promise(t=>{t([])})}}},emits:["update:modelValue"],setup(t,{emit:n}){const{t:o,locale:a}=Cn();let r;const l=t,{itemData:i,allLandmarkGroup:s,searhTrimblemapAddress:c,saveFunctionLandmark:d}=e.toRefs(l),u=()=>{I.value=!1},y=()=>{B.value=!1,it.value=!0},p=localStorage.getItem("locale")||"en",m={name:[{required:!0,message:o("nameTip")}]};a.value=p;const v=ai(),h=e.ref(!1),g=e.ref(0),k=e.ref({lat:34.063084,lng:-117.55725}),T=e.ref(""),f=e.ref(!1),b=e.ref([]),w=e.ref(),E=e.ref(),C=e.ref(16),D=e.ref([]),S=e.ref(),V=e.ref(),B=e.ref(!1),N=e.ref([]),j=e.ref(!1),O=e.ref("roadmap"),I=e.ref(!1),A=()=>{I.value=!I.value},z=()=>{S.value.map.setMapTypeId(O.value),I.value=!1};let M="";const x=async ve=>{var be;if(M=ve,ve!==""){j.value=!0;const Ne={query:ve,includeOnly:"City"},Ce=await c.value(Ne);if(M!==ve)return;if(j.value=!1,!((be=Ce==null?void 0:Ce.Locations)!=null&&be.length)){N.value=[];return}const nt=[];((Ce==null?void 0:Ce.Locations)||[]).forEach(vt=>{nt.some(Tt=>Tt.value===vt.Address.City)||nt.push({value:vt.Address.City})}),N.value=nt}else N.value=[]},H=e.ref({iconType:1,name:"default",id:0}),X=e.ref([]),P=e.ref({content:{}}),oe=e.ref(null),te=e.ref([]),Ve=e.ref(),De=n,de=e.computed(()=>l.itemData.id?o("editLandmark"):o("createLandmark")),_=e.computed({get(){return l.modelValue},set(ve){De("update:modelValue",ve)}}),ae=ve=>{const be=new window.google.maps.LatLngBounds;return ve.forEach(Ne=>{be.extend(Ne)}),be},ge=()=>{var nt;const ve=(nt=E.value)==null?void 0:nt.getCenter(),be=ve.lat(),Ne=ve.lng(),Ce=[];Ce.push({lat:be+.002,lng:Ne+.002}),Ce.push({lat:be+.002,lng:Ne-.002}),Ce.push({lat:be-.002,lng:Ne-.002}),Ce.push({lat:be-.002,lng:Ne+.002}),D.value=Ce,ve.value={lat:be,lng:Ne},oe.value=ae(D.value),E.value.fitBounds(oe.value)},he=()=>{if(P.value.geom){const ve=P.value.geom.replace(/POLYGON\(\((.*?)\)\)/,"$1").split(",");ve.pop();const be=ve.map(Ne=>{let Ce=Ne.split(" ");return Ce={lat:Number(Ce[0]),lng:Number(Ce[1])},Ce});D.value=be,oe.value=ae(D.value),E.value.fitBounds(oe.value)}},Te=ve=>{ve&&ve.forEach(be=>{let Ne=be.types.findIndex(Ce=>Ce==="postal_code");Ne>-1&&(P.value.content.postal=be.long_name),Ne=be.types.findIndex(Ce=>Ce==="country"),Ne>-1&&(P.value.content.country=be.long_name),Ne=be.types.findIndex(Ce=>Ce==="administrative_area_level_1"),Ne>-1&&(P.value.content.state=be.long_name),Ne=be.types.findIndex(Ce=>Ce==="locality"),Ne>-1&&(P.value.content.city=be.long_name),Ne=be.types.findIndex(Ce=>Ce==="route"),Ne>-1&&(P.value.content.street=be.long_name)})},je=()=>{if(D.value.length===0)return"";let ve="";return D.value.forEach(be=>{let Ne=Pe(be.lng);ve+=`${be.lat} ${Ne},`}),ve+=`${D.value[0].lat} ${Pe(D.value[0].lng)}`,ve},ye=async ve=>{const{bounds:be}=ve,Ne=[];if(be){E.value.fitBounds(be);const Ce=be.getNorthEast(),nt=be.getSouthWest();Ne.push({lat:Ce.lat(),lng:Ce.lng()}),Ne.push({lat:nt.lat(),lng:Ce.lng()}),Ne.push({lat:nt.lat(),lng:nt.lng()}),Ne.push({lat:Ce.lat(),lng:nt.lng()})}else{const{position:Ce}=ve;C.value=15,E.value.panTo({lat:Ce.lat(),lng:Ce.lng()})}D.value=Ne,Te(ve.addrList),await e.nextTick(),i.value.geom=je()},ue=()=>{w.value.geocode({address:T.value},(ve,be)=>{if(be==="OK"&&ve)if(ve.length===0)b.value=[];else if(ve.length===1){const Ne=ve[0];Ne.formatted_address;const Ce=Ne.address_components,nt=Ne.geometry.bounds||Ne.geometry.viewport,vt=Ne.geometry.location;ye({addrList:Ce,bounds:nt,position:vt})}else b.value=[],ve.forEach((Ne,Ce)=>{if(Ce>9)return;const nt=Ne.formatted_address,vt=Ne.address_components,{bounds:Tt}=Ne.geometry,Jt=Ne.geometry.location,Kt={detailAddr:nt,addrList:vt,bounds:Tt,position:Jt};b.value.push(Kt)}),f.value=!0})},Ie=()=>{const ve=[],be=new window.google.maps.LatLngBounds;V.value.polygon.getPaths().forEach(function(Ce){Ce.getArray().map(vt=>{be.extend(vt),ve.push({lat:vt.lat(),lng:vt.lng()})})}),D.value=ve,w.value||(w.value=new window.google.maps.Geocoder);const Ne=be.getCenter();w.value.geocode({address:`${Ne.lat()},${Ne.lng()}`},Ce=>{(Ce.length===1||Ce.length!==0)&&Te(Ce[0].address_components)})},Ee=()=>{const ve=[];r&&(clearTimeout(r),r=void 0);const be=new window.google.maps.LatLngBounds;V.value.polygon.getPath().forEach(Ce=>{be.extend(Ce),ve.push({lat:Ce.lat(),lng:Ce.lng()})}),D.value=ve,r=setTimeout(()=>{w.value||(w.value=new window.google.maps.Geocoder);const Ce=be.getCenter();w.value.geocode({address:`${Ce.lat()},${Ce.lng()}`},nt=>{nt===null?Te([]):(nt.length===1||nt.length!==0)&&Te(nt[0].address_components)}),r=void 0},300),e.nextTick(()=>{Xe()})},Xe=()=>{V.value&&V.value.polygon.setOptions({fillOpacity:.04,fillColor:"#000",strokeWeight:2,strokeColor:"#F32C1D"})},mt=()=>{V.value&&V.value.polygon.setOptions({fillOpacity:0,strokeWeight:2,strokeColor:"#F32C1D"})},R=()=>{Ve.value&&Ve.value.validate(ve=>{ve&&U()})},U=async()=>{P.value.geom=`POLYGON((${je()}))`,P.value.content.landmarkGroup=H.value.id===0?[]:[H.value.id],h.value=!0;let ve={};if(P.value.id){const be=pe(P.value.content,i.value.content);ve.content={...be},ve.content.modifyTime=K().utc().format("YYYY-MM-DDTHH:mm:ss[Z]"),ve.id=P.value.id,P.value.geom!==i.value.geom&&(ve.geom=P.value.geom),P.value.name!==i.value.name&&(ve.name=P.value.name)}else ve={...P.value},ve.content.createTime=K().utc().format("YYYY-MM-DDTHH:mm:ss[Z]"),ve.content.modifyTime=K().utc().format("YYYY-MM-DDTHH:mm:ss[Z]");await d.value(ve,q,J)};function pe(ve,be){const Ne={};for(const Ce in ve)ve.hasOwnProperty(Ce)&&(be.hasOwnProperty(Ce)?ve[Ce]!==be[Ce]&&(Ne[Ce]=ve[Ce]):Ne[Ce]=ve[Ce]);for(const Ce in be)be.hasOwnProperty(Ce)&&!ve.hasOwnProperty(Ce)&&(Ne[Ce]=null);return Ne}const q=()=>{v.success("Saved successfully!"),_.value=!1,h.value=!1},J=()=>{h.value=!1};e.watch(()=>{var ve;return(ve=S.value)==null?void 0:ve.ready},ve=>{ve&&(E.value=S.value.map,w.value=new window.google.maps.Geocoder,i.value.id?he():(ge(),setTimeout(()=>{Ie()},200)))});const Be=()=>{var be,Ne;for(const Ce in i.value)Ce==="content"?P.value[Ce]={...i.value[Ce]}:P.value[Ce]=i.value[Ce];if(X.value=[],P.value.id)(Ne=(be=P.value)==null?void 0:be.landmarkGroup)==null||Ne.forEach(Ce=>{let nt=s.value.find(vt=>Ce===vt.id);nt&&X.value.push({iconType:nt.iconType,name:nt.name,id:nt.id})}),X.value.length||X.value.push({iconType:1,name:"default",id:0});else{if(l.landmarkGroupId){let Ce=s.value.find(nt=>l.landmarkGroupId===nt.id);Ce&&X.value.push({iconType:Ce.iconType,name:Ce.name,id:Ce.id})}X.value.length||X.value.push({iconType:1,name:"default",id:0})}let ve=X.value[0];H.value={iconType:ve.iconType,name:ve.name,id:ve.id}};e.watch(()=>_.value,ve=>{T.value="",ve||(P.value={content:{}},D.value=[],te.value=[],g.value=0)},{immediate:!0});const Pe=ve=>(ve=((ve+180)%360+360)%360-180,ve),$=e.ref(!1),ne=e.ref(),He=ve=>{P.value.content.state=ve.value,ne.value&&ne.value.hide()},Re=ve=>{P.value.content.landmarkType=ve},it=e.ref(!0);return e.watch(()=>l.loading,ve=>{ve||Be()},{immediate:!0}),(ve,be)=>{const Ne=e.resolveComponent("anSvgIcon"),Ce=I0,nt=A0,vt=Ji,Tt=Yt,Jt=os,Kt=Ro,zn=Bn,Qt=o0,on=a0,cn=Fo,gn=XT,re=QT,se=ns,me=qi;return e.openBlock(),e.createBlock(me,{modelValue:_.value,"onUpdate:modelValue":be[17]||(be[17]=Se=>_.value=Se),size:"520",title:de.value,class:"drawer-footer-line landmark-drawer add-or-edit","destroy-on-close":!0,onClick:e.withModifiers(y,["stop"])},{footer:e.withCtx(()=>[e.createElementVNode("div",xF,[e.createVNode(zn,{style:{width:"85px",height:"40px"},onClick:be[16]||(be[16]=Se=>_.value=!1)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)("cancel")),1)]),_:1}),t.loginInfo.type&&t.loginInfo.type!==3?(e.openBlock(),e.createBlock(zn,{key:0,style:{height:"40px"},loading:h.value,type:"primary",onClick:R},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)("save")),1)]),_:1},8,["loading"])):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[t.loading?(e.openBlock(),e.createElementBlock("div",MF,[e.createElementVNode("div",LF,[e.createVNode(Ne,{class:"icon-loading",name:"loading-black-loading1","font-size":24,color:"#000"})])])):(e.openBlock(),e.createElementBlock("div",gF,[e.createVNode(se,{ref_key:"formRef",ref:Ve,"label-position":"top","label-width":"auto",model:P.value,rules:m},{default:e.withCtx(()=>[e.createVNode(Jt,{label:e.unref(o)("nameThisLandmark"),prop:"name"},{default:e.withCtx(()=>[e.createVNode(Tt,{class:"h40-br6",modelValue:P.value.name,"onUpdate:modelValue":be[0]||(be[0]=Se=>P.value.name=Se),maxlength:64},{prefix:e.withCtx(()=>[e.createVNode(vt,{trigger:"click","popper-class":"popper-landmarktype noanimation-dropdown",onCommand:Re},{dropdown:e.withCtx(()=>[e.createVNode(nt,{class:"drop-landmarktype"},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(6,Se=>e.createVNode(Ce,{key:Se,command:Se,class:"drop-li"},{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(["check-icon",(P.value.content.landmarkType?P.value.content.landmarkType:1)===Se&&"view-icon"])},[e.createVNode(Ne,{name:"filterchecked","font-size":"24",class:"selcls"})],2),e.createElementVNode("span",null,[e.createVNode(Ne,{name:"landmark-group"+Se,"font-size":"24"},null,8,["name"])])]),_:2},1032,["command"])),64))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",yF,[e.createElementVNode("span",null,[e.createVNode(Ne,{name:P.value.content.landmarkType?"landmark-group"+P.value.content.landmarkType:"landmark-group1","font-size":"24",style:{color:"#000"}},null,8,["name"])]),e.createVNode(Ne,{class:"a-icon",name:"xiajiantou","font-size":"24",style:{color:"#000"}})])]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["label"]),e.createVNode(Jt,{class:"formitem-maparea",label:e.unref(o)("mapArea"),prop:"geom","label-position":"left"},{default:e.withCtx(()=>[e.createElementVNode("div",kF,[e.createVNode(Kt,{visible:f.value,placement:"bottom",width:"480"},{reference:e.withCtx(()=>[e.createVNode(Tt,{modelValue:T.value,"onUpdate:modelValue":be[1]||(be[1]=Se=>T.value=Se),class:"search-input h40-br6",placeholder:e.unref(o)("search")+" "+e.unref(o)("address"),onChange:ue},{prefix:e.withCtx(()=>[e.createVNode(Ne,{color:"#000",name:"searchIcon24","font-size":"24"})]),_:1},8,["modelValue","placeholder"])]),default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,Se=>(e.openBlock(),e.createElementBlock("li",{key:Se.detailAddr,class:"list-item",onClick:xe=>{f.value=!1,ye(Se)}},e.toDisplayString(Se.detailAddr),9,vF))),128))]),_:1},8,["visible"]),e.createCommentVNode("",!0)])]),_:1},8,["label"]),e.createElementVNode("div",{class:"wrapper-map",onClick:be[4]||(be[4]=e.withModifiers(()=>{},["stop"]))},[e.createVNode(e.unref(Jh),{ref_key:"mapRef",ref:S,"api-key":t.GOOGLE_MAP_API_KEY,libraries:["geometry","places"],style:{width:"100%",height:"520px"},styles:t.MAP_STYLES,language:e.unref(a),gestureHandling:"greedy",center:k.value,zoom:C.value,"street-view-control":!1,"map-type-control":!1,disableDefaultUI:!0,"fullscreen-control":!1,rotateControl:!1,onClick:u},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"wrapper-rest",onClick:ge},[e.createElementVNode("span",null,e.toDisplayString(e.unref(o)("reset")),1),e.createVNode(Ne,{name:"refreshIcon","font-size":"24"})]),e.createVNode(e.unref(sI),{ref_key:"polygonRef",ref:V,options:{paths:D.value,fillColor:"rgb(255, 255, 255)",fillOpacity:0,strokeWeight:2,strokeColor:"#F32C1D",editable:!0,controlPoints:!0,draggable:!0},onDragend:Ee,onMouseup:Ie,onMouseover:Xe,onMouseout:mt},null,8,["options"]),e.createVNode(e.unref(fI),{position:"RIGHT_TOP"},{default:e.withCtx(()=>[e.createElementVNode("div",bF,[e.createElementVNode("div",{class:e.normalizeClass([{"mapController-selected":I.value},"mapController"]),id:"map-type-btn",onClick:A},[e.createVNode(Ne,{name:"eye-icon",color:"rgba(2, 2, 2, 1)","font-size":24})],2),e.withDirectives(e.createElementVNode("div",wF,[e.createElementVNode("div",CF,[e.createVNode(on,{modelValue:O.value,"onUpdate:modelValue":be[2]||(be[2]=Se=>O.value=Se),name:"mapTypeGroup",onChange:z},{default:e.withCtx(()=>[e.createVNode(Qt,{value:"roadmap",class:"map-type-item"},{default:e.withCtx(()=>[...be[19]||(be[19]=[e.createTextVNode(" Road ",-1)])]),_:1}),e.createVNode(Qt,{value:"hybrid",class:"map-type-item"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)("satellite")),1)]),_:1})]),_:1},8,["modelValue"])])],512),[[e.vShow,I.value]])])]),_:1})]),_:1},8,["api-key","styles","language","center","zoom"]),it.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"map-mask",onClick:be[3]||(be[3]=Se=>it.value=!1)})):e.createCommentVNode("",!0)]),e.createVNode(Jt,{label:e.unref(o)("address"),class:"form-item-address"},{default:e.withCtx(()=>[e.createElementVNode("div",TF,[be[20]||(be[20]=e.createElementVNode("span",{class:"label-desc"},"Street/Apt/Suite/Floor",-1)),e.createVNode(Tt,{modelValue:P.value.content.street,"onUpdate:modelValue":be[5]||(be[5]=Se=>P.value.content.street=Se),maxlength:126,placeholder:"Enter Street/Apt/Suite/Floor "},null,8,["modelValue"])])]),_:1},8,["label"]),e.createElementVNode("div",EF,[e.createVNode(Jt,{label:"",class:"inner-desc"},{default:e.withCtx(()=>[e.createElementVNode("div",SF,[e.createElementVNode("span",NF,e.toDisplayString(e.unref(o)("city")),1),e.createVNode(re,{modelValue:P.value.content.city,"onUpdate:modelValue":be[6]||(be[6]=Se=>P.value.content.city=Se),filterable:"","allow-create":"",remote:"","fit-input-width":"","reserve-keyword":"","default-first-option":!1,"remote-method":x,loading:j.value,class:"br-6","popper-class":"city-choose",placeholder:"Enter City",onFocus:be[7]||(be[7]=Se=>it.value=!0)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.value,Se=>(e.openBlock(),e.createBlock(gn,{key:Se.value,label:Se.value,value:Se.value},{default:e.withCtx(()=>[e.createVNode(cn,{class:"box-item",effect:"dark",content:Se.value,placement:"right"},{default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(Se.value),1)]),_:2},1032,["content"])]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue","loading"])])]),_:1}),e.createCommentVNode("",!0),e.createVNode(Jt,{label:e.unref(o)("state"),class:e.normalizeClass(["inner-desc form-state",{"is-focus":$.value}])},{default:e.withCtx(()=>[e.createVNode(Tt,{modelValue:P.value.content.state,"onUpdate:modelValue":be[9]||(be[9]=Se=>P.value.content.state=Se),placeholder:"Enter State",onFocus:be[10]||(be[10]=Se=>$.value=!0),onBlur:be[11]||(be[11]=Se=>$.value=!1)},{suffix:e.withCtx(()=>[e.createVNode(Kt,{placement:"bottom-end",width:213,trigger:"click","popper-class":"popper-state",ref_key:"popperStateRef",ref:ne,"show-arrow":!1,"hide-after":0,offset:-24},{reference:e.withCtx(()=>[e.createElementVNode("div",VF,[e.createVNode(Ne,{name:"xiajiantou","font-size":"24",color:"#000",class:"a-icon",style:{cursor:"pointer"}})])]),default:e.withCtx(()=>[e.createElementVNode("div",BF,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.unitAllState,Se=>(e.openBlock(),e.createElementBlock("div",{class:"item",key:Se.key,onClick:xe=>He(Se)},[e.createElementVNode("span",null,e.toDisplayString(Se.value),1),P.value.content.state===Se.value?(e.openBlock(),e.createBlock(Ne,{key:0,name:"device-gou","font-size":24})):e.createCommentVNode("",!0)],8,IF))),128))])]),_:1},512)]),_:1},8,["modelValue"])]),_:1},8,["label","class"]),e.createVNode(Jt,{label:"",class:"inner-desc"},{default:e.withCtx(()=>[e.createElementVNode("div",AF,[e.createElementVNode("span",DF,e.toDisplayString(e.unref(o)("zipCode")),1),e.createVNode(Tt,{modelValue:P.value.content.postal,"onUpdate:modelValue":be[12]||(be[12]=Se=>P.value.content.postal=Se),maxlength:16,placeholder:e.unref(o)("zipCode")},null,8,["modelValue","placeholder"])])]),_:1})]),e.createVNode(Jt,{label:e.unref(o)("remark")},{default:e.withCtx(()=>[e.createVNode(Tt,{modelValue:P.value.content.remark,"onUpdate:modelValue":be[13]||(be[13]=Se=>P.value.content.remark=Se),placeholder:e.unref(o)("typeInContent"),type:"textarea",rows:4,maxlength:250,"show-word-limit":""},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),e.createCommentVNode("",!0)]),_:1},8,["model"])]))]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-0cdaa5b5"]]),Xn=bt(e.defineComponent({__name:"IconButton",props:{name:{default:""},size:{default:"normal"},color:{default:""},fontSize:{default:24},height:{},width:{},svgHeight:{},svgWidth:{},isDelete:{type:Boolean,default:!1},disabled:{type:Boolean}},emits:["handleClick"],setup(t,{emit:n}){const o=n,a=()=>{o("handleClick")};return(r,l)=>{const i=e.resolveComponent("anSvgIcon");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["IconButton",{large:r.size==="large",isDelete:r.isDelete,customHeight:r.height,disabled:r.disabled}]),style:e.normalizeStyle({height:`${r.height||r.fontSize}px`,width:`${r.width||r.height||r.fontSize}px`}),onClick:a},[e.createVNode(i,{name:r.name,"font-size":r.fontSize,color:r.color,style:e.normalizeStyle({height:`${r.svgHeight||r.fontSize}px`,width:`${r.svgWidth||r.fontSize}px`})},null,8,["name","font-size","color","style"])],6)}}}),[["__scopeId","data-v-7326ffa7"]]),PF={class:"icon"},FF={class:"text"},zF={class:"icon"},RF={class:"text"},W2=bt(e.defineComponent({__name:"VehicleLabel",props:{type:{type:Number,default:0},icon:{type:String},name:{type:String},placement:{type:String,default:"top"},height:{type:String,default:"40px"},add:{type:Boolean},data:{type:Object}},emits:["handleClick"],setup(t,{emit:n}){const o=la(),{customerHabit:a}=Ms(o),r=t,{type:l,icon:i,name:s,data:c}=e.toRefs(r),d=e.ref(!1),u=n,y=()=>{u("handleClick",c==null?void 0:c.value)};function p(m){d.value=m}return(m,v)=>{const h=e.resolveComponent("anSvgIcon"),g=e.resolveComponent("text-clamp"),k=Fo;return e.unref(s)?(e.openBlock(),e.createBlock(k,{key:0,effect:"dark",content:e.unref(s),placement:t.placement,"popper-class":"custom-tooltip",offset:10,"show-arrow":!1,disabled:!d.value},{default:e.withCtx(()=>{var T;return[e.createElementVNode("div",{onClick:y,class:e.normalizeClass(["VehicleLabel",{normal:!e.unref(l),add:t.add,vehicle:e.unref(l)===4,"c-g":e.unref(l)===2,"c-r":e.unref(l)===3}]),style:e.normalizeStyle({height:t.height})},[e.createElementVNode("div",PF,[e.unref(l)===1?(e.openBlock(),e.createBlock(h,{key:0,name:"share-tag","font-size":"24"})):e.createCommentVNode("",!0),e.unref(l)===2?(e.openBlock(),e.createBlock(h,{key:1,name:e.unref(i)||"share-vehicle","font-size":"24"},null,8,["name"])):e.createCommentVNode("",!0),e.unref(l)===3?(e.openBlock(),e.createBlock(h,{key:2,name:e.unref(i)||"share-landmark","font-size":"24"},null,8,["name"])):e.createCommentVNode("",!0),e.unref(l)===4?(e.openBlock(),e.createBlock(h,{key:3,name:e.unref(i)||"share-vehicle","font-size":"24"},null,8,["name"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",FF,[e.unref(s)?(e.openBlock(),e.createBlock(g,{key:0,class:"text-clamp-name",location:((T=e.unref(a))==null?void 0:T.textOverflowStyle)||"middle",text:e.unref(s),"max-lines":1,autoResize:!0,onClampChange:p},null,8,["location","text"])):e.createCommentVNode("",!0),e.renderSlot(m.$slots,"default",{},void 0,!0)])],6)]}),_:3},8,["content","placement","disabled"])):(e.openBlock(),e.createElementBlock("div",{key:1,onClick:y,class:e.normalizeClass(["VehicleLabel",{normal:!e.unref(l),add:t.add,vehicle:e.unref(l)===4,"c-g":e.unref(l)===2,"c-r":e.unref(l)===3}]),style:e.normalizeStyle({height:t.height})},[e.createElementVNode("div",zF,[e.unref(l)===1?(e.openBlock(),e.createBlock(h,{key:0,name:"share-tag","font-size":"24"})):e.createCommentVNode("",!0),e.unref(l)===2?(e.openBlock(),e.createBlock(h,{key:1,name:e.unref(i)||"share-vehicle","font-size":"24"},null,8,["name"])):e.createCommentVNode("",!0),e.unref(l)===3?(e.openBlock(),e.createBlock(h,{key:2,name:"share-landmark","font-size":"24"})):e.createCommentVNode("",!0),e.unref(l)===4?(e.openBlock(),e.createBlock(h,{key:3,name:e.unref(i)||"share-vehicle","font-size":"24"},null,8,["name"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",RF,[e.renderSlot(m.$slots,"default",{},void 0,!0)])],6))}}}),[["__scopeId","data-v-2a058901"]]),HF={class:"VehicleItem flex-center-align"},_F={class:"tag-edit-l"},xs=bt(e.defineComponent({__name:"VehicleItem",props:{type:{type:Number},edit:{type:Boolean,default:!0},readOnly:{type:Boolean,default:!1},showDelete:{type:Boolean,default:!0},alias:{type:String,default:""},icon:{type:String,default:""},name:{type:String},placement:{type:String,default:"top"},data:{type:Object}},emits:["update:modelValue","handleDelete","showTag","changeAliasName","handleClick"],setup(t,{emit:n}){const o=t,{type:a,showDelete:r,alias:l,readOnly:i}=e.toRefs(o),{t:s}=Cn(),c=e.ref("");e.watch(()=>l.value,()=>{c.value=l==null?void 0:l.value},{immediate:!0});const d=n,u=v=>{d("handleClick",v,a==null?void 0:a.value)},y=()=>{d("handleDelete")},p=()=>{d("showTag")},m=v=>{d("changeAliasName",v)};return(v,h)=>{const g=Yt,k=e.resolveComponent("anSvgIcon");return e.openBlock(),e.createElementBlock("div",HF,[e.unref(a)===2?(e.openBlock(),e.createBlock(g,{key:0,placeholder:e.unref(s)("enterAliasName"),style:{width:"280px"},modelValue:c.value,"onUpdate:modelValue":h[0]||(h[0]=T=>c.value=T),disabled:e.unref(i),size:"large",onChange:m,maxlength:"20"},{prefix:e.withCtx(()=>[e.createVNode(W2,{data:t.data,type:e.unref(a),height:"38px",icon:t.icon,name:t.name,placement:t.placement,onHandleClick:u},{default:e.withCtx(()=>[e.renderSlot(v.$slots,"default",{},void 0,!0)]),_:3},8,["data","type","icon","name","placement"])]),_:3},8,["placeholder","modelValue","disabled"])):(e.openBlock(),e.createBlock(W2,{key:1,data:t.data,type:e.unref(a),icon:t.icon,name:t.name,placement:t.placement,onHandleClick:u},{default:e.withCtx(()=>[e.renderSlot(v.$slots,"default",{},void 0,!0)]),_:3},8,["data","type","icon","name","placement"])),e.unref(a)===1?(e.openBlock(),e.createElementBlock("div",{key:2,class:"tag-edit",onClick:p},[e.createElementVNode("div",_F,e.toDisplayString(e.unref(s)("editAliasName")),1),e.createVNode(k,{name:"share-right","font-size":"12"})])):e.createCommentVNode("",!0),e.withDirectives(e.createVNode(Xn,{isDelete:"",class:"delete",onClick:y,name:"share-delete","font-size":"30",color:"#000"},null,512),[[e.vShow,e.unref(r)&&!e.unref(i)]])])}}}),[["__scopeId","data-v-94e5a0e0"]]),YF={class:"CustomDatePicker"},ZF={class:"timeText flex-center-align"},jF=bt(e.defineComponent({__name:"CustomDatePicker",props:{modelValue:{default:null}},emits:["update:modelValue","dateChange"],setup(t,{expose:n,emit:o}){const{t:a}=Cn(),r=e.ref(""),l=e.ref(!1),i=t,{modelValue:s}=e.toRefs(i),c=o,{customerHabit:d}=e.toRefs(la()),u=e.computed(()=>{var h,g;return!((h=d==null?void 0:d.value)!=null&&h.localTimezone)&&((g=d==null?void 0:d.value)!=null&&g.timeZone)?d.value.timeZone:""});e.watch(()=>s==null?void 0:s.value,()=>{r.value=s==null?void 0:s.value,console.log(r.value)},{immediate:!0});const y=e.computed(()=>Cu(r.value)),p=()=>{l.value=!l.value},m=h=>new Date(h).getTime()<Date.now()||new Date(h).getTime()>new Date("2089-01-01").getTime(),v=h=>{const g=new Date(h||r.value).getTime();c("update:modelValue",g),c("dateChange",g)};return n({showPicker:p}),(h,g)=>{const k=e.resolveComponent("anytrekTimePick"),T=y0;return e.openBlock(),e.createElementBlock("div",YF,[e.createVNode(k,{value:r.value,"onUpdate:value":g[0]||(g[0]=f=>r.value=f),immediate:!0,teleported:!1,onChange:v,disableFuntion:m,timeZone:u.value,visible:l.value,"onUpdate:visible":g[1]||(g[1]=f=>l.value=f)},null,8,["value","timeZone","visible"]),e.createElementVNode("div",ZF,[e.createElementVNode("span",null,e.toDisplayString(y.value),1),e.createVNode(T,{direction:"vertical",style:{margin:"0","border-color":"#9a9a9a"}}),e.createElementVNode("span",null,e.toDisplayString(e.unref(a)("daysLeft",{d:e.unref(z2)(r.value)})),1),e.createVNode(Xn,{name:"share-edit",onHandleClick:p,color:"#9a9a9a","font-size":"32"})])])}}}),[["__scopeId","data-v-13b945d6"]]),UF={class:"SelectedVehiclePop"},WF={class:"SelectedVehiclePop-t"},GF={class:"SelectedVehiclePop-t-t"},KF={class:"title-l"},qF=["title"],QF={class:"title-r"},XF={class:"SelectedVehiclePop-t-b"},JF={class:"SelectedVehiclePop-m"},$F={class:"content-b"},ez={class:"dynamicScroller-item"},tz={key:0,class:"SelectedVehiclePop-b"},nz=bt(e.defineComponent({__name:"SelectedVehiclePop",props:{modelValue:{type:Boolean},selectedList:{type:Array,default:[]},readOnly:{type:Boolean,default:!1},aliasOnly:{type:Boolean,default:!1},onlyEditName:{type:Boolean,default:!1},aliasNames:{type:Object,default:{}},dataLength:{type:Object}},emits:["update:modelValue","showTag","changeAliasName","handleDelete","clearAll","handleClose","handleConfirm","handleBack","openAddVehicle","handleConfirmAlias","handleClick"],setup(t,{expose:n,emit:o}){const{t:a}=Cn(),r=(O,I)=>{var A;return O.type!==2||!I?"":((A=I==null?void 0:I[O.value])==null?void 0:A.aliasName)||""},l=t,i=e.ref(""),s=e.ref(!1),{modelValue:c,selectedList:d,readOnly:u,aliasNames:y,aliasOnly:p}=e.toRefs(l),m=e.inject("editTagInfo"),v=e.inject("vehicleIconMap"),h=e.computed(()=>{var I;console.log("selectedListDataShowChange");const O=(I=m.value)!=null&&I.infoList?m.value.infoList:g==null?void 0:g.value;return i.value?(O||[]).filter(A=>A.label?((A==null?void 0:A.label)+"").replace(/\s+/g," ").trim().toLocaleLowerCase().indexOf((i.value+"").replace(/\s+/g," ").trim().toLocaleLowerCase())>-1:!0):O}),g=e.ref([]),k=e.ref({}),T=e.computed(()=>c.value),f=e.ref([]),b=O=>O.newIcon?`vehicle-${O.newIcon}`:O.landmarkType?"landmark-group"+O.landmarkType:v.value.get(O.value)||"";e.watch(()=>T.value,()=>{T.value?(f.value=[...d==null?void 0:d.value],g.value=[...d==null?void 0:d.value],k.value=br(y==null?void 0:y.value)):s.value=!1},{immediate:!0}),e.watch(()=>y.value,()=>{k.value=br(y==null?void 0:y.value)},{deep:!0,immediate:!0}),e.watch(()=>d==null?void 0:d.value,O=>{O&&(f.value=[...O],g.value=[...O])},{immediate:!0,deep:!0});const w=o;function E(...O){w("handleClick",...O)}const C=()=>{w("update:modelValue",!1),w("handleClose")},D=()=>{p!=null&&p.value?w("handleConfirmAlias",{...k.value}):w("handleConfirm",g.value,{...k.value}),w("handleClose")},S=O=>{w("showTag",O)},V=(O,I)=>{k.value[I]?k.value[I].aliasName=O:k.value[I]={aliasName:O}},B=(O,I)=>{k.value[I.value]&&delete k.value[I.value],g.value.splice(O,1)},N=()=>{w("openAddVehicle")};function j(O,I){var A,z,M;g.value.map(x=>{var H,X,P,oe,te;x.type===O&&(O===2?x.value===((H=I==null?void 0:I.vehicle)==null?void 0:H.id)&&(x.label=(X=I==null?void 0:I.vehicle)==null?void 0:X.name,x.newIcon=(oe=(P=I==null?void 0:I.vehicle)==null?void 0:P.content)==null?void 0:oe.newIcon):(x.value===(I==null?void 0:I.id)&&(x.label=I==null?void 0:I.name),O===3&&(x.landmarkType=(te=I==null?void 0:I.content)==null?void 0:te.landmarkType)))}),f.value.map(x=>{var H,X,P,oe,te;x.type===O&&(O===2?x.value===((H=I==null?void 0:I.vehicle)==null?void 0:H.id)&&(x.label=(X=I==null?void 0:I.vehicle)==null?void 0:X.name,x.newIcon=(oe=(P=I==null?void 0:I.vehicle)==null?void 0:P.content)==null?void 0:oe.newIcon):(x.value===(I==null?void 0:I.id)&&(x.label=I==null?void 0:I.name),O===3&&(x.landmarkType=(te=I==null?void 0:I.content)==null?void 0:te.landmarkType)))}),(z=(A=m.value)==null?void 0:A.infoList)!=null&&z.length&&((M=m.value)==null||M.infoList.map(x=>{var H,X,P,oe,te;x.type===O&&(O===2?x.value===((H=I==null?void 0:I.vehicle)==null?void 0:H.id)&&(x.label=(X=I==null?void 0:I.vehicle)==null?void 0:X.name,x.newIcon=(oe=(P=I==null?void 0:I.vehicle)==null?void 0:P.content)==null?void 0:oe.newIcon):(x.value===(I==null?void 0:I.id)&&(x.label=I==null?void 0:I.name),O===3&&(x.landmarkType=(te=I==null?void 0:I.content)==null?void 0:te.landmarkType)))}))}return n({opMessage:j}),(O,I)=>{var z,M;const A=Yt;return e.openBlock(),e.createElementBlock("div",UF,[e.createElementVNode("div",WF,[e.createElementVNode("div",GF,[e.createElementVNode("div",KF,[e.createElementVNode("p",{class:"title-text text-overflow-ellipsis",title:e.unref(m)?`${e.unref(m).tagName} ${e.unref(a)("aliasNameEditing")}`:e.unref(a)("allSelectedElement")},e.toDisplayString(e.unref(m)?`${e.unref(m).tagName} ${e.unref(a)("aliasNameEditing")}`:e.unref(a)("allSelectedElement")),9,qF),e.createElementVNode("p",null,e.toDisplayString(e.unref(a)("NinTotal",{n:e.unref(m)?(M=(z=e.unref(m))==null?void 0:z.infoList)==null?void 0:M.length:e.unref(d).length})),1)]),e.createElementVNode("div",QF,[e.createVNode(Xn,{name:"common-popClose",fontSize:"32",color:"#9a9a9a",onHandleClick:C}),!e.unref(u)||t.onlyEditName?(e.openBlock(),e.createBlock(Xn,{key:0,name:"common-popConfirm",color:"#0BA5EC",fontSize:"32",onHandleClick:D})):e.createCommentVNode("",!0)])]),e.createElementVNode("div",XF,[e.createVNode(A,{modelValue:i.value,"onUpdate:modelValue":I[1]||(I[1]=x=>i.value=x),placeholder:e.unref(a)("searchVehicle"),class:"anytrek-vehicle-auto-search",style:{padding:"0"},"prefix-icon":li,size:"large"},{suffix:e.withCtx(()=>[i.value?(e.openBlock(),e.createBlock(ri,{key:0,onClick:I[0]||(I[0]=x=>i.value="")})):e.createCommentVNode("",!0)]),_:1},8,["modelValue","placeholder"])])]),e.createElementVNode("div",JF,[e.createElementVNode("div",$F,[e.createVNode(e.unref(rl),{keyField:"value",items:h.value,"min-item-size":48,class:"dynamicScroller"},{default:e.withCtx(({item:x,index:H,active:X})=>[e.createVNode(e.unref(Jl),{item:x,active:X,"data-index":H},{default:e.withCtx(()=>[e.createElementVNode("div",ez,[e.createVNode(xs,{placement:"left",icon:b(x),onChangeAliasName:P=>{V(P,x.value)},name:x.label,onHandleClick:E,alias:r(x,k.value),onShowTag:P=>S(x.value),type:x.type,onHandleDelete:P=>B(H,x),content:x==null?void 0:x.content,readOnly:e.unref(u)&&!t.onlyEditName,"show-delete":!e.unref(m),data:x},null,8,["icon","onChangeAliasName","name","alias","onShowTag","type","onHandleDelete","content","readOnly","show-delete","data"])])]),_:2},1032,["item","active","data-index"])]),_:1},8,["items"])])]),e.unref(p)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",tz,[e.createVNode(Xn,{name:"share-add2","font-size":"32",color:"#9a9a9a",onHandleClick:N})]))])}}}),[["__scopeId","data-v-70431105"]]),oz={class:"common-share-popover-no-pd"},az={class:"share-add-vehicle-popover"},rz={class:"item-l"},lz={class:"text"},iz={class:"item-l"},sz={class:"text"},cz={class:"item-l"},dz={class:"text"},uz={class:"choose-content"},fz={class:"choose-content-t"},mz={class:"choose-content-t-t flex-center-align"},pz={class:"selected"},hz={class:"confirm flex-center-align"},gz={class:"choose-content-tab flex-center-align"},yz={class:"choose-content-t-m"},kz={class:"choose-content-t-b-l flex-center-align"},vz={class:"choose-content-m"},bz={class:"choose-content-m-content"},wz={class:"item-w"},Cz=["onClick"],Tz={class:"item-l flex-center-align"},Ez={class:"item-r"},Sz={class:"item-w"},Nz=["onClick"],Vz={class:"item-l flex-center-align"},Bz={class:"item-r"},Iz={class:"item-w"},Az=["onClick"],Dz={class:"item-l flex-center-align"},Mz={class:"item-r"},Lz=bt(e.defineComponent({__name:"ShareAddVehiclePopover",props:{dataLength:{type:Object},assetTypesMap:{type:Object,default(){return{}}}},emits:["handleConfirm","handleOp"],setup(t,{expose:n,emit:o}){const a=la(),{customerHabit:r}=Ms(a),l=t,{t:i}=Cn(),{dataLength:s}=e.toRefs(l),c=de=>`vehicle-${de!=null&&de.newIcon||de.isBindVehicle?(de==null?void 0:de.newIcon)||"Vector":"device"}`,d=()=>"",u=e.ref(),y=e.ref(),p=e.ref(),m=e.ref(!1),v=e.ref(!1),h=e.ref(1),g=e.ref(1),k=e.ref(""),T=e.inject("vehicleLoading",!0),f=e.inject("vehiclesListData",[]),b=e.inject("tagListData",[]),w=e.inject("landmarkListData",[]),E=e.inject("selectedListData",[]),C=e.computed(()=>{var de;return u.value?(de=b==null?void 0:b.value)==null?void 0:de.filter(_=>{var ae;return(ae=_==null?void 0:_.label)==null?void 0:ae.includes(u==null?void 0:u.value)}):(b==null?void 0:b.value)||[]}),D=e.computed(()=>{var _;const de=(f==null?void 0:f.value)||[];if(h.value===2&&g.value===2){if(!(k!=null&&k.value))return de;let ae=(_=k==null?void 0:k.value)==null?void 0:_.split(`
278
278
  `);ae=ae.filter(he=>`${he}`.length>=14);const ge=[];return ae.length&&ae.map(he=>{const Te=de.find(je=>(je==null?void 0:je.deviceId)==he);Te&&ge.push(Te.value)}),de.filter(he=>ge.includes(he.value))}return u.value?de.filter(ae=>{var ge;return(ge=ae==null?void 0:ae.label)==null?void 0:ge.includes(u==null?void 0:u.value)}):de}),S=e.computed(()=>{var de;return u.value?(de=w==null?void 0:w.value)==null?void 0:de.filter(_=>{var ae;return(ae=_==null?void 0:_.label)==null?void 0:ae.includes(u==null?void 0:u.value)}):(w==null?void 0:w.value)||[]}),V=e.ref([]),B=e.ref([]),N=o,j=e.computed(()=>{var ae;const de=g.value;let _=(V==null?void 0:V.value)||[];if(_=_.filter(ge=>ge.type===de),h.value===2&&g.value===2){if(!(k!=null&&k.value))return _;let ge=(ae=k==null?void 0:k.value)==null?void 0:ae.split(`
279
279
  `);ge=ge.filter(Te=>`${Te}`.length>=14);const he=[];return ge.length&&ge.map(Te=>{const je=D.value.find(ye=>(ye==null?void 0:ye.deviceId)==Te);je&&he.push(je.value)}),_.filter(Te=>he.includes(Te.value))}return u.value?_.filter(ge=>{var he;return(he=ge==null?void 0:ge.label)==null?void 0:he.includes(u==null?void 0:u.value)}):_}),O=e.computed(()=>{var _,ae,ge;switch(g.value){case 1:return j.value.length>=((_=C==null?void 0:C.value)==null?void 0:_.length);case 2:return j.value.length>=((ae=D==null?void 0:D.value)==null?void 0:ae.filter(he=>!(he!=null&&he.disabled)).length);case 3:return j.value.length>=((ge=S==null?void 0:S.value)==null?void 0:ge.length);default:return!1}}),I=e.computed(()=>{var ae,ge,he;const de=g.value,_=j.value.length;switch(de){case 1:return _&&_<((ae=C==null?void 0:C.value)==null?void 0:ae.length);case 2:return _&&_<((ge=D==null?void 0:D.value)==null?void 0:ge.filter(Te=>!(Te!=null&&Te.disabled)).length);case 3:return _&&_<((he=S==null?void 0:S.value)==null?void 0:he.length);default:return!1}}),A=e.computed(()=>{const de=g.value;switch(de){case 1:return V==null?void 0:V.value.filter(_=>_.type===de).length;case 2:return V==null?void 0:V.value.filter(_=>_.type===de).length;case 3:return V==null?void 0:V.value.filter(_=>_.type===de).length;default:return 0}}),z=e.computed(()=>(g==null?void 0:g.value)===1?i("createNewTag"):(g==null?void 0:g.value)===2?i("createNewVehicle"):i("createNewLandmark")),M=(de,_=!1)=>{const ae=g.value;let ge=d()+"/#";switch(ae){case 1:ge+="/tags?isAdd=true";break;case 2:ge+="/vehicles?isAdd=true";break;case 3:ge+="/landmark?isAdd=true";break}if(de&&(ge+=`&id=${de}`),_)ge+="&type=landmarkGroup";else{N("handleOp",ae,de),oe();return}window.open(ge,"_blank","100%")},x=de=>{u.value="",m.value=!0,h.value=1,g.value=de},H=de=>{const _=g.value;V.value.find(ge=>ge.type===_&&ge.value===de.value)?V.value=V.value.filter(ge=>!(ge.type===_&&ge.value===de.value)):V.value.push({label:de.label,value:de.value,newIcon:de.newIcon,landmarkType:de.landmarkType,type:_})},X=de=>{const _=g.value;let ae=(V==null?void 0:V.value)||[];return ae!=null&&ae.length?!!ae.find(he=>he.type===_&&(he==null?void 0:he.value)===(de==null?void 0:de.value)):!1},P=()=>{var ae,ge;const de=g.value;let _=[...V.value];if(O.value){switch(de){case 1:V.value=_.filter(he=>he.type!==de||he.type===de&&!C.value.find(Te=>Te.value===he.value));break;case 2:V.value=_.filter(he=>he.type!==de||he.type===de&&!D.value.find(Te=>Te.value===he.value));break;case 3:V.value=_.filter(he=>he.type!==de||he.type===de&&!S.value.find(Te=>Te.value===he.value));break}return}switch(de){case 1:_=_.filter(Te=>Te.type!==de||Te.type===de&&!C.value.find(je=>je.value===Te.value)),V.value=_.concat((ae=C==null?void 0:C.value)==null?void 0:ae.map(Te=>({label:Te.label,value:Te.value,type:de})));break;case 2:_=_.filter(Te=>Te.type!==de||Te.type===de&&!D.value.find(je=>je.value===Te.value));let he=D==null?void 0:D.value.map(Te=>({label:Te.label,value:Te.value,newIcon:Te.newIcon,type:de}));V.value=_.concat(he);break;case 3:_=_.filter(Te=>Te.type!==de||Te.type===de&&!S.value.find(je=>je.value===Te.value)),V.value=_.concat((ge=S==null?void 0:S.value)==null?void 0:ge.map(Te=>({label:Te.label,value:Te.value,landmarkType:Te.landmarkType,type:de})));break}},oe=()=>{V.value=[...B.value],v.value=!1,y.value.handleClose(),m.value=!1},te=()=>{y.value.handleClose(),m.value=!1,v.value=!1,N("handleConfirm",V.value)},Ve=()=>{y.value.handleOpen(),m.value=!1,v.value=!v.value},De=de=>{de||(u.value="")};return e.watch(()=>E,de=>{de!=null&&de.value&&(V.value=[...de.value],B.value=[...de.value])},{deep:!0,immediate:!0}),n({handleOpen:Ve,handleConfirm:te,showChooseContent:m}),(de,_)=>{const ae=e.resolveComponent("anSvgIcon"),ge=Yt,he=e.resolveComponent("text-clamp"),Te=Ji,je=Xr;return e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:"ShareAddVehiclePopover share-drawer",ref_key:"refShareAddVehiclePopover",ref:p},[e.createVNode(Te,{ref_key:"refPop",ref:y,trigger:"click",width:"240","popper-class":"common-select-popover",placement:"bottom-start","hide-timeout":0,"show-timeout":0,onVisibleChange:De},{dropdown:e.withCtx(()=>{var ye,ue,Ie;return[e.createElementVNode("div",oz,[e.createElementVNode("div",az,[e.createElementVNode("div",{class:"item",onClick:_[0]||(_[0]=Ee=>x(1))},[e.createElementVNode("div",rz,[e.createVNode(ae,{name:"share-tag","font-size":"24"}),e.createElementVNode("div",lz,[e.createTextVNode(e.toDisplayString(e.unref(i)("addTag"))+" ",1),e.createElementVNode("span",null,"("+e.toDisplayString(((ye=e.unref(s))==null?void 0:ye.tagLength)||0)+")",1)])]),e.createVNode(ae,{name:"share-right","font-size":"24"})]),e.createElementVNode("div",{class:"item",onClick:_[1]||(_[1]=Ee=>x(2))},[e.createElementVNode("div",iz,[e.createVNode(ae,{name:"share-vehicle","font-size":"24"}),e.createElementVNode("div",sz,[e.createTextVNode(e.toDisplayString(e.unref(i)("addVehicle"))+" ",1),e.createElementVNode("span",null,"("+e.toDisplayString(((ue=e.unref(s))==null?void 0:ue.vehicleLength)||0)+")",1)])]),e.createVNode(ae,{name:"share-right","font-size":"24"})]),e.createElementVNode("div",{class:"item",onClick:_[2]||(_[2]=Ee=>x(3))},[e.createElementVNode("div",cz,[e.createVNode(ae,{name:"share-landmark","font-size":"24"}),e.createElementVNode("div",dz,[e.createTextVNode(e.toDisplayString(e.unref(i)("addLandmark"))+" ",1),e.createElementVNode("span",null,"("+e.toDisplayString(((Ie=e.unref(s))==null?void 0:Ie.landmarkLength)||0)+")",1)])]),e.createVNode(ae,{name:"share-right","font-size":"24"})])]),e.withDirectives(e.createElementVNode("div",uz,[e.createElementVNode("div",fz,[e.createElementVNode("div",mz,[e.createElementVNode("span",pz,e.toDisplayString(e.unref(i)("selected"))+":"+e.toDisplayString(A.value),1),e.createElementVNode("div",hz,[e.createVNode(Xn,{name:"common-popClose",fontSize:"32",color:"#9a9a9a",onHandleClick:oe}),e.createVNode(Xn,{name:"common-popConfirm",color:"#0BA5EC",fontSize:"32",onHandleClick:te})])]),e.withDirectives(e.createElementVNode("div",gz,[e.createElementVNode("span",{class:e.normalizeClass({active:h.value===1}),onClick:_[3]||(_[3]=Ee=>h.value=1)},e.toDisplayString(e.unref(i)("vehicleName")),3),e.createElementVNode("span",{class:e.normalizeClass({active:h.value===2}),onClick:_[4]||(_[4]=Ee=>{h.value=2,u.value=""})},e.toDisplayString(e.unref(i)("batchDeviceID")),3)],512),[[e.vShow,g.value===2]]),e.createElementVNode("div",yz,[e.withDirectives(e.createVNode(ge,{modelValue:u.value,"onUpdate:modelValue":_[6]||(_[6]=Ee=>u.value=Ee),placeholder:e.unref(i)("search"),class:"anytrek-vehicle-auto-search",style:{padding:"0"},"prefix-icon":li,size:"large"},{suffix:e.withCtx(()=>[u.value?(e.openBlock(),e.createBlock(ri,{key:0,onClick:_[5]||(_[5]=Ee=>u.value="")})):e.createCommentVNode("",!0)]),_:1},8,["modelValue","placeholder"]),[[e.vShow,h.value===1]]),e.withDirectives(e.createVNode(ge,{placeholder:e.unref(i)("oneIDLine"),rows:8,type:"textarea",size:"large",modelValue:k.value,"onUpdate:modelValue":_[7]||(_[7]=Ee=>k.value=Ee),class:"auto-table-search",style:{width:"100%"}},{prefix:e.withCtx(()=>[e.createVNode(ae,{name:"common-searchInput","font-size":"40",color:"#000"})]),_:1},8,["placeholder","modelValue"]),[[e.vShow,h.value===2]])]),e.createElementVNode("div",{class:"choose-content-t-b flex-center-align",onClick:P},[e.createElementVNode("div",kz,[e.createVNode(Xn,{name:"common-selectAll",fontSize:"24",color:"#000"}),e.createElementVNode("span",null,e.toDisplayString(e.unref(i)("selectAll")),1)]),O.value?(e.openBlock(),e.createBlock(ae,{key:0,name:"common-mdvrchecked","font-size":"16",color:"#fff"})):I.value?(e.openBlock(),e.createBlock(ae,{key:1,name:"common-mdvrcheckon","font-size":"16",color:"#fff"})):(e.openBlock(),e.createBlock(ae,{key:2,name:"common-mdvrcheck","font-size":"16",color:"#9a9a9a"}))])]),e.createElementVNode("div",vz,[e.createElementVNode("div",bz,[e.withDirectives(e.createElementVNode("div",null,[e.createVNode(e.unref(rl),{keyField:"value",items:C.value,"min-item-size":44,class:"dynamicScroller"},{default:e.withCtx(({item:Ee,index:Xe,active:mt})=>[e.createVNode(e.unref(Jl),{item:Ee,active:mt,"data-index":Xe},{default:e.withCtx(()=>{var R;return[e.createElementVNode("div",wz,[e.createElementVNode("div",{class:"item flex-center-align",onClick:U=>H(Ee)},[e.createElementVNode("div",Tz,[e.createVNode(ae,{name:"share-tag","font-size":"24",color:"#000"}),e.createVNode(he,{location:((R=e.unref(r))==null?void 0:R.textOverflowStyle)||"middle",text:Ee.label,"max-lines":1,autoResize:!0},null,8,["location","text"])]),e.createElementVNode("div",{class:"item-m",onClick:_[8]||(_[8]=e.withModifiers(()=>{},["stop"]))},[e.createVNode(Xn,{onHandleClick:U=>M(Ee.value),name:"common-edit","font-size":"24",height:"32",color:"#000"},null,8,["onHandleClick"])]),e.createElementVNode("div",Ez,[X(Ee)?(e.openBlock(),e.createBlock(ae,{key:0,name:"common-checked","font-size":"24",style:{color:"#fff"}})):(e.openBlock(),e.createBlock(ae,{key:1,name:"common-checkbox","font-size":"24",color:"#9a9a9a"}))])],8,Cz)])]}),_:2},1032,["item","active","data-index"])]),_:1},8,["items"])],512),[[e.vShow,g.value===1]]),e.withDirectives(e.createElementVNode("div",null,[e.createVNode(e.unref(rl),{keyField:"value",items:D.value,"min-item-size":44,class:e.normalizeClass(["dynamicScroller",{vehicleTab2:h.value===2}])},{default:e.withCtx(({item:Ee,index:Xe,active:mt})=>[e.createVNode(e.unref(Jl),{item:Ee,active:mt,"data-index":Xe},{default:e.withCtx(()=>{var R;return[e.createElementVNode("div",Sz,[e.createElementVNode("div",{class:e.normalizeClass(["item flex-center-align",{disabled:Ee==null?void 0:Ee.disabled}]),onClick:U=>H(Ee)},[e.createElementVNode("div",Vz,[e.createVNode(ae,{name:c(Ee),"font-size":"24",color:"#000"},null,8,["name"]),e.createVNode(he,{location:((R=e.unref(r))==null?void 0:R.textOverflowStyle)||"middle",text:Ee==null?void 0:Ee.label,"max-lines":1,autoResize:!0},null,8,["location","text"])]),e.createElementVNode("div",{class:"item-m",onClick:_[9]||(_[9]=e.withModifiers(()=>{},["stop"]))},[e.createVNode(Xn,{onHandleClick:U=>M(Ee==null?void 0:Ee.value),name:"common-edit","font-size":"24",height:"32",color:"#000"},null,8,["onHandleClick"])]),e.createElementVNode("div",Bz,[X(Ee)?(e.openBlock(),e.createBlock(ae,{key:0,name:"common-checked","font-size":"24",style:{color:"#fff"}})):(e.openBlock(),e.createBlock(ae,{key:1,name:"common-checkbox","font-size":"24",color:"#9a9a9a"}))])],10,Nz)])]}),_:2},1032,["item","active","data-index"])]),_:1},8,["items","class"])],512),[[e.vShow,g.value===2]]),e.withDirectives(e.createElementVNode("div",null,[e.createVNode(e.unref(rl),{keyField:"value",items:S.value,"min-item-size":44,class:"dynamicScroller"},{default:e.withCtx(({item:Ee,index:Xe,active:mt})=>[e.createVNode(e.unref(Jl),{item:Ee,active:mt,"data-index":Xe},{default:e.withCtx(()=>{var R;return[e.createElementVNode("div",Iz,[e.createElementVNode("div",{class:"item flex-center-align",onClick:U=>H(Ee)},[e.createElementVNode("div",Dz,[e.createVNode(ae,{name:Ee.landmarkType?"landmark-group"+Ee.landmarkType:"landmark-group1","font-size":"24",color:"#000"},null,8,["name"]),e.createVNode(he,{location:((R=e.unref(r))==null?void 0:R.textOverflowStyle)||"middle",text:Ee.label,"max-lines":1,autoResize:!0},null,8,["location","text"])]),e.createElementVNode("div",{class:"item-m",onClick:_[10]||(_[10]=e.withModifiers(()=>{},["stop"]))},[e.createVNode(Xn,{onHandleClick:U=>M(Ee.value),name:"common-edit","font-size":"24",height:"32",color:"#000"},null,8,["onHandleClick"])]),e.createElementVNode("div",Mz,[X(Ee)?(e.openBlock(),e.createBlock(ae,{key:0,name:"common-checked","font-size":"24",style:{color:"#fff"}})):(e.openBlock(),e.createBlock(ae,{key:1,name:"common-checkbox","font-size":"24",color:"#9a9a9a"}))])],8,Az)])]}),_:2},1032,["item","active","data-index"])]),_:1},8,["items"])],512),[[e.vShow,g.value===3]])])]),e.createElementVNode("div",{class:"choose-content-b flex-center-align",onClick:_[11]||(_[11]=Ee=>M(0))},[e.createVNode(ae,{name:"share-add2","font-size":"32",color:"#9a9a9a"}),e.createElementVNode("span",null,e.toDisplayString(z.value),1)])],512),[[e.vShow,m.value]])])]}),default:e.withCtx(()=>[e.createVNode(Xn,{name:"share-add2","font-size":"32",color:"#9a9a9a",onHandleClick:Ve})]),_:1},512)])),[[je,e.unref(T)]])}}}),[["__scopeId","data-v-c8140a95"]]),xz=la(ku);K.extend(ea),K.extend(oa),K.extend(aa);const G2=(t,n,o="vehicleId")=>t.find(a=>a[o]===n),Oz=(t,n,o,a)=>{const r=t.find(l=>l.id===o);r?r.modelId&&a.push({assetType:n.assetType,newIcon:n.newIcon,label:n.name,value:n.id,dId:r.id,modelId:r.modelId,deviceId:r.userPackageId,isBindVehicle:1,isBindDevice:1,vehicleName:n.name,vehicleId:n.id,isVehicle:!0,createTime:r.createTime,deviceStatus:r.deviceStatus}):a.push({label:n.name,value:n.id,isBindVehicle:1,isBindDevice:0,vehicleName:n.name,assetType:n.assetType,newIcon:n.newIcon,vehicleId:n.id,disabled:!0,isVehicle:!0,deviceStatus:n.deviceStatus})};function Pz(t){const{tagList:n=[],landmarkList:o=[],vehicleType:a=[]}=t;let{deviceList:r=[],vehicleList:l=[],vehicleDeviceList:i=[],deviceStatusList:s=[]}=t;const c={},d={},u={};r=r.filter(g=>g.content.deviceStatus===2).map(g=>{const{...k}={...g,...g.content};return k}),i=i.filter(g=>{var f,b;const k=(f=r.find(w=>w.id===g.deviceId))==null?void 0:f.id,T=(b=l.find(w=>w.id===g.vehicleId))==null?void 0:b.id;return k&&T}),l=l.filter(g=>{var T;const k=(T=i.find(f=>f.vehicleId===g.id))==null?void 0:T.deviceId;return k&&k>0&&r.find(f=>f.id===k)}).map(g=>{const{...k}={...g,...g.content};return k}),s=s.map(g=>{const{...k}={...g,...g.content};return k});const y=[];l.map(g=>{const k=G2(i,g.id,"vehicleId");k?Oz(r,g,k==null?void 0:k.deviceId,y):y.push({label:g.name,value:g.id,isBindVehicle:1,isBindDevice:0,vehicleName:g.name,assetType:g.assetType,newIcon:g.newIcon,vehicleId:g.id,disabled:!0,isVehicle:!0,deviceStatus:g.deviceStatus})}),r.map(g=>{var T;G2(i,g.id,"deviceId")===void 0&&((T=xz.customerHabit)==null?void 0:T.showDevice)!==!1&&y.push({label:g.userPackageId.toString().slice(-5),value:g.id,dId:g.id,modelId:g.modelId,deviceId:g.userPackageId,isBindVehicle:0,isBindDevice:1,disabled:!0,isVehicle:!1,deviceStatus:g.deviceStatus})}),y.map(g=>{s.map(k=>{g.deviceId===k.userPackageId&&(g.lng=k.lng,g.lat=k.lat,g.speed=k.speed,g.battery=k.content.battery,g.temperature=k.temperature,g.locationReportTime=k.locationReportTime,g.locationTime=k.locationTime,g.reportTime=k.reportTime,g.pulseReportTime=k.pulseReportTime,g.charging=k.charging,g.event=k.event,g.detailAddress=k.detailAddress,g.signals=k.signals,g.conStatus=k.conStatus,g.heading=k.heading,g.acc=k.acc)})}),y.map(g=>{g.speed>20&&(g.event=1),g.speed<20&&g.event===1&&g.heading===0&&(g.event=0),g.type=g.isBindVehicle===1?"vehicle":"device",g.updateReportTime=g.locationTime?K(g.locationTime).valueOf():0,g.trackerStatus=lA(g);let k=iA(g);if(g.trackerStatus<=0||!g.trackerStatus?g.currentDeviceStatus="offline":g.battery&&g.battery<20||g.battery===0||g.alarmingCount>0?g.currentDeviceStatus="alarming":k==="Idle"?g.currentDeviceStatus="idle":g.currentDeviceStatus="normal",g.updateReportTime){const T=K(g.updateReportTime).valueOf(),f=K().valueOf();g.timeDiff=_2(T),T?g.idleDiff=f-T:g.idleDiff=0}else g.timeDiff=_2(g.updateReportTime),g.idleDiff=0;d[g.value]={name:g.label,newIcon:g.newIcon}});const p=n.map(g=>(c[g.id]={name:g.name},{value:g.id,label:g.name,type:1,content:g.content})),m=o.map(g=>{var k,T;return u[g.id]={name:g.name,landmarkType:((k=g.content)==null?void 0:k.landmarkType)||1},{value:g.id,label:g.name,type:3,geom:g.geom,landmarkType:((T=g.content)==null?void 0:T.landmarkType)||1}}),v=new Map,h=new Map;return a.map(g=>{var T,f;const{...k}={...g,...g.content};return(T=g==null?void 0:g.content)!=null&&T.newIcon&&h.set(g.id,`vehicle-${(f=g==null?void 0:g.content)==null?void 0:f.newIcon}`),k}),{boundVehiclesList:y,tagListData:p,landmarkListData:m,vehicleIconMap:v,tagObj:c,vehicleObj:d,landmarkObj:u}}const Fz=bt(e.defineComponent({__name:"LoadingIconW",props:{loading:{type:Boolean},white:{type:Boolean}},setup(t){return(n,o)=>{const a=e.resolveComponent("anSvgIcon");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["LoadingIcon",{loading:t.loading}])},[e.createVNode(a,{name:"common-loadingW","font-size":"24",color:"#fff"})],2)}}}),[["__scopeId","data-v-6bab1382"]]),zz={class:"customize-body"},Rz={class:"customize-body-input"},Hz=bt(e.defineComponent({__name:"CustomizeHours",props:{visible:{type:Boolean,default:!1},hour:{type:String}},emits:["update:visible","update:hour"],setup(t,{emit:n}){const{t:o}=Cn(),a=t,r=n,l=e.computed({get(){return a.visible},set(c){r("update:visible",c)}}),i=e.ref(1);e.watch(()=>a.hour,()=>{i.value=a.hour?Number(a.hour.replace("h","")):0,i.value=typeof i.value=="number"?i.value:0},{immediate:!0}),e.watch(()=>l.value,()=>{l.value&&(i.value=a.hour?Number(a.hour.replace("h","")):0,i.value=typeof i.value=="number"?i.value:0)});function s(){r("update:hour",(i.value||0)+"h"),l.value=!1}return(c,d)=>{const u=_0,y=Bn,p=Ro;return e.openBlock(),e.createBlock(p,{placement:"bottom",width:"310","show-arrow":!1,trigger:"contextmenu",visible:l.value,"onUpdate:visible":d[1]||(d[1]=m=>l.value=m),"hide-after":0,teleported:!0,"popper-class":"customize-popper"},{reference:e.withCtx(()=>[e.renderSlot(c.$slots,"default",{},void 0,!0)]),default:e.withCtx(()=>[e.createElementVNode("div",zz,[e.createElementVNode("h6",null,e.toDisplayString(e.unref(o)("customize")),1),e.createElementVNode("p",null,e.toDisplayString(e.unref(o)("Can0to72")),1),e.createElementVNode("div",Rz,[e.createVNode(u,{modelValue:i.value,"onUpdate:modelValue":d[0]||(d[0]=m=>i.value=m),min:0,max:72,step:1,"step-strictly":"",class:"anytrek-vehicle-auto-search",controls:!1},{suffix:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(e.unref(o)("hr")),1)]),_:1},8,["modelValue"]),e.createVNode(y,{size:"large",type:"primary",onClick:e.withModifiers(s,["stop"])},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)("save")),1)]),_:1})])])]),_:3},8,["visible"])}}}),[["__scopeId","data-v-5f7db9d9"]]),_z={class:"title"},Yz={class:"title-t text-overflow-ellipsis"},Zz={class:"title-b"},jz={key:0,class:"AddShare"},Uz={class:"form-item no-border"},Wz={class:"form-item-title flex-center-align pt0"},Gz={class:"form-item-title-l"},Kz={key:1,class:"fz24 text-overflow-ellipsis"},qz={class:"form-item"},Qz={class:"form-item-title flex-center-align"},Xz={class:"form-item-title-l"},Jz={key:0},$z={class:"form-item-content"},eR={key:0,class:"vehicle-item"},tR={class:"form-item"},nR={class:"form-item-content"},oR={class:"form-item-title justify-center flex-start-align"},aR={class:"form-item-title-l"},rR={class:"form-item-title-l-t"},lR={key:0,class:"form-item-title-l-b"},iR={class:"form-item-title-r flex-center-align"},sR={style:{"font-size":"16px"},class:"hover-arr"},cR={class:"share-add-vehicle-popover"},dR=["onClick"],uR={class:"item-l"},fR={class:"text"},mR={key:1,class:"expires-preview flex-center-align flex-between-justify"},pR={class:"fz18"},hR={key:0,class:"c-red",style:{"font-size":"16px"}},gR={key:1,class:"c-red"},yR={class:"form-item-title justify-center flex-start-align"},kR={class:"form-item-title-l"},vR={class:"form-item-title-l-t"},bR={class:"form-item-content"},wR={class:"radio-item flex-center-align flex-between-justify"},CR={class:"last"},TR={class:"el-dropdown-menu el-dropdown-menu--large"},ER={class:"el-dropdown-menu__item"},SR=["onClick"],NR={class:"item-l"},VR={key:1,class:"text",style:{"line-height":"16px"}},BR={style:{color:"#9a9a9a","font-size":"12px"}},IR={key:2,class:"text"},AR={class:"radio-item"},DR={style:{"margin-top":"8px"}},MR={key:1,class:"expires-preview flex-center-align flex-between-justify"},LR={class:"fz18"},xR={style:{"font-size":"16px"}},OR={class:"c-gray"},PR={class:"c-red"},FR={key:0,class:"form-item"},zR={class:"form-item-title flex-between-justify",style:{width:"100%"}},RR={class:"form-item-title-l",style:{"line-height":"24px",height:"24px"}},HR={class:"form-item-title-r switch"},_R={key:0,class:"logo"},YR={key:0,class:"history-logo"},ZR=["onClick"],jR={key:0,class:"selected flex-center-align-justify"},UR={class:"logo-up"},WR={key:0,class:"view-image"},GR={class:"edit-img"},KR={key:1,class:"up-btn"},qR={class:"logo-link"},QR={key:2,class:"link-content"},XR={class:"link-content-l"},JR={class:"link-content-r"},$R={key:1,class:"read-logo"},eH={class:"fz18",style:{"margin-bottom":"16px"}},tH={class:"c-blue fz16"},nH={key:1,class:"form-item no-border"},oH={class:"form-item-title flex-between-justify",style:{width:"100%"}},aH={class:"form-item-title-l"},rH={class:"form-item-content"},lH={key:1},iH={key:0},sH={key:1},cH={key:2,class:"form-item"},dH={class:"form-item-title flex-between-justify",style:{width:"100%"}},uH={class:"form-item-title-l",style:{"line-height":"24px",height:"24px"}},fH={class:"form-item-title-r switch",style:{"padding-right":"4px"}},mH={key:1,class:"mask"},pH={class:"loading-container"},hH={ref:"popoverTrigger"},gH=bt(e.defineComponent({__name:"AddOrEditShare",props:{data:{type:Object,default(){return{}}},vehicleLoading:{type:Boolean,default:!1},modelValue:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},itemData:{type:Object,default:()=>({})},getShareHistoryUrl:{type:Function,required:!0,default(){return new Promise(t=>{t({})})}},uploadShareFile:{type:Function,required:!0,default(){return new Promise(t=>{t([])})}},saveFunctionShare:{type:Function,required:!0,default(){return new Promise(t=>{t([])})}},loginInfo:{type:Object,required:!0,default(){return{}}},assetTypeFn:{type:Function,required:!0,default(){return new Promise(t=>{t([])})}},bindDeviceHis:{type:Function,required:!0,default(){return new Promise(t=>{t([])})}},deviceBindTimeLimit:{type:Function,required:!0,default(){return new Promise(t=>{t([])})}},saveFunctionVehicle:{type:Function,required:!0,default(){return new Promise(t=>{t([])})}},saveFunctionTag:{type:Function,required:!0,default(){return new Promise(t=>{t([])})}},unitAllState:{type:Array,default:()=>[]},GOOGLE_MAP_API_KEY:{type:String,required:!0,default:""},MAP_STYLES:{type:Array,default:()=>[]},searhTrimblemapAddress:{type:Function,required:!0,default(){return new Promise(t=>{t([])})}},saveFunctionLandmark:{type:Function,required:!0,default(){return new Promise(t=>{t([])})}},nowChooseVehicleId:{type:Number}},emits:["update:modelValue","showSelected","showTag","changeAliasName","showMore","handleDelete","handleSubmit","handleConfirmSelect"],setup(t,{expose:n,emit:o}){K.extend(ea),K.extend(oa),K.extend(aa);const a=t,{modelValue:r,readOnly:l,vehicleLoading:i}=e.toRefs(a),s=e.ref([]),c=e.ref({}),d=e.ref([]),u=e.ref([]),y=e.ref([]),p=e.ref([]),m=e.ref({}),v=e.ref({}),h=e.computed(()=>({tagLength:u.value.length,vehicleLength:y.value.length,landmarkLength:p.value.length})),g=e.ref([]);e.watch(()=>s.value,()=>{g.value=s.value},{immediate:!0,deep:!0});const k=e.ref({});e.watch(()=>d==null?void 0:d.value,()=>{k.value=d==null?void 0:d.value},{immediate:!0,deep:!0});const T=e.ref({});e.watch(()=>h==null?void 0:h.value,()=>{T.value=h==null?void 0:h.value},{immediate:!0,deep:!0}),e.provide("vehicleLoading",i),e.provide("tagListData",u),e.provide("vehiclesListData",y),e.provide("landmarkListData",p),e.provide("selectedListData",g),e.provide("editTagInfo",m),e.provide("vehicleIconMap",v),e.watch(()=>i.value,()=>{i.value||E()});let f={},b={},w={};function E(le=a.data,Y=!0){console.time("sharegetAllData");const Ae=Pz({...le});y.value=Ae.boundVehiclesList.filter(We=>We.deviceStatus===2&&We.isBindDevice&&We.isBindVehicle),u.value=Ae.tagListData,p.value=Ae.landmarkListData,v.value=Ae.vehicleIconMap,f=Ae.tagObj,b=Ae.vehicleObj,w=Ae.landmarkObj,Y&&un(),console.timeEnd("sharegetAllData")}let C="/upload/";(process.env.NODE_ENV==="development"||process.env.NODE_ENV==="dev")&&(C="https://pro.anytrek.app/upload/");const D=o,{t:S}=Cn(),V=ai(),{customerHabit:B,modelList:N}=e.toRefs(la()),j=()=>{var le;G.value=!1,(le=X.value)==null||le.clearFiles(),ro(),D("update:modelValue",!1)},O=e.ref([]),I=e.ref([]),A=e.ref(""),z=e.ref(!1),M=e.ref(!1),x=e.ref(!1),H=e.ref(!1),X=e.ref(),P=e.ref(!1),oe=e.ref(),te=e.computed(()=>{var le,Y;return!((le=B==null?void 0:B.value)!=null&&le.localTimezone)&&((Y=B==null?void 0:B.value)!=null&&Y.timeZone)?B.value.timeZone:""}),Ve=(le,Y)=>{var Ae;return le.type!==2||!Y?"":((Ae=Y==null?void 0:Y[le.value])==null?void 0:Ae.aliasName)||""},De=()=>{P.value=!0},de=()=>{x.value=!0,a.getShareHistoryUrl?a.getShareHistoryUrl().then(le=>{var Y,Ae;x.value=!1,(Y=le==null?void 0:le.data)!=null&&Y.length&&(O.value=[...le.data]),q.value.showLogo&&!q.value.logoPicture&&((Ae=le==null?void 0:le.data)!=null&&Ae.length)&&_(O.value[0])}).then(()=>{x.value=!1}):x.value=!1},_=le=>{q.value.logoPicture=le,I.value=le,A.value=C+le},ae=()=>{V.error(S("maxUploadNumber1"))},ge=le=>le.newIcon?`vehicle-${le.newIcon}`:le.landmarkType?"landmark-group"+le.landmarkType:v.value.get(le.value)||"",he=(le,Y)=>{const Ae=le.size/1024/1024<1;return Ae?(z.value=!0,A.value=URL.createObjectURL(le.raw),M.value=Ae,M.value&&Te(le.raw),!1):(V.error(`${S("uploadFileSizeCannotExceed")} 1MB`),Y.pop(),!1)},Te=async le=>{new FormData().append("file",le),le&&eA(le,{height:80,quality:.1},async Ae=>{const We=new FormData;We.append("file",Ae);const rt=await a.uploadShareFile(We);if(z.value=!1,!rt||rt.errorCode){A.value="";return}I.value=rt.filename})},je=()=>{A.value="",I.value=""},ye=e.ref(!1),ue=()=>{V.success("Saved successfully!"),ye.value=!1,j()},Ie=()=>{ye.value=!1},Ee=async()=>{var Ae,We,rt,Ye;if((Ae=oe.value)!=null&&Ae.showChooseContent){(We=oe.value)==null||We.handleConfirm();return}const le={...q.value};le.showLogo&&!le.logoPicture&&(le.showLogo=0),le.logoPicture=I.value||"",ye.value=!0,le.aliasNames={...k.value},le.vehicles=[...g.value],ye.value=!0,le.deadline&&(le.deadline=K(le.deadline).valueOf());const Y=[{isDelete:0,content:le}];if((rt=a.itemData)!=null&&rt.id){const ut=F2({...zn.value},{...le});Y[0].id=(Ye=a.itemData)==null?void 0:Ye.id,Y[0].content={...ut}}await a.saveFunctionShare(Y[0],ue,Ie)};let Xe=K().utc().add(1,"month").format();const mt={shareName:"",vehicles:[],creatTime:new Date().getTime(),deadline:Xe,aliasNames:{},type:0,trailValue:"6h",remark:"",key:"",logoPicture:"",logoUrl:"",clickable:1,historyTime:[],showLogo:1,permanent:0,historyStartTime:"",historyEndTime:"",notShowTemp:0},R=e.computed(()=>r.value),U=e.ref(),pe=e.ref(),q=e.ref({...mt}),J=e.ref(!1),Be=[{name:`1${S("Hour")}`,value:"1h"},{name:`6${S("Hours")}`,value:"6h"},{name:`1${S("Day")}`,value:"1d"},{name:`1${S("Month")}`,value:"1m"},{name:`1${S("Year")}`,value:"1y"},{name:S("permanent"),value:"permanent"},{name:S("custom"),value:"custom"}],Pe=[{name:`6 ${S("Hours")}`,value:"6h"},{name:`12 ${S("Hours")}`,value:"12h"},{name:`1 ${S("Day")}`,value:"1d"},{name:`3 ${S("Day")}`,value:"3d"},{name:S("customize"),label:`1 ${S("Hours")}`,value:"1h"},{name:S("onlyCurrent"),value:"current"}],$=e.ref(!1),ne=e.ref(!1),He=e.ref({name:`1${S("Month")}`,value:"1m"}),Re=e.ref({name:`6 ${S("Hours")}`,value:"6h"}),it=le=>{if(le.indexOf("h")!==-1){let Ae=Number(le.replaceAll("h",""));(Ae===24||Ae===72)&&(le=Ae/24+"d")}let Y=Pe.find(Ae=>le===Ae.value);return Y||(Y=Pe.find(Ae=>S("customize")===Ae.name),Y&&(Y.value=le,Y.label=le.replace("h",` ${S("Hours")}`)),{name:S("customize"),label:le.replace("h",` ${S("Hours")}`),value:le})},ve=(le,Y=!0)=>{ne.value=!1,Re.value=le,q.value.trailValue=le.value,Y&&(Ce.value=!1)},be=()=>{if(S("customize")!==Re.value.name){const le=Pe.find(Y=>S("customize")===Y.name);le&&ve(le,!1)}Ne.value=!0},Ne=e.ref(!1);e.watch(()=>Re.value,()=>{if(Re.value.name!==S("customize"))return;const le=Pe.find(Y=>S("customize")===Y.name);le&&(le.value=Re.value.value,le.label=Re.value.value.replace("h",` ${S("Hours")}`)),Re.value.label=Re.value.value.replace("h",` ${S("Hours")}`),q.value.trailValue=Re.value.value},{deep:!0});const Ce=e.ref(!1),nt=()=>{console.log(21313),!Ne.value&&Ce.value&&(Ce.value=!1)};e.watch(()=>Ce.value,()=>{const le=Array.from(document.getElementsByClassName("AddOrEditSharePopover"));if(Ce.value)for(let Y=0;Y<le.length;Y++)le[Y].addEventListener("click",nt,!1);else for(let Y=0;Y<le.length;Y++)le[Y].removeEventListener("click",nt,!1)});const vt=le=>{le===1?q.value.historyStartTime||(q.value.historyStartTime=K().subtract(1,"day").toISOString(),q.value.historyEndTime=new Date().toISOString()):(q.value.historyStartTime="",q.value.historyEndTime="")},Tt=()=>{J.value=!0,e.nextTick(()=>{pe.value.focus()})},Jt=le=>{Kt({name:S("custom"),value:"custom"},!1,K(le).utc().format())},Kt=(le,Y=!0,Ae)=>{var Ye;$.value=!1,He.value=le,q.value.permanent=0;let We=K();switch(le.value){case"1h":We=K().add(1,"hour");break;case"6h":We=K().add(6,"hour");break;case"1d":We=K().add(1,"day");break;case"1m":We=K().add(1,"month");break;case"1y":We=K().add(1,"year");break;case"permanent":We=K().add(50,"year"),q.value.permanent=1;break;case"custom":Y&&((Ye=U==null?void 0:U.value)==null||Ye.showPicker()),Ae&&(q.value.deadline=Ae);break}const rt=We.utc().format();le.value!=="custom"&&(q.value.deadline=rt)},zn=e.ref({});e.watch(()=>k==null?void 0:k.value,le=>{q.value.aliasNames=le||{}},{immediate:!0});const Qt=()=>{var le,Y,Ae,We,rt;q.value={...mt},A.value="",I.value="",He.value={name:`1${S("Month")}`,value:"1m"},Re.value={name:`6 ${S("Hours")}`,value:"6h"},s.value=[],c.value={},d.value=[],zn.value={},!((le=a.itemData)!=null&&le.id)&&a.nowChooseVehicleId&&b[a.nowChooseVehicleId]&&s.value.push({type:2,label:b[a.nowChooseVehicleId].name,newIcon:b[a.nowChooseVehicleId].newIcon,value:a.nowChooseVehicleId}),!((Y=a.itemData)!=null&&Y.id)&&((rt=(We=(Ae=a.itemData)==null?void 0:Ae.content)==null?void 0:We.vehicles)!=null&&rt.length)&&a.itemData.content.vehicles.map(Ye=>{Ye.type===1?f[Ye.value]&&s.value.push({type:1,label:f[Ye.value].name,newIcon:"",value:Ye.value}):Ye.type===3?w[Ye.value]&&s.value.push({type:3,label:w[Ye.value].name,landmarkType:w[Ye.value].landmarkType,value:Ye.value}):b[Ye.value]&&s.value.push({type:2,label:b[Ye.value].name,newIcon:b[Ye.value].newIcon,value:Ye.value})})},on=e.ref();let cn=null;const gn=e.ref([]),re=le=>Y=>{Y&&(gn.value[le]=Y)},se=e.ref([]),me=(le,Y)=>{const Ae=gn.value[Y];Ft.value=Ae,dn.value=!0,Se(le)},Se=le=>{const Y=ce(le),Ae=[...Y==null?void 0:Y.tag,...Y==null?void 0:Y.vehicle,...Y==null?void 0:Y.landmark];m.value={...Y,infoList:Ae},st.value=!0,cn=on.value.$el,cn&&cn.addEventListener("scroll",xe)};function xe(){ro()}const st=e.ref(!1),dn=e.ref(!1),Ft=e.ref(),ro=()=>{dn.value=!1,st.value=!1;try{cn&&cn.removeEventListener("scroll",xe)}catch{}},Nt=le=>{k.value={...k.value,...le||{}}},lo=le=>{const Y=y.value.find(Ae=>Ae.vehicleId===le);return Y?{value:Y==null?void 0:Y.vehicleId,label:Y==null?void 0:Y.label,newIcon:Y==null?void 0:Y.newIcon,type:2}:null},Eo=le=>({...u.value.find(Ae=>Ae.value===le),type:1}),So=le=>({...p.value.find(Ae=>Ae.value===le),type:3}),ce=le=>{var an,pt,yn;const Y=u.value.find(fn=>fn.value===le),Ae=Y==null?void 0:Y.content,We=[];(an=Ae==null?void 0:Ae.tag)==null||an.map(fn=>{let jt=Eo(fn);jt&&!We.some(Jn=>Jn.id===jt.id)&&We.push(jt)});const rt=[];(pt=Ae==null?void 0:Ae.vehicle)==null||pt.map(fn=>{let jt=lo(fn);jt&&!rt.some(Jn=>Jn.value===jt.value)&&rt.push(jt)});const Ye=[];return(yn=Ae==null?void 0:Ae.landmark)==null||yn.map(fn=>{let jt=So(fn);jt&&!Ye.some(Jn=>Jn.id===jt.id)&&Ye.push(jt)}),{tag:[...We],vehicle:[...rt],landmark:[...Ye],tagName:Y==null?void 0:Y.label,tagId:Y==null?void 0:Y.value}},Me=(le,Y)=>{k.value[Y]?k.value[Y].aliasName=le:k.value[Y]={aliasName:le}},Ke=(le,Y)=>{k.value[Y.value]&&delete k.value[Y.value],g.value.splice(le,1)},Oe=le=>{g.value=[...le]},Vt=()=>{setTimeout(()=>{oe.value.handleOpen()},500)};let At=0;e.watch(()=>a.data,()=>{At&&clearTimeout(At),At=setTimeout(()=>{let le=br(a.data);E(le,!1)},1e3)},{deep:!0});const En=e.ref();function No(le){var Ye;le!=null&&le.length&&(le=le[0]);let Y=(le==null?void 0:le.opMessage)||[];Y.length&&(Y=Y[0]);const Ae=(le==null?void 0:le.type)||"edit";let We=1,rt=br(a.data);le.module==="landmark"?(Ae==="edit"?rt.landmarkList.map(ut=>{var an;ut.id===(Y==null?void 0:Y.id)&&(ut.name=Y==null?void 0:Y.name,ut.content.landmarkType=(an=Y==null?void 0:Y.content)==null?void 0:an.landmarkType)}):rt.landmarkList.push(Y),We=3):le.module==="tag"?(Ae==="edit"?rt.tagList.map(ut=>{ut.id===(Y==null?void 0:Y.id)&&(ut.name=Y==null?void 0:Y.name)}):rt.tagList.push(Y),We=1):le.module==="vehicle"&&(Ae==="edit"?rt.vehicleList.map(ut=>{var an,pt,yn,fn;ut.id===((an=Y==null?void 0:Y.vehicle)==null?void 0:an.id)&&(ut.name=(pt=Y==null?void 0:Y.vehicle)==null?void 0:pt.name,ut.content.newIcon=(fn=(yn=Y==null?void 0:Y.vehicle)==null?void 0:yn.content)==null?void 0:fn.newIcon)}):rt.vehicleList.push(Y),We=2),g.value.map(ut=>{var an,pt,yn,fn,jt;ut.type===We&&(We===2?ut.value===((an=Y==null?void 0:Y.vehicle)==null?void 0:an.id)&&(ut.label=(pt=Y==null?void 0:Y.vehicle)==null?void 0:pt.name,ut.newIcon=(fn=(yn=Y==null?void 0:Y.vehicle)==null?void 0:yn.content)==null?void 0:fn.newIcon):(ut.value===(Y==null?void 0:Y.id)&&(ut.label=Y==null?void 0:Y.name),We===3&&(ut.landmarkType=(jt=Y==null?void 0:Y.content)==null?void 0:jt.landmarkType)))}),dn.value&&((Ye=En.value)!=null&&Ye.opMessage)&&En.value.opMessage(We,Y),E(rt,!1)}n({openAdd:Vt,opMessage:No});function un(){var le,Y;if((le=a.itemData)!=null&&le.id){const Ae={...a.itemData,...a.itemData.content||{}},We={creatTime:Ae.createTime,id:Ae.id,isDelete:0,...Ae.content||{}};zn.value=br(Ae.content||{}),We.showLogo&&!We.logoPicture&&(We.showLogo=0);const rt=br({...Ae.aliasNames||{}});for(let Ye in rt){let ut=rt[Ye];(typeof ut!="object"||ut===null||Array.isArray(ut))&&delete rt[Ye]}if(d.value=rt,We.aliasNames=rt,c.value={...We},(Ae.vehicles||[]).map(Ye=>{Ye.type===1?f[Ye.value]&&(Ye.label=f[Ye.value].name):Ye.type===3?w[Ye.value]&&(Ye.label=w[Ye.value].name,Ye.landmarkType=w[Ye.value].landmarkType):b[Ye.value]&&(Ye.label=b[Ye.value].name,Ye.newIcon=b[Ye.value].newIcon)}),s.value=[...Ae.vehicles||[]],(Y=c==null?void 0:c.value)!=null&&Y.id){c!=null&&c.value.permanent?Kt({name:S("permanent"),value:"permanent"},!1):Kt({name:S("custom"),value:"custom"},!1,K(c==null?void 0:c.value.deadline).utc().format()),c.value.type===0&&(c.value.historyStartTime="",c.value.historyEndTime=""),q.value={...c==null?void 0:c.value},q.value.notShowTemp=q.value.notShowTemp||0,(c==null?void 0:c.value.type)===0&&(Re.value=it((c==null?void 0:c.value.trailValue)||""));const Ye=c!=null&&c.value.logoPicture&&(c==null?void 0:c.value.logoPicture.indexOf("http"))===0?c==null?void 0:c.value.logoPicture:C+(c==null?void 0:c.value.logoPicture);I.value=c!=null&&c.value.logoPicture?c==null?void 0:c.value.logoPicture:"",A.value=c!=null&&c.value.logoPicture?Ye:""}else Qt()}else Qt()}e.watch(()=>R.value,le=>{P.value=!1,E(),le?de():Qt()},{immediate:!0});const G=e.ref(!1),fe=le=>{var Y;return(((Y=a.data)==null?void 0:Y.tagList)||[]).filter(Ae=>{var We,rt;return!!((rt=(We=Ae.content)==null?void 0:We.vehicle)!=null&&rt.length&&Ae.content.vehicle.findIndex(Ye=>Ye===le)!==-1)})},W=(le,Y="deviceId")=>{var Ae;return(((Ae=a.data)==null?void 0:Ae.vehicleDeviceList)||[]).find(We=>We[Y]===le)},Z=e.ref(!1),Le=e.ref({}),qe=()=>{Le.value={},Z.value=!0},Ze=le=>{var Ae,We,rt,Ye,ut,an,pt,yn,fn;let Y=(((Ae=a.data)==null?void 0:Ae.vehicleList)||[]).find(jt=>le.id===jt.id);if(Y){let jt=fe(Y.id),Jn=W(Y.id,"vehicleId");Le.value={id:Y.id,name:Y.name,deviceId:Jn?Jn.deviceId:"",dataTime:"",tagContent:jt,assetType:Y.assetType||((We=Y.content)==null?void 0:We.assetType),newIcon:Y.newIcon||((rt=Y.content)==null?void 0:rt.newIcon),vehicleTypeId:Y.vehicleTypeId||((Ye=Y.content)==null?void 0:Ye.vehicleTypeId),make:Y.make||((ut=Y.content)==null?void 0:ut.make),year:Y.year||((an=Y.content)==null?void 0:an.year),licensePlateNumber:Y.licensePlateNumber||((pt=Y.content)==null?void 0:pt.licensePlateNumber),vin:Y.vin||((yn=Y.content)==null?void 0:yn.vin),description:Y.description||((fn=Y.content)==null?void 0:fn.description)},Z.value=!0}},ke=e.ref(!1),et=()=>{Le.value={},ke.value=!0},_e=le=>{var Ae;let Y=(((Ae=a.data)==null?void 0:Ae.landmarkList)||[]).find(We=>We.id===le.id);Y&&(Le.value={...Y,...Y.content||{}},ke.value=!0)},xt=(le,Y)=>{var rt,Ye,ut,an;if(!le||le.length===0)return[];const Ae={};Ae.vehicle=((rt=a.data)==null?void 0:rt.vehicleList)||[],Ae.device=((Ye=a.data)==null?void 0:Ye.deviceList)||[],Ae.tag=((ut=a.data)==null?void 0:ut.tagList)||[],Ae.landmark=((an=a.data)==null?void 0:an.landmarkList)||[];let We=[];return Ae[Y].map(pt=>{le.findIndex(yn=>yn===pt.id)!==-1&&We.push({id:pt.id,name:Y==="device"?pt.userPackageId:pt.name})}),We},en=e.ref(!1),In=()=>{Le.value={},en.value=!0},Zt=le=>{var Y,Ae,We,rt,Ye;Le.value={id:le.id,name:le.name,tagType:"landmark",description:le.description||((Y=le.content)==null?void 0:Y.description),content:{landmark:xt(le.landmark||((Ae=le.content)==null?void 0:Ae.landmark)||[],"landmark"),vehicle:xt(le.vehicle||((We=le.content)==null?void 0:We.vehicle)||[],"vehicle"),device:xt(le.device||((rt=le.content)==null?void 0:rt.device)||[],"device"),tag:xt(le.tag||((Ye=le.content)==null?void 0:Ye.tag)||[],"tag")}},en.value=!0};function tn(le,Y){Uo(Y,le.value)}function Uo(le,Y){var Ae,We,rt;switch(le){case 1:if(Y){let Ye=(((Ae=a.data)==null?void 0:Ae.tagList)||[]).find(ut=>ut.id===Y);Ye&&Zt(Ye)}else In();break;case 2:if(Y){let Ye=(((We=a.data)==null?void 0:We.vehicleList)||[]).find(ut=>ut.id===Y);Ye&&Ze(Ye)}else qe();break;case 3:if(Y){let Ye=(((rt=a.data)==null?void 0:rt.landmarkList)||[]).find(ut=>ut.id===Y);Ye&&_e(Ye)}else et();break}}return(le,Y)=>{var Sn;const Ae=Bn,We=e.resolveComponent("anSvgIcon"),rt=Yt,Ye=os,ut=e.resolveComponent("DynamicScrollerItem"),an=e.resolveComponent("DynamicScroller"),pt=I0,yn=A0,fn=Ji,jt=y0,Jn=o0,ii=Ro,Tr=a0,Er=e.resolveComponent("anytrekTimerangePick"),Rs=gE,Du=uw,Sr=H0,Hs=RE,Mu=Ki,Lu=ns,xu=Ba,Bt=qi,Ua=e.resolveComponent("add-or-edit-vehicle"),An=e.resolveComponent("add-or-edit-tag"),si=e.resolveComponent("add-or-edit-landmark"),ci=Xr;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(Bt,{modelValue:R.value,"onUpdate:modelValue":Y[16]||(Y[16]=mn=>R.value=mn),title:" ","show-close":!1,onClose:j,size:"550",class:"AddOrEditSharePopover share-drawer"},e.createSlots({header:e.withCtx(()=>[e.createElementVNode("div",_z,[e.createElementVNode("div",Yz,e.toDisplayString(e.unref(l)?e.unref(S)("detailOf",{name:q.value.shareName}):q.value.id?e.unref(S)("editName",{name:q.value.shareName}):e.unref(S)("createAShare")),1),e.createElementVNode("div",Zz,e.toDisplayString(e.unref(Cu)(q.value.creatTime)),1)])]),default:e.withCtx(()=>[e.unref(i)?(e.openBlock(),e.createElementBlock("div",mH,[e.createElementVNode("div",pH,[e.createVNode(We,{class:"icon-loading",name:"loading-black-loading1","font-size":24,color:"#000"})])])):(e.openBlock(),e.createElementBlock("div",jz,[e.createVNode(xu,null,{default:e.withCtx(()=>[e.createVNode(Lu,{"label-position":"top",size:"large"},{default:e.withCtx(()=>{var mn;return[e.createElementVNode("div",Uz,[e.unref(l)?(e.openBlock(),e.createElementBlock("div",Kz,e.toDisplayString(q.value.shareName),1)):(e.openBlock(),e.createBlock(Ye,{key:0,label:"Name This Share"},{label:e.withCtx(()=>[e.createElementVNode("div",Wz,[e.createElementVNode("div",Gz,e.toDisplayString(e.unref(S)("nameThisShare")),1)])]),default:e.withCtx(()=>[e.createVNode(rt,{maxlength:"50",class:"form-input",size:"large",placeholder:e.unref(S)("enterUniqueName"),modelValue:q.value.shareName,"onUpdate:modelValue":Y[1]||(Y[1]=ct=>q.value.shareName=ct)},{suffix:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:"input-delete",onClick:Y[0]||(Y[0]=ct=>q.value.shareName="")},[e.createVNode(We,{name:"common-inputDelete","font-size":"32"})],512),[[e.vShow,q.value.shareName]])]),_:1},8,["placeholder","modelValue"])]),_:1}))]),e.createElementVNode("div",qz,[e.createVNode(Ye,{label:"Name This Share"},{label:e.withCtx(()=>{var ct,Dt;return[e.createElementVNode("div",Qz,[e.createElementVNode("div",Xz,[e.createTextVNode(e.toDisplayString(e.unref(S)("selectedVehiclesToShare"))+" ",1),(ct=g.value)!=null&&ct.length?(e.openBlock(),e.createElementBlock("span",Jz,"("+e.toDisplayString((Dt=g.value)==null?void 0:Dt.length)+")",1)):e.createCommentVNode("",!0)]),Y[24]||(Y[24]=e.createElementVNode("div",{class:"form-item-title-r"},null,-1))])]}),default:e.withCtx(()=>{var ct,Dt,Vo,Bo;return[e.createElementVNode("div",$z,[e.unref(i)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[((ct=g.value)==null?void 0:ct.length)>=5&&!P.value?(e.openBlock(),e.createElementBlock("div",eR,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList([g.value[0]],(ft,pn)=>(e.openBlock(),e.createBlock(xs,{data:ft,name:ft.label,icon:ge(ft),"read-only":e.unref(l),onShowTag:Dn=>me(ft.value,pn),type:ft.type,ref_for:!0,ref:re(pn),content:ft==null?void 0:ft.content,onHandleDelete:Dn=>Ke(pn,ft),onHandleClick:tn,alias:Ve(ft,q.value.aliasNames),onChangeAliasName:Dn=>{Me(Dn,ft.value)}},null,8,["data","name","icon","read-only","onShowTag","type","content","onHandleDelete","alias","onChangeAliasName"]))),256)),e.createElementVNode("div",{class:"more flex-center-align",onClick:Y[2]||(Y[2]=ft=>De())},[e.createVNode(We,{name:"share-more","font-size":"20"}),e.createElementVNode("span",null,e.toDisplayString(e.unref(S)("seeAllVehicles",{n:(Dt=g.value)==null?void 0:Dt.length})),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList([...(Vo=g.value)==null?void 0:Vo.slice(-3)],(ft,pn)=>(e.openBlock(),e.createBlock(xs,{data:ft,name:ft.label,icon:ge(ft),"read-only":e.unref(l),onShowTag:Dn=>me(ft.value,pn+1),ref_for:!0,ref:re(pn+1),type:ft.type,content:ft==null?void 0:ft.content,alias:Ve(ft,q.value.aliasNames),onHandleClick:tn,onHandleDelete:Dn=>{var Wo;return Ke(((Wo=g.value)==null?void 0:Wo.length)-(3-pn),ft)},onChangeAliasName:Dn=>{Me(Dn,ft.value)}},null,8,["data","name","icon","read-only","onShowTag","type","content","alias","onHandleDelete","onChangeAliasName"]))),256))])):(e.openBlock(),e.createBlock(an,{key:1,keyField:"value",items:g.value,"min-item-size":44,class:"dynamicScroller",ref_key:"scroller",ref:on},{default:e.withCtx(({item:ft,index:pn,active:Dn})=>[e.createVNode(ut,{item:ft,active:Dn,"data-index":pn},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle({paddingTop:pn?"16px":"0"})},[e.createVNode(xs,{data:ft,name:ft.label,icon:ge(ft),"read-only":e.unref(l),onShowTag:Wo=>me(ft.value,pn),ref:re(pn),type:ft.type,content:ft==null?void 0:ft.content,onHandleClick:tn,alias:Ve(ft,q.value.aliasNames),onHandleDelete:Wo=>Ke(pn,ft),onChangeAliasName:Wo=>{Me(Wo,ft.value)}},null,8,["data","name","icon","read-only","onShowTag","type","content","alias","onHandleDelete","onChangeAliasName"])],4)]),_:2},1032,["item","active","data-index"])]),_:1},8,["items"]))],64)),e.unref(l)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Lz,{key:1,style:e.normalizeStyle({marginTop:(Bo=g.value)!=null&&Bo.length?"16px":0}),"data-length":T.value,onHandleConfirm:Oe,ref_key:"refShareAddVehiclePopover",ref:oe,onHandleOp:Uo},null,8,["style","data-length"]))])]}),_:1})]),e.createElementVNode("div",tR,[e.createElementVNode("div",null,[e.unref(l)?(e.openBlock(),e.createElementBlock("div",mR,[e.createElementVNode("span",pR,e.toDisplayString(e.unref(S)("expiresAfter"))+":",1),q.value.permanent?(e.openBlock(),e.createElementBlock("div",gR,e.toDisplayString(e.unref(S)("permanent")),1)):(e.openBlock(),e.createElementBlock("div",hR,[e.createElementVNode("span",null,e.toDisplayString(e.unref(Cu)(q.value.deadline)),1),e.createVNode(jt,{direction:"vertical"}),e.createElementVNode("span",null,e.toDisplayString(e.unref(S)("daysLeft",{day:e.unref(z2)(q.value.deadline)})),1)]))])):(e.openBlock(),e.createBlock(Ye,{key:0,label:""},{default:e.withCtx(()=>[e.createElementVNode("div",nR,[e.createElementVNode("div",oR,[e.createElementVNode("div",aR,[e.createElementVNode("div",rR,e.toDisplayString(e.unref(S)("expiresAfter"))+": ",1),q.value.permanent?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",lR,[e.createVNode(jF,{"model-value":q.value.deadline,ref_key:"refPicker",ref:U,immediate:!1,onDateChange:Jt},null,8,["model-value"])]))]),e.createVNode(fn,{trigger:"click","popper-class":"ant-dropdown",placement:"bottom-end","hide-timeout":0,"show-timeout":0},{dropdown:e.withCtx(()=>[e.createElementVNode("div",cR,[e.createVNode(yn,null,{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(Be,ct=>e.createVNode(pt,null,{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["item",{border:ct.value==="custom",active:He.value.value===ct.value}]),onClick:Dt=>Kt(ct)},[e.createElementVNode("div",uR,[He.value.value===ct.value?(e.openBlock(),e.createBlock(We,{key:0,name:"common-checkOne","font-size":"24"})):e.createCommentVNode("",!0),e.createElementVNode("div",fR,e.toDisplayString(ct.name),1)])],10,dR)]),_:2},1024)),64))]),_:1})])]),default:e.withCtx(()=>[e.createElementVNode("div",iR,[e.createElementVNode("span",sR,[e.createTextVNode(e.toDisplayString(He.value.name)+" ",1),e.createVNode(We,{name:"share-down2","font-size":"24"})])])]),_:1})])])]),_:1}))]),Y[26]||(Y[26]=e.createElementVNode("div",{class:"divider",style:{"margin-top":"12px"}},null,-1)),e.createElementVNode("div",null,[e.unref(l)?(e.openBlock(),e.createElementBlock("div",MR,[e.createElementVNode("span",LR,e.toDisplayString(e.unref(S)("anyoneCanView"))+":",1),e.createElementVNode("div",xR,[e.createElementVNode("span",OR,e.toDisplayString(e.unref(S)("overTheLast"))+": ",1),e.createElementVNode("span",PR,e.toDisplayString((mn=Re.value)==null?void 0:mn.name),1)])])):(e.openBlock(),e.createBlock(Ye,{key:0,label:"Name This Share"},{label:e.withCtx(()=>[e.createElementVNode("div",yR,[e.createElementVNode("div",kR,[e.createElementVNode("div",vR,e.toDisplayString(e.unref(S)("anyoneCanView"))+": ",1)])])]),default:e.withCtx(()=>[e.createElementVNode("div",bR,[e.createVNode(Tr,{modelValue:q.value.type,"onUpdate:modelValue":Y[5]||(Y[5]=ct=>q.value.type=ct),onChange:vt},{default:e.withCtx(()=>{var ct;return[e.createElementVNode("div",wR,[e.createVNode(Jn,{value:0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(S)("realTimeLocationMode")),1)]),_:1}),e.withDirectives(e.createElementVNode("div",CR,[e.withDirectives(e.createElementVNode("span",{class:"c-g",style:{"margin-right":"8px","white-space":"nowrap"}},e.toDisplayString(e.unref(S)("withTrailLast"))+": ",513),[[e.vShow,((ct=Re.value)==null?void 0:ct.value)!=="current"]]),e.createVNode(ii,{"popper-class":"ant-dropdown",placement:"bottom-end","show-timeout":0,"hide-timeout":0,width:"202",trigger:"contextmenu",visible:Ce.value},{reference:e.withCtx(()=>{var Dt,Vo,Bo;return[e.createElementVNode("div",{class:"flex-center-align-justify hover-arr",onClick:Y[3]||(Y[3]=e.withModifiers(ft=>Ce.value=!0,["stop"]))},[e.createTextVNode(e.toDisplayString(((Dt=Re.value)==null?void 0:Dt.name)===e.unref(S)("customize")?(Vo=Re.value)==null?void 0:Vo.label:(Bo=Re.value)==null?void 0:Bo.name)+" ",1),e.createVNode(We,{name:"share-down2","font-size":"24"})])]}),default:e.withCtx(()=>[e.createElementVNode("div",{class:"share-add-vehicle-popover",onClick:Y[4]||(Y[4]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("div",TR,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(Pe,Dt=>{var Vo,Bo,ft,pn,Dn,Wo;return e.createElementVNode("div",ER,[e.createElementVNode("div",{class:e.normalizeClass(["item",{border:Dt.value==="current",active:((Vo=Re.value)==null?void 0:Vo.name)===e.unref(S)("customize")&&Dt.name===e.unref(S)("customize")||((Bo=Re.value)==null?void 0:Bo.name)!==e.unref(S)("customize")&&Dt.name!==e.unref(S)("customize")&&((ft=Re.value)==null?void 0:ft.value)===Dt.value}]),onClick:io=>ve(Dt)},[e.createElementVNode("div",NR,[((pn=Re.value)==null?void 0:pn.name)===e.unref(S)("customize")&&Dt.name===e.unref(S)("customize")||((Dn=Re.value)==null?void 0:Dn.name)!==e.unref(S)("customize")&&Dt.name!==e.unref(S)("customize")&&((Wo=Re.value)==null?void 0:Wo.value)===Dt.value?(e.openBlock(),e.createBlock(We,{key:0,name:"common-checkOne","font-size":"24"})):e.createCommentVNode("",!0),Dt.name===e.unref(S)("customize")?(e.openBlock(),e.createElementBlock("div",VR,[e.createElementVNode("span",null,e.toDisplayString(Dt.name),1),Y[25]||(Y[25]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("span",BR,e.toDisplayString(Dt.label),1)])):(e.openBlock(),e.createElementBlock("div",IR,e.toDisplayString(Dt==null?void 0:Dt.name),1)),Dt.name===e.unref(S)("customize")?(e.openBlock(),e.createBlock(We,{key:3,name:"editCustomize","font-size":"24",onClick:e.withModifiers(be,["stop"]),class:"editCustomizeIcon"})):e.createCommentVNode("",!0)])],10,SR)])}),64))])])]),_:1},8,["visible"])],512),[[e.vShow,q.value.type===0]])]),e.createElementVNode("div",AR,[e.createVNode(Jn,{value:1},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(S)("historyTrailsMode")),1)]),_:1})])]}),_:1},8,["modelValue"]),e.withDirectives(e.createElementVNode("div",DR,[e.createVNode(Er,{startTime:q.value.historyStartTime,"onUpdate:startTime":Y[6]||(Y[6]=ct=>q.value.historyStartTime=ct),endTime:q.value.historyEndTime,"onUpdate:endTime":Y[7]||(Y[7]=ct=>q.value.historyEndTime=ct),immediate:!0,needMaxIndex:!0,disabledDate:31,visible:H.value,"onUpdate:visible":Y[8]||(Y[8]=ct=>H.value=ct),timeZone:te.value},null,8,["startTime","endTime","visible","timeZone"])],512),[[e.vShow,q.value.type===1]])])]),_:1}))])]),!e.unref(l)||e.unref(l)&&q.value.showLogo&&q.value.logoPicture?(e.openBlock(),e.createElementBlock("div",FR,[e.unref(l)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Ye,{key:0,label:""},{default:e.withCtx(()=>[e.createElementVNode("div",zR,[e.createElementVNode("div",RR,[e.createTextVNode(e.toDisplayString(e.unref(S)("displayYourLogo"))+" ",1),e.createElementVNode("span",null,"("+e.toDisplayString(q.value.showLogo?e.unref(S)("enable"):e.unref(S)("disable"))+")",1)]),e.createElementVNode("div",HR,[e.createVNode(Rs,{modelValue:q.value.showLogo,"onUpdate:modelValue":Y[9]||(Y[9]=ct=>q.value.showLogo=ct),size:"large","inactive-value":0,"active-value":1},null,8,["modelValue"])])]),q.value.showLogo?e.withDirectives((e.openBlock(),e.createElementBlock("div",_R,[O.value.length?(e.openBlock(),e.createElementBlock("div",YR,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(O.value,ct=>(e.openBlock(),e.createElementBlock("div",{class:"item",key:ct,onClick:Dt=>_(ct)},[e.createVNode(Du,{size:32,src:e.unref(C)+ct,class:e.normalizeClass({active:I.value===ct})},null,8,["src","class"]),I.value===ct?(e.openBlock(),e.createElementBlock("div",jR,[e.createVNode(We,{name:"share-filterSelect","font-size":"16",style:{color:"#fff"}})])):e.createCommentVNode("",!0)],8,ZR))),128))])):e.createCommentVNode("",!0),e.createElementVNode("div",UR,[e.createVNode(Hs,{ref_key:"refUpload",ref:X,class:"share-upload",action:"123","show-file-list":!1,"on-exceed":ae,"on-change":he,"on-remove":je,accept:".jpg,.png,.svg,.jpeg","auto-upload":!1},{default:e.withCtx(()=>[A.value?(e.openBlock(),e.createElementBlock("div",WR,[e.createVNode(Sr,{src:A.value,fit:"contain",style:{width:"64px",height:"64px","border-radius":"6px"}},null,8,["src"]),e.createElementVNode("div",GR,[e.createVNode(We,{name:"share-editImg","font-size":"14"})])])):(e.openBlock(),e.createElementBlock("div",KR,[e.createVNode(We,{name:"share-upload","font-size":"20",color:"#949494"})]))]),_:1},512)]),e.createElementVNode("div",qR,[!q.value.logoUrl&&!J.value?(e.openBlock(),e.createElementBlock("span",{key:0,class:"link-btn",style:{color:"#2e5cff"},onClick:Tt},e.toDisplayString(e.unref(S)("addALink")),1)):e.createCommentVNode("",!0),J.value?(e.openBlock(),e.createBlock(rt,{key:1,ref_key:"logoUrlInput",ref:pe,type:"text",maxlength:"50",modelValue:q.value.logoUrl,"onUpdate:modelValue":Y[10]||(Y[10]=ct=>q.value.logoUrl=ct),style:{width:"450px"},onBlur:Y[11]||(Y[11]=ct=>J.value=!1),clearable:""},null,8,["modelValue"])):e.createCommentVNode("",!0),q.value.logoUrl&&!J.value?(e.openBlock(),e.createElementBlock("div",QR,[e.createElementVNode("div",XR,e.toDisplayString(q.value.logoUrl),1),e.createElementVNode("div",JR,[e.createVNode(Xn,{name:"share-edit","font-size":"32",onClick:Tt}),e.createVNode(jt,{direction:"vertical",style:{"border-color":"#9a9a9a"}}),e.createVNode(Xn,{name:"share-delete","font-size":"32",onClick:Y[12]||(Y[12]=ct=>q.value.logoUrl="")})])])):e.createCommentVNode("",!0)])])),[[ci,x.value]]):e.createCommentVNode("",!0)]),_:1})),e.unref(l)&&q.value.showLogo&&q.value.logoPicture?(e.openBlock(),e.createElementBlock("div",$R,[e.createElementVNode("div",eH,e.toDisplayString(e.unref(S)("yourLogo")),1),e.createElementVNode("div",null,[e.createVNode(Sr,{src:q.value.logoPicture.indexOf("http")===0?q.value.logoPicture:e.unref(C)+q.value.logoPicture,fit:"contain",style:{width:"64px",height:"64px","border-radius":"6px",border:"1.5px dashed #9a9a9a"}},null,8,["src"])]),e.createElementVNode("div",tH,e.toDisplayString(q.value.logoUrl),1)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),!e.unref(l)||e.unref(l)&&q.value.remark?(e.openBlock(),e.createElementBlock("div",nH,[e.createVNode(Ye,{label:""},{label:e.withCtx(()=>[e.createElementVNode("div",oH,[e.createElementVNode("div",aH,e.toDisplayString(e.unref(S)("remark")),1)])]),default:e.withCtx(()=>[e.createElementVNode("div",rH,[e.unref(l)?(e.openBlock(),e.createElementBlock("div",lH,e.toDisplayString(q.value.remark),1)):(e.openBlock(),e.createBlock(rt,{key:0,disabled:e.unref(l),size:"large",rows:7,modelValue:q.value.remark,"onUpdate:modelValue":Y[13]||(Y[13]=ct=>q.value.remark=ct),maxlength:"250","show-word-limit":"",type:"textarea",placeholder:e.unref(S)("typeContent")},null,8,["disabled","modelValue","placeholder"]))])]),_:1})])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"more-div",onClick:Y[14]||(Y[14]=ct=>G.value=!G.value)},[e.createVNode(We,{name:"moreconfigurations","font-size":"18",style:e.normalizeStyle({transform:G.value?"":"rotate(180deg)"})},null,8,["style"]),G.value?(e.openBlock(),e.createElementBlock("span",sH,e.toDisplayString(e.unref(S)("lessConfigurations")),1)):(e.openBlock(),e.createElementBlock("span",iH,e.toDisplayString(e.unref(S)("moreConfigurations")),1))]),G.value?(e.openBlock(),e.createElementBlock("div",cH,[e.createVNode(Ye,{label:""},{default:e.withCtx(()=>[e.createElementVNode("div",dH,[e.createElementVNode("div",uH,e.toDisplayString(e.unref(S)("displayTemperature")),1),e.createElementVNode("div",fH,[e.createVNode(Mu,{size:"large",class:"anytrek-checkbox","true-value":0,"false-value":1,modelValue:q.value.notShowTemp,"onUpdate:modelValue":Y[15]||(Y[15]=ct=>q.value.notShowTemp=ct)},null,8,["modelValue"])])])]),_:1})])):e.createCommentVNode("",!0)]}),_:1})]),_:1})]))]),_:2},[e.unref(l)?void 0:{name:"footer",fn:e.withCtx(()=>[e.createVNode(Ae,{size:"large",onClick:j,class:"custom-button"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(S)("cancel")),1)]),_:1}),e.createVNode(Ae,{size:"large",type:"primary",onClick:Ee,disabled:e.unref(i),loading:ye.value||z.value,"loading-icon":Fz},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(S)("saveAndGenerate")),1)]),_:1},8,["disabled","loading"])]),key:"0"}]),1032,["modelValue"]),((Sn=Re.value)==null?void 0:Sn.name)===e.unref(S)("customize")?(e.openBlock(),e.createBlock(Hz,{key:0,hour:Re.value.value,"onUpdate:hour":Y[17]||(Y[17]=mn=>Re.value.value=mn),visible:Ne.value,"onUpdate:visible":Y[18]||(Y[18]=mn=>Ne.value=mn)},{default:e.withCtx(()=>[...Y[27]||(Y[27]=[e.createElementVNode("div",{style:{display:"none"}},"111",-1)])]),_:1},8,["hour","visible"])):e.createCommentVNode("",!0),e.createElementVNode("div",hH,[dn.value?(e.openBlock(),e.createBlock(ii,{key:0,visible:dn.value,"virtual-ref":Ft.value,"show-arrow":!1,"max-height":500,width:"368","popper-class":"common-share-popover-no-pd",placement:"bottom-start"},{default:e.withCtx(()=>[e.createElementVNode("div",{ref:"refSelectedVehiclePop",onClick:Y[20]||(Y[20]=e.withModifiers(()=>{},["stop"]))},[e.createVNode(nz,{onHandleClose:ro,onHandleConfirmAlias:Nt,modelValue:st.value,"onUpdate:modelValue":Y[19]||(Y[19]=mn=>st.value=mn),onShowTag:Se,"selected-list":se.value,onHandleDelete:Ke,onHandleClick:tn,"read-only":!0,"alias-names":k.value,dataLength:T.value,"only-edit-name":!0,aliasOnly:!0,ref_key:"selectedVehiclePopRef",ref:En},null,8,["modelValue","selected-list","alias-names","dataLength"])],512)]),_:1},8,["visible","virtual-ref"])):e.createCommentVNode("",!0)],512),Z.value?(e.openBlock(),e.createBlock(Ua,{key:1,modelValue:Z.value,"onUpdate:modelValue":Y[21]||(Y[21]=mn=>Z.value=mn),loginInfo:t.loginInfo,customerHabit:e.unref(B),vehicleData:Le.value,allAssetTypes:t.data.vehicleType||[],allVehicles:t.data.vehicleList||[],allDevices:t.data.deviceList||[],modelTypes:e.unref(N),allVehicleToDevice:t.data.vehicleDeviceList||[],allTags:t.data.tagList||[],assetTypeFn:t.assetTypeFn,bindDeviceHis:t.bindDeviceHis,deviceBindTimeLimit:t.deviceBindTimeLimit,saveFunctionVehicle:t.saveFunctionVehicle,allLandmarks:t.data.landmarkList,landmarkGroup:t.data.landmarkGroupList,saveFunctionTag:t.saveFunctionTag,unitAllState:t.unitAllState,GOOGLE_MAP_API_KEY:t.GOOGLE_MAP_API_KEY,MAP_STYLES:t.MAP_STYLES,searhTrimblemapAddress:t.searhTrimblemapAddress,saveFunctionLandmark:t.saveFunctionLandmark},null,8,["modelValue","loginInfo","customerHabit","vehicleData","allAssetTypes","allVehicles","allDevices","modelTypes","allVehicleToDevice","allTags","assetTypeFn","bindDeviceHis","deviceBindTimeLimit","saveFunctionVehicle","allLandmarks","landmarkGroup","saveFunctionTag","unitAllState","GOOGLE_MAP_API_KEY","MAP_STYLES","searhTrimblemapAddress","saveFunctionLandmark"])):e.createCommentVNode("",!0),en.value?(e.openBlock(),e.createBlock(An,{key:2,modelValue:en.value,"onUpdate:modelValue":Y[22]||(Y[22]=mn=>en.value=mn),loginInfo:t.loginInfo,customerHabit:e.unref(B),itemData:Le.value,allVehicles:t.data.vehicleList||[],allAssetTypes:t.data.vehicleType||[],allDevices:t.data.deviceList||[],modelTypes:e.unref(N),allVehicleToDevice:t.data.vehicleDeviceList||[],allTags:t.data.tagList||[],allLandmarks:t.data.landmarkList||[],landmarkGroup:t.data.landmarkGroupList||[],saveFunctionTag:t.saveFunctionTag,assetTypeFn:t.assetTypeFn,bindDeviceHis:t.bindDeviceHis,deviceBindTimeLimit:t.deviceBindTimeLimit,saveFunctionVehicle:t.saveFunctionVehicle,unitAllState:t.unitAllState,GOOGLE_MAP_API_KEY:t.GOOGLE_MAP_API_KEY,MAP_STYLES:t.MAP_STYLES,searhTrimblemapAddress:t.searhTrimblemapAddress,saveFunctionLandmark:t.saveFunctionLandmark},null,8,["modelValue","loginInfo","customerHabit","itemData","allVehicles","allAssetTypes","allDevices","modelTypes","allVehicleToDevice","allTags","allLandmarks","landmarkGroup","saveFunctionTag","assetTypeFn","bindDeviceHis","deviceBindTimeLimit","saveFunctionVehicle","unitAllState","GOOGLE_MAP_API_KEY","MAP_STYLES","searhTrimblemapAddress","saveFunctionLandmark"])):e.createCommentVNode("",!0),ke.value?(e.openBlock(),e.createBlock(si,{key:3,loginInfo:t.loginInfo,modelValue:ke.value,"onUpdate:modelValue":Y[23]||(Y[23]=mn=>ke.value=mn),itemData:Le.value,unitAllState:t.unitAllState,GOOGLE_MAP_API_KEY:t.GOOGLE_MAP_API_KEY,MAP_STYLES:t.MAP_STYLES,allLandmarkGroup:t.data.landmarkGroupList||[],searhTrimblemapAddress:t.searhTrimblemapAddress,saveFunctionLandmark:t.saveFunctionLandmark},null,8,["loginInfo","modelValue","itemData","unitAllState","GOOGLE_MAP_API_KEY","MAP_STYLES","allLandmarkGroup","searhTrimblemapAddress","saveFunctionLandmark"])):e.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-147fdc22"]]),yH={key:0},kH=["xlink:href"],vH=bt(e.defineComponent({__name:"svg-icon",props:{prefix:{default:"any-icon"},name:{default:""},color:{default:""},fontSize:{default:24},title:{default:""}},setup(t){const n=t,o=e.computed(()=>`#${n.prefix}-${n.name}`);return(a,r)=>(e.openBlock(),e.createElementBlock("svg",{"aria-hidden":"true",class:"svg-icon",style:e.normalizeStyle({color:a.color,fontSize:a.fontSize+"px"})},[a.title?(e.openBlock(),e.createElementBlock("title",yH,e.toDisplayString(a.title),1)):e.createCommentVNode("",!0),e.createElementVNode("use",{"xlink:href":o.value,rel:"external nofollow"},null,8,kH)],4))}}),[["__scopeId","data-v-52bc6b46"]]);var Eu=null;function bH(t){return Eu||(Eu=(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(n){return setTimeout(n,16)}).bind(window)),Eu(t)}var Su=null;function wH(t){Su||(Su=(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(n){clearTimeout(n)}).bind(window)),Su(t)}function CH(t){var n=document.createElement("style");return n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t)),(document.querySelector("head")||document.body).appendChild(n),n}function Os(t,n){n===void 0&&(n={});var o=document.createElement(t);return Object.keys(n).forEach(function(a){o[a]=n[a]}),o}function K2(t,n,o){var a=window.getComputedStyle(t,null)||{display:"none"};return a[n]}function Nu(t){if(!document.documentElement.contains(t))return{detached:!0,rendered:!1};for(var n=t;n!==document;){if(K2(n,"display")==="none")return{detached:!1,rendered:!1};n=n.parentNode}return{detached:!1,rendered:!0}}var TH='.resize-triggers{visibility:hidden;opacity:0;pointer-events:none}.resize-contract-trigger,.resize-contract-trigger:before,.resize-expand-trigger,.resize-triggers{content:"";position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden}.resize-contract-trigger,.resize-expand-trigger{background:#eee;overflow:auto}.resize-contract-trigger:before{width:200%;height:200%}',Vu=0,Ps=null;function EH(t,n){t.__resize_mutation_handler__||(t.__resize_mutation_handler__=VH.bind(t));var o=t.__resize_listeners__;if(!o){if(t.__resize_listeners__=[],window.ResizeObserver){var a=t.offsetWidth,r=t.offsetHeight,l=new ResizeObserver(function(){!t.__resize_observer_triggered__&&(t.__resize_observer_triggered__=!0,t.offsetWidth===a&&t.offsetHeight===r)||Fs(t)}),i=Nu(t),s=i.detached,c=i.rendered;t.__resize_observer_triggered__=s===!1&&c===!1,t.__resize_observer__=l,l.observe(t)}else if(t.attachEvent&&t.addEventListener)t.__resize_legacy_resize_handler__=function(){Fs(t)},t.attachEvent("onresize",t.__resize_legacy_resize_handler__),document.addEventListener("DOMSubtreeModified",t.__resize_mutation_handler__);else if(Vu||(Ps=CH(TH)),BH(t),t.__resize_rendered__=Nu(t).rendered,window.MutationObserver){var d=new MutationObserver(t.__resize_mutation_handler__);d.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),t.__resize_mutation_observer__=d}}t.__resize_listeners__.push(n),Vu++}function SH(t,n){var o=t.__resize_listeners__;if(o){if(n&&o.splice(o.indexOf(n),1),!o.length||!n){if(t.detachEvent&&t.removeEventListener){t.detachEvent("onresize",t.__resize_legacy_resize_handler__),document.removeEventListener("DOMSubtreeModified",t.__resize_mutation_handler__);return}t.__resize_observer__?(t.__resize_observer__.unobserve(t),t.__resize_observer__.disconnect(),t.__resize_observer__=null):(t.__resize_mutation_observer__&&(t.__resize_mutation_observer__.disconnect(),t.__resize_mutation_observer__=null),t.removeEventListener("scroll",Bu),t.removeChild(t.__resize_triggers__.triggers),t.__resize_triggers__=null),t.__resize_listeners__=null}!--Vu&&Ps&&Ps.parentNode.removeChild(Ps)}}function NH(t){var n=t.__resize_last__,o=n.width,a=n.height,r=t.offsetWidth,l=t.offsetHeight;return r!==o||l!==a?{width:r,height:l}:null}function VH(){var t=Nu(this),n=t.rendered,o=t.detached;n!==this.__resize_rendered__&&(!o&&this.__resize_triggers__&&(Iu(this),this.addEventListener("scroll",Bu,!0)),this.__resize_rendered__=n,Fs(this))}function Bu(){var t=this;Iu(this),this.__resize_raf__&&wH(this.__resize_raf__),this.__resize_raf__=bH(function(){var n=NH(t);n&&(t.__resize_last__=n,Fs(t))})}function Fs(t){!t||!t.__resize_listeners__||t.__resize_listeners__.forEach(function(n){n.call(t,t)})}function BH(t){var n=K2(t,"position");(!n||n==="static")&&(t.style.position="relative"),t.__resize_old_position__=n,t.__resize_last__={};var o=Os("div",{className:"resize-triggers"}),a=Os("div",{className:"resize-expand-trigger"}),r=Os("div"),l=Os("div",{className:"resize-contract-trigger"});a.appendChild(r),o.appendChild(a),o.appendChild(l),t.appendChild(o),t.__resize_triggers__={triggers:o,expand:a,expandChild:r,contract:l},Iu(t),t.addEventListener("scroll",Bu,!0),t.__resize_last__={width:t.offsetWidth,height:t.offsetHeight}}function Iu(t){var n=t.__resize_triggers__,o=n.expand,a=n.expandChild,r=n.contract,l=r.scrollWidth,i=r.scrollHeight,s=o.offsetWidth,c=o.offsetHeight,d=o.scrollWidth,u=o.scrollHeight;r.scrollLeft=l,r.scrollTop=i,a.style.width=s+1+"px",a.style.height=c+1+"px",o.scrollLeft=d,o.scrollTop=u}function IH(t){return t.replace(/[&<>"']/g,n=>{switch(n){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case"'":return"&#39;";default:return n}})}function zs(t){return t.replace(/\s+/g," ").toLowerCase()}function AH(t,n,o,a="..."){t=t.trim(),n=n.trim(),o=o.trim();const r=IH(n);if(!o)return r;const l=zs(t),i=o.toLowerCase();if(!l.includes(i))return r;const s=r.indexOf(a);if(s===-1)return Au(r,o);const c=r.slice(0,s),d=r.slice(s+a.length),u=zs(c),y=zs(d),p=c+d;if(zs(p).includes(i))return Au(r,o);let m=0;for(let g=Math.min(i.length,u.length);g>0;g--)if(i.startsWith(u.slice(-g).toLowerCase())){m=g;break}let v=0;for(let g=Math.min(i.length-m,y.length);g>0;g--)if(i.endsWith(y.slice(0,g).toLowerCase())){v=g;break}if(i.length-m-v>0||m>0&&v>0){const g=m>0?c.length-m:s,k=s+a.length+v;return r.slice(0,g)+`<span>${r.slice(g,k)}</span>`+r.slice(k)}return Au(r,o)}function Au(t,n){const o=n.toLowerCase();let a="",r=0;for(;r<t.length;)t.slice(r,r+n.length).toLowerCase()===o?(a+=`<span>${t.slice(r,r+n.length)}</span>`,r+=n.length):(a+=t[r],r++);return a}const DH=["aria-label"],MH=bt(e.defineComponent({__name:"textClamp",props:{text:{},maxHeight:{},maxLines:{},expanded:{type:Boolean,default:!1},location:{default:"end"},ellipsis:{default:".."},autoResize:{type:Boolean,default:!1},keyWord:{}},emits:["clamp-change","update:expanded"],setup(t,{expose:n,emit:o}){const a=t,r=o,l=e.ref(null),i=e.ref(null),s=e.ref(null),c=e.reactive({offset:0,offsetNumber:1,localExpanded:!!a.expanded,unregisterResizeCallback:null}),d=e.computed(()=>{if(!c.localExpanded&&a.maxHeight)return typeof(a==null?void 0:a.maxHeight)=="number"?`${a==null?void 0:a.maxHeight}px`:a==null?void 0:a.maxHeight}),u=()=>{s.value&&(s.value.innerHTML=S.value)},y=()=>{c.localExpanded||(u(),(v()||E.value)&&g())},p=()=>{a.text&&(c.offset=a.text.length,m(),a.autoResize&&l.value&&(EH(l.value,y),c.unregisterResizeCallback=()=>{l.value&&SH(l.value,y)}),y())},m=()=>{var O;(O=c.unregisterResizeCallback)==null||O.call(c)},v=()=>!a.maxLines&&!a.maxHeight||!l.value?!1:!!(a.maxLines&&h()>a.maxLines||a.maxHeight&&l.value.scrollHeight>l.value.offsetHeight),h=()=>i.value?Object.keys(Array.prototype.slice.call(i.value.getClientRects()).reduce((O,{top:I,bottom:A})=>{const z=`${I}/${A}`;return O[z]||(O[z]=!0),O},{})).length:0,g=(...O)=>{const[I=0,A=c.offset]=O;if(A-I<=3){T();return}const z=Math.floor((A+I)/2);k(z),v()?g(I,z):g(z,A)},k=O=>{c.offset!=O&&(c.offsetNumber===1?c.offsetNumber=0:(c.offset=O,c.offsetNumber=1)),u()},T=()=>{f(),b()},f=()=>{for(;(!v()||h()<2)&&c.offset<a.text.length;)w(1)},b=()=>{for(;v()&&h()>1&&c.offset>0;)w(-1)},w=O=>{k(c.offset+O)},E=e.computed(()=>a.text?c.offset!==a.text.length:!1);e.watch(()=>E.value,O=>{setTimeout(()=>{r("clamp-change",O)},0)},{immediate:!0});const C=e.inject("nowKeyword",e.ref(""));let D="";e.watchEffect(()=>{let O="";a.keyWord!==void 0?a.keyWord.trim()&&(O=a.keyWord.trim()):C!=null&&C.value&&C!=null&&C.value.trim()&&(O=C==null?void 0:C.value.trim()),O!==D&&y(),D=O});const S=e.computed(()=>{const O=a.text,I=E.value?V.value:a.text;let A="";return a.keyWord!==void 0?a.keyWord.trim()&&(A=a.keyWord.trim()):C!=null&&C.value&&C!=null&&C.value.trim()&&(A=C==null?void 0:C.value.trim()),AH(O,I,A,a.ellipsis||"...")}),V=e.computed(()=>{if(a.location==="start")return a.ellipsis+(a.text.slice(-c.offset)||"").trim();if(a.location==="middle"){const O=Math.floor(c.offset/2);return(a.text.slice(0,O+c.offsetNumber)||"").trim()+a.ellipsis+(a.text.slice(-O)||"").trim()}if(a.location==="start-end"){const O=c.offset-1,I=a.text.length,A=Math.floor((I-O)/2),z=A+O;return a.ellipsis+(a.text.slice(A-c.offsetNumber,z)||"").trim()+a.ellipsis}return(a.text.slice(0,c.offset)||"").trim()+a.ellipsis}),B=()=>{c.localExpanded=!0},N=()=>{c.localExpanded=!1},j=()=>{c.localExpanded=!c.localExpanded};return e.watch(()=>a.expanded,O=>{c.localExpanded=O}),e.watch(()=>c.localExpanded,O=>{O?k(a.text.length):y(),a.expanded!==O&&r("update:expanded",O)}),e.watch(()=>[a.maxLines,a.maxHeight,a.ellipsis,a.location,E.value].join(),()=>{e.nextTick(()=>{y()})}),e.watch(()=>[a.text,a.autoResize].join(),()=>{e.nextTick(()=>{p()})}),e.onUnmounted(()=>{m()}),e.onMounted(()=>{p()}),n({textRef:s}),(O,I)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"textClampRef",ref:l,class:"text-clamp",style:e.normalizeStyle({overflow:"hidden",maxHeight:d.value})},[e.createElementVNode("span",{ref_key:"contentRef",ref:i},[e.renderSlot(O.$slots,"before",{expand:B,collapse:N,toggle:j,clamped:E.value,expanded:c.localExpanded},void 0,!0),e.createElementVNode("span",{ref_key:"textRef",ref:s,"aria-label":O.text,class:"clamp-text-span"},null,8,DH),e.renderSlot(O.$slots,"after",{expand:B,collapse:N,toggle:j,clamped:E.value,expanded:c.localExpanded},void 0,!0)],512)],4))}}),[["__scopeId","data-v-43ead7dc"]]);if(typeof window<"u"){let t=function(){var n=document.body,o=document.getElementById("__any__svg__icons__dom__");o||(o=document.createElementNS("http://www.w3.org/2000/svg","svg"),o.style.position="absolute",o.style.width="0",o.style.height="0",o.id="__any__svg__icons__dom__",o.setAttribute("xmlns","http://www.w3.org/2000/svg"),o.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),o.innerHTML='<symbol fill="none" viewBox="0 0 24 24" id="any-icon-2308play"><rect width="24" height="24" rx="12" fill="#020202" fill-opacity=".2" /><path d="M17.482 10.723a1.475 1.475 0 0 1 0 2.554l-6.465 3.733a1.475 1.475 0 0 1-2.212-1.277V8.267a1.475 1.475 0 0 1 2.212-1.277l6.465 3.733Z" stroke="currentColor" stroke-width="1.125" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-active-menu-right"><path d="M5.05 16.95 10 12 5.05 7.05M14 16.95 18.95 12 14 7.05" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-active-menu"><path d="M21 5H3m18 7H3m18 7H3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-add-icon"><path d="M16 10.4V16m0 0v5.6m0-5.6h-5.6m5.6 0h5.6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-addIcon2"><path d="M12 6.33V12m0 0v5.67M12 12H6.33M12 12h5.67" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="any-icon-address-icon"><path d="m8.002 15.424-4.349-4.349a6.15 6.15 0 1 1 8.698 0L8 15.424Zm3.382-5.315a4.783 4.783 0 1 0-6.765 0l3.383 3.382 3.382-3.382ZM8.002 8.093a1.367 1.367 0 1 1 0-2.734 1.367 1.367 0 0 1 0 2.734Z" fill="#000" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="any-icon-address-more-offline"><rect width="16" height="16" rx="5" fill="#9A9A9A" /><path d="M10.896 6.552 8 9.448 5.104 6.552" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="any-icon-address-more"><rect width="16" height="16" rx="5" fill="#2E5CFF" /><path d="M10.895 6.552 7.998 9.448 5.102 6.552" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="any-icon-addSelect"><path d="M8 1v7m0 0v7m0-7H1m7 0h7" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-addVehicleType"><rect x="8.7" y="8.7" width="14.6" height="14.6" rx="7.3" stroke="currentColor" stroke-width="1.4" /><circle cx="13.418" cy="13.8" r="1.25" fill="#000" /><circle cx="18.586" cy="13.8" r="1.25" fill="#000" /><path d="M18.669 18.383c-.6.646-1.57 1.067-2.667 1.067-1.096 0-2.067-.42-2.666-1.067" stroke="#000" stroke-width="1.4" stroke-linecap="round" /><path d="M25.409 4.375v2.507m0 0v2.506m0-2.506h-2.507m2.507 0h2.507" stroke="#000" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-all-close-icon"><rect x=".5" y=".5" width="31" height="31" rx="4.5" fill="transparent" /><rect x=".5" y=".5" width="31" height="31" rx="4.5" stroke="currentColor" /><rect x="9" y="10" width="14" height="8" rx="1" stroke="#949494" stroke-opacity=".6" stroke-width="1.5" /><path d="M9 22h14" stroke="#000" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-all-open-icon"><rect x=".5" y=".5" width="31" height="31" rx="4.5" fill="transparent" /><rect x=".5" y=".5" width="31" height="31" rx="4.5" stroke="currentColor" /><path d="M9 10h14" stroke="#949494" stroke-opacity=".6" stroke-width="1.5" stroke-linecap="round" /><rect x="9" y="14" width="14" height="8" rx="1" stroke="#000" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 25 24" id="any-icon-all-tab-icon"><path d="M6.648 5.543a.75.75 0 1 0 0 1.5v-1.5Zm11.7 1.5a.75.75 0 0 0 0-1.5v1.5Zm-11.7 4.207a.75.75 0 0 0 0 1.5v-1.5Zm11.7 1.5a.75.75 0 0 0 0-1.5v1.5Zm-11.7 4.207a.75.75 0 0 0 0 1.5v-1.5Zm11.7 1.5a.75.75 0 0 0 0-1.5v1.5ZM6.648 7.043h11.7v-1.5h-11.7v1.5Zm0 5.707h11.7v-1.5h-11.7v1.5Zm0 5.707h11.7v-1.5h-11.7v1.5Z" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 25 24" id="any-icon-arrow-icon"><path d="M14.79 7.418 10.21 12l4.582 4.582" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-arrow-right-icon"><path d="M9.104 6.207 14.896 12l-5.792 5.793" stroke="rgba(148, 148, 148, 1)" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-arrow-right"><path d="M9.105 6.207 14.898 12l-5.793 5.793" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-cancel-icon"><path d="M22.212 22.213 9.787 9.788m0 12.425L22.212 9.788" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-chatty-icon"><rect x=".816" y="6.75" width="19.864" height="10.5" rx="1.75" stroke="currentColor" stroke-width="1.5" /><g clip-path="url(#any-icon-chatty-icon_a)"><rect x="2.566" y="8.5" width="14.954" height="7" rx=".6" fill="#6EE087" /><path d="m10.793 9.5-1.946 1.917c-.237.257-.356.385-.282.484.073.099.287.099.715.099h1.525c.429 0 .643 0 .716.099.074.1-.045.227-.282.484L9.279 14.5" stroke="#000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></g><rect x="22.43" y="10.17" width="1.5" height="3.66" rx=".732" fill="#000" /><defs><clipPath id="any-icon-chatty-icon_a"><rect x="2.566" y="8.5" width="14.954" height="7" rx=".6" fill="#fff" /></clipPath></defs></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-check-icon"><path d="m16.481 9.077-3.978 4.928c-.438.541-.652.692-.918.804a1.413 1.413 0 0 1-.829.088c-.283-.055-.524-.158-1.064-.596l-2.174-1.766" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-choose-arrow-down"><path d="m15.703 10.148-3.705 3.704-3.705-3.704" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-closeElMessageBox"><path d="M22.214 22.212 9.79 9.787m0 12.425L22.214 9.787" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-closeIconNew"><path d="M22.214 22.212 9.79 9.787m0 12.425L22.214 9.787" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-closeIconNew2"><path d="m20.97 20.97-9.94-9.94m0 9.94 9.94-9.94" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-comfirmIcon"><path d="m6.102 15.256 5.11 5.11c.791.792 1.187 1.188 1.644 1.336a2 2 0 0 0 1.236 0c.457-.148.853-.544 1.645-1.336L25.902 10.2" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-confirm-icon"><path d="m6.1 15.256 5.11 5.11c.791.792 1.187 1.188 1.644 1.336a2 2 0 0 0 1.236 0c.457-.148.853-.544 1.645-1.336L25.9 10.2" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-containerDetectionSensor"><path d="M11.95 12.581 16.756.521l-4.808 12.06Zm5.726 6.442 13.51-4.648-13.51 4.648Z" fill="url(#any-icon-containerDetectionSensor_a)" /><path d="M11.95 12.581 16.756.521l14.429 13.854-13.51 4.648-5.727-6.442Z" fill="url(#any-icon-containerDetectionSensor_b)" /><path d="m8 27.604 4.973-.244a1.175 1.175 0 0 0 1.023-.71l3.203-7.467a1.23 1.23 0 0 0-.219-1.311l-4.594-5.075a.783.783 0 0 0-.543-.257l-3.815-.18M8 27.603l.028-15.245M8 27.604v3.311m.028-18.556V9.021" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><defs><linearGradient id="any-icon-containerDetectionSensor_a" x1="24.833" y1="7.571" x2="13.381" y2="18.308" gradientUnits="userSpaceOnUse"><stop stop-color="#0BA5EC" stop-opacity="0" /><stop offset="1" stop-color="#0BA5EC" stop-opacity=".23" /></linearGradient><linearGradient id="any-icon-containerDetectionSensor_b" x1="24.833" y1="7.571" x2="13.381" y2="18.308" gradientUnits="userSpaceOnUse"><stop stop-color="#0BA5EC" stop-opacity="0" /><stop offset="1" stop-color="#0BA5EC" stop-opacity=".23" /></linearGradient></defs></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-cop-icon"><path d="M7 6V3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-3v3c0 .552-.45 1-1.007 1H4.007A1.001 1.001 0 0 1 3 21l.003-14c0-.552.45-1 1.006-1H7ZM5.002 8 5 20h10V8H5.002ZM9 6h8v10h2V4H9v2Z" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-copy-detail-adress"><path d="M16.75 5.25h-8a.5.5 0 0 0-.5.5v2.5h-2.5a.5.5 0 0 0-.5.5v8a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-2.5h2.5a.5.5 0 0 0 .5-.5v-8a.5.5 0 0 0-.5-.5Zm-3.5 11h-7v-7h7v7Zm3-3h-2v-4.5a.5.5 0 0 0-.5-.5h-4.5v-2h7v7Z" fill="#000" stroke="currentColor" stroke-width=".5" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-date-icon"><path d="M8.133 14.427v-1.165c0-1.3 0-1.95.249-2.447a2.36 2.36 0 0 1 1.056-1.057c.498-.248 1.148-.248 2.447-.248h8.229c1.3 0 1.95 0 2.448.248.457.229.828.6 1.056 1.057.25.498.25 1.148.25 2.447v1.165m-15.735 0v5.688c0 1.3 0 1.949.249 2.447.228.457.599.828 1.056 1.056.498.25 1.148.25 2.447.25h8.229c1.3 0 1.95 0 2.448-.25a2.36 2.36 0 0 0 1.056-1.056c.25-.498.25-1.148.25-2.448v-5.687m-15.735 0h15.734M13.05 8.133v2.753m5.9-2.753v2.753" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 25" id="any-icon-date"><path d="M4.133 10.927V9.762c0-1.3 0-1.95.249-2.447a2.36 2.36 0 0 1 1.056-1.057c.498-.248 1.148-.248 2.447-.248h8.229c1.3 0 1.95 0 2.448.248.457.229.828.6 1.056 1.057.25.498.25 1.148.25 2.447v1.165m-15.735 0v5.688c0 1.3 0 1.949.249 2.447.228.457.599.828 1.056 1.056.498.25 1.148.25 2.447.25h8.229c1.3 0 1.95 0 2.448-.25a2.36 2.36 0 0 0 1.056-1.056c.25-.498.25-1.148.25-2.448v-5.687m-15.735 0h15.734M9.05 4.633v2.753m5.9-2.753v2.753" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-default-menu-right"><path d="M5.05 16.95 10 12 5.05 7.05M14 16.95 18.95 12 14 7.05" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-default-menu"><path d="M21 5H3m18 7H3m18 7H3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-device-gou"><path d="m16.483 9.077-3.978 4.928c-.438.541-.653.692-.918.804a1.413 1.413 0 0 1-.829.088c-.283-.055-.524-.158-1.064-.596L7.52 12.535" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 25" id="any-icon-doorCloseIcon2"><path d="M0 4.5a4 4 0 0 1 4-4h16a4 4 0 0 1 4 4v16a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4v-16Z" fill="#12B76A" fill-opacity=".1" /><path d="M9 12.266V11.5m-2.5 6.378V7.122c0-.473 0-.71.092-.891a.846.846 0 0 1 .37-.37c.181-.092.418-.092.892-.092h8.292c.474 0 .711 0 .892.092.16.081.289.21.37.37.092.18.092.418.092.891v10.756c0 .473 0 .71-.092.891a.846.846 0 0 1-.37.37c-.181.092-.418.092-.892.092H7.854c-.474 0-.711 0-.892-.092a.846.846 0 0 1-.37-.37c-.092-.18-.092-.418-.092-.891Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-doorCloseIconOffline"><path d="M0 4a4 4 0 0 1 4-4h16a4 4 0 0 1 4 4v16a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V4Z" fill="#000" fill-opacity=".04" /><path d="M9 11.766V11m-2.5 6.377V6.622c0-.473 0-.71.092-.891a.846.846 0 0 1 .37-.37c.181-.092.418-.092.892-.092h8.292c.474 0 .711 0 .892.092.16.08.289.21.37.37.092.18.092.418.092.891v10.755c0 .474 0 .711-.092.892a.846.846 0 0 1-.37.37c-.181.092-.418.092-.892.092H7.854c-.474 0-.711 0-.892-.092a.846.846 0 0 1-.37-.37c-.092-.18-.092-.418-.092-.892Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 25 25" id="any-icon-doorOpenIcon2"><path d="M.5 4.5a4 4 0 0 1 4-4h16a4 4 0 0 1 4 4v16a4 4 0 0 1-4 4h-16a4 4 0 0 1-4-4v-16Z" fill="#F32C1D" fill-opacity=".1" /><path d="M11.652 17.535H8.354c-.474 0-.711 0-.892-.092a.846.846 0 0 1-.37-.37C7 16.892 7 16.655 7 16.18V5.426c0-.474 0-.71.092-.892a.846.846 0 0 1 .37-.37c.181-.092.418-.092.892-.092h8.292c.474 0 .711 0 .892.092.16.082.289.211.37.37.092.181.092.418.092.892v10.858c0 .277 0 .415-.04.54a.846.846 0 0 1-.167.3c-.086.098-.204.17-.44.315l-3.64 2.228c-.674.412-1.01.618-1.288.594a.846.846 0 0 1-.608-.34c-.165-.224-.165-.62-.165-1.409v-.977Zm0 0V8.667c0-.278 0-.418.04-.543a.846.846 0 0 1 .17-.3c.086-.1.206-.172.444-.316l5.475-3.304m-4.706 9.555v-.766" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-doorOpenIconOffline"><path d="M11.152 18.035H7.854c-.474 0-.711 0-.892-.092a.846.846 0 0 1-.37-.37c-.092-.181-.092-.418-.092-.892V5.926c0-.474 0-.71.092-.892a.846.846 0 0 1 .37-.37c.181-.092.418-.092.892-.092h8.292c.474 0 .711 0 .892.092.16.082.289.211.37.37.092.181.092.418.092.892v10.858c0 .277 0 .415-.04.54a.846.846 0 0 1-.167.3c-.086.098-.204.17-.44.315l-3.64 2.228c-.674.412-1.01.618-1.288.594a.846.846 0 0 1-.608-.34c-.165-.224-.165-.62-.165-1.409v-.977Zm0 0V9.167c0-.278 0-.418.04-.543a.846.846 0 0 1 .17-.3c.086-.1.206-.172.444-.316l5.475-3.304m-4.706 9.555v-.766" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 33 32" id="any-icon-edit-icon"><path d="M20.5 22.3v-7.875m-7.75 2.625V9.175m0 13.825a2.625 2.625 0 1 1 0-5.25 2.625 2.625 0 0 1 0 5.25Zm7.75-8.75a2.625 2.625 0 1 1 0-5.25 2.625 2.625 0 0 1 0 5.25Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-edit18"><rect x=".5" y=".5" width="23" height="23" rx="4.5" fill="#fff" /><rect x=".5" y=".5" width="23" height="23" rx="4.5" stroke="currentColor" /><path d="M19.5 18.726h-15m3.576-3.32 1.16-.205a.914.914 0 0 0 .153-.033.434.434 0 0 0 .098-.051c.032-.022.06-.05.115-.106l7.33-7.327c.166-.166.248-.249.281-.344a.434.434 0 0 0 0-.28c-.033-.096-.115-.178-.281-.344l-.957-.958c-.166-.165-.25-.248-.344-.28a.433.433 0 0 0-.28 0c-.096.032-.179.115-.345.28l-7.33 7.328a.917.917 0 0 0-.105.115.432.432 0 0 0-.05.098c-.014.037-.02.075-.034.153l-.204 1.162c-.056.317-.083.475-.037.59.044.11.13.196.24.24.115.046.273.018.59-.038Z" stroke="#9A9A9A" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 26 26" id="any-icon-editCustomize"><path d="M20.8 19.974h-16m3.814-3.54 1.238-.22a.975.975 0 0 0 .163-.035.466.466 0 0 0 .104-.055c.034-.023.064-.053.123-.112l7.818-7.816c.177-.177.266-.265.3-.367a.463.463 0 0 0 0-.3c-.034-.1-.123-.189-.3-.366l-1.02-1.021c-.177-.177-.266-.265-.367-.3a.462.462 0 0 0-.3 0c-.101.035-.19.123-.366.3l-7.819 7.816c-.059.06-.089.089-.112.123a.46.46 0 0 0-.055.105c-.014.038-.021.08-.036.162l-.217 1.24c-.06.338-.089.507-.04.63.048.116.14.209.257.256.123.049.292.019.63-.04Z" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-eye-icon"><path d="M20.798 11.014c.45.59.45 1.385 0 1.973-1.419 1.852-4.823 5.666-8.798 5.666-3.974 0-7.379-3.814-8.798-5.666a1.608 1.608 0 0 1 0-1.973C4.622 9.162 8.026 5.348 12 5.348c3.975 0 7.38 3.814 8.798 5.666Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><path d="M12 14.852a2.851 2.851 0 1 0 0-5.703 2.851 2.851 0 0 0 0 5.703Z" stroke="#344054" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-filter-add"><path d="M15.998 10.4V16m0 0v5.6m0-5.6h-5.6m5.6 0h5.6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-filterchecked"><path d="m16.481 9.078-3.978 4.928c-.438.541-.652.692-.918.804a1.412 1.412 0 0 1-.829.088c-.283-.055-.524-.157-1.064-.596l-2.174-1.766" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-fliter-icon"><path d="M14.293 12.602a.997.997 0 0 0-.293.707v4.601a1 1 0 0 1-.758.97l-2 .5A1 1 0 0 1 10 18.41v-5.1a.996.996 0 0 0-.293-.708L5.229 7.176A1 1 0 0 1 5 6.54V5.31a1 1 0 0 1 1-1h12.002a1 1 0 0 1 1 .998v1.224a1 1 0 0 1-.228.638l-4.481 5.432Z" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 32 33" id="any-icon-following-normal"><rect y=".5" width="32" height="32" rx="4" fill="#fff" fill-opacity=".01" /><path d="M11.125 6.75H7.91a1.66 1.66 0 0 0-1.66 1.66v3.215M20.875 6.75h3.215c.917 0 1.66.743 1.66 1.66v3.215m-19.5 9.75v3.215c0 .917.743 1.66 1.66 1.66h3.215m14.625-4.875v3.215a1.66 1.66 0 0 1-1.66 1.66h-3.215m-4.668-7.883a1.66 1.66 0 1 1 0-3.32 1.66 1.66 0 0 1 0 3.32Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 25" id="any-icon-from-landmark-icon"><path d="M8.369 7.365A1.529 1.529 0 0 1 6.565 9.17m1.804-1.804A1.53 1.53 0 1 0 6.565 9.17m1.804-1.804h7.262M6.565 9.17v7.262m10.87-7.262a1.529 1.529 0 0 1-1.804-1.804m1.804 1.804a1.53 1.53 0 1 0-1.804-1.804m1.804 1.804v7.262m-9.066 1.804h7.262m-7.262 0a1.529 1.529 0 0 0-1.804-1.804m1.804 1.804a1.53 1.53 0 1 1-1.804-1.804m9.066 1.804a1.529 1.529 0 0 1 1.804-1.804m-1.804 1.804a1.53 1.53 0 1 0 1.804-1.804" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-group1"><path d="M7.642 5.478a1.835 1.835 0 0 1-2.165 2.165m2.165-2.165a1.835 1.835 0 1 0-2.164 2.165m2.164-2.165h8.715M5.477 7.643v8.714m13.044-8.714a1.835 1.835 0 0 1-2.165-2.165m2.165 2.165a1.835 1.835 0 1 0-2.164-2.165m2.165 2.165v8.714m-10.88 2.165h8.715m-8.715 0a1.835 1.835 0 0 0-2.165-2.165m2.165 2.165a1.835 1.835 0 1 1-2.164-2.165m10.879 2.165a1.835 1.835 0 0 1 2.165-2.165m-2.165 2.165a1.835 1.835 0 1 0 2.165-2.165" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-group2"><path d="M16.796 14.208a.55.55 0 0 0-.158.487l.846 4.932a.55.55 0 0 1-.797.58l-4.43-2.326a.55.55 0 0 0-.512 0l-4.43 2.328a.55.55 0 0 1-.799-.58l.847-4.931a.55.55 0 0 0-.158-.487L3.62 10.716a.55.55 0 0 1 .305-.938l4.953-.72a.55.55 0 0 0 .414-.3l2.214-4.487a.55.55 0 0 1 .986 0l2.214 4.486a.55.55 0 0 0 .414.301l4.953.72a.55.55 0 0 1 .305.938l-3.583 3.492Z" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-group3"><circle cx="12" cy="12" r="8.1" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-group4"><rect x="4.2" y="4.2" width="15.6" height="15.6" rx="3.6" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-group5"><path d="M8.48 7.936c1.155-2 1.732-3 2.486-3.336a2.54 2.54 0 0 1 2.066 0c.754.336 1.332 1.336 2.487 3.336l3.226 5.588c1.154 2 1.732 3 1.646 3.821a2.54 2.54 0 0 1-1.033 1.79c-.668.484-1.823.484-4.133.484H8.773c-2.31 0-3.464 0-4.132-.485a2.54 2.54 0 0 1-1.033-1.789c-.086-.82.491-1.82 1.646-3.821L8.48 7.936Z" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 24 25" id="any-icon-image-error"><path d="M4.822 20.178 1.074 7.468a1.79 1.79 0 0 1 1.225-2.227l7.871-2.249-.968 5.43c-.066.376.05.76.313 1.035l4.413 4.614c.264.275.38.66.313 1.035l-.908 5.072-6.523 1.78a1.432 1.432 0 0 1-1.75-.977l-.238-.803Zm0 0c.987-1.89 2.007-5.006 3.379-5.669 1.688-.815 3.603 2.459 5.967.182m1.91-2.27-1.45-2.85a1.313 1.313 0 0 1-.033-1.12l2.02-4.623h4.953c.79 0 1.432.64 1.432 1.432v9.431m-6.922-2.27 1.73 3.401-2.566 5.43h6.564c.66 0 1.194-.534 1.194-1.193V14.69m-6.922-2.27c2.148-2.865 3.043-1.068 6.922 2.27M6.351 9.377a.656.656 0 1 1 0 1.313m0-1.313a.656.656 0 1 0 0 1.313m0-1.313v1.313" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 10 10" id="any-icon-ischarge"><path d="m5.998 1.672-2.59 2.552c-.315.342-.474.512-.375.644C3.13 5 3.415 5 3.985 5h2.03c.57 0 .855 0 .952.132.099.133-.06.302-.375.644L3.985 8.327" stroke="currentColor" stroke-opacity=".5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-jumpIcon"><path d="M19.875 22.3v-7.875m-7.75 2.625V9.175m0 13.825a2.625 2.625 0 1 1 0-5.25 2.625 2.625 0 0 1 0 5.25Zm7.75-8.75a2.625 2.625 0 1 1 0-5.25 2.625 2.625 0 0 1 0 5.25Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 20 20" id="any-icon-landmark-tab-icon"><path d="M6.369 4.565a1.529 1.529 0 0 1-1.804 1.804m1.804-1.804a1.53 1.53 0 1 0-1.804 1.804m1.804-1.804h7.262M4.565 6.369v7.262m10.87-7.262a1.529 1.529 0 0 1-1.804-1.804m1.804 1.804a1.53 1.53 0 1 0-1.804-1.804m1.804 1.804v7.262m-9.066 1.804h7.262m-7.262 0a1.529 1.529 0 0 0-1.804-1.804m1.804 1.804a1.53 1.53 0 1 1-1.804-1.804m9.066 1.804a1.529 1.529 0 0 1 1.804-1.804m-1.804 1.804a1.53 1.53 0 1 0 1.804-1.804" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-landmarkIcon"><path d="M7.642 5.478a1.835 1.835 0 0 1-2.165 2.165m2.165-2.165a1.835 1.835 0 1 0-2.164 2.164m2.164-2.164h8.715M5.477 7.642v8.715m13.044-8.715a1.835 1.835 0 0 1-2.165-2.165m2.165 2.165a1.835 1.835 0 1 0-2.164-2.164m2.165 2.164v8.715m-10.88 2.165h8.715m-8.715 0a1.835 1.835 0 0 0-2.165-2.165m2.165 2.165a1.835 1.835 0 1 1-2.164-2.165m10.879 2.165a1.835 1.835 0 0 1 2.165-2.165m-2.165 2.165a1.835 1.835 0 1 0 2.165-2.165" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-lightHub"><path d="M21.992 9.143a4.519 4.519 0 0 0-2.27-1.6 4.519 4.519 0 0 0-2.936.079m7.983-.314a8.03 8.03 0 0 0-4.07-2.891 8.03 8.03 0 0 0-5.218.14m3.336 5.88-.146.467m5.416 8.62a8.428 8.428 0 1 1-16.857 0 8.428 8.428 0 0 1 16.857 0Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-load-num-icon"><rect x="3.602" y="4.801" width="16.797" height="4.799" rx="1.3" stroke="currentColor" stroke-width="1.255" /><circle cx="6.927" cy="7.201" r=".837" fill="currentColor" /><rect x="3.602" y="9.601" width="16.797" height="4.799" rx="1.3" stroke="currentColor" stroke-width="1.255" /><circle cx="6.927" cy="12" r=".837" fill="currentColor" /><rect x="3.602" y="14.399" width="16.797" height="4.799" rx="1.3" stroke="currentColor" stroke-width="1.255" /><circle cx="6.927" cy="16.799" r=".837" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 24 25" id="any-icon-loading-icon"><path d="M12.002 2.499v2M17.002 3.84l-1 1.731M20.662 7.5l-1.732 1M22.002 12.5h-2M20.662 17.5l-1.732-1M17.002 21.16l-1-1.732" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><path d="M12.002 22.499v-2" stroke="#000" stroke-opacity=".1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><path d="m7.002 21.16 1-1.732" stroke="#000" stroke-opacity=".2" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><path d="m3.342 17.5 1.732-1" stroke="#000" stroke-opacity=".4" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><path d="M2.002 12.5h2" stroke="#000" stroke-opacity=".8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><path d="m3.342 7.5 1.732 1M7.002 3.84l1 1.731" stroke="#000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-molive"><path d="m16.86 9.626 2.942-1.52a.777.777 0 0 1 1.133.69v6.273a.777.777 0 0 1-1.133.69l-2.942-1.52m0-4.613v4.613m0-4.613v-2.61c0-.636-.516-1.152-1.152-1.152H4.216c-.636 0-1.152.516-1.152 1.152v9.968c0 .636.516 1.152 1.152 1.152h11.492c.636 0 1.152-.516 1.152-1.152V14.24M5.976 9.422h2.463" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-monitorIconCpu"><path d="M9.36 5.52H6.272c-.445 0-.806.34-.806.758v2.9M9.36 5.522V3.307m0 2.214h5.28M9.36 18.293H6.272c-.445 0-.806-.34-.806-.757v-2.777m3.894 3.534v2.4m0-2.4h5.28M5.466 14.76h-2.16m2.16 0v-5.58m0 0h-2.16M14.64 5.52h3.088c.445 0 .806.34.806.757V9.18M14.64 5.521V3.307m0 14.986h3.088c.445 0 .806-.339.806-.757V14.76m-3.894 3.534v2.4m3.894-5.934h2.16m-2.16 0V9.18m0 0h2.16m-11.226.442h5.064v4.758H9.468V9.62Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-more-contact-icon"><path d="M3.258 16.872v-5.657m2.571 5.657V8.644C5.83 6.33 7.886 3.5 12.001 3.5c4.114 0 6.171 2.829 6.171 5.143v7.293c0 .595-.258 1.16-.707 1.55L14 20.5m6.744-3.627v-5.657" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-more-edit-icon"><path d="M22 20.968H2m4.768-4.426 1.548-.274c.103-.018.154-.027.202-.045a.578.578 0 0 0 .131-.068c.043-.03.08-.066.153-.14l9.774-9.77c.22-.221.331-.332.375-.458a.578.578 0 0 0 0-.375c-.044-.126-.154-.237-.375-.458l-1.277-1.276c-.22-.221-.331-.332-.458-.375a.578.578 0 0 0-.374 0c-.127.043-.237.153-.458.374l-9.773 9.77c-.074.074-.111.111-.14.154a.58.58 0 0 0-.07.131c-.017.048-.026.1-.044.203l-.272 1.55c-.074.423-.11.634-.049.787a.577.577 0 0 0 .32.32c.154.062.365.024.787-.05Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-more-history-icon"><path d="M17.398 22.141c-14.792 0 6.146-6.946-3.349-7.518m-4.042-7.589h.077m9.139 14.816c0 .482-.409.872-.912.872-.504 0-.913-.39-.913-.872 0-.481.409-.872.913-.872.503 0 .912.39.912.872ZM13.54 10.714l-3.63 3.909-3.63-3.91c-2.004-2.158-2.004-5.658 0-7.817 2.005-2.158 5.255-2.158 7.26 0 2.004 2.16 2.004 5.66 0 7.818Zm-3.498-3.13v0a.528.528 0 0 0 .528-.527v-.054a.528.528 0 0 0-.528-.528v0a.528.528 0 0 0-.528.528v.054c0 .292.237.528.528.528Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-more-locate-icon"><path d="M12 2.75v2.575m0 0h-.84a6.73 6.73 0 0 0-5.835 5.834V12M12 5.325h.842a6.73 6.73 0 0 1 5.833 5.834V12m2.575 0h-2.575m0 0v.842a6.73 6.73 0 0 1-5.833 5.833H12m0 2.575v-2.575m0 0h-.84a6.73 6.73 0 0 1-5.835-5.833V12M2.75 12h2.575M12 11.58v.84m0 .421v0a.841.841 0 0 0 .842-.84v0a.841.841 0 0 0-.842-.842v0a.841.841 0 0 0-.84.841v0c0 .465.376.842.84.841Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-more-move-icon"><path d="m11.275 15.876 4.601-4.6m-2.3 6.9 2.63-2.628m-4.829-4.085v0a1.722 1.722 0 0 1-2.435 0v0a1.722 1.722 0 0 1 0-2.435v0a1.722 1.722 0 0 1 2.435 0v0a1.722 1.722 0 0 1 0 2.435Zm2.75-6.538 8.226 8.225a.93.93 0 0 1 0 1.315l-7.888 7.888a.93.93 0 0 1-1.315 0l-8.225-8.226a.93.93 0 0 1-.266-.768l.845-7.043a.93.93 0 0 1 .813-.812l7.042-.845a.93.93 0 0 1 .768.266Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-more-share-icon"><path d="M14.17 7.673a2.744 2.744 0 1 1 4.689-2.853 2.744 2.744 0 0 1-4.69 2.853Zm0 0-4.416 2.87m.043 3.025c.274-.427.433-.935.433-1.48a2.73 2.73 0 0 0-.476-1.544m.043 3.024a2.744 2.744 0 1 1-.044-3.024m.044 3.024 4.375 2.755m0 0a2.744 2.744 0 1 1 4.685 2.86 2.744 2.744 0 0 1-4.685-2.86Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-more"><circle cx="10" cy="16" r="1.5" fill="currentColor" /><circle cx="16" cy="16" r="1.5" fill="currentColor" /><circle cx="22" cy="16" r="1.5" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 18 18" id="any-icon-moreconfigurations"><path d="M13.792 11.396 9 6.604 4.21 11.396" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-new-close-icon"><path d="m20.97 20.97-9.94-9.94m0 9.94 9.94-9.94" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-new-search-icon"><path d="m20.545 20.544-3.178-3.196m-6.735.461a7.163 7.163 0 0 1-7.177-7.177 7.163 7.163 0 0 1 7.177-7.177 7.163 7.163 0 0 1 7.177 7.177c0 1.98-.794 3.77-2.084 5.066a7.155 7.155 0 0 1-5.093 2.111Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-new_arrow"><path d="M15.707 10.146 12 13.854l-3.708-3.708" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-onDemand"><path d="M11.686 10.969c-.27-.85-.55-1.718-.756-2.337-.741-1.482-2.28-.684-1.881.77.319 1.162 1.52 5.196 2.08 7.068-.589-.19-2.029-.667-3.078-1.055-1.31-.484-2.593.874-1.425 1.54 1.653.94 6.698 3.933 8.123 3.59 1.14-.273 1.54-.418 1.596-.456.124-.038.536-.182 1.54-.57 1.003-.387 1.747-2.85 1.595-3.505-.056-.244-.542-2.16-.91-3.494-.239-.866-.766-1.814-1.57-1.414-.407.203-.696.643-.598 1.231-.068-.18-.182-.492-.278-.767-.104-.299-.252-.594-.509-.78-.88-.641-1.495.022-1.71.493m-2.219-.314c.298.936.585 1.852.755 2.394m-.755-2.394c-.298-.936 1.467-1.881 2.123 0l.096.314m0 0c.384 1.238.533 1.657.56 1.71M8.196 3.427l.74 2.167M4.786 6.3l2.024.998M4.5 11.106l2.166-.826m4.941-4.377 1.026-2.166m.794 3.817 2.166-.741" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 17" id="any-icon-openIcon"><rect x=".75" y="1.25" width="22.5" height="14.5" rx="2.25" stroke="currentColor" stroke-width="1.5" /><rect x="14" y="3.5" width="7" height="10" rx="1" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-plus"><path d="M16 10.4V16m0 0v5.6m0-5.6h-5.6m5.6 0h5.6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 20 8" id="any-icon-point-dot"><circle cx="4" cy="4" r="1.5" fill="#344054" /><circle cx="10" cy="4" r="1.5" fill="#344054" /><circle cx="16" cy="4" r="1.5" fill="#344054" /></symbol><symbol fill="none" viewBox="0 0 36 32" id="any-icon-range-swith"><path d="M19.833 12.335 16.168 16l3.665 3.665" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-refesh-icon"><path d="m22.364 11.647-.707-.707a8 8 0 1 0 2.28 4.658m-1.573-3.951h-4.242m4.242 0V7.404" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-refreshIcon"><path d="m18.364 7.647-.707-.707a8 8 0 1 0 2.28 4.658m-1.573-3.95h-4.243m4.243 0V3.403" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="any-icon-removeIcon"><rect width="16" height="16" rx="8" fill="#FF5E5E" /><path d="M4.8 8h6.4" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-return-top"><path d="M17 5.763H7" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /><path d="m12 9.763-3.95 3.95M12 9.762l3.95 3.95M12 9.762v8.474" stroke="#000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 40 40" id="any-icon-searchIcon"><path d="m28.545 28.544-3.178-3.196m-6.735.461a7.163 7.163 0 0 1-7.177-7.177 7.163 7.163 0 0 1 7.177-7.177 7.163 7.163 0 0 1 7.177 7.177c0 1.98-.794 3.77-2.084 5.066a7.155 7.155 0 0 1-5.093 2.111Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-searchIcon24"><path d="m20.545 20.545-3.178-3.197m-6.735.462a7.163 7.163 0 0 1-7.177-7.177 7.163 7.163 0 0 1 7.177-7.178 7.163 7.163 0 0 1 7.177 7.178c0 1.98-.794 3.768-2.084 5.065a7.155 7.155 0 0 1-5.093 2.112Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-selectAllIcon"><path d="m3 18.465 1.267 1.268 2.638-2.64M21 18.462H10.68M3 12.052l1.267 1.269 2.638-2.64M21 12.048H10.68M3 5.64l1.267 1.269 2.638-2.64M21 5.637H10.68" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-signalnew"><path d="M5.425 16.55v1.415M9.809 13.047v4.921M14.192 9.54v8.427" stroke="currentColor" stroke-width="2.121" stroke-linecap="round" /><path d="M18.576 6.031v11.935" stroke="#000" stroke-opacity=".2" stroke-width="2.121" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-signalnew0"><path d="M5.424 16.554v1.414M9.807 13.047v4.921M14.191 9.54v8.428M18.574 6.033v11.935" stroke="currentColor" stroke-opacity=".2" stroke-width="2.121" stroke-linecap="round" /><path d="M7.48 5 4 8.48M4 5l3.48 3.48" stroke="#F32C1D" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-signalnew1"><path d="M5.424 16.554v1.414" stroke="currentColor" stroke-width="2.121" stroke-linecap="round" /><path d="M9.807 13.047v4.921M14.191 9.54v8.428M18.574 6.033v11.935" stroke="#000" stroke-opacity=".2" stroke-width="2.121" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-signalnew2"><path d="M5.424 16.554v1.414M9.807 13.047v4.921" stroke="currentColor" stroke-width="2.121" stroke-linecap="round" /><path d="M14.191 9.54v8.428M18.574 6.033v11.935" stroke="#000" stroke-opacity=".2" stroke-width="2.121" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-signalnew3"><path d="M5.424 16.554v1.414M9.807 13.047v4.921M14.191 9.54v8.428" stroke="currentColor" stroke-width="2.121" stroke-linecap="round" /><path d="M18.574 6.033v11.935" stroke="#000" stroke-opacity=".2" stroke-width="2.121" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-signalnew4"><path d="M5.424 16.554v1.414M9.807 13.047v4.921M14.191 9.54v8.428M18.574 6.033v11.935" stroke="currentColor" stroke-width="2.121" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-sorting"><path d="M14.291 12.602a.997.997 0 0 0-.293.707v4.601a1 1 0 0 1-.757.97l-2 .5A1 1 0 0 1 10 18.41v-5.1a.996.996 0 0 0-.293-.708L5.227 7.176A1 1 0 0 1 5 6.54V5.31a1 1 0 0 1 1-1H18a1 1 0 0 1 1 .998l.001 1.224a1 1 0 0 1-.228.638l-4.482 5.432Z" fill="#0BA5EC" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-tag-list-arrow"><path d="M15.168 10.416 12 13.584l-3.168-3.168" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 44 84" id="any-icon-tag-list-icon"><rect x=".5" y=".5" width="43" height="83" rx="9.5" fill="transparent" /><rect x=".5" y=".5" width="43" height="83" rx="9.5" stroke="currentColor" /><rect x="14" y="16.5" width="16" height="3" rx="1.5" fill="#9A9A9A" /><rect x="20" y="32.5" width="10" height="3" rx="1.5" fill="#DFDFDF" /><rect x="14" y="48.5" width="16" height="3" rx="1.5" fill="#9A9A9A" /><rect x="20" y="64.5" width="10" height="3" rx="1.5" fill="#DFDFDF" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-tag-no-children"><circle cx="12" cy="12" r="2" fill="#000" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-tag-tab-icon"><path d="m9.637 14.238 4.6-4.601m-2.3 6.901 2.63-2.629M3.865 4.678 3.02 11.72a.93.93 0 0 0 .265.768l8.226 8.226a.93.93 0 0 0 1.314 0l7.888-7.888a.93.93 0 0 0 0-1.314l-8.225-8.226a.93.93 0 0 0-.769-.265l-7.042.845a.93.93 0 0 0-.812.812Zm5.873 5.147a1.722 1.722 0 1 0-2.436-2.436 1.722 1.722 0 0 0 2.436 2.436Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-tagIcon"><path d="m11.275 15.876 4.601-4.6m-2.3 6.9 2.629-2.628m-4.828-4.085v0a1.722 1.722 0 0 1-2.436 0v0a1.722 1.722 0 0 1 0-2.435v0a1.722 1.722 0 0 1 2.436 0v0a1.722 1.722 0 0 1 0 2.435Zm2.75-6.538 8.225 8.225a.93.93 0 0 1 0 1.315l-7.887 7.888a.93.93 0 0 1-1.315 0l-8.225-8.226a.93.93 0 0 1-.266-.768l.845-7.043a.93.93 0 0 1 .812-.812l7.043-.845a.93.93 0 0 1 .768.266Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-temp-hot-line"><path d="M9.6 6.4a2.4 2.4 0 0 1 4.8 0v6.4a4 4 0 1 1-4.8 0V6.4Z" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-tirePressureMonitoringSensor"><path d="M5.313 5.004c.062 1.105-2.685 3.56-2.27 7.303.339 3.069 2.02 4.725 4.72 5.953m0 0h4.174m-4.173 0v1.534m4.173-1.534h4.3m-4.3 0v1.534m6.75-14.79c-.06 1.105 2.686 3.56 2.271 7.303-.339 3.069-2.02 4.725-4.72 5.953m0 0v1.534m-4.3-15.588v5.462m0 4.05v.491" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-Vector"><path d="M4.276 10.844V6.658A2.508 2.508 0 0 1 6.784 4.15H17.22a2.508 2.508 0 0 1 2.508 2.508v4.186m-15.45 0v7.505m0-7.505h7.709m-7.71 7.505v1.294c0 .114.093.207.207.207h.721a.207.207 0 0 0 .207-.207V18.35m-1.135 0h1.135m0 0h6.606M1.867 7.167v2.48m17.86 1.197v7.505m0-7.505h-7.71m7.71 7.505v1.294a.207.207 0 0 1-.207.207h-.72a.207.207 0 0 1-.207-.207V18.35m1.134 0h-1.134m0 0h-6.607m10.15-11.182v2.48m-5.86 4.868v.283m-8.548-.288v.27m-.46-.125v-.02a.46.46 0 0 1 .92 0v.02a.46.46 0 1 1-.92 0Zm9.468 0v-.02a.46.46 0 0 0-.922 0v.02a.46.46 0 1 0 .922 0Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicleIcon"><path d="M4.276 10.844V6.658A2.508 2.508 0 0 1 6.784 4.15H17.22a2.508 2.508 0 0 1 2.508 2.508v4.186m-15.45 0v7.505m0-7.505h7.709m-7.71 7.505v1.294c0 .114.093.207.207.207h.721a.207.207 0 0 0 .207-.207V18.35m-1.135 0h1.135m0 0h6.606M1.867 7.167v2.48m17.86 1.197v7.505m0-7.505h-7.71m7.71 7.505v1.294a.207.207 0 0 1-.207.207h-.72a.207.207 0 0 1-.207-.207V18.35m1.134 0h-1.134m0 0h-6.607m10.15-11.182v2.48m-5.86 4.868v.283m-8.548-.288v.27m-.46-.125v-.02a.46.46 0 0 1 .92 0v.02a.46.46 0 1 1-.92 0Zm9.468 0v-.02a.46.46 0 0 0-.922 0v.02a.46.46 0 1 0 .922 0Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehiclesBus"><path d="m21.174 7.995.52-.54-.52.54a.25.25 0 0 1 .076.18V15a.25.25 0 0 1-.25.25H4a.25.25 0 0 1-.25-.25V6A.25.25 0 0 1 4 5.75h14.746a.25.25 0 0 1 .174.07l1.134 1.095 1.12 1.08Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /><path stroke="#1F2429" stroke-width="1.5" d="M6.75 5v4M10.75 5v4M16 9.75H3M16 5v5a1 1 0 0 0 1 1h5" /><circle cx="7.5" cy="15.5" r="1.75" fill="#fff" stroke="#1F2429" stroke-width="1.5" /><circle cx="17.5" cy="15.5" r="1.75" fill="#fff" stroke="#1F2429" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-verticalPoint"><circle cx="12" cy="6" r="1.5" fill="currentColor" /><circle cx="12" cy="12" r="1.5" fill="currentColor" /><circle cx="12" cy="18" r="1.5" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-xiajiantou"><path d="M15.707 10.146 12 13.854l-3.708-3.707" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-battery-charge100"><rect x=".818" y="6.75" width="19.864" height="10.5" rx="1.75" stroke="currentColor" stroke-width="1.5" /><rect x="2.568" y="8.5" width="16.36" height="7" rx=".6" fill="#6EE087" /><path d="m11.25 9.5-1.946 1.917c-.237.257-.356.385-.282.484.073.099.287.099.715.099h1.525c.429 0 .643 0 .716.099.074.1-.045.227-.282.484L9.736 14.5" stroke="#020202" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><rect x="22.432" y="10.17" width="1.5" height="3.66" rx=".732" fill="#020202" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-battery-charge20"><rect x=".818" y="6.75" width="19.864" height="10.5" rx="1.75" stroke="currentColor" stroke-width="1.5" /><rect x="2.568" y="8.5" width="3" height="7" rx=".6" fill="#F32C1D" /><path d="m11.25 9.5-1.946 1.917c-.237.257-.356.385-.282.484.073.099.287.099.715.099h1.525c.429 0 .643 0 .716.099.074.1-.045.227-.282.484L9.736 14.5" stroke="#020202" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><rect x="22.432" y="10.17" width="1.5" height="3.66" rx=".732" fill="#020202" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-battery-charge40"><rect x=".818" y="6.75" width="19.864" height="10.5" rx="1.75" stroke="currentColor" stroke-width="1.5" /><rect x="2.568" y="8.5" width="6.544" height="7" rx=".6" fill="#6EE087" /><path d="m11.25 9.5-1.946 1.917c-.237.257-.356.385-.282.484.073.099.287.099.715.099h1.525c.429 0 .643 0 .716.099.074.1-.045.227-.282.484L9.736 14.5" stroke="#020202" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><rect x="22.432" y="10.17" width="1.5" height="3.66" rx=".732" fill="#020202" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-battery-charge60"><rect x=".818" y="6.75" width="19.864" height="10.5" rx="1.75" stroke="currentColor" stroke-width="1.5" /><rect x="2.568" y="8.5" width="9.816" height="7" rx=".6" fill="#6EE087" /><path d="m11.25 9.5-1.946 1.917c-.237.257-.356.385-.282.484.073.099.287.099.715.099h1.525c.429 0 .643 0 .716.099.074.1-.045.227-.282.484L9.736 14.5" stroke="#020202" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><rect x="22.432" y="10.17" width="1.5" height="3.66" rx=".732" fill="#020202" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-battery-charge80"><rect x=".818" y="6.75" width="19.864" height="10.5" rx="1.75" stroke="currentColor" stroke-width="1.5" /><rect x="2.568" y="8.5" width="13.088" height="7" rx=".6" fill="#6EE087" /><path d="m11.25 9.5-1.946 1.917c-.237.257-.356.385-.282.484.073.099.287.099.715.099h1.525c.429 0 .643 0 .716.099.074.1-.045.227-.282.484L9.736 14.5" stroke="#020202" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><rect x="22.432" y="10.17" width="1.5" height="3.66" rx=".732" fill="#020202" /></symbol><symbol fill="none" viewBox="0 0 24 12" id="any-icon-battery-nocharge100"><rect x=".818" y=".75" width="19.864" height="10.5" rx="1.75" stroke="currentColor" stroke-width="1.5" /><rect x="2.568" y="2.5" width="16.36" height="7" rx=".6" fill="#FFC107" /><rect x="22.432" y="4.17" width="1.5" height="3.66" rx=".732" fill="#020202" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-battery-nocharge20"><rect x=".818" y="6.75" width="19.864" height="10.5" rx="1.75" stroke="currentColor" stroke-width="1.5" /><rect x="2.568" y="8.5" width="3" height="7" rx=".6" fill="#F32C1D" /><rect x="22.432" y="10.17" width="1.5" height="3.66" rx=".732" fill="#020202" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-battery-nocharge40"><rect x=".818" y="6.75" width="19.864" height="10.5" rx="1.75" stroke="currentColor" stroke-width="1.5" /><rect x="2.568" y="8.5" width="6.54" height="7" rx=".6" fill="#FFC107" /><rect x="22.432" y="10.17" width="1.5" height="3.66" rx=".732" fill="#020202" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-battery-nocharge60"><rect x=".818" y="6.75" width="19.864" height="10.5" rx="1.75" stroke="currentColor" stroke-width="1.5" /><rect x="2.568" y="8.5" width="9.82" height="7" rx=".6" fill="#FFC107" /><rect x="22.432" y="10.17" width="1.5" height="3.66" rx=".732" fill="#020202" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-battery-nocharge80"><rect x=".818" y="6.75" width="19.864" height="10.5" rx="1.75" stroke="currentColor" stroke-width="1.5" /><rect x="2.568" y="8.5" width="13.09" height="7" rx=".6" fill="#FFC107" /><rect x="22.432" y="10.17" width="1.5" height="3.66" rx=".732" fill="#020202" /></symbol><symbol fill="none" viewBox="0 0 24 12" id="any-icon-battery-offline100"><rect x=".818" y=".75" width="19.864" height="10.5" rx="1.75" stroke="currentColor" stroke-width="1.5" /><rect x="2.568" y="2.5" width="16.36" height="7" rx=".6" fill="#9A9A9A" /><rect x="22.432" y="4.17" width="1.5" height="3.66" rx=".732" fill="#9A9A9A" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-battery-offline20"><rect x=".818" y="6.75" width="19.864" height="10.5" rx="1.75" stroke="currentColor" stroke-width="1.5" /><rect x="2.568" y="8.5" width="3" height="7" rx=".6" fill="#9A9A9A" /><rect x="22.432" y="10.17" width="1.5" height="3.66" rx=".732" fill="#9A9A9A" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-battery-offline40"><rect x=".818" y="6.75" width="19.864" height="10.5" rx="1.75" stroke="currentColor" stroke-width="1.5" /><rect x="2.568" y="8.5" width="6.54" height="7" rx=".6" fill="#9A9A9A" /><rect x="22.432" y="10.17" width="1.5" height="3.66" rx=".732" fill="#9A9A9A" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-battery-offline60"><rect x=".818" y="6.75" width="19.864" height="10.5" rx="1.75" stroke="currentColor" stroke-width="1.5" /><rect x="2.568" y="8.5" width="9.82" height="7" rx=".6" fill="#9A9A9A" /><rect x="22.432" y="10.17" width="1.5" height="3.66" rx=".732" fill="#9A9A9A" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-battery-offline80"><rect x=".818" y="6.75" width="19.864" height="10.5" rx="1.75" stroke="currentColor" stroke-width="1.5" /><rect x="2.568" y="8.5" width="13.09" height="7" rx=".6" fill="#9A9A9A" /><rect x="22.432" y="10.17" width="1.5" height="3.66" rx=".732" fill="#9A9A9A" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-common-checkbox"><rect x="4.75" y="4.75" width="14.5" height="14.5" rx="3.25" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-common-checked"><rect x="4" y="4" width="16" height="16" rx="4" fill="#0BA5EC" /><path d="m15.963 9.415-3.519 4.358c-.387.479-.577.612-.812.711a1.25 1.25 0 0 1-.733.078c-.25-.048-.463-.14-.94-.527l-1.924-1.562" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-common-checkOne"><path d="m16.481 9.077-3.978 4.927c-.438.542-.652.693-.918.805a1.413 1.413 0 0 1-.829.087c-.283-.054-.524-.157-1.064-.595l-2.174-1.766" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-common-edit"><path d="M15.875 18.3v-7.875m-7.75 2.625V5.175m0 13.825a2.625 2.625 0 1 1 0-5.25 2.625 2.625 0 0 1 0 5.25Zm7.75-8.75a2.625 2.625 0 1 1 0-5.25 2.625 2.625 0 0 1 0 5.25Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-common-inputDelete"><path d="m20.97 20.97-9.94-9.94m0 9.94 9.94-9.94" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 25 24" id="any-icon-common-loadingW"><path d="M12.502 1.999v2M17.502 3.34l-1 1.731M21.162 7 19.43 8M22.502 12h-2M21.162 17l-1.732-1M17.502 20.66l-1-1.732" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><path d="M12.502 21.999v-2" stroke="#fff" stroke-opacity=".1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><path d="m7.502 20.66 1-1.732" stroke="#fff" stroke-opacity=".2" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><path d="m3.842 17 1.732-1" stroke="#fff" stroke-opacity=".4" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><path d="M2.502 12h2" stroke="#fff" stroke-opacity=".8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><path d="m3.842 7 1.732 1M7.502 3.34l1 1.731" stroke="#fff" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="any-icon-common-mdvrcheck"><rect x=".75" y=".75" width="14.5" height="14.5" rx="3.25" fill="#fff" /><rect x=".75" y=".75" width="14.5" height="14.5" rx="3.25" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="any-icon-common-mdvrchecked"><rect width="16" height="16" rx="4" fill="#0BA5EC" /><path d="M11.964 5.415 8.445 9.773c-.387.479-.577.612-.812.711-.234.1-.482.126-.733.078-.25-.048-.463-.14-.941-.527L4.036 8.473" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="any-icon-common-mdvrcheckon"><rect width="16" height="16" rx="4" fill="#0BA5EC" /><path d="M4.5 8h7" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-common-popClose"><path d="M22.212 22.212 9.787 9.787m0 12.425L22.212 9.787" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-common-popConfirm"><path d="m6.1 15.256 5.11 5.11c.791.792 1.187 1.188 1.644 1.336a2 2 0 0 0 1.236 0c.457-.148.853-.544 1.645-1.337L25.9 10.2" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 40 40" id="any-icon-common-searchInput"><path d="m28.545 28.545-3.178-3.197m-6.735.462a7.163 7.163 0 0 1-7.177-7.177 7.163 7.163 0 0 1 7.177-7.178 7.163 7.163 0 0 1 7.177 7.178c0 1.98-.794 3.768-2.084 5.065a7.155 7.155 0 0 1-5.093 2.112Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-common-selectAll"><path d="m3 18.465 1.267 1.268 2.638-2.64M21 18.462H10.68M3 12.052l1.267 1.269 2.638-2.64M21 12.048H10.68M3 5.64l1.267 1.269 2.638-2.64M21 5.637H10.68" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-landmark-group1"><path d="M7.642 5.478a1.835 1.835 0 0 1-2.165 2.165m2.165-2.165a1.835 1.835 0 1 0-2.164 2.165m2.164-2.165h8.715M5.477 7.643v8.714m13.044-8.714a1.835 1.835 0 0 1-2.165-2.165m2.165 2.165a1.835 1.835 0 1 0-2.164-2.165m2.165 2.165v8.714m-10.88 2.165h8.715m-8.715 0a1.835 1.835 0 0 0-2.165-2.165m2.165 2.165a1.835 1.835 0 1 1-2.164-2.165m10.879 2.165a1.835 1.835 0 0 1 2.165-2.165m-2.165 2.165a1.835 1.835 0 1 0 2.165-2.165" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-landmark-group2"><path d="M16.796 14.208a.55.55 0 0 0-.158.487l.846 4.932a.55.55 0 0 1-.797.58l-4.43-2.326a.55.55 0 0 0-.512 0l-4.43 2.328a.55.55 0 0 1-.799-.58l.847-4.931a.55.55 0 0 0-.158-.487L3.62 10.716a.55.55 0 0 1 .305-.938l4.953-.72a.55.55 0 0 0 .414-.3l2.214-4.487a.55.55 0 0 1 .986 0l2.214 4.486a.55.55 0 0 0 .414.301l4.953.72a.55.55 0 0 1 .305.938l-3.583 3.492Z" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-landmark-group3"><circle cx="12" cy="12" r="8.1" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-landmark-group4"><rect x="4.2" y="4.2" width="15.6" height="15.6" rx="3.6" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-landmark-group5"><path d="M8.48 7.936c1.155-2 1.732-3 2.486-3.336a2.54 2.54 0 0 1 2.066 0c.754.336 1.332 1.336 2.487 3.336l3.226 5.588c1.154 2 1.732 3 1.646 3.821a2.54 2.54 0 0 1-1.033 1.79c-.668.484-1.823.484-4.133.484H8.773c-2.31 0-3.464 0-4.132-.485a2.54 2.54 0 0 1-1.033-1.789c-.086-.82.491-1.82 1.646-3.821L8.48 7.936Z" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-landmark-group6"><path d="m9.737 19.737-5.474-5.474c-.792-.792-1.188-1.188-1.337-1.645a2 2 0 0 1 0-1.236c.149-.457.545-.853 1.337-1.645l5.474-5.474c.792-.792 1.188-1.188 1.645-1.337a2 2 0 0 1 1.236 0c.457.149.853.545 1.645 1.337l5.474 5.474c.792.792 1.188 1.188 1.337 1.645a2 2 0 0 1 0 1.236c-.149.457-.545.853-1.337 1.645l-5.474 5.474c-.792.792-1.188 1.188-1.645 1.337a2 2 0 0 1-1.236 0c-.457-.149-.853-.545-1.645-1.337Z" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-landmark-openIcon"><path d="m11.05 13.525 4.95 4.95 4.95-4.95" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-landmark-retractIcon"><path d="m11.05 18.475 4.95-4.95 4.95 4.95" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-loading-black-loading1"><path d="M12.002 1.999v2M17.002 3.34l-1 1.731M20.662 7 18.93 8M22.002 12h-2M20.662 17l-1.732-1M17.002 20.66l-1-1.732" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><path d="M12.002 21.999v-2" stroke="#000" stroke-opacity=".1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><path d="m7.002 20.66 1-1.732" stroke="#000" stroke-opacity=".2" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><path d="m3.342 17 1.732-1" stroke="#000" stroke-opacity=".4" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><path d="M2.002 12h2" stroke="#000" stroke-opacity=".8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><path d="m3.342 7 1.732 1M7.002 3.34l1 1.731" stroke="#000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-sensor-BTLock"><path d="M8.2 14.057h12.896m-12.896 0a2.58 2.58 0 0 0-2.579 2.58v8.736a2.58 2.58 0 0 0 2.58 2.58h8.893M8.2 14.056V9.9a6.448 6.448 0 1 1 12.896 0v4.158m0 0c.805 0 1.525.37 1.998.948" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><path d="M21.863 26.315v-3.15m0 0v-3.218c0-.71 0-1.064.148-1.267a.769.769 0 0 1 .548-.31c.25-.025.555.157 1.164.52l.884.526c.584.348.877.523.976.748a.77.77 0 0 1 0 .618c-.1.226-.392.4-.976.748l-2.744 1.635Zm0 0v3.219c0 .709 0 1.063.148 1.266a.77.77 0 0 0 .548.311c.25.024.555-.157 1.164-.52l.884-.527c.584-.348.877-.522.976-.748a.769.769 0 0 0 0-.618c-.1-.225-.392-.4-.976-.748l-2.744-1.635Zm0 0v-3.15m0 3.15-3.27-1.947m3.27 1.947-3.27 1.948" stroke="#2E5CFF" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-sensor-move-left"><rect x=".5" y="23.5" width="23" height="23" rx="4.5" transform="rotate(-90 .5 23.5)" fill="#fff" /><rect x=".5" y="23.5" width="23" height="23" rx="4.5" transform="rotate(-90 .5 23.5)" stroke="#DFDFDF !important" /><path d="M11 15.707 7.293 12 11 8.292M16.707 15.707 13 12l3.707-3.708" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-sensor-move-right"><rect x="-.5" y="-.5" width="23" height="23" rx="4.5" transform="matrix(0 -1 -1 0 23 23)" fill="#fff" /><rect x="-.5" y="-.5" width="23" height="23" rx="4.5" transform="matrix(0 -1 -1 0 23 23)" stroke="#DFDFDF !important" /><path d="M13 15.707 16.707 12 13 8.292M7.293 15.707 11 12 7.293 8.292" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 10 18" id="any-icon-sensor-temp&humidity"><path d="M2.35 3.15a2.4 2.4 0 0 1 4.8 0v6.4a4 4 0 1 1-4.8 0v-6.4Z" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-sensor-weight"><path d="M19.22 9.078A3.222 3.222 0 0 0 16 5.86a3.231 3.231 0 0 0-3.218 3.22A3.231 3.231 0 0 0 16 12.296a3.231 3.231 0 0 0 3.219-3.219ZM8.784 26.14h14.437c1.288 0 1.932 0 2.37-.267.384-.234.668-.602.799-1.032.148-.492-.013-1.115-.337-2.36l-1.973-7.615c-.204-.784-.305-1.176-.526-1.467a1.828 1.828 0 0 0-.754-.583c-.337-.141-.742-.141-1.553-.141h-10.48c-.81 0-1.214 0-1.552.14a1.828 1.828 0 0 0-.753.583c-.221.29-.323.682-.527 1.466l-1.982 7.613c-.325 1.247-.487 1.87-.34 2.363.13.43.415.798.8 1.033.438.267 1.082.267 2.371.267Z" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-share-add2"><path d="M16 10.4V16m0 0v5.6m0-5.6h-5.6m5.6 0h5.6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-share-delete"><path d="M9.893 9.942v12.506a2 2 0 0 0 2 2h8.216a2 2 0 0 0 2-2V9.942m-12.216 0h3.727m-3.727 0H8.301m5.319 0H18.381m-4.761 0V8.388c0-.462.374-.836.836-.836h3.09c.462 0 .836.374.836.836v1.554m3.727 0h-3.727m3.727 0H23.7" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-share-down2"><path d="M15.707 10.146 12 13.854l-3.708-3.708" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-share-edit"><path d="M26 24.968H6m4.768-4.426 1.548-.274c.103-.018.154-.027.202-.045a.581.581 0 0 0 .131-.068c.043-.03.08-.066.154-.14l9.773-9.77c.22-.221.331-.332.375-.459a.578.578 0 0 0 0-.374c-.044-.127-.154-.237-.375-.458l-1.277-1.277c-.22-.22-.331-.331-.458-.375a.578.578 0 0 0-.374 0c-.127.044-.237.154-.458.375l-9.773 9.77c-.074.074-.111.111-.14.154a.582.582 0 0 0-.07.13c-.017.05-.026.1-.044.204l-.272 1.55c-.074.422-.11.634-.049.787a.577.577 0 0 0 .32.32c.154.061.365.024.787-.05Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 14 13" id="any-icon-share-editImg"><path d="M13.007 11.385H.997M3.86 8.727l.929-.164a.73.73 0 0 0 .122-.027.347.347 0 0 0 .078-.041.73.73 0 0 0 .092-.084l5.87-5.867c.132-.133.198-.2.224-.276a.347.347 0 0 0 0-.224c-.026-.077-.092-.143-.225-.276l-.766-.766c-.133-.133-.2-.2-.275-.225a.347.347 0 0 0-.225 0c-.076.026-.143.092-.275.225l-5.87 5.867a.73.73 0 0 0-.084.092.347.347 0 0 0-.04.079c-.011.029-.017.06-.028.122l-.163.93c-.044.254-.066.381-.03.473a.347.347 0 0 0 .193.192c.092.037.219.015.473-.03Z" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 12 8" id="any-icon-share-filterSelect"><path d="M10.483 1.077 6.505 6.005c-.438.541-.653.692-.918.804a1.413 1.413 0 0 1-.829.088c-.283-.055-.524-.158-1.064-.596L1.52 4.535" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-share-landmark"><path d="M7.642 5.478a1.835 1.835 0 0 1-2.165 2.165m2.165-2.165a1.835 1.835 0 1 0-2.164 2.165m2.164-2.165h8.715M5.477 7.643v8.714m13.044-8.714a1.835 1.835 0 0 1-2.165-2.165m2.165 2.165a1.835 1.835 0 1 0-2.164-2.165m2.165 2.165v8.714m-10.88 2.165h8.715m-8.715 0a1.835 1.835 0 0 0-2.165-2.165m2.165 2.165a1.835 1.835 0 1 1-2.164-2.165m10.879 2.165a1.835 1.835 0 0 1 2.165-2.165m-2.165 2.165a1.835 1.835 0 1 0 2.165-2.165" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-share-more"><circle cx="12" cy="6" r="1.5" fill="currentColor" /><circle cx="12" cy="12" r="1.5" fill="currentColor" /><circle cx="12" cy="18" r="1.5" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-share-right"><path d="M9.104 6.207 14.896 12l-5.792 5.793" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-share-tag"><path d="m11.275 15.876 4.601-4.6m-2.3 6.9 2.63-2.628m-4.829-4.085v0a1.722 1.722 0 0 1-2.435 0v0a1.722 1.722 0 0 1 0-2.435v0a1.722 1.722 0 0 1 2.435 0v0a1.722 1.722 0 0 1 0 2.435Zm2.75-6.538 8.226 8.225a.93.93 0 0 1 0 1.315l-7.888 7.888a.93.93 0 0 1-1.315 0l-8.225-8.226a.93.93 0 0 1-.266-.768l.845-7.043a.93.93 0 0 1 .813-.812l7.042-.845a.93.93 0 0 1 .768.266Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 23 18" id="any-icon-share-upload"><path d="M18.247 10.176v3.133m0 0v3.133m0-3.133h-3.134m3.134 0h3.133" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" /><path fill-rule="evenodd" clip-rule="evenodd" d="M3.143.857A2.826 2.826 0 0 0 .316 3.684v10.63a2.826 2.826 0 0 0 2.827 2.827H15.37a5.08 5.08 0 0 1-2.67-1.4H3.143a1.426 1.426 0 0 1-1.427-1.427v-.418l4.67-4.67a1.426 1.426 0 0 1 2.017 0l2.749 2.748.051.051a5.075 5.075 0 0 1 .316-1.664L9.393 8.235a2.826 2.826 0 0 0-3.996 0l-3.68 3.68V3.685a1.426 1.426 0 0 1 1.426-1.427H15.9a1.426 1.426 0 0 1 1.426 1.427v3.462c.497.102.967.277 1.4.512V3.684A2.826 2.826 0 0 0 15.9.857H3.143Z" fill="#949494" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-share-vehicle"><path d="M4.276 10.844V6.658A2.508 2.508 0 0 1 6.784 4.15H17.22a2.508 2.508 0 0 1 2.508 2.508v4.186m-15.45 0v7.505m0-7.505h7.709m-7.71 7.505v1.294c0 .114.093.207.207.207h.721a.207.207 0 0 0 .207-.207V18.35m-1.135 0h1.135m0 0h6.606M1.867 7.167v2.48m17.86 1.197v7.505m0-7.505h-7.71m7.71 7.505v1.294a.207.207 0 0 1-.207.207h-.72a.207.207 0 0 1-.207-.207V18.35m1.134 0h-1.134m0 0h-6.607m10.15-11.182v2.48m-5.86 4.868v.283m-8.548-.288v.27m-.46-.125v-.02a.46.46 0 0 1 .92 0v.02a.46.46 0 1 1-.92 0Zm9.468 0v-.02a.46.46 0 0 0-.922 0v.02a.46.46 0 1 0 .922 0Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-arrowBoard"><rect x="3.848" y="3.757" width="16.303" height="8.536" rx="1.3" stroke="currentColor" stroke-width="1.3" /><path d="m6.848 9.792 1.767-1.767-1.767-1.768M11.117 9.792l1.768-1.767-1.768-1.768M15.383 9.792l1.768-1.767-1.768-1.768" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round" /><path d="M12 12.292v3M10.342 18.946a1.296 1.296 0 0 1-2.593.004m2.593-.004a1.296 1.296 0 1 0-2.593 0v.004m2.593-.004h3.536m2.593 0a1.296 1.296 0 0 1-2.593 0m2.593 0a1.297 1.297 0 0 0-2.593 0m2.593 0 .528.004a1.22 1.22 0 0 0 1.22-1.22v-1.219a1.22 1.22 0 0 0-1.22-1.219H7.005a1.22 1.22 0 0 0-1.22 1.22v1.219c0 .673.546 1.22 1.22 1.22h.744" stroke="currentColor" stroke-width="1.3" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-Boomlifts"><path d="M12.74 15.577c-.147.084-.252.084-.4 0-1.682-.978-3.366-1.946-5.049-2.914-.59-.337-.79-.968-.484-1.504.326-.569.968-.716 1.578-.358.905.526 1.81 1.041 2.714 1.567 1.19.684 2.378 1.368 3.598 2.083-.673.38-1.315.747-1.956 1.126Zm-4.997-3.472c.232 0 .432-.189.432-.42a.418.418 0 0 0-.421-.432.448.448 0 0 0-.442.421c0 .221.21.431.431.431Zm9.68 5.734v-3.798c-.58-.052-1.137-.031-1.642.263-.831.474-1.652.947-2.483 1.431-.273.168-.568.326-.81.537-.452.378-.705 1.03-.642 1.567h5.576ZM7.216 7.855c0 .179-.052.242-.242.242-1.325-.01-2.64-.01-3.966 0-.19 0-.263-.042-.263-.252.01-1.81 0-3.609 0-5.418 0-.18.063-.253.242-.242 1.326.01 2.64.01 3.966 0 .21 0 .263.084.263.284-.01.894 0 1.778 0 2.672 0 .905-.01 1.81 0 2.714ZM3.661 2.963c-.178 0-.136.137-.136.232v3.86c0 .085.01.158.01.253h1.273V2.963H3.661ZM6.428 7.32V2.984H5.187V7.32h1.241Zm2.041 3.04c.526.305 1 .579 1.473.842.063.031.179.01.242-.032 2.094-1.2 4.177-2.41 6.26-3.608a66.1 66.1 0 0 0 1.168-.674c.431-.252.578-.694.357-1.104-.22-.4-.684-.516-1.125-.263-2.105 1.22-4.22 2.44-6.323 3.66-.663.38-1.336.769-2.052 1.179Zm4.282 10.584c.063-.284.116-.547.168-.82.148-.011.306-.022.432-.022-.421-.579-.831-1.136-1.252-1.704h6.112c-.147.168-.315.294-.4.463-.147.284-.326.452-.673.4-.01 0-.02.02-.031.031l-.053.053c.074.052.168.094.232.157.063.063.136.137.136.221.032.41.042.82.053 1.231-1.526-.01-3.125-.01-4.724-.01Zm3.714-1.642c-.147-.105-.4-.063-.6-.094-.01.031-.031.063-.042.084.263.253.505.537.81.747.137.095.379.042.568.063.01-.031.032-.063.042-.084-.263-.232-.494-.516-.778-.715Zm-2.536.022c-.157-.106-.4-.085-.61-.116-.01.02-.01.042-.02.063.262.274.504.579.81.81.115.095.357.01.546.01l.032-.063c-.253-.242-.484-.515-.758-.704Zm1.39.694c.146.105.399.073.599.105.01-.032.031-.063.042-.084-.263-.253-.505-.547-.8-.758-.136-.094-.378-.042-.568-.063-.01.032-.02.053-.031.085.242.252.473.526.757.715Z" fill="currentColor" /><path d="M10.771 21.803a1.707 1.707 0 0 1-1.736-1.683 1.729 1.729 0 0 1 1.715-1.746c.947 0 1.715.757 1.726 1.704 0 .957-.747 1.715-1.705 1.725Zm0-2.504a.815.815 0 0 0-.81.8c0 .431.379.789.8.789.42 0 .768-.358.778-.779 0-.452-.336-.81-.768-.81Zm8.785-.925c.936 0 1.715.768 1.715 1.714 0 .947-.758 1.705-1.715 1.715a1.706 1.706 0 0 1-1.725-1.694c0-.967.757-1.735 1.725-1.735Zm.79 1.714a.811.811 0 0 0-.8-.789.797.797 0 0 0-.79.8c0 .431.369.8.79.789.441-.01.8-.368.8-.8Zm-2.484-6.06v3.809c.463 0 .916.021 1.368-.01.305-.022.526-.316.526-.663.01-.81.01-1.631 0-2.441-.01-.368-.274-.663-.631-.684-.4-.031-.82-.01-1.263-.01ZM7.647 4.772v2.798c.294 0 .6.01.883-.01.043 0 .116-.106.116-.169.01-.2.01-.4.01-.62h3.262V5.59H8.657c0-.22-.01-.41 0-.6.01-.157-.042-.231-.21-.22-.264.01-.527 0-.8 0Zm8.5.63H12.16c0 .485 0 .948.01 1.41 0 .043.106.127.158.127.38.01.747.01 1.126 0a.43.43 0 0 0 .19-.053l2.398-1.389c.032-.01.063-.052.105-.094ZM3.07 4.972h3.84v.347H3.07V4.97Z" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-bulldozer"><path d="M3.025 10.486a.373.373 0 0 0-.374.373v.828a.373.373 0 0 0 .747 0v-.828a.373.373 0 0 0-.373-.373Zm10.686 5.233H6.318a.998.998 0 0 0-1.922.373.997.997 0 0 0 1.922.373h7.393a.998.998 0 0 0 1.922-.373.997.997 0 0 0-1.921-.373Zm-9.315-5.233a.373.373 0 0 0-.373.373v.828a.373.373 0 0 0 .747 0v-.828a.373.373 0 0 0-.374-.373Zm1.37 1.574a.373.373 0 0 0 .374-.373v-.828a.373.373 0 0 0-.747 0v.828c0 .206.167.373.373.373Z" fill="currentColor" /><path d="M22.578 11.591c.143-.467.03-.998-.34-1.366l-3.97-3.97a1.743 1.743 0 0 0-.113-.114l-.013-.013a1.524 1.524 0 0 0-1.011-.38c-.411 0-.796.16-1.085.448L12.99 9.251l-.979-3.457h.203a.373.373 0 0 0 0-.747H8.15a1.51 1.51 0 0 0-1.51 1.51v2.147H2.09a.56.56 0 0 0-.4.165l-.918.92a.56.56 0 0 0-.166.398v2.65a.56.56 0 0 0 .166.4l.976.976a.56.56 0 0 0 .399.165h1.277a2.663 2.663 0 0 0-.803 1.906 2.671 2.671 0 0 0 2.668 2.668h9.455a2.672 2.672 0 0 0 2.668-2.668 2.67 2.67 0 0 0-2.668-2.669h-.9l2.822-2.86.014-.857.687-.686 2.941 2.944c.115.115.247.206.386.271l-1.126 1.912-.16-.094a.325.325 0 0 0-.444.115l-.049.085a.325.325 0 0 0 .116.445l.834.491a2.34 2.34 0 0 0 2.714-3.79ZM12.312 9.595h-1.253l-.726-.726a.56.56 0 0 0-.4-.165H9.25v-2.91h1.984l1.078 3.8ZM7.387 6.556c0-.42.342-.762.763-.762h.357v2.91h-1.12V6.556ZM2.22 13.63l-.868-.868v-2.498l.812-.812H9.86l.725.724a.56.56 0 0 0 .4.165h1.386v1.841H8.604a.373.373 0 0 0 0 .747h3.768v.686H5.288c-.097 0-.195.005-.289.017H2.22v-.002Zm12.523.732c1.06 0 1.922.862 1.922 1.922s-.862 1.922-1.922 1.922H5.288a1.924 1.924 0 0 1-1.922-1.922c0-1.06.862-1.922 1.922-1.922h9.455Zm1.193-4.778-.015.86-2.803 2.84V10.18l3.456-3.455a.78.78 0 0 1 .555-.23.787.787 0 0 1 .555 1.34l-1.748 1.75Zm4.04 1.183-2.084-2.083.321-.321c.203-.203.336-.448.401-.708l2.237 2.237a1.365 1.365 0 0 0-.875.875Zm.86-.015a.618.618 0 1 1 .875.874.618.618 0 0 1-.875-.874Zm1.588 3.422a1.593 1.593 0 0 1-2.182.563l-.032-.02 1.285-2.181c.24-.039.473-.143.667-.312.515.5.642 1.304.262 1.95Z" fill="currentColor" /><path d="M3.025 10.486a.373.373 0 0 0-.374.373v.828a.373.373 0 0 0 .747 0v-.828a.373.373 0 0 0-.373-.373Zm10.686 5.233H6.318a.998.998 0 0 0-1.922.373.997.997 0 0 0 1.922.373h7.393a.998.998 0 0 0 1.922-.373.997.997 0 0 0-1.921-.373Zm-9.315-5.233a.373.373 0 0 0-.373.373v.828a.373.373 0 0 0 .747 0v-.828a.373.373 0 0 0-.374-.373Zm1.37 1.574a.373.373 0 0 0 .374-.373v-.828a.373.373 0 0 0-.747 0v.828c0 .206.167.373.373.373Z" stroke="currentColor" stroke-width=".45" /><path d="M22.578 11.591c.143-.467.03-.998-.34-1.366l-3.97-3.97a1.743 1.743 0 0 0-.113-.114l-.013-.013a1.524 1.524 0 0 0-1.011-.38c-.411 0-.796.16-1.085.448L12.99 9.251l-.979-3.457h.203a.373.373 0 0 0 0-.747H8.15a1.51 1.51 0 0 0-1.51 1.51v2.147H2.09a.56.56 0 0 0-.4.165l-.918.92a.56.56 0 0 0-.166.398v2.65a.56.56 0 0 0 .166.4l.976.976a.56.56 0 0 0 .399.165h1.277a2.663 2.663 0 0 0-.803 1.906 2.671 2.671 0 0 0 2.668 2.668h9.455a2.672 2.672 0 0 0 2.668-2.668 2.67 2.67 0 0 0-2.668-2.669h-.9l2.822-2.86.014-.857.687-.686 2.941 2.944c.115.115.247.206.386.271l-1.126 1.912-.16-.094a.325.325 0 0 0-.444.115l-.049.085a.325.325 0 0 0 .116.445l.834.491a2.34 2.34 0 0 0 2.714-3.79ZM12.312 9.595h-1.253l-.726-.726a.56.56 0 0 0-.4-.165H9.25v-2.91h1.984l1.078 3.8ZM7.387 6.556c0-.42.342-.762.763-.762h.357v2.91h-1.12V6.556ZM2.22 13.63l-.868-.868v-2.498l.812-.812H9.86l.725.724a.56.56 0 0 0 .4.165h1.386v1.841H8.604a.373.373 0 0 0 0 .747h3.768v.686H5.288c-.097 0-.195.005-.289.017H2.22v-.002Zm12.523.732c1.06 0 1.922.862 1.922 1.922s-.862 1.922-1.922 1.922H5.288a1.924 1.924 0 0 1-1.922-1.922c0-1.06.862-1.922 1.922-1.922h9.455Zm1.193-4.778-.015.86-2.803 2.84V10.18l3.456-3.455a.78.78 0 0 1 .555-.23.787.787 0 0 1 .555 1.34l-1.748 1.75Zm4.04 1.183-2.084-2.083.321-.321c.203-.203.336-.448.401-.708l2.237 2.237a1.365 1.365 0 0 0-.875.875Zm.86-.015a.618.618 0 1 1 .875.874.618.618 0 0 1-.875-.874Zm1.588 3.422a1.593 1.593 0 0 1-2.182.563l-.032-.02 1.285-2.181c.24-.039.473-.143.667-.312.515.5.642 1.304.262 1.95Z" stroke="currentColor" stroke-width=".45" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-bumperPullTrailer"><path d="M1.613 11.92H4.76m-3.147 0v3.02m0-3.02.004-3.552H6.81m-2.05 3.552-3.146 3.02m3.147-3.02h2.045m-5.192 3.02v.692m9.82-3.712a1.84 1.84 0 0 0-.034 1.222 1.845 1.845 0 1 0 3.48-1.222m-3.446 0H6.805m4.628 0a1.85 1.85 0 0 1 .563-.775m2.883.775a1.85 1.85 0 0 0-1.723-1.185 1.835 1.835 0 0 0-1.16.41m2.883.775h2.063m3.446 0a1.85 1.85 0 0 0-1.723-1.185 1.835 1.835 0 0 0-1.477.74m3.2.445h1.991l.004-3.552h-5.191m3.196 3.552a1.84 1.84 0 0 1 .034 1.222 1.845 1.845 0 0 1-3.514 0l-.088-.563c0-.232.043-.454.122-.659m0 0c.061-.16.144-.31.246-.445M12 8.368H6.81m5.191 0h5.192m-5.192 0-.004 2.777M6.81 8.368l-.004 3.552m10.387-3.552-.004 3.107" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-bus"><path d="M15.75 5.626c1.925.005 3.22.021 3.22.058 0 .098 1.496 1.55 2.428 2.439a.75.75 0 0 1 .232.543v2.818m-5.88-5.858v4.448m0-4.448c-1.565-.003-3.546.001-5.587.01m11.467 5.848v3.613a.75.75 0 0 1-.75.75H19.46m2.171-4.363H16.5a.75.75 0 0 1-.75-.75v-.66m-13.383 0V6.428a.75.75 0 0 1 .744-.75l2.715-.019m-3.459 4.415v5.023c0 .415.336.75.75.75h1.209m-1.959-5.773h3.459m9.924 0h-5.587m0-4.438v4.438m0-4.438c-1.459.006-2.948.014-4.337.023m4.337 4.415H5.826m0-4.415v4.415m9.515 5.773a2.103 2.103 0 0 1 4.118 0m-4.118 0a2.102 2.102 0 1 0 4.118 0m-4.118 0H8.444m-4.118 0a2.103 2.103 0 0 1 4.118 0m-4.118 0a2.102 2.102 0 1 0 4.118 0" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-container"><path d="M4.286 10.393h5.143m-5.143 0L5.668 9.01a1.5 1.5 0 0 1 1.06-.44h.45m-2.892 1.822a2.036 2.036 0 0 0-2.036 2.036v2.357c0 .236.192.428.429.428h1.49m5.26-4.821V8.57m0 1.822v4.821m-2.25-6.643h2.25m-2.25 0V6.643c0-.355.287-.643.642-.643H9.43m0 2.571V6m0 0h11.464c.473 0 .857.384.857.857v7.5a.857.857 0 0 1-.857.857h-.205m-11.26 0H8.26m1.17 0h.955m-6.214 0a2.14 2.14 0 0 1 2.045-1.5 2.14 2.14 0 0 1 2.044 1.5m-4.09 0a2.143 2.143 0 1 0 4.09 0m2.125 0a2.14 2.14 0 0 1 2.045-1.5 2.14 2.14 0 0 1 2.044 1.5m-4.09 0a2.143 2.143 0 1 0 4.09 0m0 0h2.125m4.09 0a2.14 2.14 0 0 0-2.045-1.5 2.14 2.14 0 0 0-2.045 1.5m4.09 0a2.143 2.143 0 1 1-4.09 0" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-dump"><path d="M2.695 16.248a.65.65 0 1 0 0 1.3v-1.3Zm15.422 1.3a.65.65 0 1 0 0-1.3v1.3Zm-14.268-.541a.65.65 0 1 0-1.3 0h1.3Zm-1.3 4.088a.65.65 0 1 0 1.3 0h-1.3Zm4.575-3.629a.65.65 0 0 0-.92-.92l.92.92Zm-4.388 2.55a.65.65 0 0 0 .919.919l-.92-.92ZM8.27 3.014l.325-.563-.325.563Zm12.624 7.288-.325.563.325-.563Zm.299 1.117.563.325-.563-.325Zm-2.601 4.505-.563-.325.563.325Zm-1.117.3-.325.562.325-.563ZM4.852 8.934l-.325.563.325-.563Zm-.3-1.116-.562-.325.563.325Zm2.602-4.506.563.325-.563-.325Zm.62 7.119.557.334.358-.597-.62-.316-.296.579Zm3.976-5.087a.65.65 0 0 0-1.11-.677l1.11.677Zm-4.108 4.24a.65.65 0 0 0 1.11.677l-1.11-.677Zm7.602-2.23a.65.65 0 0 0-1.097-.697l1.097.698Zm-4.597 4.803a.65.65 0 0 0 1.097.698l-1.097-.698Zm7.747-2.896a.65.65 0 0 0-1.124-.653l1.124.653ZM14.01 14.22a.65.65 0 0 0 1.124.653l-1.124-.653Zm-5.55 4.108.575.304-.574-.304Zm9-.817a.168.168 0 0 1-.168.167v1.3c.81 0 1.467-.657 1.467-1.467h-1.3Zm-9.904.167a.168.168 0 0 1-.168-.167h-1.3c0 .81.657 1.467 1.468 1.467v-1.3Zm3.558 1.468c0 .609-.494 1.103-1.103 1.103v1.3a2.403 2.403 0 0 0 2.403-2.403h-1.3Zm-1.103 1.103a1.103 1.103 0 0 1-1.102-1.103h-1.3a2.403 2.403 0 0 0 2.402 2.403v-1.3Zm6.752-1.103c0 .609-.494 1.103-1.103 1.103v1.3a2.403 2.403 0 0 0 2.403-2.403h-1.3ZM15.66 20.25c-.61 0-1.103-.494-1.103-1.103h-1.3a2.403 2.403 0 0 0 2.403 2.403v-1.3ZM2.55 17.007v4.088h1.3v-4.088h-1.3Zm3.654-.46-3.468 3.469.919.919 3.469-3.469-.92-.92Zm1.742-12.97 12.623 7.288.65-1.126L8.595 2.451l-.65 1.126Zm12.623 7.288c.08.046.107.149.061.229l1.126.65c.405-.702.165-1.6-.537-2.005l-.65 1.126Zm.061.229-2.601 4.505 1.126.65 2.601-4.505-1.126-.65Zm-2.601 4.505a.168.168 0 0 1-.229.062l-.65 1.125c.702.406 1.6.165 2.005-.537l-1.126-.65Zm-.229.062L5.177 8.372l-.65 1.126 12.623 7.288.65-1.126ZM5.177 8.372a.168.168 0 0 1-.062-.228l-1.125-.65c-.406.701-.165 1.599.537 2.004l.65-1.126Zm-.062-.228 2.602-4.506-1.126-.65L3.99 7.494l1.125.65Zm2.602-4.506a.168.168 0 0 1 .229-.061l.65-1.126a1.468 1.468 0 0 0-2.005.537l1.126.65Zm-.502 7.239.263.134.59-1.158-.264-.135-.59 1.159Zm3.425-6.209L7.642 9.585l1.11.677 2.998-4.917-1.11-.677Zm3.507 1.99-3.5 5.5 1.097.698 3.5-5.5-1.097-.698Zm3.123 1.95-3.26 5.613 1.124.653 3.26-5.612-1.124-.653Zm-5.133 9.418a2.403 2.403 0 0 0-2.126-1.282v1.3c.423 0 .79.237.977.589l1.149-.607Zm-2.126-1.282c-.923 0-1.723.52-2.125 1.282l1.15.607c.185-.352.553-.589.975-.589v-1.3Zm7.774 1.282a2.403 2.403 0 0 0-2.125-1.282v1.3c.422 0 .79.237.976.589l1.15-.607Zm-2.125-1.282c-.923 0-1.724.52-2.126 1.282l1.15.607c.186-.352.554-.589.976-.589v-1.3Zm-8.645.804h10.817v-1.3H7.015v1.3Zm.373-.036c0-.05.021-.095.057-.126l-.86-.975a1.466 1.466 0 0 0-.497 1.1h1.3Zm-4.693.036h4.32v-1.3h-4.32v1.3Zm15.137 0h.285v-1.3h-.285v1.3Zm-3.275 1.599c0-.187.046-.361.127-.514l-1.15-.607a2.396 2.396 0 0 0-.277 1.12h1.3Zm2.845-1.761a.166.166 0 0 1 .057.126h1.3c0-.44-.193-.833-.497-1.101l-.86.975Zm-.766 1.247c.08.153.127.327.127.514h1.3c0-.404-.1-.786-.278-1.121l-1.15.607Zm-7.727.514c0-.187.046-.361.126-.514l-1.15-.607a2.395 2.395 0 0 0-.276 1.12h1.3Zm2.079-.514c.08.153.126.327.126.514h1.3c0-.404-.1-.786-.277-1.121l-1.15.607Zm6.304-.954h-.081v1.3h.08v-1.3Zm-3.183 0h-2.547v1.3h2.547v-1.3Zm-5.648 0h-.905v1.3h.905v-1.3Zm-1.245-7.581-3.88 6.466 1.115.669 3.88-6.467-1.115-.668Z" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-excavator"><path d="M22.066 16.565h-.883a.328.328 0 0 1-.328-.327 2.514 2.514 0 0 0-2.503-2.504 2.514 2.514 0 0 0-2.503 2.504c0 .18-.148.327-.328.327h-1.57a.328.328 0 0 1-.328-.327 2.514 2.514 0 0 0-2.503-2.504 2.514 2.514 0 0 0-2.503 2.504c0 .18-.147.327-.327.327h-.72a.328.328 0 0 1-.328-.327v-4.45a.33.33 0 0 1 .262-.312L20.48 8.695a.33.33 0 0 1 .36.18l1.505 3.19a.476.476 0 0 1 .033.148v4.057c.016.148-.13.295-.31.295Zm-.573-.655h.246v-3.648l-1.375-2.88-12.467 2.667v3.878h.082a3.16 3.16 0 0 1 6.283 0h.965a3.16 3.16 0 0 1 3.141-2.83c1.62-.017 2.962 1.226 3.125 2.813Z" fill="#020202" /><path d="M20.512 13.276a.164.164 0 0 1-.163-.163V11.95l-.819-1.718c-.032-.082 0-.18.082-.213s.18 0 .213.082l.834 1.75c.017.017.017.05.017.066v1.21c0 .083-.066.148-.164.148ZM7.57 16.565H5.82a.328.328 0 0 1-.328-.327c0-.18.147-.328.327-.328h1.767c.18 0 .328.148.328.328a.354.354 0 0 1-.344.327Z" fill="#020202" /><path d="M5.82 18.381H1.941a.32.32 0 0 1-.246-.115.342.342 0 0 1-.065-.278c.033-.18.965-4.368 2.732-7.248a.337.337 0 0 1 .278-.164H5.82c.18 0 .328.148.328.328v7.15c-.017.18-.148.327-.328.327Zm-3.47-.654h3.142v-6.512h-.687c-1.325 2.29-2.176 5.415-2.454 6.512Zm16.003 1.668a3.17 3.17 0 0 1-3.158-3.157 3.17 3.17 0 0 1 3.157-3.158 3.17 3.17 0 0 1 3.158 3.158 3.15 3.15 0 0 1-3.158 3.157Zm-.001-5.66a2.514 2.514 0 0 0-2.503 2.503 2.514 2.514 0 0 0 2.503 2.503 2.513 2.513 0 0 0 2.503-2.503 2.503 2.503 0 0 0-2.503-2.504Z" fill="#020202" /><path d="M18.353 17.612a1.383 1.383 0 0 1-1.374-1.374c0-.753.621-1.375 1.374-1.375.753 0 1.374.622 1.374 1.375 0 .752-.621 1.374-1.374 1.374Zm0-2.422c-.573 0-1.047.475-1.047 1.048 0 .572.474 1.047 1.047 1.047s1.047-.475 1.047-1.047c0-.573-.474-1.048-1.047-1.048Zm-7.232 4.205a3.17 3.17 0 0 1-3.158-3.157 3.17 3.17 0 0 1 3.158-3.158 3.17 3.17 0 0 1 3.158 3.158 3.16 3.16 0 0 1-3.158 3.157Zm0-5.66a2.514 2.514 0 0 0-2.503 2.503 2.514 2.514 0 0 0 2.503 2.503 2.514 2.514 0 0 0 2.503-2.503 2.514 2.514 0 0 0-2.503-2.504Z" fill="#020202" /><path d="M11.12 17.612a1.383 1.383 0 0 1-1.374-1.374c0-.753.622-1.375 1.374-1.375.753 0 1.375.622 1.375 1.375 0 .752-.622 1.374-1.374 1.374Zm0-2.421c-.572 0-1.047.474-1.047 1.047 0 .572.475 1.047 1.047 1.047.573 0 1.048-.475 1.048-1.047 0-.573-.475-1.047-1.047-1.047Zm.573-4.238-.638-.131L12.12 5.88a1.644 1.644 0 0 1 1.603-1.277h5.367c.916 0 1.652.737 1.652 1.653v2.994h-.654V6.257a.992.992 0 0 0-.998-.998h-5.367a.98.98 0 0 0-.965.769l-1.064 4.925Z" fill="#020202" /><path d="M13.478 10.675h-.033a.17.17 0 0 1-.13-.196l.735-3.764a.16.16 0 0 1 .164-.13h4.287c.082 0 .163.065.163.163v2.716a.164.164 0 0 1-.327 0V6.928h-3.976l-.72 3.616a.16.16 0 0 1-.163.13Z" fill="#020202" /><path d="M20.855 16.238c0 .18.148.327.328.327h.883c.18 0 .327-.148.311-.295v-4.057a.476.476 0 0 0-.033-.148l-1.505-3.19a.33.33 0 0 0-.36-.18L7.504 11.476a.33.33 0 0 0-.262.311v4.45c0 .18.148.328.328.328m13.285-.327a2.514 2.514 0 0 0-2.503-2.504m2.503 2.504a2.513 2.513 0 0 1-2.503 2.503 2.514 2.514 0 0 1-2.503-2.503m5.006 0a2.503 2.503 0 0 0-2.503-2.504m0 0a2.514 2.514 0 0 0-2.503 2.504m0 0c0 .18-.148.327-.328.327h-1.57a.328.328 0 0 1-.328-.327 2.514 2.514 0 0 0-2.503-2.504 2.514 2.514 0 0 0-2.503 2.504c0 .18-.147.327-.327.327h-.72m0 0H5.82a.328.328 0 0 1-.328-.327c0-.18.147-.328.327-.328h1.767c.18 0 .328.148.328.328a.354.354 0 0 1-.344.327Zm13.923-.655h.246v-3.648l-1.375-2.88-12.467 2.667v3.878h.082a3.16 3.16 0 0 1 6.283 0h.965a3.16 3.16 0 0 1 3.141-2.83c1.62-.017 2.962 1.226 3.125 2.813Zm-.98-2.634a.164.164 0 0 1-.165-.163V11.95l-.818-1.718c-.032-.082 0-.18.082-.213s.18 0 .213.082l.834 1.75c.017.017.017.05.017.066v1.21c0 .083-.066.148-.164.148ZM5.818 18.381H1.942a.32.32 0 0 1-.246-.115.342.342 0 0 1-.065-.278c.033-.18.965-4.368 2.732-7.248a.337.337 0 0 1 .278-.164H5.82c.18 0 .328.148.328.328v7.15c-.017.18-.148.327-.328.327Zm-3.468-.654h3.141v-6.512h-.687c-1.325 2.29-2.176 5.415-2.454 6.512Zm16.002 1.668a3.17 3.17 0 0 1-3.158-3.157 3.17 3.17 0 0 1 3.157-3.158 3.17 3.17 0 0 1 3.158 3.158 3.15 3.15 0 0 1-3.158 3.157Zm0-1.783a1.383 1.383 0 0 1-1.374-1.374c0-.753.621-1.375 1.374-1.375.753 0 1.374.622 1.374 1.375 0 .752-.621 1.374-1.374 1.374Zm0-2.422c-.573 0-1.047.475-1.047 1.048 0 .572.474 1.047 1.047 1.047s1.047-.475 1.047-1.047c0-.573-.474-1.048-1.047-1.048Zm-7.232 4.205a3.17 3.17 0 0 1-3.158-3.157 3.17 3.17 0 0 1 3.158-3.158 3.17 3.17 0 0 1 3.158 3.158 3.16 3.16 0 0 1-3.158 3.157Zm0-5.66a2.514 2.514 0 0 0-2.503 2.503 2.514 2.514 0 0 0 2.503 2.503 2.514 2.514 0 0 0 2.503-2.503 2.514 2.514 0 0 0-2.503-2.504Zm0 3.877a1.383 1.383 0 0 1-1.375-1.374c0-.753.622-1.375 1.374-1.375.753 0 1.375.622 1.375 1.375 0 .752-.622 1.374-1.374 1.374Zm0-2.421c-.573 0-1.048.474-1.048 1.047 0 .572.475 1.047 1.047 1.047.573 0 1.048-.475 1.048-1.047 0-.573-.475-1.047-1.047-1.047Zm.572-4.238-.638-.131L12.12 5.88a1.644 1.644 0 0 1 1.603-1.277h5.367c.916 0 1.652.737 1.652 1.653v2.994h-.654V6.257a.992.992 0 0 0-.998-.998h-5.367a.98.98 0 0 0-.965.769l-1.064 4.925Zm1.785-.278h-.033a.17.17 0 0 1-.13-.196l.735-3.764a.16.16 0 0 1 .164-.13h4.287c.082 0 .163.065.163.163v2.716a.164.164 0 0 1-.327 0V6.928h-3.976l-.72 3.616a.16.16 0 0 1-.163.13Z" stroke="currentColor" stroke-width=".6" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-Flatbed"><g clip-path="url(#any-icon-vehicle-Flatbed_a)"><path d="M1.804 11.525H.59V7.768h22.818v3.757h-.341m-21.263 0h3.758m-3.758 0v3.985m3.758-3.985L1.804 15.51m3.758-3.985H7.35M1.804 15.51v.721m5.547-4.706v2.581h1.816m-1.816-2.58h2.76m12.956 0v2.58h-2.042m2.042-2.58H20.08m-6.647 2.58a2.238 2.238 0 0 0-.944-2.58m.944 2.58a2.24 2.24 0 0 1-4.267 0m4.267 0h3.324m-4.268-2.58a2.23 2.23 0 0 0-1.19-.342 2.23 2.23 0 0 0-1.189.341m2.379 0h5.212m-7.59 0a2.238 2.238 0 0 0-.945 2.581m11.858 0a2.238 2.238 0 0 0-.944-2.58m.944 2.58a2.24 2.24 0 0 1-4.267 0m3.323-2.58a2.23 2.23 0 0 0-1.19-.342 2.23 2.23 0 0 0-1.189.341m0 0a2.238 2.238 0 0 0-.944 2.581" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></g><defs><clipPath id="any-icon-vehicle-Flatbed_a"><path fill="#fff" d="M0 0h24v24H0z" /></clipPath></defs></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-forklift"><path d="M21.213 17.907h-3.348V3.473a.656.656 0 1 0-1.31 0V13.97H15.06l-1.875-5.63a3.274 3.274 0 0 0-3.11-2.243H6.723a.656.656 0 0 0-.656.656v5.905H2.788a.657.657 0 0 0-.655.656v5.249a.656.656 0 0 0 .655.656h.656a1.967 1.967 0 1 0 3.933 0h2.715a2.62 2.62 0 0 0 2.53 1.968 2.626 2.626 0 0 0 2.621-2.624v-.656h1.311v.656a.655.655 0 0 0 .656.656h4.003a.656.656 0 0 0 0-1.312Zm-9.272-9.152 1.737 5.215H11.51l-1.548-1.032C9.797 11.526 8.77 10.38 7.377 10.1V7.41h2.699a1.964 1.964 0 0 1 1.865 1.345Zm-4.564 2.712a1.92 1.92 0 0 1 1.19 1.191h-1.19v-1.191ZM5.41 19.875a.656.656 0 1 1 0-1.313.656.656 0 0 1 0 1.313Zm1.456-1.968c-.36-.4-.877-.656-1.456-.656s-1.094.256-1.455.656h-.511V13.97h5.701l1.802 1.202c.108.072.234.11.364.11h2.621v1.022a2.538 2.538 0 0 0-1.31-.365 2.62 2.62 0 0 0-2.53 1.968H6.866Zm5.755 1.968a1.312 1.312 0 1 1-.002-2.623 1.312 1.312 0 0 1 .002 2.623Zm2.622-3.28v-1.312h1.311v1.312h-1.31Z" fill="currentColor" stroke="currentColor" stroke-width=".2" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-goods"><path d="m13.383 5.103-.324.563.325-.563Zm8.372 4.833.325-.562-.325.562Zm.199.741.563.325-.563-.325Zm-1.725 2.988-.563-.325.563.325Zm-.741.199.325-.563-.325.563ZM11.116 9.03l-.325.563.325-.563Zm-.198-.74-.563-.326.563.325ZM12.643 5.3l.563.325-.563-.325Zm2.934 1.48a.65.65 0 0 0-1.11-.677l1.11.677Zm-3.072 2.54a.65.65 0 0 0 1.11.677l-1.11-.676Zm5.514-1.095a.65.65 0 0 0-1.119-.662l1.119.662Zm-3.083 2.654a.65.65 0 1 0 1.118.663l-1.118-.662Zm5.115-1.155a.65.65 0 1 0-1.126-.65l1.126.65Zm-2.826 2.295a.65.65 0 1 0 1.125.65l-1.125-.65ZM6.683 14.03h.65a.65.65 0 0 0-.65-.65v.65Zm-2.539 0v-.65a.65.65 0 0 0-.4.137l.4.513Zm-2.167 1.686-.4-.513a.65.65 0 0 0-.25.513h.65Zm0 .952h-.65c0 .359.29.65.65.65v-.65Zm7.335-8.336h.65a.65.65 0 0 0-.65-.65v.65Zm-1.34 0v-.65a.65.65 0 0 0-.439.17l.44.48ZM7.243 9l-.439-.479a.65.65 0 0 0-.21.48h.65Zm13.233 5.409h.65a.65.65 0 0 0-.65-.65v.65Zm-10.603 0v-.65a.65.65 0 0 0-.65.65h.65Zm10.603 2.259v.65a.65.65 0 0 0 .65-.65h-.65Zm-1.845 0-.274.59.274-.59Zm-1.015 0 .274.59-.274-.59Zm-3.122 0-.274.59.274-.59Zm-1.015 0 .274.59-.274-.59Zm-4.167 0v.65-.65Zm-5.165 0-.274.59.274-.59ZM13.06 5.666l8.371 4.833.65-1.125L13.71 4.54l-.65 1.126Zm8.371 4.833a.108.108 0 0 1-.04-.147l1.127.65c.329-.57.134-1.3-.437-1.628l-.65 1.125Zm-.04-.147-1.724 2.988 1.125.65 1.726-2.988-1.126-.65Zm-1.724 2.988a.108.108 0 0 1 .147-.04l-.65 1.127c.57.329 1.3.133 1.628-.437l-1.125-.65Zm.147-.04-8.372-4.833-.65 1.126 8.372 4.834.65-1.126Zm-8.372-4.833c.052.03.07.096.04.147l-1.126-.65c-.33.57-.134 1.3.436 1.629l.65-1.126Zm.04.147 1.725-2.988-1.126-.65-1.725 2.988 1.126.65Zm1.725-2.988a.108.108 0 0 1-.147.04l.65-1.126c-.57-.33-1.3-.134-1.63.436l1.127.65Zm1.26.478-1.96 3.218 1.11.676 1.96-3.217-1.11-.677Zm2.434 1.46-1.964 3.316 1.118.663 1.965-3.317-1.119-.662Zm2.025 1.51-1.7 2.946 1.125.65 1.7-2.945-1.125-.65ZM7.333 16.669V14.03h-1.3v2.638h1.3Zm-.65-3.288H4.144v1.3h2.54v-1.3Zm-2.938.137-2.167 1.686.798 1.026 2.167-1.686-.798-1.026Zm-2.418 2.199v.952h1.3v-.952h-1.3Zm.455 2.047c0 1.026.831 1.857 1.857 1.857v-1.3a.557.557 0 0 1-.557-.557h-1.3ZM3.64 19.62a1.857 1.857 0 0 0 1.857-1.857h-1.3c0 .308-.25.557-.557.557v1.3Zm.995-5.65V11.9h-1.3v2.07h1.3Zm0-2.07a.04.04 0 0 1 .04-.039v-1.3c-.74 0-1.34.6-1.34 1.34h1.3Zm.04-.039h2.759v-1.3h-2.76v1.3Zm4.638-4.18h-1.34v1.3h1.34v-1.3Zm-1.779.172-.729.668.879.958.729-.668-.879-.958Zm12.943 5.906H9.873v1.3h10.603v-1.3Zm.65 2.909v-2.259h-1.3v2.259h1.3Zm-8.996 1.095c0 1.026.831 1.857 1.857 1.857v-1.3a.557.557 0 0 1-.557-.557h-1.3Zm1.857 1.857a1.857 1.857 0 0 0 1.857-1.857h-1.3c0 .308-.25.557-.557.557v1.3Zm2.28-1.857c0 1.026.83 1.857 1.856 1.857v-1.3a.557.557 0 0 1-.556-.557h-1.3Zm1.856 1.857a1.857 1.857 0 0 0 1.857-1.857h-1.3c0 .308-.249.557-.557.557v1.3Zm-5.61-9.947-2.8 4.386 1.097.7 2.798-4.387-1.095-.7Zm4.83 6.405a1.857 1.857 0 0 0-1.076 1.685h1.3c0-.223.13-.417.323-.506l-.547-1.179Zm2.637 1.685c0-.748-.442-1.39-1.076-1.685l-.547 1.18c.192.088.323.282.323.505h1.3Zm-1.857-1.857c-.277 0-.542.061-.78.172l.547 1.18a.553.553 0 0 1 .233-.052v-1.3Zm.781.172a1.852 1.852 0 0 0-.78-.172v1.3c.084 0 .163.019.233.051l.547-1.179Zm-.273 1.24h1.845v-1.3h-1.845v1.3Zm-2.787.445c0-.748-.442-1.39-1.076-1.685l-.548 1.18c.192.088.324.282.324.505h1.3Zm-2.638-1.685a1.857 1.857 0 0 0-1.076 1.685h1.3c0-.223.13-.417.323-.506l-.547-1.179Zm.78-.172c-.277 0-.542.061-.78.172l.547 1.18a.553.553 0 0 1 .234-.052v-1.3Zm.508 1.412h3.122v-1.3h-3.122v1.3Zm.274-1.24a1.852 1.852 0 0 0-.781-.172v1.3c.085 0 .163.019.233.051l.547-1.179ZM6.592 9v7.668h1.3V9h-1.3Zm.09 8.318h.56v-1.3h-.56v1.3Zm3.28-.65V8.332h-1.3v8.336h1.3Zm-.09.65h3.606v-1.3H9.873v1.3Zm-.65-2.909v2.259h1.3v-2.259h-1.3Zm.09 2.909h.56v-1.3h-.561v1.3Zm0-1.3h-2.07v1.3h2.07v-1.3Zm-6.456.06a1.857 1.857 0 0 0-1.075 1.685h1.3c0-.223.131-.416.323-.506l-.548-1.178Zm2.639 1.685c0-.747-.441-1.39-1.075-1.684l-.548 1.178c.192.09.323.283.323.506h1.3Zm-1.857-1.857c-.278 0-.544.062-.782.173l.548 1.178a.553.553 0 0 1 .234-.05v-1.3Zm.782.173a1.852 1.852 0 0 0-.782-.173v1.3c.085 0 .164.019.234.052l.548-1.18Zm-2.444 1.239H3.13v-1.3H1.977v1.3Zm2.17 0h2.536v-1.3H4.147v1.3Z" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-gooseneckTrailer"><g clip-path="url(#any-icon-vehicle-gooseneckTrailer_a)"><path d="M6.64 12v1a1 1 0 0 0 1 1h5.791m-6.79-2c0-.552.447 1.17 1 1.17h14c.552 0 1.719.028 1.719.58v.852S22.193 14 21.64 14h-1.4m-13.6-2v4m0-4V9.535a1 1 0 0 0-.445-.832L5.141 8H1.974a1 1 0 0 0-.6.2l-.333.25a1 1 0 0 0-.4.8v.25m5 6.5h2m8.23-2a1.31 1.31 0 1 1-2.44 0m2.44 0a1.311 1.311 0 0 0-2.44 0m2.44 0h1.93m2.44 0a1.311 1.311 0 1 1-2.44 0m2.44 0a1.311 1.311 0 0 0-2.44 0" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" /></g><defs><clipPath id="any-icon-vehicle-gooseneckTrailer_a"><path fill="#fff" d="M0 0h24v24H0z" /></clipPath></defs></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-heavyDutyTruck"><path d="M12.963 4.5h2.1v5.379m0 3.63v3.41m0-3.41v-.613m0 .613H.98v3.41H2.06m13.002 0h.962m-.962 0h-.219m.22-7.04h4.416v3.018m-4.417-3.018v3.018m4.417 0 3.542 2.798v1.225h-1.429m-2.113-4.024h-3.455m-.962 0h.962M3.837 16.92a1.443 1.443 0 1 1-1.778 0m1.778 0a1.437 1.437 0 0 0-.889-.306c-.335 0-.643.114-.888.306m1.777 0h3.295m1.778 0a1.443 1.443 0 1 1-1.778 0m1.778 0a1.437 1.437 0 0 0-.889-.306c-.335 0-.644.114-.889.306m1.778 0h2.66m10.022 0a1.443 1.443 0 1 1-1.778 0m1.778 0a1.437 1.437 0 0 0-.889-.306c-.335 0-.643.114-.888.306m0 0h-3.79m0-4.024v4.024m-4.454 0H14.843m-3.272 0v1.88h3.272v-1.88" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-heavyDutyTruckHaul"><path d="M15.062 13.509v3.41m0-3.41v-.613m0 .613h-3.491m3.491 3.41h.962m-.962 0h-.219m.22-7.04V4.5H11.57m3.491 5.379h4.417v3.018m-4.417-3.018v3.018m4.417 0 3.542 2.798v1.225h-1.429m-2.113-4.024h-3.455m-.962 0h.962m-.962 0h-3.491M3.837 16.92a1.443 1.443 0 1 1-1.778 0m1.778 0a1.437 1.437 0 0 0-.889-.306c-.335 0-.643.114-.888.306m1.777 0h3.295m-5.072 0H.98v-3.411h10.59m-2.66 3.41a1.443 1.443 0 1 1-1.778 0m1.778 0a1.437 1.437 0 0 0-.889-.305c-.335 0-.644.114-.889.306m1.778 0h2.66m10.022 0a1.443 1.443 0 1 1-1.778 0m1.778 0a1.437 1.437 0 0 0-.889-.306c-.335 0-.643.114-.888.306m0 0h-3.79m0-4.024v4.024m-4.454 0H14.843m-3.272 0v1.88h3.272v-1.88M9.464 4.5h2.107m0 0v8.396m0 .613v-.613" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-ISOTank"><path d="M21.873 10.88 7.906 2.787a.263.263 0 0 0-.255 0L2.129 5.923A.257.257 0 0 0 2 6.145v6.925a.254.254 0 0 0 .13.222l14.039 7.921a.26.26 0 0 0 .248.002l5.369-2.932a.256.256 0 0 0 .133-.221L22 11.1a.308.308 0 0 0-.024-.145.361.361 0 0 0-.103-.075Zm-.4 1.436-.7-.377.705-.4-.005.777Zm-18.962-.07.244.262-.244.161v-.423Zm.176.773.337-.222.808.868-1.145-.646Zm13.354 7.534L14.7 19.8l1.339.093.002.66Zm.003-1.172-2.374-.166-8.43-4.756-1.8-1.935 1.244-.817L15.8 18.279l.011-3.73-.071-.126L3.419 7.4a4.869 4.869 0 0 0-.425 2.113 1.941 1.941 0 0 0 .9 1.729l.413.244-1.139.749-.657-.708V6.586l13.549 7.722-.016 5.073Zm.273-5.514L14.1 12.6 2.772 6.145l4.8-2.728v1.641l-.462-.267c-.963-.426-2.3.307-3.214 1.7L16.388 13.6l3.065-1.735S10.739 6.872 7.965 5.281V3.413L21.229 11.1l-.981.553h-.006v.008l-2.195 1.237-1.73.969Zm.918.069-.665.859v-.485l.665-.374Zm-.683 6.623v-.838l.821.388-.821.45Zm4.858-2.653-.644.351.651-.94-.007.589Zm-1.637.894-1.842 1.006-1.374-.649.01-3.522 1.815-2.345 1.871-1.054 1.215.659-.008.7a1.373 1.373 0 0 0-.665-1.014c-.941-.471-2.439.613-3.345 2.421-.906 1.808-.878 3.657.063 4.129.941.472 2.438-.613 3.344-2.422.282-.558.48-1.155.587-1.771l-.017 1.466-1.654 2.396Z" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-lightDutyTruck"><path d="M14.728 13.92V7.102a.75.75 0 0 1 .75-.75h2.106a.75.75 0 0 1 .711.51l2.071 6.165a.75.75 0 0 1 .04.24v3.93c0 .25-.203.452-.453.452v0m-5.225-3.729v3.729m0-3.729h-.89m.89-9.795h2.06m-2.06 13.524h-.89m.89 0h1.12m-2.01-3.729h-9.49a.75.75 0 0 0-.75.75V16.9c0 .414.335.75.75.75h1.037m8.453-3.729v3.729m0 0H9.49m-4.105 0a2.06 2.06 0 0 1 4.105 0m-4.105 0a2.06 2.06 0 1 0 4.105 0m6.358 0a2.06 2.06 0 0 1 4.105 0m-4.105 0a2.06 2.06 0 1 0 4.105 0m-8.08-5.581H5.64a.75.75 0 0 1-.73-.581l-.822-3.549a.75.75 0 0 1 .73-.919h7.053a.75.75 0 0 1 .75.75v3.549a.75.75 0 0 1-.75.75Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-mediumDutyTruck"><path d="M14.728 11.082v-3.98a.75.75 0 0 1 .75-.75h1.895a.75.75 0 0 1 .75.75v3.98m-3.395 0v2.838m0-2.838h3.395m-3.395 2.838v3.729m0-3.729h-.89m4.285-2.838v.97c0 .198.08.389.22.53l1.842 1.842c.141.14.22.331.22.53v2.243c0 .25-.202.452-.452.452v0M14.728 4.125h2.06m-2.06 13.524h-.89m.89 0h1.12m-2.01-3.729h-9.49a.75.75 0 0 0-.75.75V16.9c0 .414.335.75.75.75h1.037m8.453-3.729v3.729m0 0H9.49m-4.105 0a2.06 2.06 0 0 1 4.105 0m-4.105 0a2.06 2.06 0 1 0 4.105 0m6.358 0a2.06 2.06 0 0 1 4.105 0m-4.105 0a2.06 2.06 0 1 0 4.105 0m-8.08-10.63H4.818a.75.75 0 0 0-.73.92l.821 3.548a.75.75 0 0 0 .73.58h6.232a.75.75 0 0 0 .75-.75V7.77a.75.75 0 0 0-.75-.75Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-pneumatic"><path d="m19.692 13.953-.571-.183.571.183Zm-1.913 0 .572-.183-.572.183Zm1.49-1.157.32-.508-.32.508Zm3.095 1.157-.572-.183.571.183Zm-1.913 0 .571-.183-.571.183ZM5.169 11.166a.6.6 0 0 0-.873-.824l.873.824ZM2.782 12.82v.6h.007l-.007-.6Zm-1.747-.6a.6.6 0 1 0 0 1.2v-1.2Zm-.017 1.5a.6.6 0 0 0 1.2 0h-1.2Zm7.262-.9a.6.6 0 1 0-1.2 0h1.2Zm-1.05 1.143a.6.6 0 1 0 0 1.2v-1.2Zm.832 1.2a.6.6 0 0 0 0-1.2v1.2Zm10.304-4.832a.6.6 0 0 0-.851.847l.85-.847Zm1.18 2.888a.6.6 0 1 0 .851-.846l-.85.846Zm-9.5-.638.427-.422-.427.422Zm-.529-.535.427-.422a.6.6 0 0 0-.86.006l.433.416Zm-.507.527.433.415-.433-.415Zm-.728.247v.6-.6Zm-1.46 0v-.6.6Zm-.158-.045.322-.506-.322.506Zm-2.083-2.294-.543.255.543-.255Zm-.035-.175-.598-.047.598.047Zm1.14-.956v-.6.6Zm6.069 3.47v-.6.6Zm.765-.24-.426-.421.426.422Zm.53-.534.432-.416a.6.6 0 0 0-.86-.006l.427.422Zm.506.527.433-.416-.433.416Zm2.346.202-.322-.506.322.506Zm2.084-2.294.543.255-.543-.255Zm.034-.175.598-.047-.598.047Zm-1.14-.956v-.6.6Zm6.082 4.046a.6.6 0 1 0 0-1.2v1.2Zm-2.99-.576v.6h.016l-.016-.6Zm-.667 0-.34.494.34-.494Zm.959 1.316c.05-.155.076-.32.076-.489h-1.2a.4.4 0 0 1-.02.123l1.144.366Zm-2.38-1.848c-.45.283-.752.785-.752 1.359h1.2c0-.144.074-.27.19-.343l-.639-1.016Zm-.752 1.359c0 .17.026.334.076.49l1.143-.367a.403.403 0 0 1-.02-.123h-1.2Zm1.604.404a.405.405 0 0 1-.385-.28l-1.143.365a1.605 1.605 0 0 0 1.528 1.115v-1.2Zm-.214-.747a.4.4 0 0 1 .214-.061v-1.2a1.6 1.6 0 0 0-.853.245l.639 1.016Zm.214-.061a.4.4 0 0 1 .214.061l.638-1.016a1.6 1.6 0 0 0-.852-.245v1.2Zm.385.527a.404.404 0 0 1-.385.281v1.2c.716 0 1.32-.469 1.528-1.115l-1.143-.366Zm3.814.366c.05-.155.076-.32.076-.489h-1.2a.403.403 0 0 1-.019.123l1.143.366Zm.076-.489c0-.574-.301-1.076-.752-1.359l-.638 1.016c.116.073.19.2.19.343h1.2Zm-3.208 0c0 .17.026.334.076.49l1.143-.367a.403.403 0 0 1-.019-.123h-1.2Zm1.604.404a.404.404 0 0 1-.385-.28l-1.143.365a1.605 1.605 0 0 0 1.528 1.115v-1.2Zm-.214-.747a.4.4 0 0 1 .214-.061v-1.2a1.6 1.6 0 0 0-.852.245l.638 1.016Zm.214-.061a.4.4 0 0 1 .214.061l.638-1.016a1.6 1.6 0 0 0-.852-.245v1.2Zm.385.527a.404.404 0 0 1-.385.281v1.2c.716 0 1.321-.469 1.528-1.115l-1.143-.366Zm-1.452-.123c0-.089-.008-.177-.022-.262l-1.184.195a.405.405 0 0 1 .006.067h1.2Zm.215-1.359c-.38.239-.654.633-.73 1.097l1.183.195a.405.405 0 0 1 .185-.276l-.638-1.016Zm-.73 1.097a1.612 1.612 0 0 0-.022.262h1.2c0-.023.002-.046.005-.067l-1.184-.195Zm-.099.697h.69v-1.2h-.69v1.2Zm-18.69-.662h.582v-1.2h-.583v1.2Zm.582 0h1.164v-1.2H1.618v1.2Zm-.6-.6v.9h1.2v-.9h-1.2Zm6.062 0v1.743h1.2V12.82h-1.2Zm.6 1.743v-.6H7.23v1.2H7.68v-.6Zm0 .6h.382v-1.2H7.68v1.2Zm9.835-3.985 2.032 2.041.85-.846-2.031-2.042-.851.847Zm-7.042.981-.53-.535-.853.844.53.535.853-.844Zm-1.389-.53-.506.528.865.832.507-.528-.866-.831Zm-.802.59h-1.46v1.2h1.46v-1.2Zm-1.296.05c-.475-.302-1.406-1.074-1.863-2.044l-1.085.511c.59 1.256 1.729 2.18 2.305 2.546l.643-1.013Zm-1.842-1.915a.422.422 0 0 1 .118-.275c.057-.055.175-.13.424-.13v-1.2c-.513 0-.946.165-1.26.469a1.62 1.62 0 0 0-.478 1.04l1.196.096Zm7.803 2.649.529-.535-.853-.844-.53.535.854.844Zm-.33-.541.506.527.866-.832-.507-.527-.865.832Zm1.687.958h1.44v-1.2h-1.44v1.2Zm1.92-.138c.576-.366 1.714-1.29 2.305-2.546l-1.086-.51c-.456.969-1.387 1.741-1.863 2.043l.643 1.013Zm2.394-3.023a1.621 1.621 0 0 0-.478-1.041c-.313-.304-.746-.468-1.26-.468v1.2c.25 0 .367.074.424.13a.422.422 0 0 1 .118.274l1.196-.095Zm-2.874 3.16c.16 0 .329-.041.48-.137l-.644-1.013a.308.308 0 0 1 .164-.05v1.2Zm-2.62-.43c.185.192.44.29.609.341.187.056.394.09.57.09v-1.2a.906.906 0 0 1-.325-.077c-.024-.012-.014-.011.01.014l-.865.832Zm-8-2.764a.255.255 0 0 1 .02.129l-1.196-.095a.947.947 0 0 0 .09.477l1.085-.51Zm1.698 1.995c.049 0 .107.013.164.049l-.643 1.013c.15.096.319.138.48.138v-1.2Zm4.933 1.2c.171 0 .38-.032.568-.084.165-.047.433-.14.624-.333l-.853-.844c.029-.03.043-.031.015-.018a1.059 1.059 0 0 1-.354.079v1.2Zm-3.177-1.263c.02-.022.029-.022.007-.01a.816.816 0 0 1-.303.073v1.2c.178 0 .382-.034.567-.091.17-.053.413-.152.594-.34l-.865-.832Zm9.95-1.42a.947.947 0 0 0 .09-.478l-1.196.095a.253.253 0 0 1 .021-.128l1.086.51Zm-7.825 1.483a.531.531 0 0 1-.223-.059c-.016-.008-.016-.01-.007-.002l-.853.844c.163.165.366.264.536.322.175.06.367.095.547.095v-1.2Zm1.052 0h-1.052v1.2h1.052v-1.2ZM5.686 9.95H16.88v-1.2H5.686v1.2Zm-1.39.392-1.95 2.066.872.824 1.95-2.066-.872-.824ZM2.79 13.42l3.882-.045-.013-1.2-3.883.045.014 1.2Zm13.107-.045 2.301.021.01-1.2-2.3-.02-.01 1.2Zm6.044.021h1.022v-1.2H21.94v1.2Zm-1.082-1.2-.902.024.032 1.2.902-.024-.032-1.2Zm-.54 1.189a1.604 1.604 0 0 0-.672-1.059l-.681.988c.09.062.151.157.17.266l1.183-.195Zm-.672-1.059a1.594 1.594 0 0 0-.058-.038l-.638 1.016.015.01.68-.988Zm.326-.106h-.667v1.2h.667v-1.2Z" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-portableTrafficLights"><rect x="8.148" y="1.858" width="7.7" height="13.2" rx="1.2" stroke="currentColor" stroke-width="1.3" /><circle cx="11.998" cy="5.709" r="1.65" stroke="currentColor" stroke-width="1.3" /><circle cx="11.998" cy="11.209" r="1.65" stroke="currentColor" stroke-width="1.3" /><path d="M12 15.059v2.133" stroke="currentColor" stroke-width="1.43" /><path d="M10.338 20.845a1.296 1.296 0 0 1-2.592.005m2.592-.005a1.296 1.296 0 1 0-2.592 0v.005m2.592-.005h3.536m2.593 0a1.296 1.296 0 0 1-2.593 0m2.593 0a1.297 1.297 0 0 0-2.593 0m2.593 0 .528.005a1.22 1.22 0 0 0 1.22-1.22v-1.22a1.22 1.22 0 0 0-1.22-1.219H7.001a1.22 1.22 0 0 0-1.22 1.22v1.22c0 .673.546 1.219 1.22 1.219h.745" stroke="currentColor" stroke-width="1.3" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-Scissorlifts"><path d="m13.355 8.347.028-.062.804.363-.028.062-.804-.363Z" fill="currentColor" /><path d="m15.756 9.279-.085.188-1.544-.697c-.005-.002-.007-.007-.005-.011l.077-.171c.003-.005.007-.007.012-.005l1.545.696ZM13.352 11.46l.027-.062.804.363-.028.062-.803-.363Z" fill="currentColor" /><path d="m15.756 12.392-.085.188-1.544-.696c-.005-.003-.007-.007-.005-.012l.077-.171c.003-.005.007-.007.012-.005l1.545.696ZM13.402 14.59l.028-.063.803.363-.027.062-.804-.363Z" fill="currentColor" /><path d="m15.803 15.521-.085.188-1.544-.696c-.005-.003-.008-.007-.005-.012l.077-.171c.003-.005.007-.007.012-.005l1.545.696ZM9.684 8.71l-.028-.062.803-.363.028.062-.803.363Z" fill="currentColor" /><path d="m8.086 9.279.084.188 1.545-.697c.005-.002.007-.007.005-.011l-.078-.171c-.002-.005-.007-.007-.012-.005l-1.544.696ZM9.68 11.823l-.028-.062.804-.363.027.062-.803.363Z" fill="currentColor" /><path d="m8.086 12.392.084.188 1.545-.696c.005-.003.007-.007.005-.012l-.078-.171c-.002-.005-.007-.007-.012-.005l-1.544.696ZM9.633 14.952l-.028-.062.804-.363.028.062-.804.363Z" fill="currentColor" /><path d="m8.035 15.52.084.187 1.545-.696c.004-.002.007-.007.004-.011l-.077-.171c-.002-.005-.007-.008-.012-.005l-1.544.696Zm-2.077 3.35 12.286-3.294a.032.032 0 0 0 .024-.04l-.195-.726a.032.032 0 0 0-.04-.024L5.747 18.08a.032.032 0 0 0-.023.04l.194.727c.005.018.024.03.04.023Z" fill="currentColor" /><path d="M18.033 18.87 5.747 15.58a.032.032 0 0 1-.023-.04l.194-.726a.032.032 0 0 1 .04-.024l12.286 3.293a.032.032 0 0 1 .024.04l-.195.727c-.005.016-.021.028-.04.02Z" fill="currentColor" /><path d="m5.958 15.838 12.286-3.293a.032.032 0 0 0 .024-.04l-.195-.727a.032.032 0 0 0-.04-.023l-12.286 3.29a.032.032 0 0 0-.023.04l.194.727c.005.019.024.03.04.026Z" fill="currentColor" /><path d="M18.033 15.838 5.747 12.545a.032.032 0 0 1-.023-.04l.194-.727a.032.032 0 0 1 .04-.023l12.286 3.29a.032.032 0 0 1 .024.04l-.195.727c-.005.019-.021.03-.04.026Z" fill="currentColor" /><path d="m5.958 12.701 12.286-3.293a.032.032 0 0 0 .024-.04l-.195-.726a.032.032 0 0 0-.04-.024L5.747 11.911a.032.032 0 0 0-.023.04l.194.727c.005.018.024.03.04.023Z" fill="currentColor" /><path d="M18.033 12.699 5.747 9.409a.032.032 0 0 1-.023-.04l.194-.727a.032.032 0 0 1 .04-.024l12.286 3.293a.032.032 0 0 1 .024.04l-.195.727c-.005.016-.021.028-.04.02Z" fill="currentColor" /><path d="m5.958 9.592 12.286-3.293a.032.032 0 0 0 .024-.04l-.195-.727a.032.032 0 0 0-.04-.023L5.747 8.799a.032.032 0 0 0-.023.04l.194.727c.005.019.024.03.04.026Z" fill="currentColor" /><path d="M18.033 9.592 5.747 6.299a.032.032 0 0 1-.023-.04l.194-.727a.032.032 0 0 1 .04-.023l12.286 3.293a.032.032 0 0 1 .024.04l-.195.726a.033.033 0 0 1-.04.024Z" fill="currentColor" /><path d="M18.993 6.324H5.031a.183.183 0 0 1-.183-.183V2.548c0-.58.472-1.052 1.053-1.052h12.225c.581 0 1.052.471 1.052 1.052v3.593a.187.187 0 0 1-.185.183Zm-13.59-.902H18.62V2.745a.73.73 0 0 0-.73-.73H6.136a.73.73 0 0 0-.73.73v2.677h-.003Zm13.538 12.651H5.052a.22.22 0 0 0-.22.22v1.419c0 .122.098.22.22.22h1.594a.73.73 0 0 1 .731.731v.978c0 .122.099.22.22.22h8.8a.22.22 0 0 0 .22-.22v-.978a.73.73 0 0 1 .73-.731h1.594a.22.22 0 0 0 .22-.22v-1.418a.22.22 0 0 0-.22-.22ZM11.75 7.569a.26.26 0 1 0 .52 0 .26.26 0 0 0-.52 0Z" fill="currentColor" /><path d="M11.871 7.57a.14.14 0 1 0 .281 0 .14.14 0 0 0-.28 0ZM6.316 9.118a.192.192 0 1 0 .385 0 .192.192 0 0 0-.385 0Z" fill="currentColor" /><path d="M6.402 9.121a.105.105 0 1 0 .211 0 .105.105 0 0 0-.21 0ZM6.316 12.231a.192.192 0 1 0 .384 0 .192.192 0 0 0-.384 0Z" fill="currentColor" /><path d="M6.402 12.23a.105.105 0 1 0 .21 0 .105.105 0 0 0-.21 0ZM6.316 15.36a.192.192 0 1 0 .385 0 .192.192 0 0 0-.385 0Z" fill="currentColor" /><path d="M6.402 15.36a.106.106 0 1 0 .212 0 .106.106 0 0 0-.212 0ZM17.328 9.118a.192.192 0 1 0 .385 0 .192.192 0 0 0-.385 0Z" fill="currentColor" /><path d="M17.418 9.121a.105.105 0 1 0 .21 0 .105.105 0 0 0-.21 0ZM17.328 12.231a.192.192 0 1 0 .384 0 .192.192 0 0 0-.384 0Z" fill="currentColor" /><path d="M17.418 12.23a.105.105 0 1 0 .21 0 .105.105 0 0 0-.21 0ZM17.328 15.36a.193.193 0 1 0 .385 0 .193.193 0 0 0-.385 0Z" fill="currentColor" /><path d="M17.418 15.36a.106.106 0 1 0 .211 0 .106.106 0 0 0-.211 0ZM11.75 10.612a.26.26 0 1 0 .52 0 .26.26 0 0 0-.52 0Z" fill="currentColor" /><path d="M11.871 10.613a.14.14 0 1 0 .281 0 .14.14 0 0 0-.28 0ZM11.75 13.8a.26.26 0 1 0 .52 0 .26.26 0 0 0-.52 0Z" fill="currentColor" /><path d="M11.871 13.8a.14.14 0 1 0 .281 0 .14.14 0 0 0-.28 0ZM11.75 16.877a.26.26 0 1 0 .52 0 .26.26 0 0 0-.52 0Z" fill="currentColor" /><path d="M11.871 16.879a.14.14 0 1 0 .28 0 .14.14 0 0 0-.28 0ZM4.71 21.325a1.165 1.165 0 1 0 2.331 0 1.165 1.165 0 0 0-2.33 0Z" fill="currentColor" /><path d="M5.227 21.325a.649.649 0 1 0 1.297 0 .649.649 0 0 0-1.297 0Z" fill="currentColor" /><path d="M5.55 21.323a.323.323 0 1 0 .647 0 .323.323 0 0 0-.646 0ZM16.96 21.325a1.165 1.165 0 1 0 2.332 0 1.165 1.165 0 0 0-2.331 0Z" fill="currentColor" /><path d="M17.477 21.325a.65.65 0 1 0 1.299 0 .65.65 0 0 0-1.3 0Z" fill="currentColor" /><path d="M17.8 21.323a.324.324 0 1 0 .648 0 .324.324 0 0 0-.647 0ZM5.293 3.438h13.329v.278H5.293v-.279Z" fill="currentColor" /><path d="M9.121 6.329V1.5H9.4v4.828h-.279Zm5.474 0V1.5h.28v4.828h-.28Z" fill="currentColor" /><path d="M9.285 4.016h5.45V5.12h-5.45V4.016Z" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-semiTrailerChassis"><path d="M4.889 9.741H1v4.124m3.889-4.124L1 13.865m3.889-4.124h1.85M1 13.865v.747m5.74-4.87v2.67h1.88m-1.88-2.67h2.857m3.438 2.67a2.317 2.317 0 0 0-.977-2.67m.977 2.67a2.318 2.318 0 0 1-4.415 0m4.415 0h3.44m-4.417-2.67a2.306 2.306 0 0 0-1.23-.354c-.453 0-.875.13-1.231.353m2.461 0h5.394m-7.855 0a2.316 2.316 0 0 0-.977 2.671m12.27 0a2.317 2.317 0 0 0-.976-2.67m.976 2.67h2.113v-2.67h-3.09m.977 2.67a2.318 2.318 0 0 1-4.415 0m3.439-2.67a2.306 2.306 0 0 0-1.231-.354c-.452 0-.874.13-1.23.353m0 0a2.316 2.316 0 0 0-.978 2.671" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-semiTrailerGears"><path d="m3.168 13.295.006 5.141m4.15-5.14L3.17 17.45m9.598-1.439a2.625 2.625 0 0 1 5.216 0m-5.216 0a2.625 2.625 0 1 0 5.216 0m-5.216 0H9.282a.68.68 0 0 1-.68-.679v-1.358a.68.68 0 0 1 .68-.68h12.907v2.038a.68.68 0 0 1-.68.68h-3.526m-2.984-10.95 1.5.461m3.376 1.038-1.125-.346m-2.25-.692v3.695m0-3.695 1.125.346M16.5 9.22H2.488a.68.68 0 0 0-.68.68v2.717c0 .375.305.68.68.68H21.51a.68.68 0 0 0 .679-.68V9.898a.68.68 0 0 0-.68-.679h-2.76m-2.25 0h1.126m0-3.349V9.22m0-3.349 1.125.346M17.625 9.22h1.125m0-3.003V9.22" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-semiTrailerTank"><path d="m2.965 12.907.005 5.26m4.246-5.26-4.252 4.251m.695-11.94h1.066m3.98 0H7.56m-2.835 0v3.52m0-3.52h.929m-.929 3.52H3.66a2.085 2.085 0 1 0 0 4.17h16.68a2.085 2.085 0 1 0 0-4.17H7.56m-2.835 0h.929m0-3.52v3.52m0-3.52.846.005m-.846 3.514H6.5m0-3.514v3.514m0-3.514 1.06-.004M6.5 8.737h1.06m0-3.518v3.518m10.638 6.95a1.836 1.836 0 0 1 1.25-.487c.484 0 .924.185 1.25.487m-2.5 0a1.77 1.77 0 0 0-.574 1.303c0 .99.817 1.791 1.824 1.791 1.007 0 1.824-.802 1.824-1.79 0-.514-.22-.977-.573-1.304m-2.501 0H12.74m7.959 0h1.029a.695.695 0 0 0 .695-.695v-2.085H9.218a.695.695 0 0 0-.695.695v1.39c0 .384.311.695.695.695h1.021m0 0a1.836 1.836 0 0 1 1.25-.487c.485 0 .925.185 1.251.487m-2.5 0a1.77 1.77 0 0 0-.574 1.303c0 .99.817 1.791 1.824 1.791 1.007 0 1.824-.802 1.824-1.79 0-.514-.22-.977-.574-1.304" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-stepDeck"><path d="M6.154 10.03v2.348m0-2.348h3.203m-3.203 0h-2.63m2.63 2.348h3.203m-3.203 0-2.63 2.672m5.833-2.672v2.198h1.546m-1.546-2.198h2.35m11.031 0h.291V10.03H9.357m13.381 2.348v2.198H21m1.738-2.198h-2.542m-5.66 2.198a1.906 1.906 0 0 0-.803-2.198m.803 2.198a1.908 1.908 0 0 1-3.633 0m3.633 0h2.831m-3.634-2.198a1.898 1.898 0 0 0-1.013-.29c-.372 0-.72.106-1.013.29m2.026 0h4.438m-6.464 0a1.905 1.905 0 0 0-.804 2.198m10.097 0a1.906 1.906 0 0 0-.804-2.198M21 14.576a1.908 1.908 0 0 1-3.633 0m2.83-2.198a1.898 1.898 0 0 0-1.014-.29c-.372 0-.719.106-1.012.29m0 0a1.905 1.905 0 0 0-.804 2.198m-8.01-4.546V8.1H.969v1.93h2.554m0 0v5.02m0 0v.713" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-VANTrailer"><path d="M6.774 14.111V4.875h5.057m-5.056 9.236-.92-.006m.92.006.827.005m-1.747-.01L2.178 17.93m3.677-3.825c-1.306-.008-2.551-.017-3.677-.026m0 3.85v-3.85m0 3.85v.644M.89 14.068l1.287.011m5.424.037v1.056H9.01m-1.41-1.056c1.396.008 2.828.016 4.23.021m10.598-.026c.383-.011.6-.025.618-.043.147-.146 0-9.193 0-9.193h-5.24m4.622 9.236-.485 1.06h-.306m.791-1.06c-.852.025-2.524.037-4.622.038M9.01 15.172a2.385 2.385 0 0 1 1.809-.828c.722 0 1.37.321 1.808.828m-3.617 0a2.39 2.39 0 1 0 3.617 0m0 0h5.393m0 0a2.385 2.385 0 0 1 1.808-.828c.723 0 1.37.321 1.809.828m-3.617 0a2.39 2.39 0 1 0 3.617 0M11.831 4.875v9.262m0-9.262h5.976m-5.976 9.262c2.139.01 4.209.014 5.976.012m0-9.274v9.274" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol>',n.insertBefore(o,n.lastChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",t):t()}return{install(t){try{t.component("TextClamp",MH)}catch{}t.component("anSvgIcon",vH),t.component("anytrekTimerangePick",XV),t.component("anytrekTimePick",fB),t.component("vehicleSelect",AD),t.component("addOrEditVehicle",bP),t.component("addOrEditTag",hF),t.component("addOrEditLandmark",OF),t.component("AddOrEditShare",gH)}}});