%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/varak.net/nextcloud.varak.net/apps_old/apps/passwords/js/Static/
Upload File :
Create Path :
Current File : //www/varak.net/nextcloud.varak.net/apps_old/apps/passwords/js/Static/1355.b64f34857adb4a3cf6ae.js

/*! For license information please see 1355.b64f34857adb4a3cf6ae.js.LICENSE.txt */
(self.webpackChunkncpasswords=self.webpackChunkncpasswords||[]).push([[1355],{17334:t=>{function e(t,e=100,n={}){if("function"!=typeof t)throw new TypeError(`Expected the first parameter to be a function, got \`${typeof t}\`.`);if(e<0)throw new RangeError("`wait` must not be negative.");const{immediate:i}="boolean"==typeof n?{immediate:n}:n;let r,s,o,a,l;function c(){const n=Date.now()-a;if(n<e&&n>=0)o=setTimeout(c,e-n);else if(o=void 0,!i){const e=r,n=s;r=void 0,s=void 0,l=t.apply(e,n)}}const d=function(...n){if(r&&this!==r)throw new Error("Debounced method called with different contexts.");r=this,s=n,a=Date.now();const d=i&&!o;if(o||(o=setTimeout(c,e)),d){const e=r,n=s;r=void 0,s=void 0,l=t.apply(e,n)}return l};return d.clear=()=>{o&&(clearTimeout(o),o=void 0)},d.flush=()=>{if(!o)return;const e=r,n=s;r=void 0,s=void 0,l=t.apply(e,n),clearTimeout(o),o=void 0},d}t.exports.debounce=e,t.exports=e},37759:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i});const i={}},72793:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i});const i={}},53137:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i});const i={}},54914:(t,e,n)=>{"use strict";n.d(e,{F:()=>$});var i,r=Symbol(),s=Symbol(),o=Symbol(),a=Symbol(),l=function(t){return"frag"in t},c={get:function(){return this[s]||this.parentElement},configurable:!0},d=function(t,e){s in t||(t[s]=e,Object.defineProperty(t,"parentNode",c))},u={get:function(){var t=this.parentNode.childNodes,e=t.indexOf(this);return e>-1&&t[e+1]||null}},h=function(t){o in t||(t[o]=!0,Object.defineProperty(t,"nextSibling",u))},p=function(t){if(!i){var e=Object.getOwnPropertyDescriptor(Node.prototype,"childNodes");i=e.get}var n=i.apply(t),r=Array.from(n).map((function(e){return function(t,e){for(;t.parentNode!==e;){var n=t.parentNode;n&&(t=n)}return t}(e,t)}));return r.filter((function(t,e){return t!==r[e-1]}))},f={get:function(){return this.frag||p(this)}},m={get:function(){return this.childNodes[0]||null}};function g(){return this.childNodes.length>0}var b=function(t){a in t||(t[a]=!0,Object.defineProperties(t,{childNodes:f,firstChild:m}),t.hasChildNodes=g)};function v(){var t;(t=this.frag[0]).before.apply(t,arguments)}function y(){var t=this.frag;t.splice(0,t.length).forEach((function(t){t.remove()}))}var _=function t(e){var n;return(n=Array.prototype).concat.apply(n,e.map((function(e){return l(e)?t(e.frag):e})))};function C(t){if(l(this)){var e=this.frag.indexOf(t);if(e>-1){var n=this.frag.splice(e,1)[0];0===this.frag.length&&function(t,e){var n=t[r];e.before(n),d(n,t),t.frag.unshift(n)}(this,n),t.remove()}}else p(this).indexOf(t)>-1&&t.remove();return t}function x(t,e){var n=this,i=t.frag||[t];if(l(this)){if(t[s]===this&&t.parentElement)return t;var r=this.frag;if(e){var o=r.indexOf(e);o>-1&&(r.splice.apply(r,[o,0].concat(i)),e.before.apply(e,i))}else{var a=r[r.length-1];r.push.apply(r,i),a.after.apply(a,i)}k(this)}else e?this.childNodes.includes(e)&&e.before.apply(e,i):this.append.apply(this,i);i.forEach((function(t){d(t,n)}));var c=i[i.length-1];return h(c),t}function N(t){if(t[s]===this&&t.parentElement)return t;var e=this.frag;return e[e.length-1].after(t),d(t,this),k(this),e.push(t),t}var k=function(t){var e=t[r];t.frag[0]===e&&(t.frag.shift(),e.remove())},B={set:function(t){var e=this;if(this.frag[0]!==this[r]&&this.frag.slice().forEach((function(t){return e.removeChild(t)})),t){var n=document.createElement("div");n.innerHTML=t,Array.from(n.childNodes).forEach((function(t){e.appendChild(t)}))}},get:function(){return""}},O={inserted:function(t){var e=t.parentNode,n=t.nextSibling,i=t.previousSibling,s=Array.from(t.childNodes),o=document.createComment("");0===s.length&&s.push(o),t.frag=s,t[r]=o;var a=document.createDocumentFragment();a.append.apply(a,_(s)),t.replaceWith(a),s.forEach((function(e){d(e,t),h(e)})),b(t),Object.assign(t,{remove:y,appendChild:N,insertBefore:x,removeChild:C,before:v}),Object.defineProperty(t,"innerHTML",B),e&&(Object.assign(e,{removeChild:C,insertBefore:x}),d(t,e),b(e)),n&&h(t),i&&h(i)},unbind:function(t){t.remove()}},$={name:"Fragment",directives:{frag:O},render:function(t){return t("div",{directives:[{name:"frag"}]},this.$slots.default)}}},62972:(t,e,n)=>{var i=n(37759);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals),(0,n(70534).A)("6b274c64",i,!1,{})},71414:(t,e,n)=>{var i=n(72793);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals),(0,n(70534).A)("95d355a0",i,!1,{})},36916:(t,e,n)=>{var i=n(53137);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals),(0,n(70534).A)("44cd05c0",i,!1,{})},57505:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>d}),n(62972);var i=n(66649),r=n(84396),s=n(35497),o=n(3490);const a={name:"NcActionButton",components:{CheckIcon:i.C,ChevronRightIcon:r.C},mixins:[s.A],inject:{isInSemanticMenu:{from:"NcActions:isSemanticMenu",default:!1}},props:{ariaHidden:{type:Boolean,default:null},disabled:{type:Boolean,default:!1},isMenu:{type:Boolean,default:!1},type:{type:String,default:"button",validator:t=>["button","checkbox","radio","reset","submit"].includes(t)},modelValue:{type:[Boolean,String],default:null},value:{type:String,default:null}},computed:{isFocusable(){return!this.disabled},isChecked(){return"radio"===this.type&&"boolean"!=typeof this.modelValue?this.modelValue===this.value:this.modelValue},nativeType(){return"submit"===this.type||"reset"===this.type?this.type:"button"},buttonAttributes(){const t={};return this.isInSemanticMenu?(t.role="menuitem","radio"===this.type?(t.role="menuitemradio",t["aria-checked"]=this.isChecked?"true":"false"):("checkbox"===this.type||"button"===this.nativeType&&null!==this.modelValue)&&(t.role="menuitemcheckbox",t["aria-checked"]=null===this.modelValue?"mixed":this.modelValue?"true":"false")):null!==this.modelValue&&"button"===this.nativeType&&(t["aria-pressed"]=this.modelValue?"true":"false"),t}},methods:{handleClick(t){this.onClick(t),(null!==this.modelValue||"button"!==this.type)&&("radio"===this.type&&"boolean"!=typeof this.modelValue?this.isChecked||this.$emit("update:modelValue",this.value):this.$emit("update:modelValue",!this.isChecked))}}};var l=function(){var t=this,e=t._self._c;return e("li",{staticClass:"action",class:{"action--disabled":t.disabled},attrs:{role:t.isInSemanticMenu&&"presentation"}},[e("button",t._b({class:["action-button button-vue",{"action-button--active":t.isChecked,focusable:t.isFocusable}],attrs:{"aria-label":t.ariaLabel,disabled:t.disabled,title:t.title,type:t.nativeType},on:{click:t.handleClick}},"button",t.buttonAttributes,!1),[t._t("icon",(function(){return[e("span",{staticClass:"action-button__icon",class:[t.isIconUrl?"action-button__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?"url(".concat(t.icon,")"):null},attrs:{"aria-hidden":"true"}})]})),t.name?e("span",{staticClass:"action-button__longtext-wrapper"},[e("strong",{staticClass:"action-button__name"},[t._v(" "+t._s(t.name)+" ")]),e("br"),e("span",{staticClass:"action-button__longtext",domProps:{textContent:t._s(t.text)}})]):t.isLongText?e("span",{staticClass:"action-button__longtext",domProps:{textContent:t._s(t.text)}}):e("span",{staticClass:"action-button__text"},[t._v(t._s(t.text))]),t.isMenu?e("ChevronRightIcon",{staticClass:"action-button__menu-icon",attrs:{size:20}}):!0===t.isChecked?e("CheckIcon",{staticClass:"action-button__pressed-icon",attrs:{size:20}}):!1===t.isChecked?e("span",{staticClass:"action-button__pressed-icon material-design-icon"}):t._e(),t._e()],2)])},c=[];const d=(0,o.n)(a,l,c,!1,null,"51d9ee64",null,null).exports},66649:(t,e,n)=>{"use strict";n.d(e,{C:()=>a});var i=n(3490);const r={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var s=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon check-icon",attrs:{"aria-hidden":!t.title||null,"aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},o=[];const a=(0,i.n)(r,s,o,!1,null,null,null,null).exports},56042:(t,e,n)=>{"use strict";n.d(e,{N:()=>u}),n(71414);var i=n(92470),r=n(26862),s=n(74095),o=n(84396),a=n(3490);const l={name:"NcBreadcrumb",components:{NcActions:i.N,ChevronRight:o.C,NcButton:s.default},inheritAttrs:!1,props:{name:{type:String,required:!0},title:{type:String,default:null},to:{type:[String,Object],default:void 0},exact:{type:Boolean,default:!1},href:{type:String,default:void 0},icon:{type:String,default:""},forceIconText:{type:Boolean,default:!1},disableDrop:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},open:{type:Boolean,default:!1}},emits:["update:open","dropped"],data:()=>({hovering:!1,crumbId:"crumb-id-".concat((0,r.G)())}),computed:{linkAttributes(){return this.to?{to:this.to,exact:this.exact,...this.$attrs}:this.href?{href:this.href,...this.$attrs}:this.$attrs}},methods:{onOpenChange(t){this.$emit("update:open",t)},dropped(t){return this.disableDrop||(this.$emit("dropped",t,this.to||this.href),this.$parent.$emit("dropped",t,this.to||this.href),this.hovering=!1),!1},dragEnter(t){this.disableDrop||(this.hovering=!0)},dragLeave(t){this.disableDrop||t.target.contains(t.relatedTarget)||this.$refs.crumb.contains(t.relatedTarget)||(this.hovering=!1)}}};var c=function(){var t=this,e=t._self._c;return e("li",t._b({ref:"crumb",staticClass:"vue-crumb",class:{"vue-crumb--hovered":t.hovering},attrs:{draggable:"false"},on:{dragstart:function(t){return t.preventDefault(),(()=>{}).apply(null,arguments)},drop:function(e){return e.preventDefault(),t.dropped.apply(null,arguments)},dragover:function(t){return t.preventDefault(),(()=>{}).apply(null,arguments)},dragenter:t.dragEnter,dragleave:t.dragLeave}},"li",t._d({},[t.crumbId,""])),[(t.name||t.icon||t.$slots.icon)&&!t.$slots.default?e("NcButton",t._g(t._b({attrs:{title:t.title,"aria-label":t.icon?t.name:void 0,type:"tertiary"},scopedSlots:t._u([t.$slots.icon||t.icon?{key:"icon",fn:function(){return[t._t("icon",(function(){return[e("span",{staticClass:"icon",class:t.icon})]}))]},proxy:!0}:null,!t.$slots.icon&&!t.icon||t.forceIconText?{key:"default",fn:function(){return[t._v(" "+t._s(t.name)+" ")]},proxy:!0}:null],null,!0)},"NcButton",t.linkAttributes,!1),t.$listeners)):t._e(),t.$slots.default?e("NcActions",{ref:"actions",attrs:{type:"tertiary","force-menu":t.forceMenu,open:t.open,"menu-name":t.name,title:t.title,"force-name":!0,container:".vue-crumb[".concat(t.crumbId,"]")},on:{"update:open":t.onOpenChange},scopedSlots:t._u([{key:"icon",fn:function(){return[t._t("menu-icon")]},proxy:!0}],null,!0)},[t._t("default")],2):t._e(),e("ChevronRight",{staticClass:"vue-crumb__separator",attrs:{size:20}})],1)},d=[];const u=(0,a.n)(l,c,d,!1,null,"fe4740ac",null,null).exports},51355:(t,e,n)=>{"use strict";n.d(e,{N:()=>_}),n(36916);var i=n(92470),r=n(57505),s=n(85342),o=n(83585),a=n(56042),l=n(62893),c=n(61338),d=n(3490),u=n(17334),h=n(54914);const p=(t,e,n)=>{if(void 0!==t)for(let i=t.length-1;i>=0;i--){const r=t[i],s=!r.componentOptions&&r.tag&&-1===e.indexOf(r.tag),o=!!r.componentOptions&&"string"==typeof r.componentOptions.tag,a=o&&-1===e.indexOf(r.componentOptions.tag);(s||!o||a)&&((s||a)&&l.Ay.util.warn("".concat(s?r.tag:r.componentOptions.tag," is not allowed inside the ").concat(n.$options.name," component"),n),t.splice(i,1))}},f={name:"FolderIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var m=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon folder-icon",attrs:{"aria-hidden":!t.title||null,"aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6H12L10,4Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},g=[];const b=(0,d.n)(f,m,g,!1,null,null,null,null).exports,v="vue-crumb",y={name:"NcBreadcrumbs",components:{NcActions:i.N,NcActionButton:r.default,NcActionRouter:s.A,NcActionLink:o.A,NcBreadcrumb:a.N,IconFolder:b},props:{rootIcon:{type:String,default:"icon-home"},ariaLabel:{type:String,default:null}},emits:["dropped"],data:()=>({hiddenIndices:[],menuBreadcrumbProps:{name:"",forceMenu:!0,disableDrop:!0,open:!1},breadcrumbsRefs:{}}),beforeMount(){p(this.$slots.default,["NcBreadcrumb"],this)},beforeUpdate(){p(this.$slots.default,["NcBreadcrumb"],this)},created(){window.addEventListener("resize",u((()=>{this.handleWindowResize()}),100)),(0,c.B1)("navigation-toggled",this.delayedResize)},mounted(){this.handleWindowResize()},updated(){this.delayedResize(),this.$nextTick((()=>{this.hideCrumbs()}))},beforeDestroy(){window.removeEventListener("resize",this.handleWindowResize),(0,c.al)("navigation-toggled",this.delayedResize)},methods:{closeActions(t){this.$refs.actionsBreadcrumb.$el.contains(t.relatedTarget)||(this.menuBreadcrumbProps.open=!1)},async delayedResize(){await this.$nextTick(),this.handleWindowResize()},handleWindowResize(){var t;if(!this.$refs.container)return;const e=Object.values(this.breadcrumbsRefs),n=e.length,i=[],r=this.$refs.container.offsetWidth;let s=this.getTotalWidth(e);this.$refs.breadcrumb__actions&&(s+=this.$refs.breadcrumb__actions.offsetWidth);let o=s-r;o+=o>0?64:0;let a=0;const l=Math.floor(n/2);for(;o>0&&a<n-2;){const r=l+(a%2?a+1:a)/2*Math.pow(-1,a+n%2);o-=this.getWidth(null==(t=e[r])?void 0:t.elm,r===e.length-1),i.push(r),a++}this.arraysEqual(this.hiddenIndices,i.sort(((t,e)=>t-e)))||(this.hiddenIndices=i)},arraysEqual(t,e){if(t.length!==e.length)return!1;if(t===e)return!0;if(null===t||null===e)return!1;for(let n=0;n<t.length;++n)if(t[n]!==e[n])return!1;return!0},getTotalWidth(t){return t.reduce(((e,n,i)=>e+this.getWidth(null==n?void 0:n.elm,i===t.length-1)),0)},getWidth(t,e){if(null==t||!t.classList)return 0;const n=t.classList.contains("".concat(v,"--hidden"));t.style.minWidth="auto",e&&(t.style.maxWidth="210px"),t.classList.remove("".concat(v,"--hidden"));const i=t.offsetWidth;return n&&t.classList.add("".concat(v,"--hidden")),t.style.minWidth="",t.style.maxWidth="",i},preventDefault:t=>(t.preventDefault&&t.preventDefault(),!1),dragStart(t){return this.preventDefault(t)},dropped(t,e,n){return n||this.$emit("dropped",t,e),this.menuBreadcrumbProps.open=!1,document.querySelectorAll(".".concat(v)).forEach((t=>{t.classList.remove("".concat(v,"--hovered"))})),this.preventDefault(t)},dragOver(t){return this.preventDefault(t)},dragEnter(t,e){if(!e&&t.target.closest){const e=t.target.closest(".".concat(v));e.classList&&e.classList.contains(v)&&(document.querySelectorAll(".".concat(v)).forEach((t=>{t.classList.remove("".concat(v,"--hovered"))})),e.classList.add("".concat(v,"--hovered")))}},dragLeave(t,e){if(!e&&!t.target.contains(t.relatedTarget)&&t.target.closest){const e=t.target.closest(".".concat(v));if(e.contains(t.relatedTarget))return;e.classList&&e.classList.contains(v)&&e.classList.remove("".concat(v,"--hovered"))}},hideCrumbs(){Object.values(this.breadcrumbsRefs).forEach(((t,e)=>{var n;null!=(n=null==t?void 0:t.elm)&&n.classList&&(this.hiddenIndices.includes(e)?t.elm.classList.add("".concat(v,"--hidden")):t.elm.classList.remove("".concat(v,"--hidden")))}))},isBreadcrumb(t){var e;return((null==(e=null==t?void 0:t.componentOptions)?void 0:e.tag)||(null==t?void 0:t.tag)||"").includes("NcBreadcrumb")}},render(t){const e=[];if(this.$slots.default.forEach((t=>{var n,i;this.isBreadcrumb(t)?e.push(t):(null==t?void 0:t.type)===h.F&&(null==(i=null==(n=null==t?void 0:t.children)?void 0:n.forEach)||i.call(n,(t=>{this.isBreadcrumb(t)&&e.push(t)})))})),0===e.length)return;l.Ay.set(e[0].componentOptions.propsData,"icon",this.rootIcon),l.Ay.set(e[0].componentOptions.propsData,"ref","breadcrumbs");const n={};e.forEach(((t,e)=>{l.Ay.set(t,"ref","crumb-".concat(e)),n[e]=t}));let i=[];if(this.hiddenIndices.length){i=e.slice(0,Math.round(e.length/2)),i.push(t("NcBreadcrumb",{class:"dropdown",props:this.menuBreadcrumbProps,attrs:{"aria-hidden":!0},ref:"actionsBreadcrumb",key:"actions-breadcrumb-1",nativeOn:{dragstart:this.dragStart,dragenter:()=>{this.menuBreadcrumbProps.open=!0},dragleave:this.closeActions},on:{"update:open":t=>{this.menuBreadcrumbProps.open=t}}},this.hiddenIndices.filter((t=>t<=e.length-1)).map((n=>{const i=e[n],r=i.componentOptions.propsData.to,s=i.componentOptions.propsData.href,o=i.componentOptions.propsData.disableDrop,a=i.componentOptions.propsData.title,l=i.componentOptions.propsData.name;let c="NcActionButton",d="";s&&(c="NcActionLink",d=s),r&&(c="NcActionRouter",d=r);const u=t("IconFolder",{props:{size:20},slot:"icon"});return t(c,{class:v,props:{href:s||null,title:a,to:r||null},attrs:{draggable:!1},on:{...i.componentOptions.listeners},nativeOn:{dragstart:this.dragStart,drop:t=>this.dropped(t,d,o),dragover:this.dragOver,dragenter:t=>this.dragEnter(t,o),dragleave:t=>this.dragLeave(t,o)}},[u,l])}))));const n=e.slice(Math.round(e.length/2));i=i.concat(n)}else i=e;const r=[t("nav",{attrs:{"aria-label":this.ariaLabel}},[t("ul",{class:"breadcrumb__crumbs"},[i])])];return this.$slots.actions&&r.push(t("div",{class:"breadcrumb__actions",ref:"breadcrumb__actions"},this.$slots.actions)),this.breadcrumbsRefs=n,t("div",{class:["breadcrumb",{"breadcrumb--collapsed":this.hiddenIndices.length===e.length-2}],ref:"container"},r)}},_=(0,d.n)(y,null,null,!1,null,"959b70c1",null,null).exports}}]);

Zerion Mini Shell 1.0