2 lines
56 KiB
JavaScript
2 lines
56 KiB
JavaScript
"use strict";(self["webpackChunkcomplexes"]=self["webpackChunkcomplexes"]||[]).push([[751],{12463:function(e,t,n){n.d(t,{A:function(){return y}});n(44114);var i=n(15171),o=n(76049),a=n(21585),r=n(92565),l=n(94455),s=n(309),c=n(9361),u=n(62283),d=n(56768),p=n(45130),h=n(24232),f="\n.p-confirm-popup {\n position: absolute;\n margin-top: 10px;\n top: 0;\n left: 0;\n}\n\n.p-confirm-popup-flipped {\n margin-top: 0;\n margin-bottom: 10px;\n}\n\n/* Animation */\n.p-confirm-popup-enter-from {\n opacity: 0;\n transform: scaleY(0.8);\n}\n\n.p-confirm-popup-leave-to {\n opacity: 0;\n}\n\n.p-confirm-popup-enter-active {\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n}\n\n.p-confirm-popup-leave-active {\n transition: opacity 0.1s linear;\n}\n\n.p-confirm-popup:after,\n.p-confirm-popup:before {\n bottom: 100%;\n left: calc(var(--overlayArrowLeft, 0) + 1.25rem);\n content: ' ';\n height: 0;\n width: 0;\n position: absolute;\n pointer-events: none;\n}\n\n.p-confirm-popup:after {\n border-width: 8px;\n margin-left: -8px;\n}\n\n.p-confirm-popup:before {\n border-width: 10px;\n margin-left: -10px;\n}\n\n.p-confirm-popup-flipped:after,\n.p-confirm-popup-flipped:before {\n bottom: auto;\n top: 100%;\n}\n\n.p-confirm-popup.p-confirm-popup-flipped:after {\n border-bottom-color: transparent;\n}\n\n.p-confirm-popup.p-confirm-popup-flipped:before {\n border-bottom-color: transparent;\n}\n\n.p-confirm-popup .p-confirm-popup-content {\n display: flex;\n align-items: center;\n}\n",m={root:function(e){var t=e.instance;return["p-confirm-popup p-component",{"p-input-filled":"filled"===t.$primevue.config.inputStyle,"p-ripple-disabled":!1===t.$primevue.config.ripple}]},content:"p-confirm-popup-content",icon:function(e){var t=e.instance;return["p-confirm-popup-icon",t.confirmation?t.confirmation.icon:null]},message:"p-confirm-popup-message",footer:"p-confirm-popup-footer",rejectButton:function(e){var t=e.instance;return["p-confirm-dialog-reject",t.confirmation?t.confirmation.rejectClass||"p-button-text":null]},acceptButton:function(e){var t=e.instance;return["p-confirm-dialog-accept",t.confirmation?t.confirmation.acceptClass:null]}},v=(0,u.X)(f,{name:"confirmpopup",manual:!0}),g=v.load,C={name:"BaseConfirmPopup",extends:c.A,props:{group:String},css:{classes:m,loadStyle:g},provide:function(){return{$parentInstance:this}}},y={name:"ConfirmPopup",extends:C,inheritAttrs:!1,data:function(){return{visible:!1,confirmation:null,autoFocusAccept:null,autoFocusReject:null}},target:null,outsideClickListener:null,scrollHandler:null,resizeListener:null,container:null,confirmListener:null,closeListener:null,mounted:function(){var e=this;this.confirmListener=function(t){t&&t.group===e.group&&(e.confirmation=t,e.target=t.target,e.confirmation.onShow&&e.confirmation.onShow(),e.visible=!0)},this.closeListener=function(){e.visible=!1,e.confirmation=null},o.A.on("confirm",this.confirmListener),o.A.on("close",this.closeListener)},beforeUnmount:function(){o.A.off("confirm",this.confirmListener),o.A.off("close",this.closeListener),this.unbindOutsideClickListener(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.unbindResizeListener(),this.container&&(s.Q$.clear(this.container),this.container=null),this.target=null,this.confirmation=null},methods:{accept:function(){this.confirmation.accept&&this.confirmation.accept(),this.visible=!1},reject:function(){this.confirmation.reject&&this.confirmation.reject(),this.visible=!1},onHide:function(){this.confirmation.onHide&&this.confirmation.onHide(),this.visible=!1},onAcceptKeydown:function(e){"Space"!==e.code&&"Enter"!==e.code||(this.accept(),s.DV.focus(this.target),e.preventDefault())},onRejectKeydown:function(e){"Space"!==e.code&&"Enter"!==e.code||(this.reject(),s.DV.focus(this.target),e.preventDefault())},onEnter:function(e){this.autoFocusAccept=void 0===this.confirmation.defaultFocus||"accept"===this.confirmation.defaultFocus,this.autoFocusReject="reject"===this.confirmation.defaultFocus,this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),s.Q$.set("overlay",e,this.$primevue.config.zIndex.overlay)},onAfterEnter:function(){this.focus()},onLeave:function(){this.autoFocusAccept=null,this.autoFocusReject=null,this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener()},onAfterLeave:function(e){s.Q$.clear(e)},alignOverlay:function(){s.DV.absolutePosition(this.container,this.target);var e=s.DV.getOffset(this.container),t=s.DV.getOffset(this.target),n=0;e.left<t.left&&(n=t.left-e.left),this.container.style.setProperty("--overlayArrowLeft","".concat(n,"px")),e.top<t.top&&(this.container.setAttribute("data-p-confirm-popup-flipped","true"),!this.isUnstyled&&s.DV.addClass(this.container,"p-confirm-popup-flipped"))},bindOutsideClickListener:function(){var e=this;this.outsideClickListener||(this.outsideClickListener=function(t){e.visible&&e.container&&!e.container.contains(t.target)&&!e.isTargetClicked(t)?(e.confirmation.onHide&&e.confirmation.onHide(),e.visible=!1):e.alignOverlay()},document.addEventListener("click",this.outsideClickListener))},unbindOutsideClickListener:function(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener),this.outsideClickListener=null)},bindScrollListener:function(){var e=this;this.scrollHandler||(this.scrollHandler=new s.bM(this.target,(function(){e.visible&&(e.visible=!1)}))),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var e=this;this.resizeListener||(this.resizeListener=function(){e.visible&&!s.DV.isTouchDevice()&&(e.visible=!1)},window.addEventListener("resize",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},focus:function(){var e=this.container.querySelector("[autofocus]");e&&e.focus({preventScroll:!0})},isTargetClicked:function(e){return this.target&&(this.target===e.target||this.target.contains(e.target))},containerRef:function(e){this.container=e},onOverlayClick:function(e){r.A.emit("overlay-click",{originalEvent:e,target:this.target})},onOverlayKeydown:function(e){"Escape"===e.code&&(o.A.emit("close",this.closeListener),s.DV.focus(this.target))},getCXOptions:function(e,t){return{contenxt:{icon:e,iconClass:t["class"]}}}},computed:{message:function(){return this.confirmation?this.confirmation.message:null},acceptLabel:function(){return this.confirmation?this.confirmation.acceptLabel||this.$primevue.config.locale.accept:null},rejectLabel:function(){return this.confirmation?this.confirmation.rejectLabel||this.$primevue.config.locale.reject:null},acceptIcon:function(){return this.confirmation?this.confirmation.acceptIcon:null},rejectIcon:function(){return this.confirmation?this.confirmation.rejectIcon:null}},components:{CPButton:i.A,Portal:l.A},directives:{focustrap:a.A}};function b(e){return b="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},b(e)}function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function x(e,t,n){return t=k(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function k(e){var t=V(e,"string");return"symbol"===b(t)?t:String(t)}function V(e,t){if("object"!==b(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==b(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var F=["aria-modal"];function _(e,t,n,i,o,a){var r=(0,d.g2)("CPButton"),l=(0,d.g2)("Portal"),s=(0,d.gN)("focustrap");return(0,d.uX)(),(0,d.Wv)(l,null,{default:(0,d.k6)((function(){return[(0,d.bF)(p.eB,(0,d.v6)({name:"p-confirm-popup",onEnter:a.onEnter,onAfterEnter:a.onAfterEnter,onLeave:a.onLeave,onAfterLeave:a.onAfterLeave},e.ptm("transition")),{default:(0,d.k6)((function(){return[o.visible?(0,d.bo)(((0,d.uX)(),(0,d.CE)("div",(0,d.v6)({key:0,ref:a.containerRef,role:"alertdialog",class:e.cx("root"),"aria-modal":o.visible,onClick:t[2]||(t[2]=function(){return a.onOverlayClick&&a.onOverlayClick.apply(a,arguments)}),onKeydown:t[3]||(t[3]=function(){return a.onOverlayKeydown&&a.onOverlayKeydown.apply(a,arguments)})},L(L({},e.$attrs),e.ptm("root"))),[e.$slots.message?((0,d.uX)(),(0,d.Wv)((0,d.$y)(e.$slots.message),{key:1,message:o.confirmation},null,8,["message"])):((0,d.uX)(),(0,d.CE)("div",(0,d.v6)({key:0,class:e.cx("content")},e.ptm("content")),[(0,d.RG)(e.$slots,"icon",{},(function(){return[e.$slots.icon?((0,d.uX)(),(0,d.Wv)((0,d.$y)(e.$slots.icon),{key:0,class:(0,h.C4)(e.cx("icon"))},null,8,["class"])):o.confirmation.icon?((0,d.uX)(),(0,d.CE)("span",(0,d.v6)({key:1,class:e.cx("icon")},e.ptm("icon")),null,16)):(0,d.Q3)("",!0)]})),(0,d.Lk)("span",(0,d.v6)({class:e.cx("message")},e.ptm("message")),(0,h.v_)(o.confirmation.message),17)],16)),(0,d.Lk)("div",(0,d.v6)({class:e.cx("footer")},e.ptm("footer")),[(0,d.bF)(r,{label:a.rejectLabel,onClick:t[0]||(t[0]=function(e){return a.reject()}),onKeydown:a.onRejectKeydown,autofocus:o.autoFocusReject,class:(0,h.C4)(e.cx("rejectButton")),unstyled:e.unstyled,pt:e.ptm("rejectButton"),"data-pc-name":"rejectbutton"},(0,d.eX)({_:2},[a.rejectIcon||e.$slots.rejecticon?{name:"icon",fn:(0,d.k6)((function(t){return[(0,d.RG)(e.$slots,"rejecticon",{},(function(){return[(0,d.Lk)("span",(0,d.v6)({class:[a.rejectIcon,t["class"]]},e.ptm("rejectButton")["icon"],{"data-pc-name":"rejectbuttonicon"}),null,16)]}))]})),key:"0"}:void 0]),1032,["label","onKeydown","autofocus","class","unstyled","pt"]),(0,d.bF)(r,{label:a.acceptLabel,onClick:t[1]||(t[1]=function(e){return a.accept()}),onKeydown:a.onAcceptKeydown,autofocus:o.autoFocusAccept,class:(0,h.C4)(e.cx("acceptButton")),unstyled:e.unstyled,pt:e.ptm("acceptButton"),"data-pc-name":"acceptbutton"},(0,d.eX)({_:2},[a.acceptIcon||e.$slots.accepticon?{name:"icon",fn:(0,d.k6)((function(t){return[(0,d.RG)(e.$slots,"accepticon",{},(function(){return[(0,d.Lk)("span",(0,d.v6)({class:[a.acceptIcon,t["class"]]},e.ptm("acceptButton")["icon"],{"data-pc-name":"acceptbuttonicon"}),null,16)]}))]})),key:"0"}:void 0]),1032,["label","onKeydown","autofocus","class","unstyled","pt"])],16)],16,F)),[[s]]):(0,d.Q3)("",!0)]})),_:3},16,["onEnter","onAfterEnter","onLeave","onAfterLeave"])]})),_:3})}y.render=_},15751:function(e,t,n){n.r(t),n.d(t,{default:function(){return Ke}});n(44114);var i=n(56768),o=n(24232),a=n(45130),r=n(90144),l=n(81387),s=n(12463),c=n(40141),u=n(54409),d=n(22093),p=n(82815),h=n(85646),f=n(11348),m=n(39493),v=n(71272),g=n(57404),C=n(73844),y=n(86505),b=n(38343),w=n(35782),L=n(5274),x=n(70670),k=n(43535),V=n(56325),F=n(37444),_=n(29094),E=n(40478),A=n(77739),S=n(22535),D=n(17425),H=n(6268),I=n(18474),P=n(65502),O=n(93754),j=n(20856);function M(e,t,n){const i=(0,r.KR)(),o=(0,r.KR)(null),a=t=>{i.value=new c(e.image,"map",(function(){R()})),l(t)},l=function(e){const t=document.querySelector("#map"),n=e.querySelector(".modal-dialog"),i=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop,o=parseInt(n.style.marginTop)+parseInt(n.style.marginBottom);t.style.height=window.innerHeight-(t.getBoundingClientRect().top-i)-o+"px"},s=()=>{i.value.setColor(e.hover_color,.25)};function c(e,t,n){this.target=t,this.imageElement=new Image,this.imageElement.onload=()=>{this.onImageLoad(),n()},this.imageElement.src=e}function u(e){this.interaction=new A.A({features:i.value?i.value.features:new C.A,deleteCondition:function(e){return(0,S.Kg)(e)&&(0,S.t5)(e)}}),e.addInteraction(this.interaction)}function d(e){this.interaction=new D.A,e.addInteraction(this.interaction),this.setEvents()}function p(e,t){this.interaction=new H.Ay({source:t.getSource(),type:"Polygon",freehand:!1,condition:function(e){return 1==e.originalEvent.which}}),this.interaction.setActive(!1),e.addInteraction(this.interaction)}function M(e,t){const n=new P.A({source:t.getSource()});e.addInteraction(n)}function R(){B(),T(),s()}function B(){(e.figures||[]).forEach((function(e){const t=new j.A({geometry:new O.Ay([e.points])});t.setId(e.id),t.set("enrance_id",e.enrance_id),t.set("floor_id",e.floor_id);try{i.value.sourceVector.addFeature(t)}catch(n){location.reload()}}))}function T(){i.value&&(i.value.map.getViewport().addEventListener("contextmenu",(function(e){e.preventDefault(),$(e)})),i.value.draw.interaction.on("change",(function(){})),i.value.draw.interaction.on("drawstart",(function(e){i.value.draw.sketchFeature_=e.target.sketchFeature_})),i.value.draw.interaction.on("drawend",(function(e){i.value.draw.sketchFeature_=e.target.sketchFeature_;Math.random().toString(16).slice(2);const t=e.feature;W(t)})),i.value.map.on("dblclick",(function(e){i.value.draw.interaction.getPointerCount()&&(i.value.draw.interaction.removeLastPoint(),i.value.draw.interaction.removeLastPoint()),z(i.value.map.getEventPixel(e.originalEvent))})))}function $(e){i.value.draw.isEmpty()?i.value.draw.isEmpty()&&z(i.value.map.getEventPixel(e)):i.value.draw.interaction.removeLastPoint()}function z(e){const t=K(e);t&&X(t)}function K(e){let t;return i.value.map.forEachFeatureAtPixel(e,(function(e){"Polygon"==e.getGeometry().getType()&&i.value.features.getArray().indexOf(e)>-1&&(t=e)})),t}function W(e){const n=e.getGeometry();String(e.getId()),n.getCoordinates()[0];t(n.getCoordinates()[0]).then((t=>{t&&(e.setId(t.id),X(e))}))}function Z(e){q()}function X(e){n(e.getId()),i.value.select.clear(),i.value.select.interaction.getFeatures().push(e),i.value.selectFeature=e;const t=e.getGeometry().getCoordinates()[0];let o=t[0];t.forEach((function(e){e[0]>o[0]&&e[1]>o[1]&&(o=e)})),i.value.overlay.setPosition(o),U(e)}function U(e){const t=document.querySelector("#popup");t.addEventListener("mousedown",(e=>{e.stopPropagation(),e.preventDefault()})),document.getElementById("popup-closer").addEventListener("click",(function(){q()}))}function q(){i.value.overlay.setPosition(void 0);const e=document.querySelector("#popup").querySelector("#popup-closer");return e.blur(),i.value.selectFeature=null,!1}function N(e){const t=o.value.getFeatures().find((t=>t.getId()==e));t&&(i.value.sourceVector.removeFeature(t),q())}return c.prototype.onImageLoad=function(){this.createMap(this.imageElement,this.target)},c.prototype.createMap=function(e,t){this.imageLayer=this.createImageLayer(e);const n=document.getElementById(t),i=this.createView(e);this.vector=this.createVector(),this.overlay=this.createOverlay(document.getElementById("popup"));const o=document.createElement("div");o.className="ol-map__pane",n.appendChild(o),this.map=new h.A({layers:[this.imageLayer,this.vector],overlays:[this.overlay],controls:[],target:o,view:i,pixelRatio:1});const a=document.createElement("div");a.className="ol-map__zoom";const r=new f.A({className:"ol-map__zoom-slider facade-zoom-slider"});n.prepend(a),r.setTarget(a),this.map.addControl(r);const l=new m.A({target:a,className:"ol-map__zoom-btns",zoomInLabel:"+",zoomOutLabel:"−",delta:1}),s=document.createElement("div");s.className="ol-map__zoom-label",s.textContent="масштаб",a.appendChild(s),this.map.addControl(l),this.addInteractionsToMap(this.map,this.vector),this.addEvents()},c.prototype.addInteractionsToMap=function(e,t){this.modify=new u(e),this.modify.setActive(!0),this.select=new d(e),this.select.setActive(!0),this.draw=new p(e,t),this.draw.setActive(!0),this.snap=new M(e,t)},c.prototype.setColor=function(e,t){this.color=e,this.opacity=t||20;const n=this.vector?.getStyle();n&&n.getFill().setColor(this.hexToRgba(this.color,this.opacity))},c.prototype.hexToRgba=function(e,t){if(!e)return;e=e.replace("#","");const n={r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16)};return t?(t=t>1?t/100:t,"rgba("+n.r+", "+n.g+", "+n.b+", "+t+")"):"rgba("+n.r+", "+n.g+", "+n.b+")"},c.prototype.addEvents=function(){this.map.on("click",(function(){})),this.map.on("pointermove",(function(e){const t=1===i.value.opacity?.99:i.value.opacity,n=new y.Ay({fill:new b.A({color:i.value.hexToRgba(i.value.color,1-t)}),stroke:new w.A({color:"#0000000",width:.01}),image:new L.A({radius:7,fill:new b.A({color:i.value.hexToRgba(i.value.color)})})});let o;this.forEachFeatureAtPixel(e.pixel,(function(e){"Polygon"==e.getGeometry().getType()&&(o=e)})),o&&i.value.features.getArray().indexOf(o)>-1?(i.value.hovered=!0,o.setStyle(n),i.value.removeStyleFromFeatures(o)):i.value.hovered&&(i.value.hovered=!1,i.value.removeStyleFromFeatures())}))},c.prototype.removeStyleFromFeatures=function(e){this.sourceVector?.getFeatures().forEach((t=>{e?t.getId()!==e.getId()&&t.setStyle(i.value.createStyle()):t.setStyle(i.value.createStyle())}))},c.prototype.createVector=function(){this.sourceVector=this.createSourceVector(),o.value=this.sourceVector;const e=this.createStyle();return new v.A({source:this.sourceVector,style:e})},c.prototype.createSourceVector=function(){return this.features=new C.A,new g.A({features:this.features})},c.prototype.createStyle=function(){return new y.Ay({fill:new b.A({color:i.value.hexToRgba(i.value.color,.25)}),stroke:new w.A({color:"#ffcc33",width:2}),image:new L.A({radius:7,fill:new b.A({color:"#ffcc33"})})})},c.prototype.createView=function(e){const t=this.createProjection(e);return new x.Ay({projection:t,center:(0,F.q1)([0,0,e.width,e.height]),zoom:2,minZoom:1,maxZoom:6})},c.prototype.createProjection=function(e){return new _.MF({code:"olimage",units:"pixels",extent:[0,0,e.width,e.height]})},c.prototype.createImageLayer=function(e){const t=this.createImageStatic(e);return new k.A({source:t})},c.prototype.createImageStatic=function(e){return new V.A({url:e.src,imageExtent:[0,0,e.width,e.height]})},c.prototype.createOverlay=function(e){return new E.A({element:e,autoPan:{animation:{duration:0}}})},u.prototype.setActive=function(e){this.interaction.setActive(e)},d.prototype.setEvents=function(){this.interaction.on("change:active",function(){this.clear()}.bind(this))},d.prototype.setActive=function(e){this.interaction.setActive(e)},d.prototype.clear=function(){const e=this.interaction.getFeatures();e.forEach((()=>e.remove(this.interaction.getFeatures()[0])))},p.prototype.coordToString=function(e){return(0,I.KN)(e,3)},p.prototype.isOnePoint=function(e){return e.every(function(t){return this.coordToString(e[0])==this.coordToString(t)}.bind(this))},p.prototype.isEmpty=function(){if(!this.getFeature())return!0;const e=this.getFeature().getGeometry().getCoordinates()[0];return!(0!=e.length&&!this.isOnePoint(e))},p.prototype.getFeature=function(){return this.sketchFeature_},p.prototype.getActive=function(){return this.interaction&&this.interaction.getActive()},p.prototype.setActive=function(e){this.interaction.setActive(e)},{start:a,olMap:i,saveOverlay:Z,showOverLay:X,deleteSelectedFeature:N}}var R=n(309),B=n(9361),T=n(62283),$="\n.p-slider {\n position: relative;\n}\n\n.p-slider .p-slider-handle {\n cursor: grab;\n touch-action: none;\n display: block;\n}\n\n.p-slider-range {\n display: block;\n}\n\n.p-slider-horizontal .p-slider-range {\n top: 0;\n left: 0;\n height: 100%;\n}\n\n.p-slider-horizontal .p-slider-handle {\n top: 50%;\n}\n\n.p-slider-vertical {\n height: 100px;\n}\n\n.p-slider-vertical .p-slider-handle {\n left: 50%;\n}\n\n.p-slider-vertical .p-slider-range {\n bottom: 0;\n left: 0;\n width: 100%;\n}\n",z={handle:{position:"absolute"},range:{position:"absolute"}},K={root:function(e){var t=e.props;return["p-slider p-component",{"p-disabled":t.disabled,"p-slider-horizontal":"horizontal"===t.orientation,"p-slider-vertical":"vertical"===t.orientation}]},range:"p-slider-range",handle:"p-slider-handle"},W=(0,T.X)($,{name:"slider",manual:!0}),Z=W.load;W.unload;var X={name:"BaseSlider",extends:B.A,props:{modelValue:[Number,Array],min:{type:Number,default:0},max:{type:Number,default:100},orientation:{type:String,default:"horizontal"},step:{type:Number,default:null},range:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},tabindex:{type:Number,default:0},"aria-labelledby":{type:String,default:null},"aria-label":{type:String,default:null}},css:{classes:K,inlineStyles:z,loadStyle:Z},provide:function(){return{$parentInstance:this}}};function U(e){return G(e)||Q(e)||N(e)||q()}function q(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function N(e,t){if(e){if("string"===typeof e)return Y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Y(e,t):void 0}}function Q(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function G(e){if(Array.isArray(e))return Y(e)}function Y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var J={name:"Slider",extends:X,emits:["update:modelValue","change","slideend"],dragging:!1,handleIndex:null,initX:null,initY:null,barWidth:null,barHeight:null,dragListener:null,dragEndListener:null,beforeUnmount:function(){this.unbindDragListeners()},methods:{updateDomData:function(){var e=this.$el.getBoundingClientRect();this.initX=e.left+R.DV.getWindowScrollLeft(),this.initY=e.top+R.DV.getWindowScrollTop(),this.barWidth=this.$el.offsetWidth,this.barHeight=this.$el.offsetHeight},setValue:function(e){var t,n=e.touches?e.touches[0].pageX:e.pageX,i=e.touches?e.touches[0].pageY:e.pageY;t="horizontal"===this.orientation?100*(n-this.initX)/this.barWidth:100*(this.initY+this.barHeight-i)/this.barHeight;var o=(this.max-this.min)*(t/100)+this.min;if(this.step){var a=this.range?this.modelValue[this.handleIndex]:this.modelValue,r=o-a;r<0?o=a+Math.ceil(o/this.step-a/this.step)*this.step:r>0&&(o=a+Math.floor(o/this.step-a/this.step)*this.step)}else o=Math.floor(o);this.updateModel(e,o)},updateModel:function(e,t){var n,i=parseFloat(t.toFixed(10));this.range?(n=this.modelValue?U(this.modelValue):[],0==this.handleIndex?(i<this.min?i=this.min:i>=this.max&&(i=this.max),n[0]=i):(i>this.max?i=this.max:i<=this.min&&(i=this.min),n[1]=i)):(i<this.min?i=this.min:i>this.max&&(i=this.max),n=i),this.$emit("update:modelValue",n),this.$emit("change",n)},onDragStart:function(e,t){this.disabled||(this.$el.setAttribute("data-p-sliding",!0),this.dragging=!0,this.updateDomData(),this.range&&this.modelValue[0]===this.max?this.handleIndex=0:this.handleIndex=t,e.currentTarget.focus(),e.preventDefault())},onDrag:function(e){this.dragging&&(this.setValue(e),e.preventDefault())},onDragEnd:function(e){this.dragging&&(this.dragging=!1,this.$el.setAttribute("data-p-sliding",!1),this.$emit("slideend",{originalEvent:e,value:this.modelValue}))},onBarClick:function(e){this.disabled||"handle"!==R.DV.getAttribute(e.target,"data-pc-section")&&(this.updateDomData(),this.setValue(e))},onMouseDown:function(e,t){this.bindDragListeners(),this.onDragStart(e,t)},onKeyDown:function(e,t){switch(this.handleIndex=t,e.code){case"ArrowDown":case"ArrowLeft":this.decrementValue(e,t),e.preventDefault();break;case"ArrowUp":case"ArrowRight":this.incrementValue(e,t),e.preventDefault();break;case"PageDown":this.decrementValue(e,t,!0),e.preventDefault();break;case"PageUp":this.incrementValue(e,t,!0),e.preventDefault();break;case"Home":this.updateModel(e,this.min),e.preventDefault();break;case"End":this.updateModel(e,this.max),e.preventDefault();break}},decrementValue:function(e,t){var n,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];n=this.range?this.step?this.modelValue[t]-this.step:this.modelValue[t]-1:this.step?this.modelValue-this.step:!this.step&&i?this.modelValue-10:this.modelValue-1,this.updateModel(e,n),e.preventDefault()},incrementValue:function(e,t){var n,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];n=this.range?this.step?this.modelValue[t]+this.step:this.modelValue[t]+1:this.step?this.modelValue+this.step:!this.step&&i?this.modelValue+10:this.modelValue+1,this.updateModel(e,n),e.preventDefault()},bindDragListeners:function(){this.dragListener||(this.dragListener=this.onDrag.bind(this),document.addEventListener("mousemove",this.dragListener)),this.dragEndListener||(this.dragEndListener=this.onDragEnd.bind(this),document.addEventListener("mouseup",this.dragEndListener))},unbindDragListeners:function(){this.dragListener&&(document.removeEventListener("mousemove",this.dragListener),this.dragListener=null),this.dragEndListener&&(document.removeEventListener("mouseup",this.dragEndListener),this.dragEndListener=null)}},computed:{horizontal:function(){return"horizontal"===this.orientation},vertical:function(){return"vertical"===this.orientation},rangeStyle:function(){if(this.range){var e=this.rangeEndPosition>this.rangeStartPosition?this.rangeEndPosition-this.rangeStartPosition:this.rangeStartPosition-this.rangeEndPosition,t=this.rangeEndPosition>this.rangeStartPosition?this.rangeStartPosition:this.rangeEndPosition;return this.horizontal?{left:t+"%",width:e+"%"}:{bottom:t+"%",height:e+"%"}}return this.horizontal?{width:this.handlePosition+"%"}:{height:this.handlePosition+"%"}},handleStyle:function(){return this.horizontal?{left:this.handlePosition+"%"}:{bottom:this.handlePosition+"%"}},handlePosition:function(){return this.modelValue<this.min?0:this.modelValue>this.max?100:100*(this.modelValue-this.min)/(this.max-this.min)},rangeStartPosition:function(){return this.modelValue&&this.modelValue[0]?100*(this.modelValue[0]<this.min?0:this.modelValue[0]-this.min)/(this.max-this.min):0},rangeEndPosition:function(){return this.modelValue&&2===this.modelValue.length?100*(this.modelValue[1]>this.max?100:this.modelValue[1]-this.min)/(this.max-this.min):100},rangeStartHandleStyle:function(){return this.horizontal?{left:this.rangeStartPosition+"%"}:{bottom:this.rangeStartPosition+"%"}},rangeEndHandleStyle:function(){return this.horizontal?{left:this.rangeEndPosition+"%"}:{bottom:this.rangeEndPosition+"%"}}}},ee=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax","aria-labelledby","aria-label","aria-orientation"],te=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax","aria-labelledby","aria-label","aria-orientation"],ne=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax","aria-labelledby","aria-label","aria-orientation"];function ie(e,t,n,o,a,r){return(0,i.uX)(),(0,i.CE)("div",(0,i.v6)({class:e.cx("root"),onClick:t[15]||(t[15]=function(){return r.onBarClick&&r.onBarClick.apply(r,arguments)})},e.ptm("root"),{"data-p-sliding":!1,"data-pc-name":"slider"}),[(0,i.Lk)("span",(0,i.v6)({class:e.cx("range"),style:[e.sx("range"),r.rangeStyle]},e.ptm("range")),null,16),e.range?(0,i.Q3)("",!0):((0,i.uX)(),(0,i.CE)("span",(0,i.v6)({key:0,class:e.cx("handle"),style:[e.sx("handle"),r.handleStyle],onTouchstart:t[0]||(t[0]=function(e){return r.onDragStart(e)}),onTouchmove:t[1]||(t[1]=function(e){return r.onDrag(e)}),onTouchend:t[2]||(t[2]=function(e){return r.onDragEnd(e)}),onMousedown:t[3]||(t[3]=function(e){return r.onMouseDown(e)}),onKeydown:t[4]||(t[4]=function(e){return r.onKeyDown(e)}),tabindex:e.tabindex,role:"slider","aria-valuemin":e.min,"aria-valuenow":e.modelValue,"aria-valuemax":e.max,"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,"aria-orientation":e.orientation},e.ptm("handle")),null,16,ee)),e.range?((0,i.uX)(),(0,i.CE)("span",(0,i.v6)({key:1,class:e.cx("handle"),style:[e.sx("handle"),r.rangeStartHandleStyle],onTouchstart:t[5]||(t[5]=function(e){return r.onDragStart(e,0)}),onTouchmove:t[6]||(t[6]=function(e){return r.onDrag(e)}),onTouchend:t[7]||(t[7]=function(e){return r.onDragEnd(e)}),onMousedown:t[8]||(t[8]=function(e){return r.onMouseDown(e,0)}),onKeydown:t[9]||(t[9]=function(e){return r.onKeyDown(e,0)}),tabindex:e.tabindex,role:"slider","aria-valuemin":e.min,"aria-valuenow":e.modelValue?e.modelValue[0]:null,"aria-valuemax":e.max,"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,"aria-orientation":e.orientation},e.ptm("startHandler")),null,16,te)):(0,i.Q3)("",!0),e.range?((0,i.uX)(),(0,i.CE)("span",(0,i.v6)({key:2,class:e.cx("handle"),style:[e.sx("handle"),r.rangeEndHandleStyle],onTouchstart:t[10]||(t[10]=function(e){return r.onDragStart(e,1)}),onTouchmove:t[11]||(t[11]=function(e){return r.onDrag(e)}),onTouchend:t[12]||(t[12]=function(e){return r.onDragEnd(e)}),onMousedown:t[13]||(t[13]=function(e){return r.onMouseDown(e,1)}),onKeydown:t[14]||(t[14]=function(e){return r.onKeyDown(e,1)}),tabindex:e.tabindex,role:"slider","aria-valuemin":e.min,"aria-valuenow":e.modelValue?e.modelValue[1]:null,"aria-valuemax":e.max,"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,"aria-orientation":e.orientation},e.ptm("endHandler")),null,16,ne)):(0,i.Q3)("",!0)],16)}J.render=ie;const oe={id:"popup",class:"popup"},ae={class:"popup__body"},re={class:"popup__section"},le={class:"popup__floor"},se={class:"popup__btns"};var ce={__name:"popupWindow",props:{entranceFloorsOptions:{type:Array,default:[]},figure:{type:Object,default:null}},emits:["saveFigure","deleteFigure"],setup(e){const t=e,n=(0,r.KR)({floor_id:0,entrance_id:0});(0,i.wB)((()=>t.figure),(e=>{e&&(n.value.floor_id=e.floor_id?e.floor_id:t.entranceFloorsOptions.length&&t.entranceFloorsOptions[0].floors.length?t.entranceFloorsOptions[0].floors[0].value:0,n.value.entrance_id=e.entrance_id?e.entrance_id:t.entranceFloorsOptions.length?t.entranceFloorsOptions[0].value:0)}));const o=(0,i.EW)((()=>{const e=t.entranceFloorsOptions.find((e=>e.value===n.value.entrance_id));return e?e.floors:[]}));return(t,a)=>{const r=(0,i.g2)("Dropdown"),l=(0,i.g2)("Button");return(0,i.uX)(),(0,i.CE)("div",oe,[a[8]||(a[8]=(0,i.Fv)('<div class="popup__head" data-v-ea76c166><div class="popup__title" data-v-ea76c166>Связать область</div><span id="popup-closer" class="popup__close" data-v-ea76c166><svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-ea76c166><path d="M9.69766 8.00005L14.8492 2.84849C15.318 2.37974 15.318 1.62036 14.8492 1.15161C14.3805 0.682861 13.6211 0.682861 13.1523 1.15161L8.00078 6.30317L2.84922 1.15161C2.38047 0.682861 1.62109 0.682861 1.15234 1.15161C0.683594 1.62036 0.683594 2.37974 1.15234 2.84849L6.30391 8.00005L1.15234 13.1516C0.683594 13.6204 0.683594 14.3797 1.15234 14.8485C1.38672 15.0829 1.69375 15.2 2.00078 15.2C2.30781 15.2 2.61484 15.0829 2.84922 14.8485L8.00078 9.69692L13.1523 14.8485C13.3867 15.0829 13.6937 15.2 14.0008 15.2C14.3078 15.2 14.6148 15.0829 14.8492 14.8485C15.318 14.3797 15.318 13.6204 14.8492 13.1516L9.69766 8.00005Z" fill="#757575" data-v-ea76c166></path></svg></span></div>',1)),(0,i.Lk)("div",ae,[(0,i.Lk)("div",re,[a[4]||(a[4]=(0,i.Lk)("label",{for:""},"Подъезд",-1)),(0,i.bF)(r,{modelValue:n.value.entrance_id,"onUpdate:modelValue":a[0]||(a[0]=e=>n.value.entrance_id=e),options:e.entranceFloorsOptions,"option-label":"name","option-value":"value"},null,8,["modelValue","options"])]),(0,i.Lk)("div",le,[a[5]||(a[5]=(0,i.Lk)("label",{for:""},"Этаж",-1)),(0,i.bF)(r,{modelValue:n.value.floor_id,"onUpdate:modelValue":a[1]||(a[1]=e=>n.value.floor_id=e),options:o.value,"option-label":"name","option-value":"value"},null,8,["modelValue","options"])]),(0,i.Lk)("div",se,[(0,i.bF)(l,{severity:"success",onClick:a[2]||(a[2]=e=>t.$emit("saveFigure",n.value))},{default:(0,i.k6)((()=>a[6]||(a[6]=[(0,i.Lk)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.Lk)("path",{d:"M13.5325 4.9675L9.0325 0.4675C8.96339 0.400037 8.8819 0.346557 8.7925 0.31C8.69951 0.272213 8.60036 0.251874 8.5 0.25H2.5C1.90326 0.25 1.33097 0.487053 0.90901 0.90901C0.487053 1.33097 0.25 1.90326 0.25 2.5V11.5C0.25 12.0967 0.487053 12.669 0.90901 13.091C1.33097 13.5129 1.90326 13.75 2.5 13.75H11.5C12.0967 13.75 12.669 13.5129 13.091 13.091C13.5129 12.669 13.75 12.0967 13.75 11.5V5.5C13.7506 5.4013 13.7317 5.30345 13.6943 5.21207C13.657 5.12069 13.602 5.03758 13.5325 4.9675ZM4.75 1.75H7.75V3.25H4.75V1.75ZM9.25 12.25H4.75V10C4.75 9.80109 4.82902 9.61032 4.96967 9.46967C5.11032 9.32902 5.30109 9.25 5.5 9.25H8.5C8.69891 9.25 8.88968 9.32902 9.03033 9.46967C9.17098 9.61032 9.25 9.80109 9.25 10V12.25ZM12.25 11.5C12.25 11.6989 12.171 11.8897 12.0303 12.0303C11.8897 12.171 11.6989 12.25 11.5 12.25H10.75V10C10.75 9.40326 10.5129 8.83097 10.091 8.40901C9.66903 7.98705 9.09674 7.75 8.5 7.75H5.5C4.90326 7.75 4.33097 7.98705 3.90901 8.40901C3.48705 8.83097 3.25 9.40326 3.25 10V12.25H2.5C2.30109 12.25 2.11032 12.171 1.96967 12.0303C1.82902 11.8897 1.75 11.6989 1.75 11.5V2.5C1.75 2.30109 1.82902 2.11032 1.96967 1.96967C2.11032 1.82902 2.30109 1.75 2.5 1.75H3.25V4C3.25 4.19891 3.32902 4.38968 3.46967 4.53033C3.61032 4.67098 3.80109 4.75 4 4.75H8.5C8.69891 4.75 8.88968 4.67098 9.03033 4.53033C9.17098 4.38968 9.25 4.19891 9.25 4V2.8075L12.25 5.8075V11.5Z",fill:"white"})],-1),(0,i.eW)(" Сохранить ")]))),_:1}),(0,i.bF)(l,{onClick:a[3]||(a[3]=e=>t.$emit("deleteFigure")),severity:"danger",id:"#delete"},{default:(0,i.k6)((()=>a[7]||(a[7]=[(0,i.Lk)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.Lk)("path",{d:"M7.5 13.5C7.69891 13.5 7.88968 13.421 8.03033 13.2803C8.17098 13.1397 8.25 12.9489 8.25 12.75V8.25C8.25 8.05109 8.17098 7.86032 8.03033 7.71967C7.88968 7.57902 7.69891 7.5 7.5 7.5C7.30109 7.5 7.11032 7.57902 6.96967 7.71967C6.82902 7.86032 6.75 8.05109 6.75 8.25V12.75C6.75 12.9489 6.82902 13.1397 6.96967 13.2803C7.11032 13.421 7.30109 13.5 7.5 13.5ZM15 4.5H12V3.75C12 3.15326 11.7629 2.58097 11.341 2.15901C10.919 1.73705 10.3467 1.5 9.75 1.5H8.25C7.65326 1.5 7.08097 1.73705 6.65901 2.15901C6.23705 2.58097 6 3.15326 6 3.75V4.5H3C2.80109 4.5 2.61032 4.57902 2.46967 4.71967C2.32902 4.86032 2.25 5.05109 2.25 5.25C2.25 5.44891 2.32902 5.63968 2.46967 5.78033C2.61032 5.92098 2.80109 6 3 6H3.75V14.25C3.75 14.8467 3.98705 15.419 4.40901 15.841C4.83097 16.2629 5.40326 16.5 6 16.5H12C12.5967 16.5 13.169 16.2629 13.591 15.841C14.0129 15.419 14.25 14.8467 14.25 14.25V6H15C15.1989 6 15.3897 5.92098 15.5303 5.78033C15.671 5.63968 15.75 5.44891 15.75 5.25C15.75 5.05109 15.671 4.86032 15.5303 4.71967C15.3897 4.57902 15.1989 4.5 15 4.5ZM7.5 3.75C7.5 3.55109 7.57902 3.36032 7.71967 3.21967C7.86032 3.07902 8.05109 3 8.25 3H9.75C9.94891 3 10.1397 3.07902 10.2803 3.21967C10.421 3.36032 10.5 3.55109 10.5 3.75V4.5H7.5V3.75ZM12.75 14.25C12.75 14.4489 12.671 14.6397 12.5303 14.7803C12.3897 14.921 12.1989 15 12 15H6C5.80109 15 5.61032 14.921 5.46967 14.7803C5.32902 14.6397 5.25 14.4489 5.25 14.25V6H12.75V14.25ZM10.5 13.5C10.6989 13.5 10.8897 13.421 11.0303 13.2803C11.171 13.1397 11.25 12.9489 11.25 12.75V8.25C11.25 8.05109 11.171 7.86032 11.0303 7.71967C10.8897 7.57902 10.6989 7.5 10.5 7.5C10.3011 7.5 10.1103 7.57902 9.96967 7.71967C9.82902 7.86032 9.75 8.05109 9.75 8.25V12.75C9.75 12.9489 9.82902 13.1397 9.96967 13.2803C10.1103 13.421 10.3011 13.5 10.5 13.5Z",fill:"white"})],-1),(0,i.eW)(" Удалить ")]))),_:1})])])])}}},ue=n(71241);const de=(0,ue.A)(ce,[["__scopeId","data-v-ea76c166"]]);var pe=de;const he={class:"modal-dialog"},fe={class:"modal-content"},me={class:"modal-header"},ve={class:"head flex justify-between items-end"},ge={class:"fields"},Ce={class:"field titleFacade 2xl:w-[300px] xl:w-[250px]"},ye={class:"field publishFacade"},be={class:"field colorHover w-max 2xl:max-w-none xl:max-w-[300px]"},we={width:"20",height:"18",viewBox:"0 0 20 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:(0,o.C4)(["w-[60%]"])},Le={class:"field opacity"},xe={class:"modal-body"},ke={class:"facade-map"},Ve=["data-image-src"];var Fe={__name:"windowEditFacades",props:{activeFacade:Object,entranceFloorsOptions:Array,visible:Boolean},emits:["update:visible","saveFacade"],setup(e,{emit:t}){const n=e,{activeFacade:a,visible:l}=(0,r.QW)(n),s=(0,r.KR)([{value:"#FF0A0A"},{value:"#FF0B80"},{value:"#E338FF"},{value:"#8438FF"},{value:"#4838FF"},{value:"#38CFFF"},{value:"#38FFCF"},{value:"#38FF7C"},{value:"#D7FF38"},{value:"#FFDF38"},{value:"#FFC738"},{value:"#FF8C38"},{value:"#FF5038"},{value:"#FF3838"}]),c=[{name:"Да",value:!0},{name:"Нет",value:!1}],u={root:{class:["flex gap-2.5 2xl:py-2.5 xl:py-0 2xl:flex-nowrap xl:flex-wrap justify-start items-center"]},button:({context:e})=>({class:["w-max h-max !py-0 !px-0 !border-0 !shadow-none",e.active?"!bg-transparent !shadow-none":""]})},p={root:{class:["bg-grey-700 w-full"]},range:{class:["!bg-grey-700 rounded"]},handle:{class:["!bg-blue !border-0 focus:!shadow-none"]}},h=(0,r.KR)(HTMLDivElement),f=(0,r.KR)(null),m=(0,r.KR)(null),v=e=>d.A.addFigureToFacade(a.value.id,e).then((e=>(e.data&&(a.value.figures.push(e.data),m.value=e.data),e.data))),g=()=>{m.value&&(b.deleteSelectedFeature(m.value.id),d.A.deleteFacadeFigure(m.value.id).then((e=>{if(e.data){const e=a.value.figures.findIndex((e=>e.id==m.value.id));a.value.figures.splice(e,1),m.value=null}return e.data})))},C=e=>{m.value&&d.A.updateFacadeFigure(m.value.id,e).then((e=>{if(e.data){const t=a.value.figures?.find((t=>t.id==e.data.id));t&&(t.entrance_id=e.data.entrance_id,t.floor_id=e.data.floor_id,t.points=e.data.points),m.value=e.data,b.saveOverlay()}return e.data}))},y=e=>{m.value=a.value.figures.find((t=>t.id==e))},b=M(a.value,v,y);return(0,i.wB)((()=>a.value.hover_color),(e=>{f.value.setColor(e,a.value.opacity)})),(0,i.wB)((()=>a.value.opacity),(e=>{f.value.setColor(a.value.hover_color,e)})),(0,i.sV)((()=>{a.value.hover_color||(a.value.hover_color=s.value[0].value),a.value.opacity&&(a.value.opacity=+a.value.opacity),b.start(h.value),f.value=b.olMap.value})),(t,d)=>{const f=(0,i.g2)("Button"),v=(0,i.g2)("InputText"),y=(0,i.g2)("Dropdown");return(0,i.uX)(),(0,i.Wv)(i.Im,{to:"body"},[(0,i.bF)(pe,{entranceFloorsOptions:e.entranceFloorsOptions,figure:m.value,onDeleteFigure:g,onSaveFigure:C},null,8,["entranceFloorsOptions","figure"]),(0,i.Lk)("div",{class:(0,o.C4)(["modal",(0,r.R1)(l)?"open":""]),id:"facade-mapping-layer",ref_key:"modal",ref:h},[(0,i.Lk)("div",he,[(0,i.Lk)("div",fe,[(0,i.Lk)("div",me,[(0,i.Lk)("div",ve,[d[7]||(d[7]=(0,i.Lk)("div",{class:"modal__title"},"Разметка фасадов",-1)),(0,i.bF)(f,{text:"",class:"modal__close !px-0 !py-0",onClick:d[0]||(d[0]=e=>t.$emit("update:visible"))},{default:(0,i.k6)((()=>d[6]||(d[6]=[(0,i.Lk)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.Lk)("path",{d:"M14.8281 12L23.4141 3.41406C24.1953 2.63281 24.1953 1.36719 23.4141 0.585938C22.6328 -0.195312 21.3672 -0.195312 20.5859 0.585938L12 9.17188L3.41406 0.585938C2.63281 -0.195312 1.36719 -0.195312 0.585938 0.585938C-0.195312 1.36719 -0.195312 2.63281 0.585938 3.41406L9.17188 12L0.585938 20.5859C-0.195312 21.3672 -0.195312 22.6328 0.585938 23.4141C0.976562 23.8047 1.48828 24 2 24C2.51172 24 3.02344 23.8047 3.41406 23.4141L12 14.8281L20.5859 23.4141C20.9766 23.8047 21.4883 24 22 24C22.5117 24 23.0234 23.8047 23.4141 23.4141C24.1953 22.6328 24.1953 21.3672 23.4141 20.5859L14.8281 12Z",fill:"#757575"})],-1)]))),_:1})]),(0,i.Lk)("div",ge,[(0,i.Lk)("div",Ce,[d[8]||(d[8]=(0,i.Lk)("label",null,[(0,i.eW)("Название фасада "),(0,i.Lk)("span",{class:"text-red"},"*")],-1)),(0,i.bF)(v,{modelValue:(0,r.R1)(a).name,"onUpdate:modelValue":d[1]||(d[1]=e=>(0,r.R1)(a).name=e),class:"w-full"},null,8,["modelValue"]),d[9]||(d[9]=(0,i.Lk)("small",null,"Например: “Вид с улицы Лермонтова”",-1))]),(0,i.Lk)("div",ye,[d[10]||(d[10]=(0,i.Lk)("label",null,[(0,i.eW)("Опубликован "),(0,i.Lk)("span",{class:"text-red"},"*")],-1)),(0,i.bF)(y,{modelValue:(0,r.R1)(a).is_published,"onUpdate:modelValue":d[2]||(d[2]=e=>(0,r.R1)(a).is_published=e),options:c,"option-label":"name","option-value":"value"},null,8,["modelValue"])]),(0,i.Lk)("div",be,[d[13]||(d[13]=(0,i.Lk)("label",null,[(0,i.eW)("Цвет выделения этажа при наведении "),(0,i.Lk)("span",{class:"text-red"},"*")],-1)),(0,i.bF)(y,{modelValue:(0,r.R1)(a).hover_color,"onUpdate:modelValue":d[3]||(d[3]=e=>(0,r.R1)(a).hover_color=e),options:s.value.filter((e=>e.value!=(0,r.R1)(a).hover_color)),"option-value":"value",pt:u},{option:(0,i.k6)((e=>[(0,i.Lk)("div",{class:"2xl:min-w-[24px] xl:min-w-[20px] 2xl:w-[24px] xl:w-[20px] 2xl:h-[24px] xl:h-[20px] rounded-full flex justify-center items-center",style:(0,o.Tr)(`background-color: ${e.option.value}`)},[((0,i.uX)(),(0,i.CE)("svg",{width:"20",height:"18",viewBox:"0 0 20 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:(0,o.C4)(["w-[60%]",e.option.value!==(0,r.R1)(a).hover_color?"visible":"hidden"])},d[11]||(d[11]=[(0,i.Lk)("path",{d:"M19.2522 1.63495C18.255 0.617777 16.6389 0.617777 15.6417 1.63495L6.61526 10.8414L4.35833 8.53951C3.36116 7.52233 1.74505 7.52233 0.74788 8.53951C-0.249293 9.55668 -0.249293 11.2053 0.74788 12.2219L4.80971 16.3649C5.80688 17.3821 7.42299 17.3821 8.42016 16.3649L19.2521 5.31792C20.2494 4.30075 20.2494 2.65212 19.2522 1.63495Z",fill:"white"},null,-1)]),2))],4)])),value:(0,i.k6)((()=>[(0,i.Lk)("div",{class:"2xl:min-w-[24px] xl:min-w-[20px] 2xl:w-[24px] xl:w-[20px] 2xl:h-[24px] xl:h-[20px] rounded-full flex justify-center items-center",style:(0,o.Tr)(`background-color: ${(0,r.R1)(a).hover_color}`)},[((0,i.uX)(),(0,i.CE)("svg",we,d[12]||(d[12]=[(0,i.Lk)("path",{d:"M19.2522 1.63495C18.255 0.617777 16.6389 0.617777 15.6417 1.63495L6.61526 10.8414L4.35833 8.53951C3.36116 7.52233 1.74505 7.52233 0.74788 8.53951C-0.249293 9.55668 -0.249293 11.2053 0.74788 12.2219L4.80971 16.3649C5.80688 17.3821 7.42299 17.3821 8.42016 16.3649L19.2521 5.31792C20.2494 4.30075 20.2494 2.65212 19.2522 1.63495Z",fill:"white"},null,-1)])))],4)])),_:1},8,["modelValue","options"])]),(0,i.Lk)("div",Le,[d[14]||(d[14]=(0,i.Lk)("label",null,[(0,i.eW)("Прозрачность разметки "),(0,i.Lk)("span",{class:"text-red"},"*")],-1)),(0,i.bF)((0,r.R1)(J),{modelValue:(0,r.R1)(a).opacity,"onUpdate:modelValue":d[4]||(d[4]=e=>(0,r.R1)(a).opacity=e),pt:p,min:.1,max:1,step:.1},null,8,["modelValue"])]),(0,i.bF)(f,{severity:"success",class:"ml-auto cursor-pointer",onClick:d[5]||(d[5]=e=>t.$emit("saveFacade",(0,r.R1)(a)))},{default:(0,i.k6)((()=>d[15]||(d[15]=[(0,i.Lk)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"mr-2"},[(0,i.Lk)("path",{d:"M13.5325 4.9675L9.0325 0.4675C8.96339 0.400037 8.8819 0.346557 8.7925 0.31C8.69951 0.272213 8.60036 0.251874 8.5 0.25H2.5C1.90326 0.25 1.33097 0.487053 0.90901 0.90901C0.487053 1.33097 0.25 1.90326 0.25 2.5V11.5C0.25 12.0967 0.487053 12.669 0.90901 13.091C1.33097 13.5129 1.90326 13.75 2.5 13.75H11.5C12.0967 13.75 12.669 13.5129 13.091 13.091C13.5129 12.669 13.75 12.0967 13.75 11.5V5.5C13.7506 5.4013 13.7317 5.30345 13.6943 5.21207C13.657 5.12069 13.602 5.03758 13.5325 4.9675ZM4.75 1.75H7.75V3.25H4.75V1.75ZM9.25 12.25H4.75V10C4.75 9.80109 4.82902 9.61032 4.96967 9.46967C5.11032 9.32902 5.30109 9.25 5.5 9.25H8.5C8.69891 9.25 8.88968 9.32902 9.03033 9.46967C9.17098 9.61032 9.25 9.80109 9.25 10V12.25ZM12.25 11.5C12.25 11.6989 12.171 11.8897 12.0303 12.0303C11.8897 12.171 11.6989 12.25 11.5 12.25H10.75V10C10.75 9.40326 10.5129 8.83097 10.091 8.40901C9.66903 7.98705 9.09674 7.75 8.5 7.75H5.5C4.90326 7.75 4.33097 7.98705 3.90901 8.40901C3.48705 8.83097 3.25 9.40326 3.25 10V12.25H2.5C2.30109 12.25 2.11032 12.171 1.96967 12.0303C1.82902 11.8897 1.75 11.6989 1.75 11.5V2.5C1.75 2.30109 1.82902 2.11032 1.96967 1.96967C2.11032 1.82902 2.30109 1.75 2.5 1.75H3.25V4C3.25 4.19891 3.32902 4.38968 3.46967 4.53033C3.61032 4.67098 3.80109 4.75 4 4.75H8.5C8.69891 4.75 8.88968 4.67098 9.03033 4.53033C9.17098 4.38968 9.25 4.19891 9.25 4V2.8075L12.25 5.8075V11.5Z",fill:"white"})],-1),(0,i.eW)(" Сохранить ")]))),_:1})])]),(0,i.Lk)("div",xe,[(0,i.Lk)("div",ke,[(0,i.Lk)("div",{id:"map",class:"map ol-map","data-image-src":n.activeFacade?.image},null,8,Ve)])])])])],2)])}}};const _e=Fe;var Ee=_e;const Ae={class:"editFacades bg-white p-7.5 h-full"},Se={class:"name text-[32px] mb-7.5"},De={class:"uploadFacade"},He={class:"facadesList"},Ie=["onDragstart","onDrop"],Pe={class:"facadeItem__content"},Oe={class:"facadeItem__title"},je={class:"facadeItem__imageWrapper"},Me={class:"imageHover"},Re=["src"],Be={class:"facadeItem__footer"},Te={class:"is_published"};var $e={__name:"EditFacades",setup(e){const t=(0,l.lq)(),n=(0,r.KR)([]),h=(0,c.S)(),f=(0,r.KR)(!1),m=(0,r.KR)(!1),v=(0,r.KR)(!1),g=(0,r.KR)([]),C=(0,u.j)(),y=(0,i.EW)((()=>C.complex)),b=(0,i.EW)((()=>C.house)),w=(e,t)=>{h.require({target:e.currentTarget,group:"deletePlan",message:"Удалить фасад?",acceptLabel:"Да",rejectLabel:"Нет",acceptClass:"!bg-red !shadow-none",rejectClass:"!bg-green !shadow-none",accept:()=>{E(t)},reject:()=>{}})},L=(e,t)=>{v.value=t},x=e=>{const t=e.composedPath().find((e=>e.classList.contains("facadeItem")));t&&(t.querySelector(".facadeItem__content").style.opacity="0",t.style.backgroundColor="#FFFBE3",t.style.border="2px dashed #DEDEDE")},k=e=>{const t=e.composedPath().find((e=>e.classList.contains("facadeItem")));t&&(t.querySelector(".facadeItem__content").style.opacity="1",t.style.backgroundColor="#ffffff",t.style.border="1px solid #DEDEDE")},V=(e,t)=>{e.preventDefault(),n.value=n.value.map(((e,n)=>{let i;return i=e.id===t.id?{...e,position:v.value.position}:e.id===v.value.id?{...e,position:t.position}:e,i})),_.value.forEach(((e,t)=>{D({id:e.id,position:t+1})}));const i=e.composedPath().find((e=>e.classList.contains("facadeItem")));i&&(i.querySelector(".facadeItem__content").style.opacity="1",i.style.backgroundColor="#ffffff",i.style.border="1px solid #DEDEDE")},F=(e,t)=>e.position>t.position?1:-1,_=(0,i.EW)((()=>n.value.sort(F))),E=async e=>{d.A.deleteHouseFacade(e).then((t=>{if(t.data&&t.data.status){const t=n.value.findIndex((t=>t.id===e));n.value.splice(t,1)}}))},A=e=>{if(e.target.files.length){var i=new FormData;return i.append("house_id",t.params.house_id),i.append("position",n.value.length+1),i.append("hover_color","#FF0A0A"),i.append("opacity","0.5"),i.append("photo",e.target.files[0]),d.A.addFacadeToHouse(i).then((e=>{e.data&&n.value.push(e.data)}))}},S=(e,t)=>{const n={...t};return delete n.figures,d.A.updateFacade(e,n).then((e=>{e.data&&m.value&&(m.value=!1)}))},D=async e=>{await S(e.id,e);const t=document.getElementById("#popup-closer");t&&(t.style.display="none")},H=e=>{S(e.id,{is_published:e.is_published})};return(0,i.sV)((async()=>{await d.A.getFacades(t.params.house_id,["not_published"]).then((e=>{e.data&&Array.isArray(e.data)&&(n.value=e.data)})),await C.get_house(t.params.house_id),await d.A.getHouseEntrances(t.params.house_id).then((e=>{e.data&&Array.isArray(e.data)&&(g.value=e.data.map((e=>({name:e.name,value:e.id,floors:e.floors.map((e=>({name:e.position,value:e.id})))}))))}))})),(e,t)=>{const n=(0,i.g2)("Message"),l=(0,i.g2)("Button"),c=(0,i.g2)("InputSwitch");return(0,i.uX)(),(0,i.CE)(i.FK,null,[f.value?((0,i.uX)(),(0,i.Wv)(Ee,{key:0,entranceFloorsOptions:g.value,"active-facade":f.value,visible:m.value,"onUpdate:visible":t[0]||(t[0]=e=>(m.value=!1,f.value=null)),onSaveFacade:D},null,8,["entranceFloorsOptions","active-facade","visible"])):(0,i.Q3)("",!0),(0,i.Lk)("div",Ae,[(0,i.Lk)("div",Se,[t[4]||(t[4]=(0,i.Lk)("span",{class:"text-grey-900"},"Фасады:",-1)),(0,i.eW)(" "+(0,o.v_)(y.value.name)+" — "+(0,o.v_)(b.value.name),1)]),(0,i.bF)(n,{closable:!1},{messageicon:(0,i.k6)((()=>t[5]||(t[5]=[(0,i.Lk)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"w-[18px] h-auto mr-2.5"},[(0,i.Lk)("path",{d:"M9.00161 8.25C8.8027 8.25 8.61193 8.32902 8.47128 8.46967C8.33063 8.61032 8.25161 8.80109 8.25161 9V11.25C8.25161 11.4489 8.33063 11.6397 8.47128 11.7803C8.61193 11.921 8.8027 12 9.00161 12C9.20052 12 9.39129 11.921 9.53194 11.7803C9.67259 11.6397 9.75161 11.4489 9.75161 11.25V9C9.75161 8.80109 9.67259 8.61032 9.53194 8.46967C9.39129 8.32902 9.20052 8.25 9.00161 8.25ZM9.00161 6C8.85327 6 8.70827 6.04399 8.58493 6.1264C8.46159 6.20881 8.36546 6.32594 8.3087 6.46299C8.25193 6.60003 8.23708 6.75083 8.26602 6.89632C8.29496 7.0418 8.36639 7.17544 8.47128 7.28033C8.57617 7.38522 8.70981 7.45665 8.85529 7.48559C9.00078 7.51453 9.15158 7.49968 9.28862 7.44291C9.42567 7.38614 9.5428 7.29001 9.62521 7.16668C9.70762 7.04334 9.75161 6.89834 9.75161 6.75C9.75161 6.55109 9.67259 6.36032 9.53194 6.21967C9.39129 6.07902 9.20052 6 9.00161 6ZM9.00161 1.5C8.01669 1.5 7.04142 1.69399 6.13148 2.0709C5.22154 2.44781 4.39475 3.00026 3.69831 3.6967C2.29178 5.10322 1.50161 7.01088 1.50161 9C1.49505 10.7319 2.0947 12.4114 3.19661 13.7475L1.69661 15.2475C1.59254 15.353 1.52204 15.4869 1.49401 15.6324C1.46598 15.7779 1.48167 15.9284 1.53911 16.065C1.6014 16.1999 1.70239 16.3133 1.82924 16.3908C1.9561 16.4682 2.10311 16.5063 2.25161 16.5H9.00161C10.9907 16.5 12.8984 15.7098 14.3049 14.3033C15.7114 12.8968 16.5016 10.9891 16.5016 9C16.5016 7.01088 15.7114 5.10322 14.3049 3.6967C12.8984 2.29018 10.9907 1.5 9.00161 1.5ZM9.00161 15H4.05911L4.75661 14.3025C4.82747 14.233 4.88385 14.1502 4.92247 14.0588C4.9611 13.9674 4.9812 13.8692 4.98161 13.77C4.97879 13.5722 4.89792 13.3835 4.75661 13.245C3.77455 12.264 3.16299 10.9729 3.02613 9.59159C2.88926 8.21029 3.23557 6.82425 4.00603 5.66964C4.77649 4.51503 5.92345 3.66327 7.25149 3.25948C8.57954 2.85569 10.0065 2.92485 11.2893 3.45519C12.572 3.98552 13.6312 4.94421 14.2864 6.16792C14.9416 7.39163 15.1523 8.80466 14.8825 10.1663C14.6126 11.5279 13.8791 12.7538 12.8068 13.6352C11.7344 14.5166 10.3897 14.9989 9.00161 15Z",fill:"#3A8EFA"})],-1)]))),default:(0,i.k6)((()=>t[6]||(t[6]=[(0,i.Lk)("p",{class:"2xl:text-base 2xl:!leading-8 xl:text-sm xl:!leading-7"},[(0,i.eW)(" Оптимальный размер изображения 2200х1000 пикселей, минимальный — 1100х900 пикселей. "),(0,i.Lk)("br"),(0,i.eW)(" Для отображения изображения без замыливания по краям рекомендуемый размер — 2600х1000 пикселей. "),(0,i.Lk)("br"),(0,i.eW)(" Максимальный размер файла 5 МБ. "),(0,i.Lk)("br"),(0,i.eW)("Допустимые форматы - png, jpeg ")],-1)]))),_:1}),(0,i.Lk)("div",De,[t[7]||(t[7]=(0,i.Lk)("label",{for:"uploadFacade",class:"w-max flex justify-start items-center bg-green px-3 py-2 rounded text-white mt-5 mb-[50px] cursor-pointer"},[(0,i.Lk)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"mr-3"},[(0,i.Lk)("path",{d:"M16.791 11.517C16.7406 11.4354 16.6702 11.368 16.5864 11.3213C16.5027 11.2746 16.4084 11.25 16.3125 11.25H15.1875V5.0625C15.1871 4.76425 15.0684 4.47834 14.8576 4.26745C14.6467 4.05656 14.3607 3.9379 14.0625 3.9375H8.67043L7.14769 2.41481C7.09548 2.36256 7.03348 2.32111 6.96525 2.29283C6.89701 2.26455 6.82387 2.24999 6.75 2.25H2.25C1.95175 2.2504 1.66584 2.36906 1.45495 2.57995C1.24406 2.79084 1.1254 3.07675 1.125 3.375V15.1875H1.12748C1.12678 15.2614 1.14077 15.3346 1.16864 15.403C1.19651 15.4714 1.23769 15.5336 1.2898 15.5859C1.34191 15.6383 1.40391 15.6797 1.47218 15.7079C1.54045 15.7361 1.61364 15.7504 1.6875 15.75H14.625C14.7295 15.75 14.8319 15.7209 14.9207 15.666C15.0096 15.6111 15.0814 15.5325 15.1282 15.4391L16.8157 12.0641C16.8586 11.9784 16.8789 11.8831 16.8746 11.7873C16.8703 11.6915 16.8415 11.5985 16.791 11.517ZM14.2773 14.625H2.59774L3.72274 12.375H15.4023L14.2773 14.625Z",fill:"white"})]),(0,i.eW)(" Загрузить фасад ")],-1)),(0,i.Lk)("input",{type:"file",name:"",id:"uploadFacade",class:"hidden",onChange:t[1]||(t[1]=e=>A(e))},null,32)]),(0,i.Lk)("div",He,[((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(_.value,(e=>((0,i.uX)(),(0,i.CE)("div",{key:e.id,class:"facadeItem",draggable:!0,onDragstart:t=>L(t,e),onDragover:t[2]||(t[2]=(0,a.D$)((e=>x(e)),["prevent"])),onDragend:t[3]||(t[3]=e=>k(e)),onDrop:(0,a.D$)((t=>V(t,e)),["prevent"])},[t[11]||(t[11]=(0,i.Fv)('<div class="iconDrop" data-v-318ec64f><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-318ec64f><g clip-path="url(#clip0_931_1222)" data-v-318ec64f><path d="M23.7454 11.3976L20.3168 7.96903C20.1473 7.79936 19.9463 7.71459 19.7141 7.71459C19.482 7.71459 19.2812 7.79936 19.1115 7.96903C18.942 8.13879 18.8571 8.33971 18.8571 8.57181V10.2862H13.7142V5.14331H15.4286C15.6608 5.14331 15.8617 5.05845 16.0313 4.88887C16.2008 4.7192 16.2856 4.51848 16.2856 4.28623C16.2856 4.05394 16.2008 3.85302 16.0313 3.6834L12.6026 0.254802C12.4332 0.0851782 12.2323 0.000366211 12 0.000366211C11.7677 0.000366211 11.5669 0.0852251 11.3972 0.254802L7.96871 3.6834C7.79899 3.85316 7.71428 4.05408 7.71428 4.28623C7.71428 4.51824 7.79904 4.71916 7.96871 4.88887C8.13848 5.05845 8.3392 5.14331 8.5715 5.14331H10.2858V10.2863H5.14294V8.57186C5.14294 8.33957 5.05809 8.1387 4.88841 7.96908C4.71865 7.79941 4.51774 7.71464 4.28563 7.71464C4.05357 7.71464 3.85266 7.79941 3.68299 7.96908L0.254436 11.3976C0.0848588 11.5673 0 11.7681 0 12.0002C0 12.2324 0.0848588 12.4333 0.254436 12.6029L3.68299 16.0313C3.85266 16.2008 4.05343 16.2861 4.28563 16.2861C4.51793 16.2861 4.71879 16.2009 4.88841 16.0313C5.05809 15.862 5.14294 15.6608 5.14294 15.4287V13.7142H10.2858V18.8571H8.57164C8.33934 18.8571 8.13843 18.9421 7.96881 19.1116C7.79913 19.2812 7.71437 19.4821 7.71437 19.7142C7.71437 19.9464 7.79913 20.1473 7.96881 20.3172L11.3974 23.7455C11.5672 23.915 11.768 23.9999 12.0002 23.9999C12.2323 23.9999 12.4334 23.915 12.6028 23.7455L16.0313 20.3172C16.2011 20.1474 16.2859 19.9464 16.2859 19.7142C16.2859 19.4821 16.2011 19.2813 16.0313 19.1116C15.8618 18.9421 15.6608 18.8571 15.4286 18.8571H13.7145V13.7143H18.8573V15.429C18.8573 15.6611 18.9421 15.8621 19.1115 16.0317C19.2814 16.2011 19.4824 16.2863 19.7145 16.2863C19.9464 16.2863 20.1473 16.2012 20.3172 16.0317L23.7456 12.603C23.9153 12.4333 24 12.2324 24 12.0002C24 11.7681 23.9153 11.5673 23.7454 11.3976Z" fill="#3A8EFA" data-v-318ec64f></path></g><defs data-v-318ec64f><clipPath id="clip0_931_1222" data-v-318ec64f><rect width="24" height="24" fill="white" data-v-318ec64f></rect></clipPath></defs></svg></div>',1)),(0,i.Lk)("div",Pe,[(0,i.Lk)("div",Oe,(0,o.v_)(e.name),1),(0,i.Lk)("div",je,[(0,i.Lk)("div",Me,[(0,i.bF)(l,{severity:"success",onClick:t=>{m.value=!0,f.value=e}},{default:(0,i.k6)((()=>t[8]||(t[8]=[(0,i.eW)("Начать разметку")]))),_:2},1032,["onClick"])]),(0,i.Lk)("img",{src:e.image,alt:""},null,8,Re)]),(0,i.Lk)("div",Be,[(0,i.Lk)("div",Te,[(0,i.bF)(c,{onChange:t=>H(e),id:"is_published",modelValue:e.is_published,"onUpdate:modelValue":t=>e.is_published=t},null,8,["onChange","modelValue","onUpdate:modelValue"]),t[9]||(t[9]=(0,i.Lk)("label",{for:"is_published"},"Опубликован",-1))]),(0,i.bF)(l,{severity:"danger",class:"isDelete",onClick:t=>w(t,e.id)},{default:(0,i.k6)((()=>t[10]||(t[10]=[(0,i.Lk)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.Lk)("path",{d:"M7.5 13.5C7.69891 13.5 7.88968 13.421 8.03033 13.2803C8.17098 13.1397 8.25 12.9489 8.25 12.75V8.25C8.25 8.05109 8.17098 7.86032 8.03033 7.71967C7.88968 7.57902 7.69891 7.5 7.5 7.5C7.30109 7.5 7.11032 7.57902 6.96967 7.71967C6.82902 7.86032 6.75 8.05109 6.75 8.25V12.75C6.75 12.9489 6.82902 13.1397 6.96967 13.2803C7.11032 13.421 7.30109 13.5 7.5 13.5ZM15 4.5H12V3.75C12 3.15326 11.7629 2.58097 11.341 2.15901C10.919 1.73705 10.3467 1.5 9.75 1.5H8.25C7.65326 1.5 7.08097 1.73705 6.65901 2.15901C6.23705 2.58097 6 3.15326 6 3.75V4.5H3C2.80109 4.5 2.61032 4.57902 2.46967 4.71967C2.32902 4.86032 2.25 5.05109 2.25 5.25C2.25 5.44891 2.32902 5.63968 2.46967 5.78033C2.61032 5.92098 2.80109 6 3 6H3.75V14.25C3.75 14.8467 3.98705 15.419 4.40901 15.841C4.83097 16.2629 5.40326 16.5 6 16.5H12C12.5967 16.5 13.169 16.2629 13.591 15.841C14.0129 15.419 14.25 14.8467 14.25 14.25V6H15C15.1989 6 15.3897 5.92098 15.5303 5.78033C15.671 5.63968 15.75 5.44891 15.75 5.25C15.75 5.05109 15.671 4.86032 15.5303 4.71967C15.3897 4.57902 15.1989 4.5 15 4.5ZM7.5 3.75C7.5 3.55109 7.57902 3.36032 7.71967 3.21967C7.86032 3.07902 8.05109 3 8.25 3H9.75C9.94891 3 10.1397 3.07902 10.2803 3.21967C10.421 3.36032 10.5 3.55109 10.5 3.75V4.5H7.5V3.75ZM12.75 14.25C12.75 14.4489 12.671 14.6397 12.5303 14.7803C12.3897 14.921 12.1989 15 12 15H6C5.80109 15 5.61032 14.921 5.46967 14.7803C5.32902 14.6397 5.25 14.4489 5.25 14.25V6H12.75V14.25ZM10.5 13.5C10.6989 13.5 10.8897 13.421 11.0303 13.2803C11.171 13.1397 11.25 12.9489 11.25 12.75V8.25C11.25 8.05109 11.171 7.86032 11.0303 7.71967C10.8897 7.57902 10.6989 7.5 10.5 7.5C10.3011 7.5 10.1103 7.57902 9.96967 7.71967C9.82902 7.86032 9.75 8.05109 9.75 8.25V12.75C9.75 12.9489 9.82902 13.1397 9.96967 13.2803C10.1103 13.421 10.3011 13.5 10.5 13.5Z",fill:"white"})],-1)]))),_:2},1032,["onClick"]),(0,i.bF)((0,r.R1)(s.A),{group:"deletePlan",pt:(0,r.R1)(p.qW)},null,8,["pt"])])])],40,Ie)))),128))])])],64)}}};const ze=(0,ue.A)($e,[["__scopeId","data-v-318ec64f"]]);var Ke=ze}}]);
|
||
//# sourceMappingURL=7d1951ebe717b756.js.map
|