1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e.SENTRY_RELEASE={id:"3.7.13"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="40b8e25a-222e-4950-9d11-e4af105be4d9",e._sentryDebugIdIdentifier="sentry-dbid-40b8e25a-222e-4950-9d11-e4af105be4d9")}catch{}}();"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[7015],{87015(e,t,i){i.r(t),i.d(t,{default:()=>C});var l=i(41425);let o={class:"container-responsive d-flex align-items-center w-100 h-100"},d={class:"selected-count-info d-flex flex-column state-switch me-auto"},a={class:"d-flex align-items-center mb-2"},n=["title"],s={class:"d-flex align-items-center"},r={class:"ms-2"},c=["title"],g={class:"pe-4 ps-2"},h=["title"],p={class:"pe-4 ps-2"},u=["title"],m={class:"pe-4 ps-2"},w=["title"],b={class:"pe-4 ps-2"},v={class:"btn-label ms-3 d-lg-none"},f={class:"dropdown d-flex flex-column"},k={"aria-haspopup":"true","aria-expanded":"true",ref:"menuToggle","data-bs-toggle":"dropdown"},y={class:"kis-dropdown dropdown-menu dropdown-menu-end",style:{width:"360px"}},E=["title"],V=["title"],x=["title"],N=["title"];var _=i(97478);let B={name:"favourite-multi-editor",components:{ToggleSwitch:i(72868).A},props:{position:{type:String,default:"fixed"},selectedCount:{type:Number,default:0},insertingToListEnabled:{type:Boolean,default:!0},enableCreatingList:{type:Boolean,default:!1},moveToFolderEnabled:{type:Boolean,default:!0},toggleSelectedEnabled:{type:Boolean,default:!1}},methods:{translate:_.T}},C=(0,i(66262).A)(B,[["render",function(e,t,i,_,B,C){let S=(0,l.resolveComponent)("ToggleSwitch");return(0,l.openBlock)(),(0,l.createElementBlock)("div",{class:"multi-editor",style:(0,l.normalizeStyle)({position:i.position})},[(0,l.createElementVNode)("div",o,[(0,l.createElementVNode)("div",d,[(0,l.createElementVNode)("div",a,[((0,l.openBlock)(),(0,l.createElementBlock)("svg",{title:C.translate("deselect_items"),class:"me-2 clickable",onClick:t[0]||(t[0]=t=>e.$emit("deselect")),width:"18",height:"18",viewBox:"0 0 18 18","aria-hidden":"true"},[...t[10]||(t[10]=[(0,l.createElementVNode)("use",{"xlink:href":"/build/images/spritemap.svg#icon-ico-deselect"},null,-1)])],8,n)),(0,l.createTextVNode)(" "+(0,l.toDisplayString)(C.translate("selected_items_count",{count:i.selectedCount})),1)]),(0,l.createElementVNode)("div",s,[(0,l.createVNode)(S,{"model-value":i.toggleSelectedEnabled,"onUpdate:modelValue":t[1]||(t[1]=t=>e.$emit("toggle-selected",t)),title:C.translate("toggle_selected_enabled")},null,8,["model-value","title"]),(0,l.createElementVNode)("span",r,(0,l.toDisplayString)(C.translate("only_show_selected")),1)])]),i.insertingToListEnabled?((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:0,class:"btn-label ms-3 d-none d-md-flex",onClick:t[2]||(t[2]=t=>e.$emit("insert-to-list",t.target)),title:C.translate("insert_to_list")},[t[11]||(t[11]=(0,l.createElementVNode)("div",{class:"btn-action"},[(0,l.createElementVNode)("svg",{width:"20",height:"20",viewBox:"0 0 20 20","aria-hidden":"true"},[(0,l.createElementVNode)("use",{"xlink:href":"/build/images/spritemap.svg#icon-ico-plus-green"})])],-1)),(0,l.createElementVNode)("span",g,(0,l.toDisplayString)(C.translate("insert_to_list")),1)],8,c)):(0,l.createCommentVNode)("v-if",!0),i.enableCreatingList?((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:1,class:"btn-label ms-3 d-none d-md-flex",onClick:t[3]||(t[3]=t=>e.$emit("create-list")),title:C.translate("create_list_title")},[t[12]||(t[12]=(0,l.createElementVNode)("div",{class:"btn-action"},[(0,l.createElementVNode)("svg",{width:"20",height:"22",viewBox:"0 0 20 22","aria-hidden":"true"},[(0,l.createElementVNode)("use",{"xlink:href":"/build/images/spritemap.svg#icon-ico-add-to-list"})])],-1)),(0,l.createElementVNode)("span",p,(0,l.toDisplayString)(C.translate("create_list_from_selected")),1)],8,h)):(0,l.createCommentVNode)("v-if",!0),i.moveToFolderEnabled?((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:2,class:"btn-label ms-3 d-none d-lg-flex",onClick:t[4]||(t[4]=t=>e.$emit("move-to-folder",t.target)),title:C.translate("move_to_folder_alt")},[t[13]||(t[13]=(0,l.createElementVNode)("div",{class:"btn-action"},[(0,l.createElementVNode)("svg",{width:"18",height:"18",viewBox:"0 0 18 18","aria-hidden":"true"},[(0,l.createElementVNode)("use",{"xlink:href":"/build/images/spritemap.svg#icon-ico-favourites-add"})])],-1)),(0,l.createElementVNode)("span",m,(0,l.toDisplayString)(C.translate("move_to_folder")),1)],8,u)):(0,l.createCommentVNode)("v-if",!0),(0,l.createElementVNode)("div",{class:"btn-label ms-3 d-none d-lg-flex",onClick:t[5]||(t[5]=(0,l.withModifiers)(t=>e.$emit("show-dropdown",{reference:t.target,type:"delete-many",item:"items"}),["prevent"])),title:C.translate("remove_title")},[t[14]||(t[14]=(0,l.createElementVNode)("div",{class:"btn-action"},[(0,l.createElementVNode)("svg",{width:"14",height:"19",viewBox:"0 0 14 19","aria-hidden":"true"},[(0,l.createElementVNode)("use",{"xlink:href":"/build/images/spritemap.svg#icon-ico-trash"})])],-1)),(0,l.createElementVNode)("span",b,(0,l.toDisplayString)(C.translate("delete")),1)],8,w),(0,l.createElementVNode)("div",v,[(0,l.createElementVNode)("div",f,[(0,l.createElementVNode)("div",k,[...t[15]||(t[15]=[(0,l.createElementVNode)("div",{class:"btn-action dropdown-toggle-no-arrow dropdown-toggle-split my-3"},[(0,l.createElementVNode)("svg",{width:"6",height:"22",viewBox:"0 0 6 22","aria-hidden":"true"},[(0,l.createElementVNode)("use",{"xlink:href":"/build/images/spritemap.svg#icon-ico-single-dots"})])],-1)])],512),(0,l.createElementVNode)("div",y,[i.insertingToListEnabled?((0,l.openBlock)(),(0,l.createElementBlock)("a",{key:0,href:"#",onClick:t[6]||(t[6]=(0,l.withModifiers)(t=>e.$emit("insert-to-list",e.$refs.menuToggle),["prevent"])),title:C.translate("insert_to_list"),class:"d-flex d-md-none kis-dropdown-item"},[t[16]||(t[16]=(0,l.createElementVNode)("svg",{width:"16",height:"16",viewBox:"0 0 18 19","aria-hidden":"true"},[(0,l.createElementVNode)("use",{"xlink:href":"/build/images/spritemap.svg#icon-ico-copy-alt"})],-1)),(0,l.createElementVNode)("div",null,(0,l.toDisplayString)(C.translate("insert_to_list")),1)],8,E)):(0,l.createCommentVNode)("v-if",!0),i.enableCreatingList?((0,l.openBlock)(),(0,l.createElementBlock)("a",{key:1,href:"#",onClick:t[7]||(t[7]=(0,l.withModifiers)(t=>e.$emit("create-list"),["prevent"])),title:C.translate("create_list_title"),class:"d-flex d-md-none kis-dropdown-item"},[t[17]||(t[17]=(0,l.createElementVNode)("svg",{width:"16",height:"16",viewBox:"0 0 20 22","aria-hidden":"true"},[(0,l.createElementVNode)("use",{"xlink:href":"/build/images/spritemap.svg#icon-ico-add-to-list"})],-1)),(0,l.createElementVNode)("div",null,(0,l.toDisplayString)(C.translate("create_list_from_selected")),1)],8,V)):(0,l.createCommentVNode)("v-if",!0),i.moveToFolderEnabled?((0,l.openBlock)(),(0,l.createElementBlock)("a",{key:2,href:"#",onClick:t[8]||(t[8]=t=>e.$emit("move-to-folder",e.$refs.menuToggle)),title:C.translate("move_to_folder"),class:"d-flex d-lg-none kis-dropdown-item"},[t[18]||(t[18]=(0,l.createElementVNode)("svg",{width:"16",height:"16",viewBox:"0 0 18 18","aria-hidden":"true"},[(0,l.createElementVNode)("use",{"xlink:href":"/build/images/spritemap.svg#icon-ico-favourites-add"})],-1)),(0,l.createElementVNode)("div",null,(0,l.toDisplayString)(C.translate("move_to_folder")),1)],8,x)):(0,l.createCommentVNode)("v-if",!0),(0,l.createElementVNode)("a",{href:"#",onClick:t[9]||(t[9]=(0,l.withModifiers)(t=>e.$emit("show-dropdown",{reference:e.$refs.menuToggle,type:"delete-many",item:"items"}),["prevent"])),title:C.translate("remove_title"),class:"d-flex d-lg-none kis-dropdown-item kis-dropdown-item-divide kis-dropdown-item-danger"},[t[19]||(t[19]=(0,l.createElementVNode)("svg",{width:"16",height:"16",viewBox:"0 0 14 19","aria-hidden":"true"},[(0,l.createElementVNode)("use",{"xlink:href":"/build/images/spritemap.svg#icon-ico-trash-red"})],-1)),(0,l.createElementVNode)("div",null,(0,l.toDisplayString)(C.translate("delete")),1)],8,N)])])])])],4)}],["__scopeId","data-v-6d2c3b5c"]])},72868(e,t,i){i.d(t,{A:()=>s});var l=i(85194),o=i(55024),d=` 2 .p-toggleswitch { 3 display: inline-block; 4 width: dt('toggleswitch.width'); 5 height: dt('toggleswitch.height'); 6 } 7 8 .p-toggleswitch-input { 9 cursor: pointer; 10 appearance: none; 11 position: absolute; 12 top: 0; 13 inset-inline-start: 0; 14 width: 100%; 15 height: 100%; 16 padding: 0; 17 margin: 0; 18 opacity: 0; 19 z-index: 1; 20 outline: 0 none;
21 border-radius: dt('toggleswitch.border.radius'); 22 } 23 24 .p-toggleswitch-slider { 25 cursor: pointer; 26 width: 100%; 27 height: 100%; 28 border-width: dt('toggleswitch.border.width'); 29 border-style: solid; 30 border-color: dt('toggleswitch.border.color'); 31 background: dt('toggleswitch.background'); 32 transition: 33 background dt('toggleswitch.transition.duration'), 34 color dt('toggleswitch.transition.duration'), 35 border-color dt('toggleswitch.transition.duration'), 36 outline-color dt('toggleswitch.transition.duration'), 37 box-shadow dt('toggleswitch.transition.duration'); 38 border-radius: dt('toggleswitch.border.radius'); 39 outline-color: transparent; 40 box-shadow: dt('toggleswitch.shadow'); 41 } 42 43 .p-toggleswitch-handle { 44 position: absolute; 45 top: 50%; 46 display: flex; 47 justify-content: center; 48 align-items: center; 49 background: dt('toggleswitch.handle.background'); 50 color: dt('toggleswitch.handle.color'); 51 width: dt('toggleswitch.handle.size'); 52 height: dt('toggleswitch.handle.size'); 53 inset-inline-start: dt('toggleswitch.gap'); 54 margin-block-start: calc(-1 * calc(dt('toggleswitch.handle.size') / 2)); 55 border-radius: dt('toggleswitch.handle.border.radius'); 56 transition: 57 background dt('toggleswitch.transition.duration'), 58 color dt('toggleswitch.transition.duration'), 59 inset-inline-start dt('toggleswitch.slide.duration'), 60 box-shadow dt('toggleswitch.slide.duration'); 61 } 62 63 .p-toggleswitch.p-toggleswitch-checked .p-toggleswitch-slider { 64 background: dt('toggleswitch.checked.background'); 65 border-color: dt('toggleswitch.checked.border.color'); 66 } 67 68 .p-toggleswitch.p-toggleswitch-checked .p-toggleswitch-handle { 69 background: dt('toggleswitch.handle.checked.background'); 70 color: dt('toggleswitch.handle.checked.color'); 71 inset-inline-start: calc(dt('toggleswitch.width') - calc(dt('toggleswitch.handle.size') + dt('toggleswitch.gap'))); 72 } 73 74 .p-toggleswitch:not(.p-disabled):has(.p-toggleswitch-input:hover) .p-toggleswitch-slider { 75 background: dt('toggleswitch.hover.background'); 76 border-color: dt('toggleswitch.hover.border.color'); 77 } 78 79 .p-toggleswitch:not(.p-disabled):has(.p-toggleswitch-input:hover) .p-toggleswitch-handle { 80 background: dt('toggleswitch.handle.hover.background'); 81 color: dt('toggleswitch.handle.hover.color'); 82 } 83 84 .p-toggleswitch:not(.p-disabled):has(.p-toggleswitch-input:hover).p-toggleswitch-checked .p-toggleswitch-slider { 85 background: dt('toggleswitch.checked.hover.background'); 86 border-color: dt('toggleswitch.checked.hover.border.color'); 87 } 88 89 .p-toggleswitch:not(.p-disabled):has(.p-toggleswitch-input:hover).p-toggleswitch-checked .p-toggleswitch-handle { 90 background: dt('toggleswitch.handle.checked.hover.background'); 91 color: dt('toggleswitch.handle.checked.hover.color'); 92 } 93 94 .p-toggleswitch:not(.p-disabled):has(.p-toggleswitch-input:focus-visible) .p-toggleswitch-slider { 95 box-shadow: dt('toggleswitch.focus.ring.shadow'); 96 outline: dt('toggleswitch.focus.ring.width') dt('toggleswitch.focus.ring.style') dt('toggleswitch.focus.ring.color'); 97 outline-offset: dt('toggleswitch.focus.ring.offset'); 98 } 99 100 .p-toggleswitch.p-invalid > .p-toggleswitch-slider { 101 border-color: dt('toggleswitch.invalid.border.color'); 102 } 103 104 .p-toggleswitch.p-disabled { 105 opacity: 1; 106 } 107 108 .p-toggleswitch.p-disabled .p-toggleswitch-slider { 109 background: dt('toggleswitch.disabled.background'); 110 } 111 112 .p-toggleswitch.p-disabled .p-toggleswitch-handle { 113 background: dt('toggleswitch.handle.disabled.background'); 114 } 115`,a=i(36988).A.extend({name:"toggleswitch",style:d,classes:{root:function(e){var t=e.instance,i=e.props;return["p-toggleswitch p-component",{"p-toggleswitch-checked":t.checked,"p-disabled":i.disabled,"p-invalid":t.$invali
115d}]},input:"p-toggleswitch-input",slider:"p-toggleswitch-slider",handle:"p-toggleswitch-handle"},inlineStyles:{root:{position:"relative"}}}),n=i(41425),s={name:"ToggleSwitch",extends:{name:"BaseToggleSwitch",extends:o.A,props:{trueValue:{type:null,default:!0},falseValue:{type:null,default:!1},readonly:{type:Boolean,default:!1},tabindex:{type:Number,default:null},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:a,provide:function(){return{$pcToggleSwitch:this,$parentInstance:this}}},inheritAttrs:!1,emits:["change","focus","blur"],methods:{getPTOptions:function(e){return("root"===e?this.ptmi:this.ptm)(e,{context:{checked:this.checked,disabled:this.disabled}})},onChange:function(e){if(!this.disabled&&!this.readonly){var t=this.checked?this.falseValue:this.trueValue;this.writeValue(t,e),this.$emit("change",e)}},onFocus:function(e){this.$emit("focus",e)},onBlur:function(e){var t,i;this.$emit("blur",e),null==(t=(i=this.formField).onBlur)||t.call(i,e)}},computed:{checked:function(){return this.d_value===this.trueValue},dataP:function(){return(0,l.cn)({checked:this.checked,disabled:this.disabled,invalid:this.$invalid})}}},r=["data-p-checked","data-p-disabled","data-p"],c=["id","checked","tabindex","disabled","readonly","aria-checked","aria-labelledby","aria-label","aria-invalid"],g=["data-p"],h=["data-p"];s.render=function(e,t,i,l,o,d){return(0,n.openBlock)(),(0,n.createElementBlock)("div",(0,n.mergeProps)({class:e.cx("root"),style:e.sx("root")},d.getPTOptions("root"),{"data-p-checked":d.checked,"data-p-disabled":e.disabled,"data-p":d.dataP}),[(0,n.createElementVNode)("input",(0,n.mergeProps)({id:e.inputId,type:"checkbox",role:"switch",class:[e.cx("input"),e.inputClass],style:e.inputStyle,checked:d.checked,tabindex:e.tabindex,disabled:e.disabled,readonly:e.readonly,"aria-checked":d.checked,"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,"aria-invalid":e.invalid||void 0,onFocus:t[0]||(t[0]=function(){return d.onFocus&&d.onFocus.apply(d,arguments)}),onBlur:t[1]||(t[1]=function(){return d.onBlur&&d.onBlur.apply(d,arguments)}),onChange:t[2]||(t[2]=function(){return d.onChange&&d.onChange.apply(d,arguments)})},d.getPTOptions("input")),null,16,c),(0,n.createElementVNode)("div",(0,n.mergeProps)({class:e.cx("slider")},d.getPTOptions("slider"),{"data-p":d.dataP}),[(0,n.createElementVNode)("div",(0,n.mergeProps)({class:e.cx("handle")},d.getPTOptions("handle"),{"data-p":d.dataP}),[(0,n.renderSlot)(e.$slots,"handle",{checked:d.checked})],16,h)],16,g)],16,r)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.