tsv2-library 1.0.61-alpha.89 → 1.0.61-alpha.90

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.
@@ -70996,7 +70996,9 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
70996
70996
  const field2 = reactive({
70997
70997
  value: props.modelValue
70998
70998
  });
70999
- const currencyOptions = shallowRef(currencies);
70999
+ const currencyOptions = shallowRef(
71000
+ currencies.filter((currency2) => currency2.currency !== getCurrency().currency)
71001
+ );
71000
71002
  const locale2 = computed(() => {
71001
71003
  var _a2;
71002
71004
  return (_a2 = selectedCurrency.value) == null ? void 0 : _a2.locale;
@@ -71125,24 +71127,28 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
71125
71127
  setup(__props, { emit: __emit }) {
71126
71128
  const props = __props;
71127
71129
  const emit = __emit;
71128
- const show6 = ref(false);
71130
+ const isInputVisible = ref(false);
71129
71131
  const updateValue2 = (payload) => emit("update:modelValue", payload);
71132
+ const handleAdd = () => {
71133
+ updateValue2({ currency: "USD", value: 0 });
71134
+ isInputVisible.value = true;
71135
+ };
71130
71136
  const handleDelete = () => {
71131
71137
  updateValue2(void 0);
71132
- show6.value = false;
71138
+ isInputVisible.value = false;
71133
71139
  };
71134
71140
  watch(
71135
71141
  () => props.modelValue ?? props.value,
71136
71142
  (value) => {
71137
71143
  if (value)
71138
- show6.value = true;
71144
+ isInputVisible.value = true;
71139
71145
  },
71140
71146
  { immediate: true }
71141
71147
  );
71142
71148
  return (_ctx, _cache) => {
71143
- return !show6.value ? (openBlock(), createBlock(_sfc_main$1n, {
71149
+ return !isInputVisible.value ? (openBlock(), createBlock(_sfc_main$1n, {
71144
71150
  key: 0,
71145
- onClick: _cache[0] || (_cache[0] = ($event) => show6.value = true),
71151
+ onClick: handleAdd,
71146
71152
  "aria-label": "Add currency input",
71147
71153
  icon: "add-line",
71148
71154
  outlined: ""
@@ -45,4 +45,4 @@ function pn(e){return"function"==typeof e}function hn(e){return null==e}const jn
45
45
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
46
46
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
47
47
  PERFORMANCE OF THIS SOFTWARE.
48
- ***************************************************************************** */function uf(e,t){var i,o;return e&&t?(i=""+e+t[0].toUpperCase()+t.slice(1),o=e+"-"+t):(i=e||t,o=e||t),{name:i,classname:o}}function gf(e){return/^blob:/.test(e)}function df(e){return gf(e)||/^data:/.test(e)}function Nf(e){return!!(e&&e.constructor&&e.call&&e.apply)}function Ef(e){return void 0===e}function yf(e){return"object"==typeof e&&null!==e}function If(e,t,i){var o={};return yf(e)?(Object.keys(t).forEach((function(r){Ef(e[r])?o[r]=t[r]:yf(t[r])?yf(e[r])?o[r]=If(e[r],t[r],i[r]):o[r]=e[r]?t[r]:i[r]:!0===t[r]||!1===t[r]?o[r]=Boolean(e[r]):o[r]=e[r]})),o):e?t:i}function pf(e){var t=Number(e);return Number.isNaN(t)?e:t}function hf(e){return typeof("number"==e||(t=e,"object"==typeof t&&null!==t&&"[object Number]"==toString.call(e)))&&!jf(e);var t}function jf(e){return e!=e}function Tf(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}var wf=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.type="manipulateImage",this.move=e,this.scale=t},Df=function(e,t){void 0===t&&(t={}),this.type="resize",this.directions=e,this.params=t},mf=function(e){this.type="move",this.directions=e},Bf=function(){function e(e,t,i,o,r){this.type="drag",this.nativeEvent=e,this.position=i,this.previousPosition=o,this.element=t,this.anchor=r}return e.prototype.shift=function(){var e=this,t=e.element,i=e.anchor,o=e.position;if(t){var r=t.getBoundingClientRect(),n=r.left,a=r.top;return{left:o.left-n-i.left,top:o.top-a-i.top}}return{left:0,top:0}},e}(),xf={name:"DraggableElement",props:{classname:{type:String}},beforeMount:function(){window.addEventListener("mouseup",this.onMouseUp,{passive:!1}),window.addEventListener("mousemove",this.onMouseMove,{passive:!1}),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd,{passive:!1})},beforeUnmount:function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},mounted:function(){if(!this.$refs.draggable)throw new Error('You should add ref "draggable" to your root element to use draggable mixin');this.touches=[],this.hovered=!1},methods:{onMouseOver:function(){this.hovered||(this.hovered=!0,this.$emit("enter"))},onMouseLeave:function(){this.hovered&&!this.touches.length&&(this.hovered=!1,this.$emit("leave"))},onTouchStart:function(e){e.cancelable&&!this.disabled&&1===e.touches.length&&(this.touches=of(e.touches),this.hovered||(this.$emit("enter"),this.hovered=!0),e.touches.length&&this.initAnchor(this.touches.reduce((function(t,i){return{clientX:t.clientX+i.clientX/e.touches.length,clientY:t.clientY+i.clientY/e.touches.length}}),{clientX:0,clientY:0})),e.preventDefault&&e.preventDefault(),e.stopPropagation())},onTouchEnd:function(){this.processEnd()},onTouchMove:function(e){this.touches.length&&(this.processMove(e,e.touches),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation())},onMouseDown:function(e){if(!this.disabled){var t={fake:!0,clientX:e.clientX,clientY:e.clientY};this.touches=[t],this.initAnchor(t),e.stopPropagation()}},onMouseMove:function(e){this.touches.length&&(this.processMove(e,[{fake:!0,clientX:e.clientX,clientY:e.clientY}]),e.preventDefault&&e.preventDefault())},onMouseUp:function(){this.processEnd()},initAnchor:function(e){var t=this.$refs.draggable.getBoundingClientRect(),i=t.left,o=t.right,r=t.bottom,n=t.top;this.anchor={left:e.clientX-i,top:e.clientY-n,bottom:r-e.clientY,right:o-e.clientX}},processMove:function(e,t){var i=of(t);if(this.touches.length){if(1===this.touches.length&&1===i.length){var o=this.$refs.draggable;this.$emit("drag",new Bf(e,o,{left:i[0].clientX,top:i[0].clientY},{left:this.touches[0].clientX,top:this.touches[0].clientY},this.anchor))}this.touches=i}},processEnd:function(){this.touches.length&&this.$emit("drag-end"),this.hovered&&(this.$emit("leave"),this.hovered=!1),this.touches=[]}},emits:["drag","drag-end","leave","enter"],render:function(e,i,o,r,n,a){return t.openBlock(),t.createBlock("div",{ref:"draggable",class:o.classname,onTouchstart:i[1]||(i[1]=function(){return a.onTouchStart&&a.onTouchStart.apply(a,arguments)}),onMousedown:i[2]||(i[2]=function(){return a.onMouseDown&&a.onMouseDown.apply(a,arguments)}),onMouseover:i[3]||(i[3]=function(){return a.onMouseOver&&a.onMouseOver.apply(a,arguments)}),onMouseleave:i[4]||(i[4]=function(){return a.onMouseLeave&&a.onMouseLeave.apply(a,arguments)})},[t.renderSlot(e.$slots,"default")],34)}},Lf=sf("vue-handler-wrapper"),ff={name:"HandlerWrapper",components:{DraggableElement:xf},props:{horizontalPosition:{type:String},verticalPosition:{type:String},disabled:{type:Boolean,default:!1}},computed:{classes:function(){var e;if(this.horizontalPosition||this.verticalPosition){var t,i=uf(this.horizontalPosition,this.verticalPosition);e=Lf((tf(t={},i.classname,!0),tf(t,"disabled",this.disabled),t))}else e=Lf({disabled:this.disabled});return{root:e,draggable:Lf("draggable")}}},emits:["leave","enter","drag","drag-end"],render:function(e,i,o,r,n,a){var l=t.resolveComponent("DraggableElement");return t.openBlock(),t.createBlock("div",{class:a.classes.root},[t.createVNode(l,{class:a.classes.draggable,onDrag:i[1]||(i[1]=function(t){return e.$emit("drag",t)}),onDragEnd:i[2]||(i[2]=function(t){return e.$emit("drag-end")}),onLeave:i[3]||(i[3]=function(t){return e.$emit("leave")}),onEnter:i[4]||(i[4]=function(t){return e.$emit("enter")})},{default:t.withCtx((function(){return[t.renderSlot(e.$slots,"default")]})),_:3},8,["class"])],2)}},zf=sf("vue-line-wrapper"),Cf={name:"LineWrapper",components:{DraggableElement:xf},props:{position:{type:String,required:!0},disabled:{type:Boolean,default:!1}},computed:{classname:function(){var e;return zf((tf(e={},this.position,!0),tf(e,"disabled",this.disabled),e))}},emits:["leave","enter","drag","drag-end"],render:function(e,i,o,r,n,a){var l=t.resolveComponent("DraggableElement");return t.openBlock(),t.createBlock(l,{class:a.classname,onDrag:i[1]||(i[1]=function(t){return e.$emit("drag",t)}),onDragEnd:i[2]||(i[2]=function(t){return e.$emit("drag-end")}),onLeave:i[3]||(i[3]=function(t){return e.$emit("leave")}),onEnter:i[4]||(i[4]=function(t){return e.$emit("enter")})},{default:t.withCtx((function(){return[t.renderSlot(e.$slots,"default")]})),_:3},8,["class"])}},Qf=["left","right","top","bottom"],kf=["left","right"],bf=["top","bottom"],vf=["left","top"],Sf=["fill-area","fit-area","stencil","none"],Of={left:0,top:0,width:0,height:0};function Yf(e,t,i){return!(i=i||["width","height","left","top"]).some((function(i){return e[i]!==t[i]}))}function Uf(e){return{left:e.left,top:e.top,right:e.left+e.width,bottom:e.top+e.height}}function Ff(e,t){return{left:e.left-t.left,top:e.top-t.top}}function Rf(e){return{left:e.left+e.width/2,top:e.top+e.height/2}}function Gf(e,t){var i={left:0,top:0,right:0,bottom:0};return Qf.forEach((function(o){var r=t[o],n=Uf(e)[o];i[o]=void 0!==r&&void 0!==n?"left"===o||"top"===o?Math.max(0,r-n):Math.max(0,n-r):0})),i}function Hf(e,t){return{left:e.left-t.left,top:e.top-t.top,width:e.width+t.left+t.right,height:e.height+t.top+t.bottom}}function Pf(e){return{left:-e.left,top:-e.top}}function Vf(e,t){return Mf(Mf({},e),{left:e.left+t.left,top:e.top+t.top})}function Jf(e,t,i,o){if(1!==t){if(i){var r=Rf(e);return{width:e.width*t,height:e.height*t,left:e.left+e.width*(1-t)/2+(i.left-r.left)*(o||1-t),top:e.top+e.height*(1-t)/2+(i.top-r.top)*(o||1-t)}}return{width:e.width*t,height:e.height*t,left:e.left+e.width*(1-t)/2,top:e.top+e.height*(1-t)/2}}return e}function Wf(e){return e.width/e.height}function Kf(e,t){return Math.min(void 0!==t.right&&void 0!==t.left?(t.right-t.left)/e.width:1/0,void 0!==t.bottom&&void 0!==t.top?(t.bottom-t.top)/e.height:1/0)}function Xf(e,t){var i={left:0,top:0},o=Gf(e,t);return o.left&&o.left>0?i.left=o.left:o.right&&o.right>0&&(i.left=-o.right),o.top&&o.top>0?i.top=o.top:o.bottom&&o.bottom>0&&(i.top=-o.bottom),i}function Zf(e,t){var i;return t.minimum&&e<t.minimum?i=t.minimum:t.maximum&&e>t.maximum&&(i=t.maximum),i}function _f(e,t){var i=Wf(e),o=Wf(t);return t.width<1/0&&t.height<1/0?i>o?{width:t.width,height:t.width/i}:{width:t.height*i,height:t.height}:t.width<1/0?{width:t.width,height:t.width/i}:t.height<1/0?{width:t.height*i,height:t.height}:e}function qf(e,t){var i=t*Math.PI/180;return{width:Math.abs(e.width*Math.cos(i))+Math.abs(e.height*Math.sin(i)),height:Math.abs(e.width*Math.sin(i))+Math.abs(e.height*Math.cos(i))}}function $f(e,t){var i=t*Math.PI/180;return{left:e.left*Math.cos(i)-e.top*Math.sin(i),top:e.left*Math.sin(i)+e.top*Math.cos(i)}}function ez(e,t){var i=Gf(tz(e,t),t);return i.left+i.right+i.top+i.bottom?i.left+i.right>i.top+i.bottom?Math.min((e.width+i.left+i.right)/e.width,Kf(e,t)):Math.min((e.height+i.top+i.bottom)/e.height,Kf(e,t)):1}function tz(e,t,i){void 0===i&&(i=!1);var o=Xf(e,t);return Vf(e,i?Pf(o):o)}function iz(e){return{width:void 0!==e.right&&void 0!==e.left?e.right-e.left:1/0,height:void 0!==e.bottom&&void 0!==e.top?e.bottom-e.top:1/0}}function oz(e,t,i){void 0===i&&(i=!0);var o={};return Qf.forEach((function(r){var n=e[r],a=t[r];void 0!==n&&void 0!==a?o[r]="left"===r||"top"===r?i?Math.max(n,a):Math.min(n,a):i?Math.min(n,a):Math.max(n,a):void 0!==a?o[r]=a:void 0!==n&&(o[r]=n)})),o}function rz(e,t){return oz(e,t,!0)}function nz(e){var t=e.size,i=e.aspectRatio,o=e.ignoreMinimum,r=e.sizeRestrictions;return Boolean((t.correctRatio||Wf(t)>=i.minimum&&Wf(t)<=i.maximum)&&t.height<=r.maxHeight&&t.width<=r.maxWidth&&t.width&&t.height&&(o||t.height>=r.minHeight&&t.width>=r.minWidth))}function az(e,t){return Math.pow(e.width-t.width,2)+Math.pow(e.height-t.height,2)}function lz(e){var t=e.width,i=e.height,o=e.sizeRestrictions,r={minimum:e.aspectRatio&&e.aspectRatio.minimum||0,maximum:e.aspectRatio&&e.aspectRatio.maximum||1/0},n={width:Math.max(o.minWidth,Math.min(o.maxWidth,t)),height:Math.max(o.minHeight,Math.min(o.maxHeight,i))};function a(e,n){return void 0===n&&(n=!1),e.reduce((function(e,a){return nz({size:a,aspectRatio:r,sizeRestrictions:o,ignoreMinimum:n})&&(!e||az(a,{width:t,height:i})<az(e,{width:t,height:i}))?a:e}),null)}var l=[];r&&[r.minimum,r.maximum].forEach((function(e){e&&l.push({width:n.width,height:n.width/e,correctRatio:!0},{width:n.height*e,height:n.height,correctRatio:!0})})),nz({size:n,aspectRatio:r,sizeRestrictions:o})&&l.push(n);var s=a(l)||a(l,!0);return s&&{width:s.width,height:s.height}}function sz(e){var t=e.event,i=e.coordinates,o=e.positionRestrictions,r=void 0===o?{}:o,n=Vf(i,t.directions);return Vf(n,Xf(n,r))}function cz(e){e.event;var t=e.getAreaRestrictions,i=e.boundaries,o=e.coordinates,r=e.visibleArea;e.aspectRatio;var n=e.stencilSize,a=e.sizeRestrictions,l=e.positionRestrictions;e.stencilReference;var s,c,A,M=Mf({},o),u=Mf({},r),g=Mf({},n);s=Wf(g),c=Wf(M),void 0===A&&(A=.001),(0===s||0===c?Math.abs(c-s)<A:Math.abs(c/s)<1+A&&Math.abs(c/s)>1-A)||(M=Mf(Mf({},M),lz({sizeRestrictions:a,width:M.width,height:M.height,aspectRatio:{minimum:Wf(g),maximum:Wf(g)}})));var d=ez(u=Jf(u,M.width*i.width/(u.width*g.width)),t({visibleArea:u,type:"resize"}));return 1!==d&&(u=Jf(u,d),M=Jf(M,d)),u=tz(u=Vf(u,Ff(Rf(M),Rf(u))),t({visibleArea:u,type:"move"})),{coordinates:M=tz(M,rz(Uf(u),l)),visibleArea:u}}function Az(e){var t=e.event,i=e.getAreaRestrictions,o=e.boundaries,r=e.coordinates,n=e.visibleArea;e.aspectRatio,e.stencilSize,e.sizeRestrictions;var a=e.positionRestrictions;e.stencilReference;var l=Mf({},r),s=Mf({},n);if(r&&n&&"manipulateImage"!==t.type){var c={width:0,height:0};s.width,o.width,Wf(o)>Wf(l)?(c.height=.8*o.height,c.width=c.height*Wf(l)):(c.width=.8*o.width,c.height=c.width*Wf(l));var A=ez(s=Jf(s,l.width*o.width/(s.width*c.width)),i({visibleArea:s,type:"resize"}));s=Jf(s,A),1!==A&&(c.height/=A,c.width/=A),s=tz(s=Vf(s,Ff(Rf(l),Rf(s))),i({visibleArea:s,type:"move"})),l=tz(l,rz(Uf(s),a))}return{coordinates:l,visibleArea:s}}function Mz(e){var t=e.event,i=e.coordinates,o=e.visibleArea,r=e.getAreaRestrictions,n=Mf({},o),a=Mf({},i);if("setCoordinates"===t.type){var l=Math.max(0,a.width-n.width),s=Math.max(0,a.height-n.height);l>s?n=Jf(n,Math.min(a.width/n.width,Kf(n,r({visibleArea:n,type:"resize"})))):s>l&&(n=Jf(n,Math.min(a.height/n.height,Kf(n,r({visibleArea:n,type:"resize"}))))),n=tz(n=Vf(n,Pf(Xf(a,Uf(n)))),r({visibleArea:n,type:"move"}))}return{visibleArea:n,coordinates:a}}function uz(e){var t=e.imageSize,i=e.visibleArea,o=e.coordinates,r=i||t;return{left:(i?i.left:0)+r.width/2-o.width/2,top:(i?i.top:0)+r.height/2-o.height/2}}function gz(e){var t=e.imageSize,i=e.visibleArea,o=e.aspectRatio,r=e.sizeRestrictions,n=i||t,a=Math.min(o.maximum||1/0,Math.max(o.minimum||0,Wf(n))),l=n.width<n.height?{width:.8*n.width,height:.8*n.width/a}:{height:.8*n.height,width:.8*n.height*a};return lz(Mf(Mf({},l),{aspectRatio:o,sizeRestrictions:r}))}function dz(e){var t,i,o=e.imageSize,r=e.visibleArea,n=e.boundaries,a=e.aspectRatio,l=e.sizeRestrictions,s=e.stencilSize,c=r||o;return Wf(c)>Wf(n)?i=(t=s.height*c.height/n.height)*Wf(s):t=(i=s.width*c.width/n.width)/Wf(s),lz({width:i,height:t,aspectRatio:a,sizeRestrictions:l})}function Nz(e){var t=e.getAreaRestrictions,i=e.coordinates,o=e.imageSize,r=Wf(e.boundaries);if(i){var n={height:Math.max(i.height,o.height),width:Math.max(i.width,o.width)},a=_f({width:Wf(n)>r?n.width:n.height*r,height:Wf(n)>r?n.width/r:n.height},iz(t())),l={left:i.left+i.width/2-a.width/2,top:i.top+i.height/2-a.height/2,width:a.width,height:a.height},s=Gf(i,Uf(Mf({left:0,top:0},o))),c={};return!s.left&&!s.right&&l.width<=o.width&&(c.left=0,c.right=o.width),!s.top&&!s.bottom&&l.height<=o.height&&(c.top=0,c.bottom=o.height),tz(l,c)}var A=Wf(o);return a={height:A>r?o.height:o.width/r,width:A>r?o.height*r:o.width},{left:o.width/2-a.width/2,top:o.height/2-a.height/2,width:a.width,height:a.height}}function Ez(e,t){return oz(e,Uf(t))}function yz(e){var t=e.directions,i=e.coordinates,o=e.positionRestrictions,r=void 0===o?{}:o,n=e.sizeRestrictions,a=e.preserveRatio,l=e.compensate,s=Mf({},t),c=Hf(i,s).width,A=Hf(i,s).height;c<0&&(s.left<0&&s.right<0?(s.left=-(i.width-n.minWidth)/(s.left/s.right),s.right=-(i.width-n.minWidth)/(s.right/s.left)):s.left<0?s.left=-(i.width-n.minWidth):s.right<0&&(s.right=-(i.width-n.minWidth))),A<0&&(s.top<0&&s.bottom<0?(s.top=-(i.height-n.minHeight)/(s.top/s.bottom),s.bottom=-(i.height-n.minHeight)/(s.bottom/s.top)):s.top<0?s.top=-(i.height-n.minHeight):s.bottom<0&&(s.bottom=-(i.height-n.minHeight)));var M=Gf(Hf(i,s),r);l&&(M.left&&M.left>0&&0===M.right?(s.right+=M.left,s.left-=M.left):M.right&&M.right>0&&0===M.left&&(s.left+=M.right,s.right-=M.right),M.top&&M.top>0&&0===M.bottom?(s.bottom+=M.top,s.top-=M.top):M.bottom&&M.bottom>0&&0===M.top&&(s.top+=M.bottom,s.bottom-=M.bottom),M=Gf(Hf(i,s),r));var u={width:1/0,height:1/0,left:1/0,right:1/0,top:1/0,bottom:1/0};if(Qf.forEach((function(e){var t=M[e];t&&s[e]&&(u[e]=Math.max(0,1-t/s[e]))})),a){var g=Math.min.apply(null,Qf.map((function(e){return u[e]})));g!==1/0&&Qf.forEach((function(e){s[e]*=g}))}else Qf.forEach((function(e){u[e]!==1/0&&(s[e]*=u[e])}));if(c=Hf(i,s).width,A=Hf(i,s).height,s.right+s.left&&(c>n.maxWidth?u.width=(n.maxWidth-i.width)/(s.right+s.left):c<n.minWidth&&(u.width=(n.minWidth-i.width)/(s.right+s.left))),s.bottom+s.top&&(A>n.maxHeight?u.height=(n.maxHeight-i.height)/(s.bottom+s.top):A<n.minHeight&&(u.height=(n.minHeight-i.height)/(s.bottom+s.top))),a){var d=Math.min(u.width,u.height);d!==1/0&&Qf.forEach((function(e){s[e]*=d}))}else u.width!==1/0&&kf.forEach((function(e){s[e]*=u.width})),u.height!==1/0&&bf.forEach((function(e){s[e]*=u.height}));return s}function Iz(e,t,i){return 0==t&&0==i?e/2:0==t?0:0==i?e:e*Math.abs(t/(t+i))}var pz=sf("vue-simple-handler"),hz=sf("vue-simple-handler-wrapper"),jz={name:"SimpleHandler",components:{HandlerWrapper:ff},props:{defaultClass:{type:String},hoverClass:{type:String},wrapperClass:{type:String},horizontalPosition:{type:String},verticalPosition:{type:String},disabled:{type:Boolean,default:!1}},data:function(){return{hover:!1}},computed:{classes:function(){var e,t=(tf(e={},this.horizontalPosition,Boolean(this.horizontalPosition)),tf(e,this.verticalPosition,Boolean(this.verticalPosition)),tf(e,"".concat(this.horizontalPosition,"-").concat(this.verticalPosition),Boolean(this.verticalPosition&&this.horizontalPosition)),tf(e,"hover",this.hover),e);return{default:lf(pz(t),this.defaultClass,this.hover&&this.hoverClass),wrapper:lf(hz(t),this.wrapperClass)}}},methods:{onDrag:function(e){this.$emit("drag",e)},onEnter:function(){this.hover=!0},onLeave:function(){this.hover=!1},onDragEnd:function(){this.$emit("drag-end")}},emits:["drag","drag-end"],render:function(e,i,o,r,n,a){var l=t.resolveComponent("HandlerWrapper");return t.openBlock(),t.createBlock(l,{class:a.classes.wrapper,"vertical-position":o.verticalPosition,"horizontal-position":o.horizontalPosition,disabled:o.disabled,onDrag:a.onDrag,onDragEnd:a.onDragEnd,onEnter:a.onEnter,onLeave:a.onLeave},{default:t.withCtx((function(){return[t.createVNode("div",{class:a.classes.default},null,2)]})),_:1},8,["class","vertical-position","horizontal-position","disabled","onDrag","onDragEnd","onEnter","onLeave"])}},Tz=sf("vue-simple-line"),wz=sf("vue-simple-line-wrapper"),Dz={name:"SimpleLine",components:{LineWrapper:Cf},props:{defaultClass:{type:String},hoverClass:{type:String},wrapperClass:{type:String},position:{type:String},disabled:{type:Boolean,default:!1}},data:function(){return{hover:!1}},computed:{classes:function(){return{root:lf(Tz(tf({},this.position,!0)),this.defaultClass,this.hover&&this.hoverClass),wrapper:lf(wz(tf({},this.position,!0)),this.wrapperClass)}}},methods:{onDrag:function(e){this.$emit("drag",e)},onEnter:function(){this.hover=!0},onLeave:function(){this.hover=!1},onDragEnd:function(){this.$emit("drag-end")}},emits:["drag","drag-end"],render:function(e,i,o,r,n,a){var l=t.resolveComponent("LineWrapper");return t.openBlock(),t.createBlock(l,{class:a.classes.wrapper,position:o.position,disabled:o.disabled,onDrag:a.onDrag,onDragEnd:a.onDragEnd,onEnter:a.onEnter,onLeave:a.onLeave},{default:t.withCtx((function(){return[t.createVNode("div",{class:a.classes.root},null,2)]})),_:1},8,["class","position","disabled","onDrag","onDragEnd","onEnter","onLeave"])}},mz=sf("vue-bounding-box"),Bz=["east","west",null],xz=["south","north",null],Lz={name:"BoundingBox",props:{width:{type:Number},height:{type:Number},transitions:{type:Object},handlers:{type:Object,default:function(){return{eastNorth:!0,north:!0,westNorth:!0,west:!0,westSouth:!0,south:!0,eastSouth:!0,east:!0}}},handlersComponent:{type:[Object,String],default:function(){return jz}},handlersClasses:{type:Object,default:function(){return{}}},handlersWrappersClasses:{type:Object,default:function(){return{}}},lines:{type:Object,default:function(){return{west:!0,north:!0,east:!0,south:!0}}},linesComponent:{type:[Object,String],default:function(){return Dz}},linesClasses:{type:Object,default:function(){return{}}},linesWrappersClasses:{type:Object,default:function(){return{}}},resizable:{type:Boolean,default:!0}},data:function(){var e=[];return Bz.forEach((function(t){xz.forEach((function(i){if(t!==i){var o=uf(t,i),r=o.name,n=o.classname;e.push({name:r,classname:n,verticalDirection:i,horizontalDirection:t})}}))})),{points:e}},computed:{style:function(){var e={};return this.width&&this.height&&(e.width="".concat(this.width,"px"),e.height="".concat(this.height,"px"),this.transitions&&this.transitions.enabled&&(e.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction))),e},classes:function(){var e=this.handlersClasses,t=this.handlersWrappersClasses,i=this.linesClasses,o=this.linesWrappersClasses;return{root:mz(),handlers:e,handlersWrappers:t,lines:i,linesWrappers:o}},lineNodes:function(){var e=this,t=[];return this.points.forEach((function(i){i.horizontalDirection&&i.verticalDirection||!e.lines[i.name]||t.push({name:i.name,component:e.linesComponent,class:lf(e.classes.lines.default,e.classes.lines[i.name],!e.resizable&&e.classes.lines.disabled),wrapperClass:lf(e.classes.linesWrappers.default,e.classes.linesWrappers[i.name],!e.resizable&&e.classes.linesWrappers.disabled),hoverClass:e.classes.lines.hover,verticalDirection:i.verticalDirection,horizontalDirection:i.horizontalDirection,disabled:!e.resizable})})),t},handlerNodes:function(){var e=this,t=[],i=this.width,o=this.height;return this.points.forEach((function(r){if(e.handlers[r.name]){var n={name:r.name,component:e.handlersComponent,class:lf(e.classes.handlers.default,e.classes.handlers[r.name]),wrapperClass:lf(e.classes.handlersWrappers.default,e.classes.handlersWrappers[r.name]),hoverClass:e.classes.handlers.hover,verticalDirection:r.verticalDirection,horizontalDirection:r.horizontalDirection,disabled:!e.resizable};if(i&&o){var a=r.horizontalDirection,l=r.verticalDirection,s="east"===a?i:"west"===a?0:i/2,c="south"===l?o:"north"===l?0:o/2;n.wrapperClass=mz("handler"),n.wrapperStyle={transform:"translate(".concat(s,"px, ").concat(c,"px)")},e.transitions&&e.transitions.enabled&&(n.wrapperStyle.transition="".concat(e.transitions.time,"ms ").concat(e.transitions.timingFunction))}else n.wrapperClass=mz("handler",tf({},r.classname,!0));t.push(n)}})),t}},beforeMount:function(){window.addEventListener("mouseup",this.onMouseUp,{passive:!1}),window.addEventListener("mousemove",this.onMouseMove,{passive:!1}),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd,{passive:!1})},beforeUnmount:function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},mounted:function(){this.touches=[]},methods:{onEnd:function(){this.$emit("resize-end")},onHandlerDrag:function(e,t,i){var o,r=e.shift(),n=r.left,a=r.top,l={left:0,right:0,top:0,bottom:0};"west"===t?l.left-=n:"east"===t&&(l.right+=n),"north"===i?l.top-=a:"south"===i&&(l.bottom+=a),!i&&t?o="width":i&&!t&&(o="height"),this.resizable&&this.$emit("resize",new Df(l,{allowedDirections:{left:"west"===t||!t,right:"east"===t||!t,bottom:"south"===i||!i,top:"north"===i||!i},preserveAspectRatio:e.nativeEvent&&e.nativeEvent.shiftKey,respectDirection:o}))}},emits:["resize","resize-end"],render:function(e,i,o,r,n,a){return t.openBlock(),t.createBlock("div",{ref:"box",class:a.classes.root,style:a.style},[t.renderSlot(e.$slots,"default"),t.createVNode("div",null,[(t.openBlock(!0),t.createBlock(t.Fragment,null,t.renderList(a.lineNodes,(function(e){return t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.component),{key:e.name,"default-class":e.class,"hover-class":e.hoverClass,"wrapper-class":e.wrapperClass,position:e.name,disabled:e.disabled,onDrag:function(t){return a.onHandlerDrag(t,e.horizontalDirection,e.verticalDirection)},onDragEnd:i[1]||(i[1]=function(e){return a.onEnd()})},null,8,["default-class","hover-class","wrapper-class","position","disabled","onDrag"])})),128))]),(t.openBlock(!0),t.createBlock(t.Fragment,null,t.renderList(a.handlerNodes,(function(e){return t.openBlock(),t.createBlock("div",{key:e.name,style:e.wrapperStyle,class:e.wrapperClass},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.component),{"default-class":e.class,"hover-class":e.hoverClass,"wrapper-class":e.wrapperClass,"horizontal-position":e.horizontalDirection,"vertical-position":e.verticalDirection,disabled:e.disabled,onDrag:function(t){return a.onHandlerDrag(t,e.horizontalDirection,e.verticalDirection)},onDragEnd:i[2]||(i[2]=function(e){return a.onEnd()})},null,8,["default-class","hover-class","wrapper-class","horizontal-position","vertical-position","disabled","onDrag"]))],6)})),128))],6)}},fz=sf("vue-draggable-area"),zz={name:"DraggableArea",props:{movable:{type:Boolean,default:!0},activationDistance:{type:Number,default:20}},computed:{classnames:function(){return{default:fz()}}},beforeMount:function(){window.addEventListener("mouseup",this.onMouseUp,{passive:!1}),window.addEventListener("mousemove",this.onMouseMove,{passive:!1}),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd,{passive:!1})},beforeUnmount:function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},mounted:function(){this.touches=[],this.touchStarted=!1},methods:{onTouchStart:function(e){if(e.cancelable){var t=this.movable&&1===e.touches.length;t&&(this.touches=of(e.touches)),(this.touchStarted||t)&&(e.preventDefault(),e.stopPropagation())}},onTouchEnd:function(){this.touchStarted=!1,this.processEnd()},onTouchMove:function(e){this.touches.length>=1&&(this.touchStarted?(this.processMove(e,e.touches),e.preventDefault(),e.stopPropagation()):Tf({x:this.touches[0].clientX,y:this.touches[0].clientY},{x:e.touches[0].clientX,y:e.touches[0].clientY})>this.activationDistance&&(this.initAnchor({clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}),this.touchStarted=!0))},onMouseDown:function(e){if(this.movable&&0===e.button){var t={fake:!0,clientX:e.clientX,clientY:e.clientY};this.touches=[t],this.initAnchor(t),e.stopPropagation()}},onMouseMove:function(e){this.touches.length&&(this.processMove(e,[{fake:!0,clientX:e.clientX,clientY:e.clientY}]),e.preventDefault&&e.cancelable&&e.preventDefault(),e.stopPropagation())},onMouseUp:function(){this.processEnd()},initAnchor:function(e){var t=this.$refs.container.getBoundingClientRect(),i=t.left,o=t.top;this.anchor={x:e.clientX-i,y:e.clientY-o}},processMove:function(e,t){var i=of(t);if(this.touches.length){var o=this.$refs.container.getBoundingClientRect(),r=o.left,n=o.top;1===this.touches.length&&1===i.length&&this.$emit("move",new mf({left:i[0].clientX-(r+this.anchor.x),top:i[0].clientY-(n+this.anchor.y)}))}},processEnd:function(){this.touches.length&&this.$emit("move-end"),this.touches=[]}},emits:["move","move-end"]};function Cz(e){var t,i;return{rotate:e.rotate||0,flip:{horizontal:(null===(t=null==e?void 0:e.flip)||void 0===t?void 0:t.horizontal)||!1,vertical:(null===(i=null==e?void 0:e.flip)||void 0===i?void 0:i.vertical)||!1}}}function Qz(e){var t=e.rotate,i=e.flip,o=e.scaleX,r=e.scaleY,n="";return n+=" rotate("+t+"deg) ",(n+=" scaleX("+o*(i.horizontal?-1:1)+") ")+" scaleY("+r*(i.vertical?-1:1)+") "}function kz(e,t){var i=t.getBoundingClientRect(),o=i.left,r=i.top,n={left:0,top:0},a=0;return e.forEach((function(t){n.left+=(t.clientX-o)/e.length,n.top+=(t.clientY-r)/e.length})),e.forEach((function(e){a+=Tf({x:n.left,y:n.top},{x:e.clientX-o,y:e.clientY-r})})),{centerMass:n,spread:a,count:e.length}}zz.render=function(e,i,o,r,n,a){return t.openBlock(),t.createBlock("div",{ref:"container",onTouchstart:i[1]||(i[1]=function(){return a.onTouchStart&&a.onTouchStart.apply(a,arguments)}),onMousedown:i[2]||(i[2]=function(){return a.onMouseDown&&a.onMouseDown.apply(a,arguments)})},[t.renderSlot(e.$slots,"default")],544)};var bz={props:{touchMove:{type:Boolean,required:!0},mouseMove:{type:Boolean,required:!0},touchResize:{type:Boolean,required:!0},wheelResize:{type:[Boolean,Object],required:!0},eventsFilter:{type:Function,required:!1}},beforeMount:function(){window.addEventListener("mouseup",this.onMouseUp,{passive:!1}),window.addEventListener("mousemove",this.onMouseMove,{passive:!1}),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd,{passive:!1})},beforeUnmount:function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},created:function(){this.transforming=!1,this.debouncedProcessEnd=Af(this.processEnd),this.touches=[]},methods:{processMove:function(e,t){if(this.touches.length){if(1===this.touches.length&&1===t.length)this.$emit("move",new wf({left:this.touches[0].clientX-t[0].clientX,top:this.touches[0].clientY-t[0].clientY}));else if(this.touches.length>1&&this.touchResize){var i=kz(t,this.$refs.container),o=this.oldGeometricProperties;o.count===i.count&&o.count>1&&this.$emit("resize",new wf({left:o.centerMass.left-i.centerMass.left,top:o.centerMass.top-i.centerMass.top},{factor:o.spread/i.spread,center:i.centerMass})),this.oldGeometricProperties=i}this.touches=t}},processEnd:function(){this.transforming&&(this.transforming=!1,this.$emit("transform-end"))},processStart:function(){this.transforming=!0,this.debouncedProcessEnd.clear()},processEvent:function(e){return this.eventsFilter?!1!==this.eventsFilter(e,this.transforming):(e.preventDefault(),e.stopPropagation(),!0)},onTouchStart:function(e){if(e.cancelable&&(this.touchMove||this.touchResize&&e.touches.length>1)&&this.processEvent(e)){var t=this.$refs.container,i=t.getBoundingClientRect(),o=i.left,r=i.top,n=i.bottom,a=i.right;this.touches=of(e.touches).filter((function(e){return e.clientX>o&&e.clientX<a&&e.clientY>r&&e.clientY<n})),this.oldGeometricProperties=kz(this.touches,t)}},onTouchEnd:function(e){0===e.touches.length&&(this.touches=[],this.processEnd())},onTouchMove:function(e){var t=this;if(this.touches.length){var i=of(e.touches).filter((function(e){return!e.identifier||t.touches.find((function(t){return t.identifier===e.identifier}))}));this.processEvent(e)&&(this.processMove(e,i),this.processStart())}},onMouseDown:function(e){if(this.mouseMove&&"buttons"in e&&1===e.buttons&&this.processEvent(e)){var t={fake:!0,clientX:e.clientX,clientY:e.clientY};this.touches=[t],this.processStart()}},onMouseMove:function(e){this.touches.length&&this.processEvent(e)&&this.processMove(e,[{clientX:e.clientX,clientY:e.clientY}])},onMouseUp:function(){this.touches=[],this.processEnd()},onWheel:function(e){if(this.wheelResize&&this.processEvent(e)){var t=this.$refs.container.getBoundingClientRect(),i=t.left,o=t.top,r=1+this.wheelResize.ratio*(0==(a=+(e.deltaY||e.detail||e.wheelDelta))||jf(a)?a:a>0?1:-1),n={left:e.clientX-i,top:e.clientY-o};this.$emit("resize",new wf({},{factor:r,center:n})),this.touches.length||this.debouncedProcessEnd()}var a}},emits:["resize","move","transform-end"],render:function(e,i,o,r,n,a){return t.openBlock(),t.createBlock("div",{ref:"container",onTouchstart:i[1]||(i[1]=function(){return a.onTouchStart&&a.onTouchStart.apply(a,arguments)}),onMousedown:i[2]||(i[2]=function(){return a.onMouseDown&&a.onMouseDown.apply(a,arguments)}),onWheel:i[3]||(i[3]=function(){return a.onWheel&&a.onWheel.apply(a,arguments)})},[t.renderSlot(e.$slots,"default")],544)}},vz={components:{TransformableImage:bz},props:{touchMove:{type:Boolean,required:!0},mouseMove:{type:Boolean,required:!0},touchResize:{type:Boolean,required:!0},wheelResize:{type:[Boolean,Object],required:!0}},emits:["resize","move"],render:function(e,i,o,r,n,a){var l=t.resolveComponent("transformable-image");return t.openBlock(),t.createBlock(l,{"touch-move":o.touchMove,"touch-resize":o.touchResize,"mouse-move":o.mouseMove,"wheel-resize":o.wheelResize,onMove:i[1]||(i[1]=function(t){return e.$emit("move",t)}),onResize:i[2]||(i[2]=function(t){return e.$emit("resize",t)})},{default:t.withCtx((function(){return[t.renderSlot(e.$slots,"default")]})),_:3},8,["touch-move","touch-resize","mouse-move","wheel-resize"])}},Sz=sf("vue-preview"),Oz={props:{coordinates:{type:Object},transitions:{type:Object},image:{type:Object,default:function(){return{}}},imageClass:{type:String},width:{type:Number},height:{type:Number},fill:{type:Boolean}},data:function(){return{calculatedImageSize:{width:0,height:0},calculatedSize:{width:0,height:0}}},computed:{classes:function(){return{root:Sz({fill:this.fill}),wrapper:Sz("wrapper"),imageWrapper:Sz("image-wrapper"),image:lf(Sz("image"),this.imageClass)}},style:function(){if(this.fill)return{};var e={};return this.width&&(e.width="".concat(this.size.width,"px")),this.height&&(e.height="".concat(this.size.height,"px")),this.transitions&&this.transitions.enabled&&(e.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),e},wrapperStyle:function(){var e={width:"".concat(this.size.width,"px"),height:"".concat(this.size.height,"px"),left:"calc(50% - ".concat(this.size.width/2,"px)"),top:"calc(50% - ".concat(this.size.height/2,"px)")};return this.transitions&&this.transitions.enabled&&(e.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),e},imageStyle:function(){if(this.coordinates&&this.image){var e=this.coordinates.width/this.size.width,t=ef(ef({rotate:0,flip:{horizontal:!1,vertical:!1}},this.image.transforms),{},{scaleX:1/e,scaleY:1/e}),i=this.imageSize.width,o=this.imageSize.height,r=qf({width:i,height:o},t.rotate),n={width:"".concat(i,"px"),height:"".concat(o,"px"),left:"0px",top:"0px"},a={rotate:{left:(i-r.width)*t.scaleX/2,top:(o-r.height)*t.scaleY/2},scale:{left:(1-t.scaleX)*i/2,top:(1-t.scaleY)*o/2}};return n.transform="translate(\n\t\t\t\t".concat(-this.coordinates.left/e-a.rotate.left-a.scale.left,"px,").concat(-this.coordinates.top/e-a.rotate.top-a.scale.top,"px) ")+Qz(t),this.transitions&&this.transitions.enabled&&(n.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),n}return{}},size:function(){return{width:this.width||this.calculatedSize.width,height:this.height||this.calculatedSize.height}},imageSize:function(){return{width:this.image.width||this.calculatedImageSize.width,height:this.image.height||this.calculatedImageSize.height}}},watch:{image:function(e){(e.width||e.height)&&this.onChangeImage()}},mounted:function(){var e=this;this.onChangeImage(),this.$refs.image.addEventListener("load",(function(){e.refreshImage()})),window.addEventListener("resize",this.refresh),window.addEventListener("orientationchange",this.refresh)},unmounted:function(){window.removeEventListener("resize",this.refresh),window.removeEventListener("orientationchange",this.refresh)},methods:{refreshImage:function(){var e=this.$refs.image;this.calculatedImageSize.height=e.naturalHeight,this.calculatedImageSize.width=e.naturalWidth},refresh:function(){var e=this.$refs.root;this.width||(this.calculatedSize.width=e.clientWidth),this.height||(this.calculatedSize.height=e.clientHeight)},onChangeImage:function(){var e=this.$refs.image;e&&e.complete&&this.refreshImage(),this.refresh()}},render:function(e,i,o,r,n,a){return t.openBlock(),t.createBlock("div",{ref:"root",class:a.classes.root,style:a.style},[t.createVNode("div",{ref:"wrapper",class:a.classes.wrapper,style:a.wrapperStyle},[t.withDirectives(t.createVNode("img",{ref:"image",src:o.image&&o.image.src,class:a.classes.image,style:a.imageStyle},null,14,["src"]),[[t.vShow,o.image&&o.image.src]])],6)],6)}},Yz={components:{Preview:Oz},inheritAttrs:!1,render:function(e,i,o,r,n,a){var l=t.resolveComponent("preview");return t.openBlock(),t.createBlock(l,t.mergeProps(e.$attrs,{fill:!0}),null,16)}},Uz=sf("vue-rectangle-stencil"),Fz={name:"RectangleStencil",components:{StencilPreview:Yz,BoundingBox:Lz,DraggableArea:zz},props:{image:{type:Object},coordinates:{type:Object},stencilCoordinates:{type:Object},handlers:{type:Object},handlersComponent:{type:[Object,String],default:function(){return jz}},lines:{type:Object},linesComponent:{type:[Object,String],default:function(){return Dz}},aspectRatio:{type:[Number,String]},minAspectRatio:{type:[Number,String]},maxAspectRatio:{type:[Number,String]},movable:{type:Boolean,default:!0},resizable:{type:Boolean,default:!0},transitions:{type:Object},movingClass:{type:String},resizingClass:{type:String},previewClass:{type:String},boundingBoxClass:{type:String},linesClasses:{type:Object,default:function(){return{}}},linesWrappersClasses:{type:Object,default:function(){return{}}},handlersClasses:{type:Object,default:function(){return{}}},handlersWrappersClasses:{type:Object,default:function(){return{}}}},data:function(){return{moving:!1,resizing:!1}},computed:{classes:function(){return{stencil:lf(Uz({movable:this.movable,moving:this.moving,resizing:this.resizing}),this.moving&&this.movingClass,this.resizing&&this.resizingClass),preview:lf(Uz("preview"),this.previewClass),boundingBox:lf(Uz("bounding-box"),this.boundingBoxClass)}},style:function(){var e=this.stencilCoordinates,t=e.height,i=e.width,o=e.left,r=e.top,n={width:"".concat(i,"px"),height:"".concat(t,"px"),transform:"translate(".concat(o,"px, ").concat(r,"px)")};return this.transitions&&this.transitions.enabled&&(n.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),n}},methods:{onMove:function(e){this.$emit("move",e),this.moving=!0},onMoveEnd:function(){this.$emit("move-end"),this.moving=!1},onResize:function(e){this.$emit("resize",e),this.resizing=!0},onResizeEnd:function(){this.$emit("resize-end"),this.resizing=!1},aspectRatios:function(){return{minimum:this.aspectRatio||this.minAspectRatio,maximum:this.aspectRatio||this.maxAspectRatio}}},emits:["resize","resize-end","move","move-end"],render:function(e,i,o,r,n,a){var l=t.resolveComponent("stencil-preview"),s=t.resolveComponent("draggable-area"),c=t.resolveComponent("bounding-box");return t.openBlock(),t.createBlock("div",{class:a.classes.stencil,style:a.style},[t.createVNode(c,{width:o.stencilCoordinates.width,height:o.stencilCoordinates.height,transitions:o.transitions,class:a.classes.boundingBox,handlers:o.handlers,"handlers-component":o.handlersComponent,"handlers-classes":o.handlersClasses,"handlers-wrappers-classes":o.handlersWrappersClasses,lines:o.lines,"lines-component":o.linesComponent,"lines-classes":o.linesClasses,"lines-wrappers-classes":o.linesWrappersClasses,resizable:o.resizable,onResize:a.onResize,onResizeEnd:a.onResizeEnd},{default:t.withCtx((function(){return[t.createVNode(s,{movable:o.movable,onMove:a.onMove,onMoveEnd:a.onMoveEnd},{default:t.withCtx((function(){return[t.createVNode(l,{image:o.image,coordinates:o.coordinates,width:o.stencilCoordinates.width,height:o.stencilCoordinates.height,class:a.classes.preview,transitions:o.transitions},null,8,["image","coordinates","width","height","class","transitions"])]})),_:1},8,["movable","onMove","onMoveEnd"])]})),_:1},8,["width","height","transitions","class","handlers","handlers-component","handlers-classes","handlers-wrappers-classes","lines","lines-component","lines-classes","lines-wrappers-classes","resizable","onResize","onResizeEnd"])],6)}},Rz=["transitions"],Gz=sf("vue-advanced-cropper"),Hz={name:"Cropper",components:{BackgroundWrapper:vz},props:{src:{type:String,default:null},stencilComponent:{type:[Object,String],default:function(){return Fz}},backgroundWrapperComponent:{type:[Object,String],default:function(){return vz}},stencilProps:{type:Object,default:function(){return{}}},autoZoom:{type:Boolean,default:!1},imageClass:{type:String},boundariesClass:{type:String},backgroundClass:{type:String},foregroundClass:{type:String},minWidth:{type:[Number,String]},minHeight:{type:[Number,String]},maxWidth:{type:[Number,String]},maxHeight:{type:[Number,String]},debounce:{type:[Boolean,Number],default:500},transitions:{type:Boolean,default:!0},checkOrientation:{type:Boolean,default:!0},canvas:{type:[Object,Boolean],default:!0},crossOrigin:{type:[Boolean,String],default:void 0},transitionTime:{type:Number,default:300},imageRestriction:{type:String,default:"fit-area",validator:function(e){return-1!==Sf.indexOf(e)}},roundResult:{type:Boolean,default:!0},defaultSize:{type:[Function,Object]},defaultPosition:{type:[Function,Object]},defaultVisibleArea:{type:[Function,Object]},defaultTransforms:{type:[Function,Object]},defaultBoundaries:{type:[Function,String],validator:function(e){return!("string"==typeof e&&"fill"!==e&&"fit"!==e)}},priority:{type:String,default:"coordinates"},stencilSize:{type:[Object,Function]},resizeImage:{type:[Boolean,Object],default:!0},moveImage:{type:[Boolean,Object],default:!0},autoZoomAlgorithm:{type:Function},resizeAlgorithm:{type:Function,default:function(e){var t=e.event,i=e.coordinates,o=e.aspectRatio,r=e.positionRestrictions,n=e.sizeRestrictions,a=Mf(Mf({},i),{right:i.left+i.width,bottom:i.top+i.height}),l=t.params||{},s=Mf({},t.directions),c=l.allowedDirections||{left:!0,right:!0,bottom:!0,top:!0};n.widthFrozen&&(s.left=0,s.right=0),n.heightFrozen&&(s.top=0,s.bottom=0),Qf.forEach((function(e){c[e]||(s[e]=0)}));var A=Hf(a,s=yz({coordinates:a,directions:s,sizeRestrictions:n,positionRestrictions:r})).width,M=Hf(a,s).height,u=l.preserveRatio?Wf(a):Zf(A/M,o);if(u){var g=l.respectDirection;if(g||(g=a.width>=a.height||1===u?"width":"height"),"width"===g){var d=A/u-a.height;if(c.top&&c.bottom){var N=s.top,E=s.bottom;s.bottom=Iz(d,E,N),s.top=Iz(d,N,E)}else c.bottom?s.bottom=d:c.top?s.top=d:c.right?s.right=0:c.left&&(s.left=0)}else if("height"===g){var y=a.width-M*u;if(c.left&&c.right){var I=s.left,p=s.right;s.left=-Iz(y,I,p),s.right=-Iz(y,p,I)}else c.left?s.left=-y:c.right?s.right=-y:c.top?s.top=0:c.bottom&&(s.bottom=0)}s=yz({directions:s,coordinates:a,sizeRestrictions:n,positionRestrictions:r,preserveRatio:!0,compensate:l.compensate})}return A=Hf(a,s).width,M=Hf(a,s).height,(u=l.preserveRatio?Wf(a):Zf(A/M,o))&&Math.abs(u-A/M)>.001&&Qf.forEach((function(e){c[e]||(s[e]=0)})),sz({event:new mf({left:-s.left,top:-s.top}),coordinates:{width:i.width+s.right+s.left,height:i.height+s.top+s.bottom,left:i.left,top:i.top},positionRestrictions:r})}},moveAlgorithm:{type:Function,default:sz},initStretcher:{type:Function,default:function(e){var t=e.stretcher,i=e.imageSize,o=Wf(i);t.style.width=i.width+"px",t.style.height=t.clientWidth/o+"px",t.style.width=t.clientWidth+"px"}},fitCoordinates:{type:Function,default:function(e){var t=e.visibleArea,i=e.coordinates,o=e.aspectRatio,r=e.sizeRestrictions,n=e.positionRestrictions,a=Mf(Mf({},i),lz({width:i.width,height:i.height,aspectRatio:o,sizeRestrictions:{maxWidth:t.width,maxHeight:t.height,minHeight:Math.min(t.height,r.minHeight),minWidth:Math.min(t.width,r.minWidth)}}));return tz(a=Vf(a,Ff(Rf(i),Rf(a))),rz(Uf(t),n))}},fitVisibleArea:{type:Function,default:function(e){var t=e.visibleArea,i=e.boundaries,o=e.getAreaRestrictions,r=e.coordinates,n=Mf({},t);n.height=n.width/Wf(i),n.top+=(t.height-n.height)/2,(r.height-n.height>0||r.width-n.width>0)&&(n=Jf(n,Math.max(r.height/n.height,r.width/n.width)));var a=Pf(Xf(r,Uf(n=Jf(n,ez(n,o({visibleArea:n,type:"resize"}))))));return n.width<r.width&&(a.left=0),n.height<r.height&&(a.top=0),tz(n=Vf(n,a),o({visibleArea:n,type:"move"}))}},areaRestrictionsAlgorithm:{type:Function,default:function(e){var t=e.visibleArea,i=e.boundaries,o=e.imageSize,r=e.imageRestriction,n=e.type,a={};return"fill-area"===r?a={left:0,top:0,right:o.width,bottom:o.height}:"fit-area"===r&&(Wf(i)>Wf(o)?(a={top:0,bottom:o.height},t&&"move"===n&&(t.width>o.width?(a.left=-(t.width-o.width)/2,a.right=o.width-a.left):(a.left=0,a.right=o.width))):(a={left:0,right:o.width},t&&"move"===n&&(t.height>o.height?(a.top=-(t.height-o.height)/2,a.bottom=o.height-a.top):(a.top=0,a.bottom=o.height)))),a}},sizeRestrictionsAlgorithm:{type:Function,default:function(e){return{minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight}}},positionRestrictionsAlgorithm:{type:Function,default:function(e){var t=e.imageSize,i={};return"none"!==e.imageRestriction&&(i={left:0,top:0,right:t.width,bottom:t.height}),i}}},data:function(){return{transitionsActive:!1,imageLoaded:!1,imageAttributes:{width:null,height:null,crossOrigin:null,src:null},defaultImageTransforms:{rotate:0,flip:{horizontal:!1,vertical:!1}},appliedImageTransforms:{rotate:0,flip:{horizontal:!1,vertical:!1}},boundaries:{width:0,height:0},visibleArea:null,coordinates:ef({},Of)}},computed:{image:function(){return{src:this.imageAttributes.src,width:this.imageAttributes.width,height:this.imageAttributes.height,transforms:this.imageTransforms}},imageTransforms:function(){return{rotate:this.appliedImageTransforms.rotate,flip:{horizontal:this.appliedImageTransforms.flip.horizontal,vertical:this.appliedImageTransforms.flip.vertical},translateX:this.visibleArea?this.visibleArea.left/this.coefficient:0,translateY:this.visibleArea?this.visibleArea.top/this.coefficient:0,scaleX:1/this.coefficient,scaleY:1/this.coefficient}},imageSize:function(){var e=this.imageTransforms.rotate*Math.PI/180;return{width:Math.abs(this.imageAttributes.width*Math.cos(e))+Math.abs(this.imageAttributes.height*Math.sin(e)),height:Math.abs(this.imageAttributes.width*Math.sin(e))+Math.abs(this.imageAttributes.height*Math.cos(e))}},initialized:function(){return Boolean(this.visibleArea&&this.imageLoaded)},settings:function(){var e=If(this.resizeImage,{touch:!0,wheel:{ratio:.1},adjustStencil:!0},{touch:!1,wheel:!1,adjustStencil:!1});return{moveImage:If(this.moveImage,{touch:!0,mouse:!0},{touch:!1,mouse:!1}),resizeImage:e}},coefficient:function(){return this.visibleArea?this.visibleArea.width/this.boundaries.width:0},areaRestrictions:function(){return this.imageLoaded?this.areaRestrictionsAlgorithm({imageSize:this.imageSize,imageRestriction:this.imageRestriction,boundaries:this.boundaries}):{}},transitionsOptions:function(){return{enabled:this.transitionsActive,timingFunction:"ease-in-out",time:350}},sizeRestrictions:function(){if(this.boundaries.width&&this.boundaries.height&&this.imageSize.width&&this.imageSize.height){var e=this.sizeRestrictionsAlgorithm({imageSize:this.imageSize,minWidth:Ef(this.minWidth)?0:pf(this.minWidth),minHeight:Ef(this.minHeight)?0:pf(this.minHeight),maxWidth:Ef(this.maxWidth)?1/0:pf(this.maxWidth),maxHeight:Ef(this.maxHeight)?1/0:pf(this.maxHeight)});if(e=function(e){var t=e.areaRestrictions,i=e.sizeRestrictions,o=e.boundaries,r=e.positionRestrictions,n=Mf(Mf({},i),{minWidth:void 0!==i.minWidth?i.minWidth:0,minHeight:void 0!==i.minHeight?i.minHeight:0,maxWidth:void 0!==i.maxWidth?i.maxWidth:1/0,maxHeight:void 0!==i.maxHeight?i.maxHeight:1/0});void 0!==r.left&&void 0!==r.right&&(n.maxWidth=Math.min(n.maxWidth,r.right-r.left)),void 0!==r.bottom&&void 0!==r.top&&(n.maxHeight=Math.min(n.maxHeight,r.bottom-r.top));var a=iz(t),l=_f(o,a);return a.width<1/0&&(!n.maxWidth||n.maxWidth>l.width)&&(n.maxWidth=Math.min(n.maxWidth,l.width)),a.height<1/0&&(!n.maxHeight||n.maxHeight>l.height)&&(n.maxHeight=Math.min(n.maxHeight,l.height)),n.minWidth>n.maxWidth&&(n.minWidth=n.maxWidth,n.widthFrozen=!0),n.minHeight>n.maxHeight&&(n.minHeight=n.maxHeight,n.heightFrozen=!0),n}({sizeRestrictions:e,areaRestrictions:this.getAreaRestrictions({visibleArea:this.visibleArea,type:"resize"}),imageSize:this.imageSize,boundaries:this.boundaries,positionRestrictions:this.positionRestrictions,imageRestriction:this.imageRestriction,visibleArea:this.visibleArea,stencilSize:this.getStencilSize()}),this.visibleArea&&this.stencilSize){var t=this.getStencilSize(),i=iz(this.getAreaRestrictions({visibleArea:this.visibleArea,type:"resize"}));e.maxWidth=Math.min(e.maxWidth,i.width*t.width/this.boundaries.width),e.maxHeight=Math.min(e.maxHeight,i.height*t.height/this.boundaries.height),e.maxWidth<e.minWidth&&(e.minWidth=e.maxWidth),e.maxHeight<e.minHeight&&(e.minHeight=e.maxHeight)}return e}return{minWidth:0,minHeight:0,maxWidth:0,maxHeight:0}},positionRestrictions:function(){return this.positionRestrictionsAlgorithm({imageSize:this.imageSize,imageRestriction:this.imageRestriction})},classes:function(){return{cropper:Gz(),image:lf(Gz("image"),this.imageClass),stencil:Gz("stencil"),boundaries:lf(Gz("boundaries"),this.boundariesClass),stretcher:lf(Gz("stretcher")),background:lf(Gz("background"),this.backgroundClass),foreground:lf(Gz("foreground"),this.foregroundClass),imageWrapper:lf(Gz("image-wrapper")),cropperWrapper:lf(Gz("cropper-wrapper"))}},stencilCoordinates:function(){if(this.initialized){var e=this.coordinates,t=e.width,i=e.height,o=e.left,r=e.top;return{width:t/this.coefficient,height:i/this.coefficient,left:(o-this.visibleArea.left)/this.coefficient,top:(r-this.visibleArea.top)/this.coefficient}}return this.defaultCoordinates()},boundariesStyle:function(){var e={width:this.boundaries.width?"".concat(Math.round(this.boundaries.width),"px"):"auto",height:this.boundaries.height?"".concat(Math.round(this.boundaries.height),"px"):"auto",transition:"opacity ".concat(this.transitionTime,"ms"),pointerEvents:this.imageLoaded?"all":"none"};return this.imageLoaded||(e.opacity="0"),e},imageStyle:function(){var e=this.imageAttributes.width>this.imageAttributes.height?{width:Math.min(1024,this.imageAttributes.width),height:Math.min(1024,this.imageAttributes.width)/(this.imageAttributes.width/this.imageAttributes.height)}:{height:Math.min(1024,this.imageAttributes.height),width:Math.min(1024,this.imageAttributes.height)*(this.imageAttributes.width/this.imageAttributes.height)},t=(e.width-this.imageSize.width)/(2*this.coefficient),i=(e.height-this.imageSize.height)/(2*this.coefficient),o=(1-1/this.coefficient)*e.width/2,r=(1-1/this.coefficient)*e.height/2,n=ef(ef({},this.imageTransforms),{},{scaleX:this.imageTransforms.scaleX*(this.imageAttributes.width/e.width),scaleY:this.imageTransforms.scaleY*(this.imageAttributes.height/e.height)}),a={width:"".concat(e.width,"px"),height:"".concat(e.height,"px"),left:"0px",top:"0px",transform:"translate(".concat(-t-o-this.imageTransforms.translateX,"px, ").concat(-i-r-this.imageTransforms.translateY,"px)")+Qz(n)};return this.transitionsOptions.enabled&&(a.transition="".concat(this.transitionsOptions.time,"ms ").concat(this.transitionsOptions.timingFunction)),a}},watch:{src:function(){this.onChangeImage()},stencilComponent:function(){var e=this;this.$nextTick((function(){e.resetCoordinates(),e.runAutoZoom("setCoordinates"),e.onChange()}))},minWidth:function(){this.onPropsChange()},maxWidth:function(){this.onPropsChange()},minHeight:function(){this.onPropsChange()},maxHeight:function(){this.onPropsChange()},imageRestriction:function(){this.reset()},stencilProps:function(e,t){["aspectRatio","minAspectRatio","maxAspectRatio"].find((function(i){return e[i]!==t[i]}))&&this.$nextTick(this.onPropsChange)}},created:function(){this.debouncedUpdate=Af(this.update,this.debounce),this.debouncedDisableTransitions=Af(this.disableTransitions,this.transitionsOptions.time),this.awaiting=!1},mounted:function(){this.$refs.image.addEventListener("load",this.onSuccessLoadImage),this.$refs.image.addEventListener("error",this.onFailLoadImage),this.onChangeImage(),window.addEventListener("resize",this.refresh),window.addEventListener("orientationchange",this.refresh)},unmounted:function(){window.removeEventListener("resize",this.refresh),window.removeEventListener("orientationchange",this.refresh),this.imageAttributes.revoke&&this.imageAttributes.src&&URL.revokeObjectURL(this.imageAttributes.src),this.debouncedUpdate.clear(),this.debouncedDisableTransitions.clear()},methods:{getResult:function(){var e=this.initialized?this.prepareResult(ef({},this.coordinates)):this.defaultCoordinates(),t={rotate:this.imageTransforms.rotate%360,flip:ef({},this.imageTransforms.flip)};if(this.src&&this.imageLoaded){var i=this;return{image:this.image,coordinates:e,visibleArea:this.visibleArea?ef({},this.visibleArea):null,imageTransforms:t,get canvas(){return i.canvas?i.getCanvas():void 0}}}return{image:this.image,coordinates:e,visibleArea:this.visibleArea?ef({},this.visibleArea):null,canvas:void 0,imageTransforms:t}},zoom:function(e,t){var i=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).transitions,o=void 0===i||i;this.onManipulateImage(new wf({},{factor:1/e,center:t}),{normalize:!1,transitions:o})},move:function(e,t){var i=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).transitions,o=void 0===i||i;this.onManipulateImage(new wf({left:e||0,top:t||0}),{normalize:!1,transitions:o})},setCoordinates:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.autoZoom,r=void 0===o||o,n=i.transitions,a=void 0===n||n;this.$nextTick((function(){t.imageLoaded?(t.transitionsActive||(a&&t.enableTransitions(),t.coordinates=t.applyTransform(e),r&&t.runAutoZoom("setCoordinates"),a&&t.debouncedDisableTransitions()),t.onChange()):t.delayedTransforms=e}))},refresh:function(){var e=this,t=this.$refs.image;if(this.src&&t)return this.initialized?this.updateVisibleArea().then((function(){e.onChange()})):this.resetVisibleArea().then((function(){e.onChange()}))},reset:function(){var e=this;return this.resetVisibleArea().then((function(){e.onChange(!1)}))},awaitRender:function(e){var t=this;this.awaiting||(this.awaiting=!0,this.$nextTick((function(){e(),t.awaiting=!1})))},prepareResult:function(e){return this.roundResult?(t=ef(ef({},this.getPublicProperties()),{},{positionRestrictions:Ez(this.positionRestrictions,this.visibleArea),coordinates:e}),i=t.coordinates,o=t.sizeRestrictions,r=t.positionRestrictions,(n={width:Math.round(i.width),height:Math.round(i.height),left:Math.round(i.left),top:Math.round(i.top)}).width>o.maxWidth?n.width=Math.floor(i.width):n.width<o.minWidth&&(n.width=Math.ceil(i.width)),n.height>o.maxHeight?n.height=Math.floor(i.height):n.height<o.minHeight&&(n.height=Math.ceil(i.height)),tz(n,r)):e;var t,i,o,r,n},processAutoZoom:function(e,t,i,o){var r=this.autoZoomAlgorithm;r||(r=this.stencilSize?cz:this.autoZoom?Az:Mz);var n=r({event:{type:e,params:o},visibleArea:t,coordinates:i,boundaries:this.boundaries,aspectRatio:this.getAspectRatio(),positionRestrictions:this.positionRestrictions,getAreaRestrictions:this.getAreaRestrictions,sizeRestrictions:this.sizeRestrictions,stencilSize:this.getStencilSize()});return ef(ef({},n),{},{changed:!Yf(n.visibleArea,t)||!Yf(n.coordinates,i)})},runAutoZoom:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.transitions,o=void 0!==i&&i,r=function(e,t){if(null==e)return{};var i,o,r=function(e,t){if(null==e)return{};var i,o,r={},n=Object.keys(e);for(o=0;o<n.length;o++)i=n[o],t.indexOf(i)>=0||(r[i]=e[i]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(o=0;o<n.length;o++)i=n[o],t.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(r[i]=e[i])}return r}(t,Rz),n=this.processAutoZoom(e,this.visibleArea,this.coordinates,r),a=n.visibleArea,l=n.coordinates,s=n.changed;o&&s&&this.enableTransitions(),this.visibleArea=a,this.coordinates=l,o&&s&&this.debouncedDisableTransitions()},normalizeEvent:function(e){return function(e){var t=e.event,i=e.visibleArea,o=e.coefficient;if("manipulateImage"===t.type)return Mf(Mf({},t),{move:{left:t.move&&t.move.left?o*t.move.left:0,top:t.move&&t.move.top?o*t.move.top:0},scale:{factor:t.scale&&t.scale.factor?t.scale.factor:1,center:t.scale&&t.scale.center?{left:t.scale.center.left*o+i.left,top:t.scale.center.top*o+i.top}:null}});if("resize"===t.type){var r=Mf(Mf({},t),{directions:Mf({},t.directions)});return Qf.forEach((function(e){r.directions[e]*=o})),r}if("move"===t.type){var n=Mf(Mf({},t),{directions:Mf({},t.directions)});return vf.forEach((function(e){n.directions[e]*=o})),n}return t}(ef(ef({},this.getPublicProperties()),{},{event:e}))},getCanvas:function(){if(this.$refs.canvas){var e=this.$refs.canvas,t=this.$refs.image,i=0!==this.imageTransforms.rotate||this.imageTransforms.flip.horizontal||this.imageTransforms.flip.vertical?function(e,t,i){var o=i.rotate,r=i.flip,n={width:t.naturalWidth,height:t.naturalHeight},a=qf(n,o),l=e.getContext("2d");e.height=a.height,e.width=a.width,l.save();var s=$f(Rf(Mf({left:0,top:0},n)),o);return l.translate(-(s.left-a.width/2),-(s.top-a.height/2)),l.rotate(o*Math.PI/180),l.translate(r.horizontal?n.width:0,r.vertical?n.height:0),l.scale(r.horizontal?-1:1,r.vertical?-1:1),l.drawImage(t,0,0,n.width,n.height),l.restore(),e}(this.$refs.sourceCanvas,t,this.imageTransforms):t,o=ef({minWidth:0,minHeight:0,maxWidth:1/0,maxHeight:1/0,maxArea:this.maxCanvasSize,imageSmoothingEnabled:!0,imageSmoothingQuality:"high",fillColor:"transparent"},this.canvas),r=function(e){return e.find((function(e){return t=e,!Number.isNaN(parseFloat(t))&&isFinite(t);var t}))},n=lz({sizeRestrictions:{minWidth:r([o.width,o.minWidth])||0,minHeight:r([o.height,o.minHeight])||0,maxWidth:r([o.width,o.maxWidth])||1/0,maxHeight:r([o.height,o.maxHeight])||1/0},width:this.coordinates.width,height:this.coordinates.height,aspectRatio:{minimum:this.coordinates.width/this.coordinates.height,maximum:this.coordinates.width/this.coordinates.height}});if(o.maxArea&&n.width*n.height>o.maxArea){var a=Math.sqrt(o.maxArea/(n.width*n.height));n={width:Math.round(a*n.width),height:Math.round(a*n.height)}}return function(e,t,i,o,r){e.width=o?o.width:i.width,e.height=o?o.height:i.height;var n=e.getContext("2d");n.clearRect(0,0,e.width,e.height),r&&(r.imageSmoothingEnabled&&(n.imageSmoothingEnabled=r.imageSmoothingEnabled),r.imageSmoothingQuality&&(n.imageSmoothingQuality=r.imageSmoothingQuality),r.fillColor&&(n.fillStyle=r.fillColor,n.fillRect(0,0,e.width,e.height),n.save()));var a=i.left<0?-i.left:0,l=i.top<0?-i.top:0;n.drawImage(t,i.left+a,i.top+l,i.width,i.height,a*(e.width/i.width),l*(e.height/i.height),e.width,e.height)}(e,i,this.coordinates,n,o),e}},update:function(){this.$emit("change",this.getResult())},applyTransform:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.visibleArea&&t?function(e,t){return Mf(Mf({},e),{minWidth:Math.min(t.width,e.minWidth),minHeight:Math.min(t.height,e.minHeight),maxWidth:Math.min(t.width,e.maxWidth),maxHeight:Math.min(t.height,e.maxHeight)})}(this.sizeRestrictions,this.visibleArea):this.sizeRestrictions,o=this.visibleArea&&t?Ez(this.positionRestrictions,this.visibleArea):this.positionRestrictions;return function(e){var t=e.coordinates,i=e.transform,o=e.imageSize,r=e.sizeRestrictions,n=e.positionRestrictions,a=e.aspectRatio,l=e.visibleArea,s=function(e,t){return sz({coordinates:e,positionRestrictions:n,event:new mf({left:t.left-e.left,top:t.top-e.top})})},c=Mf({},t);return(Array.isArray(i)?i:[i]).forEach((function(e){var t,i,n,A;Ef((t="function"==typeof e?e({coordinates:c,imageSize:o,visibleArea:l}):e).width)&&Ef(t.height)||(i=c,n=Mf(Mf({},c),t),A=Mf(Mf(Mf({},i),lz({width:n.width,height:n.height,sizeRestrictions:r,aspectRatio:a})),{left:0,top:0}),c=s(A,{left:i.left,top:i.top})),Ef(t.left)&&Ef(t.top)||(c=s(c,Mf(Mf({},c),t)))})),c}({transform:e,coordinates:this.coordinates,imageSize:this.imageSize,sizeRestrictions:i,positionRestrictions:o,aspectRatio:this.getAspectRatio(),visibleArea:this.visibleArea})},resetCoordinates:function(){var e=this;if(this.$refs.image){this.$refs.cropper,this.$refs.image;var t=this.defaultSize;t||(t=this.stencilSize?dz:gz);var i=this.sizeRestrictions;i.minWidth,i.minHeight,i.maxWidth,i.maxHeight;var o=Nf(t)?t({boundaries:this.boundaries,imageSize:this.imageSize,aspectRatio:this.getAspectRatio(),sizeRestrictions:this.sizeRestrictions,stencilSize:this.getStencilSize(),visibleArea:this.visibleArea}):t,r=this.defaultPosition||uz,n=[o,function(t){var i=t.coordinates;return ef({},Nf(r)?r({coordinates:i,imageSize:e.imageSize,visibleArea:e.visibleArea}):e.defaultPosition)}];this.delayedTransforms&&n.push.apply(n,of(Array.isArray(this.delayedTransforms)?this.delayedTransforms:[this.delayedTransforms])),this.coordinates=this.applyTransform(n,!0),this.delayedTransforms=null}},clearImage:function(){var e=this;this.imageLoaded=!1,setTimeout((function(){var t=e.$refs.stretcher;t&&(t.style.height="auto",t.style.width="auto"),e.coordinates=e.defaultCoordinates(),e.boundaries={width:0,height:0}}),this.transitionTime)},enableTransitions:function(){this.transitions&&(this.transitionsActive=!0)},disableTransitions:function(){this.transitionsActive=!1},updateBoundaries:function(){var e=this,t=this.$refs.stretcher,i=this.$refs.cropper;return this.initStretcher({cropper:i,stretcher:t,imageSize:this.imageSize}),this.$nextTick().then((function(){var t,o,r,n,a,l,s,c={cropper:i,imageSize:e.imageSize};if(Nf(e.defaultBoundaries)?e.boundaries=e.defaultBoundaries(c):"fit"===e.defaultBoundaries?e.boundaries=(r=(t=c).imageSize,n=(o=t.cropper).clientHeight,a=o.clientWidth,l=n,(s=r.width*n/r.height)>a&&(s=a,l=r.height*a/r.width),{width:s,height:l}):e.boundaries=function(e){var t=e.cropper;return{width:t.clientWidth,height:t.clientHeight}}(c),!e.boundaries.width||!e.boundaries.height)throw new Error("It's impossible to fit the cropper in the current container")}))},resetVisibleArea:function(){var e=this;return this.appliedImageTransforms=ef(ef({},this.defaultImageTransforms),{},{flip:ef({},this.defaultImageTransforms.flip)}),this.updateBoundaries().then((function(){"visible-area"!==e.priority&&(e.visibleArea=null,e.resetCoordinates());var t,i,o,r,n,a=e.defaultVisibleArea||Nz;e.visibleArea=Nf(a)?a({imageSize:e.imageSize,boundaries:e.boundaries,coordinates:"visible-area"!==e.priority?e.coordinates:null,getAreaRestrictions:e.getAreaRestrictions,stencilSize:e.getStencilSize()}):e.defaultVisibleArea,e.visibleArea=(i=(t={visibleArea:e.visibleArea,boundaries:e.boundaries,getAreaRestrictions:e.getAreaRestrictions}).boundaries,o=t.getAreaRestrictions,r=Mf({},t.visibleArea),n=Wf(i),r.width/r.height!==n&&(r.height=r.width/n),tz(r,o({visibleArea:r,type:"move"}))),"visible-area"===e.priority?e.resetCoordinates():e.coordinates=e.fitCoordinates({visibleArea:e.visibleArea,coordinates:e.coordinates,aspectRatio:e.getAspectRatio(),positionRestrictions:e.positionRestrictions,sizeRestrictions:e.sizeRestrictions}),e.runAutoZoom("resetVisibleArea")})).catch((function(){e.visibleArea=null}))},updateVisibleArea:function(){var e=this;return this.updateBoundaries().then((function(){e.visibleArea=e.fitVisibleArea({imageSize:e.imageSize,boundaries:e.boundaries,visibleArea:e.visibleArea,coordinates:e.coordinates,getAreaRestrictions:e.getAreaRestrictions}),e.coordinates=e.fitCoordinates({visibleArea:e.visibleArea,coordinates:e.coordinates,aspectRatio:e.getAspectRatio(),positionRestrictions:e.positionRestrictions,sizeRestrictions:e.sizeRestrictions}),e.runAutoZoom("updateVisibleArea")})).catch((function(){e.visibleArea=null}))},onChange:function(){(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&this.debounce?this.debouncedUpdate():this.update()},onChangeImage:function(){var e,t=this;if(this.imageLoaded=!1,this.delayedTransforms=null,this.src){if(function(e){if(df(e))return!1;var t=window.location,i=/(\w+:)?(?:\/\/)([\w.-]+)?(?::(\d+))?\/?/.exec(e)||[],o={protocol:i[1]||"",host:i[2]||"",port:i[3]||""},r=function(e){return e.port||("http"===(e.protocol||t.protocol)?80:433)};return!(!o.protocol&&!o.host&&!o.port||Boolean(o.protocol&&o.protocol==t.protocol&&o.host&&o.host==t.host&&o.host&&r(o)==r(t)))}(this.src)){var i=Ef(this.crossOrigin)?this.canvas:this.crossOrigin;!0===i&&(i="anonymous"),this.imageAttributes.crossOrigin=i||null}if(this.checkOrientation){var o=(e=this.src,new Promise((function(t){(function(e){return new Promise((function(t,i){try{if(e)if(/^data:/i.test(e))t(function(e){e=e.replace(/^data:([^;]+);base64,/gim,"");for(var t=atob(e),i=t.length,o=new ArrayBuffer(i),r=new Uint8Array(o),n=0;n<i;n++)r[n]=t.charCodeAt(n);return o}(e));else if(/^blob:/i.test(e)){var o=new FileReader;o.onload=function(e){t(e.target.result)},n=e,a=function(e){o.readAsArrayBuffer(e)},(l=new XMLHttpRequest).open("GET",n,!0),l.responseType="blob",l.onload=function(){200!=this.status&&0!==this.status||a(this.response)},l.send()}else{var r=new XMLHttpRequest;r.onreadystatechange=function(){4===r.readyState&&(200===r.status||0===r.status?t(r.response):i("Warning: could not load an image to parse its orientation"),r=null)},r.onprogress=function(){"image/jpeg"!==r.getResponseHeader("content-type")&&r.abort()},r.withCredentials=!1,r.open("GET",e,!0),r.responseType="arraybuffer",r.send(null)}else i("Error: the image is empty")}catch(s){i(s)}var n,a,l}))})(e).then((function(i){var o=function(e){try{var t,i=new DataView(e),o=void 0,r=void 0,n=void 0,a=void 0;if(255===i.getUint8(0)&&216===i.getUint8(1))for(var l=i.byteLength,s=2;s+1<l;){if(255===i.getUint8(s)&&225===i.getUint8(s+1)){n=s;break}s++}if(n&&(o=n+10,"Exif"===function(e,t,i){var o,r="";for(o=t,i+=t;o<i;o++)r+=String.fromCharCode(e.getUint8(o));return r}(i,n+4,4))){var c=i.getUint16(o);if(((r=18761===c)||19789===c)&&42===i.getUint16(o+2,r)){var A=i.getUint32(o+4,r);A>=8&&(a=o+A)}}if(a)for(var M=i.getUint16(a,r),u=0;u<M;u++)if(s=a+12*u+2,274===i.getUint16(s,r)){s+=8,t=i.getUint16(s,r),i.setUint16(s,1,r);break}return t}catch(g){return null}}(i);t(i?{source:e,arrayBuffer:i,orientation:o}:{source:e,arrayBuffer:null,orientation:null})})).catch((function(i){console.warn(i),t({source:e,arrayBuffer:null,orientation:null})}))})));setTimeout((function(){o.then(t.onParseImage)}),this.transitionTime)}else setTimeout((function(){t.onParseImage({source:t.src})}),this.transitionTime)}else this.clearImage()},onFailLoadImage:function(){this.imageAttributes.src&&(this.clearImage(),this.$emit("error"))},onSuccessLoadImage:function(){var e=this,t=this.$refs.image;t&&!this.imageLoaded&&(this.imageAttributes.height=t.naturalHeight,this.imageAttributes.width=t.naturalWidth,this.imageLoaded=!0,this.resetVisibleArea().then((function(){e.$emit("ready"),e.onChange(!1)})))},onParseImage:function(e){var t=this,i=e.source,o=e.arrayBuffer,r=e.orientation;this.imageAttributes.revoke&&this.imageAttributes.src&&URL.revokeObjectURL(this.imageAttributes.src),this.imageAttributes.revoke=!1,o&&r&&r>1?gf(i)||!df(i)?(this.imageAttributes.src=URL.createObjectURL(new Blob([o])),this.imageAttributes.revoke=!0):this.imageAttributes.src=function(e){for(var t=[],i=new Uint8Array(e);i.length>0;){var o=i.subarray(0,8192);t.push(String.fromCharCode.apply(null,Array.from?Array.from(o):o.slice())),i=i.subarray(8192)}return"data:image/jpeg;base64,"+btoa(t.join(""))}(o):this.imageAttributes.src=i,Nf(this.defaultTransforms)?this.appliedImageTransforms=Cz(this.defaultTransforms()):yf(this.defaultTransforms)?this.appliedImageTransforms=Cz(this.defaultTransforms):this.appliedImageTransforms=function(e){var t=Cz({});if(e)switch(e){case 2:t.flip.horizontal=!0;break;case 3:t.rotate=-180;break;case 4:t.flip.vertical=!0;break;case 5:t.rotate=90,t.flip.vertical=!0;break;case 6:t.rotate=90;break;case 7:t.rotate=90,t.flip.horizontal=!0;break;case 8:t.rotate=-90}return t}(r),this.defaultImageTransforms=ef(ef({},this.appliedImageTransforms),{},{flip:ef({},this.appliedImageTransforms.flip)}),this.$nextTick((function(){var e=t.$refs.image;e&&e.complete&&(Boolean(e.naturalWidth)?t.onSuccessLoadImage():t.onFailLoadImage())}))},onResizeEnd:function(){this.runAutoZoom("resize",{transitions:!0})},onMoveEnd:function(){this.runAutoZoom("move",{transitions:!0})},onMove:function(e){var t=this;this.transitionsOptions.enabled||this.awaitRender((function(){t.coordinates=t.moveAlgorithm(ef(ef({},t.getPublicProperties()),{},{positionRestrictions:Ez(t.positionRestrictions,t.visibleArea),coordinates:t.coordinates,event:t.normalizeEvent(e)})),t.onChange()}))},onResize:function(e){var t=this;this.transitionsOptions.enabled||this.stencilSize&&!this.autoZoom||this.awaitRender((function(){var i=t.sizeRestrictions,o=Math.min(t.coordinates.width,t.coordinates.height,20*t.coefficient);t.coordinates=t.resizeAlgorithm(ef(ef({},t.getPublicProperties()),{},{positionRestrictions:Ez(t.positionRestrictions,t.visibleArea),sizeRestrictions:{maxWidth:Math.min(i.maxWidth,t.visibleArea.width),maxHeight:Math.min(i.maxHeight,t.visibleArea.height),minWidth:Math.max(i.minWidth,o),minHeight:Math.max(i.minHeight,o)},event:t.normalizeEvent(e)})),t.onChange(),t.ticking=!1}))},onManipulateImage:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.transitionsOptions.enabled){var i=t.transitions,o=void 0!==i&&i,r=t.normalize,n=void 0===r||r;o&&this.enableTransitions();var a=function(e){var t=e.event,i=e.coordinates,o=e.visibleArea,r=e.sizeRestrictions,n=e.getAreaRestrictions,a=e.positionRestrictions,l=e.adjustStencil,s=t.scale,c=t.move,A=Mf({},o),M=Mf({},i),u=1,g=1,d=s.factor&&Math.abs(s.factor-1)>.001;A=Vf(A,{left:c.left||0,top:c.top||0});var N={stencil:{minimum:Math.max(r.minWidth?r.minWidth/M.width:0,r.minHeight?r.minHeight/M.height:0),maximum:Math.min(r.maxWidth?r.maxWidth/M.width:1/0,r.maxHeight?r.maxHeight/M.height:1/0,Kf(M,a))},area:{maximum:Kf(A,n({visibleArea:A,type:"resize"}))}};s.factor&&d&&(s.factor<1?(g=Math.max(s.factor,N.stencil.minimum))>1&&(g=1):s.factor>1&&(g=Math.min(s.factor,Math.min(N.area.maximum,N.stencil.maximum)))<1&&(g=1)),g&&(A=Jf(A,g,s.center));var E=i.left-o.left,y=o.width+o.left-(i.width+i.left),I=i.top-o.top,p=o.height+o.top-(i.height+i.top);return A=tz(A=Vf(A,Xf(A,{left:void 0!==a.left?a.left-E*g:void 0,top:void 0!==a.top?a.top-I*g:void 0,bottom:void 0!==a.bottom?a.bottom+p*g:void 0,right:void 0!==a.right?a.right+y*g:void 0})),n({visibleArea:A,type:"move"})),M.width=M.width*g,M.height=M.height*g,M.left=A.left+E*g,M.top=A.top+I*g,M=tz(M,rz(Uf(A),a)),s.factor&&d&&l&&(s.factor>1?u=Math.min(N.area.maximum,s.factor)/g:s.factor<1&&(u=Math.max(M.height/A.height,M.width/A.width,s.factor/g)),1!==u&&(A=Vf(A=tz(A=Jf(A,u,s.factor>1?s.center:Rf(M)),n({visibleArea:A,type:"move"})),Pf(Xf(M,Uf(A)))))),{coordinates:M,visibleArea:A}}(ef(ef({},this.getPublicProperties()),{},{event:n?this.normalizeEvent(e):e,getAreaRestrictions:this.getAreaRestrictions,imageRestriction:this.imageRestriction,adjustStencil:!this.stencilSize&&this.settings.resizeImage.adjustStencil})),l=a.visibleArea,s=a.coordinates;this.visibleArea=l,this.coordinates=s,this.runAutoZoom("manipulateImage"),this.onChange(),o&&this.debouncedDisableTransitions()}},onPropsChange:function(){this.coordinates=this.applyTransform(this.coordinates,!0),this.onChange(!1)},getAreaRestrictions:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.visibleArea,i=e.type,o=void 0===i?"move":i;return this.areaRestrictionsAlgorithm({boundaries:this.boundaries,imageSize:this.imageSize,imageRestriction:this.imageRestriction,visibleArea:t,type:o})},getAspectRatio:function(e){var t,i,o=this.stencilProps,r=o.aspectRatio,n=o.minAspectRatio,a=o.maxAspectRatio;if(this.$refs.stencil&&this.$refs.stencil.aspectRatios){var l=this.$refs.stencil.aspectRatios();t=l.minimum,i=l.maximum}if(Ef(t)&&(t=Ef(r)?n:r),Ef(i)&&(i=Ef(r)?a:r),!e&&(Ef(t)||Ef(i))){var s=this.getStencilSize(),c=s?Wf(s):null;Ef(t)&&(t=hf(c)?c:void 0),Ef(i)&&(i=hf(c)?c:void 0)}return{minimum:t,maximum:i}},getStencilSize:function(){if(this.stencilSize)return t=(e={currentStencilSize:{width:this.stencilCoordinates.width,height:this.stencilCoordinates.height},stencilSize:this.stencilSize,boundaries:this.boundaries,coefficient:this.coefficient,coordinates:this.coordinates,aspectRatio:this.getAspectRatio(!0)}).boundaries,o=e.aspectRatio,Zf(Wf(r=Nf(i=e.stencilSize)?i({boundaries:t,aspectRatio:o}):i),o)&&(r=lz({sizeRestrictions:{maxWidth:t.width,maxHeight:t.height,minWidth:0,minHeight:0},width:r.width,height:r.height,aspectRatio:{minimum:o.minimum,maximum:o.maximum}})),(r.width>t.width||r.height>t.height)&&(r=lz({sizeRestrictions:{maxWidth:t.width,maxHeight:t.height,minWidth:0,minHeight:0},width:r.width,height:r.height,aspectRatio:{minimum:Wf(r),maximum:Wf(r)}})),r;var e,t,i,o,r},getPublicProperties:function(){return{coefficient:this.coefficient,visibleArea:this.visibleArea,coordinates:this.coordinates,boundaries:this.boundaries,sizeRestrictions:this.sizeRestrictions,positionRestrictions:this.positionRestrictions,aspectRatio:this.getAspectRatio(),imageRestriction:this.imageRestriction}},defaultCoordinates:function(){return ef({},Of)},flip:function(e,t){var i=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).transitions,o=void 0===i||i;if(!this.transitionsActive){o&&this.enableTransitions();var r=ef({},this.imageTransforms.flip),n=function(e){var t=e.flip,i=e.previousFlip,o=e.rotate;e.aspectRatio;var r=e.getAreaRestrictions,n=e.coordinates,a=e.visibleArea,l=e.imageSize,s=Mf({},n),c=Mf({},a),A=i.horizontal!==t.horizontal,M=i.vertical!==t.vertical;if(A||M){var u=$f({left:l.width/2,top:l.height/2},-o),g=$f(Rf(s),-o),d=$f({left:A?u.left-(g.left-u.left):g.left,top:M?u.top-(g.top-u.top):g.top},o);s=Vf(s,Ff(d,Rf(s))),g=$f(Rf(c),-o),c=tz(c=Vf(c,Ff(d=$f({left:A?u.left-(g.left-u.left):g.left,top:M?u.top-(g.top-u.top):g.top},o),Rf(c))),r({visibleArea:c,type:"move"}))}return{coordinates:s,visibleArea:c}}({flip:{horizontal:e?!r.horizontal:r.horizontal,vertical:t?!r.vertical:r.vertical},previousFlip:r,rotate:this.imageTransforms.rotate,visibleArea:this.visibleArea,coordinates:this.coordinates,imageSize:this.imageSize,positionRestrictions:this.positionRestrictions,sizeRestrictions:this.sizeRestrictions,getAreaRestrictions:this.getAreaRestrictions,aspectRatio:this.getAspectRatio()}),a=n.visibleArea,l=n.coordinates;e&&(this.appliedImageTransforms.flip.horizontal=!this.appliedImageTransforms.flip.horizontal),t&&(this.appliedImageTransforms.flip.vertical=!this.appliedImageTransforms.flip.vertical),this.visibleArea=a,this.coordinates=l,this.onChange(),o&&this.debouncedDisableTransitions()}},rotate:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).transitions,i=void 0===t||t;if(!this.transitionsActive){i&&this.enableTransitions();var o=ef({},this.imageSize);this.appliedImageTransforms.rotate+=e;var r=function(e){var t=e.aspectRatio,i=e.getAreaRestrictions,o=e.coordinates,r=e.visibleArea,n=e.sizeRestrictions,a=e.positionRestrictions,l=e.imageSize,s=e.previousImageSize,c=e.angle,A=Mf({},o),M=Mf({},r),u=$f(Rf(Mf({left:0,top:0},s)),c);return(A=Mf(Mf({},lz({sizeRestrictions:n,aspectRatio:t,width:A.width,height:A.height})),$f(Rf(A),c))).left-=u.left-l.width/2+A.width/2,A.top-=u.top-l.height/2+A.height/2,M=Jf(M,ez(M,i({visibleArea:M,type:"resize"}))),{coordinates:A=tz(A,a),visibleArea:M=tz(M=Vf(M,Ff(Rf(A),Rf(o))),i({visibleArea:M,type:"move"}))}}({visibleArea:this.visibleArea,coordinates:this.coordinates,previousImageSize:o,imageSize:this.imageSize,angle:e,positionRestrictions:this.positionRestrictions,sizeRestrictions:this.sizeRestrictions,getAreaRestrictions:this.getAreaRestrictions,aspectRatio:this.getAspectRatio()}),n=r.visibleArea,a=r.coordinates,l=this.processAutoZoom("rotateImage",n,a);n=l.visibleArea,a=l.coordinates,this.visibleArea=n,this.coordinates=a,this.onChange(),i&&this.debouncedDisableTransitions()}}},emits:["change","error","ready"]},Pz={key:0,ref:"canvas",style:{display:"none"}},Vz={key:1,ref:"sourceCanvas",style:{display:"none"}};Hz.render=function(e,i,o,r,n,a){return t.openBlock(),t.createBlock("div",{ref:"cropper",class:a.classes.cropper},[t.createVNode("div",{ref:"stretcher",class:a.classes.stretcher},null,2),t.createVNode("div",{class:a.classes.boundaries,style:a.boundariesStyle},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.backgroundWrapperComponent),{class:a.classes.cropperWrapper,"wheel-resize":a.settings.resizeImage.wheel,"touch-resize":a.settings.resizeImage.touch,"touch-move":a.settings.moveImage.touch,"mouse-move":a.settings.moveImage.mouse,onMove:a.onManipulateImage,onResize:a.onManipulateImage},{default:t.withCtx((function(){return[t.createVNode("div",{class:a.classes.background,style:a.boundariesStyle},null,6),t.createVNode("div",{class:a.classes.imageWrapper},[t.createVNode("img",{ref:"image",crossorigin:n.imageAttributes.crossOrigin,src:n.imageAttributes.src,class:a.classes.image,style:a.imageStyle,onMousedown:i[1]||(i[1]=t.withModifiers((function(){}),["prevent"]))},null,46,["crossorigin","src"])],2),t.createVNode("div",{class:a.classes.foreground,style:a.boundariesStyle},null,6),t.withDirectives((t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.stencilComponent),t.mergeProps({ref:"stencil",image:a.image,coordinates:n.coordinates,"stencil-coordinates":a.stencilCoordinates,transitions:a.transitionsOptions},o.stencilProps,{onResize:a.onResize,onResizeEnd:a.onResizeEnd,onMove:a.onMove,onMoveEnd:a.onMoveEnd}),null,16,["image","coordinates","stencil-coordinates","transitions","onResize","onResizeEnd","onMove","onMoveEnd"])),[[t.vShow,n.imageLoaded]]),o.canvas?(t.openBlock(),t.createBlock("canvas",Pz,null,512)):t.createCommentVNode("",!0),o.canvas?(t.openBlock(),t.createBlock("canvas",Vz,null,512)):t.createCommentVNode("",!0)]})),_:1},8,["class","wheel-resize","touch-resize","touch-move","mouse-move","onMove","onResize"]))],6)],2)};const Jz=rw(t.defineComponent({__name:"BackgroundImageCropper",props:{touchMove:{},mouseMove:{},touchResize:{},wheelResize:{}},emits:["move","resize"],setup(e){const i=e,o=t.ref(!1),r=t.ref(),n=(e,t)=>{if("touchstart"===e.type||"touchmove"===e.type){if(1===e.touches.length&&!t)return o.value=!0,r.value="touch",a(),!1;o.value=!1}else if("wheel"===e.type){if(!t&&!e.ctrlKey)return o.value=!0,r.value="wheel",a(),!1;o.value=!1}e.preventDefault(),e.stopPropagation()},a=()=>{setTimeout((()=>{o.value=!1}),1e3)};return(e,a)=>(t.openBlock(),t.createBlock(t.unref(bz),{"events-filter":n,"mouse-move":i.mouseMove,"touch-move":i.touchMove,"touch-resize":i.touchResize,"wheel-resize":i.wheelResize,onMove:a[0]||(a[0]=t=>e.$emit("move",t)),onResize:a[1]||(a[1]=t=>e.$emit("resize",t))},{default:t.withCtx((()=>[t.renderSlot(e.$slots,"default",{},void 0,!0),t.createElementVNode("div",{class:t.normalizeClass([{"cropper-event-notification--visible":o.value},"cropper-event-notification"])},t.toDisplayString("wheel"===r.value?"Use ctrl + scroll to zoom the cropper":"Use two fingers to move the cropper"),3)])),_:3},8,["mouse-move","touch-move","touch-resize","wheel-resize"]))}}),[["__scopeId","data-v-3c428f57"]]);var Wz={exports:{}};!function(e,t){(function(){function i(e,t){t=t||"";for(var i=window.atob(e),o=[],r=0,n=i.length;r<n;r+=1024){for(var a=i.slice(r,r+1024),l=new Array(a.length),s=0;s<a.length;s++)l[s]=a.charCodeAt(s);var c=new Uint8Array(l);o.push(c)}return new Blob(o,{type:t})}e.exports&&(t=e.exports=i),t.base64ToBlob=i}).call(le)}(Wz,Wz.exports);const Kz=se(Wz.exports),Xz={class:"flex flex-col gap-y-4"},Zz={key:0,class:t.normalizeClass(["[&_li]:before:content-['•']","[&_li]:before:inline-block [&_li]:before:w-[12px] [&_li]:before:ml-[-12px] pl-3","max-w-[121px] text-body-medium text-general-800 dark:text-general-100 [&_li]:pl-0.5"]),"data-ts-section":"image-requirements-info"},_z=[t.createElementVNode("li",null,"Max. 1 MB",-1),t.createElementVNode("li",null,"Must be image format",-1)],qz=t.defineComponent({__name:"ImageInputInfo",props:{showInfo:{type:Boolean},showAddButton:{type:Boolean}},emits:["addPhoto"],setup:e=>(e,i)=>(t.openBlock(),t.createElementBlock("div",Xz,[e.showInfo?(t.openBlock(),t.createElementBlock("ul",Zz,_z)):t.createCommentVNode("",!0),e.showAddButton?(t.openBlock(),t.createBlock(Jc,{key:1,onClick:i[0]||(i[0]=t=>e.$emit("addPhoto")),icon:"add-line",label:"Add Photo",text:""})):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"default")]))}),$z=["draggable"],eC={key:0,class:"flex gap-0.5 justify-center","data-ts-section":"preview-buttons"},tC={key:1,class:"flex gap-1 items-start"},iC=["id","multiple"],oC=["for"],rC=[t.createElementVNode("span",{class:"inline-flex items-center text-body-medium rounded-bl rounded-tl bg-general-50 px-3 h-[26px] border-[0.5px] border-general-200"}," Browse ",-1),t.createElementVNode("span",{class:"inline-flex items-center text-body-medium !text-general-200 !font-light rounded-br rounded-tr px-3 h-[26px] leading-4 border-[0.5px] border-l-0 border-general-200"}," Select File ",-1)],nC=t.defineComponent({__name:"ImageCompressor",props:t.mergeModels({type:{default:"normal"},multiple:{type:Boolean},defaultImage:{},disabled:{type:Boolean,default:!1},compressedBlob:{default:void 0},imagePreviewUrl:{default:void 0},imagePreviewSize:{default:"big"},rounded:{type:Boolean,default:!1},useValidator:{type:Boolean,default:!1},mandatory:{type:Boolean,default:!1},invalid:{type:Boolean},validatorMessage:{default:"Photo must be uploaded"},label:{default:void 0},fieldName:{default:"imageInput"},fieldInfo:{default:void 0},showInfo:{type:Boolean,default:!0},confirmOnDelete:{type:Boolean},showValidatorMessage:{type:Boolean,default:!0},fileType:{default:"webp"}},{defaultImage:{default:0},defaultImageModifiers:{}}),emits:t.mergeModels(["apply","update:defaultImage","update:fieldValue","delete"],["update:defaultImage"]),setup(e,{emit:i}){const o=e,r=i;t.onMounted((async()=>{j(),m(),o.imagePreviewUrl&&(d.value=o.imagePreviewUrl)})),t.onUnmounted((()=>{b(0),b(1)}));const n=t.ref([{src:null,type:null},{src:null,type:null}]),a=t.ref(),l=t.ref([]),s=t.ref(),c=t.shallowRef(0),A=t.ref(),M=t.ref(),u=t.shallowRef(),g=t.useModel(e,"defaultImage"),d=t.reactive({value:o.multiple?[]:void 0}),N=t.shallowRef(!1),E=t.shallowRef(),y=t.shallowRef(0),I=t.shallowRef(!1),p=t.ref([!1,!1]),h=t.computed((()=>`image/${o.fileType}`)),j=()=>{var e,t;(null==(e=o.imagePreviewUrl)?void 0:e.length)?l.value=Array.isArray(o.imagePreviewUrl)?o.imagePreviewUrl:[o.imagePreviewUrl]:(null==(t=o.compressedBlob)?void 0:t.length)&&(l.value=Array.isArray(o.compressedBlob)?o.compressedBlob:[o.compressedBlob])},T=(e=!1)=>{var t;o.disabled||(e&&(u.value=1),null==(t=s.value)||t.click())},w=async e=>{const{files:t}=e.target,i=Array.from(t??[]).slice(0,l.value.length?1:2);for(const[r,n]of i.entries())try{const e=u.value??r;await D(n,e)}catch(o){console.error("Error loading image:",o)}finally{u.value=void 0}},D=async(e,t)=>new Promise(((i,o)=>{if(e)if(B(t),e.type.includes("image"))if(e.size>1e6)S(t,!0),N.value=!0,E.value="File size is too big! Max. 1 MB",I.value=!1,b(t),o("File size is too big! Max. 1 MB");else{b(t);const i=URL.createObjectURL(e),o=new FileReader;o.onload=o=>{var r;n.value[t].src=i,n.value[t].type=x(null==(r=null==o?void 0:o.target)?void 0:r.result,e.type)},o.onerror=e=>{console.error("🚀 ~ returnnewPromise ~ e:",e)},o.readAsArrayBuffer(e),null==u.value&&(u.value=t),I.value||(I.value=!0),N.value=!1,E.value=void 0}else N.value=!0,E.value="File type is not image!",l.value[t]=void 0,I.value=!1,b(t),o("File type is not image!");y.value+=1,M.value=i})),m=()=>{o.useValidator&&Object.assign(d,Na(o.fieldName,(e=>!e&&o.mandatory?(o.label??"Photo")+" must be uploaded":o.invalid&&o.validatorMessage?o.validatorMessage:!E.value||E.value)))},B=e=>{n.value[e]={src:null,type:null}},x=(e,t=null)=>{if(e){const i=new Uint8Array(e).subarray(0,4);let o="";for(const e of i)o+=e.toString(16);switch(o){case"89504e47":return"image/png";case"47494638":return"image/gif";case"ffd8ffe0":case"ffd8ffe1":case"ffd8ffe2":case"ffd8ffe3":case"ffd8ffe8":return h.value;default:return t}}return null},L=e=>{const t=Kz(e.split(",")[1],h.value);return window.URL.createObjectURL(t)},f=async(e,t)=>{const i=await fetch(e).then((e=>e.blob()));return new File([i],t,{type:h.value})},z=async()=>{const e=u.value??0;try{await Q(e)}catch(t){console.error(t)}C()},C=()=>{var e;I.value=!1,null==(e=M.value)||e.call(M),M.value=void 0},Q=async e=>{if(A.value){const t=A.value.getResult();if(t.canvas){const i=t.canvas.toDataURL(h.value);await k(i,e)}}},k=async(e,t)=>{try{a.value=document.createElement("canvas");const i=a.value.getContext("2d"),n=new Image;n.src=e,await n.decode();const s=.8,c=n.width*s,A=n.height*s;a.value.setAttribute("width",c.toString()),a.value.setAttribute("height",A.toString()),i&&i.drawImage(n,0,0,c,A);const M=a.value.toDataURL(h.value,.95),u=Date.now()+`.${o.fileType}`,g={canvas:a.value,compressed:{blob:L(M),base64:M,fileName:u,file:await f(L(M),u),size:"",type:h.value},message:"File has been compressed."};g.compressed.size=Math.round(g.compressed.file.size/1e3)+"KB",l.value[t]=g.compressed.blob,o.multiple?d.value&&Array.isArray(d.value)?d.value[t]=g.compressed.file:d.value=[g.compressed.file]:d.value=g.compressed.file,r("apply",g)}catch(i){console.error(i)}},b=e=>{n.value[e].src&&URL.revokeObjectURL(n.value[e].src)},v=e=>{o.confirmOnDelete?p.value[e]=!0:S(e)},S=(e=0,t=!1)=>{N.value=!1,E.value=void 0,l.value=l.value.toSpliced(e,1),b(e),n.value[e]={src:null,type:null},n.value=[n.value[+!e],n.value[e]],u.value=0,g.value=0,o.confirmOnDelete&&!t||r("delete",S,e),o.multiple&&Array.isArray(d.value)?d.value=d.value.toSpliced(e,1):d.handleReset&&d.handleReset()},O=e=>{var t;const i=null==(t=l.value[e])?void 0:t.toString();u.value=e,(null==i?void 0:i.includes("blob"))?(u.value=e,I.value=!0):(B(e),T())},Y=()=>{T()},U=()=>{l.value=l.value.reverse(),d.value=d.value.reverse()},F=t.computed((()=>navigator.userAgent.includes("Firefox")));return t.watch(E,(e=>{e&&d.setErrors&&d.setErrors(e)})),t.watch(I,(e=>{e||c.value++})),t.watch((()=>d.value),(e=>{r("update:fieldValue",e)})),(e,i)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(du,{class:t.normalizeClass([{"!w-max":!o.multiple,"!w-full":o.multiple}]),info:o.fieldInfo,label:o.label,mandatory:o.mandatory,"data-ts-name":"image-compressor","data-ts-section":"root"},{default:t.withCtx((()=>[t.createElementVNode("div",{class:t.normalizeClass(["w-full",{"grid gap-6 items-start grid-cols-2":e.multiple&&"normal"===e.type},{"grid gap-3 items-start grid-cols-[max-content,max-content]":e.multiple&&"inline-table"===e.type}]),"data-ts-section":"wrapper"},[l.value.length?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.value,((n,a)=>(t.openBlock(),t.createElementBlock("div",{key:a,draggable:2==l.value.length,onDragend:U,class:"flex gap-1 items-start","data-ts-section":"preview"},[t.createElementVNode("div",{class:t.normalizeClass(["flex gap-1",{"flex-col":"normal"===e.type,"items-center":"inline-table"===e.type}]),"data-ts-section":"preview-image-wrapper"},[t.createVNode(Ow,{class:t.normalizeClass({"w-[26px] h-[26px]":"inline-table"===e.type}),rounded:e.rounded,thumbnail:n,"data-ts-section":"preview-image"},null,8,["class","rounded","thumbnail"]),o.disabled?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",eC,["normal"===e.type?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createVNode(Jc,{label:"normal"===e.type?"Edit":"",onClick:e=>O(a),class:"!py-0.5 !px-1 !h-max text-[11px]",icon:"pencil",text:""},null,8,["label","onClick"]),t.createVNode(Jc,{label:"normal"===e.type?"Delete":"",onClick:e=>v(a),class:"!py-0.5 !px-1 !h-max text-[11px]",icon:"delete-bin",severity:"danger",text:""},null,8,["label","onClick"])],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createVNode(cc,{onClick:e=>O(a),class:"text-xs p-0.5 rounded-xs mr-1",icon:"pencil",severity:"primary"},null,8,["onClick"]),t.createVNode(cc,{onClick:e=>v(a),class:"text-xs p-0.5 rounded-xs",icon:"delete-bin",severity:"danger"},null,8,["onClick"])],64)),t.createVNode(Vu,{visible:p.value[a],"onUpdate:visible":e=>p.value[a]=e,onConfirm:e=>r("delete",S,a),body:"Are you sure you want to delete it?","confirm-label":"Delete",header:"Delete Photo",severity:"danger"},null,8,["visible","onUpdate:visible","onConfirm"])]))],2),"normal"===e.type?(t.openBlock(),t.createBlock(qz,{key:0,"show-add-button":1===l.value.length&&o.multiple,"show-info":e.showInfo,onAddPhoto:i[1]||(i[1]=e=>T(!0))},{default:t.withCtx((()=>[2===l.value.length&&o.multiple?(t.openBlock(),t.createBlock(BM,{key:0,modelValue:g.value,"onUpdate:modelValue":i[0]||(i[0]=e=>g.value=e),"label-id":"default-"+a,value:a,label:"Set as default"},null,8,["modelValue","label-id","value"])):t.createCommentVNode("",!0)])),_:2},1032,["show-add-button","show-info"])):t.createCommentVNode("",!0)],40,$z)))),128)),e.multiple&&1==l.value.length&&"inline-table"===e.type?(t.openBlock(),t.createBlock(Jc,{key:0,onClick:i[2]||(i[2]=e=>T(!0)),icon:"add-line",label:"Photo",text:""})):t.createCommentVNode("",!0)],64)):"inline-table"!=e.type?(t.openBlock(),t.createElementBlock("div",tC,[t.createElementVNode("button",{class:t.normalizeClass(["w-[125px] h-[125px]","flex items-center justify-center","ring-inset","cursor-pointer",{"ring-1":F.value,"ring-[0.5px]":!F.value},{"rounded-full":e.rounded,"rounded-lg":!e.rounded},{"ring-general-200 dark:ring-general-200 focus-visible:ring-primary-500 focus-visible:dark:ring-primary-500":!N.value&&!d.errorMessage,"ring-danger-500 dark:ring-danger-500":N.value||d.errorMessage},{"bg-white dark:bg-grayscale-900":!o.disabled,"bg-general-50 dark:bg-grayscale-800":o.disabled}]),onClick:i[3]||(i[3]=e=>T(!1)),"data-ts-section":"input-image-trigger",type:"button"},[t.createVNode(cc,{class:"w-6 h-6","data-ts-section":"trigger-icon",icon:"image-add",severity:"primary"})],2),t.createVNode(qz,{"show-info":e.showInfo},null,8,["show-info"])])):t.createCommentVNode("",!0)],2),(t.openBlock(),t.createElementBlock("input",{id:e.fieldName,key:c.value,ref_key:"inputImageFile",ref:s,multiple:o.multiple&&!l.value.length,onChange:w,accept:"image/*",class:"hidden","data-ts-section":"hidden-image-input",type:"file"},null,40,iC)),"inline-table"!==e.type||l.value.length?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("label",{key:0,for:e.fieldName,class:"inline-flex items-center cursor-pointer"},rC,8,oC)),e.showValidatorMessage?(t.openBlock(),t.createBlock(kM,{key:1,format:!1,message:d.errorMessage??E.value},null,8,["message"])):t.createCommentVNode("",!0)])),_:1},8,["class","info","label","mandatory"]),t.createVNode(IA,{visible:I.value,"onUpdate:visible":i[4]||(i[4]=e=>I.value=e),class:t.normalizeClass(["w-max max-w-[98vw] min-w-[500px] !max-h-[94vh]"]),"content-class":["overflow-hidden overflow-y-auto min-h-[100px]"],draggable:!1,"footer-class":["!gap-1"],"data-ts-section":"dialog-cropper",header:"Adjust Photo",modal:""},{footer:t.withCtx((()=>[t.createVNode(Jc,{onClick:C,label:"Cancel",plain:"",severity:"secondary",text:""}),t.createVNode(Jc,{onClick:Y,label:"Change Image",text:""}),t.createVNode(Jc,{onClick:z,label:"Apply",severity:"success",type:"button"})])),default:t.withCtx((()=>[null!=u.value?(t.openBlock(),t.createBlock(t.unref(Hz),{key:0,ref_key:"vueAdvanceCropper",ref:A,"auto-zoom":!1,"background-wrapper-component":Jz,src:n.value[u.value].src,class:"upload-example-cropper h-400","foreground-class":"h-400","image-class":"h-400"},null,8,["src"])):t.createCommentVNode("",!0)])),_:1},8,["visible"])],64))}}),aC=["id","disabled","maxlength","placeholder"],lC=t.defineComponent({__name:"InputBadge",props:{type:{default:"text"},modelValue:{},initialValue:{},useValidator:{type:Boolean},mandatory:{type:Boolean},validatorMessage:{},showValidatorMessage:{type:Boolean,default:!0},invalid:{type:Boolean},fieldName:{default:"inputBadge"},placeholder:{},disabled:{type:Boolean},label:{},fieldInfo:{},fieldTooltipPos:{},preserveDeletedIndex:{type:Boolean},maxlength:{}},emits:["update:modelValue"],setup(e,{emit:i}){const o=e,r=i;t.onMounted((()=>{d()}));const n=t.ref(null),a=t.ref(null),l=t.shallowRef(),s=t.reactive({value:o.initialValue??o.modelValue??[]}),c=t.ref(0),A=t.computed((()=>{var e;return(null==(e=o.label)?void 0:e.toLowerCase)+"-badge-input"})),M=t.computed((()=>o.invalid&&o.validatorMessage?o.validatorMessage:s.errorMessage)),u=t.computed((()=>o.placeholder?o.placeholder:"email"===o.type?"Enter valid email":"Enter value")),g=t.computed((()=>{var e,t;return null==(t=null==(e=s.value)?void 0:e.filter(Boolean))?void 0:t.length})),d=()=>{var e,t;o.useValidator&&(Object.assign(s,Na(o.fieldName,(e=>!(!(null==e?void 0:e.length)&&o.mandatory)||(o.label??"This field")+" must not be empty"))),(null==(e=o.initialValue)?void 0:e.length)?s.value=o.initialValue:(null==(t=o.modelValue)?void 0:t.length)&&(s.value=o.modelValue))},N=t.computed((()=>{var e;return o.invalid||!!s.errorMessage||!(null==(e=s.value)?void 0:e.length)&&"string"==typeof l.value&&!l.value.length})),E=e=>{var t;I(l.value)||("email"===o.type&&n.value&&a.value&&l.value&&(t=l.value,!/^[\w-]+(\.[\w-]+)*@([\w-]+\.)+[a-zA-Z]{2,7}$/.test(t))?a.value.toggle(e,n.value):l.value&&(s.value=[...s.value??[],l.value],l.value=void 0,r("update:modelValue",s.value)))},y=e=>{var t,i;"Backspace"!==e.key||l.value||(e.preventDefault(),"text"===o.type?l.value=null==(t=s.value)?void 0:t.pop():null==(i=s.value)||i.pop(),r("update:modelValue",s.value))},I=e=>{var t;return null==(t=s.value)?void 0:t.some((t=>t===e))},p=navigator.userAgent.includes("Firefox");return t.watch((()=>o.initialValue),(e=>{e&&(s.value=e)}),{once:!0}),t.watch((()=>o.modelValue),(e=>{e&&(s.value=e)})),o.preserveDeletedIndex&&t.watchEffect((()=>{var e,t;(null==(e=s.value)?void 0:e.length)&&(null==(t=s.value)?void 0:t.every((e=>null==e)))&&(s.value=[])})),(e,i)=>(t.openBlock(),t.createBlock(du,{info:e.fieldInfo,label:o.label,mandatory:o.mandatory,"tooltip-pos":e.fieldTooltipPos},{default:t.withCtx((()=>[(t.openBlock(),t.createElementBlock("div",{key:c.value,class:t.normalizeClass(["flex flex-wrap gap-x-0.5 gap-y-[5px] items-center","min-h-[26px] h-fit w-full","ring-inset rounded px-[12px] py-[2px]",{"ring-[1px]":t.unref(p),"ring-[0.5px]":!t.unref(p)},{"!ring-danger-500 !dark:ring-danger-500":N.value},{"!ring-general-200 !dark:ring-general-200":!N.value},{"pointer-events-none":e.disabled}]),"data-ts-name":"input-badge","data-ts-section":"root"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.value,((e,i)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:e},[e?(t.openBlock(),t.createBlock(Xc,{key:0,"edit-maxlength":o.maxlength,label:e,onRemove:e=>{var t;return(e=>{var t;null==(t=s.value)||t.splice(e,1,...o.preserveDeletedIndex?[null]:[]),r("update:modelValue",s.value)})(i),null==(t=n.value)?void 0:t.focus()},"onUpdate:label":e=>((e,t)=>{if(s.value&&e){if(I(e))return void c.value++;s.value[t]=e,r("update:modelValue",s.value)}})(e,i),editable:"",format:"nowrap",removable:"",severity:"dark"},null,8,["edit-maxlength","label","onRemove","onUpdate:label"])):t.createCommentVNode("",!0)],64)))),128)),t.createElementVNode("form",{onSubmit:t.withModifiers(E,["prevent"]),class:"flex-1","data-ts-section":"form-input"},[t.withDirectives(t.createElementVNode("input",{id:A.value,ref_key:"badgeInput",ref:n,"onUpdate:modelValue":i[0]||(i[0]=e=>l.value=e),class:t.normalizeClass([...t.unref(ka).root({props:o,context:{disabled:e.disabled},parent:e.$parent}).class,"outline-none !w-full !bg-transparent !p-0 !shadow-none h-max !leading-4 min-w-[70px]",{"placeholder:text-transparent":g.value},"focus:placeholder:text-general-200"]),disabled:e.disabled,maxlength:o.maxlength,placeholder:u.value,onBlur:E,onFocus:i[1]||(i[1]=e=>{var t;return null==(t=a.value)?void 0:t.hide()}),onInput:i[2]||(i[2]=e=>{var t;return null==(t=a.value)?void 0:t.hide()}),onKeydown:y,"data-ts-section":"label-input",type:"text"},null,42,aC),[[t.vModelText,l.value]]),t.createVNode(t.unref(og),{ref_key:"op",ref:a,class:"px-3 py-1 text-[12px] text-general-800"},{default:t.withCtx((()=>[t.createVNode(cc,{class:"mr-1 text-warning-600 text-base",icon:"error"}),t.createTextVNode(" Email format is incorrect ")])),_:1},512)],32)],2)),o.showValidatorMessage&&o.label?(t.openBlock(),t.createBlock(kM,{key:0,message:M.value},null,8,["message"])):t.createCommentVNode("",!0)])),_:1},8,["info","label","mandatory","tooltip-pos"]))}}),sC=({isFirefoxBased:e,invalidInput:t})=>[{"ring-[1px]":e,"ring-[0.5px]":!e},{"!ring-danger-500":t},"ring-inset","ring-general-200","[&:has(:focus)]:bg-none [&:has(:focus)]:dark:bg-none","[&:has(:focus)]:ring-primary-500","bg-white dark:bg-white","z-[0] [&:has(:focus)]:z-[12]"],cC={dialcode:e=>({class:[...sC(e),"rounded-l rounded-r-none"]}),inputnumber:e=>({class:[...sC(e),"rounded-r rounded-l-none -ml-[1px]"]})},AC={currency:e=>({class:[...sC(e),"rounded-l rounded-r-none"],"data-ts-section":"currency"}),value:e=>({class:[...sC(e),"rounded-r rounded-l-none -ml-[1px]"],"data-ts-section":"value"})},MC={key:1,class:"bg-general-50 flex h-full items-center px-3 ring-[0.5px] ring-general-200 ring-inset rounded-l"},uC=t.defineComponent({__name:"InputCurrency",props:{modelValue:{},value:{},label:{},max:{},useValidator:{type:Boolean},fieldName:{},mandatory:{type:Boolean},validatorMessage:{},invalid:{type:Boolean},placeholder:{},disabled:{type:Boolean},showButtons:{type:Boolean},size:{},mode:{},useGrouping:{type:Boolean},fieldInfo:{},inputnNumberId:{},selectable:{type:Boolean}},emits:["update:modelValue","input"],setup(e,{emit:i}){var o,r;const n=e,a=i;t.onMounted((()=>{n.useValidator&&(Object.assign(M,Na(n.fieldName??"currencyInput",(e=>!(!(null==e?void 0:e.value)&&n.mandatory)||`${n.label} must not be empty`))),n.modelValue&&(M.value=n.modelValue))}));const l=t.shallowRef(!1),s=t.shallowRef(null==(o=n.modelValue)?void 0:o.value),c=navigator.userAgent.includes("Firefox"),A=t.shallowRef(Ut(null==(r=n.modelValue)?void 0:r.currency)),M=t.reactive({value:n.modelValue}),u=t.shallowRef(Yt),g=t.computed((()=>{var e;return null==(e=A.value)?void 0:e.locale})),d=t.computed((()=>n.inputnNumberId?n.inputnNumberId:(n.label??n.fieldName??"input-number").toLowerCase().trim().replaceAll(" ","-")+"-inputnumber")),N=t.computed((()=>n.invalid||!!M.errorMessage)),E=({currency:e},t)=>{const i=null!=t?{currency:e,value:t}:void 0;a("update:modelValue",i),M.value=i};return t.watch((()=>n.modelValue),(()=>{var e,t,i;A.value=(null==(e=n.modelValue)?void 0:e.currency)?Ut(null==(t=n.modelValue)?void 0:t.currency):A.value,M.value=n.modelValue,s.value=null==(i=n.modelValue)?void 0:i.value})),(e,i)=>(t.openBlock(),t.createBlock(Ym,t.mergeProps(n,{modelValue:s.value,"onUpdate:modelValue":[i[4]||(i[4]=e=>s.value=e),i[5]||(i[5]=e=>E(A.value,e))],"input-id":d.value,"input-number-class":t.unref(AC).value({isFirefoxBased:t.unref(c),invalidInput:N.value}).class,invalid:N.value,locale:g.value,"min-fraction-digits":0,"use-validator":!1,"validator-message":M.errorMessage,"addon-left-class":"!p-0 !bg-transparent","input-group-class":"!ring-0",mode:"decimal","use-grouping":""}),{"addon-left":t.withCtx((()=>[n.selectable?(t.openBlock(),t.createBlock(t.unref(eu),{key:0,modelValue:A.value,"onUpdate:modelValue":[i[0]||(i[0]=e=>A.value=e),i[3]||(i[3]=e=>E(e,s.value))],class:t.normalizeClass(t.unref(AC).currency({isFirefoxBased:t.unref(c),invalidInput:N.value}).class),"filter-fields":["label","currency"],options:u.value,pt:{input:{class:["py-1 pl-3 pr-2",t.unref(fa).input({props:{modelValue:A.value}}).class]}},onHide:i[1]||(i[1]=e=>(l.value=!1,void t.nextTick((()=>{const e=document.getElementById(d.value);e&&e.focus()})))),onShow:i[2]||(i[2]=e=>l.value=!0),"data-key":"currency",filter:"","filter-placeholder":"Search","option-label":"symbol"},{dropdownicon:t.withCtx((()=>[t.createVNode(cc,{class:t.normalizeClass(["w-full h-full transition-transform !text-general-500",{"rotate-180":l.value}]),icon:"arrow-drop-down"},null,8,["class"])])),option:t.withCtx((({option:e})=>[t.createTextVNode(t.toDisplayString(e.label),1)])),_:1},8,["modelValue","class","options","pt"])):(t.openBlock(),t.createElementBlock("div",MC,t.toDisplayString(A.value.symbol),1))])),_:1},16,["modelValue","input-id","input-number-class","invalid","locale","validator-message"]))}}),gC={key:1,class:"grid grid-cols-[1fr,auto] items-end gap-2.5"},dC=t.defineComponent({__name:"InputCurrencyReference",props:{modelValue:{},value:{},label:{},max:{},useValidator:{type:Boolean},fieldName:{},mandatory:{type:Boolean},validatorMessage:{},invalid:{type:Boolean},placeholder:{},disabled:{type:Boolean},showButtons:{type:Boolean},size:{},mode:{},useGrouping:{type:Boolean},fieldInfo:{},inputnNumberId:{},selectable:{type:Boolean}},emits:["update:modelValue","input"],setup(e,{emit:i}){const o=e,r=i,n=t.ref(!1),a=e=>r("update:modelValue",e),l=()=>{a(void 0),n.value=!1};return t.watch((()=>o.modelValue??o.value),(e=>{e&&(n.value=!0)}),{immediate:!0}),(e,i)=>n.value?(t.openBlock(),t.createElementBlock("div",gC,[t.createVNode(uC,t.mergeProps({"onUpdate:modelValue":a},o,{selectable:""}),null,16),t.createVNode(Jc,{onClick:l,"aria-label":"Remove currency input",icon:"delete-bin",outlined:"",severity:"danger"})])):(t.openBlock(),t.createBlock(Jc,{key:0,onClick:i[0]||(i[0]=e=>n.value=!0),"aria-label":"Add currency input",icon:"add-line",outlined:""}))}}),NC=t.defineComponent({__name:"InputText",props:{modelValue:{},value:{},maxLength:{default:30},label:{},useValidator:{type:Boolean},fieldName:{},mandatory:{type:Boolean},invalid:{type:Boolean},manualInvalidContainer:{type:Boolean,default:!1},validatorMessage:{},validateOnBlur:{type:Boolean,default:!1},validatorMessageClass:{},placeholder:{},type:{default:"text"},disabled:{type:Boolean},fieldInfo:{},inputClass:{},inputContainerClass:{},labelClass:{},blurOnReachMax:{type:Boolean},allowSpecialCharacters:{type:Boolean,default:!0}},emits:["blur","input","update:modelValue"],setup(e,{emit:i}){var o;const r=e,n=i,a=t.ref(0),l=t.ref(),s=t.shallowRef(r.value||r.modelValue),c=t.reactive({value:null==(o=r.modelValue)?void 0:o.trim()}),A=t.computed((()=>r.invalid||!!c.errorMessage));t.onMounted((()=>{var e;r.useValidator&&(Object.assign(c,Na(r.fieldName??"textInput",(e=>u(null==e?void 0:e.trim())))),null!=r.value&&(c.value=null==(e=r.value)?void 0:e.trim()))}));const M=t.computed((()=>r.placeholder??`Enter ${r.label?r.label.toLowerCase():r.type??"text"}`)),u=async e=>{if(await t.nextTick(),r.validatorMessage&&r.invalid)return r.validatorMessage;if(!e&&r.mandatory)return`${r.label} must not be empty`;if((null==e?void 0:e.length)>r.maxLength&&("text"===r.type||"email"===r.type))return"Max. "+r.maxLength+" characters";if(e&&"email"===r.type){return!!/^[\w-]+(\.[\w-]+)*@([\w-]+\.)+[a-zA-Z]{2,7}$/.test(e)||"Email format is incorrect"}if(e&&"url"===r.type){return!!new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+:@!$&'()*+,;=]*)*(\\?[;&a-z\\d%_.~+=:@!$&'()*+,;=-]*)?(\\#[-a-z\\d_:@!$&'()*+,;=]*)?$","i").test(e)||"URL format is incorrect"}return!!r.allowSpecialCharacters||(!/[^A-Za-z0-9 ]/.test(e)||"Cannot include any special characters")},g=e=>{var i;const o=null==(i=l.value)?void 0:i.$el;if(!o)return;const{selectionStart:n,selectionEnd:s}=o;a.value++,o.blur(),t.nextTick((()=>{var t;const i=null==(t=l.value)?void 0:t.$el;if(null==i||i.focus(),null!==n&&null!==s){const t=n===r.maxLength&&(null==e?void 0:e.length)===r.maxLength?r.maxLength:n-1;null==i||i.setSelectionRange(t,t)}}))},d=()=>{r.validateOnBlur&&(c.value=s.value),n("blur",s.value)},N=e=>{var t;const i=e.target.value||void 0;n("input",i);const o="deleteContentBackward"===e.inputType,a=i&&(null==i?void 0:i.length)>=r.maxLength,l=(null==(t=c.value)?void 0:t.length)===r.maxLength;a&&r.blurOnReachMax&&!l?((e=>{s.value=String(e).slice(0,r.maxLength),g(e)})(i),n("input",i)):l&&!o&&r.blurOnReachMax?(s.value=c.value,g()):(s.value=i,n("input",i)),r.validateOnBlur||(c.value=s.value),n("update:modelValue",s.value)};return t.watch((()=>r.value),(e=>{c.value=null==e?void 0:e.trim(),s.value=c.value}),{once:!0}),t.watch((()=>r.modelValue),(e=>{c.value=null==e?void 0:e.trim(),s.value=c.value})),(e,i)=>(t.openBlock(),t.createBlock(du,{info:e.fieldInfo,label:r.label,"label-class":r.labelClass,mandatory:r.mandatory},{default:t.withCtx((()=>[t.createVNode(Eu,{class:t.normalizeClass(r.inputContainerClass??["grid ",{"grid-cols-[max-content,1fr,max-content]":e.$slots["addon-left"]&&e.$slots["addon-right"],"grid-cols-[1fr,max-content]":!e.$slots["addon-left"]&&e.$slots["addon-right"],"grid-cols-[max-content,1fr]":e.$slots["addon-left"]&&!e.$slots["addon-right"]}]),disabled:r.disabled,invalid:A.value&&!r.manualInvalidContainer},{default:t.withCtx((()=>[e.$slots["addon-left"]?(t.openBlock(),t.createBlock(t.unref(yu),{key:0,disabled:r.disabled},{default:t.withCtx((()=>[t.renderSlot(e.$slots,"addon-left")])),_:3},8,["disabled"])):t.createCommentVNode("",!0),(t.openBlock(),t.createBlock(t.unref(qu),{key:a.value,ref_key:"input",ref:l,class:t.normalizeClass(["ts-inputtext",e.inputClass]),disabled:e.disabled,invalid:A.value,"model-value":c.value,placeholder:M.value,onBlur:d,onInput:N},null,8,["class","disabled","invalid","model-value","placeholder"])),e.$slots["addon-right"]?(t.openBlock(),t.createBlock(t.unref(yu),{key:1,class:t.normalizeClass({"!text-general-200 !dark:text-general-200":r.disabled})},{default:t.withCtx((()=>[t.renderSlot(e.$slots,"addon-right")])),_:3},8,["class"])):t.createCommentVNode("",!0)])),_:3},8,["class","disabled","invalid"]),t.createVNode(kM,{class:t.normalizeClass(r.validatorMessageClass),message:c.errorMessage??r.validatorMessage},null,8,["class","message"])])),_:3},8,["info","label","label-class","mandatory"]))}}),EC=t.defineComponent({__name:"InputEmail",props:{modelValue:{},label:{},labelClass:{},fieldName:{},manualInvalidContainer:{type:Boolean},mandatory:{type:Boolean},useValidator:{type:Boolean},validatorMessage:{},validatorMessageClass:{},placeholder:{},disabled:{type:Boolean},fieldInfo:{},inputClass:{},inputContainerClass:{}},emits:["update:modelValue","blur"],setup:e=>(e,i)=>(t.openBlock(),t.createBlock(NC,{"field-info":e.fieldInfo,"field-name":e.fieldName,"input-class":e.inputClass,"input-container-class":e.inputContainerClass,label:e.label,"label-class":e.labelClass,mandatory:e.mandatory,"manual-invalid-container":e.manualInvalidContainer,"max-length":60,"model-value":e.modelValue,placeholder:e.placeholder,"use-validator":e.useValidator,"validator-message":e.validatorMessage,"validator-message-class":e.validatorMessageClass,onBlur:i[0]||(i[0]=t=>e.$emit("blur",t)),"onUpdate:modelValue":i[1]||(i[1]=t=>e.$emit("update:modelValue",t)),type:"email","validate-on-blur":""},null,8,["field-info","field-name","input-class","input-container-class","label","label-class","mandatory","manual-invalid-container","model-value","placeholder","use-validator","validator-message","validator-message-class"]))});var yC=tl.extend({name:"inputotp",classes:{root:"p-inputotp p-component",input:"p-inputotp-input"}}),IC={name:"InputOtp",extends:{name:"BaseInputOtp",extends:Bc,props:{modelValue:{type:null,default:!1},invalid:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},variant:{type:String,default:null},tabindex:{type:Number,default:null},length:{type:Number,default:4},mask:{type:Boolean,default:!1},integerOnly:{type:Boolean,default:!1}},style:yC,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["update:modelValue","change","focus","blur"],data:function(){return{tokens:[]}},watch:{modelValue:{immediate:!0,handler:function(e){this.tokens=e?e.split(""):new Array(this.length)}}},methods:{getTemplateAttrs:function(e){return{value:this.tokens[e]}},getTemplateEvents:function(e){var t=this;return{input:function(i){return t.onInput(i,e)},keydown:function(e){return t.onKeyDown(e)},focus:function(e){return t.onFocus(e)},blur:function(e){return t.onBlur(e)},paste:function(e){return t.onPaste(e)}}},getPTOptions:function(e){return("root"===e?this.ptmi:this.ptm)(e,{context:{checked:this.checked,disabled:this.disabled}})},onInput:function(e,t){this.tokens[t]=e.target.value,this.updateModel(e),"deleteContentBackward"===e.inputType?this.moveToPrev(e):"insertText"!==e.inputType&&"deleteContentForward"!==e.inputType||this.moveToNext(e)},updateModel:function(e){var t=this.tokens.join("");this.$emit("update:modelValue",t),this.$emit("change",{originalEvent:e,value:t})},moveToPrev:function(e){var t=this.findPrevInput(e.target);t&&(t.focus(),t.select())},moveToNext:function(e){var t=this.findNextInput(e.target);t&&(t.focus(),t.select())},findNextInput:function(e){var t=e.nextElementSibling;if(t)return"INPUT"===t.nodeName?t:this.findNextInput(t)},findPrevInput:function(e){var t=e.previousElementSibling;if(t)return"INPUT"===t.nodeName?t:this.findPrevInput(t)},onFocus:function(e){e.target.select(),this.$emit("focus",e)},onBlur:function(e){this.$emit("blur",e)},onKeyDown:function(e){if(!e.ctrlKey&&!e.metaKey)switch(e.code){case"ArrowLeft":this.moveToPrev(e),e.preventDefault();break;case"ArrowUp":case"ArrowDown":e.preventDefault();break;case"Backspace":0===e.target.value.length&&(this.moveToPrev(e),e.preventDefault());break;case"ArrowRight":this.moveToNext(e),e.preventDefault();break;default:(this.integerOnly&&!(Number(e.key)>=0&&Number(e.key)<=9)||this.tokens.join("").length>=this.length&&"Delete"!==e.code)&&e.preventDefault()}},onPaste:function(e){if(!this.readonly&&!this.disabled){var t=e.clipboardData.getData("text");if(t.length){var i=t.substring(0,this.length+1);this.integerOnly&&isNaN(i)||(this.tokens=i.split(""),this.updateModel(e))}e.preventDefault()}}},computed:{inputMode:function(){return this.integerOnly?"numeric":"text"},inputType:function(){return this.mask?"password":"text"}},components:{OtpInputText:qu}};IC.render=function(e,i,o,r,n,a){var l=t.resolveComponent("OtpInputText");return t.openBlock(),t.createElementBlock("div",t.mergeProps({class:e.cx("root")},e.ptmi("root")),[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.length,(function(o){return t.renderSlot(e.$slots,"default",{key:o,events:a.getTemplateEvents(o-1),attrs:a.getTemplateAttrs(o-1),index:o},(function(){return[t.createVNode(l,{value:n.tokens[o-1],type:a.inputType,class:t.normalizeClass(e.cx("input")),inputmode:a.inputMode,variant:e.variant,readonly:e.readonly,disabled:e.disabled,invalid:e.invalid,tabindex:e.tabindex,unstyled:e.unstyled,onInput:function(e){return a.onInput(e,o-1)},onFocus:i[0]||(i[0]=function(e){return a.onFocus(e)}),onBlur:i[1]||(i[1]=function(e){return a.onBlur(e)}),onPaste:i[2]||(i[2]=function(e){return a.onPaste(e)}),onKeydown:i[3]||(i[3]=function(e){return a.onKeyDown(e)}),pt:e.ptm("input")},null,8,["value","type","class","inputmode","variant","readonly","disabled","invalid","tabindex","unstyled","onInput","pt"])]}))})),128))],16)};const pC=t.defineComponent({__name:"InputOTP",props:{modelValue:{},disabled:{type:Boolean},invalid:{type:Boolean},length:{}},emits:["update:modelValue"],setup(e,{emit:i}){const o=e,r=i,n=t.ref(o.modelValue),a=e=>{const{code:t,key:i,ctrlKey:o,metaKey:r}=e;if((o||r)&&"v"===i.toLowerCase())return;t.startsWith("Digit")||t.startsWith("Numpad")&&!isNaN(Number(i))||["ArrowLeft","ArrowRight","Backspace"].includes(t)||e.preventDefault()};return t.watch(n,(e=>r("update:modelValue",e))),(e,i)=>(t.openBlock(),t.createBlock(t.unref(IC),{modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=e=>n.value=e),disabled:e.disabled,invalid:e.invalid,length:e.length??6,onKeydown:a},null,8,["modelValue","disabled","invalid","length"]))}});var hC={name:"EyeSlashIcon",extends:kc},jC=[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.9414 6.74792C13.9437 6.75295 13.9455 6.757 13.9469 6.76003C13.982 6.8394 14.0001 6.9252 14.0001 7.01195C14.0001 7.0987 13.982 7.1845 13.9469 7.26386C13.6004 8.00059 13.1711 8.69549 12.6674 9.33515C12.6115 9.4071 12.54 9.46538 12.4582 9.50556C12.3765 9.54574 12.2866 9.56678 12.1955 9.56707C12.0834 9.56671 11.9737 9.53496 11.8788 9.47541C11.7838 9.41586 11.7074 9.3309 11.6583 9.23015C11.6092 9.12941 11.5893 9.01691 11.6008 8.90543C11.6124 8.79394 11.6549 8.68793 11.7237 8.5994C12.1065 8.09726 12.4437 7.56199 12.7313 6.99995C12.2595 6.08027 10.3402 2.8014 6.99732 2.8014C6.63723 2.80218 6.27816 2.83969 5.92569 2.91336C5.77666 2.93304 5.62568 2.89606 5.50263 2.80972C5.37958 2.72337 5.29344 2.59398 5.26125 2.44714C5.22907 2.30031 5.2532 2.14674 5.32885 2.01685C5.40451 1.88696 5.52618 1.79021 5.66978 1.74576C6.10574 1.64961 6.55089 1.60134 6.99732 1.60181C11.5916 1.60181 13.7864 6.40856 13.9414 6.74792ZM2.20333 1.61685C2.35871 1.61411 2.5091 1.67179 2.6228 1.77774L12.2195 11.3744C12.3318 11.4869 12.3949 11.6393 12.3949 11.7983C12.3949 11.9572 12.3318 12.1097 12.2195 12.2221C12.107 12.3345 11.9546 12.3976 11.7956 12.3976C11.6367 12.3976 11.4842 12.3345 11.3718 12.2221L10.5081 11.3584C9.46549 12.0426 8.24432 12.4042 6.99729 12.3981C2.403 12.3981 0.208197 7.59135 0.0532336 7.25198C0.0509364 7.24694 0.0490875 7.2429 0.0476856 7.23986C0.0162332 7.16518 3.05176e-05 7.08497 3.05176e-05 7.00394C3.05176e-05 6.92291 0.0162332 6.8427 0.0476856 6.76802C0.631261 5.47831 1.46902 4.31959 2.51084 3.36119L1.77509 2.62545C1.66914 2.51175 1.61146 2.36136 1.61421 2.20597C1.61695 2.05059 1.6799 1.90233 1.78979 1.79244C1.89968 1.68254 2.04794 1.6196 2.20333 1.61685ZM7.45314 8.35147L5.68574 6.57609V6.5361C5.5872 6.78938 5.56498 7.06597 5.62183 7.33173C5.67868 7.59749 5.8121 7.84078 6.00563 8.03158C6.19567 8.21043 6.43052 8.33458 6.68533 8.39089C6.94014 8.44721 7.20543 8.43359 7.45314 8.35147ZM1.26327 6.99994C1.7351 7.91163 3.64645 11.1985 6.99729 11.1985C7.9267 11.2048 8.8408 10.9618 9.64438 10.4947L8.35682 9.20718C7.86027 9.51441 7.27449 9.64491 6.69448 9.57752C6.11446 9.51014 5.57421 9.24881 5.16131 8.83592C4.74842 8.42303 4.4871 7.88277 4.41971 7.30276C4.35232 6.72274 4.48282 6.13697 4.79005 5.64041L3.35855 4.2089C2.4954 5.00336 1.78523 5.94935 1.26327 6.99994Z",fill:"currentColor"},null,-1)];hC.render=function(e,i,o,r,n,a){return t.openBlock(),t.createElementBlock("svg",t.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),jC,16)};var TC=tl.extend({name:"password",classes:{root:function(e){var t=e.instance,i=e.props;return["p-password p-component p-inputwrapper",{"p-inputwrapper-filled":t.filled,"p-inputwrapper-focus":t.focused,"p-icon-field p-icon-field-right":i.toggleMask}]},input:function(e){return["p-password-input",{"p-disabled":e.props.disabled}]},hideIcon:"p-input-icon",showIcon:"p-input-icon",panel:function(e){return["p-password-panel p-component",{"p-ripple-disabled":!1===e.instance.$primevue.config.ripple}]},meter:"p-password-meter",meterLabel:function(e){var t=e.instance;return"p-password-strength ".concat(t.meter?t.meter.strength:"")},info:"p-password-info"},inlineStyles:{root:function(e){return{position:"self"===e.props.appendTo?"relative":void 0}}}}),wC={name:"Password",extends:{name:"BasePassword",extends:Bc,props:{modelValue:String,promptLabel:{type:String,default:null},mediumRegex:{type:[String,RegExp],default:"^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})"},strongRegex:{type:[String,RegExp],default:"^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})"},weakLabel:{type:String,default:null},mediumLabel:{type:String,default:null},strongLabel:{type:String,default:null},feedback:{type:Boolean,default:!0},appendTo:{type:[String,Object],default:"body"},toggleMask:{type:Boolean,default:!1},hideIcon:{type:String,default:void 0},showIcon:{type:String,default:void 0},variant:{type:String,default:null},invalid:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:null},required:{type:Boolean,default:!1},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},inputProps:{type:null,default:null},panelId:{type:String,default:null},panelClass:{type:[String,Object],default:null},panelStyle:{type:Object,default:null},panelProps:{type:null,default:null},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:TC,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["update:modelValue","change","focus","blur","invalid"],data:function(){return{id:this.$attrs.id,overlayVisible:!1,meter:null,infoText:null,focused:!1,unmasked:!1}},watch:{"$attrs.id":function(e){this.id=e||Q()}},mediumCheckRegExp:null,strongCheckRegExp:null,resizeListener:null,scrollHandler:null,overlay:null,mounted:function(){this.id=this.id||Q(),this.infoText=this.promptText,this.mediumCheckRegExp=new RegExp(this.mediumRegex),this.strongCheckRegExp=new RegExp(this.strongRegex)},beforeUnmount:function(){this.unbindResizeListener(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.overlay&&(Y.clear(this.overlay),this.overlay=null)},methods:{onOverlayEnter:function(e){Y.set("overlay",e,this.$primevue.config.zIndex.overlay),M.addStyles(e,{position:"absolute",top:"0",left:"0"}),this.alignOverlay(),this.bindScrollListener(),this.bindResizeListener()},onOverlayLeave:function(){this.unbindScrollListener(),this.unbindResizeListener(),this.overlay=null},onOverlayAfterLeave:function(e){Y.clear(e)},alignOverlay:function(){"self"===this.appendTo?M.relativePosition(this.overlay,this.$refs.input.$el):(this.overlay.style.minWidth=M.getOuterWidth(this.$refs.input.$el)+"px",M.absolutePosition(this.overlay,this.$refs.input.$el))},testStrength:function(e){var t=0;return this.strongCheckRegExp.test(e)?t=3:this.mediumCheckRegExp.test(e)?t=2:e.length&&(t=1),t},onInput:function(e){this.$emit("update:modelValue",e.target.value),this.$emit("change",e)},onFocus:function(e){this.focused=!0,this.feedback&&(this.setPasswordMeter(this.modelValue),this.overlayVisible=!0),this.$emit("focus",e)},onBlur:function(e){this.focused=!1,this.feedback&&(this.overlayVisible=!1),this.$emit("blur",e)},onKeyUp:function(e){if(this.feedback){var t=e.target.value,i=this.checkPasswordStrength(t),o=i.meter,r=i.label;if(this.meter=o,this.infoText=r,"Escape"===e.code)return void(this.overlayVisible&&(this.overlayVisible=!1));this.overlayVisible||(this.overlayVisible=!0)}},setPasswordMeter:function(){if(!this.modelValue)return this.meter=null,void(this.infoText=this.promptText);var e=this.checkPasswordStrength(this.modelValue),t=e.meter,i=e.label;this.meter=t,this.infoText=i,this.overlayVisible||(this.overlayVisible=!0)},checkPasswordStrength:function(e){var t=null,i=null;switch(this.testStrength(e)){case 1:t=this.weakText,i={strength:"weak",width:"33.33%"};break;case 2:t=this.mediumText,i={strength:"medium",width:"66.66%"};break;case 3:t=this.strongText,i={strength:"strong",width:"100%"};break;default:t=this.promptText,i=null}return{label:t,meter:i}},onInvalid:function(e){this.$emit("invalid",e)},bindScrollListener:function(){var e=this;this.scrollHandler||(this.scrollHandler=new N(this.$refs.input.$el,(function(){e.overlayVisible&&(e.overlayVisible=!1)}))),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var e=this;this.resizeListener||(this.resizeListener=function(){e.overlayVisible&&!M.isTouchDevice()&&(e.overlayVisible=!1)},window.addEventListener("resize",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},overlayRef:function(e){this.overlay=e},onMaskToggle:function(){this.unmasked=!this.unmasked},onOverlayClick:function(e){LA.emit("overlay-click",{originalEvent:e,target:this.$el})}},computed:{inputType:function(){return this.unmasked?"text":"password"},filled:function(){return null!=this.modelValue&&this.modelValue.toString().length>0},weakText:function(){return this.weakLabel||this.$primevue.config.locale.weak},mediumText:function(){return this.mediumLabel||this.$primevue.config.locale.medium},strongText:function(){return this.strongLabel||this.$primevue.config.locale.strong},promptText:function(){return this.promptLabel||this.$primevue.config.locale.passwordPrompt},panelUniqueId:function(){return this.id+"_panel"}},components:{PInputText:qu,Portal:lA,EyeSlashIcon:hC,EyeIcon:aw}};function DC(e){return(DC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function mC(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,o)}return i}function BC(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?mC(Object(i),!0).forEach((function(t){xC(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):mC(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function xC(e,t,i){var o;return o=function(e,t){if("object"!=DC(e)||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=DC(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==DC(o)?o:String(o))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var LC=["id"];wC.render=function(e,i,o,r,n,a){var l=t.resolveComponent("PInputText"),s=t.resolveComponent("Portal");return t.openBlock(),t.createElementBlock("div",t.mergeProps({class:e.cx("root"),style:e.sx("root")},e.ptmi("root")),[t.createVNode(l,t.mergeProps({ref:"input",id:e.inputId,type:a.inputType,class:[e.cx("input"),e.inputClass],style:e.inputStyle,value:e.modelValue,"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,"aria-controls":e.panelProps&&e.panelProps.id||e.panelId||a.panelUniqueId,"aria-expanded":n.overlayVisible,"aria-haspopup":!0,placeholder:e.placeholder,required:e.required,disabled:e.disabled,variant:e.variant,invalid:e.invalid,onInput:a.onInput,onFocus:a.onFocus,onBlur:a.onBlur,onKeyup:a.onKeyUp,onInvalid:a.onInvalid},e.inputProps,{pt:e.ptm("input"),unstyled:e.unstyled}),null,16,["id","type","class","style","value","aria-labelledby","aria-label","aria-controls","aria-expanded","placeholder","required","disabled","variant","invalid","onInput","onFocus","onBlur","onKeyup","onInvalid","pt","unstyled"]),e.toggleMask&&n.unmasked?t.renderSlot(e.$slots,"hideicon",{key:0,onClick:a.onMaskToggle,toggleCallback:a.onMaskToggle},(function(){return[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.hideIcon?"i":"EyeSlashIcon"),t.mergeProps({class:[e.cx("hideIcon"),e.hideIcon],onClick:a.onMaskToggle},e.ptm("hideIcon")),null,16,["class","onClick"]))]})):t.createCommentVNode("",!0),e.toggleMask&&!n.unmasked?t.renderSlot(e.$slots,"showicon",{key:1,onClick:a.onMaskToggle,toggleCallback:a.onMaskToggle},(function(){return[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.showIcon?"i":"EyeIcon"),t.mergeProps({class:[e.cx("showIcon"),e.showIcon],onClick:a.onMaskToggle},e.ptm("showIcon")),null,16,["class","onClick"]))]})):t.createCommentVNode("",!0),t.createElementVNode("span",t.mergeProps({class:"p-hidden-accessible","aria-live":"polite"},e.ptm("hiddenAccesible"),{"data-p-hidden-accessible":!0}),t.toDisplayString(n.infoText),17),t.createVNode(s,{appendTo:e.appendTo},{default:t.withCtx((function(){return[t.createVNode(t.Transition,t.mergeProps({name:"p-connected-overlay",onEnter:a.onOverlayEnter,onLeave:a.onOverlayLeave,onAfterLeave:a.onOverlayAfterLeave},e.ptm("transition")),{default:t.withCtx((function(){return[n.overlayVisible?(t.openBlock(),t.createElementBlock("div",t.mergeProps({key:0,ref:a.overlayRef,id:e.panelId||a.panelUniqueId,class:[e.cx("panel"),e.panelClass],style:e.panelStyle,onClick:i[0]||(i[0]=function(){return a.onOverlayClick&&a.onOverlayClick.apply(a,arguments)})},BC(BC({},e.panelProps),e.ptm("panel"))),[t.renderSlot(e.$slots,"header"),t.renderSlot(e.$slots,"content",{},(function(){return[t.createElementVNode("div",t.mergeProps({class:e.cx("meter")},e.ptm("meter")),[t.createElementVNode("div",t.mergeProps({class:e.cx("meterLabel"),style:{width:n.meter?n.meter.width:""}},e.ptm("meterLabel")),null,16)],16),t.createElementVNode("div",t.mergeProps({class:e.cx("info")},e.ptm("info")),t.toDisplayString(n.infoText),17)]})),t.renderSlot(e.$slots,"footer")],16,LC)):t.createCommentVNode("",!0)]})),_:3},16,["onEnter","onLeave","onAfterLeave"])]})),_:3},8,["appendTo"])],16)};const fC=["onClick"],zC=["onClick"],CC=t.defineComponent({__name:"InputPassword",props:{modelValue:{},label:{},labelClass:{},inputContainerClass:{},mandatory:{type:Boolean},placeholder:{},feedback:{type:Boolean},fieldName:{},useValidator:{type:Boolean},invalid:{type:Boolean},validatorMessage:{},validatorMessageClass:{}},emits:["update:modelValue"],setup(e,{emit:i}){const o=e,r=i,n=t.ref(o.modelValue),a=t.reactive({value:void 0}),l=t.computed((()=>o.invalid||!!a.errorMessage)),s=t.computed((()=>o.invalid&&o.validatorMessage?o.validatorMessage:a.errorMessage));t.onMounted((()=>{o.useValidator&&Object.assign(a,Na(o.fieldName??"password",(e=>c(e))))}));const c=e=>!e&&o.mandatory?`${o.label} must not be empty`:!o.validatorMessage||!o.invalid||o.validatorMessage,A=e=>{r("update:modelValue",e),o.useValidator&&(a.value=e)},M=e=>{const t=e.target;if(t.previousElementSibling&&"INPUT"===t.previousElementSibling.tagName){t.previousElementSibling.focus()}};return t.watch((()=>o.modelValue),(e=>{n.value=e,a.value=e})),(e,i)=>(t.openBlock(),t.createBlock(du,{label:o.label,"label-class":o.labelClass,mandatory:o.mandatory},{default:t.withCtx((()=>[t.createVNode(Eu,{class:t.normalizeClass(o.inputContainerClass),invalid:l.value},{default:t.withCtx((()=>[t.createVNode(t.unref(wC),{modelValue:n.value,"onUpdate:modelValue":[i[0]||(i[0]=e=>n.value=e),A],feedback:o.feedback,invalid:l.value,placeholder:o.placeholder,"toggle-mask":""},{showicon:t.withCtx((({toggleCallback:e})=>[t.createElementVNode("button",{class:t.normalizeClass([t.unref(va).showicon.class,"unset"]),onClick:t=>(e(),M(t))},[t.createVNode(cc,{icon:"eye"})],10,fC)])),hideicon:t.withCtx((({toggleCallback:e})=>[t.createElementVNode("button",{class:t.normalizeClass([t.unref(va).showicon.class,"unset"]),onClick:t=>(e(),M(t))},[t.createVNode(cc,{icon:"eye-off"})],10,zC)])),_:1},8,["modelValue","feedback","invalid","placeholder"])])),_:1},8,["class","invalid"]),t.createVNode(kM,{class:t.normalizeClass(o.validatorMessageClass),message:s.value},null,8,["class","message"])])),_:1},8,["label","label-class","mandatory"]))}}),QC={class:"grid grid-cols-[max-content,auto] w-full","data-ts-section":"phone-number-input-wrapper"},kC={class:"flex gap-2"},bC=["src"],vC=t.defineComponent({__name:"InputPhoneNumber",props:{modelValue:{},value:{},label:{},placeholder:{},disabled:{type:Boolean},invalid:{type:Boolean},useValidator:{type:Boolean},fieldName:{},mandatory:{type:Boolean},validatorMessage:{},fieldInfo:{}},emits:["update:modelValue"],setup(e,{emit:o}){const r=e,n=o;t.onBeforeMount((async()=>{c.value=await N(),A.value=h()})),t.onMounted((async()=>{d.value=r.modelValue,r.useValidator&&Object.assign(d,Na(r.fieldName??"numberInput",(e=>s(e)))),r.value&&p(r.value),r.modelValue&&p(r.modelValue)}));const a=t.computed((()=>r.invalid||!!d.errorMessage)),l=navigator.userAgent.includes("Firefox"),s=async e=>(await t.nextTick(),!e&&r.mandatory?r.validatorMessage??`${r.label} must not be empty`:!r.invalid||!r.validatorMessage||r.validatorMessage),c=t.shallowRef(),A=t.shallowRef(),M=t.shallowRef(),u=t.shallowRef(!1),g=t.ref(0),d=t.reactive({value:null}),N=async()=>{u.value=!0;const{data:e}=await i.get("https://assets.tagsamurai.com/json/country-dial-code.json");return u.value=!1,e.filter((e=>e.dial_code))??[]},E=e=>{M.value=null==e?void 0:e.value,y()},y=()=>{d.value=M.value?`${A.value} ${M.value}`:void 0,n("update:modelValue",d.value)},I=()=>{t.nextTick((()=>{const e=document.getElementById("phone-number-input");e&&e.focus()}))},p=e=>{const t=null==e?void 0:e.split(" ");(null==t?void 0:t.length)?(A.value=t[0],M.value=parseInt(t[1]),d.value=M.value?`${A.value} ${M.value}`:void 0,u.value=!1):d.value=void 0},h=()=>{var e;if(c.value){const t="SH-AC",{region:i}=new Intl.Locale(t);return(null==(e=c.value.find((e=>e.code===i)))?void 0:e.dial_code)??"+62"}return"+62"};return t.watch((()=>r.value),(e=>{p(e)}),{once:!0}),t.watch((()=>r.modelValue),(e=>{p(e)})),t.watch(M,(e=>{var t,i;("number"==typeof(t=e)?t.toString().length:0)>15&&(i=e,M.value=parseInt(String(i).slice(0,15)),y(),g.value++)})),(e,i)=>(t.openBlock(),t.createBlock(du,{info:r.fieldInfo,label:r.label,mandatory:r.mandatory},{default:t.withCtx((()=>[t.createElementVNode("div",QC,[t.createVNode(t.unref(eu),{modelValue:A.value,"onUpdate:modelValue":i[0]||(i[0]=e=>A.value=e),class:t.normalizeClass(t.unref(cC).dialcode({isFirefoxBased:t.unref(l),invalidInput:a.value}).class),disabled:r.disabled,"filter-fields":["dial_code","name"],loading:u.value,options:c.value,onChange:y,onHide:I,"data-ts-section":"dialcode",filter:"","filter-placeholder":"Search","option-label":"dial_code","option-value":"dial_code"},{dropdownicon:t.withCtx((()=>[t.createVNode(cc,{class:"w-full h-full transition-transform",icon:"arrow-drop-down"})])),option:t.withCtx((({option:e})=>[t.createElementVNode("div",kC,[t.createElementVNode("img",{src:e.image,alt:"country-img",style:{height:"16px"}},null,8,bC),t.createElementVNode("span",null,t.toDisplayString(e.name),1),t.createElementVNode("span",null,t.toDisplayString(e.dial_code),1)])])),_:1},8,["modelValue","class","disabled","loading","options"]),(t.openBlock(),t.createBlock(t.unref(Ld),t.mergeProps({key:g.value},e.$props,{modelValue:M.value,"onUpdate:modelValue":i[1]||(i[1]=e=>M.value=e),class:t.unref(cC).inputnumber({isFirefoxBased:t.unref(l),invalidInput:a.value}).class,disabled:r.disabled,"input-props":{autocomplete:"off"},"use-grouping":!1,onInput:E,"data-ts-section":"inputnumber","input-id":"phone-number-input",placeholder:"Enter phone number"}),null,16,["modelValue","class","disabled"]))]),t.withDirectives(t.createVNode(kM,{message:d.errorMessage??r.validatorMessage},null,8,["message"]),[[t.vShow,d.errorMessage]])])),_:1},8,["info","label","mandatory"]))}}),SC={class:"flex gap-2 w-full","data-ts-section":"inputwrapper"},OC=t.defineComponent({__name:"InputRangeNumber",props:{modelValue:{},label:{},placeholder:{},minPlaceholder:{default:"Input"},maxPlaceholder:{default:"Input"},disabled:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:i}){const o=e,r=i,n=t.reactive({value:[]});return t.watch(n,(()=>{var e,t;null!=(null==(e=n.value)?void 0:e[0])&&null!=(null==(t=n.value)?void 0:t[1])&&r("update:modelValue",n.value)})),t.watch((()=>o.modelValue),(e=>{null!=(null==e?void 0:e[0])&&null!=(null==e?void 0:e[1])&&(n.value=e)})),(e,i)=>(t.openBlock(),t.createBlock(du,{label:o.label},{default:t.withCtx((()=>[t.createElementVNode("div",SC,[t.createVNode(Eu,null,{default:t.withCtx((()=>{var o;return[t.createVNode(t.unref(Ld),t.mergeProps(e.$props,{"input-props":{autocomplete:"off"},"model-value":null==(o=n.value)?void 0:o[0],placeholder:e.minPlaceholder,"use-grouping":!1,"onUpdate:modelValue":i[0]||(i[0]=e=>n.value&&(n.value[0]=e)),class:"w-full","input-id":"range-start"}),null,16,["model-value","placeholder"])]})),_:1}),t.createTextVNode(" - "),t.createVNode(Eu,null,{default:t.withCtx((()=>{var o;return[t.createVNode(t.unref(Ld),t.mergeProps(e.$props,{"input-props":{autocomplete:"off"},"model-value":null==(o=n.value)?void 0:o[1],placeholder:e.maxPlaceholder,"use-grouping":!1,"onUpdate:modelValue":i[1]||(i[1]=e=>n.value&&(n.value[1]=e)),class:"w-full","input-id":"range-end"}),null,16,["model-value","placeholder"])]})),_:1})])])),_:1},8,["label"]))}}),YC={class:"w-full"},UC=t.defineComponent({__name:"InputSearch",emits:["search"],setup(e,{emit:i}){const o=i,r=t.ref(),n=t.ref(),a=e=>{r.value=e.target.value||void 0,n.value=e.target.value||void 0};return(e,i)=>{var l,s;return t.openBlock(),t.createElementBlock("form",{class:t.normalizeClass(["text-xs flex gap-1 h-[34px] px-[21px] items-center","rounded-[18px] bg-general-50"]),onSubmit:i[1]||(i[1]=t.withModifiers((e=>o("search",r.value)),["prevent"]))},[t.createElementVNode("div",YC,[t.createVNode(t.unref(qu),{class:t.normalizeClass(["h-auto !shadow-none !p-0 !text-general-500 placeholder:text-general-200 !bg-general-50"]),"model-value":n.value,onInput:a,autocomplete:"off",placeholder:"Search asset"},null,8,["model-value"])]),t.createVNode(cc,{class:t.normalizeClass(["text-md !text-general-400 !w-4 !h-4",{hidden:null==(l=n.value)?void 0:l.length}]),icon:"search"},null,8,["class"]),t.createVNode(cc,{class:t.normalizeClass(["text-md !text-general-400 !w-4 !h-4",{hidden:!(null==(s=n.value)?void 0:s.length)}]),onClick:i[0]||(i[0]=e=>n.value=void 0),"data-ts-section":"reset-filter-icon",icon:"close"},null,8,["class"])],32)}}}),FC=t.defineComponent({__name:"InputURL",props:{modelValue:{},label:{},fieldName:{},mandatory:{type:Boolean},useValidator:{type:Boolean},validatorMessage:{},invalid:{type:Boolean},placeholder:{},disabled:{type:Boolean},fieldInfo:{}},emits:["update:modelValue"],setup(e,{emit:i}){const o=e,r=i;return(e,i)=>(t.openBlock(),t.createBlock(NC,t.mergeProps({"onUpdate:modelValue":i[0]||(i[0]=e=>r("update:modelValue",e))},o,{type:"url","validate-on-blur":""}),null,16))}}),RC={class:t.normalizeClass(["w-screen h-screen fixed top-0 left-0 z-[9999999]","bg-[#d9dbe9b3]","transition-opacity"]),"data-ts-name":"loading-overlay","data-ts-section":"overlay"},GC=["src"],HC=t.defineComponent({__name:"Loading",setup(e){const{loading:i}=Ga(),o=t.shallowRef([]),r=t.shallowRef(0);return t.onMounted((async()=>{o.value=[(await Promise.resolve().then((()=>zQ))).default,(await Promise.resolve().then((()=>CQ))).default,(await Promise.resolve().then((()=>QQ))).default,(await Promise.resolve().then((()=>kQ))).default];const e=setInterval((()=>{r.value=(r.value+1)%o.value.length}),400);t.onUnmounted((()=>{clearInterval(e)}))})),(e,n)=>t.unref(i)?(t.openBlock(),t.createBlock(t.Teleport,{key:0,to:"body"},[t.createElementVNode("div",RC,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.value,((e,i)=>(t.openBlock(),t.createElementBlock("img",{key:i,class:t.normalizeClass(["absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2","opacity-0","transition-opacity duration-300 delay-[25ms] ease-in",{"opacity-100":r.value===i}]),src:e,"data-ts-section":"loading-icon"},null,10,GC)))),128))])])):t.createCommentVNode("",!0)}}),PC=["id"],VC={class:"list-none m-0 p-0 outline-none transition-shadow","data-ts-section":"menu"},JC=["aria-label","onClick"],WC={"aria-hidden":"true",class:"flex items-center justify-start gap-2 px-4 py-1.5 hover:bg-surface-50 text-xs no-underline overflow-hidden cursor-pointer select-none","data-pc-section":"action",tabindex:"-1"},KC=t.defineComponent({__name:"Menu",props:{model:{},popup:{type:Boolean},appendTo:{},autoZIndex:{type:Boolean},baseZIndex:{},exact:{type:Boolean},tabindex:{},ariaLabel:{},ariaLabelledby:{},pt:{},ptOptions:{},unstyled:{type:Boolean}},emits:["focus","blur"],setup(e,{expose:i}){const o=t.shallowRef(!1),r=t.ref((+new Date).toString()),n=t.ref(null);t.onMounted((()=>{u(),d()})),t.onBeforeUnmount((()=>{g(),N()}));const a=()=>{o.value=!1,c(),g(),N()},l=e=>{const t=e.target;t.closest("button")!==n.value&&t!==n.value&&a()},s=()=>{document.addEventListener("click",l)},c=()=>{document.removeEventListener("click",l)},A=()=>{o.value&&a()},M=()=>{o.value&&a()},u=()=>{window.addEventListener("resize",A)},g=()=>{window.removeEventListener("resize",A)},d=()=>{window.addEventListener("scroll",M)},N=()=>{window.removeEventListener("scroll",M)};return i({toggle:e=>{o.value?a():(e=>{o.value=!0;const i=e.target;n.value=i.closest("button")||i,t.nextTick((()=>{const e=document.getElementById(r.value);if(e&&n.value){const{top:t,left:i}=n.value.getBoundingClientRect(),{offsetHeight:o=0,offsetWidth:r=0}=n.value??{},a=window.innerWidth-i,l=e.style;l.top=`${t+o+4}px`,l.left=`${a<e.offsetWidth+16?window.innerWidth-e.offsetWidth-a+r:i}px`,s()}}))})(e)}}),(e,i)=>(t.openBlock(),t.createBlock(t.Teleport,{to:"body"},[t.createVNode(t.Transition,{name:"fade"},{default:t.withCtx((()=>[o.value?(t.openBlock(),t.createElementBlock("div",t.mergeProps({key:0},e.$attrs,{id:r.value,class:[...t.unref(ba).root.class,"absolute","z-40","top-0 left-0","transition-all"],"data-ts-name":"menu","data-ts-section":"root"}),[t.createElementVNode("ul",VC,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.model,(i=>(t.openBlock(),t.createElementBlock("li",{key:i.label,"aria-label":i.label,onClick:e=>{var t;return null==(t=i.command)?void 0:t.call(i,{originalEvent:e,item:i})},class:"cursor-pointer","data-pc-section":"menuitem"},[t.renderSlot(e.$slots,"item",{item:i},(()=>[t.createElementVNode("a",WC,[i.icon?(t.openBlock(),t.createBlock(cc,{key:0,icon:i.icon,severity:i.danger?"danger":void 0},null,8,["icon","severity"])):t.createCommentVNode("",!0),t.createElementVNode("span",{class:t.normalizeClass(["text-inherit",{"!text-danger-500":i.danger}]),"data-pc-section":"label"},t.toDisplayString(i.label),3)])]))],8,JC)))),128))])],16,PC)):t.createCommentVNode("",!0)])),_:3})]))}}),XC=t.defineComponent({__name:"Paginator",props:{totalRecords:{},rows:{},first:{},pageLinkSize:{},rowsPerPageOptions:{},template:{},currentPageReportTemplate:{},alwaysShow:{type:Boolean},pt:{},ptOptions:{}},emits:["update:first","update:rows","page"],setup:e=>(e,i)=>(t.openBlock(),t.createBlock(t.unref(_d),t.mergeProps(e.$props,{onPage:i[0]||(i[0]=t=>e.$emit("page",t)),"onUpdate:first":i[1]||(i[1]=t=>e.$emit("update:first",t)),"onUpdate:rows":i[2]||(i[2]=t=>e.$emit("update:rows",t))}),null,16))}),ZC={class:"flex items-center gap-2"},_C={class:"text-xs font-medium"},qC=t.defineComponent({__name:"ProgressBar",props:{value:{},maxValue:{},maxBarWidth:{default:120}},setup(e){const i=e,o=`width: ${i.maxBarWidth}px`;return(e,r)=>(t.openBlock(),t.createElementBlock("div",ZC,[t.createElementVNode("div",{style:o},[t.createVNode(t.unref(QL),{"show-value":!1,value:i.value/i.maxValue*100},null,8,["value"])]),t.createElementVNode("div",_C,t.toDisplayString(i.value)+"/"+t.toDisplayString(i.maxValue),1)]))}}),$C={class:"flex gap-3 items-center","data-ts-name":"steps","data-ts-section":"root"},eQ=t.defineComponent({__name:"Steps",props:{steps:{},currentStep:{}},setup:e=>(e,i)=>(t.openBlock(),t.createElementBlock("div",$C,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.steps,((i,o)=>(t.openBlock(),t.createElementBlock("div",{key:i.toString(),class:t.normalizeClass(["flex gap-1 items-center text-general-300 text-xs font-semibold",{"!text-primary-500":o+1===e.currentStep}]),"data-ts-section":"stepitem"},[t.createElementVNode("span",{class:t.normalizeClass(["flex items-center justify-center","rounded-full border-2 w-5 h-5 tracking-[0.03em]","bg-general-50","border-general-300",{"!bg-primary-50 !border-primary-500":o+1===e.currentStep}]),"data-ts-section":"stepnumber"},t.toDisplayString(o+1),3),t.createTextVNode(" "+t.toDisplayString("string"==typeof i?i:i.label),1)],2)))),128))]))});var tQ=tl.extend({name:"tabmenu",classes:{root:"p-tabmenu p-component",menu:"p-tabmenu-nav p-reset",menuitem:function(e){var t=e.instance,i=e.index,o=e.item;return["p-tabmenuitem",{"p-highlight":t.d_activeIndex===i,"p-disabled":t.disabled(o)}]},action:"p-menuitem-link",icon:"p-menuitem-icon",label:"p-menuitem-text",inkbar:"p-tabmenu-ink-bar"}}),iQ={name:"TabMenu",extends:{name:"BaseTabMenu",extends:Bc,props:{model:{type:Array,default:null},activeIndex:{type:Number,default:0},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:tQ,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["update:activeIndex","tab-change"],timeout:null,data:function(){return{d_activeIndex:this.activeIndex}},watch:{activeIndex:function(e){this.d_activeIndex=e}},mounted:function(){this.updateInkBar();var e=this.findActiveItem();e&&(e.tabIndex="0")},updated:function(){this.updateInkBar()},beforeUnmount:function(){clearTimeout(this.timeout)},methods:{getPTOptions:function(e,t,i){return this.ptm(e,{context:{item:t,index:i}})},onItemClick:function(e,t,i){this.disabled(t)?e.preventDefault():(t.command&&t.command({originalEvent:e,item:t}),i!==this.d_activeIndex&&(this.d_activeIndex=i,this.$emit("update:activeIndex",this.d_activeIndex)),this.$emit("tab-change",{originalEvent:e,index:i}))},onKeydownItem:function(e,t,i){switch(e.code){case"ArrowRight":this.navigateToNextItem(e.target),e.preventDefault();break;case"ArrowLeft":this.navigateToPrevItem(e.target),e.preventDefault();break;case"Home":this.navigateToFirstItem(e.target),e.preventDefault();break;case"End":this.navigateToLastItem(e.target),e.preventDefault();break;case"Space":case"NumpadEnter":case"Enter":this.onItemClick(e,t,i),e.preventDefault();break;case"Tab":this.onTabKey()}},navigateToNextItem:function(e){var t=this.findNextItem(e);t&&this.setFocusToMenuitem(e,t)},navigateToPrevItem:function(e){var t=this.findPrevItem(e);t&&this.setFocusToMenuitem(e,t)},navigateToFirstItem:function(e){var t=this.findFirstItem(e);t&&this.setFocusToMenuitem(e,t)},navigateToLastItem:function(e){var t=this.findLastItem(e);t&&this.setFocusToMenuitem(e,t)},findNextItem:function(e){var t=e.parentElement.nextElementSibling;return t?!0===M.getAttribute(t,"data-p-disabled")?this.findNextItem(t.children[0]):t.children[0]:null},findPrevItem:function(e){var t=e.parentElement.previousElementSibling;return t?!0===M.getAttribute(t,"data-p-disabled")?this.findPrevItem(t.children[0]):t.children[0]:null},findFirstItem:function(){var e=M.findSingle(this.$refs.nav,'[data-pc-section="menuitem"][data-p-disabled="false"]');return e?e.children[0]:null},findLastItem:function(){var e=M.find(this.$refs.nav,'[data-pc-section="menuitem"][data-p-disabled="false"]');return e?e[e.length-1].children[0]:null},findActiveItem:function(){var e=M.findSingle(this.$refs.nav,'[data-pc-section="menuitem"][data-p-disabled="false"][data-p-highlight="true"]');return e?e.children[0]:null},setFocusToMenuitem:function(e,t){e.tabIndex="-1",t.tabIndex="0",t.focus()},onTabKey:function(){var e=M.findSingle(this.$refs.nav,'[data-pc-section="menuitem"][data-p-disabled="false"][data-p-highlight="true"]'),t=M.findSingle(this.$refs.nav,'[data-pc-section="action"][tabindex="0"]');t!==e.children[0]&&(e&&(e.children[0].tabIndex="0"),t.tabIndex="-1")},visible:function(e){return"function"==typeof e.visible?e.visible():!1!==e.visible},disabled:function(e){return"function"==typeof e.disabled?e.disabled():!0===e.disabled},label:function(e){return"function"==typeof e.label?e.label():e.label},updateInkBar:function(){for(var e=this.$refs.nav.children,t=!1,i=0;i<e.length;i++){var o=e[i];M.getAttribute(o,"data-p-highlight")&&(this.$refs.inkbar.style.width=M.getWidth(o)+"px",this.$refs.inkbar.style.left=M.getOffset(o).left-M.getOffset(this.$refs.nav).left+"px",t=!0)}t||(this.$refs.inkbar.style.width="0px",this.$refs.inkbar.style.left="0px")},getMenuItemProps:function(e,i){var o=this;return{action:t.mergeProps({class:this.cx("action"),tabindex:-1,onClick:function(t){return o.onItemClick(t,e,i)},onKeyDown:function(t){return o.onKeydownItem(t,e,i)}},this.getPTOptions("action",e,i)),icon:t.mergeProps({class:[this.cx("icon"),e.icon]},this.getPTOptions("icon",e,i)),label:t.mergeProps({class:this.cx("label")},this.getPTOptions("label",e,i))}}},directives:{ripple:Uc}},oQ=["aria-labelledby","aria-label"],rQ=["onClick","onKeydown","data-p-highlight","data-p-disabled"],nQ=["href","target","aria-label","aria-disabled"];iQ.render=function(e,i,o,r,n,a){var l=t.resolveDirective("ripple");return t.openBlock(),t.createElementBlock("div",t.mergeProps({class:e.cx("root")},e.ptmi("root")),[t.createElementVNode("ul",t.mergeProps({ref:"nav",class:e.cx("menu"),role:"menubar","aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel},e.ptm("menu")),[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.model,(function(i,o){return t.openBlock(),t.createElementBlock(t.Fragment,{key:a.label(i)+"_"+o.toString()},[a.visible(i)?(t.openBlock(),t.createElementBlock("li",t.mergeProps({key:0,ref_for:!0,ref:"tab",class:[e.cx("menuitem",{item:i,index:o}),i.class],role:"presentation",onClick:function(e){return a.onItemClick(e,i,o)},onKeydown:function(e){return a.onKeydownItem(e,i,o)}},a.getPTOptions("menuitem",i,o),{"data-p-highlight":n.d_activeIndex===o,"data-p-disabled":a.disabled(i)}),[e.$slots.item?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.$slots.item),{key:1,item:i,index:o,active:o===n.d_activeIndex,label:a.label(i),props:a.getMenuItemProps(i,o)},null,8,["item","index","active","label","props"])):t.withDirectives((t.openBlock(),t.createElementBlock("a",t.mergeProps({key:0,ref_for:!0,ref:"tabLink",role:"menuitem",href:i.url,class:e.cx("action"),target:i.target,"aria-label":a.label(i),"aria-disabled":a.disabled(i),tabindex:-1},a.getPTOptions("action",i,o)),[e.$slots.itemicon?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.$slots.itemicon),{key:0,item:i,class:t.normalizeClass(e.cx("icon"))},null,8,["item","class"])):i.icon?(t.openBlock(),t.createElementBlock("span",t.mergeProps({key:1,class:[e.cx("icon"),i.icon]},a.getPTOptions("icon",i,o)),null,16)):t.createCommentVNode("",!0),t.createElementVNode("span",t.mergeProps({class:e.cx("label")},a.getPTOptions("label",i,o)),t.toDisplayString(a.label(i)),17)],16,nQ)),[[l]])],16,rQ)):t.createCommentVNode("",!0)],64)})),128)),t.createElementVNode("li",t.mergeProps({ref:"inkbar",role:"none",class:e.cx("inkbar")},e.ptm("inkbar")),null,16)],16,oQ)],16)};const aQ=["href","onClick"],lQ={key:1,class:"flex flex-nowrap space-x-1 overflow-auto invisible-scrollbar"},sQ=["href","onClick"],cQ=["onClick"],AQ=rw(t.defineComponent({__name:"TabMenu",props:{menu:{},type:{},activeIndex:{},exact:{type:Boolean}},emits:["update:activeIndex"],setup(e,{emit:i}){const o=e,r=i;t.onBeforeMount((()=>{s()}));const n=t.computed((()=>window.location.pathname)),a=t.computed((()=>Object.hasOwn(o.menu[0],"to"))),l=t.ref(o.activeIndex??0),s=()=>{a.value&&(l.value=o.menu.map((e=>e.to)).findIndex((e=>(e&&n.value.includes(e),e?o.exact?n.value===e:n.value.includes(e):""))))};return t.watch(l,(e=>{r("update:activeIndex",e)})),(e,i)=>{const o=t.resolveComponent("router-link");return"tab"===e.type?(t.openBlock(),t.createBlock(t.unref(iQ),{key:0,activeIndex:l.value,"onUpdate:activeIndex":i[0]||(i[0]=e=>l.value=e),model:e.menu},t.createSlots({_:2},[a.value?{name:"item",fn:t.withCtx((({item:e,props:i})=>[t.createVNode(o,{to:e.to,custom:""},{default:t.withCtx((({href:o,navigate:r})=>[t.createElementVNode("a",t.mergeProps({href:o},i.action,{onClick:r}),[t.createElementVNode("span",t.normalizeProps(t.guardReactiveProps(i.label)),t.toDisplayString(e.label),17)],16,aQ)])),_:2},1032,["to"])])),key:"0"}:void 0]),1032,["activeIndex","model"])):(t.openBlock(),t.createElementBlock("div",lQ,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.menu,((e,i)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:i},[a.value?(t.openBlock(),t.createBlock(o,{key:0,to:e.to,custom:""},{default:t.withCtx((({href:o,navigate:r})=>[t.createElementVNode("div",{class:t.normalizeClass(["h-6 w-fit flex justify-center items-center rounded-xl",{"bg-grayscale-200 dark:bg-grayscale-800":l.value!==i},{"bg-primary-50 dark:bg-primary-300":l.value===i}])},[t.createElementVNode("a",{class:t.normalizeClass(["text-nowrap whitespace-nowrap px-3 text-xs font-medium",{"text-grayscale-800 dark:text-grayscale-50":l.value!==i},{"text-primary-500 dark:text-primary-800":l.value===i}]),href:o,onClick:e=>{l.value=i,r(e)}},[t.createElementVNode("span",null,t.toDisplayString(e.label),1)],10,sQ)],2)])),_:2},1032,["to"])):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["h-6 w-fit flex justify-center items-center rounded-xl",{"bg-grayscale-200 dark:bg-grayscale-800":l.value!==i},{"bg-primary-50 dark:bg-primary-300":l.value===i}])},[t.createElementVNode("a",{class:t.normalizeClass(["text-nowrap whitespace-nowrap px-3 text-xs font-medium cursor-pointer",{"text-grayscale-800 dark:text-grayscale-50":l.value!==i},{"text-primary-500 dark:text-primary-800":l.value===i}]),onClick:()=>{l.value=i}},[t.createElementVNode("span",null,t.toDisplayString(e.label),1)],10,cQ)],2))],64)))),128))]))}}}),[["__scopeId","data-v-844747a2"]]);var MQ=tl.extend({name:"timeline",classes:{root:function(e){var t=e.props;return["p-timeline p-component","p-timeline-"+t.align,"p-timeline-"+t.layout]},event:"p-timeline-event",opposite:"p-timeline-event-opposite",separator:"p-timeline-event-separator",marker:"p-timeline-event-marker",connector:"p-timeline-event-connector",content:"p-timeline-event-content"}}),uQ={name:"Timeline",extends:{name:"BaseTimeline",extends:Bc,props:{value:null,align:{mode:String,default:"left"},layout:{mode:String,default:"vertical"},dataKey:null},style:MQ,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,methods:{getKey:function(e,t){return this.dataKey?w.resolveFieldData(e,this.dataKey):t},getPTOptions:function(e,t){return this.ptm(e,{context:{index:t,count:this.value.length}})}}};uQ.render=function(e,i,o,r,n,a){return t.openBlock(),t.createElementBlock("div",t.mergeProps({class:e.cx("root")},e.ptmi("root")),[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.value,(function(i,o){return t.openBlock(),t.createElementBlock("div",t.mergeProps({key:a.getKey(i,o),class:e.cx("event")},a.getPTOptions("event",o)),[t.createElementVNode("div",t.mergeProps({class:e.cx("opposite",{index:o})},a.getPTOptions("opposite",o)),[t.renderSlot(e.$slots,"opposite",{item:i,index:o})],16),t.createElementVNode("div",t.mergeProps({class:e.cx("separator")},a.getPTOptions("separator",o)),[t.renderSlot(e.$slots,"marker",{item:i,index:o},(function(){return[t.createElementVNode("div",t.mergeProps({class:e.cx("marker")},a.getPTOptions("marker",o)),null,16)]})),o!==e.value.length-1?t.renderSlot(e.$slots,"connector",{key:0,item:i,index:o},(function(){return[t.createElementVNode("div",t.mergeProps({class:e.cx("connector")},a.getPTOptions("connector",o)),null,16)]})):t.createCommentVNode("",!0)],16),t.createElementVNode("div",t.mergeProps({class:e.cx("content")},a.getPTOptions("content",o)),[t.renderSlot(e.$slots,"content",{item:i,index:o})],16)],16)})),128))],16)};const gQ={class:"w-[22px] h-[22px] flex items-center justify-center rounded-full border border-general-100 dark:border-general-500 bg-transparent"},dQ={key:1,class:"w-[6px] h-[6px] rounded-full bg-general-800 dark:bg-general-100"},NQ={class:"pt-[2.5px] pb-[10px] flex flex-col gap-1"},EQ={id:"header",class:"flex items-center justify-between"},yQ={class:"flex items-center gap-1"},IQ={key:0,class:"flex items-center gap-0.5"},pQ={class:"text-primary-500 dark:text-primary-300 text-xs font-medium"},hQ={key:0,id:"body",class:"flex flex-col gap-1"},jQ={class:"flex flex-row items-center gap-1"},TQ={class:"text-xs font-medium text-general-400 dark:text-general-200"},wQ={class:"text-xs font-medium"},DQ=t.defineComponent({__name:"Timeline",props:{data:{}},setup(e){const i=e;t.onMounted((()=>{var e;o.value=null==(e=i.data)?void 0:e.map((e=>{var t;return e.body&&(null==(t=Object.keys(e.body))?void 0:t.length)?{...e,bodyShow:!0}:e}))}));const o=t.ref();return(e,i)=>(t.openBlock(),t.createBlock(t.unref(uQ),{value:o.value},{marker:t.withCtx((({item:e})=>{var i;return[t.createElementVNode("div",gQ,[e.body&&(null==(i=Object.keys(e.body))?void 0:i.length)?(t.openBlock(),t.createBlock(cc,{key:0,class:t.normalizeClass({"rotate-180":e.bodyShow}),onClick:t=>e.bodyShow=!e.bodyShow,icon:"arrow-down"},null,8,["class","onClick"])):(t.openBlock(),t.createElementBlock("div",dQ))])]})),content:t.withCtx((({item:i})=>{var o;return[t.createElementVNode("div",NQ,[t.createElementVNode("div",EQ,[t.createElementVNode("div",yQ,[t.createElementVNode("span",{class:t.normalizeClass(["text-xs font-bold",{"text-danger-500":i.danger}])},t.toDisplayString(i.title),3),i.username?(t.openBlock(),t.createElementBlock("div",IQ,[t.createVNode(cc,{class:"!text-general-400 dark:!text-general-200 !text-base",icon:"user"}),t.createElementVNode("span",pQ,t.toDisplayString(t.unref(oe)(i.username)),1)])):t.createCommentVNode("",!0)]),t.createElementVNode("div",{class:t.normalizeClass(["text-xs font-medium",{"text-danger-500":i.danger}])},t.toDisplayString(t.unref(xt)(i.date,!0)),3)]),(null==(o=Object.keys(i.body??{}))?void 0:o.length)&&i.bodyShow?(t.openBlock(),t.createElementBlock("div",hQ,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Object.keys(i.body),(o=>t.renderSlot(e.$slots,"body",t.mergeProps({key:o,ref_for:!0},{key:o,value:i.body[o]}),(()=>[t.createElementVNode("div",jQ,[t.createElementVNode("span",TQ,t.toDisplayString(o)+": ",1),t.createElementVNode("span",wQ,t.toDisplayString(i.body[o]),1)])])))),128))])):t.createCommentVNode("",!0)])]})),_:3},8,["value"]))}}),mQ={class:"flex gap-1 items-center text-placeholder","data-section-name":"transaction-role-lists"},BQ=t.defineComponent({__name:"TransactionRoles",props:{asset:{},user:{},type:{default:"transaction"}},setup(e){const i=e,o=t.computed((()=>i.user?"user":"asset")),r=t.computed((()=>{const e=i.user??i.asset;if(!e)return[];const t=JSON.parse(localStorage.user??"{}").addOn,r=[{label:"Borrowing",icon:"borrow",info:d(e,"borrowing"),severity:g(e,"borrowing")},{label:"Assignment",icon:"assignment",info:d(e,"assignment"),severity:g(e,"assignment")},{label:"Transfer",icon:"exchange",info:d(e,"transfer"),severity:g(e,"transfer")},{label:"Disposal",icon:"disposal",info:d(e,"disposal"),severity:g(e,"disposal")}];if("transaction-policy"===i.type)return r;const n="asset"===o.value?[{label:"Asset Control",icon:"gate",info:d(e,"assetControl"),severity:g(e,"assetControl"),visible:t.assetControl}]:[],a=[{label:"Audit",icon:"audit",info:d(e,"audit"),severity:g(e,"audit"),visible:t.audit},...n,{label:"Maintenance",icon:"file-settings",info:d(e,"maintenance"),severity:g(e,"maintenance"),visible:t.maintenance},{label:"Repair Ticketing",icon:"repair-ticketing",info:d(e,"repairTicketing"),severity:g(e,"repairTicketing"),visible:t.repairTicketing},{label:"Tracking",icon:"tracking",info:d(e,"tracking"),severity:g(e,"tracking"),visible:t.tracking}].filter((e=>e.visible));return[..."transaction"===i.type?r:[],...a]})),n=e=>{switch(e){case"borrowing":return"This user has borrowing role";case"assignment":return"This user has assignment role";case"disposal":return"This user has disposal role";case"audit":return"This user has audit role";case"repairTicketing":return"This user has repair ticketing role";case"transfer":return"This user has transfer role";case"maintenance":return"This user has maintenance routine role";case"tracking":return"This user has tracking role";default:return"This user doesn't have role"}},a=e=>{switch(e){case"borrowing":return"This asset can be borrowed";case"assignment":return"This asset can be assigned";case"disposal":return"This asset can be disposed";case"transfer":return"This asset can be transferred";default:return"This asset can be transacted"}},l=e=>{switch(e){case"borrowing":return"This asset cannot be borrowed";case"assignment":return"This asset cannot be assigned";case"disposal":return"This asset cannot be disposed";case"transfer":return"This asset cannot be transferred";default:return"This asset cannot be transacted"}},s=e=>{switch(e){case"borrowing":case"assignment":case"disposal":case"transfer":return a(e);case"audit":return"This asset has Audit Addon";case"assetControl":return"This asset has Asset Control Addon";case"maintenance":return"This asset has Maintenance Routine Addon";case"repairTicketing":return"This asset has Repair Ticketing Addon";case"tracking":return"This asset has Tracking Addon"}},c=e=>{switch(e){case"borrowing":return"This user doesn't have borrowing role";case"assignment":return"This user doesn't have assignment role";case"disposal":return"This user doesn't have disposal role";case"audit":return"This user doesn't have audit role";case"repairTicketing":return"This user doesn't have repair ticketing role";case"transfer":return"This user doesn't have transfer role";case"maintenance":return"This user doesn't have maintenance routine role";case"tracking":return"This user doesn't have tracking role";default:return"This user doesn't have role"}},A=e=>{switch(e){case"borrowing":case"assignment":case"disposal":case"transfer":return l(e);case"audit":return"This asset doesn't have Audit Addon";case"assetControl":return"This asset doesn't have Asset Control Addon";case"maintenance":return"This asset doesn't have Maintenance Routine Addon";case"repairTicketing":return"This asset doesn't have Repair Ticketing Addon";case"tracking":return"This asset doesn't have Tracking Addon"}},M=(e,t)=>{var r;if("transaction-policy"===i.type)return!!(null==(r=e.transactions)?void 0:r[t]);const n="addon"===i.type?e.addOn:"user"===o.value?e.transactionRoles:e.transactions,a=u(e,t),l=!!(null==n?void 0:n[t]),s=!!(null==n?void 0:n[t]);return("addon"===i.type?l:s)&&a},u=(e,t)=>{if(["repairTicketing","maintenance","tracking","audit","assetControl"].includes(t)&&e.licenseStatuses){const i=e.licenseStatuses[t];return"asset"!==o.value||!!i&&["Managed","Active"].includes(i)}return!0},g=(e,t)=>M(e,t)?"primary":void 0,d=(e,t)=>((e,t)=>"transaction-policy"===i.type?e?a(t):l(t):e?"user"===o.value?n(t):s(t):"user"===o.value?c(t):A(t))(M(e,t),t);return(e,i)=>(t.openBlock(),t.createElementBlock("div",mQ,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.value,(e=>(t.openBlock(),t.createBlock(cc,{key:e.label,class:t.normalizeClass(["text-xs",{"text-general-200":!e.severity}]),"data-role-name":e.label,icon:e.icon,info:e.info,severity:e.severity},null,8,["class","data-role-name","icon","info","severity"])))),128))]))}}),xQ={name:"_blank",styles:[],timeout:1e3,autoClose:!0,windowTitle:window.document.title},LQ=function(e={}){const i=__VUE_I18N_LEGACY_API__&&ti(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=!ti(e.globalInjection)||e.globalInjection,r=!__VUE_I18N_LEGACY_API__||!i||!!e.allowComposition,n=new Map,[a,l]=function(e,i){const o=t.effectScope();{const t=__VUE_I18N_LEGACY_API__&&i?o.run((()=>Fr(e))):o.run((()=>Ur(e)));if(null==t)throw wr(Tr.UNEXPECTED_ERROR);return[o,t]}}(e,i),s=Rt("");{const e={get mode(){return __VUE_I18N_LEGACY_API__&&i?"legacy":"composition"},get allowComposition(){return r},async install(r,...n){if(r.__VUE_I18N_SYMBOL__=s,r.provide(r.__VUE_I18N_SYMBOL__,e),ni(n[0])){const t=n[0];e.__composerExtend=t.__composerExtend,e.__vueI18nExtend=t.__vueI18nExtend}let a=null;!i&&o&&(a=function(e,i){const o=Object.create(null);$r.forEach((e=>{const r=Object.getOwnPropertyDescriptor(i,e);if(!r)throw wr(Tr.UNEXPECTED_ERROR);const n=t.isRef(r.value)?{get:()=>r.value.value,set(e){r.value.value=e}}:{get:()=>r.get&&r.get()};Object.defineProperty(o,e,n)})),e.config.globalProperties.$i18n=o,en.forEach((t=>{const o=Object.getOwnPropertyDescriptor(i,t);if(!o||!o.value)throw wr(Tr.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${t}`,o)}));const r=()=>{delete e.config.globalProperties.$i18n,en.forEach((t=>{delete e.config.globalProperties[`$${t}`]}))};return r}(r,e.global)),__VUE_I18N_FULL_INSTALL__&&Xr(r,e,...n),__VUE_I18N_LEGACY_API__&&i&&r.mixin(function(e,i,o){return{beforeCreate(){const r=t.getCurrentInstance();if(!r)throw wr(Tr.UNEXPECTED_ERROR);const n=this.$options;if(n.i18n){const t=n.i18n;if(n.__i18n&&(t.__i18n=n.__i18n),t.__root=i,this===this.$root)this.$i18n=Zr(e,t);else{t.__injectWithOption=!0,t.__extender=o.__vueI18nExtend,this.$i18n=Fr(t);const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(n.__i18n)if(this===this.$root)this.$i18n=Zr(e,n);else{this.$i18n=Fr({__i18n:n.__i18n,__injectWithOption:!0,__extender:o.__vueI18nExtend,__root:i});const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}else this.$i18n=e;n.__i18nGlobal&&kr(i,n,n),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$tc=(...e)=>this.$i18n.tc(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e),o.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const e=t.getCurrentInstance();if(!e)throw wr(Tr.UNEXPECTED_ERROR);const i=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,i.__disposer&&(i.__disposer(),delete i.__disposer,delete i.__extender),o.__deleteInstance(e),delete this.$i18n}}}(l,l.__composer,e));const c=r.unmount;r.unmount=()=>{a&&a(),e.dispose(),c()}},get global(){return l},dispose(){a.stop()},__instances:n,__getInstance:function(e){return n.get(e)||null},__setInstance:function(e,t){n.set(e,t)},__deleteInstance:function(e){n.delete(e)}};return e}}({locale:"en",fallbackLocale:"en",legacy:!1}),fQ={install:e=>{e.use(q,{unstyled:!0,pt:Oa}),e.use(LQ),e.use(te),e.use(Nl,xQ),e.directive("tooltip",gl),e.directive("focus",dl),e.component("DialogDamageLog",As),e.component("DialogMissingLog",zs),e.component("DialogTransferLog",Rl),e.component("TSAssetInfo",Xs),e.component("TSApproverInfo",lc),e.component("TSBadge",Xc),e.component("TSBadgeGroup",jA),e.component("TSBreadcrumb",mA),e.component("TSButton",Jc),e.component("TSButtonAddByScan",BA),e.component("TSButtonBulkAction",RA),e.component("TSButtonCopy",yM),e.component("TSButtonDownload",IM),e.component("TSButtonFilter",GA),e.component("TSButtonLogHistory",pM),e.component("TSButtonRadio",BM),e.component("TSButtonViewLog",uD),e.component("TSButtonScan",Zu),e.component("TSButtonSearch",tg),e.component("TSButtonSearchByScan",cg),e.component("TSButtonSelectTree",ad),e.component("TSDialogSelectAsset",Jw),e.component("TSButtonSelectUser",nD),e.component("TSDisposalReport",jL),e.component("TSButtonSync",aD),e.component("TSButtonToggle",MD),e.component("TSCalendar",tm),e.component("TSCard",om),e.component("TSCarousel",lm),e.component("TSCheckbox",_g),e.component("TSCustomColumn",mT),e.component("TSDatePicker",Am),e.component("TSDataTable",CT),e.component("TSDayPicker",gm),e.component("TSDialog",IA),e.component("TSDialogApprovalList",oc),e.component("TSDialogAssetNameDetail",jm),e.component("TSDialogConfirm",Vu),e.component("TSDialogForm",fm),e.component("TSDialogLinkedAsset",Sm),e.component("TSDialogPrintQR",Rx),e.component("TSDialogReportDamage",Zx),e.component("TSDialogReportMissing",oL),e.component("TSDialogReportTag",aL),e.component("TSDialogSelectTree",rd),e.component("TSDialogSelectUser",tD),e.component("TSDropdown",ju),e.component("TSFilterContainer",ew),e.component("TSFileUpload",qL),e.component("TSForm",mm),e.component("TSIcon",cc),e.component("TSImage",Ow),e.component("TSImageCompressor",nC),e.component("TSInlineMessage",fu),e.component("TSInputBadge",lC),e.component("TSInputCurrency",uC),e.component("TSInputCurrencyReference",dC),e.component("TSInputEmail",EC),e.component("TSInputNumber",Ym),e.component("TSInputOTP",pC),e.component("TSInputPassword",CC),e.component("TSInputPhoneNumber",vC),e.component("TSInputRangeNumber",OC),e.component("TSInputSearch",UC),e.component("TSInputText",NC),e.component("TSInputURL",FC),e.component("TSLoading",HC),e.component("TSMenu",KC),e.component("TSMultiSelect",qT),e.component("TSOverlayPanel",ag),e.component("TSPaginator",XC),e.component("TSProgressBar",qC),e.component("TSSteps",eQ),e.component("TSTabMenu",AQ),e.component("TSTagType",nw),e.component("TSTextarea",AL),e.component("TSTimeline",DQ),e.component("TSToast",EM),e.component("TSTransactionRoles",BQ),e.component("TSTree",ed),e.component("TSTreeSearchInput",Mg),e.component("TSUserWithIcon",qs),e.component("TSValidatorMessage",kM)}},zQ=Object.freeze(Object.defineProperty({__proto__:null,default:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkyIiBoZWlnaHQ9IjE5MiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8IS0tIE5vIGNvbnRlbnQsIGZ1bGx5IHRyYW5zcGFyZW50IC0tPgo8L3N2Zz4="},Symbol.toStringTag,{value:"Module"})),CQ=Object.freeze(Object.defineProperty({__proto__:null,default:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkyIiBoZWlnaHQ9IjE5MiIgdmlld0JveD0iMCAwIDE5MiAxOTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik03NS4yNDY5IDExMS45NzFMNzQuNzk2IDExNC4wNjlDNzYuMDAyNCAxMTUuMTA1IDc3LjI4MzMgMTE2LjAxOSA3OC40ODM0IDExNi45OTVDNzkuNjgzNSAxMTcuOTcxIDgwLjkzNjUgMTE4LjkyNiA4Mi4xNjQ2IDExOS44ODZMODUuODQ4OCAxMjIuNzc1TDg5LjU0ODYgMTI1LjY5MUM4OS4wNTQzIDEyNi4yMjYgODguNTU5OSAxMjYuNzA4IDg4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41Njk4IDEwNy44MDdMMTA4LjkyNSAxMDEuNjkxQzEwOS4wODQgMTAxLjU4MyAxMDkuMjU1IDEwMS40OTkgMTA5LjQ3MiAxMDEuMzc0WiIgZmlsbD0iYmxhY2siLz4KPHBhdGggZD0iTTkyLjg5MzIgMTA3Ljk0MUM5Mi42MTk2IDEwNy45NDEgOTIuMzQ2IDEwNy45NDEgOTIuMDc1NSAxMDcuOTQxQzkwLjYwMTggMTA3Ljg3OSA4OS4xMzEyIDEwNy44MTcgODcuNjU3NSAxMDcuNzM5Qzg3LjMyMTYgMTA3LjcyNyA4Ni45ODc1IDEwNy42ODUgODYuNjU5NSAxMDcuNjExQzg2LjExMzYgMTA3LjQ4OSA4NS41OTgzIDEwNy4yNTYgODUuMTQ1MSAxMDYuOTI4Qzg0LjY5MTggMTA2LjYgODQuMzEwMSAxMDYuMTgzIDg0LjAyMyAxMDUuNzAyQzgzLjI3MDcgMTA0LjQ3MyA4Mi44OTA2IDEwMy4wNTIgODIuOTI4NiAxMDEuNjExQzgyLjkzODEgMTAxLjU1NSA4Mi45NTI2IDEwMS41IDgyLjk3MjIgMTAxLjQ0NkM4My4wODYxIDEwMS40NTkgODMuMTk3MyAxMDEuNDg5IDgzLjMwMTcgMTAxLjUzNkM4My44MTc4IDEwMS44NDcgODQuMzIxNSAxMDIuMjA1IDg0LjgzMTQgMTAyLjUzN0w5Mi41MDc3IDEwNy41MzFDOTIuNjYgMTA3LjYzIDkyLjgwMzEgMTA3Ljc0MiA5Mi45NDkyIDEwNy44NDFMOTIuODkzMiAxMDcuOTQxWiIgZmlsbD0iYmxhY2siLz4KPC9zdmc+Cg=="},Symbol.toStringTag,{value:"Module"}));e.AssetBrandService=un,e.AssetNameService=Mn,e.AssetsServices=cn,e.DialogDamageLog=As,e.DialogMissingLog=zs,e.DialogTransferLog=Rl,e.DisposalAPI=gn,e.DisposalServices=dn,e.FilterMatchMode=U,e.Focus=dl,e.LibConfig=q,e.Presets=Oa,e.RoutineAPI=yn,e.RoutineServices=In,e.TSApproverInfo=lc,e.TSAssetInfo=Xs,e.TSBadge=Xc,e.TSBadgeGroup=jA,e.TSBreadcrumb=mA,e.TSButton=Jc,e.TSButtonAddByScan=BA,e.TSButtonBulkAction=RA,e.TSButtonCopy=yM,e.TSButtonDownload=IM,e.TSButtonFilter=GA,e.TSButtonLogHistory=pM,e.TSButtonRadio=BM,e.TSButtonScan=Zu,e.TSButtonSearch=tg,e.TSButtonSearchByScan=cg,e.TSButtonSelectTree=ad,e.TSButtonSelectUser=nD,e.TSButtonSync=aD,e.TSButtonToggle=MD,e.TSButtonViewLog=uD,e.TSCalendar=tm,e.TSCard=om,e.TSCarousel=lm,e.TSCheckbox=_g,e.TSCustomColumn=mT,e.TSDataTable=CT,e.TSDatePicker=Am,e.TSDayPicker=gm,e.TSDialog=IA,e.TSDialogApprovalList=oc,e.TSDialogAssetNameDetail=jm,e.TSDialogConfirm=Vu,e.TSDialogForm=fm,e.TSDialogLinkedAsset=Sm,e.TSDialogPrintQR=Rx,e.TSDialogReportDamage=Zx,e.TSDialogReportMissing=oL,e.TSDialogReportTag=aL,e.TSDialogSelectAsset=Jw,e.TSDialogSelectTree=rd,e.TSDialogSelectUser=tD,e.TSDisposalReport=jL,e.TSDropdown=ju,e.TSFileUpload=qL,e.TSFilterContainer=ew,e.TSForm=mm,e.TSIcon=cc,e.TSImage=Ow,e.TSImageCompressor=nC,e.TSInlineMessage=fu,e.TSInputBadge=lC,e.TSInputCurrency=uC,e.TSInputCurrencyReference=dC,e.TSInputEmail=EC,e.TSInputNumber=Ym,e.TSInputOTP=pC,e.TSInputPassword=CC,e.TSInputPhoneNumber=vC,e.TSInputRangeNumber=OC,e.TSInputSearch=UC,e.TSInputText=NC,e.TSInputURL=FC,e.TSLoading=HC,e.TSMenu=KC,e.TSMultiSelect=qT,e.TSOverlayPanel=ag,e.TSPaginator=XC,e.TSProgressBar=qC,e.TSSteps=eQ,e.TSTabMenu=AQ,e.TSTagType=nw,e.TSTextarea=AL,e.TSTimeline=DQ,e.TSToast=EM,e.TSToastService=te,e.TSTransactionRoles=BQ,e.TSTree=ed,e.TSTreeSearchInput=Mg,e.TSUserWithIcon=qs,e.TSValidatorMessage=kM,e.TSi18n=LQ,e.Tooltip=gl,e.TreeAPI=Nn,e.VueHtmlToPaper=Nl,e.buildBodyParams=an,e.checkRouteAccess=(e,t,i)=>{if(window.__isLoggingOut__)return i();const{userType:r}=JSON.parse(localStorage.getItem("user")??"{}"),{hasAccess:n}=e.meta,a="Admin"===r,l=e.path.includes("handover-confirmation")||e.path.includes("my-profile");n&&(a||l)?i():o.navigateToUrl("/not-found")},e.clearStorage=ne,e.default=fQ,e.downloadFile=async(e,t,i=!0,o=!1)=>{const{blob:r,fileName:n}=await zt(e);let a="";const l=/^(image|application\/pdf)/i.test(r.type),s=t??n;if(s)if(l&&o){const e=new File([r],s,{type:r.type});a=URL.createObjectURL(e),window.open(a,"_blank")}else{a=URL.createObjectURL(r);const e=document.createElement("a");e.href=a,e.download=s,document.body.appendChild(e),e.click(),e.remove()}return i&&URL.revokeObjectURL(a),a},e.exportToExcel=wt,e.filterNodeKeys=Fa,e.flattenTreeNodeChildren=Ya,e.forceLogout=ae,e.formatCurrency=(e,t,i=!0)=>{const{locale:o,currency:r}=Ut(t);return null==e?"-":Number(e).toLocaleString(o,{style:i?"currency":void 0,currency:r}).replace("Rp ","Rp")},e.formatDate=xt,e.formatDateReadable=(e,t)=>{const i=Math.floor(((new Date).valueOf()-new Date(e).valueOf())/1e3);if(t&&i>t)return xt(e);const o=Math.floor(i/31536e3);if(o>1)return o+" years ago";if(1===o)return o+" year ago";const r=Math.floor(i/2628e3);if(r>1)return r+" months ago";if(1===r)return r+" month ago";const n=Math.floor(i/86400);if(n>1)return n+" days ago";if(1===n)return n+" day ago";const a=Math.floor(i/3600);if(a>1)return a+" hours ago";if(1===a)return a+" hour ago";const l=Math.floor(i/60);return l>1?l+" minutes ago":1===l?l+" minute ago":"just now"},e.formatGoDate=Bt,e.formatUserName=oe,e.formatVowelSoundLabel=ie,e.getBaseURL=e=>window.Cypress?Cypress.env("CY_"+e):{VITE_APP_TAGSAMURAI_API:"https://dev-api.tagsamurai.com/fam",VITE_APP_ASSETS_URL:"https://assets.tagsamurai.com",VITE_APP_WSS_RFID_READER_API:"wss://dev-api.tagsamurai.com/rfid-reader-go/",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1}["VITE_"+e],e.getCurrency=Ut,e.getHostName=e=>{if(!e)return"";return new URL(e).hostname},e.getImageURL=Ct,e.getNestedProperyValue=ln,e.getSeverityByAssetStatus=on,e.getSystemRole=kt,e.getTransactionRole=Qt,e.getUserLocale=mt,e.handleTokenExpiration=e=>{e.interceptors.response.use((e=>e),(e=>{var t;return 401===(null==(t=e.response)?void 0:t.status)&&ae(),Promise.reject(e)}))},e.hasAccessToAssetDetail=Ot,e.hasAnyManagerRole=()=>{const{transactionRoles:e}=JSON.parse(localStorage.getItem("user")??"{}");return Object.entries(e).some((([,e])=>e.manager))},e.hasAnyMonitoringReportRole=()=>{const{transactionRoles:e}=JSON.parse(localStorage.getItem("user")??"{}");return Object.entries(e).some((([,e])=>e.monitoringReport))},e.hasApprovalRole=e=>{const{approver:t}=Qt(e);return t},e.hasManagerRole=vt,e.hasMonitoringReportRole=e=>{const{monitoringReport:t}=Qt(e);return t},e.hasStaffRole=St,e.hasSystemRole=bt,e.hasTransactionRole=e=>{const{manager:t,staff:i,monitoringReport:o}=Qt(e);return t||i||o},e.isObjectEmpty=e=>{if(!e)return!0;return!Object.keys(e).length},e.isValidJSONString=nn,e.listenSidebarChanges=(e,t)=>{window.addEventListener("group"===e?"groupSidebarChanged":"categorySidebarChanged",t)},e.parseNodeKeys=Ua,e.reLogin=async()=>{const e=localStorage.getItem("user");e||ae();try{const t=JSON.parse(e),{token:i}=t,o=await rn({jwt:i});if(null==o?void 0:o.data){const e=o.data.data;return localStorage.setItem("user",JSON.stringify(e)),!0}return ae(),!1}catch(t){return t}},e.unListenSidebarChanges=(e,t)=>{window.removeEventListener("group"===e?"groupSidebarChanged":"categorySidebarChanged",t)},e.useField=(e,t,i)=>Na(e,t,i),e.useForm=()=>{const{values:e,handleSubmit:t,setValues:i,setFieldValue:o,errors:r}=ja();return{values:e,handleSubmit:t,setValues:i,setFieldValue:o,errors:r}},e.useI18n=()=>{const{t:e}=qr();return{t:(t,i,o)=>{const r=(e=>e.trim().replace(/\s+/g,"_"))(t);return i?e(r,i,o):e(r,o).replaceAll("_"," ")}}},e.useLoadingStore=Ga,e.useToast=Lt,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
48
+ ***************************************************************************** */function uf(e,t){var i,o;return e&&t?(i=""+e+t[0].toUpperCase()+t.slice(1),o=e+"-"+t):(i=e||t,o=e||t),{name:i,classname:o}}function gf(e){return/^blob:/.test(e)}function df(e){return gf(e)||/^data:/.test(e)}function Nf(e){return!!(e&&e.constructor&&e.call&&e.apply)}function Ef(e){return void 0===e}function yf(e){return"object"==typeof e&&null!==e}function If(e,t,i){var o={};return yf(e)?(Object.keys(t).forEach((function(r){Ef(e[r])?o[r]=t[r]:yf(t[r])?yf(e[r])?o[r]=If(e[r],t[r],i[r]):o[r]=e[r]?t[r]:i[r]:!0===t[r]||!1===t[r]?o[r]=Boolean(e[r]):o[r]=e[r]})),o):e?t:i}function pf(e){var t=Number(e);return Number.isNaN(t)?e:t}function hf(e){return typeof("number"==e||(t=e,"object"==typeof t&&null!==t&&"[object Number]"==toString.call(e)))&&!jf(e);var t}function jf(e){return e!=e}function Tf(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}var wf=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.type="manipulateImage",this.move=e,this.scale=t},Df=function(e,t){void 0===t&&(t={}),this.type="resize",this.directions=e,this.params=t},mf=function(e){this.type="move",this.directions=e},Bf=function(){function e(e,t,i,o,r){this.type="drag",this.nativeEvent=e,this.position=i,this.previousPosition=o,this.element=t,this.anchor=r}return e.prototype.shift=function(){var e=this,t=e.element,i=e.anchor,o=e.position;if(t){var r=t.getBoundingClientRect(),n=r.left,a=r.top;return{left:o.left-n-i.left,top:o.top-a-i.top}}return{left:0,top:0}},e}(),xf={name:"DraggableElement",props:{classname:{type:String}},beforeMount:function(){window.addEventListener("mouseup",this.onMouseUp,{passive:!1}),window.addEventListener("mousemove",this.onMouseMove,{passive:!1}),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd,{passive:!1})},beforeUnmount:function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},mounted:function(){if(!this.$refs.draggable)throw new Error('You should add ref "draggable" to your root element to use draggable mixin');this.touches=[],this.hovered=!1},methods:{onMouseOver:function(){this.hovered||(this.hovered=!0,this.$emit("enter"))},onMouseLeave:function(){this.hovered&&!this.touches.length&&(this.hovered=!1,this.$emit("leave"))},onTouchStart:function(e){e.cancelable&&!this.disabled&&1===e.touches.length&&(this.touches=of(e.touches),this.hovered||(this.$emit("enter"),this.hovered=!0),e.touches.length&&this.initAnchor(this.touches.reduce((function(t,i){return{clientX:t.clientX+i.clientX/e.touches.length,clientY:t.clientY+i.clientY/e.touches.length}}),{clientX:0,clientY:0})),e.preventDefault&&e.preventDefault(),e.stopPropagation())},onTouchEnd:function(){this.processEnd()},onTouchMove:function(e){this.touches.length&&(this.processMove(e,e.touches),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation())},onMouseDown:function(e){if(!this.disabled){var t={fake:!0,clientX:e.clientX,clientY:e.clientY};this.touches=[t],this.initAnchor(t),e.stopPropagation()}},onMouseMove:function(e){this.touches.length&&(this.processMove(e,[{fake:!0,clientX:e.clientX,clientY:e.clientY}]),e.preventDefault&&e.preventDefault())},onMouseUp:function(){this.processEnd()},initAnchor:function(e){var t=this.$refs.draggable.getBoundingClientRect(),i=t.left,o=t.right,r=t.bottom,n=t.top;this.anchor={left:e.clientX-i,top:e.clientY-n,bottom:r-e.clientY,right:o-e.clientX}},processMove:function(e,t){var i=of(t);if(this.touches.length){if(1===this.touches.length&&1===i.length){var o=this.$refs.draggable;this.$emit("drag",new Bf(e,o,{left:i[0].clientX,top:i[0].clientY},{left:this.touches[0].clientX,top:this.touches[0].clientY},this.anchor))}this.touches=i}},processEnd:function(){this.touches.length&&this.$emit("drag-end"),this.hovered&&(this.$emit("leave"),this.hovered=!1),this.touches=[]}},emits:["drag","drag-end","leave","enter"],render:function(e,i,o,r,n,a){return t.openBlock(),t.createBlock("div",{ref:"draggable",class:o.classname,onTouchstart:i[1]||(i[1]=function(){return a.onTouchStart&&a.onTouchStart.apply(a,arguments)}),onMousedown:i[2]||(i[2]=function(){return a.onMouseDown&&a.onMouseDown.apply(a,arguments)}),onMouseover:i[3]||(i[3]=function(){return a.onMouseOver&&a.onMouseOver.apply(a,arguments)}),onMouseleave:i[4]||(i[4]=function(){return a.onMouseLeave&&a.onMouseLeave.apply(a,arguments)})},[t.renderSlot(e.$slots,"default")],34)}},Lf=sf("vue-handler-wrapper"),ff={name:"HandlerWrapper",components:{DraggableElement:xf},props:{horizontalPosition:{type:String},verticalPosition:{type:String},disabled:{type:Boolean,default:!1}},computed:{classes:function(){var e;if(this.horizontalPosition||this.verticalPosition){var t,i=uf(this.horizontalPosition,this.verticalPosition);e=Lf((tf(t={},i.classname,!0),tf(t,"disabled",this.disabled),t))}else e=Lf({disabled:this.disabled});return{root:e,draggable:Lf("draggable")}}},emits:["leave","enter","drag","drag-end"],render:function(e,i,o,r,n,a){var l=t.resolveComponent("DraggableElement");return t.openBlock(),t.createBlock("div",{class:a.classes.root},[t.createVNode(l,{class:a.classes.draggable,onDrag:i[1]||(i[1]=function(t){return e.$emit("drag",t)}),onDragEnd:i[2]||(i[2]=function(t){return e.$emit("drag-end")}),onLeave:i[3]||(i[3]=function(t){return e.$emit("leave")}),onEnter:i[4]||(i[4]=function(t){return e.$emit("enter")})},{default:t.withCtx((function(){return[t.renderSlot(e.$slots,"default")]})),_:3},8,["class"])],2)}},zf=sf("vue-line-wrapper"),Cf={name:"LineWrapper",components:{DraggableElement:xf},props:{position:{type:String,required:!0},disabled:{type:Boolean,default:!1}},computed:{classname:function(){var e;return zf((tf(e={},this.position,!0),tf(e,"disabled",this.disabled),e))}},emits:["leave","enter","drag","drag-end"],render:function(e,i,o,r,n,a){var l=t.resolveComponent("DraggableElement");return t.openBlock(),t.createBlock(l,{class:a.classname,onDrag:i[1]||(i[1]=function(t){return e.$emit("drag",t)}),onDragEnd:i[2]||(i[2]=function(t){return e.$emit("drag-end")}),onLeave:i[3]||(i[3]=function(t){return e.$emit("leave")}),onEnter:i[4]||(i[4]=function(t){return e.$emit("enter")})},{default:t.withCtx((function(){return[t.renderSlot(e.$slots,"default")]})),_:3},8,["class"])}},Qf=["left","right","top","bottom"],kf=["left","right"],bf=["top","bottom"],vf=["left","top"],Sf=["fill-area","fit-area","stencil","none"],Of={left:0,top:0,width:0,height:0};function Yf(e,t,i){return!(i=i||["width","height","left","top"]).some((function(i){return e[i]!==t[i]}))}function Uf(e){return{left:e.left,top:e.top,right:e.left+e.width,bottom:e.top+e.height}}function Ff(e,t){return{left:e.left-t.left,top:e.top-t.top}}function Rf(e){return{left:e.left+e.width/2,top:e.top+e.height/2}}function Gf(e,t){var i={left:0,top:0,right:0,bottom:0};return Qf.forEach((function(o){var r=t[o],n=Uf(e)[o];i[o]=void 0!==r&&void 0!==n?"left"===o||"top"===o?Math.max(0,r-n):Math.max(0,n-r):0})),i}function Hf(e,t){return{left:e.left-t.left,top:e.top-t.top,width:e.width+t.left+t.right,height:e.height+t.top+t.bottom}}function Pf(e){return{left:-e.left,top:-e.top}}function Vf(e,t){return Mf(Mf({},e),{left:e.left+t.left,top:e.top+t.top})}function Jf(e,t,i,o){if(1!==t){if(i){var r=Rf(e);return{width:e.width*t,height:e.height*t,left:e.left+e.width*(1-t)/2+(i.left-r.left)*(o||1-t),top:e.top+e.height*(1-t)/2+(i.top-r.top)*(o||1-t)}}return{width:e.width*t,height:e.height*t,left:e.left+e.width*(1-t)/2,top:e.top+e.height*(1-t)/2}}return e}function Wf(e){return e.width/e.height}function Kf(e,t){return Math.min(void 0!==t.right&&void 0!==t.left?(t.right-t.left)/e.width:1/0,void 0!==t.bottom&&void 0!==t.top?(t.bottom-t.top)/e.height:1/0)}function Xf(e,t){var i={left:0,top:0},o=Gf(e,t);return o.left&&o.left>0?i.left=o.left:o.right&&o.right>0&&(i.left=-o.right),o.top&&o.top>0?i.top=o.top:o.bottom&&o.bottom>0&&(i.top=-o.bottom),i}function Zf(e,t){var i;return t.minimum&&e<t.minimum?i=t.minimum:t.maximum&&e>t.maximum&&(i=t.maximum),i}function _f(e,t){var i=Wf(e),o=Wf(t);return t.width<1/0&&t.height<1/0?i>o?{width:t.width,height:t.width/i}:{width:t.height*i,height:t.height}:t.width<1/0?{width:t.width,height:t.width/i}:t.height<1/0?{width:t.height*i,height:t.height}:e}function qf(e,t){var i=t*Math.PI/180;return{width:Math.abs(e.width*Math.cos(i))+Math.abs(e.height*Math.sin(i)),height:Math.abs(e.width*Math.sin(i))+Math.abs(e.height*Math.cos(i))}}function $f(e,t){var i=t*Math.PI/180;return{left:e.left*Math.cos(i)-e.top*Math.sin(i),top:e.left*Math.sin(i)+e.top*Math.cos(i)}}function ez(e,t){var i=Gf(tz(e,t),t);return i.left+i.right+i.top+i.bottom?i.left+i.right>i.top+i.bottom?Math.min((e.width+i.left+i.right)/e.width,Kf(e,t)):Math.min((e.height+i.top+i.bottom)/e.height,Kf(e,t)):1}function tz(e,t,i){void 0===i&&(i=!1);var o=Xf(e,t);return Vf(e,i?Pf(o):o)}function iz(e){return{width:void 0!==e.right&&void 0!==e.left?e.right-e.left:1/0,height:void 0!==e.bottom&&void 0!==e.top?e.bottom-e.top:1/0}}function oz(e,t,i){void 0===i&&(i=!0);var o={};return Qf.forEach((function(r){var n=e[r],a=t[r];void 0!==n&&void 0!==a?o[r]="left"===r||"top"===r?i?Math.max(n,a):Math.min(n,a):i?Math.min(n,a):Math.max(n,a):void 0!==a?o[r]=a:void 0!==n&&(o[r]=n)})),o}function rz(e,t){return oz(e,t,!0)}function nz(e){var t=e.size,i=e.aspectRatio,o=e.ignoreMinimum,r=e.sizeRestrictions;return Boolean((t.correctRatio||Wf(t)>=i.minimum&&Wf(t)<=i.maximum)&&t.height<=r.maxHeight&&t.width<=r.maxWidth&&t.width&&t.height&&(o||t.height>=r.minHeight&&t.width>=r.minWidth))}function az(e,t){return Math.pow(e.width-t.width,2)+Math.pow(e.height-t.height,2)}function lz(e){var t=e.width,i=e.height,o=e.sizeRestrictions,r={minimum:e.aspectRatio&&e.aspectRatio.minimum||0,maximum:e.aspectRatio&&e.aspectRatio.maximum||1/0},n={width:Math.max(o.minWidth,Math.min(o.maxWidth,t)),height:Math.max(o.minHeight,Math.min(o.maxHeight,i))};function a(e,n){return void 0===n&&(n=!1),e.reduce((function(e,a){return nz({size:a,aspectRatio:r,sizeRestrictions:o,ignoreMinimum:n})&&(!e||az(a,{width:t,height:i})<az(e,{width:t,height:i}))?a:e}),null)}var l=[];r&&[r.minimum,r.maximum].forEach((function(e){e&&l.push({width:n.width,height:n.width/e,correctRatio:!0},{width:n.height*e,height:n.height,correctRatio:!0})})),nz({size:n,aspectRatio:r,sizeRestrictions:o})&&l.push(n);var s=a(l)||a(l,!0);return s&&{width:s.width,height:s.height}}function sz(e){var t=e.event,i=e.coordinates,o=e.positionRestrictions,r=void 0===o?{}:o,n=Vf(i,t.directions);return Vf(n,Xf(n,r))}function cz(e){e.event;var t=e.getAreaRestrictions,i=e.boundaries,o=e.coordinates,r=e.visibleArea;e.aspectRatio;var n=e.stencilSize,a=e.sizeRestrictions,l=e.positionRestrictions;e.stencilReference;var s,c,A,M=Mf({},o),u=Mf({},r),g=Mf({},n);s=Wf(g),c=Wf(M),void 0===A&&(A=.001),(0===s||0===c?Math.abs(c-s)<A:Math.abs(c/s)<1+A&&Math.abs(c/s)>1-A)||(M=Mf(Mf({},M),lz({sizeRestrictions:a,width:M.width,height:M.height,aspectRatio:{minimum:Wf(g),maximum:Wf(g)}})));var d=ez(u=Jf(u,M.width*i.width/(u.width*g.width)),t({visibleArea:u,type:"resize"}));return 1!==d&&(u=Jf(u,d),M=Jf(M,d)),u=tz(u=Vf(u,Ff(Rf(M),Rf(u))),t({visibleArea:u,type:"move"})),{coordinates:M=tz(M,rz(Uf(u),l)),visibleArea:u}}function Az(e){var t=e.event,i=e.getAreaRestrictions,o=e.boundaries,r=e.coordinates,n=e.visibleArea;e.aspectRatio,e.stencilSize,e.sizeRestrictions;var a=e.positionRestrictions;e.stencilReference;var l=Mf({},r),s=Mf({},n);if(r&&n&&"manipulateImage"!==t.type){var c={width:0,height:0};s.width,o.width,Wf(o)>Wf(l)?(c.height=.8*o.height,c.width=c.height*Wf(l)):(c.width=.8*o.width,c.height=c.width*Wf(l));var A=ez(s=Jf(s,l.width*o.width/(s.width*c.width)),i({visibleArea:s,type:"resize"}));s=Jf(s,A),1!==A&&(c.height/=A,c.width/=A),s=tz(s=Vf(s,Ff(Rf(l),Rf(s))),i({visibleArea:s,type:"move"})),l=tz(l,rz(Uf(s),a))}return{coordinates:l,visibleArea:s}}function Mz(e){var t=e.event,i=e.coordinates,o=e.visibleArea,r=e.getAreaRestrictions,n=Mf({},o),a=Mf({},i);if("setCoordinates"===t.type){var l=Math.max(0,a.width-n.width),s=Math.max(0,a.height-n.height);l>s?n=Jf(n,Math.min(a.width/n.width,Kf(n,r({visibleArea:n,type:"resize"})))):s>l&&(n=Jf(n,Math.min(a.height/n.height,Kf(n,r({visibleArea:n,type:"resize"}))))),n=tz(n=Vf(n,Pf(Xf(a,Uf(n)))),r({visibleArea:n,type:"move"}))}return{visibleArea:n,coordinates:a}}function uz(e){var t=e.imageSize,i=e.visibleArea,o=e.coordinates,r=i||t;return{left:(i?i.left:0)+r.width/2-o.width/2,top:(i?i.top:0)+r.height/2-o.height/2}}function gz(e){var t=e.imageSize,i=e.visibleArea,o=e.aspectRatio,r=e.sizeRestrictions,n=i||t,a=Math.min(o.maximum||1/0,Math.max(o.minimum||0,Wf(n))),l=n.width<n.height?{width:.8*n.width,height:.8*n.width/a}:{height:.8*n.height,width:.8*n.height*a};return lz(Mf(Mf({},l),{aspectRatio:o,sizeRestrictions:r}))}function dz(e){var t,i,o=e.imageSize,r=e.visibleArea,n=e.boundaries,a=e.aspectRatio,l=e.sizeRestrictions,s=e.stencilSize,c=r||o;return Wf(c)>Wf(n)?i=(t=s.height*c.height/n.height)*Wf(s):t=(i=s.width*c.width/n.width)/Wf(s),lz({width:i,height:t,aspectRatio:a,sizeRestrictions:l})}function Nz(e){var t=e.getAreaRestrictions,i=e.coordinates,o=e.imageSize,r=Wf(e.boundaries);if(i){var n={height:Math.max(i.height,o.height),width:Math.max(i.width,o.width)},a=_f({width:Wf(n)>r?n.width:n.height*r,height:Wf(n)>r?n.width/r:n.height},iz(t())),l={left:i.left+i.width/2-a.width/2,top:i.top+i.height/2-a.height/2,width:a.width,height:a.height},s=Gf(i,Uf(Mf({left:0,top:0},o))),c={};return!s.left&&!s.right&&l.width<=o.width&&(c.left=0,c.right=o.width),!s.top&&!s.bottom&&l.height<=o.height&&(c.top=0,c.bottom=o.height),tz(l,c)}var A=Wf(o);return a={height:A>r?o.height:o.width/r,width:A>r?o.height*r:o.width},{left:o.width/2-a.width/2,top:o.height/2-a.height/2,width:a.width,height:a.height}}function Ez(e,t){return oz(e,Uf(t))}function yz(e){var t=e.directions,i=e.coordinates,o=e.positionRestrictions,r=void 0===o?{}:o,n=e.sizeRestrictions,a=e.preserveRatio,l=e.compensate,s=Mf({},t),c=Hf(i,s).width,A=Hf(i,s).height;c<0&&(s.left<0&&s.right<0?(s.left=-(i.width-n.minWidth)/(s.left/s.right),s.right=-(i.width-n.minWidth)/(s.right/s.left)):s.left<0?s.left=-(i.width-n.minWidth):s.right<0&&(s.right=-(i.width-n.minWidth))),A<0&&(s.top<0&&s.bottom<0?(s.top=-(i.height-n.minHeight)/(s.top/s.bottom),s.bottom=-(i.height-n.minHeight)/(s.bottom/s.top)):s.top<0?s.top=-(i.height-n.minHeight):s.bottom<0&&(s.bottom=-(i.height-n.minHeight)));var M=Gf(Hf(i,s),r);l&&(M.left&&M.left>0&&0===M.right?(s.right+=M.left,s.left-=M.left):M.right&&M.right>0&&0===M.left&&(s.left+=M.right,s.right-=M.right),M.top&&M.top>0&&0===M.bottom?(s.bottom+=M.top,s.top-=M.top):M.bottom&&M.bottom>0&&0===M.top&&(s.top+=M.bottom,s.bottom-=M.bottom),M=Gf(Hf(i,s),r));var u={width:1/0,height:1/0,left:1/0,right:1/0,top:1/0,bottom:1/0};if(Qf.forEach((function(e){var t=M[e];t&&s[e]&&(u[e]=Math.max(0,1-t/s[e]))})),a){var g=Math.min.apply(null,Qf.map((function(e){return u[e]})));g!==1/0&&Qf.forEach((function(e){s[e]*=g}))}else Qf.forEach((function(e){u[e]!==1/0&&(s[e]*=u[e])}));if(c=Hf(i,s).width,A=Hf(i,s).height,s.right+s.left&&(c>n.maxWidth?u.width=(n.maxWidth-i.width)/(s.right+s.left):c<n.minWidth&&(u.width=(n.minWidth-i.width)/(s.right+s.left))),s.bottom+s.top&&(A>n.maxHeight?u.height=(n.maxHeight-i.height)/(s.bottom+s.top):A<n.minHeight&&(u.height=(n.minHeight-i.height)/(s.bottom+s.top))),a){var d=Math.min(u.width,u.height);d!==1/0&&Qf.forEach((function(e){s[e]*=d}))}else u.width!==1/0&&kf.forEach((function(e){s[e]*=u.width})),u.height!==1/0&&bf.forEach((function(e){s[e]*=u.height}));return s}function Iz(e,t,i){return 0==t&&0==i?e/2:0==t?0:0==i?e:e*Math.abs(t/(t+i))}var pz=sf("vue-simple-handler"),hz=sf("vue-simple-handler-wrapper"),jz={name:"SimpleHandler",components:{HandlerWrapper:ff},props:{defaultClass:{type:String},hoverClass:{type:String},wrapperClass:{type:String},horizontalPosition:{type:String},verticalPosition:{type:String},disabled:{type:Boolean,default:!1}},data:function(){return{hover:!1}},computed:{classes:function(){var e,t=(tf(e={},this.horizontalPosition,Boolean(this.horizontalPosition)),tf(e,this.verticalPosition,Boolean(this.verticalPosition)),tf(e,"".concat(this.horizontalPosition,"-").concat(this.verticalPosition),Boolean(this.verticalPosition&&this.horizontalPosition)),tf(e,"hover",this.hover),e);return{default:lf(pz(t),this.defaultClass,this.hover&&this.hoverClass),wrapper:lf(hz(t),this.wrapperClass)}}},methods:{onDrag:function(e){this.$emit("drag",e)},onEnter:function(){this.hover=!0},onLeave:function(){this.hover=!1},onDragEnd:function(){this.$emit("drag-end")}},emits:["drag","drag-end"],render:function(e,i,o,r,n,a){var l=t.resolveComponent("HandlerWrapper");return t.openBlock(),t.createBlock(l,{class:a.classes.wrapper,"vertical-position":o.verticalPosition,"horizontal-position":o.horizontalPosition,disabled:o.disabled,onDrag:a.onDrag,onDragEnd:a.onDragEnd,onEnter:a.onEnter,onLeave:a.onLeave},{default:t.withCtx((function(){return[t.createVNode("div",{class:a.classes.default},null,2)]})),_:1},8,["class","vertical-position","horizontal-position","disabled","onDrag","onDragEnd","onEnter","onLeave"])}},Tz=sf("vue-simple-line"),wz=sf("vue-simple-line-wrapper"),Dz={name:"SimpleLine",components:{LineWrapper:Cf},props:{defaultClass:{type:String},hoverClass:{type:String},wrapperClass:{type:String},position:{type:String},disabled:{type:Boolean,default:!1}},data:function(){return{hover:!1}},computed:{classes:function(){return{root:lf(Tz(tf({},this.position,!0)),this.defaultClass,this.hover&&this.hoverClass),wrapper:lf(wz(tf({},this.position,!0)),this.wrapperClass)}}},methods:{onDrag:function(e){this.$emit("drag",e)},onEnter:function(){this.hover=!0},onLeave:function(){this.hover=!1},onDragEnd:function(){this.$emit("drag-end")}},emits:["drag","drag-end"],render:function(e,i,o,r,n,a){var l=t.resolveComponent("LineWrapper");return t.openBlock(),t.createBlock(l,{class:a.classes.wrapper,position:o.position,disabled:o.disabled,onDrag:a.onDrag,onDragEnd:a.onDragEnd,onEnter:a.onEnter,onLeave:a.onLeave},{default:t.withCtx((function(){return[t.createVNode("div",{class:a.classes.root},null,2)]})),_:1},8,["class","position","disabled","onDrag","onDragEnd","onEnter","onLeave"])}},mz=sf("vue-bounding-box"),Bz=["east","west",null],xz=["south","north",null],Lz={name:"BoundingBox",props:{width:{type:Number},height:{type:Number},transitions:{type:Object},handlers:{type:Object,default:function(){return{eastNorth:!0,north:!0,westNorth:!0,west:!0,westSouth:!0,south:!0,eastSouth:!0,east:!0}}},handlersComponent:{type:[Object,String],default:function(){return jz}},handlersClasses:{type:Object,default:function(){return{}}},handlersWrappersClasses:{type:Object,default:function(){return{}}},lines:{type:Object,default:function(){return{west:!0,north:!0,east:!0,south:!0}}},linesComponent:{type:[Object,String],default:function(){return Dz}},linesClasses:{type:Object,default:function(){return{}}},linesWrappersClasses:{type:Object,default:function(){return{}}},resizable:{type:Boolean,default:!0}},data:function(){var e=[];return Bz.forEach((function(t){xz.forEach((function(i){if(t!==i){var o=uf(t,i),r=o.name,n=o.classname;e.push({name:r,classname:n,verticalDirection:i,horizontalDirection:t})}}))})),{points:e}},computed:{style:function(){var e={};return this.width&&this.height&&(e.width="".concat(this.width,"px"),e.height="".concat(this.height,"px"),this.transitions&&this.transitions.enabled&&(e.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction))),e},classes:function(){var e=this.handlersClasses,t=this.handlersWrappersClasses,i=this.linesClasses,o=this.linesWrappersClasses;return{root:mz(),handlers:e,handlersWrappers:t,lines:i,linesWrappers:o}},lineNodes:function(){var e=this,t=[];return this.points.forEach((function(i){i.horizontalDirection&&i.verticalDirection||!e.lines[i.name]||t.push({name:i.name,component:e.linesComponent,class:lf(e.classes.lines.default,e.classes.lines[i.name],!e.resizable&&e.classes.lines.disabled),wrapperClass:lf(e.classes.linesWrappers.default,e.classes.linesWrappers[i.name],!e.resizable&&e.classes.linesWrappers.disabled),hoverClass:e.classes.lines.hover,verticalDirection:i.verticalDirection,horizontalDirection:i.horizontalDirection,disabled:!e.resizable})})),t},handlerNodes:function(){var e=this,t=[],i=this.width,o=this.height;return this.points.forEach((function(r){if(e.handlers[r.name]){var n={name:r.name,component:e.handlersComponent,class:lf(e.classes.handlers.default,e.classes.handlers[r.name]),wrapperClass:lf(e.classes.handlersWrappers.default,e.classes.handlersWrappers[r.name]),hoverClass:e.classes.handlers.hover,verticalDirection:r.verticalDirection,horizontalDirection:r.horizontalDirection,disabled:!e.resizable};if(i&&o){var a=r.horizontalDirection,l=r.verticalDirection,s="east"===a?i:"west"===a?0:i/2,c="south"===l?o:"north"===l?0:o/2;n.wrapperClass=mz("handler"),n.wrapperStyle={transform:"translate(".concat(s,"px, ").concat(c,"px)")},e.transitions&&e.transitions.enabled&&(n.wrapperStyle.transition="".concat(e.transitions.time,"ms ").concat(e.transitions.timingFunction))}else n.wrapperClass=mz("handler",tf({},r.classname,!0));t.push(n)}})),t}},beforeMount:function(){window.addEventListener("mouseup",this.onMouseUp,{passive:!1}),window.addEventListener("mousemove",this.onMouseMove,{passive:!1}),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd,{passive:!1})},beforeUnmount:function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},mounted:function(){this.touches=[]},methods:{onEnd:function(){this.$emit("resize-end")},onHandlerDrag:function(e,t,i){var o,r=e.shift(),n=r.left,a=r.top,l={left:0,right:0,top:0,bottom:0};"west"===t?l.left-=n:"east"===t&&(l.right+=n),"north"===i?l.top-=a:"south"===i&&(l.bottom+=a),!i&&t?o="width":i&&!t&&(o="height"),this.resizable&&this.$emit("resize",new Df(l,{allowedDirections:{left:"west"===t||!t,right:"east"===t||!t,bottom:"south"===i||!i,top:"north"===i||!i},preserveAspectRatio:e.nativeEvent&&e.nativeEvent.shiftKey,respectDirection:o}))}},emits:["resize","resize-end"],render:function(e,i,o,r,n,a){return t.openBlock(),t.createBlock("div",{ref:"box",class:a.classes.root,style:a.style},[t.renderSlot(e.$slots,"default"),t.createVNode("div",null,[(t.openBlock(!0),t.createBlock(t.Fragment,null,t.renderList(a.lineNodes,(function(e){return t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.component),{key:e.name,"default-class":e.class,"hover-class":e.hoverClass,"wrapper-class":e.wrapperClass,position:e.name,disabled:e.disabled,onDrag:function(t){return a.onHandlerDrag(t,e.horizontalDirection,e.verticalDirection)},onDragEnd:i[1]||(i[1]=function(e){return a.onEnd()})},null,8,["default-class","hover-class","wrapper-class","position","disabled","onDrag"])})),128))]),(t.openBlock(!0),t.createBlock(t.Fragment,null,t.renderList(a.handlerNodes,(function(e){return t.openBlock(),t.createBlock("div",{key:e.name,style:e.wrapperStyle,class:e.wrapperClass},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.component),{"default-class":e.class,"hover-class":e.hoverClass,"wrapper-class":e.wrapperClass,"horizontal-position":e.horizontalDirection,"vertical-position":e.verticalDirection,disabled:e.disabled,onDrag:function(t){return a.onHandlerDrag(t,e.horizontalDirection,e.verticalDirection)},onDragEnd:i[2]||(i[2]=function(e){return a.onEnd()})},null,8,["default-class","hover-class","wrapper-class","horizontal-position","vertical-position","disabled","onDrag"]))],6)})),128))],6)}},fz=sf("vue-draggable-area"),zz={name:"DraggableArea",props:{movable:{type:Boolean,default:!0},activationDistance:{type:Number,default:20}},computed:{classnames:function(){return{default:fz()}}},beforeMount:function(){window.addEventListener("mouseup",this.onMouseUp,{passive:!1}),window.addEventListener("mousemove",this.onMouseMove,{passive:!1}),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd,{passive:!1})},beforeUnmount:function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},mounted:function(){this.touches=[],this.touchStarted=!1},methods:{onTouchStart:function(e){if(e.cancelable){var t=this.movable&&1===e.touches.length;t&&(this.touches=of(e.touches)),(this.touchStarted||t)&&(e.preventDefault(),e.stopPropagation())}},onTouchEnd:function(){this.touchStarted=!1,this.processEnd()},onTouchMove:function(e){this.touches.length>=1&&(this.touchStarted?(this.processMove(e,e.touches),e.preventDefault(),e.stopPropagation()):Tf({x:this.touches[0].clientX,y:this.touches[0].clientY},{x:e.touches[0].clientX,y:e.touches[0].clientY})>this.activationDistance&&(this.initAnchor({clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}),this.touchStarted=!0))},onMouseDown:function(e){if(this.movable&&0===e.button){var t={fake:!0,clientX:e.clientX,clientY:e.clientY};this.touches=[t],this.initAnchor(t),e.stopPropagation()}},onMouseMove:function(e){this.touches.length&&(this.processMove(e,[{fake:!0,clientX:e.clientX,clientY:e.clientY}]),e.preventDefault&&e.cancelable&&e.preventDefault(),e.stopPropagation())},onMouseUp:function(){this.processEnd()},initAnchor:function(e){var t=this.$refs.container.getBoundingClientRect(),i=t.left,o=t.top;this.anchor={x:e.clientX-i,y:e.clientY-o}},processMove:function(e,t){var i=of(t);if(this.touches.length){var o=this.$refs.container.getBoundingClientRect(),r=o.left,n=o.top;1===this.touches.length&&1===i.length&&this.$emit("move",new mf({left:i[0].clientX-(r+this.anchor.x),top:i[0].clientY-(n+this.anchor.y)}))}},processEnd:function(){this.touches.length&&this.$emit("move-end"),this.touches=[]}},emits:["move","move-end"]};function Cz(e){var t,i;return{rotate:e.rotate||0,flip:{horizontal:(null===(t=null==e?void 0:e.flip)||void 0===t?void 0:t.horizontal)||!1,vertical:(null===(i=null==e?void 0:e.flip)||void 0===i?void 0:i.vertical)||!1}}}function Qz(e){var t=e.rotate,i=e.flip,o=e.scaleX,r=e.scaleY,n="";return n+=" rotate("+t+"deg) ",(n+=" scaleX("+o*(i.horizontal?-1:1)+") ")+" scaleY("+r*(i.vertical?-1:1)+") "}function kz(e,t){var i=t.getBoundingClientRect(),o=i.left,r=i.top,n={left:0,top:0},a=0;return e.forEach((function(t){n.left+=(t.clientX-o)/e.length,n.top+=(t.clientY-r)/e.length})),e.forEach((function(e){a+=Tf({x:n.left,y:n.top},{x:e.clientX-o,y:e.clientY-r})})),{centerMass:n,spread:a,count:e.length}}zz.render=function(e,i,o,r,n,a){return t.openBlock(),t.createBlock("div",{ref:"container",onTouchstart:i[1]||(i[1]=function(){return a.onTouchStart&&a.onTouchStart.apply(a,arguments)}),onMousedown:i[2]||(i[2]=function(){return a.onMouseDown&&a.onMouseDown.apply(a,arguments)})},[t.renderSlot(e.$slots,"default")],544)};var bz={props:{touchMove:{type:Boolean,required:!0},mouseMove:{type:Boolean,required:!0},touchResize:{type:Boolean,required:!0},wheelResize:{type:[Boolean,Object],required:!0},eventsFilter:{type:Function,required:!1}},beforeMount:function(){window.addEventListener("mouseup",this.onMouseUp,{passive:!1}),window.addEventListener("mousemove",this.onMouseMove,{passive:!1}),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd,{passive:!1})},beforeUnmount:function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},created:function(){this.transforming=!1,this.debouncedProcessEnd=Af(this.processEnd),this.touches=[]},methods:{processMove:function(e,t){if(this.touches.length){if(1===this.touches.length&&1===t.length)this.$emit("move",new wf({left:this.touches[0].clientX-t[0].clientX,top:this.touches[0].clientY-t[0].clientY}));else if(this.touches.length>1&&this.touchResize){var i=kz(t,this.$refs.container),o=this.oldGeometricProperties;o.count===i.count&&o.count>1&&this.$emit("resize",new wf({left:o.centerMass.left-i.centerMass.left,top:o.centerMass.top-i.centerMass.top},{factor:o.spread/i.spread,center:i.centerMass})),this.oldGeometricProperties=i}this.touches=t}},processEnd:function(){this.transforming&&(this.transforming=!1,this.$emit("transform-end"))},processStart:function(){this.transforming=!0,this.debouncedProcessEnd.clear()},processEvent:function(e){return this.eventsFilter?!1!==this.eventsFilter(e,this.transforming):(e.preventDefault(),e.stopPropagation(),!0)},onTouchStart:function(e){if(e.cancelable&&(this.touchMove||this.touchResize&&e.touches.length>1)&&this.processEvent(e)){var t=this.$refs.container,i=t.getBoundingClientRect(),o=i.left,r=i.top,n=i.bottom,a=i.right;this.touches=of(e.touches).filter((function(e){return e.clientX>o&&e.clientX<a&&e.clientY>r&&e.clientY<n})),this.oldGeometricProperties=kz(this.touches,t)}},onTouchEnd:function(e){0===e.touches.length&&(this.touches=[],this.processEnd())},onTouchMove:function(e){var t=this;if(this.touches.length){var i=of(e.touches).filter((function(e){return!e.identifier||t.touches.find((function(t){return t.identifier===e.identifier}))}));this.processEvent(e)&&(this.processMove(e,i),this.processStart())}},onMouseDown:function(e){if(this.mouseMove&&"buttons"in e&&1===e.buttons&&this.processEvent(e)){var t={fake:!0,clientX:e.clientX,clientY:e.clientY};this.touches=[t],this.processStart()}},onMouseMove:function(e){this.touches.length&&this.processEvent(e)&&this.processMove(e,[{clientX:e.clientX,clientY:e.clientY}])},onMouseUp:function(){this.touches=[],this.processEnd()},onWheel:function(e){if(this.wheelResize&&this.processEvent(e)){var t=this.$refs.container.getBoundingClientRect(),i=t.left,o=t.top,r=1+this.wheelResize.ratio*(0==(a=+(e.deltaY||e.detail||e.wheelDelta))||jf(a)?a:a>0?1:-1),n={left:e.clientX-i,top:e.clientY-o};this.$emit("resize",new wf({},{factor:r,center:n})),this.touches.length||this.debouncedProcessEnd()}var a}},emits:["resize","move","transform-end"],render:function(e,i,o,r,n,a){return t.openBlock(),t.createBlock("div",{ref:"container",onTouchstart:i[1]||(i[1]=function(){return a.onTouchStart&&a.onTouchStart.apply(a,arguments)}),onMousedown:i[2]||(i[2]=function(){return a.onMouseDown&&a.onMouseDown.apply(a,arguments)}),onWheel:i[3]||(i[3]=function(){return a.onWheel&&a.onWheel.apply(a,arguments)})},[t.renderSlot(e.$slots,"default")],544)}},vz={components:{TransformableImage:bz},props:{touchMove:{type:Boolean,required:!0},mouseMove:{type:Boolean,required:!0},touchResize:{type:Boolean,required:!0},wheelResize:{type:[Boolean,Object],required:!0}},emits:["resize","move"],render:function(e,i,o,r,n,a){var l=t.resolveComponent("transformable-image");return t.openBlock(),t.createBlock(l,{"touch-move":o.touchMove,"touch-resize":o.touchResize,"mouse-move":o.mouseMove,"wheel-resize":o.wheelResize,onMove:i[1]||(i[1]=function(t){return e.$emit("move",t)}),onResize:i[2]||(i[2]=function(t){return e.$emit("resize",t)})},{default:t.withCtx((function(){return[t.renderSlot(e.$slots,"default")]})),_:3},8,["touch-move","touch-resize","mouse-move","wheel-resize"])}},Sz=sf("vue-preview"),Oz={props:{coordinates:{type:Object},transitions:{type:Object},image:{type:Object,default:function(){return{}}},imageClass:{type:String},width:{type:Number},height:{type:Number},fill:{type:Boolean}},data:function(){return{calculatedImageSize:{width:0,height:0},calculatedSize:{width:0,height:0}}},computed:{classes:function(){return{root:Sz({fill:this.fill}),wrapper:Sz("wrapper"),imageWrapper:Sz("image-wrapper"),image:lf(Sz("image"),this.imageClass)}},style:function(){if(this.fill)return{};var e={};return this.width&&(e.width="".concat(this.size.width,"px")),this.height&&(e.height="".concat(this.size.height,"px")),this.transitions&&this.transitions.enabled&&(e.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),e},wrapperStyle:function(){var e={width:"".concat(this.size.width,"px"),height:"".concat(this.size.height,"px"),left:"calc(50% - ".concat(this.size.width/2,"px)"),top:"calc(50% - ".concat(this.size.height/2,"px)")};return this.transitions&&this.transitions.enabled&&(e.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),e},imageStyle:function(){if(this.coordinates&&this.image){var e=this.coordinates.width/this.size.width,t=ef(ef({rotate:0,flip:{horizontal:!1,vertical:!1}},this.image.transforms),{},{scaleX:1/e,scaleY:1/e}),i=this.imageSize.width,o=this.imageSize.height,r=qf({width:i,height:o},t.rotate),n={width:"".concat(i,"px"),height:"".concat(o,"px"),left:"0px",top:"0px"},a={rotate:{left:(i-r.width)*t.scaleX/2,top:(o-r.height)*t.scaleY/2},scale:{left:(1-t.scaleX)*i/2,top:(1-t.scaleY)*o/2}};return n.transform="translate(\n\t\t\t\t".concat(-this.coordinates.left/e-a.rotate.left-a.scale.left,"px,").concat(-this.coordinates.top/e-a.rotate.top-a.scale.top,"px) ")+Qz(t),this.transitions&&this.transitions.enabled&&(n.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),n}return{}},size:function(){return{width:this.width||this.calculatedSize.width,height:this.height||this.calculatedSize.height}},imageSize:function(){return{width:this.image.width||this.calculatedImageSize.width,height:this.image.height||this.calculatedImageSize.height}}},watch:{image:function(e){(e.width||e.height)&&this.onChangeImage()}},mounted:function(){var e=this;this.onChangeImage(),this.$refs.image.addEventListener("load",(function(){e.refreshImage()})),window.addEventListener("resize",this.refresh),window.addEventListener("orientationchange",this.refresh)},unmounted:function(){window.removeEventListener("resize",this.refresh),window.removeEventListener("orientationchange",this.refresh)},methods:{refreshImage:function(){var e=this.$refs.image;this.calculatedImageSize.height=e.naturalHeight,this.calculatedImageSize.width=e.naturalWidth},refresh:function(){var e=this.$refs.root;this.width||(this.calculatedSize.width=e.clientWidth),this.height||(this.calculatedSize.height=e.clientHeight)},onChangeImage:function(){var e=this.$refs.image;e&&e.complete&&this.refreshImage(),this.refresh()}},render:function(e,i,o,r,n,a){return t.openBlock(),t.createBlock("div",{ref:"root",class:a.classes.root,style:a.style},[t.createVNode("div",{ref:"wrapper",class:a.classes.wrapper,style:a.wrapperStyle},[t.withDirectives(t.createVNode("img",{ref:"image",src:o.image&&o.image.src,class:a.classes.image,style:a.imageStyle},null,14,["src"]),[[t.vShow,o.image&&o.image.src]])],6)],6)}},Yz={components:{Preview:Oz},inheritAttrs:!1,render:function(e,i,o,r,n,a){var l=t.resolveComponent("preview");return t.openBlock(),t.createBlock(l,t.mergeProps(e.$attrs,{fill:!0}),null,16)}},Uz=sf("vue-rectangle-stencil"),Fz={name:"RectangleStencil",components:{StencilPreview:Yz,BoundingBox:Lz,DraggableArea:zz},props:{image:{type:Object},coordinates:{type:Object},stencilCoordinates:{type:Object},handlers:{type:Object},handlersComponent:{type:[Object,String],default:function(){return jz}},lines:{type:Object},linesComponent:{type:[Object,String],default:function(){return Dz}},aspectRatio:{type:[Number,String]},minAspectRatio:{type:[Number,String]},maxAspectRatio:{type:[Number,String]},movable:{type:Boolean,default:!0},resizable:{type:Boolean,default:!0},transitions:{type:Object},movingClass:{type:String},resizingClass:{type:String},previewClass:{type:String},boundingBoxClass:{type:String},linesClasses:{type:Object,default:function(){return{}}},linesWrappersClasses:{type:Object,default:function(){return{}}},handlersClasses:{type:Object,default:function(){return{}}},handlersWrappersClasses:{type:Object,default:function(){return{}}}},data:function(){return{moving:!1,resizing:!1}},computed:{classes:function(){return{stencil:lf(Uz({movable:this.movable,moving:this.moving,resizing:this.resizing}),this.moving&&this.movingClass,this.resizing&&this.resizingClass),preview:lf(Uz("preview"),this.previewClass),boundingBox:lf(Uz("bounding-box"),this.boundingBoxClass)}},style:function(){var e=this.stencilCoordinates,t=e.height,i=e.width,o=e.left,r=e.top,n={width:"".concat(i,"px"),height:"".concat(t,"px"),transform:"translate(".concat(o,"px, ").concat(r,"px)")};return this.transitions&&this.transitions.enabled&&(n.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),n}},methods:{onMove:function(e){this.$emit("move",e),this.moving=!0},onMoveEnd:function(){this.$emit("move-end"),this.moving=!1},onResize:function(e){this.$emit("resize",e),this.resizing=!0},onResizeEnd:function(){this.$emit("resize-end"),this.resizing=!1},aspectRatios:function(){return{minimum:this.aspectRatio||this.minAspectRatio,maximum:this.aspectRatio||this.maxAspectRatio}}},emits:["resize","resize-end","move","move-end"],render:function(e,i,o,r,n,a){var l=t.resolveComponent("stencil-preview"),s=t.resolveComponent("draggable-area"),c=t.resolveComponent("bounding-box");return t.openBlock(),t.createBlock("div",{class:a.classes.stencil,style:a.style},[t.createVNode(c,{width:o.stencilCoordinates.width,height:o.stencilCoordinates.height,transitions:o.transitions,class:a.classes.boundingBox,handlers:o.handlers,"handlers-component":o.handlersComponent,"handlers-classes":o.handlersClasses,"handlers-wrappers-classes":o.handlersWrappersClasses,lines:o.lines,"lines-component":o.linesComponent,"lines-classes":o.linesClasses,"lines-wrappers-classes":o.linesWrappersClasses,resizable:o.resizable,onResize:a.onResize,onResizeEnd:a.onResizeEnd},{default:t.withCtx((function(){return[t.createVNode(s,{movable:o.movable,onMove:a.onMove,onMoveEnd:a.onMoveEnd},{default:t.withCtx((function(){return[t.createVNode(l,{image:o.image,coordinates:o.coordinates,width:o.stencilCoordinates.width,height:o.stencilCoordinates.height,class:a.classes.preview,transitions:o.transitions},null,8,["image","coordinates","width","height","class","transitions"])]})),_:1},8,["movable","onMove","onMoveEnd"])]})),_:1},8,["width","height","transitions","class","handlers","handlers-component","handlers-classes","handlers-wrappers-classes","lines","lines-component","lines-classes","lines-wrappers-classes","resizable","onResize","onResizeEnd"])],6)}},Rz=["transitions"],Gz=sf("vue-advanced-cropper"),Hz={name:"Cropper",components:{BackgroundWrapper:vz},props:{src:{type:String,default:null},stencilComponent:{type:[Object,String],default:function(){return Fz}},backgroundWrapperComponent:{type:[Object,String],default:function(){return vz}},stencilProps:{type:Object,default:function(){return{}}},autoZoom:{type:Boolean,default:!1},imageClass:{type:String},boundariesClass:{type:String},backgroundClass:{type:String},foregroundClass:{type:String},minWidth:{type:[Number,String]},minHeight:{type:[Number,String]},maxWidth:{type:[Number,String]},maxHeight:{type:[Number,String]},debounce:{type:[Boolean,Number],default:500},transitions:{type:Boolean,default:!0},checkOrientation:{type:Boolean,default:!0},canvas:{type:[Object,Boolean],default:!0},crossOrigin:{type:[Boolean,String],default:void 0},transitionTime:{type:Number,default:300},imageRestriction:{type:String,default:"fit-area",validator:function(e){return-1!==Sf.indexOf(e)}},roundResult:{type:Boolean,default:!0},defaultSize:{type:[Function,Object]},defaultPosition:{type:[Function,Object]},defaultVisibleArea:{type:[Function,Object]},defaultTransforms:{type:[Function,Object]},defaultBoundaries:{type:[Function,String],validator:function(e){return!("string"==typeof e&&"fill"!==e&&"fit"!==e)}},priority:{type:String,default:"coordinates"},stencilSize:{type:[Object,Function]},resizeImage:{type:[Boolean,Object],default:!0},moveImage:{type:[Boolean,Object],default:!0},autoZoomAlgorithm:{type:Function},resizeAlgorithm:{type:Function,default:function(e){var t=e.event,i=e.coordinates,o=e.aspectRatio,r=e.positionRestrictions,n=e.sizeRestrictions,a=Mf(Mf({},i),{right:i.left+i.width,bottom:i.top+i.height}),l=t.params||{},s=Mf({},t.directions),c=l.allowedDirections||{left:!0,right:!0,bottom:!0,top:!0};n.widthFrozen&&(s.left=0,s.right=0),n.heightFrozen&&(s.top=0,s.bottom=0),Qf.forEach((function(e){c[e]||(s[e]=0)}));var A=Hf(a,s=yz({coordinates:a,directions:s,sizeRestrictions:n,positionRestrictions:r})).width,M=Hf(a,s).height,u=l.preserveRatio?Wf(a):Zf(A/M,o);if(u){var g=l.respectDirection;if(g||(g=a.width>=a.height||1===u?"width":"height"),"width"===g){var d=A/u-a.height;if(c.top&&c.bottom){var N=s.top,E=s.bottom;s.bottom=Iz(d,E,N),s.top=Iz(d,N,E)}else c.bottom?s.bottom=d:c.top?s.top=d:c.right?s.right=0:c.left&&(s.left=0)}else if("height"===g){var y=a.width-M*u;if(c.left&&c.right){var I=s.left,p=s.right;s.left=-Iz(y,I,p),s.right=-Iz(y,p,I)}else c.left?s.left=-y:c.right?s.right=-y:c.top?s.top=0:c.bottom&&(s.bottom=0)}s=yz({directions:s,coordinates:a,sizeRestrictions:n,positionRestrictions:r,preserveRatio:!0,compensate:l.compensate})}return A=Hf(a,s).width,M=Hf(a,s).height,(u=l.preserveRatio?Wf(a):Zf(A/M,o))&&Math.abs(u-A/M)>.001&&Qf.forEach((function(e){c[e]||(s[e]=0)})),sz({event:new mf({left:-s.left,top:-s.top}),coordinates:{width:i.width+s.right+s.left,height:i.height+s.top+s.bottom,left:i.left,top:i.top},positionRestrictions:r})}},moveAlgorithm:{type:Function,default:sz},initStretcher:{type:Function,default:function(e){var t=e.stretcher,i=e.imageSize,o=Wf(i);t.style.width=i.width+"px",t.style.height=t.clientWidth/o+"px",t.style.width=t.clientWidth+"px"}},fitCoordinates:{type:Function,default:function(e){var t=e.visibleArea,i=e.coordinates,o=e.aspectRatio,r=e.sizeRestrictions,n=e.positionRestrictions,a=Mf(Mf({},i),lz({width:i.width,height:i.height,aspectRatio:o,sizeRestrictions:{maxWidth:t.width,maxHeight:t.height,minHeight:Math.min(t.height,r.minHeight),minWidth:Math.min(t.width,r.minWidth)}}));return tz(a=Vf(a,Ff(Rf(i),Rf(a))),rz(Uf(t),n))}},fitVisibleArea:{type:Function,default:function(e){var t=e.visibleArea,i=e.boundaries,o=e.getAreaRestrictions,r=e.coordinates,n=Mf({},t);n.height=n.width/Wf(i),n.top+=(t.height-n.height)/2,(r.height-n.height>0||r.width-n.width>0)&&(n=Jf(n,Math.max(r.height/n.height,r.width/n.width)));var a=Pf(Xf(r,Uf(n=Jf(n,ez(n,o({visibleArea:n,type:"resize"}))))));return n.width<r.width&&(a.left=0),n.height<r.height&&(a.top=0),tz(n=Vf(n,a),o({visibleArea:n,type:"move"}))}},areaRestrictionsAlgorithm:{type:Function,default:function(e){var t=e.visibleArea,i=e.boundaries,o=e.imageSize,r=e.imageRestriction,n=e.type,a={};return"fill-area"===r?a={left:0,top:0,right:o.width,bottom:o.height}:"fit-area"===r&&(Wf(i)>Wf(o)?(a={top:0,bottom:o.height},t&&"move"===n&&(t.width>o.width?(a.left=-(t.width-o.width)/2,a.right=o.width-a.left):(a.left=0,a.right=o.width))):(a={left:0,right:o.width},t&&"move"===n&&(t.height>o.height?(a.top=-(t.height-o.height)/2,a.bottom=o.height-a.top):(a.top=0,a.bottom=o.height)))),a}},sizeRestrictionsAlgorithm:{type:Function,default:function(e){return{minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight}}},positionRestrictionsAlgorithm:{type:Function,default:function(e){var t=e.imageSize,i={};return"none"!==e.imageRestriction&&(i={left:0,top:0,right:t.width,bottom:t.height}),i}}},data:function(){return{transitionsActive:!1,imageLoaded:!1,imageAttributes:{width:null,height:null,crossOrigin:null,src:null},defaultImageTransforms:{rotate:0,flip:{horizontal:!1,vertical:!1}},appliedImageTransforms:{rotate:0,flip:{horizontal:!1,vertical:!1}},boundaries:{width:0,height:0},visibleArea:null,coordinates:ef({},Of)}},computed:{image:function(){return{src:this.imageAttributes.src,width:this.imageAttributes.width,height:this.imageAttributes.height,transforms:this.imageTransforms}},imageTransforms:function(){return{rotate:this.appliedImageTransforms.rotate,flip:{horizontal:this.appliedImageTransforms.flip.horizontal,vertical:this.appliedImageTransforms.flip.vertical},translateX:this.visibleArea?this.visibleArea.left/this.coefficient:0,translateY:this.visibleArea?this.visibleArea.top/this.coefficient:0,scaleX:1/this.coefficient,scaleY:1/this.coefficient}},imageSize:function(){var e=this.imageTransforms.rotate*Math.PI/180;return{width:Math.abs(this.imageAttributes.width*Math.cos(e))+Math.abs(this.imageAttributes.height*Math.sin(e)),height:Math.abs(this.imageAttributes.width*Math.sin(e))+Math.abs(this.imageAttributes.height*Math.cos(e))}},initialized:function(){return Boolean(this.visibleArea&&this.imageLoaded)},settings:function(){var e=If(this.resizeImage,{touch:!0,wheel:{ratio:.1},adjustStencil:!0},{touch:!1,wheel:!1,adjustStencil:!1});return{moveImage:If(this.moveImage,{touch:!0,mouse:!0},{touch:!1,mouse:!1}),resizeImage:e}},coefficient:function(){return this.visibleArea?this.visibleArea.width/this.boundaries.width:0},areaRestrictions:function(){return this.imageLoaded?this.areaRestrictionsAlgorithm({imageSize:this.imageSize,imageRestriction:this.imageRestriction,boundaries:this.boundaries}):{}},transitionsOptions:function(){return{enabled:this.transitionsActive,timingFunction:"ease-in-out",time:350}},sizeRestrictions:function(){if(this.boundaries.width&&this.boundaries.height&&this.imageSize.width&&this.imageSize.height){var e=this.sizeRestrictionsAlgorithm({imageSize:this.imageSize,minWidth:Ef(this.minWidth)?0:pf(this.minWidth),minHeight:Ef(this.minHeight)?0:pf(this.minHeight),maxWidth:Ef(this.maxWidth)?1/0:pf(this.maxWidth),maxHeight:Ef(this.maxHeight)?1/0:pf(this.maxHeight)});if(e=function(e){var t=e.areaRestrictions,i=e.sizeRestrictions,o=e.boundaries,r=e.positionRestrictions,n=Mf(Mf({},i),{minWidth:void 0!==i.minWidth?i.minWidth:0,minHeight:void 0!==i.minHeight?i.minHeight:0,maxWidth:void 0!==i.maxWidth?i.maxWidth:1/0,maxHeight:void 0!==i.maxHeight?i.maxHeight:1/0});void 0!==r.left&&void 0!==r.right&&(n.maxWidth=Math.min(n.maxWidth,r.right-r.left)),void 0!==r.bottom&&void 0!==r.top&&(n.maxHeight=Math.min(n.maxHeight,r.bottom-r.top));var a=iz(t),l=_f(o,a);return a.width<1/0&&(!n.maxWidth||n.maxWidth>l.width)&&(n.maxWidth=Math.min(n.maxWidth,l.width)),a.height<1/0&&(!n.maxHeight||n.maxHeight>l.height)&&(n.maxHeight=Math.min(n.maxHeight,l.height)),n.minWidth>n.maxWidth&&(n.minWidth=n.maxWidth,n.widthFrozen=!0),n.minHeight>n.maxHeight&&(n.minHeight=n.maxHeight,n.heightFrozen=!0),n}({sizeRestrictions:e,areaRestrictions:this.getAreaRestrictions({visibleArea:this.visibleArea,type:"resize"}),imageSize:this.imageSize,boundaries:this.boundaries,positionRestrictions:this.positionRestrictions,imageRestriction:this.imageRestriction,visibleArea:this.visibleArea,stencilSize:this.getStencilSize()}),this.visibleArea&&this.stencilSize){var t=this.getStencilSize(),i=iz(this.getAreaRestrictions({visibleArea:this.visibleArea,type:"resize"}));e.maxWidth=Math.min(e.maxWidth,i.width*t.width/this.boundaries.width),e.maxHeight=Math.min(e.maxHeight,i.height*t.height/this.boundaries.height),e.maxWidth<e.minWidth&&(e.minWidth=e.maxWidth),e.maxHeight<e.minHeight&&(e.minHeight=e.maxHeight)}return e}return{minWidth:0,minHeight:0,maxWidth:0,maxHeight:0}},positionRestrictions:function(){return this.positionRestrictionsAlgorithm({imageSize:this.imageSize,imageRestriction:this.imageRestriction})},classes:function(){return{cropper:Gz(),image:lf(Gz("image"),this.imageClass),stencil:Gz("stencil"),boundaries:lf(Gz("boundaries"),this.boundariesClass),stretcher:lf(Gz("stretcher")),background:lf(Gz("background"),this.backgroundClass),foreground:lf(Gz("foreground"),this.foregroundClass),imageWrapper:lf(Gz("image-wrapper")),cropperWrapper:lf(Gz("cropper-wrapper"))}},stencilCoordinates:function(){if(this.initialized){var e=this.coordinates,t=e.width,i=e.height,o=e.left,r=e.top;return{width:t/this.coefficient,height:i/this.coefficient,left:(o-this.visibleArea.left)/this.coefficient,top:(r-this.visibleArea.top)/this.coefficient}}return this.defaultCoordinates()},boundariesStyle:function(){var e={width:this.boundaries.width?"".concat(Math.round(this.boundaries.width),"px"):"auto",height:this.boundaries.height?"".concat(Math.round(this.boundaries.height),"px"):"auto",transition:"opacity ".concat(this.transitionTime,"ms"),pointerEvents:this.imageLoaded?"all":"none"};return this.imageLoaded||(e.opacity="0"),e},imageStyle:function(){var e=this.imageAttributes.width>this.imageAttributes.height?{width:Math.min(1024,this.imageAttributes.width),height:Math.min(1024,this.imageAttributes.width)/(this.imageAttributes.width/this.imageAttributes.height)}:{height:Math.min(1024,this.imageAttributes.height),width:Math.min(1024,this.imageAttributes.height)*(this.imageAttributes.width/this.imageAttributes.height)},t=(e.width-this.imageSize.width)/(2*this.coefficient),i=(e.height-this.imageSize.height)/(2*this.coefficient),o=(1-1/this.coefficient)*e.width/2,r=(1-1/this.coefficient)*e.height/2,n=ef(ef({},this.imageTransforms),{},{scaleX:this.imageTransforms.scaleX*(this.imageAttributes.width/e.width),scaleY:this.imageTransforms.scaleY*(this.imageAttributes.height/e.height)}),a={width:"".concat(e.width,"px"),height:"".concat(e.height,"px"),left:"0px",top:"0px",transform:"translate(".concat(-t-o-this.imageTransforms.translateX,"px, ").concat(-i-r-this.imageTransforms.translateY,"px)")+Qz(n)};return this.transitionsOptions.enabled&&(a.transition="".concat(this.transitionsOptions.time,"ms ").concat(this.transitionsOptions.timingFunction)),a}},watch:{src:function(){this.onChangeImage()},stencilComponent:function(){var e=this;this.$nextTick((function(){e.resetCoordinates(),e.runAutoZoom("setCoordinates"),e.onChange()}))},minWidth:function(){this.onPropsChange()},maxWidth:function(){this.onPropsChange()},minHeight:function(){this.onPropsChange()},maxHeight:function(){this.onPropsChange()},imageRestriction:function(){this.reset()},stencilProps:function(e,t){["aspectRatio","minAspectRatio","maxAspectRatio"].find((function(i){return e[i]!==t[i]}))&&this.$nextTick(this.onPropsChange)}},created:function(){this.debouncedUpdate=Af(this.update,this.debounce),this.debouncedDisableTransitions=Af(this.disableTransitions,this.transitionsOptions.time),this.awaiting=!1},mounted:function(){this.$refs.image.addEventListener("load",this.onSuccessLoadImage),this.$refs.image.addEventListener("error",this.onFailLoadImage),this.onChangeImage(),window.addEventListener("resize",this.refresh),window.addEventListener("orientationchange",this.refresh)},unmounted:function(){window.removeEventListener("resize",this.refresh),window.removeEventListener("orientationchange",this.refresh),this.imageAttributes.revoke&&this.imageAttributes.src&&URL.revokeObjectURL(this.imageAttributes.src),this.debouncedUpdate.clear(),this.debouncedDisableTransitions.clear()},methods:{getResult:function(){var e=this.initialized?this.prepareResult(ef({},this.coordinates)):this.defaultCoordinates(),t={rotate:this.imageTransforms.rotate%360,flip:ef({},this.imageTransforms.flip)};if(this.src&&this.imageLoaded){var i=this;return{image:this.image,coordinates:e,visibleArea:this.visibleArea?ef({},this.visibleArea):null,imageTransforms:t,get canvas(){return i.canvas?i.getCanvas():void 0}}}return{image:this.image,coordinates:e,visibleArea:this.visibleArea?ef({},this.visibleArea):null,canvas:void 0,imageTransforms:t}},zoom:function(e,t){var i=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).transitions,o=void 0===i||i;this.onManipulateImage(new wf({},{factor:1/e,center:t}),{normalize:!1,transitions:o})},move:function(e,t){var i=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).transitions,o=void 0===i||i;this.onManipulateImage(new wf({left:e||0,top:t||0}),{normalize:!1,transitions:o})},setCoordinates:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.autoZoom,r=void 0===o||o,n=i.transitions,a=void 0===n||n;this.$nextTick((function(){t.imageLoaded?(t.transitionsActive||(a&&t.enableTransitions(),t.coordinates=t.applyTransform(e),r&&t.runAutoZoom("setCoordinates"),a&&t.debouncedDisableTransitions()),t.onChange()):t.delayedTransforms=e}))},refresh:function(){var e=this,t=this.$refs.image;if(this.src&&t)return this.initialized?this.updateVisibleArea().then((function(){e.onChange()})):this.resetVisibleArea().then((function(){e.onChange()}))},reset:function(){var e=this;return this.resetVisibleArea().then((function(){e.onChange(!1)}))},awaitRender:function(e){var t=this;this.awaiting||(this.awaiting=!0,this.$nextTick((function(){e(),t.awaiting=!1})))},prepareResult:function(e){return this.roundResult?(t=ef(ef({},this.getPublicProperties()),{},{positionRestrictions:Ez(this.positionRestrictions,this.visibleArea),coordinates:e}),i=t.coordinates,o=t.sizeRestrictions,r=t.positionRestrictions,(n={width:Math.round(i.width),height:Math.round(i.height),left:Math.round(i.left),top:Math.round(i.top)}).width>o.maxWidth?n.width=Math.floor(i.width):n.width<o.minWidth&&(n.width=Math.ceil(i.width)),n.height>o.maxHeight?n.height=Math.floor(i.height):n.height<o.minHeight&&(n.height=Math.ceil(i.height)),tz(n,r)):e;var t,i,o,r,n},processAutoZoom:function(e,t,i,o){var r=this.autoZoomAlgorithm;r||(r=this.stencilSize?cz:this.autoZoom?Az:Mz);var n=r({event:{type:e,params:o},visibleArea:t,coordinates:i,boundaries:this.boundaries,aspectRatio:this.getAspectRatio(),positionRestrictions:this.positionRestrictions,getAreaRestrictions:this.getAreaRestrictions,sizeRestrictions:this.sizeRestrictions,stencilSize:this.getStencilSize()});return ef(ef({},n),{},{changed:!Yf(n.visibleArea,t)||!Yf(n.coordinates,i)})},runAutoZoom:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.transitions,o=void 0!==i&&i,r=function(e,t){if(null==e)return{};var i,o,r=function(e,t){if(null==e)return{};var i,o,r={},n=Object.keys(e);for(o=0;o<n.length;o++)i=n[o],t.indexOf(i)>=0||(r[i]=e[i]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(o=0;o<n.length;o++)i=n[o],t.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(r[i]=e[i])}return r}(t,Rz),n=this.processAutoZoom(e,this.visibleArea,this.coordinates,r),a=n.visibleArea,l=n.coordinates,s=n.changed;o&&s&&this.enableTransitions(),this.visibleArea=a,this.coordinates=l,o&&s&&this.debouncedDisableTransitions()},normalizeEvent:function(e){return function(e){var t=e.event,i=e.visibleArea,o=e.coefficient;if("manipulateImage"===t.type)return Mf(Mf({},t),{move:{left:t.move&&t.move.left?o*t.move.left:0,top:t.move&&t.move.top?o*t.move.top:0},scale:{factor:t.scale&&t.scale.factor?t.scale.factor:1,center:t.scale&&t.scale.center?{left:t.scale.center.left*o+i.left,top:t.scale.center.top*o+i.top}:null}});if("resize"===t.type){var r=Mf(Mf({},t),{directions:Mf({},t.directions)});return Qf.forEach((function(e){r.directions[e]*=o})),r}if("move"===t.type){var n=Mf(Mf({},t),{directions:Mf({},t.directions)});return vf.forEach((function(e){n.directions[e]*=o})),n}return t}(ef(ef({},this.getPublicProperties()),{},{event:e}))},getCanvas:function(){if(this.$refs.canvas){var e=this.$refs.canvas,t=this.$refs.image,i=0!==this.imageTransforms.rotate||this.imageTransforms.flip.horizontal||this.imageTransforms.flip.vertical?function(e,t,i){var o=i.rotate,r=i.flip,n={width:t.naturalWidth,height:t.naturalHeight},a=qf(n,o),l=e.getContext("2d");e.height=a.height,e.width=a.width,l.save();var s=$f(Rf(Mf({left:0,top:0},n)),o);return l.translate(-(s.left-a.width/2),-(s.top-a.height/2)),l.rotate(o*Math.PI/180),l.translate(r.horizontal?n.width:0,r.vertical?n.height:0),l.scale(r.horizontal?-1:1,r.vertical?-1:1),l.drawImage(t,0,0,n.width,n.height),l.restore(),e}(this.$refs.sourceCanvas,t,this.imageTransforms):t,o=ef({minWidth:0,minHeight:0,maxWidth:1/0,maxHeight:1/0,maxArea:this.maxCanvasSize,imageSmoothingEnabled:!0,imageSmoothingQuality:"high",fillColor:"transparent"},this.canvas),r=function(e){return e.find((function(e){return t=e,!Number.isNaN(parseFloat(t))&&isFinite(t);var t}))},n=lz({sizeRestrictions:{minWidth:r([o.width,o.minWidth])||0,minHeight:r([o.height,o.minHeight])||0,maxWidth:r([o.width,o.maxWidth])||1/0,maxHeight:r([o.height,o.maxHeight])||1/0},width:this.coordinates.width,height:this.coordinates.height,aspectRatio:{minimum:this.coordinates.width/this.coordinates.height,maximum:this.coordinates.width/this.coordinates.height}});if(o.maxArea&&n.width*n.height>o.maxArea){var a=Math.sqrt(o.maxArea/(n.width*n.height));n={width:Math.round(a*n.width),height:Math.round(a*n.height)}}return function(e,t,i,o,r){e.width=o?o.width:i.width,e.height=o?o.height:i.height;var n=e.getContext("2d");n.clearRect(0,0,e.width,e.height),r&&(r.imageSmoothingEnabled&&(n.imageSmoothingEnabled=r.imageSmoothingEnabled),r.imageSmoothingQuality&&(n.imageSmoothingQuality=r.imageSmoothingQuality),r.fillColor&&(n.fillStyle=r.fillColor,n.fillRect(0,0,e.width,e.height),n.save()));var a=i.left<0?-i.left:0,l=i.top<0?-i.top:0;n.drawImage(t,i.left+a,i.top+l,i.width,i.height,a*(e.width/i.width),l*(e.height/i.height),e.width,e.height)}(e,i,this.coordinates,n,o),e}},update:function(){this.$emit("change",this.getResult())},applyTransform:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.visibleArea&&t?function(e,t){return Mf(Mf({},e),{minWidth:Math.min(t.width,e.minWidth),minHeight:Math.min(t.height,e.minHeight),maxWidth:Math.min(t.width,e.maxWidth),maxHeight:Math.min(t.height,e.maxHeight)})}(this.sizeRestrictions,this.visibleArea):this.sizeRestrictions,o=this.visibleArea&&t?Ez(this.positionRestrictions,this.visibleArea):this.positionRestrictions;return function(e){var t=e.coordinates,i=e.transform,o=e.imageSize,r=e.sizeRestrictions,n=e.positionRestrictions,a=e.aspectRatio,l=e.visibleArea,s=function(e,t){return sz({coordinates:e,positionRestrictions:n,event:new mf({left:t.left-e.left,top:t.top-e.top})})},c=Mf({},t);return(Array.isArray(i)?i:[i]).forEach((function(e){var t,i,n,A;Ef((t="function"==typeof e?e({coordinates:c,imageSize:o,visibleArea:l}):e).width)&&Ef(t.height)||(i=c,n=Mf(Mf({},c),t),A=Mf(Mf(Mf({},i),lz({width:n.width,height:n.height,sizeRestrictions:r,aspectRatio:a})),{left:0,top:0}),c=s(A,{left:i.left,top:i.top})),Ef(t.left)&&Ef(t.top)||(c=s(c,Mf(Mf({},c),t)))})),c}({transform:e,coordinates:this.coordinates,imageSize:this.imageSize,sizeRestrictions:i,positionRestrictions:o,aspectRatio:this.getAspectRatio(),visibleArea:this.visibleArea})},resetCoordinates:function(){var e=this;if(this.$refs.image){this.$refs.cropper,this.$refs.image;var t=this.defaultSize;t||(t=this.stencilSize?dz:gz);var i=this.sizeRestrictions;i.minWidth,i.minHeight,i.maxWidth,i.maxHeight;var o=Nf(t)?t({boundaries:this.boundaries,imageSize:this.imageSize,aspectRatio:this.getAspectRatio(),sizeRestrictions:this.sizeRestrictions,stencilSize:this.getStencilSize(),visibleArea:this.visibleArea}):t,r=this.defaultPosition||uz,n=[o,function(t){var i=t.coordinates;return ef({},Nf(r)?r({coordinates:i,imageSize:e.imageSize,visibleArea:e.visibleArea}):e.defaultPosition)}];this.delayedTransforms&&n.push.apply(n,of(Array.isArray(this.delayedTransforms)?this.delayedTransforms:[this.delayedTransforms])),this.coordinates=this.applyTransform(n,!0),this.delayedTransforms=null}},clearImage:function(){var e=this;this.imageLoaded=!1,setTimeout((function(){var t=e.$refs.stretcher;t&&(t.style.height="auto",t.style.width="auto"),e.coordinates=e.defaultCoordinates(),e.boundaries={width:0,height:0}}),this.transitionTime)},enableTransitions:function(){this.transitions&&(this.transitionsActive=!0)},disableTransitions:function(){this.transitionsActive=!1},updateBoundaries:function(){var e=this,t=this.$refs.stretcher,i=this.$refs.cropper;return this.initStretcher({cropper:i,stretcher:t,imageSize:this.imageSize}),this.$nextTick().then((function(){var t,o,r,n,a,l,s,c={cropper:i,imageSize:e.imageSize};if(Nf(e.defaultBoundaries)?e.boundaries=e.defaultBoundaries(c):"fit"===e.defaultBoundaries?e.boundaries=(r=(t=c).imageSize,n=(o=t.cropper).clientHeight,a=o.clientWidth,l=n,(s=r.width*n/r.height)>a&&(s=a,l=r.height*a/r.width),{width:s,height:l}):e.boundaries=function(e){var t=e.cropper;return{width:t.clientWidth,height:t.clientHeight}}(c),!e.boundaries.width||!e.boundaries.height)throw new Error("It's impossible to fit the cropper in the current container")}))},resetVisibleArea:function(){var e=this;return this.appliedImageTransforms=ef(ef({},this.defaultImageTransforms),{},{flip:ef({},this.defaultImageTransforms.flip)}),this.updateBoundaries().then((function(){"visible-area"!==e.priority&&(e.visibleArea=null,e.resetCoordinates());var t,i,o,r,n,a=e.defaultVisibleArea||Nz;e.visibleArea=Nf(a)?a({imageSize:e.imageSize,boundaries:e.boundaries,coordinates:"visible-area"!==e.priority?e.coordinates:null,getAreaRestrictions:e.getAreaRestrictions,stencilSize:e.getStencilSize()}):e.defaultVisibleArea,e.visibleArea=(i=(t={visibleArea:e.visibleArea,boundaries:e.boundaries,getAreaRestrictions:e.getAreaRestrictions}).boundaries,o=t.getAreaRestrictions,r=Mf({},t.visibleArea),n=Wf(i),r.width/r.height!==n&&(r.height=r.width/n),tz(r,o({visibleArea:r,type:"move"}))),"visible-area"===e.priority?e.resetCoordinates():e.coordinates=e.fitCoordinates({visibleArea:e.visibleArea,coordinates:e.coordinates,aspectRatio:e.getAspectRatio(),positionRestrictions:e.positionRestrictions,sizeRestrictions:e.sizeRestrictions}),e.runAutoZoom("resetVisibleArea")})).catch((function(){e.visibleArea=null}))},updateVisibleArea:function(){var e=this;return this.updateBoundaries().then((function(){e.visibleArea=e.fitVisibleArea({imageSize:e.imageSize,boundaries:e.boundaries,visibleArea:e.visibleArea,coordinates:e.coordinates,getAreaRestrictions:e.getAreaRestrictions}),e.coordinates=e.fitCoordinates({visibleArea:e.visibleArea,coordinates:e.coordinates,aspectRatio:e.getAspectRatio(),positionRestrictions:e.positionRestrictions,sizeRestrictions:e.sizeRestrictions}),e.runAutoZoom("updateVisibleArea")})).catch((function(){e.visibleArea=null}))},onChange:function(){(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&this.debounce?this.debouncedUpdate():this.update()},onChangeImage:function(){var e,t=this;if(this.imageLoaded=!1,this.delayedTransforms=null,this.src){if(function(e){if(df(e))return!1;var t=window.location,i=/(\w+:)?(?:\/\/)([\w.-]+)?(?::(\d+))?\/?/.exec(e)||[],o={protocol:i[1]||"",host:i[2]||"",port:i[3]||""},r=function(e){return e.port||("http"===(e.protocol||t.protocol)?80:433)};return!(!o.protocol&&!o.host&&!o.port||Boolean(o.protocol&&o.protocol==t.protocol&&o.host&&o.host==t.host&&o.host&&r(o)==r(t)))}(this.src)){var i=Ef(this.crossOrigin)?this.canvas:this.crossOrigin;!0===i&&(i="anonymous"),this.imageAttributes.crossOrigin=i||null}if(this.checkOrientation){var o=(e=this.src,new Promise((function(t){(function(e){return new Promise((function(t,i){try{if(e)if(/^data:/i.test(e))t(function(e){e=e.replace(/^data:([^;]+);base64,/gim,"");for(var t=atob(e),i=t.length,o=new ArrayBuffer(i),r=new Uint8Array(o),n=0;n<i;n++)r[n]=t.charCodeAt(n);return o}(e));else if(/^blob:/i.test(e)){var o=new FileReader;o.onload=function(e){t(e.target.result)},n=e,a=function(e){o.readAsArrayBuffer(e)},(l=new XMLHttpRequest).open("GET",n,!0),l.responseType="blob",l.onload=function(){200!=this.status&&0!==this.status||a(this.response)},l.send()}else{var r=new XMLHttpRequest;r.onreadystatechange=function(){4===r.readyState&&(200===r.status||0===r.status?t(r.response):i("Warning: could not load an image to parse its orientation"),r=null)},r.onprogress=function(){"image/jpeg"!==r.getResponseHeader("content-type")&&r.abort()},r.withCredentials=!1,r.open("GET",e,!0),r.responseType="arraybuffer",r.send(null)}else i("Error: the image is empty")}catch(s){i(s)}var n,a,l}))})(e).then((function(i){var o=function(e){try{var t,i=new DataView(e),o=void 0,r=void 0,n=void 0,a=void 0;if(255===i.getUint8(0)&&216===i.getUint8(1))for(var l=i.byteLength,s=2;s+1<l;){if(255===i.getUint8(s)&&225===i.getUint8(s+1)){n=s;break}s++}if(n&&(o=n+10,"Exif"===function(e,t,i){var o,r="";for(o=t,i+=t;o<i;o++)r+=String.fromCharCode(e.getUint8(o));return r}(i,n+4,4))){var c=i.getUint16(o);if(((r=18761===c)||19789===c)&&42===i.getUint16(o+2,r)){var A=i.getUint32(o+4,r);A>=8&&(a=o+A)}}if(a)for(var M=i.getUint16(a,r),u=0;u<M;u++)if(s=a+12*u+2,274===i.getUint16(s,r)){s+=8,t=i.getUint16(s,r),i.setUint16(s,1,r);break}return t}catch(g){return null}}(i);t(i?{source:e,arrayBuffer:i,orientation:o}:{source:e,arrayBuffer:null,orientation:null})})).catch((function(i){console.warn(i),t({source:e,arrayBuffer:null,orientation:null})}))})));setTimeout((function(){o.then(t.onParseImage)}),this.transitionTime)}else setTimeout((function(){t.onParseImage({source:t.src})}),this.transitionTime)}else this.clearImage()},onFailLoadImage:function(){this.imageAttributes.src&&(this.clearImage(),this.$emit("error"))},onSuccessLoadImage:function(){var e=this,t=this.$refs.image;t&&!this.imageLoaded&&(this.imageAttributes.height=t.naturalHeight,this.imageAttributes.width=t.naturalWidth,this.imageLoaded=!0,this.resetVisibleArea().then((function(){e.$emit("ready"),e.onChange(!1)})))},onParseImage:function(e){var t=this,i=e.source,o=e.arrayBuffer,r=e.orientation;this.imageAttributes.revoke&&this.imageAttributes.src&&URL.revokeObjectURL(this.imageAttributes.src),this.imageAttributes.revoke=!1,o&&r&&r>1?gf(i)||!df(i)?(this.imageAttributes.src=URL.createObjectURL(new Blob([o])),this.imageAttributes.revoke=!0):this.imageAttributes.src=function(e){for(var t=[],i=new Uint8Array(e);i.length>0;){var o=i.subarray(0,8192);t.push(String.fromCharCode.apply(null,Array.from?Array.from(o):o.slice())),i=i.subarray(8192)}return"data:image/jpeg;base64,"+btoa(t.join(""))}(o):this.imageAttributes.src=i,Nf(this.defaultTransforms)?this.appliedImageTransforms=Cz(this.defaultTransforms()):yf(this.defaultTransforms)?this.appliedImageTransforms=Cz(this.defaultTransforms):this.appliedImageTransforms=function(e){var t=Cz({});if(e)switch(e){case 2:t.flip.horizontal=!0;break;case 3:t.rotate=-180;break;case 4:t.flip.vertical=!0;break;case 5:t.rotate=90,t.flip.vertical=!0;break;case 6:t.rotate=90;break;case 7:t.rotate=90,t.flip.horizontal=!0;break;case 8:t.rotate=-90}return t}(r),this.defaultImageTransforms=ef(ef({},this.appliedImageTransforms),{},{flip:ef({},this.appliedImageTransforms.flip)}),this.$nextTick((function(){var e=t.$refs.image;e&&e.complete&&(Boolean(e.naturalWidth)?t.onSuccessLoadImage():t.onFailLoadImage())}))},onResizeEnd:function(){this.runAutoZoom("resize",{transitions:!0})},onMoveEnd:function(){this.runAutoZoom("move",{transitions:!0})},onMove:function(e){var t=this;this.transitionsOptions.enabled||this.awaitRender((function(){t.coordinates=t.moveAlgorithm(ef(ef({},t.getPublicProperties()),{},{positionRestrictions:Ez(t.positionRestrictions,t.visibleArea),coordinates:t.coordinates,event:t.normalizeEvent(e)})),t.onChange()}))},onResize:function(e){var t=this;this.transitionsOptions.enabled||this.stencilSize&&!this.autoZoom||this.awaitRender((function(){var i=t.sizeRestrictions,o=Math.min(t.coordinates.width,t.coordinates.height,20*t.coefficient);t.coordinates=t.resizeAlgorithm(ef(ef({},t.getPublicProperties()),{},{positionRestrictions:Ez(t.positionRestrictions,t.visibleArea),sizeRestrictions:{maxWidth:Math.min(i.maxWidth,t.visibleArea.width),maxHeight:Math.min(i.maxHeight,t.visibleArea.height),minWidth:Math.max(i.minWidth,o),minHeight:Math.max(i.minHeight,o)},event:t.normalizeEvent(e)})),t.onChange(),t.ticking=!1}))},onManipulateImage:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.transitionsOptions.enabled){var i=t.transitions,o=void 0!==i&&i,r=t.normalize,n=void 0===r||r;o&&this.enableTransitions();var a=function(e){var t=e.event,i=e.coordinates,o=e.visibleArea,r=e.sizeRestrictions,n=e.getAreaRestrictions,a=e.positionRestrictions,l=e.adjustStencil,s=t.scale,c=t.move,A=Mf({},o),M=Mf({},i),u=1,g=1,d=s.factor&&Math.abs(s.factor-1)>.001;A=Vf(A,{left:c.left||0,top:c.top||0});var N={stencil:{minimum:Math.max(r.minWidth?r.minWidth/M.width:0,r.minHeight?r.minHeight/M.height:0),maximum:Math.min(r.maxWidth?r.maxWidth/M.width:1/0,r.maxHeight?r.maxHeight/M.height:1/0,Kf(M,a))},area:{maximum:Kf(A,n({visibleArea:A,type:"resize"}))}};s.factor&&d&&(s.factor<1?(g=Math.max(s.factor,N.stencil.minimum))>1&&(g=1):s.factor>1&&(g=Math.min(s.factor,Math.min(N.area.maximum,N.stencil.maximum)))<1&&(g=1)),g&&(A=Jf(A,g,s.center));var E=i.left-o.left,y=o.width+o.left-(i.width+i.left),I=i.top-o.top,p=o.height+o.top-(i.height+i.top);return A=tz(A=Vf(A,Xf(A,{left:void 0!==a.left?a.left-E*g:void 0,top:void 0!==a.top?a.top-I*g:void 0,bottom:void 0!==a.bottom?a.bottom+p*g:void 0,right:void 0!==a.right?a.right+y*g:void 0})),n({visibleArea:A,type:"move"})),M.width=M.width*g,M.height=M.height*g,M.left=A.left+E*g,M.top=A.top+I*g,M=tz(M,rz(Uf(A),a)),s.factor&&d&&l&&(s.factor>1?u=Math.min(N.area.maximum,s.factor)/g:s.factor<1&&(u=Math.max(M.height/A.height,M.width/A.width,s.factor/g)),1!==u&&(A=Vf(A=tz(A=Jf(A,u,s.factor>1?s.center:Rf(M)),n({visibleArea:A,type:"move"})),Pf(Xf(M,Uf(A)))))),{coordinates:M,visibleArea:A}}(ef(ef({},this.getPublicProperties()),{},{event:n?this.normalizeEvent(e):e,getAreaRestrictions:this.getAreaRestrictions,imageRestriction:this.imageRestriction,adjustStencil:!this.stencilSize&&this.settings.resizeImage.adjustStencil})),l=a.visibleArea,s=a.coordinates;this.visibleArea=l,this.coordinates=s,this.runAutoZoom("manipulateImage"),this.onChange(),o&&this.debouncedDisableTransitions()}},onPropsChange:function(){this.coordinates=this.applyTransform(this.coordinates,!0),this.onChange(!1)},getAreaRestrictions:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.visibleArea,i=e.type,o=void 0===i?"move":i;return this.areaRestrictionsAlgorithm({boundaries:this.boundaries,imageSize:this.imageSize,imageRestriction:this.imageRestriction,visibleArea:t,type:o})},getAspectRatio:function(e){var t,i,o=this.stencilProps,r=o.aspectRatio,n=o.minAspectRatio,a=o.maxAspectRatio;if(this.$refs.stencil&&this.$refs.stencil.aspectRatios){var l=this.$refs.stencil.aspectRatios();t=l.minimum,i=l.maximum}if(Ef(t)&&(t=Ef(r)?n:r),Ef(i)&&(i=Ef(r)?a:r),!e&&(Ef(t)||Ef(i))){var s=this.getStencilSize(),c=s?Wf(s):null;Ef(t)&&(t=hf(c)?c:void 0),Ef(i)&&(i=hf(c)?c:void 0)}return{minimum:t,maximum:i}},getStencilSize:function(){if(this.stencilSize)return t=(e={currentStencilSize:{width:this.stencilCoordinates.width,height:this.stencilCoordinates.height},stencilSize:this.stencilSize,boundaries:this.boundaries,coefficient:this.coefficient,coordinates:this.coordinates,aspectRatio:this.getAspectRatio(!0)}).boundaries,o=e.aspectRatio,Zf(Wf(r=Nf(i=e.stencilSize)?i({boundaries:t,aspectRatio:o}):i),o)&&(r=lz({sizeRestrictions:{maxWidth:t.width,maxHeight:t.height,minWidth:0,minHeight:0},width:r.width,height:r.height,aspectRatio:{minimum:o.minimum,maximum:o.maximum}})),(r.width>t.width||r.height>t.height)&&(r=lz({sizeRestrictions:{maxWidth:t.width,maxHeight:t.height,minWidth:0,minHeight:0},width:r.width,height:r.height,aspectRatio:{minimum:Wf(r),maximum:Wf(r)}})),r;var e,t,i,o,r},getPublicProperties:function(){return{coefficient:this.coefficient,visibleArea:this.visibleArea,coordinates:this.coordinates,boundaries:this.boundaries,sizeRestrictions:this.sizeRestrictions,positionRestrictions:this.positionRestrictions,aspectRatio:this.getAspectRatio(),imageRestriction:this.imageRestriction}},defaultCoordinates:function(){return ef({},Of)},flip:function(e,t){var i=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).transitions,o=void 0===i||i;if(!this.transitionsActive){o&&this.enableTransitions();var r=ef({},this.imageTransforms.flip),n=function(e){var t=e.flip,i=e.previousFlip,o=e.rotate;e.aspectRatio;var r=e.getAreaRestrictions,n=e.coordinates,a=e.visibleArea,l=e.imageSize,s=Mf({},n),c=Mf({},a),A=i.horizontal!==t.horizontal,M=i.vertical!==t.vertical;if(A||M){var u=$f({left:l.width/2,top:l.height/2},-o),g=$f(Rf(s),-o),d=$f({left:A?u.left-(g.left-u.left):g.left,top:M?u.top-(g.top-u.top):g.top},o);s=Vf(s,Ff(d,Rf(s))),g=$f(Rf(c),-o),c=tz(c=Vf(c,Ff(d=$f({left:A?u.left-(g.left-u.left):g.left,top:M?u.top-(g.top-u.top):g.top},o),Rf(c))),r({visibleArea:c,type:"move"}))}return{coordinates:s,visibleArea:c}}({flip:{horizontal:e?!r.horizontal:r.horizontal,vertical:t?!r.vertical:r.vertical},previousFlip:r,rotate:this.imageTransforms.rotate,visibleArea:this.visibleArea,coordinates:this.coordinates,imageSize:this.imageSize,positionRestrictions:this.positionRestrictions,sizeRestrictions:this.sizeRestrictions,getAreaRestrictions:this.getAreaRestrictions,aspectRatio:this.getAspectRatio()}),a=n.visibleArea,l=n.coordinates;e&&(this.appliedImageTransforms.flip.horizontal=!this.appliedImageTransforms.flip.horizontal),t&&(this.appliedImageTransforms.flip.vertical=!this.appliedImageTransforms.flip.vertical),this.visibleArea=a,this.coordinates=l,this.onChange(),o&&this.debouncedDisableTransitions()}},rotate:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).transitions,i=void 0===t||t;if(!this.transitionsActive){i&&this.enableTransitions();var o=ef({},this.imageSize);this.appliedImageTransforms.rotate+=e;var r=function(e){var t=e.aspectRatio,i=e.getAreaRestrictions,o=e.coordinates,r=e.visibleArea,n=e.sizeRestrictions,a=e.positionRestrictions,l=e.imageSize,s=e.previousImageSize,c=e.angle,A=Mf({},o),M=Mf({},r),u=$f(Rf(Mf({left:0,top:0},s)),c);return(A=Mf(Mf({},lz({sizeRestrictions:n,aspectRatio:t,width:A.width,height:A.height})),$f(Rf(A),c))).left-=u.left-l.width/2+A.width/2,A.top-=u.top-l.height/2+A.height/2,M=Jf(M,ez(M,i({visibleArea:M,type:"resize"}))),{coordinates:A=tz(A,a),visibleArea:M=tz(M=Vf(M,Ff(Rf(A),Rf(o))),i({visibleArea:M,type:"move"}))}}({visibleArea:this.visibleArea,coordinates:this.coordinates,previousImageSize:o,imageSize:this.imageSize,angle:e,positionRestrictions:this.positionRestrictions,sizeRestrictions:this.sizeRestrictions,getAreaRestrictions:this.getAreaRestrictions,aspectRatio:this.getAspectRatio()}),n=r.visibleArea,a=r.coordinates,l=this.processAutoZoom("rotateImage",n,a);n=l.visibleArea,a=l.coordinates,this.visibleArea=n,this.coordinates=a,this.onChange(),i&&this.debouncedDisableTransitions()}}},emits:["change","error","ready"]},Pz={key:0,ref:"canvas",style:{display:"none"}},Vz={key:1,ref:"sourceCanvas",style:{display:"none"}};Hz.render=function(e,i,o,r,n,a){return t.openBlock(),t.createBlock("div",{ref:"cropper",class:a.classes.cropper},[t.createVNode("div",{ref:"stretcher",class:a.classes.stretcher},null,2),t.createVNode("div",{class:a.classes.boundaries,style:a.boundariesStyle},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.backgroundWrapperComponent),{class:a.classes.cropperWrapper,"wheel-resize":a.settings.resizeImage.wheel,"touch-resize":a.settings.resizeImage.touch,"touch-move":a.settings.moveImage.touch,"mouse-move":a.settings.moveImage.mouse,onMove:a.onManipulateImage,onResize:a.onManipulateImage},{default:t.withCtx((function(){return[t.createVNode("div",{class:a.classes.background,style:a.boundariesStyle},null,6),t.createVNode("div",{class:a.classes.imageWrapper},[t.createVNode("img",{ref:"image",crossorigin:n.imageAttributes.crossOrigin,src:n.imageAttributes.src,class:a.classes.image,style:a.imageStyle,onMousedown:i[1]||(i[1]=t.withModifiers((function(){}),["prevent"]))},null,46,["crossorigin","src"])],2),t.createVNode("div",{class:a.classes.foreground,style:a.boundariesStyle},null,6),t.withDirectives((t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.stencilComponent),t.mergeProps({ref:"stencil",image:a.image,coordinates:n.coordinates,"stencil-coordinates":a.stencilCoordinates,transitions:a.transitionsOptions},o.stencilProps,{onResize:a.onResize,onResizeEnd:a.onResizeEnd,onMove:a.onMove,onMoveEnd:a.onMoveEnd}),null,16,["image","coordinates","stencil-coordinates","transitions","onResize","onResizeEnd","onMove","onMoveEnd"])),[[t.vShow,n.imageLoaded]]),o.canvas?(t.openBlock(),t.createBlock("canvas",Pz,null,512)):t.createCommentVNode("",!0),o.canvas?(t.openBlock(),t.createBlock("canvas",Vz,null,512)):t.createCommentVNode("",!0)]})),_:1},8,["class","wheel-resize","touch-resize","touch-move","mouse-move","onMove","onResize"]))],6)],2)};const Jz=rw(t.defineComponent({__name:"BackgroundImageCropper",props:{touchMove:{},mouseMove:{},touchResize:{},wheelResize:{}},emits:["move","resize"],setup(e){const i=e,o=t.ref(!1),r=t.ref(),n=(e,t)=>{if("touchstart"===e.type||"touchmove"===e.type){if(1===e.touches.length&&!t)return o.value=!0,r.value="touch",a(),!1;o.value=!1}else if("wheel"===e.type){if(!t&&!e.ctrlKey)return o.value=!0,r.value="wheel",a(),!1;o.value=!1}e.preventDefault(),e.stopPropagation()},a=()=>{setTimeout((()=>{o.value=!1}),1e3)};return(e,a)=>(t.openBlock(),t.createBlock(t.unref(bz),{"events-filter":n,"mouse-move":i.mouseMove,"touch-move":i.touchMove,"touch-resize":i.touchResize,"wheel-resize":i.wheelResize,onMove:a[0]||(a[0]=t=>e.$emit("move",t)),onResize:a[1]||(a[1]=t=>e.$emit("resize",t))},{default:t.withCtx((()=>[t.renderSlot(e.$slots,"default",{},void 0,!0),t.createElementVNode("div",{class:t.normalizeClass([{"cropper-event-notification--visible":o.value},"cropper-event-notification"])},t.toDisplayString("wheel"===r.value?"Use ctrl + scroll to zoom the cropper":"Use two fingers to move the cropper"),3)])),_:3},8,["mouse-move","touch-move","touch-resize","wheel-resize"]))}}),[["__scopeId","data-v-3c428f57"]]);var Wz={exports:{}};!function(e,t){(function(){function i(e,t){t=t||"";for(var i=window.atob(e),o=[],r=0,n=i.length;r<n;r+=1024){for(var a=i.slice(r,r+1024),l=new Array(a.length),s=0;s<a.length;s++)l[s]=a.charCodeAt(s);var c=new Uint8Array(l);o.push(c)}return new Blob(o,{type:t})}e.exports&&(t=e.exports=i),t.base64ToBlob=i}).call(le)}(Wz,Wz.exports);const Kz=se(Wz.exports),Xz={class:"flex flex-col gap-y-4"},Zz={key:0,class:t.normalizeClass(["[&_li]:before:content-['•']","[&_li]:before:inline-block [&_li]:before:w-[12px] [&_li]:before:ml-[-12px] pl-3","max-w-[121px] text-body-medium text-general-800 dark:text-general-100 [&_li]:pl-0.5"]),"data-ts-section":"image-requirements-info"},_z=[t.createElementVNode("li",null,"Max. 1 MB",-1),t.createElementVNode("li",null,"Must be image format",-1)],qz=t.defineComponent({__name:"ImageInputInfo",props:{showInfo:{type:Boolean},showAddButton:{type:Boolean}},emits:["addPhoto"],setup:e=>(e,i)=>(t.openBlock(),t.createElementBlock("div",Xz,[e.showInfo?(t.openBlock(),t.createElementBlock("ul",Zz,_z)):t.createCommentVNode("",!0),e.showAddButton?(t.openBlock(),t.createBlock(Jc,{key:1,onClick:i[0]||(i[0]=t=>e.$emit("addPhoto")),icon:"add-line",label:"Add Photo",text:""})):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"default")]))}),$z=["draggable"],eC={key:0,class:"flex gap-0.5 justify-center","data-ts-section":"preview-buttons"},tC={key:1,class:"flex gap-1 items-start"},iC=["id","multiple"],oC=["for"],rC=[t.createElementVNode("span",{class:"inline-flex items-center text-body-medium rounded-bl rounded-tl bg-general-50 px-3 h-[26px] border-[0.5px] border-general-200"}," Browse ",-1),t.createElementVNode("span",{class:"inline-flex items-center text-body-medium !text-general-200 !font-light rounded-br rounded-tr px-3 h-[26px] leading-4 border-[0.5px] border-l-0 border-general-200"}," Select File ",-1)],nC=t.defineComponent({__name:"ImageCompressor",props:t.mergeModels({type:{default:"normal"},multiple:{type:Boolean},defaultImage:{},disabled:{type:Boolean,default:!1},compressedBlob:{default:void 0},imagePreviewUrl:{default:void 0},imagePreviewSize:{default:"big"},rounded:{type:Boolean,default:!1},useValidator:{type:Boolean,default:!1},mandatory:{type:Boolean,default:!1},invalid:{type:Boolean},validatorMessage:{default:"Photo must be uploaded"},label:{default:void 0},fieldName:{default:"imageInput"},fieldInfo:{default:void 0},showInfo:{type:Boolean,default:!0},confirmOnDelete:{type:Boolean},showValidatorMessage:{type:Boolean,default:!0},fileType:{default:"webp"}},{defaultImage:{default:0},defaultImageModifiers:{}}),emits:t.mergeModels(["apply","update:defaultImage","update:fieldValue","delete"],["update:defaultImage"]),setup(e,{emit:i}){const o=e,r=i;t.onMounted((async()=>{j(),m(),o.imagePreviewUrl&&(d.value=o.imagePreviewUrl)})),t.onUnmounted((()=>{b(0),b(1)}));const n=t.ref([{src:null,type:null},{src:null,type:null}]),a=t.ref(),l=t.ref([]),s=t.ref(),c=t.shallowRef(0),A=t.ref(),M=t.ref(),u=t.shallowRef(),g=t.useModel(e,"defaultImage"),d=t.reactive({value:o.multiple?[]:void 0}),N=t.shallowRef(!1),E=t.shallowRef(),y=t.shallowRef(0),I=t.shallowRef(!1),p=t.ref([!1,!1]),h=t.computed((()=>`image/${o.fileType}`)),j=()=>{var e,t;(null==(e=o.imagePreviewUrl)?void 0:e.length)?l.value=Array.isArray(o.imagePreviewUrl)?o.imagePreviewUrl:[o.imagePreviewUrl]:(null==(t=o.compressedBlob)?void 0:t.length)&&(l.value=Array.isArray(o.compressedBlob)?o.compressedBlob:[o.compressedBlob])},T=(e=!1)=>{var t;o.disabled||(e&&(u.value=1),null==(t=s.value)||t.click())},w=async e=>{const{files:t}=e.target,i=Array.from(t??[]).slice(0,l.value.length?1:2);for(const[r,n]of i.entries())try{const e=u.value??r;await D(n,e)}catch(o){console.error("Error loading image:",o)}finally{u.value=void 0}},D=async(e,t)=>new Promise(((i,o)=>{if(e)if(B(t),e.type.includes("image"))if(e.size>1e6)S(t,!0),N.value=!0,E.value="File size is too big! Max. 1 MB",I.value=!1,b(t),o("File size is too big! Max. 1 MB");else{b(t);const i=URL.createObjectURL(e),o=new FileReader;o.onload=o=>{var r;n.value[t].src=i,n.value[t].type=x(null==(r=null==o?void 0:o.target)?void 0:r.result,e.type)},o.onerror=e=>{console.error("🚀 ~ returnnewPromise ~ e:",e)},o.readAsArrayBuffer(e),null==u.value&&(u.value=t),I.value||(I.value=!0),N.value=!1,E.value=void 0}else N.value=!0,E.value="File type is not image!",l.value[t]=void 0,I.value=!1,b(t),o("File type is not image!");y.value+=1,M.value=i})),m=()=>{o.useValidator&&Object.assign(d,Na(o.fieldName,(e=>!e&&o.mandatory?(o.label??"Photo")+" must be uploaded":o.invalid&&o.validatorMessage?o.validatorMessage:!E.value||E.value)))},B=e=>{n.value[e]={src:null,type:null}},x=(e,t=null)=>{if(e){const i=new Uint8Array(e).subarray(0,4);let o="";for(const e of i)o+=e.toString(16);switch(o){case"89504e47":return"image/png";case"47494638":return"image/gif";case"ffd8ffe0":case"ffd8ffe1":case"ffd8ffe2":case"ffd8ffe3":case"ffd8ffe8":return h.value;default:return t}}return null},L=e=>{const t=Kz(e.split(",")[1],h.value);return window.URL.createObjectURL(t)},f=async(e,t)=>{const i=await fetch(e).then((e=>e.blob()));return new File([i],t,{type:h.value})},z=async()=>{const e=u.value??0;try{await Q(e)}catch(t){console.error(t)}C()},C=()=>{var e;I.value=!1,null==(e=M.value)||e.call(M),M.value=void 0},Q=async e=>{if(A.value){const t=A.value.getResult();if(t.canvas){const i=t.canvas.toDataURL(h.value);await k(i,e)}}},k=async(e,t)=>{try{a.value=document.createElement("canvas");const i=a.value.getContext("2d"),n=new Image;n.src=e,await n.decode();const s=.8,c=n.width*s,A=n.height*s;a.value.setAttribute("width",c.toString()),a.value.setAttribute("height",A.toString()),i&&i.drawImage(n,0,0,c,A);const M=a.value.toDataURL(h.value,.95),u=Date.now()+`.${o.fileType}`,g={canvas:a.value,compressed:{blob:L(M),base64:M,fileName:u,file:await f(L(M),u),size:"",type:h.value},message:"File has been compressed."};g.compressed.size=Math.round(g.compressed.file.size/1e3)+"KB",l.value[t]=g.compressed.blob,o.multiple?d.value&&Array.isArray(d.value)?d.value[t]=g.compressed.file:d.value=[g.compressed.file]:d.value=g.compressed.file,r("apply",g)}catch(i){console.error(i)}},b=e=>{n.value[e].src&&URL.revokeObjectURL(n.value[e].src)},v=e=>{o.confirmOnDelete?p.value[e]=!0:S(e)},S=(e=0,t=!1)=>{N.value=!1,E.value=void 0,l.value=l.value.toSpliced(e,1),b(e),n.value[e]={src:null,type:null},n.value=[n.value[+!e],n.value[e]],u.value=0,g.value=0,o.confirmOnDelete&&!t||r("delete",S,e),o.multiple&&Array.isArray(d.value)?d.value=d.value.toSpliced(e,1):d.handleReset&&d.handleReset()},O=e=>{var t;const i=null==(t=l.value[e])?void 0:t.toString();u.value=e,(null==i?void 0:i.includes("blob"))?(u.value=e,I.value=!0):(B(e),T())},Y=()=>{T()},U=()=>{l.value=l.value.reverse(),d.value=d.value.reverse()},F=t.computed((()=>navigator.userAgent.includes("Firefox")));return t.watch(E,(e=>{e&&d.setErrors&&d.setErrors(e)})),t.watch(I,(e=>{e||c.value++})),t.watch((()=>d.value),(e=>{r("update:fieldValue",e)})),(e,i)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(du,{class:t.normalizeClass([{"!w-max":!o.multiple,"!w-full":o.multiple}]),info:o.fieldInfo,label:o.label,mandatory:o.mandatory,"data-ts-name":"image-compressor","data-ts-section":"root"},{default:t.withCtx((()=>[t.createElementVNode("div",{class:t.normalizeClass(["w-full",{"grid gap-6 items-start grid-cols-2":e.multiple&&"normal"===e.type},{"grid gap-3 items-start grid-cols-[max-content,max-content]":e.multiple&&"inline-table"===e.type}]),"data-ts-section":"wrapper"},[l.value.length?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.value,((n,a)=>(t.openBlock(),t.createElementBlock("div",{key:a,draggable:2==l.value.length,onDragend:U,class:"flex gap-1 items-start","data-ts-section":"preview"},[t.createElementVNode("div",{class:t.normalizeClass(["flex gap-1",{"flex-col":"normal"===e.type,"items-center":"inline-table"===e.type}]),"data-ts-section":"preview-image-wrapper"},[t.createVNode(Ow,{class:t.normalizeClass({"w-[26px] h-[26px]":"inline-table"===e.type}),rounded:e.rounded,thumbnail:n,"data-ts-section":"preview-image"},null,8,["class","rounded","thumbnail"]),o.disabled?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",eC,["normal"===e.type?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createVNode(Jc,{label:"normal"===e.type?"Edit":"",onClick:e=>O(a),class:"!py-0.5 !px-1 !h-max text-[11px]",icon:"pencil",text:""},null,8,["label","onClick"]),t.createVNode(Jc,{label:"normal"===e.type?"Delete":"",onClick:e=>v(a),class:"!py-0.5 !px-1 !h-max text-[11px]",icon:"delete-bin",severity:"danger",text:""},null,8,["label","onClick"])],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createVNode(cc,{onClick:e=>O(a),class:"text-xs p-0.5 rounded-xs mr-1",icon:"pencil",severity:"primary"},null,8,["onClick"]),t.createVNode(cc,{onClick:e=>v(a),class:"text-xs p-0.5 rounded-xs",icon:"delete-bin",severity:"danger"},null,8,["onClick"])],64)),t.createVNode(Vu,{visible:p.value[a],"onUpdate:visible":e=>p.value[a]=e,onConfirm:e=>r("delete",S,a),body:"Are you sure you want to delete it?","confirm-label":"Delete",header:"Delete Photo",severity:"danger"},null,8,["visible","onUpdate:visible","onConfirm"])]))],2),"normal"===e.type?(t.openBlock(),t.createBlock(qz,{key:0,"show-add-button":1===l.value.length&&o.multiple,"show-info":e.showInfo,onAddPhoto:i[1]||(i[1]=e=>T(!0))},{default:t.withCtx((()=>[2===l.value.length&&o.multiple?(t.openBlock(),t.createBlock(BM,{key:0,modelValue:g.value,"onUpdate:modelValue":i[0]||(i[0]=e=>g.value=e),"label-id":"default-"+a,value:a,label:"Set as default"},null,8,["modelValue","label-id","value"])):t.createCommentVNode("",!0)])),_:2},1032,["show-add-button","show-info"])):t.createCommentVNode("",!0)],40,$z)))),128)),e.multiple&&1==l.value.length&&"inline-table"===e.type?(t.openBlock(),t.createBlock(Jc,{key:0,onClick:i[2]||(i[2]=e=>T(!0)),icon:"add-line",label:"Photo",text:""})):t.createCommentVNode("",!0)],64)):"inline-table"!=e.type?(t.openBlock(),t.createElementBlock("div",tC,[t.createElementVNode("button",{class:t.normalizeClass(["w-[125px] h-[125px]","flex items-center justify-center","ring-inset","cursor-pointer",{"ring-1":F.value,"ring-[0.5px]":!F.value},{"rounded-full":e.rounded,"rounded-lg":!e.rounded},{"ring-general-200 dark:ring-general-200 focus-visible:ring-primary-500 focus-visible:dark:ring-primary-500":!N.value&&!d.errorMessage,"ring-danger-500 dark:ring-danger-500":N.value||d.errorMessage},{"bg-white dark:bg-grayscale-900":!o.disabled,"bg-general-50 dark:bg-grayscale-800":o.disabled}]),onClick:i[3]||(i[3]=e=>T(!1)),"data-ts-section":"input-image-trigger",type:"button"},[t.createVNode(cc,{class:"w-6 h-6","data-ts-section":"trigger-icon",icon:"image-add",severity:"primary"})],2),t.createVNode(qz,{"show-info":e.showInfo},null,8,["show-info"])])):t.createCommentVNode("",!0)],2),(t.openBlock(),t.createElementBlock("input",{id:e.fieldName,key:c.value,ref_key:"inputImageFile",ref:s,multiple:o.multiple&&!l.value.length,onChange:w,accept:"image/*",class:"hidden","data-ts-section":"hidden-image-input",type:"file"},null,40,iC)),"inline-table"!==e.type||l.value.length?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("label",{key:0,for:e.fieldName,class:"inline-flex items-center cursor-pointer"},rC,8,oC)),e.showValidatorMessage?(t.openBlock(),t.createBlock(kM,{key:1,format:!1,message:d.errorMessage??E.value},null,8,["message"])):t.createCommentVNode("",!0)])),_:1},8,["class","info","label","mandatory"]),t.createVNode(IA,{visible:I.value,"onUpdate:visible":i[4]||(i[4]=e=>I.value=e),class:t.normalizeClass(["w-max max-w-[98vw] min-w-[500px] !max-h-[94vh]"]),"content-class":["overflow-hidden overflow-y-auto min-h-[100px]"],draggable:!1,"footer-class":["!gap-1"],"data-ts-section":"dialog-cropper",header:"Adjust Photo",modal:""},{footer:t.withCtx((()=>[t.createVNode(Jc,{onClick:C,label:"Cancel",plain:"",severity:"secondary",text:""}),t.createVNode(Jc,{onClick:Y,label:"Change Image",text:""}),t.createVNode(Jc,{onClick:z,label:"Apply",severity:"success",type:"button"})])),default:t.withCtx((()=>[null!=u.value?(t.openBlock(),t.createBlock(t.unref(Hz),{key:0,ref_key:"vueAdvanceCropper",ref:A,"auto-zoom":!1,"background-wrapper-component":Jz,src:n.value[u.value].src,class:"upload-example-cropper h-400","foreground-class":"h-400","image-class":"h-400"},null,8,["src"])):t.createCommentVNode("",!0)])),_:1},8,["visible"])],64))}}),aC=["id","disabled","maxlength","placeholder"],lC=t.defineComponent({__name:"InputBadge",props:{type:{default:"text"},modelValue:{},initialValue:{},useValidator:{type:Boolean},mandatory:{type:Boolean},validatorMessage:{},showValidatorMessage:{type:Boolean,default:!0},invalid:{type:Boolean},fieldName:{default:"inputBadge"},placeholder:{},disabled:{type:Boolean},label:{},fieldInfo:{},fieldTooltipPos:{},preserveDeletedIndex:{type:Boolean},maxlength:{}},emits:["update:modelValue"],setup(e,{emit:i}){const o=e,r=i;t.onMounted((()=>{d()}));const n=t.ref(null),a=t.ref(null),l=t.shallowRef(),s=t.reactive({value:o.initialValue??o.modelValue??[]}),c=t.ref(0),A=t.computed((()=>{var e;return(null==(e=o.label)?void 0:e.toLowerCase)+"-badge-input"})),M=t.computed((()=>o.invalid&&o.validatorMessage?o.validatorMessage:s.errorMessage)),u=t.computed((()=>o.placeholder?o.placeholder:"email"===o.type?"Enter valid email":"Enter value")),g=t.computed((()=>{var e,t;return null==(t=null==(e=s.value)?void 0:e.filter(Boolean))?void 0:t.length})),d=()=>{var e,t;o.useValidator&&(Object.assign(s,Na(o.fieldName,(e=>!(!(null==e?void 0:e.length)&&o.mandatory)||(o.label??"This field")+" must not be empty"))),(null==(e=o.initialValue)?void 0:e.length)?s.value=o.initialValue:(null==(t=o.modelValue)?void 0:t.length)&&(s.value=o.modelValue))},N=t.computed((()=>{var e;return o.invalid||!!s.errorMessage||!(null==(e=s.value)?void 0:e.length)&&"string"==typeof l.value&&!l.value.length})),E=e=>{var t;I(l.value)||("email"===o.type&&n.value&&a.value&&l.value&&(t=l.value,!/^[\w-]+(\.[\w-]+)*@([\w-]+\.)+[a-zA-Z]{2,7}$/.test(t))?a.value.toggle(e,n.value):l.value&&(s.value=[...s.value??[],l.value],l.value=void 0,r("update:modelValue",s.value)))},y=e=>{var t,i;"Backspace"!==e.key||l.value||(e.preventDefault(),"text"===o.type?l.value=null==(t=s.value)?void 0:t.pop():null==(i=s.value)||i.pop(),r("update:modelValue",s.value))},I=e=>{var t;return null==(t=s.value)?void 0:t.some((t=>t===e))},p=navigator.userAgent.includes("Firefox");return t.watch((()=>o.initialValue),(e=>{e&&(s.value=e)}),{once:!0}),t.watch((()=>o.modelValue),(e=>{e&&(s.value=e)})),o.preserveDeletedIndex&&t.watchEffect((()=>{var e,t;(null==(e=s.value)?void 0:e.length)&&(null==(t=s.value)?void 0:t.every((e=>null==e)))&&(s.value=[])})),(e,i)=>(t.openBlock(),t.createBlock(du,{info:e.fieldInfo,label:o.label,mandatory:o.mandatory,"tooltip-pos":e.fieldTooltipPos},{default:t.withCtx((()=>[(t.openBlock(),t.createElementBlock("div",{key:c.value,class:t.normalizeClass(["flex flex-wrap gap-x-0.5 gap-y-[5px] items-center","min-h-[26px] h-fit w-full","ring-inset rounded px-[12px] py-[2px]",{"ring-[1px]":t.unref(p),"ring-[0.5px]":!t.unref(p)},{"!ring-danger-500 !dark:ring-danger-500":N.value},{"!ring-general-200 !dark:ring-general-200":!N.value},{"pointer-events-none":e.disabled}]),"data-ts-name":"input-badge","data-ts-section":"root"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.value,((e,i)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:e},[e?(t.openBlock(),t.createBlock(Xc,{key:0,"edit-maxlength":o.maxlength,label:e,onRemove:e=>{var t;return(e=>{var t;null==(t=s.value)||t.splice(e,1,...o.preserveDeletedIndex?[null]:[]),r("update:modelValue",s.value)})(i),null==(t=n.value)?void 0:t.focus()},"onUpdate:label":e=>((e,t)=>{if(s.value&&e){if(I(e))return void c.value++;s.value[t]=e,r("update:modelValue",s.value)}})(e,i),editable:"",format:"nowrap",removable:"",severity:"dark"},null,8,["edit-maxlength","label","onRemove","onUpdate:label"])):t.createCommentVNode("",!0)],64)))),128)),t.createElementVNode("form",{onSubmit:t.withModifiers(E,["prevent"]),class:"flex-1","data-ts-section":"form-input"},[t.withDirectives(t.createElementVNode("input",{id:A.value,ref_key:"badgeInput",ref:n,"onUpdate:modelValue":i[0]||(i[0]=e=>l.value=e),class:t.normalizeClass([...t.unref(ka).root({props:o,context:{disabled:e.disabled},parent:e.$parent}).class,"outline-none !w-full !bg-transparent !p-0 !shadow-none h-max !leading-4 min-w-[70px]",{"placeholder:text-transparent":g.value},"focus:placeholder:text-general-200"]),disabled:e.disabled,maxlength:o.maxlength,placeholder:u.value,onBlur:E,onFocus:i[1]||(i[1]=e=>{var t;return null==(t=a.value)?void 0:t.hide()}),onInput:i[2]||(i[2]=e=>{var t;return null==(t=a.value)?void 0:t.hide()}),onKeydown:y,"data-ts-section":"label-input",type:"text"},null,42,aC),[[t.vModelText,l.value]]),t.createVNode(t.unref(og),{ref_key:"op",ref:a,class:"px-3 py-1 text-[12px] text-general-800"},{default:t.withCtx((()=>[t.createVNode(cc,{class:"mr-1 text-warning-600 text-base",icon:"error"}),t.createTextVNode(" Email format is incorrect ")])),_:1},512)],32)],2)),o.showValidatorMessage&&o.label?(t.openBlock(),t.createBlock(kM,{key:0,message:M.value},null,8,["message"])):t.createCommentVNode("",!0)])),_:1},8,["info","label","mandatory","tooltip-pos"]))}}),sC=({isFirefoxBased:e,invalidInput:t})=>[{"ring-[1px]":e,"ring-[0.5px]":!e},{"!ring-danger-500":t},"ring-inset","ring-general-200","[&:has(:focus)]:bg-none [&:has(:focus)]:dark:bg-none","[&:has(:focus)]:ring-primary-500","bg-white dark:bg-white","z-[0] [&:has(:focus)]:z-[12]"],cC={dialcode:e=>({class:[...sC(e),"rounded-l rounded-r-none"]}),inputnumber:e=>({class:[...sC(e),"rounded-r rounded-l-none -ml-[1px]"]})},AC={currency:e=>({class:[...sC(e),"rounded-l rounded-r-none"],"data-ts-section":"currency"}),value:e=>({class:[...sC(e),"rounded-r rounded-l-none -ml-[1px]"],"data-ts-section":"value"})},MC={key:1,class:"bg-general-50 flex h-full items-center px-3 ring-[0.5px] ring-general-200 ring-inset rounded-l"},uC=t.defineComponent({__name:"InputCurrency",props:{modelValue:{},value:{},label:{},max:{},useValidator:{type:Boolean},fieldName:{},mandatory:{type:Boolean},validatorMessage:{},invalid:{type:Boolean},placeholder:{},disabled:{type:Boolean},showButtons:{type:Boolean},size:{},mode:{},useGrouping:{type:Boolean},fieldInfo:{},inputnNumberId:{},selectable:{type:Boolean}},emits:["update:modelValue","input"],setup(e,{emit:i}){var o,r;const n=e,a=i;t.onMounted((()=>{n.useValidator&&(Object.assign(M,Na(n.fieldName??"currencyInput",(e=>!(!(null==e?void 0:e.value)&&n.mandatory)||`${n.label} must not be empty`))),n.modelValue&&(M.value=n.modelValue))}));const l=t.shallowRef(!1),s=t.shallowRef(null==(o=n.modelValue)?void 0:o.value),c=navigator.userAgent.includes("Firefox"),A=t.shallowRef(Ut(null==(r=n.modelValue)?void 0:r.currency)),M=t.reactive({value:n.modelValue}),u=t.shallowRef(Yt.filter((e=>e.currency!==Ut().currency))),g=t.computed((()=>{var e;return null==(e=A.value)?void 0:e.locale})),d=t.computed((()=>n.inputnNumberId?n.inputnNumberId:(n.label??n.fieldName??"input-number").toLowerCase().trim().replaceAll(" ","-")+"-inputnumber")),N=t.computed((()=>n.invalid||!!M.errorMessage)),E=({currency:e},t)=>{const i=null!=t?{currency:e,value:t}:void 0;a("update:modelValue",i),M.value=i};return t.watch((()=>n.modelValue),(()=>{var e,t,i;A.value=(null==(e=n.modelValue)?void 0:e.currency)?Ut(null==(t=n.modelValue)?void 0:t.currency):A.value,M.value=n.modelValue,s.value=null==(i=n.modelValue)?void 0:i.value})),(e,i)=>(t.openBlock(),t.createBlock(Ym,t.mergeProps(n,{modelValue:s.value,"onUpdate:modelValue":[i[4]||(i[4]=e=>s.value=e),i[5]||(i[5]=e=>E(A.value,e))],"input-id":d.value,"input-number-class":t.unref(AC).value({isFirefoxBased:t.unref(c),invalidInput:N.value}).class,invalid:N.value,locale:g.value,"min-fraction-digits":0,"use-validator":!1,"validator-message":M.errorMessage,"addon-left-class":"!p-0 !bg-transparent","input-group-class":"!ring-0",mode:"decimal","use-grouping":""}),{"addon-left":t.withCtx((()=>[n.selectable?(t.openBlock(),t.createBlock(t.unref(eu),{key:0,modelValue:A.value,"onUpdate:modelValue":[i[0]||(i[0]=e=>A.value=e),i[3]||(i[3]=e=>E(e,s.value))],class:t.normalizeClass(t.unref(AC).currency({isFirefoxBased:t.unref(c),invalidInput:N.value}).class),"filter-fields":["label","currency"],options:u.value,pt:{input:{class:["py-1 pl-3 pr-2",t.unref(fa).input({props:{modelValue:A.value}}).class]}},onHide:i[1]||(i[1]=e=>(l.value=!1,void t.nextTick((()=>{const e=document.getElementById(d.value);e&&e.focus()})))),onShow:i[2]||(i[2]=e=>l.value=!0),"data-key":"currency",filter:"","filter-placeholder":"Search","option-label":"symbol"},{dropdownicon:t.withCtx((()=>[t.createVNode(cc,{class:t.normalizeClass(["w-full h-full transition-transform !text-general-500",{"rotate-180":l.value}]),icon:"arrow-drop-down"},null,8,["class"])])),option:t.withCtx((({option:e})=>[t.createTextVNode(t.toDisplayString(e.label),1)])),_:1},8,["modelValue","class","options","pt"])):(t.openBlock(),t.createElementBlock("div",MC,t.toDisplayString(A.value.symbol),1))])),_:1},16,["modelValue","input-id","input-number-class","invalid","locale","validator-message"]))}}),gC={key:1,class:"grid grid-cols-[1fr,auto] items-end gap-2.5"},dC=t.defineComponent({__name:"InputCurrencyReference",props:{modelValue:{},value:{},label:{},max:{},useValidator:{type:Boolean},fieldName:{},mandatory:{type:Boolean},validatorMessage:{},invalid:{type:Boolean},placeholder:{},disabled:{type:Boolean},showButtons:{type:Boolean},size:{},mode:{},useGrouping:{type:Boolean},fieldInfo:{},inputnNumberId:{},selectable:{type:Boolean}},emits:["update:modelValue","input"],setup(e,{emit:i}){const o=e,r=i,n=t.ref(!1),a=e=>r("update:modelValue",e),l=()=>{a({currency:"USD",value:0}),n.value=!0},s=()=>{a(void 0),n.value=!1};return t.watch((()=>o.modelValue??o.value),(e=>{e&&(n.value=!0)}),{immediate:!0}),(e,i)=>n.value?(t.openBlock(),t.createElementBlock("div",gC,[t.createVNode(uC,t.mergeProps({"onUpdate:modelValue":a},o,{selectable:""}),null,16),t.createVNode(Jc,{onClick:s,"aria-label":"Remove currency input",icon:"delete-bin",outlined:"",severity:"danger"})])):(t.openBlock(),t.createBlock(Jc,{key:0,onClick:l,"aria-label":"Add currency input",icon:"add-line",outlined:""}))}}),NC=t.defineComponent({__name:"InputText",props:{modelValue:{},value:{},maxLength:{default:30},label:{},useValidator:{type:Boolean},fieldName:{},mandatory:{type:Boolean},invalid:{type:Boolean},manualInvalidContainer:{type:Boolean,default:!1},validatorMessage:{},validateOnBlur:{type:Boolean,default:!1},validatorMessageClass:{},placeholder:{},type:{default:"text"},disabled:{type:Boolean},fieldInfo:{},inputClass:{},inputContainerClass:{},labelClass:{},blurOnReachMax:{type:Boolean},allowSpecialCharacters:{type:Boolean,default:!0}},emits:["blur","input","update:modelValue"],setup(e,{emit:i}){var o;const r=e,n=i,a=t.ref(0),l=t.ref(),s=t.shallowRef(r.value||r.modelValue),c=t.reactive({value:null==(o=r.modelValue)?void 0:o.trim()}),A=t.computed((()=>r.invalid||!!c.errorMessage));t.onMounted((()=>{var e;r.useValidator&&(Object.assign(c,Na(r.fieldName??"textInput",(e=>u(null==e?void 0:e.trim())))),null!=r.value&&(c.value=null==(e=r.value)?void 0:e.trim()))}));const M=t.computed((()=>r.placeholder??`Enter ${r.label?r.label.toLowerCase():r.type??"text"}`)),u=async e=>{if(await t.nextTick(),r.validatorMessage&&r.invalid)return r.validatorMessage;if(!e&&r.mandatory)return`${r.label} must not be empty`;if((null==e?void 0:e.length)>r.maxLength&&("text"===r.type||"email"===r.type))return"Max. "+r.maxLength+" characters";if(e&&"email"===r.type){return!!/^[\w-]+(\.[\w-]+)*@([\w-]+\.)+[a-zA-Z]{2,7}$/.test(e)||"Email format is incorrect"}if(e&&"url"===r.type){return!!new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+:@!$&'()*+,;=]*)*(\\?[;&a-z\\d%_.~+=:@!$&'()*+,;=-]*)?(\\#[-a-z\\d_:@!$&'()*+,;=]*)?$","i").test(e)||"URL format is incorrect"}return!!r.allowSpecialCharacters||(!/[^A-Za-z0-9 ]/.test(e)||"Cannot include any special characters")},g=e=>{var i;const o=null==(i=l.value)?void 0:i.$el;if(!o)return;const{selectionStart:n,selectionEnd:s}=o;a.value++,o.blur(),t.nextTick((()=>{var t;const i=null==(t=l.value)?void 0:t.$el;if(null==i||i.focus(),null!==n&&null!==s){const t=n===r.maxLength&&(null==e?void 0:e.length)===r.maxLength?r.maxLength:n-1;null==i||i.setSelectionRange(t,t)}}))},d=()=>{r.validateOnBlur&&(c.value=s.value),n("blur",s.value)},N=e=>{var t;const i=e.target.value||void 0;n("input",i);const o="deleteContentBackward"===e.inputType,a=i&&(null==i?void 0:i.length)>=r.maxLength,l=(null==(t=c.value)?void 0:t.length)===r.maxLength;a&&r.blurOnReachMax&&!l?((e=>{s.value=String(e).slice(0,r.maxLength),g(e)})(i),n("input",i)):l&&!o&&r.blurOnReachMax?(s.value=c.value,g()):(s.value=i,n("input",i)),r.validateOnBlur||(c.value=s.value),n("update:modelValue",s.value)};return t.watch((()=>r.value),(e=>{c.value=null==e?void 0:e.trim(),s.value=c.value}),{once:!0}),t.watch((()=>r.modelValue),(e=>{c.value=null==e?void 0:e.trim(),s.value=c.value})),(e,i)=>(t.openBlock(),t.createBlock(du,{info:e.fieldInfo,label:r.label,"label-class":r.labelClass,mandatory:r.mandatory},{default:t.withCtx((()=>[t.createVNode(Eu,{class:t.normalizeClass(r.inputContainerClass??["grid ",{"grid-cols-[max-content,1fr,max-content]":e.$slots["addon-left"]&&e.$slots["addon-right"],"grid-cols-[1fr,max-content]":!e.$slots["addon-left"]&&e.$slots["addon-right"],"grid-cols-[max-content,1fr]":e.$slots["addon-left"]&&!e.$slots["addon-right"]}]),disabled:r.disabled,invalid:A.value&&!r.manualInvalidContainer},{default:t.withCtx((()=>[e.$slots["addon-left"]?(t.openBlock(),t.createBlock(t.unref(yu),{key:0,disabled:r.disabled},{default:t.withCtx((()=>[t.renderSlot(e.$slots,"addon-left")])),_:3},8,["disabled"])):t.createCommentVNode("",!0),(t.openBlock(),t.createBlock(t.unref(qu),{key:a.value,ref_key:"input",ref:l,class:t.normalizeClass(["ts-inputtext",e.inputClass]),disabled:e.disabled,invalid:A.value,"model-value":c.value,placeholder:M.value,onBlur:d,onInput:N},null,8,["class","disabled","invalid","model-value","placeholder"])),e.$slots["addon-right"]?(t.openBlock(),t.createBlock(t.unref(yu),{key:1,class:t.normalizeClass({"!text-general-200 !dark:text-general-200":r.disabled})},{default:t.withCtx((()=>[t.renderSlot(e.$slots,"addon-right")])),_:3},8,["class"])):t.createCommentVNode("",!0)])),_:3},8,["class","disabled","invalid"]),t.createVNode(kM,{class:t.normalizeClass(r.validatorMessageClass),message:c.errorMessage??r.validatorMessage},null,8,["class","message"])])),_:3},8,["info","label","label-class","mandatory"]))}}),EC=t.defineComponent({__name:"InputEmail",props:{modelValue:{},label:{},labelClass:{},fieldName:{},manualInvalidContainer:{type:Boolean},mandatory:{type:Boolean},useValidator:{type:Boolean},validatorMessage:{},validatorMessageClass:{},placeholder:{},disabled:{type:Boolean},fieldInfo:{},inputClass:{},inputContainerClass:{}},emits:["update:modelValue","blur"],setup:e=>(e,i)=>(t.openBlock(),t.createBlock(NC,{"field-info":e.fieldInfo,"field-name":e.fieldName,"input-class":e.inputClass,"input-container-class":e.inputContainerClass,label:e.label,"label-class":e.labelClass,mandatory:e.mandatory,"manual-invalid-container":e.manualInvalidContainer,"max-length":60,"model-value":e.modelValue,placeholder:e.placeholder,"use-validator":e.useValidator,"validator-message":e.validatorMessage,"validator-message-class":e.validatorMessageClass,onBlur:i[0]||(i[0]=t=>e.$emit("blur",t)),"onUpdate:modelValue":i[1]||(i[1]=t=>e.$emit("update:modelValue",t)),type:"email","validate-on-blur":""},null,8,["field-info","field-name","input-class","input-container-class","label","label-class","mandatory","manual-invalid-container","model-value","placeholder","use-validator","validator-message","validator-message-class"]))});var yC=tl.extend({name:"inputotp",classes:{root:"p-inputotp p-component",input:"p-inputotp-input"}}),IC={name:"InputOtp",extends:{name:"BaseInputOtp",extends:Bc,props:{modelValue:{type:null,default:!1},invalid:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},variant:{type:String,default:null},tabindex:{type:Number,default:null},length:{type:Number,default:4},mask:{type:Boolean,default:!1},integerOnly:{type:Boolean,default:!1}},style:yC,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["update:modelValue","change","focus","blur"],data:function(){return{tokens:[]}},watch:{modelValue:{immediate:!0,handler:function(e){this.tokens=e?e.split(""):new Array(this.length)}}},methods:{getTemplateAttrs:function(e){return{value:this.tokens[e]}},getTemplateEvents:function(e){var t=this;return{input:function(i){return t.onInput(i,e)},keydown:function(e){return t.onKeyDown(e)},focus:function(e){return t.onFocus(e)},blur:function(e){return t.onBlur(e)},paste:function(e){return t.onPaste(e)}}},getPTOptions:function(e){return("root"===e?this.ptmi:this.ptm)(e,{context:{checked:this.checked,disabled:this.disabled}})},onInput:function(e,t){this.tokens[t]=e.target.value,this.updateModel(e),"deleteContentBackward"===e.inputType?this.moveToPrev(e):"insertText"!==e.inputType&&"deleteContentForward"!==e.inputType||this.moveToNext(e)},updateModel:function(e){var t=this.tokens.join("");this.$emit("update:modelValue",t),this.$emit("change",{originalEvent:e,value:t})},moveToPrev:function(e){var t=this.findPrevInput(e.target);t&&(t.focus(),t.select())},moveToNext:function(e){var t=this.findNextInput(e.target);t&&(t.focus(),t.select())},findNextInput:function(e){var t=e.nextElementSibling;if(t)return"INPUT"===t.nodeName?t:this.findNextInput(t)},findPrevInput:function(e){var t=e.previousElementSibling;if(t)return"INPUT"===t.nodeName?t:this.findPrevInput(t)},onFocus:function(e){e.target.select(),this.$emit("focus",e)},onBlur:function(e){this.$emit("blur",e)},onKeyDown:function(e){if(!e.ctrlKey&&!e.metaKey)switch(e.code){case"ArrowLeft":this.moveToPrev(e),e.preventDefault();break;case"ArrowUp":case"ArrowDown":e.preventDefault();break;case"Backspace":0===e.target.value.length&&(this.moveToPrev(e),e.preventDefault());break;case"ArrowRight":this.moveToNext(e),e.preventDefault();break;default:(this.integerOnly&&!(Number(e.key)>=0&&Number(e.key)<=9)||this.tokens.join("").length>=this.length&&"Delete"!==e.code)&&e.preventDefault()}},onPaste:function(e){if(!this.readonly&&!this.disabled){var t=e.clipboardData.getData("text");if(t.length){var i=t.substring(0,this.length+1);this.integerOnly&&isNaN(i)||(this.tokens=i.split(""),this.updateModel(e))}e.preventDefault()}}},computed:{inputMode:function(){return this.integerOnly?"numeric":"text"},inputType:function(){return this.mask?"password":"text"}},components:{OtpInputText:qu}};IC.render=function(e,i,o,r,n,a){var l=t.resolveComponent("OtpInputText");return t.openBlock(),t.createElementBlock("div",t.mergeProps({class:e.cx("root")},e.ptmi("root")),[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.length,(function(o){return t.renderSlot(e.$slots,"default",{key:o,events:a.getTemplateEvents(o-1),attrs:a.getTemplateAttrs(o-1),index:o},(function(){return[t.createVNode(l,{value:n.tokens[o-1],type:a.inputType,class:t.normalizeClass(e.cx("input")),inputmode:a.inputMode,variant:e.variant,readonly:e.readonly,disabled:e.disabled,invalid:e.invalid,tabindex:e.tabindex,unstyled:e.unstyled,onInput:function(e){return a.onInput(e,o-1)},onFocus:i[0]||(i[0]=function(e){return a.onFocus(e)}),onBlur:i[1]||(i[1]=function(e){return a.onBlur(e)}),onPaste:i[2]||(i[2]=function(e){return a.onPaste(e)}),onKeydown:i[3]||(i[3]=function(e){return a.onKeyDown(e)}),pt:e.ptm("input")},null,8,["value","type","class","inputmode","variant","readonly","disabled","invalid","tabindex","unstyled","onInput","pt"])]}))})),128))],16)};const pC=t.defineComponent({__name:"InputOTP",props:{modelValue:{},disabled:{type:Boolean},invalid:{type:Boolean},length:{}},emits:["update:modelValue"],setup(e,{emit:i}){const o=e,r=i,n=t.ref(o.modelValue),a=e=>{const{code:t,key:i,ctrlKey:o,metaKey:r}=e;if((o||r)&&"v"===i.toLowerCase())return;t.startsWith("Digit")||t.startsWith("Numpad")&&!isNaN(Number(i))||["ArrowLeft","ArrowRight","Backspace"].includes(t)||e.preventDefault()};return t.watch(n,(e=>r("update:modelValue",e))),(e,i)=>(t.openBlock(),t.createBlock(t.unref(IC),{modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=e=>n.value=e),disabled:e.disabled,invalid:e.invalid,length:e.length??6,onKeydown:a},null,8,["modelValue","disabled","invalid","length"]))}});var hC={name:"EyeSlashIcon",extends:kc},jC=[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.9414 6.74792C13.9437 6.75295 13.9455 6.757 13.9469 6.76003C13.982 6.8394 14.0001 6.9252 14.0001 7.01195C14.0001 7.0987 13.982 7.1845 13.9469 7.26386C13.6004 8.00059 13.1711 8.69549 12.6674 9.33515C12.6115 9.4071 12.54 9.46538 12.4582 9.50556C12.3765 9.54574 12.2866 9.56678 12.1955 9.56707C12.0834 9.56671 11.9737 9.53496 11.8788 9.47541C11.7838 9.41586 11.7074 9.3309 11.6583 9.23015C11.6092 9.12941 11.5893 9.01691 11.6008 8.90543C11.6124 8.79394 11.6549 8.68793 11.7237 8.5994C12.1065 8.09726 12.4437 7.56199 12.7313 6.99995C12.2595 6.08027 10.3402 2.8014 6.99732 2.8014C6.63723 2.80218 6.27816 2.83969 5.92569 2.91336C5.77666 2.93304 5.62568 2.89606 5.50263 2.80972C5.37958 2.72337 5.29344 2.59398 5.26125 2.44714C5.22907 2.30031 5.2532 2.14674 5.32885 2.01685C5.40451 1.88696 5.52618 1.79021 5.66978 1.74576C6.10574 1.64961 6.55089 1.60134 6.99732 1.60181C11.5916 1.60181 13.7864 6.40856 13.9414 6.74792ZM2.20333 1.61685C2.35871 1.61411 2.5091 1.67179 2.6228 1.77774L12.2195 11.3744C12.3318 11.4869 12.3949 11.6393 12.3949 11.7983C12.3949 11.9572 12.3318 12.1097 12.2195 12.2221C12.107 12.3345 11.9546 12.3976 11.7956 12.3976C11.6367 12.3976 11.4842 12.3345 11.3718 12.2221L10.5081 11.3584C9.46549 12.0426 8.24432 12.4042 6.99729 12.3981C2.403 12.3981 0.208197 7.59135 0.0532336 7.25198C0.0509364 7.24694 0.0490875 7.2429 0.0476856 7.23986C0.0162332 7.16518 3.05176e-05 7.08497 3.05176e-05 7.00394C3.05176e-05 6.92291 0.0162332 6.8427 0.0476856 6.76802C0.631261 5.47831 1.46902 4.31959 2.51084 3.36119L1.77509 2.62545C1.66914 2.51175 1.61146 2.36136 1.61421 2.20597C1.61695 2.05059 1.6799 1.90233 1.78979 1.79244C1.89968 1.68254 2.04794 1.6196 2.20333 1.61685ZM7.45314 8.35147L5.68574 6.57609V6.5361C5.5872 6.78938 5.56498 7.06597 5.62183 7.33173C5.67868 7.59749 5.8121 7.84078 6.00563 8.03158C6.19567 8.21043 6.43052 8.33458 6.68533 8.39089C6.94014 8.44721 7.20543 8.43359 7.45314 8.35147ZM1.26327 6.99994C1.7351 7.91163 3.64645 11.1985 6.99729 11.1985C7.9267 11.2048 8.8408 10.9618 9.64438 10.4947L8.35682 9.20718C7.86027 9.51441 7.27449 9.64491 6.69448 9.57752C6.11446 9.51014 5.57421 9.24881 5.16131 8.83592C4.74842 8.42303 4.4871 7.88277 4.41971 7.30276C4.35232 6.72274 4.48282 6.13697 4.79005 5.64041L3.35855 4.2089C2.4954 5.00336 1.78523 5.94935 1.26327 6.99994Z",fill:"currentColor"},null,-1)];hC.render=function(e,i,o,r,n,a){return t.openBlock(),t.createElementBlock("svg",t.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),jC,16)};var TC=tl.extend({name:"password",classes:{root:function(e){var t=e.instance,i=e.props;return["p-password p-component p-inputwrapper",{"p-inputwrapper-filled":t.filled,"p-inputwrapper-focus":t.focused,"p-icon-field p-icon-field-right":i.toggleMask}]},input:function(e){return["p-password-input",{"p-disabled":e.props.disabled}]},hideIcon:"p-input-icon",showIcon:"p-input-icon",panel:function(e){return["p-password-panel p-component",{"p-ripple-disabled":!1===e.instance.$primevue.config.ripple}]},meter:"p-password-meter",meterLabel:function(e){var t=e.instance;return"p-password-strength ".concat(t.meter?t.meter.strength:"")},info:"p-password-info"},inlineStyles:{root:function(e){return{position:"self"===e.props.appendTo?"relative":void 0}}}}),wC={name:"Password",extends:{name:"BasePassword",extends:Bc,props:{modelValue:String,promptLabel:{type:String,default:null},mediumRegex:{type:[String,RegExp],default:"^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})"},strongRegex:{type:[String,RegExp],default:"^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})"},weakLabel:{type:String,default:null},mediumLabel:{type:String,default:null},strongLabel:{type:String,default:null},feedback:{type:Boolean,default:!0},appendTo:{type:[String,Object],default:"body"},toggleMask:{type:Boolean,default:!1},hideIcon:{type:String,default:void 0},showIcon:{type:String,default:void 0},variant:{type:String,default:null},invalid:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:null},required:{type:Boolean,default:!1},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},inputProps:{type:null,default:null},panelId:{type:String,default:null},panelClass:{type:[String,Object],default:null},panelStyle:{type:Object,default:null},panelProps:{type:null,default:null},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:TC,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["update:modelValue","change","focus","blur","invalid"],data:function(){return{id:this.$attrs.id,overlayVisible:!1,meter:null,infoText:null,focused:!1,unmasked:!1}},watch:{"$attrs.id":function(e){this.id=e||Q()}},mediumCheckRegExp:null,strongCheckRegExp:null,resizeListener:null,scrollHandler:null,overlay:null,mounted:function(){this.id=this.id||Q(),this.infoText=this.promptText,this.mediumCheckRegExp=new RegExp(this.mediumRegex),this.strongCheckRegExp=new RegExp(this.strongRegex)},beforeUnmount:function(){this.unbindResizeListener(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.overlay&&(Y.clear(this.overlay),this.overlay=null)},methods:{onOverlayEnter:function(e){Y.set("overlay",e,this.$primevue.config.zIndex.overlay),M.addStyles(e,{position:"absolute",top:"0",left:"0"}),this.alignOverlay(),this.bindScrollListener(),this.bindResizeListener()},onOverlayLeave:function(){this.unbindScrollListener(),this.unbindResizeListener(),this.overlay=null},onOverlayAfterLeave:function(e){Y.clear(e)},alignOverlay:function(){"self"===this.appendTo?M.relativePosition(this.overlay,this.$refs.input.$el):(this.overlay.style.minWidth=M.getOuterWidth(this.$refs.input.$el)+"px",M.absolutePosition(this.overlay,this.$refs.input.$el))},testStrength:function(e){var t=0;return this.strongCheckRegExp.test(e)?t=3:this.mediumCheckRegExp.test(e)?t=2:e.length&&(t=1),t},onInput:function(e){this.$emit("update:modelValue",e.target.value),this.$emit("change",e)},onFocus:function(e){this.focused=!0,this.feedback&&(this.setPasswordMeter(this.modelValue),this.overlayVisible=!0),this.$emit("focus",e)},onBlur:function(e){this.focused=!1,this.feedback&&(this.overlayVisible=!1),this.$emit("blur",e)},onKeyUp:function(e){if(this.feedback){var t=e.target.value,i=this.checkPasswordStrength(t),o=i.meter,r=i.label;if(this.meter=o,this.infoText=r,"Escape"===e.code)return void(this.overlayVisible&&(this.overlayVisible=!1));this.overlayVisible||(this.overlayVisible=!0)}},setPasswordMeter:function(){if(!this.modelValue)return this.meter=null,void(this.infoText=this.promptText);var e=this.checkPasswordStrength(this.modelValue),t=e.meter,i=e.label;this.meter=t,this.infoText=i,this.overlayVisible||(this.overlayVisible=!0)},checkPasswordStrength:function(e){var t=null,i=null;switch(this.testStrength(e)){case 1:t=this.weakText,i={strength:"weak",width:"33.33%"};break;case 2:t=this.mediumText,i={strength:"medium",width:"66.66%"};break;case 3:t=this.strongText,i={strength:"strong",width:"100%"};break;default:t=this.promptText,i=null}return{label:t,meter:i}},onInvalid:function(e){this.$emit("invalid",e)},bindScrollListener:function(){var e=this;this.scrollHandler||(this.scrollHandler=new N(this.$refs.input.$el,(function(){e.overlayVisible&&(e.overlayVisible=!1)}))),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var e=this;this.resizeListener||(this.resizeListener=function(){e.overlayVisible&&!M.isTouchDevice()&&(e.overlayVisible=!1)},window.addEventListener("resize",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},overlayRef:function(e){this.overlay=e},onMaskToggle:function(){this.unmasked=!this.unmasked},onOverlayClick:function(e){LA.emit("overlay-click",{originalEvent:e,target:this.$el})}},computed:{inputType:function(){return this.unmasked?"text":"password"},filled:function(){return null!=this.modelValue&&this.modelValue.toString().length>0},weakText:function(){return this.weakLabel||this.$primevue.config.locale.weak},mediumText:function(){return this.mediumLabel||this.$primevue.config.locale.medium},strongText:function(){return this.strongLabel||this.$primevue.config.locale.strong},promptText:function(){return this.promptLabel||this.$primevue.config.locale.passwordPrompt},panelUniqueId:function(){return this.id+"_panel"}},components:{PInputText:qu,Portal:lA,EyeSlashIcon:hC,EyeIcon:aw}};function DC(e){return(DC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function mC(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,o)}return i}function BC(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?mC(Object(i),!0).forEach((function(t){xC(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):mC(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function xC(e,t,i){var o;return o=function(e,t){if("object"!=DC(e)||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=DC(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==DC(o)?o:String(o))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var LC=["id"];wC.render=function(e,i,o,r,n,a){var l=t.resolveComponent("PInputText"),s=t.resolveComponent("Portal");return t.openBlock(),t.createElementBlock("div",t.mergeProps({class:e.cx("root"),style:e.sx("root")},e.ptmi("root")),[t.createVNode(l,t.mergeProps({ref:"input",id:e.inputId,type:a.inputType,class:[e.cx("input"),e.inputClass],style:e.inputStyle,value:e.modelValue,"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,"aria-controls":e.panelProps&&e.panelProps.id||e.panelId||a.panelUniqueId,"aria-expanded":n.overlayVisible,"aria-haspopup":!0,placeholder:e.placeholder,required:e.required,disabled:e.disabled,variant:e.variant,invalid:e.invalid,onInput:a.onInput,onFocus:a.onFocus,onBlur:a.onBlur,onKeyup:a.onKeyUp,onInvalid:a.onInvalid},e.inputProps,{pt:e.ptm("input"),unstyled:e.unstyled}),null,16,["id","type","class","style","value","aria-labelledby","aria-label","aria-controls","aria-expanded","placeholder","required","disabled","variant","invalid","onInput","onFocus","onBlur","onKeyup","onInvalid","pt","unstyled"]),e.toggleMask&&n.unmasked?t.renderSlot(e.$slots,"hideicon",{key:0,onClick:a.onMaskToggle,toggleCallback:a.onMaskToggle},(function(){return[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.hideIcon?"i":"EyeSlashIcon"),t.mergeProps({class:[e.cx("hideIcon"),e.hideIcon],onClick:a.onMaskToggle},e.ptm("hideIcon")),null,16,["class","onClick"]))]})):t.createCommentVNode("",!0),e.toggleMask&&!n.unmasked?t.renderSlot(e.$slots,"showicon",{key:1,onClick:a.onMaskToggle,toggleCallback:a.onMaskToggle},(function(){return[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.showIcon?"i":"EyeIcon"),t.mergeProps({class:[e.cx("showIcon"),e.showIcon],onClick:a.onMaskToggle},e.ptm("showIcon")),null,16,["class","onClick"]))]})):t.createCommentVNode("",!0),t.createElementVNode("span",t.mergeProps({class:"p-hidden-accessible","aria-live":"polite"},e.ptm("hiddenAccesible"),{"data-p-hidden-accessible":!0}),t.toDisplayString(n.infoText),17),t.createVNode(s,{appendTo:e.appendTo},{default:t.withCtx((function(){return[t.createVNode(t.Transition,t.mergeProps({name:"p-connected-overlay",onEnter:a.onOverlayEnter,onLeave:a.onOverlayLeave,onAfterLeave:a.onOverlayAfterLeave},e.ptm("transition")),{default:t.withCtx((function(){return[n.overlayVisible?(t.openBlock(),t.createElementBlock("div",t.mergeProps({key:0,ref:a.overlayRef,id:e.panelId||a.panelUniqueId,class:[e.cx("panel"),e.panelClass],style:e.panelStyle,onClick:i[0]||(i[0]=function(){return a.onOverlayClick&&a.onOverlayClick.apply(a,arguments)})},BC(BC({},e.panelProps),e.ptm("panel"))),[t.renderSlot(e.$slots,"header"),t.renderSlot(e.$slots,"content",{},(function(){return[t.createElementVNode("div",t.mergeProps({class:e.cx("meter")},e.ptm("meter")),[t.createElementVNode("div",t.mergeProps({class:e.cx("meterLabel"),style:{width:n.meter?n.meter.width:""}},e.ptm("meterLabel")),null,16)],16),t.createElementVNode("div",t.mergeProps({class:e.cx("info")},e.ptm("info")),t.toDisplayString(n.infoText),17)]})),t.renderSlot(e.$slots,"footer")],16,LC)):t.createCommentVNode("",!0)]})),_:3},16,["onEnter","onLeave","onAfterLeave"])]})),_:3},8,["appendTo"])],16)};const fC=["onClick"],zC=["onClick"],CC=t.defineComponent({__name:"InputPassword",props:{modelValue:{},label:{},labelClass:{},inputContainerClass:{},mandatory:{type:Boolean},placeholder:{},feedback:{type:Boolean},fieldName:{},useValidator:{type:Boolean},invalid:{type:Boolean},validatorMessage:{},validatorMessageClass:{}},emits:["update:modelValue"],setup(e,{emit:i}){const o=e,r=i,n=t.ref(o.modelValue),a=t.reactive({value:void 0}),l=t.computed((()=>o.invalid||!!a.errorMessage)),s=t.computed((()=>o.invalid&&o.validatorMessage?o.validatorMessage:a.errorMessage));t.onMounted((()=>{o.useValidator&&Object.assign(a,Na(o.fieldName??"password",(e=>c(e))))}));const c=e=>!e&&o.mandatory?`${o.label} must not be empty`:!o.validatorMessage||!o.invalid||o.validatorMessage,A=e=>{r("update:modelValue",e),o.useValidator&&(a.value=e)},M=e=>{const t=e.target;if(t.previousElementSibling&&"INPUT"===t.previousElementSibling.tagName){t.previousElementSibling.focus()}};return t.watch((()=>o.modelValue),(e=>{n.value=e,a.value=e})),(e,i)=>(t.openBlock(),t.createBlock(du,{label:o.label,"label-class":o.labelClass,mandatory:o.mandatory},{default:t.withCtx((()=>[t.createVNode(Eu,{class:t.normalizeClass(o.inputContainerClass),invalid:l.value},{default:t.withCtx((()=>[t.createVNode(t.unref(wC),{modelValue:n.value,"onUpdate:modelValue":[i[0]||(i[0]=e=>n.value=e),A],feedback:o.feedback,invalid:l.value,placeholder:o.placeholder,"toggle-mask":""},{showicon:t.withCtx((({toggleCallback:e})=>[t.createElementVNode("button",{class:t.normalizeClass([t.unref(va).showicon.class,"unset"]),onClick:t=>(e(),M(t))},[t.createVNode(cc,{icon:"eye"})],10,fC)])),hideicon:t.withCtx((({toggleCallback:e})=>[t.createElementVNode("button",{class:t.normalizeClass([t.unref(va).showicon.class,"unset"]),onClick:t=>(e(),M(t))},[t.createVNode(cc,{icon:"eye-off"})],10,zC)])),_:1},8,["modelValue","feedback","invalid","placeholder"])])),_:1},8,["class","invalid"]),t.createVNode(kM,{class:t.normalizeClass(o.validatorMessageClass),message:s.value},null,8,["class","message"])])),_:1},8,["label","label-class","mandatory"]))}}),QC={class:"grid grid-cols-[max-content,auto] w-full","data-ts-section":"phone-number-input-wrapper"},kC={class:"flex gap-2"},bC=["src"],vC=t.defineComponent({__name:"InputPhoneNumber",props:{modelValue:{},value:{},label:{},placeholder:{},disabled:{type:Boolean},invalid:{type:Boolean},useValidator:{type:Boolean},fieldName:{},mandatory:{type:Boolean},validatorMessage:{},fieldInfo:{}},emits:["update:modelValue"],setup(e,{emit:o}){const r=e,n=o;t.onBeforeMount((async()=>{c.value=await N(),A.value=h()})),t.onMounted((async()=>{d.value=r.modelValue,r.useValidator&&Object.assign(d,Na(r.fieldName??"numberInput",(e=>s(e)))),r.value&&p(r.value),r.modelValue&&p(r.modelValue)}));const a=t.computed((()=>r.invalid||!!d.errorMessage)),l=navigator.userAgent.includes("Firefox"),s=async e=>(await t.nextTick(),!e&&r.mandatory?r.validatorMessage??`${r.label} must not be empty`:!r.invalid||!r.validatorMessage||r.validatorMessage),c=t.shallowRef(),A=t.shallowRef(),M=t.shallowRef(),u=t.shallowRef(!1),g=t.ref(0),d=t.reactive({value:null}),N=async()=>{u.value=!0;const{data:e}=await i.get("https://assets.tagsamurai.com/json/country-dial-code.json");return u.value=!1,e.filter((e=>e.dial_code))??[]},E=e=>{M.value=null==e?void 0:e.value,y()},y=()=>{d.value=M.value?`${A.value} ${M.value}`:void 0,n("update:modelValue",d.value)},I=()=>{t.nextTick((()=>{const e=document.getElementById("phone-number-input");e&&e.focus()}))},p=e=>{const t=null==e?void 0:e.split(" ");(null==t?void 0:t.length)?(A.value=t[0],M.value=parseInt(t[1]),d.value=M.value?`${A.value} ${M.value}`:void 0,u.value=!1):d.value=void 0},h=()=>{var e;if(c.value){const t="SH-AC",{region:i}=new Intl.Locale(t);return(null==(e=c.value.find((e=>e.code===i)))?void 0:e.dial_code)??"+62"}return"+62"};return t.watch((()=>r.value),(e=>{p(e)}),{once:!0}),t.watch((()=>r.modelValue),(e=>{p(e)})),t.watch(M,(e=>{var t,i;("number"==typeof(t=e)?t.toString().length:0)>15&&(i=e,M.value=parseInt(String(i).slice(0,15)),y(),g.value++)})),(e,i)=>(t.openBlock(),t.createBlock(du,{info:r.fieldInfo,label:r.label,mandatory:r.mandatory},{default:t.withCtx((()=>[t.createElementVNode("div",QC,[t.createVNode(t.unref(eu),{modelValue:A.value,"onUpdate:modelValue":i[0]||(i[0]=e=>A.value=e),class:t.normalizeClass(t.unref(cC).dialcode({isFirefoxBased:t.unref(l),invalidInput:a.value}).class),disabled:r.disabled,"filter-fields":["dial_code","name"],loading:u.value,options:c.value,onChange:y,onHide:I,"data-ts-section":"dialcode",filter:"","filter-placeholder":"Search","option-label":"dial_code","option-value":"dial_code"},{dropdownicon:t.withCtx((()=>[t.createVNode(cc,{class:"w-full h-full transition-transform",icon:"arrow-drop-down"})])),option:t.withCtx((({option:e})=>[t.createElementVNode("div",kC,[t.createElementVNode("img",{src:e.image,alt:"country-img",style:{height:"16px"}},null,8,bC),t.createElementVNode("span",null,t.toDisplayString(e.name),1),t.createElementVNode("span",null,t.toDisplayString(e.dial_code),1)])])),_:1},8,["modelValue","class","disabled","loading","options"]),(t.openBlock(),t.createBlock(t.unref(Ld),t.mergeProps({key:g.value},e.$props,{modelValue:M.value,"onUpdate:modelValue":i[1]||(i[1]=e=>M.value=e),class:t.unref(cC).inputnumber({isFirefoxBased:t.unref(l),invalidInput:a.value}).class,disabled:r.disabled,"input-props":{autocomplete:"off"},"use-grouping":!1,onInput:E,"data-ts-section":"inputnumber","input-id":"phone-number-input",placeholder:"Enter phone number"}),null,16,["modelValue","class","disabled"]))]),t.withDirectives(t.createVNode(kM,{message:d.errorMessage??r.validatorMessage},null,8,["message"]),[[t.vShow,d.errorMessage]])])),_:1},8,["info","label","mandatory"]))}}),SC={class:"flex gap-2 w-full","data-ts-section":"inputwrapper"},OC=t.defineComponent({__name:"InputRangeNumber",props:{modelValue:{},label:{},placeholder:{},minPlaceholder:{default:"Input"},maxPlaceholder:{default:"Input"},disabled:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:i}){const o=e,r=i,n=t.reactive({value:[]});return t.watch(n,(()=>{var e,t;null!=(null==(e=n.value)?void 0:e[0])&&null!=(null==(t=n.value)?void 0:t[1])&&r("update:modelValue",n.value)})),t.watch((()=>o.modelValue),(e=>{null!=(null==e?void 0:e[0])&&null!=(null==e?void 0:e[1])&&(n.value=e)})),(e,i)=>(t.openBlock(),t.createBlock(du,{label:o.label},{default:t.withCtx((()=>[t.createElementVNode("div",SC,[t.createVNode(Eu,null,{default:t.withCtx((()=>{var o;return[t.createVNode(t.unref(Ld),t.mergeProps(e.$props,{"input-props":{autocomplete:"off"},"model-value":null==(o=n.value)?void 0:o[0],placeholder:e.minPlaceholder,"use-grouping":!1,"onUpdate:modelValue":i[0]||(i[0]=e=>n.value&&(n.value[0]=e)),class:"w-full","input-id":"range-start"}),null,16,["model-value","placeholder"])]})),_:1}),t.createTextVNode(" - "),t.createVNode(Eu,null,{default:t.withCtx((()=>{var o;return[t.createVNode(t.unref(Ld),t.mergeProps(e.$props,{"input-props":{autocomplete:"off"},"model-value":null==(o=n.value)?void 0:o[1],placeholder:e.maxPlaceholder,"use-grouping":!1,"onUpdate:modelValue":i[1]||(i[1]=e=>n.value&&(n.value[1]=e)),class:"w-full","input-id":"range-end"}),null,16,["model-value","placeholder"])]})),_:1})])])),_:1},8,["label"]))}}),YC={class:"w-full"},UC=t.defineComponent({__name:"InputSearch",emits:["search"],setup(e,{emit:i}){const o=i,r=t.ref(),n=t.ref(),a=e=>{r.value=e.target.value||void 0,n.value=e.target.value||void 0};return(e,i)=>{var l,s;return t.openBlock(),t.createElementBlock("form",{class:t.normalizeClass(["text-xs flex gap-1 h-[34px] px-[21px] items-center","rounded-[18px] bg-general-50"]),onSubmit:i[1]||(i[1]=t.withModifiers((e=>o("search",r.value)),["prevent"]))},[t.createElementVNode("div",YC,[t.createVNode(t.unref(qu),{class:t.normalizeClass(["h-auto !shadow-none !p-0 !text-general-500 placeholder:text-general-200 !bg-general-50"]),"model-value":n.value,onInput:a,autocomplete:"off",placeholder:"Search asset"},null,8,["model-value"])]),t.createVNode(cc,{class:t.normalizeClass(["text-md !text-general-400 !w-4 !h-4",{hidden:null==(l=n.value)?void 0:l.length}]),icon:"search"},null,8,["class"]),t.createVNode(cc,{class:t.normalizeClass(["text-md !text-general-400 !w-4 !h-4",{hidden:!(null==(s=n.value)?void 0:s.length)}]),onClick:i[0]||(i[0]=e=>n.value=void 0),"data-ts-section":"reset-filter-icon",icon:"close"},null,8,["class"])],32)}}}),FC=t.defineComponent({__name:"InputURL",props:{modelValue:{},label:{},fieldName:{},mandatory:{type:Boolean},useValidator:{type:Boolean},validatorMessage:{},invalid:{type:Boolean},placeholder:{},disabled:{type:Boolean},fieldInfo:{}},emits:["update:modelValue"],setup(e,{emit:i}){const o=e,r=i;return(e,i)=>(t.openBlock(),t.createBlock(NC,t.mergeProps({"onUpdate:modelValue":i[0]||(i[0]=e=>r("update:modelValue",e))},o,{type:"url","validate-on-blur":""}),null,16))}}),RC={class:t.normalizeClass(["w-screen h-screen fixed top-0 left-0 z-[9999999]","bg-[#d9dbe9b3]","transition-opacity"]),"data-ts-name":"loading-overlay","data-ts-section":"overlay"},GC=["src"],HC=t.defineComponent({__name:"Loading",setup(e){const{loading:i}=Ga(),o=t.shallowRef([]),r=t.shallowRef(0);return t.onMounted((async()=>{o.value=[(await Promise.resolve().then((()=>zQ))).default,(await Promise.resolve().then((()=>CQ))).default,(await Promise.resolve().then((()=>QQ))).default,(await Promise.resolve().then((()=>kQ))).default];const e=setInterval((()=>{r.value=(r.value+1)%o.value.length}),400);t.onUnmounted((()=>{clearInterval(e)}))})),(e,n)=>t.unref(i)?(t.openBlock(),t.createBlock(t.Teleport,{key:0,to:"body"},[t.createElementVNode("div",RC,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.value,((e,i)=>(t.openBlock(),t.createElementBlock("img",{key:i,class:t.normalizeClass(["absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2","opacity-0","transition-opacity duration-300 delay-[25ms] ease-in",{"opacity-100":r.value===i}]),src:e,"data-ts-section":"loading-icon"},null,10,GC)))),128))])])):t.createCommentVNode("",!0)}}),PC=["id"],VC={class:"list-none m-0 p-0 outline-none transition-shadow","data-ts-section":"menu"},JC=["aria-label","onClick"],WC={"aria-hidden":"true",class:"flex items-center justify-start gap-2 px-4 py-1.5 hover:bg-surface-50 text-xs no-underline overflow-hidden cursor-pointer select-none","data-pc-section":"action",tabindex:"-1"},KC=t.defineComponent({__name:"Menu",props:{model:{},popup:{type:Boolean},appendTo:{},autoZIndex:{type:Boolean},baseZIndex:{},exact:{type:Boolean},tabindex:{},ariaLabel:{},ariaLabelledby:{},pt:{},ptOptions:{},unstyled:{type:Boolean}},emits:["focus","blur"],setup(e,{expose:i}){const o=t.shallowRef(!1),r=t.ref((+new Date).toString()),n=t.ref(null);t.onMounted((()=>{u(),d()})),t.onBeforeUnmount((()=>{g(),N()}));const a=()=>{o.value=!1,c(),g(),N()},l=e=>{const t=e.target;t.closest("button")!==n.value&&t!==n.value&&a()},s=()=>{document.addEventListener("click",l)},c=()=>{document.removeEventListener("click",l)},A=()=>{o.value&&a()},M=()=>{o.value&&a()},u=()=>{window.addEventListener("resize",A)},g=()=>{window.removeEventListener("resize",A)},d=()=>{window.addEventListener("scroll",M)},N=()=>{window.removeEventListener("scroll",M)};return i({toggle:e=>{o.value?a():(e=>{o.value=!0;const i=e.target;n.value=i.closest("button")||i,t.nextTick((()=>{const e=document.getElementById(r.value);if(e&&n.value){const{top:t,left:i}=n.value.getBoundingClientRect(),{offsetHeight:o=0,offsetWidth:r=0}=n.value??{},a=window.innerWidth-i,l=e.style;l.top=`${t+o+4}px`,l.left=`${a<e.offsetWidth+16?window.innerWidth-e.offsetWidth-a+r:i}px`,s()}}))})(e)}}),(e,i)=>(t.openBlock(),t.createBlock(t.Teleport,{to:"body"},[t.createVNode(t.Transition,{name:"fade"},{default:t.withCtx((()=>[o.value?(t.openBlock(),t.createElementBlock("div",t.mergeProps({key:0},e.$attrs,{id:r.value,class:[...t.unref(ba).root.class,"absolute","z-40","top-0 left-0","transition-all"],"data-ts-name":"menu","data-ts-section":"root"}),[t.createElementVNode("ul",VC,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.model,(i=>(t.openBlock(),t.createElementBlock("li",{key:i.label,"aria-label":i.label,onClick:e=>{var t;return null==(t=i.command)?void 0:t.call(i,{originalEvent:e,item:i})},class:"cursor-pointer","data-pc-section":"menuitem"},[t.renderSlot(e.$slots,"item",{item:i},(()=>[t.createElementVNode("a",WC,[i.icon?(t.openBlock(),t.createBlock(cc,{key:0,icon:i.icon,severity:i.danger?"danger":void 0},null,8,["icon","severity"])):t.createCommentVNode("",!0),t.createElementVNode("span",{class:t.normalizeClass(["text-inherit",{"!text-danger-500":i.danger}]),"data-pc-section":"label"},t.toDisplayString(i.label),3)])]))],8,JC)))),128))])],16,PC)):t.createCommentVNode("",!0)])),_:3})]))}}),XC=t.defineComponent({__name:"Paginator",props:{totalRecords:{},rows:{},first:{},pageLinkSize:{},rowsPerPageOptions:{},template:{},currentPageReportTemplate:{},alwaysShow:{type:Boolean},pt:{},ptOptions:{}},emits:["update:first","update:rows","page"],setup:e=>(e,i)=>(t.openBlock(),t.createBlock(t.unref(_d),t.mergeProps(e.$props,{onPage:i[0]||(i[0]=t=>e.$emit("page",t)),"onUpdate:first":i[1]||(i[1]=t=>e.$emit("update:first",t)),"onUpdate:rows":i[2]||(i[2]=t=>e.$emit("update:rows",t))}),null,16))}),ZC={class:"flex items-center gap-2"},_C={class:"text-xs font-medium"},qC=t.defineComponent({__name:"ProgressBar",props:{value:{},maxValue:{},maxBarWidth:{default:120}},setup(e){const i=e,o=`width: ${i.maxBarWidth}px`;return(e,r)=>(t.openBlock(),t.createElementBlock("div",ZC,[t.createElementVNode("div",{style:o},[t.createVNode(t.unref(QL),{"show-value":!1,value:i.value/i.maxValue*100},null,8,["value"])]),t.createElementVNode("div",_C,t.toDisplayString(i.value)+"/"+t.toDisplayString(i.maxValue),1)]))}}),$C={class:"flex gap-3 items-center","data-ts-name":"steps","data-ts-section":"root"},eQ=t.defineComponent({__name:"Steps",props:{steps:{},currentStep:{}},setup:e=>(e,i)=>(t.openBlock(),t.createElementBlock("div",$C,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.steps,((i,o)=>(t.openBlock(),t.createElementBlock("div",{key:i.toString(),class:t.normalizeClass(["flex gap-1 items-center text-general-300 text-xs font-semibold",{"!text-primary-500":o+1===e.currentStep}]),"data-ts-section":"stepitem"},[t.createElementVNode("span",{class:t.normalizeClass(["flex items-center justify-center","rounded-full border-2 w-5 h-5 tracking-[0.03em]","bg-general-50","border-general-300",{"!bg-primary-50 !border-primary-500":o+1===e.currentStep}]),"data-ts-section":"stepnumber"},t.toDisplayString(o+1),3),t.createTextVNode(" "+t.toDisplayString("string"==typeof i?i:i.label),1)],2)))),128))]))});var tQ=tl.extend({name:"tabmenu",classes:{root:"p-tabmenu p-component",menu:"p-tabmenu-nav p-reset",menuitem:function(e){var t=e.instance,i=e.index,o=e.item;return["p-tabmenuitem",{"p-highlight":t.d_activeIndex===i,"p-disabled":t.disabled(o)}]},action:"p-menuitem-link",icon:"p-menuitem-icon",label:"p-menuitem-text",inkbar:"p-tabmenu-ink-bar"}}),iQ={name:"TabMenu",extends:{name:"BaseTabMenu",extends:Bc,props:{model:{type:Array,default:null},activeIndex:{type:Number,default:0},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:tQ,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["update:activeIndex","tab-change"],timeout:null,data:function(){return{d_activeIndex:this.activeIndex}},watch:{activeIndex:function(e){this.d_activeIndex=e}},mounted:function(){this.updateInkBar();var e=this.findActiveItem();e&&(e.tabIndex="0")},updated:function(){this.updateInkBar()},beforeUnmount:function(){clearTimeout(this.timeout)},methods:{getPTOptions:function(e,t,i){return this.ptm(e,{context:{item:t,index:i}})},onItemClick:function(e,t,i){this.disabled(t)?e.preventDefault():(t.command&&t.command({originalEvent:e,item:t}),i!==this.d_activeIndex&&(this.d_activeIndex=i,this.$emit("update:activeIndex",this.d_activeIndex)),this.$emit("tab-change",{originalEvent:e,index:i}))},onKeydownItem:function(e,t,i){switch(e.code){case"ArrowRight":this.navigateToNextItem(e.target),e.preventDefault();break;case"ArrowLeft":this.navigateToPrevItem(e.target),e.preventDefault();break;case"Home":this.navigateToFirstItem(e.target),e.preventDefault();break;case"End":this.navigateToLastItem(e.target),e.preventDefault();break;case"Space":case"NumpadEnter":case"Enter":this.onItemClick(e,t,i),e.preventDefault();break;case"Tab":this.onTabKey()}},navigateToNextItem:function(e){var t=this.findNextItem(e);t&&this.setFocusToMenuitem(e,t)},navigateToPrevItem:function(e){var t=this.findPrevItem(e);t&&this.setFocusToMenuitem(e,t)},navigateToFirstItem:function(e){var t=this.findFirstItem(e);t&&this.setFocusToMenuitem(e,t)},navigateToLastItem:function(e){var t=this.findLastItem(e);t&&this.setFocusToMenuitem(e,t)},findNextItem:function(e){var t=e.parentElement.nextElementSibling;return t?!0===M.getAttribute(t,"data-p-disabled")?this.findNextItem(t.children[0]):t.children[0]:null},findPrevItem:function(e){var t=e.parentElement.previousElementSibling;return t?!0===M.getAttribute(t,"data-p-disabled")?this.findPrevItem(t.children[0]):t.children[0]:null},findFirstItem:function(){var e=M.findSingle(this.$refs.nav,'[data-pc-section="menuitem"][data-p-disabled="false"]');return e?e.children[0]:null},findLastItem:function(){var e=M.find(this.$refs.nav,'[data-pc-section="menuitem"][data-p-disabled="false"]');return e?e[e.length-1].children[0]:null},findActiveItem:function(){var e=M.findSingle(this.$refs.nav,'[data-pc-section="menuitem"][data-p-disabled="false"][data-p-highlight="true"]');return e?e.children[0]:null},setFocusToMenuitem:function(e,t){e.tabIndex="-1",t.tabIndex="0",t.focus()},onTabKey:function(){var e=M.findSingle(this.$refs.nav,'[data-pc-section="menuitem"][data-p-disabled="false"][data-p-highlight="true"]'),t=M.findSingle(this.$refs.nav,'[data-pc-section="action"][tabindex="0"]');t!==e.children[0]&&(e&&(e.children[0].tabIndex="0"),t.tabIndex="-1")},visible:function(e){return"function"==typeof e.visible?e.visible():!1!==e.visible},disabled:function(e){return"function"==typeof e.disabled?e.disabled():!0===e.disabled},label:function(e){return"function"==typeof e.label?e.label():e.label},updateInkBar:function(){for(var e=this.$refs.nav.children,t=!1,i=0;i<e.length;i++){var o=e[i];M.getAttribute(o,"data-p-highlight")&&(this.$refs.inkbar.style.width=M.getWidth(o)+"px",this.$refs.inkbar.style.left=M.getOffset(o).left-M.getOffset(this.$refs.nav).left+"px",t=!0)}t||(this.$refs.inkbar.style.width="0px",this.$refs.inkbar.style.left="0px")},getMenuItemProps:function(e,i){var o=this;return{action:t.mergeProps({class:this.cx("action"),tabindex:-1,onClick:function(t){return o.onItemClick(t,e,i)},onKeyDown:function(t){return o.onKeydownItem(t,e,i)}},this.getPTOptions("action",e,i)),icon:t.mergeProps({class:[this.cx("icon"),e.icon]},this.getPTOptions("icon",e,i)),label:t.mergeProps({class:this.cx("label")},this.getPTOptions("label",e,i))}}},directives:{ripple:Uc}},oQ=["aria-labelledby","aria-label"],rQ=["onClick","onKeydown","data-p-highlight","data-p-disabled"],nQ=["href","target","aria-label","aria-disabled"];iQ.render=function(e,i,o,r,n,a){var l=t.resolveDirective("ripple");return t.openBlock(),t.createElementBlock("div",t.mergeProps({class:e.cx("root")},e.ptmi("root")),[t.createElementVNode("ul",t.mergeProps({ref:"nav",class:e.cx("menu"),role:"menubar","aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel},e.ptm("menu")),[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.model,(function(i,o){return t.openBlock(),t.createElementBlock(t.Fragment,{key:a.label(i)+"_"+o.toString()},[a.visible(i)?(t.openBlock(),t.createElementBlock("li",t.mergeProps({key:0,ref_for:!0,ref:"tab",class:[e.cx("menuitem",{item:i,index:o}),i.class],role:"presentation",onClick:function(e){return a.onItemClick(e,i,o)},onKeydown:function(e){return a.onKeydownItem(e,i,o)}},a.getPTOptions("menuitem",i,o),{"data-p-highlight":n.d_activeIndex===o,"data-p-disabled":a.disabled(i)}),[e.$slots.item?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.$slots.item),{key:1,item:i,index:o,active:o===n.d_activeIndex,label:a.label(i),props:a.getMenuItemProps(i,o)},null,8,["item","index","active","label","props"])):t.withDirectives((t.openBlock(),t.createElementBlock("a",t.mergeProps({key:0,ref_for:!0,ref:"tabLink",role:"menuitem",href:i.url,class:e.cx("action"),target:i.target,"aria-label":a.label(i),"aria-disabled":a.disabled(i),tabindex:-1},a.getPTOptions("action",i,o)),[e.$slots.itemicon?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.$slots.itemicon),{key:0,item:i,class:t.normalizeClass(e.cx("icon"))},null,8,["item","class"])):i.icon?(t.openBlock(),t.createElementBlock("span",t.mergeProps({key:1,class:[e.cx("icon"),i.icon]},a.getPTOptions("icon",i,o)),null,16)):t.createCommentVNode("",!0),t.createElementVNode("span",t.mergeProps({class:e.cx("label")},a.getPTOptions("label",i,o)),t.toDisplayString(a.label(i)),17)],16,nQ)),[[l]])],16,rQ)):t.createCommentVNode("",!0)],64)})),128)),t.createElementVNode("li",t.mergeProps({ref:"inkbar",role:"none",class:e.cx("inkbar")},e.ptm("inkbar")),null,16)],16,oQ)],16)};const aQ=["href","onClick"],lQ={key:1,class:"flex flex-nowrap space-x-1 overflow-auto invisible-scrollbar"},sQ=["href","onClick"],cQ=["onClick"],AQ=rw(t.defineComponent({__name:"TabMenu",props:{menu:{},type:{},activeIndex:{},exact:{type:Boolean}},emits:["update:activeIndex"],setup(e,{emit:i}){const o=e,r=i;t.onBeforeMount((()=>{s()}));const n=t.computed((()=>window.location.pathname)),a=t.computed((()=>Object.hasOwn(o.menu[0],"to"))),l=t.ref(o.activeIndex??0),s=()=>{a.value&&(l.value=o.menu.map((e=>e.to)).findIndex((e=>(e&&n.value.includes(e),e?o.exact?n.value===e:n.value.includes(e):""))))};return t.watch(l,(e=>{r("update:activeIndex",e)})),(e,i)=>{const o=t.resolveComponent("router-link");return"tab"===e.type?(t.openBlock(),t.createBlock(t.unref(iQ),{key:0,activeIndex:l.value,"onUpdate:activeIndex":i[0]||(i[0]=e=>l.value=e),model:e.menu},t.createSlots({_:2},[a.value?{name:"item",fn:t.withCtx((({item:e,props:i})=>[t.createVNode(o,{to:e.to,custom:""},{default:t.withCtx((({href:o,navigate:r})=>[t.createElementVNode("a",t.mergeProps({href:o},i.action,{onClick:r}),[t.createElementVNode("span",t.normalizeProps(t.guardReactiveProps(i.label)),t.toDisplayString(e.label),17)],16,aQ)])),_:2},1032,["to"])])),key:"0"}:void 0]),1032,["activeIndex","model"])):(t.openBlock(),t.createElementBlock("div",lQ,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.menu,((e,i)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:i},[a.value?(t.openBlock(),t.createBlock(o,{key:0,to:e.to,custom:""},{default:t.withCtx((({href:o,navigate:r})=>[t.createElementVNode("div",{class:t.normalizeClass(["h-6 w-fit flex justify-center items-center rounded-xl",{"bg-grayscale-200 dark:bg-grayscale-800":l.value!==i},{"bg-primary-50 dark:bg-primary-300":l.value===i}])},[t.createElementVNode("a",{class:t.normalizeClass(["text-nowrap whitespace-nowrap px-3 text-xs font-medium",{"text-grayscale-800 dark:text-grayscale-50":l.value!==i},{"text-primary-500 dark:text-primary-800":l.value===i}]),href:o,onClick:e=>{l.value=i,r(e)}},[t.createElementVNode("span",null,t.toDisplayString(e.label),1)],10,sQ)],2)])),_:2},1032,["to"])):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["h-6 w-fit flex justify-center items-center rounded-xl",{"bg-grayscale-200 dark:bg-grayscale-800":l.value!==i},{"bg-primary-50 dark:bg-primary-300":l.value===i}])},[t.createElementVNode("a",{class:t.normalizeClass(["text-nowrap whitespace-nowrap px-3 text-xs font-medium cursor-pointer",{"text-grayscale-800 dark:text-grayscale-50":l.value!==i},{"text-primary-500 dark:text-primary-800":l.value===i}]),onClick:()=>{l.value=i}},[t.createElementVNode("span",null,t.toDisplayString(e.label),1)],10,cQ)],2))],64)))),128))]))}}}),[["__scopeId","data-v-844747a2"]]);var MQ=tl.extend({name:"timeline",classes:{root:function(e){var t=e.props;return["p-timeline p-component","p-timeline-"+t.align,"p-timeline-"+t.layout]},event:"p-timeline-event",opposite:"p-timeline-event-opposite",separator:"p-timeline-event-separator",marker:"p-timeline-event-marker",connector:"p-timeline-event-connector",content:"p-timeline-event-content"}}),uQ={name:"Timeline",extends:{name:"BaseTimeline",extends:Bc,props:{value:null,align:{mode:String,default:"left"},layout:{mode:String,default:"vertical"},dataKey:null},style:MQ,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,methods:{getKey:function(e,t){return this.dataKey?w.resolveFieldData(e,this.dataKey):t},getPTOptions:function(e,t){return this.ptm(e,{context:{index:t,count:this.value.length}})}}};uQ.render=function(e,i,o,r,n,a){return t.openBlock(),t.createElementBlock("div",t.mergeProps({class:e.cx("root")},e.ptmi("root")),[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.value,(function(i,o){return t.openBlock(),t.createElementBlock("div",t.mergeProps({key:a.getKey(i,o),class:e.cx("event")},a.getPTOptions("event",o)),[t.createElementVNode("div",t.mergeProps({class:e.cx("opposite",{index:o})},a.getPTOptions("opposite",o)),[t.renderSlot(e.$slots,"opposite",{item:i,index:o})],16),t.createElementVNode("div",t.mergeProps({class:e.cx("separator")},a.getPTOptions("separator",o)),[t.renderSlot(e.$slots,"marker",{item:i,index:o},(function(){return[t.createElementVNode("div",t.mergeProps({class:e.cx("marker")},a.getPTOptions("marker",o)),null,16)]})),o!==e.value.length-1?t.renderSlot(e.$slots,"connector",{key:0,item:i,index:o},(function(){return[t.createElementVNode("div",t.mergeProps({class:e.cx("connector")},a.getPTOptions("connector",o)),null,16)]})):t.createCommentVNode("",!0)],16),t.createElementVNode("div",t.mergeProps({class:e.cx("content")},a.getPTOptions("content",o)),[t.renderSlot(e.$slots,"content",{item:i,index:o})],16)],16)})),128))],16)};const gQ={class:"w-[22px] h-[22px] flex items-center justify-center rounded-full border border-general-100 dark:border-general-500 bg-transparent"},dQ={key:1,class:"w-[6px] h-[6px] rounded-full bg-general-800 dark:bg-general-100"},NQ={class:"pt-[2.5px] pb-[10px] flex flex-col gap-1"},EQ={id:"header",class:"flex items-center justify-between"},yQ={class:"flex items-center gap-1"},IQ={key:0,class:"flex items-center gap-0.5"},pQ={class:"text-primary-500 dark:text-primary-300 text-xs font-medium"},hQ={key:0,id:"body",class:"flex flex-col gap-1"},jQ={class:"flex flex-row items-center gap-1"},TQ={class:"text-xs font-medium text-general-400 dark:text-general-200"},wQ={class:"text-xs font-medium"},DQ=t.defineComponent({__name:"Timeline",props:{data:{}},setup(e){const i=e;t.onMounted((()=>{var e;o.value=null==(e=i.data)?void 0:e.map((e=>{var t;return e.body&&(null==(t=Object.keys(e.body))?void 0:t.length)?{...e,bodyShow:!0}:e}))}));const o=t.ref();return(e,i)=>(t.openBlock(),t.createBlock(t.unref(uQ),{value:o.value},{marker:t.withCtx((({item:e})=>{var i;return[t.createElementVNode("div",gQ,[e.body&&(null==(i=Object.keys(e.body))?void 0:i.length)?(t.openBlock(),t.createBlock(cc,{key:0,class:t.normalizeClass({"rotate-180":e.bodyShow}),onClick:t=>e.bodyShow=!e.bodyShow,icon:"arrow-down"},null,8,["class","onClick"])):(t.openBlock(),t.createElementBlock("div",dQ))])]})),content:t.withCtx((({item:i})=>{var o;return[t.createElementVNode("div",NQ,[t.createElementVNode("div",EQ,[t.createElementVNode("div",yQ,[t.createElementVNode("span",{class:t.normalizeClass(["text-xs font-bold",{"text-danger-500":i.danger}])},t.toDisplayString(i.title),3),i.username?(t.openBlock(),t.createElementBlock("div",IQ,[t.createVNode(cc,{class:"!text-general-400 dark:!text-general-200 !text-base",icon:"user"}),t.createElementVNode("span",pQ,t.toDisplayString(t.unref(oe)(i.username)),1)])):t.createCommentVNode("",!0)]),t.createElementVNode("div",{class:t.normalizeClass(["text-xs font-medium",{"text-danger-500":i.danger}])},t.toDisplayString(t.unref(xt)(i.date,!0)),3)]),(null==(o=Object.keys(i.body??{}))?void 0:o.length)&&i.bodyShow?(t.openBlock(),t.createElementBlock("div",hQ,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Object.keys(i.body),(o=>t.renderSlot(e.$slots,"body",t.mergeProps({key:o,ref_for:!0},{key:o,value:i.body[o]}),(()=>[t.createElementVNode("div",jQ,[t.createElementVNode("span",TQ,t.toDisplayString(o)+": ",1),t.createElementVNode("span",wQ,t.toDisplayString(i.body[o]),1)])])))),128))])):t.createCommentVNode("",!0)])]})),_:3},8,["value"]))}}),mQ={class:"flex gap-1 items-center text-placeholder","data-section-name":"transaction-role-lists"},BQ=t.defineComponent({__name:"TransactionRoles",props:{asset:{},user:{},type:{default:"transaction"}},setup(e){const i=e,o=t.computed((()=>i.user?"user":"asset")),r=t.computed((()=>{const e=i.user??i.asset;if(!e)return[];const t=JSON.parse(localStorage.user??"{}").addOn,r=[{label:"Borrowing",icon:"borrow",info:d(e,"borrowing"),severity:g(e,"borrowing")},{label:"Assignment",icon:"assignment",info:d(e,"assignment"),severity:g(e,"assignment")},{label:"Transfer",icon:"exchange",info:d(e,"transfer"),severity:g(e,"transfer")},{label:"Disposal",icon:"disposal",info:d(e,"disposal"),severity:g(e,"disposal")}];if("transaction-policy"===i.type)return r;const n="asset"===o.value?[{label:"Asset Control",icon:"gate",info:d(e,"assetControl"),severity:g(e,"assetControl"),visible:t.assetControl}]:[],a=[{label:"Audit",icon:"audit",info:d(e,"audit"),severity:g(e,"audit"),visible:t.audit},...n,{label:"Maintenance",icon:"file-settings",info:d(e,"maintenance"),severity:g(e,"maintenance"),visible:t.maintenance},{label:"Repair Ticketing",icon:"repair-ticketing",info:d(e,"repairTicketing"),severity:g(e,"repairTicketing"),visible:t.repairTicketing},{label:"Tracking",icon:"tracking",info:d(e,"tracking"),severity:g(e,"tracking"),visible:t.tracking}].filter((e=>e.visible));return[..."transaction"===i.type?r:[],...a]})),n=e=>{switch(e){case"borrowing":return"This user has borrowing role";case"assignment":return"This user has assignment role";case"disposal":return"This user has disposal role";case"audit":return"This user has audit role";case"repairTicketing":return"This user has repair ticketing role";case"transfer":return"This user has transfer role";case"maintenance":return"This user has maintenance routine role";case"tracking":return"This user has tracking role";default:return"This user doesn't have role"}},a=e=>{switch(e){case"borrowing":return"This asset can be borrowed";case"assignment":return"This asset can be assigned";case"disposal":return"This asset can be disposed";case"transfer":return"This asset can be transferred";default:return"This asset can be transacted"}},l=e=>{switch(e){case"borrowing":return"This asset cannot be borrowed";case"assignment":return"This asset cannot be assigned";case"disposal":return"This asset cannot be disposed";case"transfer":return"This asset cannot be transferred";default:return"This asset cannot be transacted"}},s=e=>{switch(e){case"borrowing":case"assignment":case"disposal":case"transfer":return a(e);case"audit":return"This asset has Audit Addon";case"assetControl":return"This asset has Asset Control Addon";case"maintenance":return"This asset has Maintenance Routine Addon";case"repairTicketing":return"This asset has Repair Ticketing Addon";case"tracking":return"This asset has Tracking Addon"}},c=e=>{switch(e){case"borrowing":return"This user doesn't have borrowing role";case"assignment":return"This user doesn't have assignment role";case"disposal":return"This user doesn't have disposal role";case"audit":return"This user doesn't have audit role";case"repairTicketing":return"This user doesn't have repair ticketing role";case"transfer":return"This user doesn't have transfer role";case"maintenance":return"This user doesn't have maintenance routine role";case"tracking":return"This user doesn't have tracking role";default:return"This user doesn't have role"}},A=e=>{switch(e){case"borrowing":case"assignment":case"disposal":case"transfer":return l(e);case"audit":return"This asset doesn't have Audit Addon";case"assetControl":return"This asset doesn't have Asset Control Addon";case"maintenance":return"This asset doesn't have Maintenance Routine Addon";case"repairTicketing":return"This asset doesn't have Repair Ticketing Addon";case"tracking":return"This asset doesn't have Tracking Addon"}},M=(e,t)=>{var r;if("transaction-policy"===i.type)return!!(null==(r=e.transactions)?void 0:r[t]);const n="addon"===i.type?e.addOn:"user"===o.value?e.transactionRoles:e.transactions,a=u(e,t),l=!!(null==n?void 0:n[t]),s=!!(null==n?void 0:n[t]);return("addon"===i.type?l:s)&&a},u=(e,t)=>{if(["repairTicketing","maintenance","tracking","audit","assetControl"].includes(t)&&e.licenseStatuses){const i=e.licenseStatuses[t];return"asset"!==o.value||!!i&&["Managed","Active"].includes(i)}return!0},g=(e,t)=>M(e,t)?"primary":void 0,d=(e,t)=>((e,t)=>"transaction-policy"===i.type?e?a(t):l(t):e?"user"===o.value?n(t):s(t):"user"===o.value?c(t):A(t))(M(e,t),t);return(e,i)=>(t.openBlock(),t.createElementBlock("div",mQ,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.value,(e=>(t.openBlock(),t.createBlock(cc,{key:e.label,class:t.normalizeClass(["text-xs",{"text-general-200":!e.severity}]),"data-role-name":e.label,icon:e.icon,info:e.info,severity:e.severity},null,8,["class","data-role-name","icon","info","severity"])))),128))]))}}),xQ={name:"_blank",styles:[],timeout:1e3,autoClose:!0,windowTitle:window.document.title},LQ=function(e={}){const i=__VUE_I18N_LEGACY_API__&&ti(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=!ti(e.globalInjection)||e.globalInjection,r=!__VUE_I18N_LEGACY_API__||!i||!!e.allowComposition,n=new Map,[a,l]=function(e,i){const o=t.effectScope();{const t=__VUE_I18N_LEGACY_API__&&i?o.run((()=>Fr(e))):o.run((()=>Ur(e)));if(null==t)throw wr(Tr.UNEXPECTED_ERROR);return[o,t]}}(e,i),s=Rt("");{const e={get mode(){return __VUE_I18N_LEGACY_API__&&i?"legacy":"composition"},get allowComposition(){return r},async install(r,...n){if(r.__VUE_I18N_SYMBOL__=s,r.provide(r.__VUE_I18N_SYMBOL__,e),ni(n[0])){const t=n[0];e.__composerExtend=t.__composerExtend,e.__vueI18nExtend=t.__vueI18nExtend}let a=null;!i&&o&&(a=function(e,i){const o=Object.create(null);$r.forEach((e=>{const r=Object.getOwnPropertyDescriptor(i,e);if(!r)throw wr(Tr.UNEXPECTED_ERROR);const n=t.isRef(r.value)?{get:()=>r.value.value,set(e){r.value.value=e}}:{get:()=>r.get&&r.get()};Object.defineProperty(o,e,n)})),e.config.globalProperties.$i18n=o,en.forEach((t=>{const o=Object.getOwnPropertyDescriptor(i,t);if(!o||!o.value)throw wr(Tr.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${t}`,o)}));const r=()=>{delete e.config.globalProperties.$i18n,en.forEach((t=>{delete e.config.globalProperties[`$${t}`]}))};return r}(r,e.global)),__VUE_I18N_FULL_INSTALL__&&Xr(r,e,...n),__VUE_I18N_LEGACY_API__&&i&&r.mixin(function(e,i,o){return{beforeCreate(){const r=t.getCurrentInstance();if(!r)throw wr(Tr.UNEXPECTED_ERROR);const n=this.$options;if(n.i18n){const t=n.i18n;if(n.__i18n&&(t.__i18n=n.__i18n),t.__root=i,this===this.$root)this.$i18n=Zr(e,t);else{t.__injectWithOption=!0,t.__extender=o.__vueI18nExtend,this.$i18n=Fr(t);const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(n.__i18n)if(this===this.$root)this.$i18n=Zr(e,n);else{this.$i18n=Fr({__i18n:n.__i18n,__injectWithOption:!0,__extender:o.__vueI18nExtend,__root:i});const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}else this.$i18n=e;n.__i18nGlobal&&kr(i,n,n),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$tc=(...e)=>this.$i18n.tc(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e),o.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const e=t.getCurrentInstance();if(!e)throw wr(Tr.UNEXPECTED_ERROR);const i=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,i.__disposer&&(i.__disposer(),delete i.__disposer,delete i.__extender),o.__deleteInstance(e),delete this.$i18n}}}(l,l.__composer,e));const c=r.unmount;r.unmount=()=>{a&&a(),e.dispose(),c()}},get global(){return l},dispose(){a.stop()},__instances:n,__getInstance:function(e){return n.get(e)||null},__setInstance:function(e,t){n.set(e,t)},__deleteInstance:function(e){n.delete(e)}};return e}}({locale:"en",fallbackLocale:"en",legacy:!1}),fQ={install:e=>{e.use(q,{unstyled:!0,pt:Oa}),e.use(LQ),e.use(te),e.use(Nl,xQ),e.directive("tooltip",gl),e.directive("focus",dl),e.component("DialogDamageLog",As),e.component("DialogMissingLog",zs),e.component("DialogTransferLog",Rl),e.component("TSAssetInfo",Xs),e.component("TSApproverInfo",lc),e.component("TSBadge",Xc),e.component("TSBadgeGroup",jA),e.component("TSBreadcrumb",mA),e.component("TSButton",Jc),e.component("TSButtonAddByScan",BA),e.component("TSButtonBulkAction",RA),e.component("TSButtonCopy",yM),e.component("TSButtonDownload",IM),e.component("TSButtonFilter",GA),e.component("TSButtonLogHistory",pM),e.component("TSButtonRadio",BM),e.component("TSButtonViewLog",uD),e.component("TSButtonScan",Zu),e.component("TSButtonSearch",tg),e.component("TSButtonSearchByScan",cg),e.component("TSButtonSelectTree",ad),e.component("TSDialogSelectAsset",Jw),e.component("TSButtonSelectUser",nD),e.component("TSDisposalReport",jL),e.component("TSButtonSync",aD),e.component("TSButtonToggle",MD),e.component("TSCalendar",tm),e.component("TSCard",om),e.component("TSCarousel",lm),e.component("TSCheckbox",_g),e.component("TSCustomColumn",mT),e.component("TSDatePicker",Am),e.component("TSDataTable",CT),e.component("TSDayPicker",gm),e.component("TSDialog",IA),e.component("TSDialogApprovalList",oc),e.component("TSDialogAssetNameDetail",jm),e.component("TSDialogConfirm",Vu),e.component("TSDialogForm",fm),e.component("TSDialogLinkedAsset",Sm),e.component("TSDialogPrintQR",Rx),e.component("TSDialogReportDamage",Zx),e.component("TSDialogReportMissing",oL),e.component("TSDialogReportTag",aL),e.component("TSDialogSelectTree",rd),e.component("TSDialogSelectUser",tD),e.component("TSDropdown",ju),e.component("TSFilterContainer",ew),e.component("TSFileUpload",qL),e.component("TSForm",mm),e.component("TSIcon",cc),e.component("TSImage",Ow),e.component("TSImageCompressor",nC),e.component("TSInlineMessage",fu),e.component("TSInputBadge",lC),e.component("TSInputCurrency",uC),e.component("TSInputCurrencyReference",dC),e.component("TSInputEmail",EC),e.component("TSInputNumber",Ym),e.component("TSInputOTP",pC),e.component("TSInputPassword",CC),e.component("TSInputPhoneNumber",vC),e.component("TSInputRangeNumber",OC),e.component("TSInputSearch",UC),e.component("TSInputText",NC),e.component("TSInputURL",FC),e.component("TSLoading",HC),e.component("TSMenu",KC),e.component("TSMultiSelect",qT),e.component("TSOverlayPanel",ag),e.component("TSPaginator",XC),e.component("TSProgressBar",qC),e.component("TSSteps",eQ),e.component("TSTabMenu",AQ),e.component("TSTagType",nw),e.component("TSTextarea",AL),e.component("TSTimeline",DQ),e.component("TSToast",EM),e.component("TSTransactionRoles",BQ),e.component("TSTree",ed),e.component("TSTreeSearchInput",Mg),e.component("TSUserWithIcon",qs),e.component("TSValidatorMessage",kM)}},zQ=Object.freeze(Object.defineProperty({__proto__:null,default:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkyIiBoZWlnaHQ9IjE5MiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8IS0tIE5vIGNvbnRlbnQsIGZ1bGx5IHRyYW5zcGFyZW50IC0tPgo8L3N2Zz4="},Symbol.toStringTag,{value:"Module"})),CQ=Object.freeze(Object.defineProperty({__proto__:null,default:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkyIiBoZWlnaHQ9IjE5MiIgdmlld0JveD0iMCAwIDE5MiAxOTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik03NS4yNDY5IDExMS45NzFMNzQuNzk2IDExNC4wNjlDNzY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0iYmxhY2siLz4KPC9zdmc+Cg=="},Symbol.toStringTag,{value:"Module"}));e.AssetBrandService=un,e.AssetNameService=Mn,e.AssetsServices=cn,e.DialogDamageLog=As,e.DialogMissingLog=zs,e.DialogTransferLog=Rl,e.DisposalAPI=gn,e.DisposalServices=dn,e.FilterMatchMode=U,e.Focus=dl,e.LibConfig=q,e.Presets=Oa,e.RoutineAPI=yn,e.RoutineServices=In,e.TSApproverInfo=lc,e.TSAssetInfo=Xs,e.TSBadge=Xc,e.TSBadgeGroup=jA,e.TSBreadcrumb=mA,e.TSButton=Jc,e.TSButtonAddByScan=BA,e.TSButtonBulkAction=RA,e.TSButtonCopy=yM,e.TSButtonDownload=IM,e.TSButtonFilter=GA,e.TSButtonLogHistory=pM,e.TSButtonRadio=BM,e.TSButtonScan=Zu,e.TSButtonSearch=tg,e.TSButtonSearchByScan=cg,e.TSButtonSelectTree=ad,e.TSButtonSelectUser=nD,e.TSButtonSync=aD,e.TSButtonToggle=MD,e.TSButtonViewLog=uD,e.TSCalendar=tm,e.TSCard=om,e.TSCarousel=lm,e.TSCheckbox=_g,e.TSCustomColumn=mT,e.TSDataTable=CT,e.TSDatePicker=Am,e.TSDayPicker=gm,e.TSDialog=IA,e.TSDialogApprovalList=oc,e.TSDialogAssetNameDetail=jm,e.TSDialogConfirm=Vu,e.TSDialogForm=fm,e.TSDialogLinkedAsset=Sm,e.TSDialogPrintQR=Rx,e.TSDialogReportDamage=Zx,e.TSDialogReportMissing=oL,e.TSDialogReportTag=aL,e.TSDialogSelectAsset=Jw,e.TSDialogSelectTree=rd,e.TSDialogSelectUser=tD,e.TSDisposalReport=jL,e.TSDropdown=ju,e.TSFileUpload=qL,e.TSFilterContainer=ew,e.TSForm=mm,e.TSIcon=cc,e.TSImage=Ow,e.TSImageCompressor=nC,e.TSInlineMessage=fu,e.TSInputBadge=lC,e.TSInputCurrency=uC,e.TSInputCurrencyReference=dC,e.TSInputEmail=EC,e.TSInputNumber=Ym,e.TSInputOTP=pC,e.TSInputPassword=CC,e.TSInputPhoneNumber=vC,e.TSInputRangeNumber=OC,e.TSInputSearch=UC,e.TSInputText=NC,e.TSInputURL=FC,e.TSLoading=HC,e.TSMenu=KC,e.TSMultiSelect=qT,e.TSOverlayPanel=ag,e.TSPaginator=XC,e.TSProgressBar=qC,e.TSSteps=eQ,e.TSTabMenu=AQ,e.TSTagType=nw,e.TSTextarea=AL,e.TSTimeline=DQ,e.TSToast=EM,e.TSToastService=te,e.TSTransactionRoles=BQ,e.TSTree=ed,e.TSTreeSearchInput=Mg,e.TSUserWithIcon=qs,e.TSValidatorMessage=kM,e.TSi18n=LQ,e.Tooltip=gl,e.TreeAPI=Nn,e.VueHtmlToPaper=Nl,e.buildBodyParams=an,e.checkRouteAccess=(e,t,i)=>{if(window.__isLoggingOut__)return i();const{userType:r}=JSON.parse(localStorage.getItem("user")??"{}"),{hasAccess:n}=e.meta,a="Admin"===r,l=e.path.includes("handover-confirmation")||e.path.includes("my-profile");n&&(a||l)?i():o.navigateToUrl("/not-found")},e.clearStorage=ne,e.default=fQ,e.downloadFile=async(e,t,i=!0,o=!1)=>{const{blob:r,fileName:n}=await zt(e);let a="";const l=/^(image|application\/pdf)/i.test(r.type),s=t??n;if(s)if(l&&o){const e=new File([r],s,{type:r.type});a=URL.createObjectURL(e),window.open(a,"_blank")}else{a=URL.createObjectURL(r);const e=document.createElement("a");e.href=a,e.download=s,document.body.appendChild(e),e.click(),e.remove()}return i&&URL.revokeObjectURL(a),a},e.exportToExcel=wt,e.filterNodeKeys=Fa,e.flattenTreeNodeChildren=Ya,e.forceLogout=ae,e.formatCurrency=(e,t,i=!0)=>{const{locale:o,currency:r}=Ut(t);return null==e?"-":Number(e).toLocaleString(o,{style:i?"currency":void 0,currency:r}).replace("Rp ","Rp")},e.formatDate=xt,e.formatDateReadable=(e,t)=>{const i=Math.floor(((new Date).valueOf()-new Date(e).valueOf())/1e3);if(t&&i>t)return xt(e);const o=Math.floor(i/31536e3);if(o>1)return o+" years ago";if(1===o)return o+" year ago";const r=Math.floor(i/2628e3);if(r>1)return r+" months ago";if(1===r)return r+" month ago";const n=Math.floor(i/86400);if(n>1)return n+" days ago";if(1===n)return n+" day ago";const a=Math.floor(i/3600);if(a>1)return a+" hours ago";if(1===a)return a+" hour ago";const l=Math.floor(i/60);return l>1?l+" minutes ago":1===l?l+" minute ago":"just now"},e.formatGoDate=Bt,e.formatUserName=oe,e.formatVowelSoundLabel=ie,e.getBaseURL=e=>window.Cypress?Cypress.env("CY_"+e):{VITE_APP_TAGSAMURAI_API:"https://dev-api.tagsamurai.com/fam",VITE_APP_ASSETS_URL:"https://assets.tagsamurai.com",VITE_APP_WSS_RFID_READER_API:"wss://dev-api.tagsamurai.com/rfid-reader-go/",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1}["VITE_"+e],e.getCurrency=Ut,e.getHostName=e=>{if(!e)return"";return new URL(e).hostname},e.getImageURL=Ct,e.getNestedProperyValue=ln,e.getSeverityByAssetStatus=on,e.getSystemRole=kt,e.getTransactionRole=Qt,e.getUserLocale=mt,e.handleTokenExpiration=e=>{e.interceptors.response.use((e=>e),(e=>{var t;return 401===(null==(t=e.response)?void 0:t.status)&&ae(),Promise.reject(e)}))},e.hasAccessToAssetDetail=Ot,e.hasAnyManagerRole=()=>{const{transactionRoles:e}=JSON.parse(localStorage.getItem("user")??"{}");return Object.entries(e).some((([,e])=>e.manager))},e.hasAnyMonitoringReportRole=()=>{const{transactionRoles:e}=JSON.parse(localStorage.getItem("user")??"{}");return Object.entries(e).some((([,e])=>e.monitoringReport))},e.hasApprovalRole=e=>{const{approver:t}=Qt(e);return t},e.hasManagerRole=vt,e.hasMonitoringReportRole=e=>{const{monitoringReport:t}=Qt(e);return t},e.hasStaffRole=St,e.hasSystemRole=bt,e.hasTransactionRole=e=>{const{manager:t,staff:i,monitoringReport:o}=Qt(e);return t||i||o},e.isObjectEmpty=e=>{if(!e)return!0;return!Object.keys(e).length},e.isValidJSONString=nn,e.listenSidebarChanges=(e,t)=>{window.addEventListener("group"===e?"groupSidebarChanged":"categorySidebarChanged",t)},e.parseNodeKeys=Ua,e.reLogin=async()=>{const e=localStorage.getItem("user");e||ae();try{const t=JSON.parse(e),{token:i}=t,o=await rn({jwt:i});if(null==o?void 0:o.data){const e=o.data.data;return localStorage.setItem("user",JSON.stringify(e)),!0}return ae(),!1}catch(t){return t}},e.unListenSidebarChanges=(e,t)=>{window.removeEventListener("group"===e?"groupSidebarChanged":"categorySidebarChanged",t)},e.useField=(e,t,i)=>Na(e,t,i),e.useForm=()=>{const{values:e,handleSubmit:t,setValues:i,setFieldValue:o,errors:r}=ja();return{values:e,handleSubmit:t,setValues:i,setFieldValue:o,errors:r}},e.useI18n=()=>{const{t:e}=qr();return{t:(t,i,o)=>{const r=(e=>e.trim().replace(/\s+/g,"_"))(t);return i?e(r,i,o):e(r,o).replaceAll("_"," ")}}},e.useLoadingStore=Ga,e.useToast=Lt,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tsv2-library",
3
3
  "author": "fixedassetv2-fe",
4
- "version": "1.0.61-alpha.89",
4
+ "version": "1.0.61-alpha.90",
5
5
  "license": "ISC",
6
6
  "homepage": "https://github.com/fixedassetv2-fe/tsv2-library#readme",
7
7
  "repository": {