=1;)e.removeChild(e.firstChild)}},i.redraw=function(){this.clean(),this.draw()},i.reset=function(){"number"==typeof this.timer&&(this.hide(),this.show())},i.tick=function(e){var n=this.con,i=this.diameter;e||(this.activeId+=360/this.density*this.speed),t===r[0]?(n.clearRect(0,0,i,i),f(n,.5*i,.5*i,this.activeId/180*Math.PI),n.drawImage(this.cCan,0,0,i,i),n.restore()):(this.activeId>=360&&(this.activeId-=360),d(this.vml,{rotation:this.activeId}))},i.show=function(){if("number"!=typeof this.timer){var e=this;this.timer=self.setInterval(function(){e.tick()},Math.round(1e3/this.fps)),d(this.cont,{display:"block"})}},i.hide=function(){"number"==typeof this.timer&&(clearInterval(this.timer),delete this.timer,d(this.cont,{display:"none"}))},i.kill=function(){var e,n=this.cont;for(e in"number"==typeof this.timer&&this.hide(),t===r[0]?(n.removeChild(this.can),n.removeChild(this.cCan)):n.removeChild(this.vml),this)delete this[e]},e.CanvasLoader=n}(window)},c8JY:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"toolbar",staticClass:"toolbar"},[e.cropped?e._e():[e.setDragMode?n("button",{staticClass:"toolbar__button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.move},on:{click:function(t){e.setDragMode("move")}}},[n("i",{staticClass:"uk-icon-arrows"})]):e._e(),e._v(" "),e.setDragMode?n("button",{staticClass:"toolbar__button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.crop},on:{click:function(t){e.setDragMode("crop")}}},[n("i",{staticClass:"uk-icon-crop"})]):e._e(),e._v(" "),e.zoomIn?n("button",{staticClass:"toolbar_button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.zoomIn},on:{click:e.zoomIn}},[n("i",{staticClass:"uk-icon-search-plus"})]):e._e(),e._v(" "),e.zoomOut?n("button",{staticClass:"toolbar_button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.zoomOut},on:{click:e.zoomOut}},[n("i",{staticClass:"uk-icon-search-minus"})]):e._e(),e._v(" "),e.rotateLeft?n("button",{staticClass:"toolbar_button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.rotateLeft},on:{click:e.rotateLeft}},[n("i",{staticClass:"uk-icon-rotate-left"})]):e._e(),e._v(" "),e.rotateRight?n("button",{staticClass:"toolbar_button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.rotateRight},on:{click:e.rotateRight}},[n("i",{staticClass:"uk-icon-rotate-right"})]):e._e(),e._v(" "),e.flipHorizontal?n("button",{staticClass:"toolbar_button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.flipHorizontal},on:{click:e.flipHorizontal}},[n("i",{staticClass:"uk-icon-arrows-h"})]):e._e(),e._v(" "),e.flipVertical?n("button",{staticClass:"toolbar_button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.flipVertical},on:{click:e.flipVertical}},[n("i",{staticClass:"uk-icon-arrows-v"})]):e._e(),e._v(" "),n("div",{staticClass:"toolbar__select_wraper",attrs:{"data-uk-tooltip":"",title:e.translations.aspectRatio}},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.ratio,expression:"ratio"}],staticClass:"toolbar__select uk-button",on:{change:[function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.ratio=t.target.multiple?n:n[0]},e.aspectRatio]}},[n("optgroup",{attrs:{label:e.translations.other}},[n("option",{attrs:{value:"free"}},[e._v(e._s(e.translations.free))]),e._v(" "),n("option",{attrs:{value:"1:1"}},[e._v("1:1")]),e._v(" "),n("option",{attrs:{value:"4:3"}},[e._v("4:3")])]),e._v(" "),n("optgroup",{attrs:{label:e.translations.landscape}},[n("option",{attrs:{value:"16:9"}},[e._v("16:9")]),e._v(" "),n("option",{attrs:{value:"21:9"}},[e._v("21:9")])]),e._v(" "),n("optgroup",{attrs:{label:e.translations.portrait}},[n("option",{attrs:{value:"9:16"}},[e._v("9:16")]),e._v(" "),n("option",{attrs:{value:"9:21"}},[e._v("9:21")])])]),e._v(" "),n("i",{staticClass:"uk-icon-arrow-down"})]),e._v(" "),e.cropping&&!e.cropped?n("button",{staticClass:"toolbar_button uk-button uk-button-primary",attrs:{"data-uk-tooltip":"",title:e.translations.applyChange},on:{click:e.crop}},[n("i",{staticClass:"uk-icon-check"})]):e._e()],e._v(" "),e.cropped?n("button",{staticClass:"toolbar_button uk-button uk-button-secondary",attrs:{"data-uk-tooltip":"",title:e.translations.undo},on:{click:e.undo}},[n("i",{staticClass:"uk-icon-undo"})]):e._e(),e._v(" "),e.cropped?n("button",{staticClass:"toolbar_button uk-button uk-button-primary",attrs:{"data-uk-tooltip":"",title:e.translations.saveAndOverwrite},on:{click:e.overwrite}},[n("i",{staticClass:"uk-icon-floppy-o"}),e._v(" "+e._s(e.translations.saveAndOverwrite)+"\n ")]):e._e()],2)},staticRenderFns:[]};t.default=i},cDWz:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("TL+m"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("VB4P"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},ciPl:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("BYnw"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("qqmG"),s=n.n(a);var l=function(e){n("Xatb")},u=n("/4AN")(r.a,s.a,!1,l,"data-v-528b9f0b",null);t.default=u.exports},dy4P:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("mC1X"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("nFnR"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},e1f4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getImage=function(){return(0,i.default)({method:"GET",url:window.RozierRoot.routes.splashRequest,headers:{"X-Requested-With":"XMLHttpRequest"},params:{_:Math.random()}}).then(function(e){return e.data.url}).catch(function(){throw new Error("Image not found")})};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("dZBD"))},e9E8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{isLoadingMore:{required:!0,type:Boolean},nextPage:{type:Number},loadMoreItems:{required:!0,type:Function},moreItemsText:{required:!0,type:String}}}},eC0v:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("T4f3"));n("gzqx");var r=s(n("iUPs")),o=n("SJI6"),a=s(n("mebu"));function s(e){return e&&e.__esModule?e:{default:e}}t.default={props:{srcUrl:{required:!0,type:String},filename:{required:!0,type:String}},data:function(){return{editable:!1,cropper:!1,cropping:!0,data:null,canvasData:null,cropBoxData:null,image:null,type:"",name:"",url:this.srcUrl,cropped:!1,aspectRatio:null}},mounted:function(){this.blanchetteEditorInit({url:this.url,editor:this.$refs.blanchetteEditor})},computed:(0,i.default)({},(0,o.mapState)({originalUrl:function(e){return e.blanchetteEditor.originalUrl},isLoading:function(e){return e.blanchetteEditor.isLoading},translations:function(e){return e.translations}})),methods:(0,i.default)({},(0,o.mapActions)(["blanchetteEditorInit","blanchetteEditorLoaded","blanchetteEditorSave"]),{overwrite:function(){var e=this;this.blanchetteEditorSave({url:this.url,filename:this.filename}).then(function(){return e.restore()})},load:function(){var e=this;window.setTimeout(function(){e.image||(e.image=e.$refs.image,e.start(),e.blanchetteEditorLoaded())},1e3)},setAspectRatio:function(e){switch(e.target.value){case"1:1":this.aspectRatio=1;break;case"4:3":this.aspectRatio=4/3;break;case"16:9":this.aspectRatio=16/9;break;case"21:9":this.aspectRatio=21/9;break;case"9:16":this.aspectRatio=9/16;break;case"9:21":this.aspectRatio=9/21;break;default:this.aspectRatio=null}this.cropper.setAspectRatio(this.aspectRatio)},rotateRight:function(){this.cropper.rotate(90)},rotateLeft:function(){this.cropper.rotate(-90)},setDragMode:function(e){e&&this.cropper&&this.cropper.setDragMode(e)},zoomIn:function(){this.cropper.zoom(.1)},zoomOut:function(){this.cropper.zoom(-.1)},flipHorizontal:function(){this.cropper.scaleX(-this.cropper.getData().scaleX||-1)},flipVertical:function(){this.cropper.scaleY(-this.cropper.getData().scaleY||-1)},move:function(e,t){this.cropper.move(e,t)},start:function(){this.cropper||(this.cropper=new r.default(this.image,{autoCrop:!1,dragMode:"move",background:!1,aspectRatio:this.aspectRatio,viewMode:1,zoomOnWheel:!1,ready:function(){this.data&&(this.cropper.crop().setData(this.data).setCanvasData(this.canvasData).setCropBoxData(this.cropBoxData),this.data=null,this.canvasData=null,this.cropBoxData=null)},crop:function(e){e.detail.width>0&&e.detail.height>0&&!this.cropping&&(this.cropping=!0)}}))},stop:function(){this.cropper&&(this.cropper.destroy(),this.cropper=null)},crop:function(){var e=this.cropper,t=this.type;this.cropping&&(this.originalUrl=this.url,this.data=e.getData(),this.canvasData=e.getCanvasData(),this.cropBoxData=e.getCropBoxData(),this.url=e.getCroppedCanvas("image/png"===t?null:{fillColor:"#fff"}).toDataURL(t),this.cropped=!0,this.stop())},clear:function(){this.cropping&&this.cropper.clear()},restore:function(){this.cropper||(this.image=null,this.url=this.originalUrl,this.originalUrl="",this.cropped=!1)}}),components:{BlanchetteToolbar:a.default}}},eQwT:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("THhJ"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("/4AN")(r.a,null,!1,null,null,null);t.default=a.exports},en6P:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n("T4f3")),r=n("SJI6");t.default={computed:(0,i.default)({},(0,r.mapState)({isExplorerOpen:function(e){return e.explorer.isOpen}}))}},fHvF:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(e){return e&&e.__esModule?e:{default:e}}(n("Xos8")),o=n("xHmi"),a=l(n("2y8T")),s=l(n("Mb7i"));function l(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}var u={blanchetteEditorInit:function(e,t){var n=e.commit,i=e.dispatch,r=t.url,a=t.editor;i("blanchetteEditorIsLoading"),n(o.BLANCHETTE_EDITOR_INIT,{url:r,editor:a})},blanchetteEditorIsLoading:function(e){(0,e.commit)(o.BLANCHETTE_EDITOR_IS_LOADING)},blanchetteEditorLoaded:function(e){(0,e.commit)(o.BLANCHETTE_EDITOR_LOADED)},blanchetteEditorSave:function(e,t){var n=e.commit,i=e.state,r=t.url,l=t.filename,u=s.dataURItoBlob(r),c=i.editor.getElementsByTagName("form")[0],d=new FormData(c);return d.append("form[editDocument]",u,l),n(o.BLANCHETTE_EDITOR_IS_LOADING),a.setDocument(d).then(function(e){if(n(o.BLANCHETTE_EDITOR_LOADED),!e.data||!e.data.path)throw new Error("No path found");window.UIkit.notify({message:e.data.message,status:"success",timeout:2e3,pos:"top-center"}),n(o.BLANCHETTE_EDITOR_SAVE_SUCCESS,{path:e.data.path})}).catch(function(e){console.error(e),n(o.BLANCHETTE_EDITOR_ERROR,{error:e}),n(o.BLANCHETTE_EDITOR_LOADED)})}},c=(i={},(0,r.default)(i,o.BLANCHETTE_EDITOR_INIT,function(e,t){var n=t.url,i=t.editor;e.originalUrl=n,e.editor=i}),(0,r.default)(i,o.BLANCHETTE_EDITOR_IS_LOADING,function(e){e.isLoading=!0}),(0,r.default)(i,o.BLANCHETTE_EDITOR_ERROR,function(e,t){var n=t.error;e.error=n.message}),(0,r.default)(i,o.BLANCHETTE_EDITOR_LOADED,function(e){e.isLoading=!1}),(0,r.default)(i,o.BLANCHETTE_EDITOR_SAVE_SUCCESS,function(e,t){var n=t.path;e.originalUrl=n}),i);t.default={state:{isLoading:!0,originalUrl:"",editor:null},actions:u,mutations:c}},fa0H:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("MjFt"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("qE/d"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},g2gx:function(e,t,n){"use strict";var i,r;!function(o,a,s){for(var l,u,c={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},d={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},h={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},f={option:"alt",command:"meta",return:"enter",escape:"esc",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},p={},m={},g={},v=!1,_=!1,b=!1,w=1;w<20;++w)c[111+w]="f"+w;for(w=0;w<=9;++w)c[w+96]=w;function k(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function y(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return c[e.which]?c[e.which]:d[e.which]?d[e.which]:String.fromCharCode(e.which).toLowerCase()}function E(e,t){return e.sort().join(",")===t.sort().join(",")}function C(e){e=e||{};var t,n=!1;for(t in g)e[t]?n=!0:g[t]=0;n||(b=!1)}function x(e,t,n,i,r,o){var a,s,l=[],u=n.type;if(!p[e])return[];for("keyup"==u&&S(e)&&(t=[e]),a=0;a95&&e<112||c.hasOwnProperty(e)&&(l[c[e]]=e);return l}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function D(e,t,n,i){function r(t){return function(){b=t,++g[e],clearTimeout(u),u=setTimeout(C,1e3)}}function o(t){T(n,t,e),"keyup"!==i&&(v=y(t)),setTimeout(C,10)}g[e]=0;for(var a=0;a1?D(e,a,t,n):(o=I(e,n),p[o.key]=p[o.key]||[],x(o.key,o.modifiers,{type:o.action},i,e,r),p[o.key][i?"unshift":"push"]({callback:t,modifiers:o.modifiers,action:o.action,seq:i,level:r,combo:e}))}k(a,"keypress",A),k(a,"keydown",A),k(a,"keyup",A);var M={bind:function(e,t,n){return function(e,t,n){for(var i=0;i-1)&&("INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable)},handleKey:function(e,t,n){var i,r=x(e,t,n),o={},a=0,s=!1;for(i=0;i1?n("div",{staticClass:"widget-explorer-nextpage",on:{click:function(t){t.preventDefault(),e.loadMoreItems(t)}}},[e.isLoadingMore?[n("transition",{attrs:{name:"fade"}},[n("div",{staticClass:"spinner light"})])]:[n("i",{staticClass:"uk-icon-plus"}),e._v(" "),n("span",{staticClass:"label"},[e._v(e._s(e.moreItemsText))])]],2):e._e()])},staticRenderFns:[]};t.default=i},jx8E:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[!e.isTagExisting&&e.searchTerms?n("div",{staticClass:"tag-creator"},[n("div",{staticClass:"infos"},[e._v(e._s(e.translations.createTag))]),e._v(" "),n("tag-creator-item",{attrs:{"create-tag":e.tagsCreate,"tag-name":e.searchTerms}})],1):e._e()])},staticRenderFns:[]};t.default=i},kMqv:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTags=function(){var e={_token:window.RozierRoot.ajaxToken,_action:"tagsExplorer"};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.tagsAjaxExplorer,params:e}).then(function(e){return void 0!==e.data&&e.data.tags?{items:e.data.tags}:{}}).catch(function(e){throw new Error(e)})},t.getParentTags=function(){var e={_token:window.RozierRoot.ajaxToken,_action:"tagsExplorer",onlyParents:!0};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.tagsAjaxExplorer,params:e}).then(function(e){return void 0!==e.data&&e.data.tags?{items:e.data.tags}:{}}).catch(function(e){throw new Error(e)})};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("dZBD"))},kR5N:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("dACh")),r=s(n("jx4H")),o=s(n("0iPh")),a=n("Tzw7");function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(){(0,i.default)(this,e),this.$content=(0,o.default)(".content-tag-edit").eq(0),this.$form=(0,o.default)("#edit-tag-form"),this.$formRow=null,this.$dropdown=null,this.onFormSubmit=this.onFormSubmit.bind(this),this.$content.length&&(this.$formRow=this.$content.find(".uk-form-row"),this.initEvents())}return(0,r.default)(e,[{key:"initEvents",value:function(){this.$form.on("submit",this.onFormSubmit)}},{key:"unbind",value:function(){this.$content.length&&this.$form.off("submit",this.onFormSubmit)}},{key:"onFormSubmit",value:function(){var e=this;return window.Rozier.lazyload.canvasLoader.show(),window.cancelAnimationFrame(this.currentTimeout),this.currentTimeout=window.requestAnimationFrame(function(){var t=new CustomEvent("pagechange");window.dispatchEvent(t);var n=new FormData(e.$form.get(0));o.default.ajax({url:window.location.href,type:"post",data:n,processData:!1,cache:!1,contentType:!1}).done(function(t){e.cleanErrors()}).fail(function(t){t.responseJSON&&(e.displayErrors(t.responseJSON.errors),window.UIkit.notify({message:t.responseJSON.message,status:"danger",timeout:2e3,pos:"top-center"}))}).always(function(){window.Rozier.lazyload.canvasLoader.hide(),window.Rozier.refreshMainTagTree(),window.Rozier.getMessages()})}),!1}},{key:"cleanErrors",value:function(){var e=(0,o.default)(".form-errored");e.each(function(t){e.eq(t).removeClass("form-errored"),e.eq(t).find(".error-message").remove()})}},{key:"displayErrors",value:function(e,t){for(var n in t&&!1!==t||this.cleanErrors(),e){var i=null,r=null;if("object"===(0,a.toType)(e[n]))this.displayErrors(e[n],!0);else{i=n.replace("_","-"),r=e[n]instanceof Array?e[n][0]:e[n];var s=(0,o.default)(".form-col-"+i);s.length&&(s.addClass("form-errored"),s.append(' '+r+"
"))}}}},{key:"resize",value:function(){}}]),e}();t.default=l},kRS3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n("H8iA")),r=o(n("KtXb"));function o(e){return e&&e.__esModule?e:{default:e}}t.default={centralTruncate:i.default,truncate:r.default}},krmO:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(e){return e&&e.__esModule?e:{default:e}}(n("Xos8")),o=n("xHmi");var a={documentPreviewInit:function(e,t){var n=e.commit,i=t.document;n(o.DOCUMENT_PREVIEW_INIT,{document:i})},documentPreviewDestroy:function(e){(0,e.commit)(o.DOCUMENT_PREVIEW_DESTROY)},documentPreviewClose:function(e){(0,e.commit)(o.DOCUMENT_PREVIEW_CLOSE)},documentPreviewOpen:function(e){(0,e.commit)(o.DOCUMENT_PREVIEW_OPEN)}},s=(i={},(0,r.default)(i,o.DOCUMENT_PREVIEW_INIT,function(e,t){var n=t.document;e.document=n}),(0,r.default)(i,o.DOCUMENT_PREVIEW_DESTROY,function(e){e.isVisible||(e.document=null)}),(0,r.default)(i,o.KEYBOARD_EVENT_SPACE,function(e){null===e.document||e.isVisible?e.isVisible&&(e.isVisible=!1,e.document=null):e.isVisible=!0}),(0,r.default)(i,o.KEYBOARD_EVENT_ESCAPE,function(e){e.isVisible=!1,e.document=null}),(0,r.default)(i,o.DOCUMENT_PREVIEW_OPEN,function(e){e.isVisible=!0}),(0,r.default)(i,o.DOCUMENT_PREVIEW_CLOSE,function(e){e.isVisible=!1,e.document=null}),i);t.default={state:{document:null,isVisible:!1,isLoading:!1},getters:{documentPreviewGetDocument:function(e){return e.document}},actions:a,mutations:s}},"l/s5":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("drawer-item",{attrs:{item:e.item,index:e.index,"drawer-name":e.drawerName,"is-item-explorer":e.isItemExplorer,"parent-name":e.item.parent?e.item.parent:"",name:e.item.name?e.item.name:"","edit-item":e.item.editUrl,"add-item":e.addItem,"remove-item":e.removeItem}})},staticRenderFns:[]};t.default=i},lRwf:function(e,t){e.exports=Vue},lS9x:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n("T4f3")),r=d(n("bnjF")),o=d(n("umdK")),a=d(n("DqSB")),s=d(n("Afu7")),l=d(n("RfA7")),u=d(n("e1f4")),c=d(n("CpLN"));function d(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}var h=(0,i.default)({},r,o,a,s,l,u,c);t.default=h},lTHl:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("rJVn"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("jx8E"),s=n.n(a);var l=function(e){n("9ZFY")},u=n("/4AN")(r.a,s.a,!1,l,"data-v-2897d1a1",null);t.default=u.exports},m1Vf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getJoinsByIds=function(e){var t=e.ids,n=void 0===t?[]:t,r=e.filters,o={_token:window.RozierRoot.ajaxToken,ids:n,nodeTypeFieldId:r.nodeTypeField};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.joinsAjaxByArray,params:o}).then(function(e){return void 0!==e.data&&e.data.items?{items:e.data.items}:null}).catch(function(e){throw new Error(e.response.data.humanMessage)})},t.getJoins=function(e){var t=e.searchTerms,n=e.preFilters,r=e.filters,o=(e.filterExplorerSelection,e.moreData),a={_token:window.RozierRoot.ajaxToken,_action:"toggleExplorer",nodeTypeFieldId:n?n.nodeTypeField:null,search:t,page:1};o&&(a.page=r?r.nextPage:1);return(0,i.default)({method:"GET",url:window.RozierRoot.routes.joinsAjaxExplorer,params:a}).then(function(e){return void 0!==e.data&&e.data.entities?{items:e.data.entities,filters:e.data.filters}:{}}).catch(function(e){throw new Error(e)})};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("dZBD"))},mC1X:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("T4f3")),r=n("SJI6"),o=s(n("eQwT")),a=s(n("4NIs"));function s(e){return e&&e.__esModule?e:{default:e}}t.default={props:{entity:{required:!0,type:String},name:{required:!0,type:String},id:{required:!0,type:String},cols:{type:Number},rows:{type:Number},initialValue:{required:!0,type:String}},mixins:[o.default],data:function(){return{currentView:"",value:""}},mounted:function(){this.ids=this.initialValue.split(",")},computed:(0,i.default)({},(0,r.mapState)({translations:function(e){return e.translations}}),{updateList:function(){var e=this.items.map(function(e){return e.nodeName});this.value=e.join(", ")}}),components:{RzTextarea:a.default}}},mebu:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("ZJj3"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("c8JY"),s=n.n(a);var l=function(e){n("O9HX")},u=n("/4AN")(r.a,s.a,!1,l,"data-v-2ad1fec2",null);t.default=u.exports},nFnR:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.drawer?n("div",{ref:"drawer",staticClass:"uk-form-row drawer-widget entity-",class:[{"uk-active":e.isActive,"uk-alert-danger":e.drawer.errorMessage},"entity-"+e.entity],attrs:{"data-accept-entity":e.entity,"data-accept-limit":"0","data-entity-types":"[]"}},[n("nav",{staticClass:"drawer-widget-nav uk-navbar"},[e._m(0,!1,!1),e._v(" "),n("div",{staticClass:"uk-navbar-content uk-navbar-flip"},[n("div",{staticClass:"drawer-widget-quick-creation uk-button-group"},[n("rz-button",{attrs:{"is-active":e.drawer.isActive,callback:e.onExplorerButtonClick}},[n("i",{staticClass:"uk-icon-rz-explore"}),e._v("\n "+e._s(e.translations.explorer)+"\n ")])],1)])]),e._v(" "),e.drawer.errorMessage?[n("p",{staticClass:"uk-text-danger"},[e._v("\n "+e._s(e.drawer.errorMessage)+"\n ")])]:e._e(),e._v(" "),n("div",{staticClass:"drawer-widget-sortable-container"},[e.drawer.isLoading?n("transition",{attrs:{name:"fade"}},[n("div",{staticClass:"spinner"})]):e._e(),e._v(" "),n("ul",{staticClass:"drawer-widget-sortable",attrs:{"data-input-name":""}},[n("draggable",{attrs:{options:{group:""}},model:{value:e.items,callback:function(t){e.items=t},expression:"items"}},[n("transition-group",e._l(e.items,function(t,i){return n(e.drawer.currentListingView,{key:t.id,tag:"component",attrs:{"drawer-name":e.drawerName,"is-item-explorer":!1,"add-item":e.addItem,"remove-item":e.removeItem,index:i,item:t}})}))],1)],1),e._v(" "),n("div",{staticClass:"hidden"},[n("rz-textarea",{attrs:{"initial-value":e.value,name:e.name,id:e.id,cols:e.cols,rows:e.rows}}),e._v("\n "+e._s(e.updateList)+"\n ")],1)],1)],2):e._e()},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("ul",{staticClass:"uk-navbar-nav"},[t("li",{staticClass:"uk-navbar-brand"},[t("i",{})])])}]};t.default=i},nY3t:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=u(n("Xos8")),o=u(n("T4f3")),a=u(n("lS9x")),s=n("xHmi"),l=n("EY70");function u(e){return e&&e.__esModule?e:{default:e}}var c=(0,o.default)({},{isOpen:!1,isLoading:!1,items:[],entity:null,icons:{normal:"uk-icon-circle-o",active:"uk-icon-circle"},selectedItem:null}),d={filterExplorerOpen:function(e){var t=e.commit,n=e.dispatch,i=e.getters.getExplorerEntity;t(s.FILTER_EXPLORER_OPEN,{entity:i}),n("explorerResetSearchTerms"),n("filterExplorerMakeSearch")},filterExplorerUpdate:function(e,t){var n=e.commit,i=e.dispatch,r=t.item;n(s.FILTER_EXPLORER_UPDATE,{item:r}),i("explorerMakeSearch")},filterExplorerClose:function(e){(0,e.commit)(s.FILTER_EXPLORER_CLOSE)},filterExplorerReset:function(e){(0,e.commit)(s.FILTER_EXPLORER_RESET)},filterExplorerToggle:function(e){var t=e.dispatch;e.state.isOpen?t("filterExplorerClose"):t("filterExplorerOpen")},filterExplorerMakeSearch:function(e){var t=e.commit,n=e.state;t(s.FILTER_EXPLORER_REQUEST);var i=n.entity;return a.default.getFilters({entity:i}).then(function(e){e?t(s.FILTER_EXPLORER_SUCCESS,{result:e}):t(s.FILTER_EXPLORER_FAILED)}).catch(function(e){t(s.FILTER_EXPLORER_FAILED,{error:e})})}},h=(i={},(0,r.default)(i,s.FILTER_EXPLORER_UPDATE,function(e,t){var n=t.item;e.selectedItem=n}),(0,r.default)(i,s.FILTER_EXPLORER_REQUEST,function(e){e.isLoading=!0}),(0,r.default)(i,s.FILTER_EXPLORER_SUCCESS,function(e,t){var n=t.result;e.items=n.items,e.isLoading=!1}),(0,r.default)(i,s.FILTER_EXPLORER_OPEN,function(e,t){var n=t.entity;switch(e.isOpen=!0,e.entity=n,n){case l.DOCUMENT_ENTITY:e.icons.normal="uk-icon-folder",e.icons.active="uk-icon-folder-open";break;case l.NODE_ENTITY:case l.TAG_ENTITY:e.icons.normal="uk-icon-tag",e.icons.active="uk-icon-tag"}}),(0,r.default)(i,s.FILTER_EXPLORER_CLOSE,function(e){e.isOpen=!1}),(0,r.default)(i,s.FILTER_EXPLORER_RESET,function(e){e.selectedItem=null,e.items=[]}),(0,r.default)(i,s.FILTER_EXPLORER_FAILED,function(e,t){t.error;e.isLoading=!1,e.error="Request failed"}),(0,r.default)(i,s.KEYBOARD_EVENT_ESCAPE,function(e){e.isLoading=!1,e.isOpen=!1,e.selectedItem=null}),i);t.default={state:c,getters:{getFilterExplorerSelectedItem:function(e){return e.selectedItem}},actions:d,mutations:h}},oUTm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this.$createElement;return(this._self._c||e)("textarea",{attrs:{name:this.name,id:this.id,cols:this.cols,rows:this.rows}},[this._v(this._s(this.initialValue))])},staticRenderFns:[]};t.default=i},otgr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade-in"}},[e.item?n("li",{staticClass:"item"},[n("a",{staticClass:"filter-item-link",class:[e.isCurrentItem?"active":""],attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.onItemClick(e.item)}}},[n("i",{staticClass:"icon",class:e.isCurrentItem?e.icons.active:e.icons.normal}),e._v(" "),n("span",{staticClass:"text"},[e._v(e._s(e.item.name))])]),e._v(" "),n("ul",{staticClass:"sub-filters"},e._l(e.item.children,function(t,i){return n("filter-explorer-item",{key:t.id,attrs:{icons:e.icons,"current-item":e.currentItem,entity:e.entity,"on-item-click":e.onItemClick,item:t}})}))]):e._e()])},staticRenderFns:[]};t.default=i},"p+9q":function(e,t,n){(e.exports=n("lcwS")(!1)).push([e.i,"\n.toolbar[data-v-2ad1fec2] {\n margin: 20px 0;\n}\n.toolbar .toolbar__select_wraper[data-v-2ad1fec2] {\n position: relative;\n display: inline-block;\n}\n.toolbar .toolbar__select_wraper .toolbar__select[data-v-2ad1fec2] {\n padding-right: 30px;\n}\n.toolbar .toolbar__select_wraper i[data-v-2ad1fec2] {\n position: absolute;\n right: 7px;\n top: 11px;\n pointer-events: none;\n}\n",""])},pQmN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("AcRm"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("+Rwj"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},pmdL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=L(n("X9RM")),r=L(n("dACh")),o=L(n("jx4H")),a=L(n("0iPh")),s=n("EQNM"),l=L(n("QKtd")),u=L(n("P4+A")),c=L(n("tjLZ")),d=L(n("UIBU")),h=L(n("sOvm")),f=L(n("Tr2I")),p=L(n("JTvu")),m=L(n("T2ht")),g=L(n("bB58")),v=L(n("PKoN")),_=L(n("FVwp")),b=L(n("0vVo")),w=L(n("7Smz")),k=L(n("3Z0C")),y=L(n("wi4E")),E=L(n("QKcT")),C=L(n("aI4R")),x=L(n("3aBW")),T=L(n("+VLV")),A=L(n("RIYy")),S=L(n("NAyJ")),R=L(n("Ow2O")),D=L(n("ZysM")),I=L(n("x4pS")),O=L(n("kR5N")),M=L(n("t4hZ"));function L(e){return e&&e.__esModule?e:{default:e}}var $=function(){function e(){(0,r.default)(this,e),this.$linksSelector=null,this.$canvasLoaderContainer=null,this.documentsList=null,this.mainColor=null,this.currentRequest=null,this.nodeTreeContextActions=null,this.documentsBulk=null,this.tagsBulk=null,this.inputLengthWatcher=null,this.documentUploader=null,this.childrenNodesFields=null,this.geotagField=null,this.multiGeotagField=null,this.saveButtons=null,this.tagAutocomplete=null,this.folderAutocomplete=null,this.nodeTypeFieldsPosition=null,this.attributeValuesPosition=null,this.customFormFieldsPosition=null,this.settingsSaveButtons=null,this.nodeEditSource=null,this.tagEdit=null,this.markdownEditors=[],this.jsonEditors=[],this.cssEditors=[],this.yamlEditors=[],this.$window=(0,a.default)(window),this.onPopState=this.onPopState.bind(this),this.onClick=this.onClick.bind(this),this.parseLinks(),window.removeEventListener("popstate",this.onPopState),window.addEventListener("popstate",this.onPopState),this.$canvasLoaderContainer=(0,a.default)("#canvasloader-container"),this.mainColor=window.Rozier.mainColor?window.Rozier.mainColor:"#00deab",this.initLoader(),window.history.pushState({},document.title,window.location.href)}return(0,o.default)(e,[{key:"initLoader",value:function(){this.canvasLoader=new window.CanvasLoader("canvasloader-container"),this.canvasLoader.setColor(this.mainColor),this.canvasLoader.setShape("square"),this.canvasLoader.setDensity(90),this.canvasLoader.setRange(.8),this.canvasLoader.setSpeed(4),this.canvasLoader.setFPS(30)}},{key:"parseLinks",value:function(){this.$linksSelector=(0,a.default)("a:not('[target=_blank]')").not(".rz-no-ajax-link").not("[download]").not('[href="#"]')}},{key:"onClick",value:function(e){var t=this,n=(0,a.default)(e.currentTarget),i=n.attr("href");if(void 0!==i&&!n.hasClass("rz-no-ajax-link")&&""!==i&&"#"!==i&&(i.indexOf(window.Rozier.baseUrl)>=0||"/"===i.charAt(0)||"?"===i.charAt(0)))return e.preventDefault(),window.requestAnimationFrame(function(){window.history.pushState({},null,n.attr("href")),t.onPopState(null)}),!1}},{key:"onPopState",value:function(e){var t=null;null!==e&&e.originalEvent&&(t=e.originalEvent.state),void 0!==t&&null!==t||(t=window.history.state),null!==t&&(this.canvasLoader.show(),this.loadContent(t,window.location))}},{key:"loadContent",value:function(e,t){var n=this;this.currentTimeout&&window.cancelAnimationFrame(this.currentTimeout),this.currentTimeout=window.requestAnimationFrame(function(){var i=new CustomEvent("pagechange");window.dispatchEvent(i),n.currentRequest=a.default.ajax({url:t.href,type:"get",dataType:"html",cache:!1,data:e.headerData,beforeSend:function(e){e.setRequestHeader("X-Partial",!0)}}).done(function(e){n.applyContent(e),n.canvasLoader.hide();var t=new CustomEvent("pageload",{detail:e});window.dispatchEvent(t)}).fail(function(e){if(void 0!==e.responseText)try{var i=JSON.parse(e.responseText);window.UIkit.notify({message:i.message,status:"danger",timeout:3e3,pos:"top-center"})}catch(e){window.location.href=t.href}else window.UIkit.notify({message:window.Rozier.messages.forbiddenPage,status:"danger",timeout:3e3,pos:"top-center"});n.canvasLoader.hide()})})}},{key:"refreshCodemirrorEditor",value:function(){var e=!0,t=!1,n=void 0;try{for(var r,o=(0,i.default)(this.markdownEditors);!(e=(r=o.next()).done);e=!0){r.value.forceEditorUpdate()}}catch(e){t=!0,n=e}finally{try{!e&&o.return&&o.return()}finally{if(t)throw n}}var a=!0,s=!1,l=void 0;try{for(var u,c=(0,i.default)(this.yamlEditors);!(a=(u=c.next()).done);a=!0){u.value.forceEditorUpdate()}}catch(e){s=!0,l=e}finally{try{!a&&c.return&&c.return()}finally{if(s)throw l}}var d=!0,h=!1,f=void 0;try{for(var p,m=(0,i.default)(this.cssEditors);!(d=(p=m.next()).done);d=!0){p.value.forceEditorUpdate()}}catch(e){h=!0,f=e}finally{try{!d&&m.return&&m.return()}finally{if(h)throw f}}var g=!0,v=!1,_=void 0;try{for(var b,w=(0,i.default)(this.jsonEditors);!(g=(b=w.next()).done);g=!0){b.value.forceEditorUpdate()}}catch(e){v=!0,_=e}finally{try{!g&&w.return&&w.return()}finally{if(v)throw _}}}},{key:"applyContent",value:function(e){var t=this,n=(0,a.default)("#main-content-scrollable"),i=n.find(".content-global"),r=(0,a.default)(e),o=r.find("[data-ajax-root]");o.length&&(r=(0,a.default)(o.html())),r.addClass("new-content-global"),n.find('meta[name="title"]').remove(),n.append(r);var s=n.find('meta[name="title"]');s.length&&(document.title=s[0].getAttribute("content")),r=n.find(".new-content-global"),i.eq(0).fadeOut(100,function(){i.remove(),t.generalBind(),r.eq(0).fadeIn(200,function(){r.removeClass("new-content-global");var e=new CustomEvent("pageshowend");window.dispatchEvent(e)})})}},{key:"bindAjaxLink",value:function(){this.parseLinks(),this.$linksSelector.off("click",this.onClick),this.$linksSelector.on("click",this.onClick)}},{key:"generalBind",value:function(){this.generalUnbind([this.documentsBulk,this.mainTreeTabs,this.nodesBulk,this.tagsBulk,this.inputLengthWatcher,this.documentUploader,this.childrenNodesFields,this.geotagField,this.multiGeotagField,this.stackNodeTrees,this.nodeTreeContextActions,this.tagAutocomplete,this.folderAutocomplete,this.nodeTypeFieldsPosition,this.attributeValuesPosition,this.customFormFieldsPosition,this.settingsSaveButtons,this.nodeEditSource,this.tagEdit,this.nodeTree]),this.bindAjaxLink(),this.markdownEditors=[],this.jsonEditors=[],this.cssEditors=[],this.yamlEditors=[],this.documentsBulk=new l.default,this.mainTreeTabs=new M.default,this.nodesBulk=new u.default,this.tagsBulk=new c.default,this.inputLengthWatcher=new v.default,this.documentUploader=new d.default(window.Rozier.messages.dropzone),this.childrenNodesFields=new _.default,this.geotagField=new D.default,this.multiGeotagField=new I.default,this.stackNodeTrees=new b.default,this.saveButtons&&this.saveButtons.unbind(),this.saveButtons=new w.default,this.tagAutocomplete=new k.default,this.folderAutocomplete=new y.default,this.nodeTypeFieldsPosition=new h.default,this.attributeValuesPosition=new f.default,this.customFormFieldsPosition=new p.default,this.nodeTreeContextActions=new m.default,this.settingsSaveButtons=new E.default,this.nodeEditSource=new g.default,this.tagEdit=new O.default,this.nodeTree=new C.default,this.initMarkdownEditors(),this.initJsonEditors(),this.initCssEditors(),this.initYamlEditors(),this.initFilterBars(),this.initColorPickers(),this.initCollectionsForms(),(0,a.default)(".actions-menu").length&&s.TweenLite.to(".actions-menu",.5,{right:0,delay:.4,ease:s.Expo.easeOut}),window.Rozier.initNestables(),window.Rozier.bindMainTrees(),window.Rozier.nodeStatuses=new x.default,this.initBootstrapSwitches(),window.Rozier.getMessages()}},{key:"generalUnbind",value:function(e){var t=!0,n=!1,r=void 0;try{for(var o,a=(0,i.default)(e);!(t=(o=a.next()).done);t=!0){var s=o.value;s&&s.unbind()}}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}}},{key:"initCollectionsForms",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this,n=null;(n=null!==e?e.find(".rz-collection-form-type"):(0,a.default)(".rz-collection-form-type")).length&&n.collection({up:'',down:'',add:'',remove:'',after_add:function(e,n){return t.initMarkdownEditors(n),t.initJsonEditors(n),t.initCssEditors(n),t.initYamlEditors(n),t.initBootstrapSwitches(n),t.initColorPickers(n),t.initCollectionsForms(n),n.find("[data-vuejs]").each(function(e,t){window.Rozier.vueApp.mainContentComponents.push(window.Rozier.vueApp.buildComponent(t))}),!0}})}},{key:"initColorPickers",value:function(e){var t=(0,a.default)(".colorpicker-input");e&&e.length&&(t=e.find(".colorpicker-input")),t.length&&t.minicolors()}},{key:"initBootstrapSwitches",value:function(e){var t=(0,a.default)(".rz-boolean-checkbox");e&&e.length&&(t=e.find(".rz-boolean-checkbox")),t.bootstrapSwitch({size:"small"})}},{key:"initMarkdownEditors",value:function(e){var t=[],n=(t=e&&e.length?e.find("textarea[data-rz-markdowneditor]"):(0,a.default)("textarea[data-rz-markdowneditor]")).length;if(n)for(var i=0;i= 1.2.3
- */!function(a){r=[n("0iPh")],void 0===(o="function"==typeof(i=a)?i.apply(t,r):i)||(e.exports=o)}(function(e){e.fn.addBack=e.fn.addBack||e.fn.andSelf,e.fn.extend({actual:function(t,n){if(!this[t])throw'$.actual => The jQuery method "'+t+'" you called does not exist';var i,r,o=e.extend({absolute:!1,clone:!1,includeMargin:!1,display:"block"},n),a=this.eq(0);if(!0===o.clone)i=function(){a=a.clone().attr("style","position: absolute !important; top: -1000 !important; ").appendTo("body")},r=function(){a.remove()};else{var s,l=[],u="";i=function(){s=a.parents().addBack().filter(":hidden"),u+="visibility: hidden !important; display: "+o.display+" !important; ",!0===o.absolute&&(u+="position: absolute !important; "),s.each(function(){var t=e(this),n=t.attr("style");l.push(n),t.attr("style",n?n+";"+u:u)})},r=function(){s.each(function(t){var n=e(this),i=l[t];void 0===i?n.removeAttr("style"):n.attr("style",i)})}}i();var c=/(outer)/.test(t)?a[t](o.includeMargin):a[t]();return r(),c}})})},"s/f/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("swoF"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("tE9B"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},sOvm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e),this.$list=(0,o.default)(".node-type-fields > .uk-sortable"),this.currentRequest=null,this.onSortableChange=this.onSortableChange.bind(this),this.init()}return(0,r.default)(e,[{key:"init",value:function(){this.$list.length&&this.$list.children().length>1&&this.$list.on("change.uk.sortable",this.onSortableChange)}},{key:"unbind",value:function(){this.$list.length&&this.$list.children().length>1&&this.$list.off("change.uk.sortable",this.onSortableChange)}},{key:"onSortableChange",value:function(e,t,n){this.currentRequest&&4!==this.currentRequest.readyState&&this.currentRequest.abort();var i=(0,o.default)(n),r=parseInt(i.data("field-id")),a=i.prev(),s=0;0===a.length?(a=i.next(),s=parseInt(a.data("position"))-.5):s=parseInt(a.data("position"))+.5;var l={_token:window.Rozier.ajaxToken,_action:"updatePosition",nodeTypeFieldId:r,newPosition:s};this.currentRequest=o.default.ajax({url:window.Rozier.routes.nodeTypesFieldAjaxEdit.replace("%nodeTypeFieldId%",r),type:"POST",dataType:"json",data:l}).done(function(e){i.attr("data-position",s),window.UIkit.notify({message:e.responseText,status:e.status,timeout:3e3,pos:"top-center"})}).fail(function(e){e=JSON.parse(e.responseText),window.UIkit.notify({message:e.error_message,status:"danger",timeout:3e3,pos:"top-center"})})}}]),e}();t.default=s},si9I:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{onClick:{required:!0,type:Function},filterExplorerSelectedItems:{required:!1,type:Object},isFilterExplorerOpen:{required:!0,type:Boolean},entity:{required:!0},icon:{required:!0,type:String}}}},stwt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=l(n("dACh")),r=l(n("jx4H")),o=l(n("0iPh")),a=n("EQNM"),s=n("Tzw7");function l(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(){(0,i.default)(this,e),this.$menu=(0,o.default)("#menu-mobile"),this.$adminMenu=(0,o.default)("#admin-menu"),this.$adminMenuLink=this.$adminMenu.find("a"),this.$adminMenuNavParent=this.$adminMenu.find(".uk-parent"),this.$searchButton=(0,o.default)("#search-button"),this.$searchPanel=(0,o.default)("#nodes-sources-search"),this.$treeButton=(0,o.default)("#tree-button"),this.$treeWrapper=(0,o.default)("#tree-wrapper"),this.$treeWrapperLink=this.$treeWrapper.find("a"),this.$userPicture=(0,o.default)("#user-picture"),this.$userActions=(0,o.default)(".user-actions"),this.$userActionsLink=this.$userActions.find("a"),this.$mainContentOverlay=(0,o.default)("#main-content-overlay"),this.menuOpen=!1,this.searchOpen=!1,this.treeOpen=!1,this.adminOpen=!1,this.menuClick=this.menuClick.bind(this),this.adminMenuLinkClick=this.adminMenuLinkClick.bind(this),this.adminMenuNavParentClick=this.adminMenuNavParentClick.bind(this),this.searchButtonClick=this.searchButtonClick.bind(this),this.treeButtonClick=this.treeButtonClick.bind(this),this.treeWrapperLinkClick=this.treeWrapperLinkClick.bind(this),this.userPictureClick=this.userPictureClick.bind(this),this.userActionsLinkClick=this.userActionsLinkClick.bind(this),this.mainContentOverlayClick=this.mainContentOverlayClick.bind(this),this.init()}return(0,r.default)(e,[{key:"init",value:function(){this.$userPicture.length&&(0,s.addClass)(this.$userPicture[0],"rz-no-ajax-link"),this.$menu.on("click",this.menuClick),this.$adminMenuLink.on("click",this.adminMenuLinkClick),this.$adminMenuNavParent.on("click",this.adminMenuNavParentClick),this.$searchButton.on("click",this.searchButtonClick),this.$treeButton.on("click",this.treeButtonClick),this.$treeWrapperLink.on("click",this.treeWrapperLinkClick),this.$userPicture.on("click",this.userPictureClick),this.$userActionsLink.on("click",this.userActionsLinkClick),this.$mainContentOverlay.on("click",this.mainContentOverlayClick),window.addEventListener("pageload",this.mainContentOverlayClick)}},{key:"menuClick",value:function(e){this.menuOpen?this.closeMenu():this.openMenu()}},{key:"adminMenuNavParentClick",value:function(e){var t=(0,o.default)(e.currentTarget),n=(0,o.default)(e.currentTarget).find(".uk-nav-sub");if(t.hasClass("nav-open"))a.TweenLite.to(n,.6,{height:0,ease:a.Expo.easeOut,onComplete:function(){n[0].style.display="none"}}),t.removeClass("nav-open");else{var i=41*n.find(".uk-nav-sub-item").length-3;n[0].style.display="block",a.TweenLite.to(n,.6,{height:i,ease:a.Expo.easeOut,onComplete:function(){}}),t.addClass("nav-open")}}},{key:"adminMenuLinkClick",value:function(e){this.menuOpen&&this.closeMenu()}},{key:"openMenu",value:function(){this.closeSearch(),this.closeTree(),this.closeUser(),a.TweenLite.to(this.$adminMenu,.6,{x:0,ease:a.Expo.easeOut}),this.$mainContentOverlay.length&&(this.$mainContentOverlay[0].style.display="block",a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:.5,ease:a.Expo.easeOut})),this.menuOpen=!0}},{key:"closeMenu",value:function(){var e=this,t=.8*-window.Rozier.windowWidth;a.TweenLite.to(this.$adminMenu,.6,{x:t,ease:a.Expo.easeOut}),a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:0,ease:a.Expo.easeOut,onComplete:function(){e.$mainContentOverlay.length&&(e.$mainContentOverlay[0].style.display="none")}}),this.menuOpen=!1}},{key:"searchButtonClick",value:function(e){this.searchOpen?this.closeSearch():this.openSearch()}},{key:"openSearch",value:function(){this.closeMenu(),this.closeTree(),this.closeUser(),a.TweenLite.to(this.$searchPanel,.6,{x:0,ease:a.Expo.easeOut}),this.$mainContentOverlay.length&&(this.$mainContentOverlay[0].style.display="block",a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:.5,ease:a.Expo.easeOut})),this.$searchButton.addClass("active"),this.searchOpen=!0}},{key:"closeSearch",value:function(){var e=this,t=.8*-window.Rozier.windowWidth;a.TweenLite.to(this.$searchPanel,.6,{x:t,ease:a.Expo.easeOut}),a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:0,ease:a.Expo.easeOut,onComplete:function(){e.$mainContentOverlay[0].style.display="none"}}),this.$searchButton.removeClass("active"),this.searchOpen=!1}},{key:"treeButtonClick",value:function(e){this.treeOpen?this.closeTree():this.openTree()}},{key:"treeWrapperLinkClick",value:function(e){-1===e.currentTarget.className.indexOf("tab-link")&&this.treeOpen&&this.closeTree()}},{key:"openTree",value:function(){this.closeMenu(),this.closeSearch(),this.closeUser(),a.TweenLite.to(this.$treeWrapper,.6,{x:0,ease:a.Expo.easeOut}),this.$mainContentOverlay[0].style.display="block",a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:.5,ease:a.Expo.easeOut}),this.$treeButton.addClass("active"),this.treeOpen=!0}},{key:"closeTree",value:function(){var e=this,t=.8*-window.Rozier.windowWidth;a.TweenLite.to(this.$treeWrapper,.6,{x:t,ease:a.Expo.easeOut}),a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:0,ease:a.Expo.easeOut,onComplete:function(){e.$mainContentOverlay[0].style.display="none"}}),(0,s.removeClass)(this.$treeButton[0],"active"),this.treeOpen=!1}},{key:"userPictureClick",value:function(e){return this.userOpen?this.closeUser():this.openUser(),!1}},{key:"userActionsLinkClick",value:function(e){this.userOpen&&this.closeUser()}},{key:"openUser",value:function(){this.closeMenu(),this.closeSearch(),this.closeTree(),a.TweenLite.to(this.$userActions,.6,{x:0,ease:a.Expo.easeOut}),this.$mainContentOverlay.length&&(this.$mainContentOverlay[0].style.display="block",a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:.5,ease:a.Expo.easeOut})),this.$userPicture.addClass("active"),this.userOpen=!0}},{key:"closeUser",value:function(){var e=this,t=.8*window.Rozier.windowWidth;a.TweenLite.to(this.$userActions,.6,{x:t,ease:a.Expo.easeOut}),a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:0,ease:a.Expo.easeOut,onComplete:function(){e.$mainContentOverlay[0].style.display="none"}}),this.$userPicture.removeClass("active"),this.userOpen=!1}},{key:"mainContentOverlayClick",value:function(e){this.closeMenu(),this.closeTree(),this.closeUser(),this.closeSearch()}},{key:"resize",value:function(){}}]),e}();t.default=u},swoF:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{length:{required:!0,type:Number},itemCount:{required:!0,type:Number,default:0}}}},t4hZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("zv2j")),r=a(n("dACh")),o=a(n("jx4H"));function a(e){return e&&e.__esModule?e:{default:e}}var s="roadiz.currentMainTreeTab",l=function(){function e(){(0,r.default)(this,e),this.onTabChange=this.onTabChange.bind(this);var t=document.getElementById("tree-menu"),n=window.localStorage.getItem(s);t&&(this.tabsMenu=window.UIkit.tab(t,{connect:"#tree-container",swiping:!1,active:n?(0,i.default)(n):0}),this.tabsMenu.on("change.uk.tab",this.onTabChange))}return(0,o.default)(e,[{key:"unbind",value:function(){this.tabsMenu&&this.tabsMenu.off("change.uk.tab",this.onTabChange)}},{key:"onTabChange",value:function(e,t,n){var i=(t=t[0]).getAttribute("data-index");i&&window.localStorage.setItem(s,i)}}]),e}();t.default=l},tE9B:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[e.length&&e.itemCount?n("div",{staticClass:"widget-explorer-infos"},[e._v("\n "+e._s(e.length)+" / "+e._s(e.itemCount)+"\n ")]):e._e()])},staticRenderFns:[]};t.default=i},tjLZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e),this.$tagsCheckboxes=(0,o.default)("input.tag-checkbox"),this.$tagsIdBulkTags=(0,o.default)("input.tags-id-bulk-tags"),this.$tagsIdBulkStatus=(0,o.default)("input.tags-id-bulk-status"),this.$actionsMenu=(0,o.default)(".tags-bulk-actions"),this.$tagsFolderButton=(0,o.default)(".uk-button-bulk-folder-tags"),this.$tagsFolderCont=(0,o.default)(".tags-bulk-folder-cont"),this.$tagsStatusButton=(0,o.default)(".uk-button-bulk-status-tags"),this.$tagsStatusCont=(0,o.default)(".tags-bulk-status-cont"),this.$tagsSelectAll=(0,o.default)(".uk-button-select-all"),this.$tagsDeselectAll=(0,o.default)(".uk-button-bulk-deselect"),this.tagsFolderOpen=!1,this.tagsStatusOpen=!1,this.tagsIds=null,this.onCheckboxChange=this.onCheckboxChange.bind(this),this.tagsFolderButtonClick=this.tagsFolderButtonClick.bind(this),this.tagsStatusButtonClick=this.tagsStatusButtonClick.bind(this),this.onSelectAll=this.onSelectAll.bind(this),this.onDeselectAll=this.onDeselectAll.bind(this),this.$tagsCheckboxes.length&&this.init()}return(0,r.default)(e,[{key:"init",value:function(){this.$tagsCheckboxes.on("change",this.onCheckboxChange),this.$tagsStatusButton.on("click",this.tagsStatusButtonClick),this.$tagsFolderButton.on("click",this.tagsFolderButtonClick),this.$tagsSelectAll.on("click",this.onSelectAll),this.$tagsDeselectAll.on("click",this.onDeselectAll)}},{key:"unbind",value:function(){this.$tagsCheckboxes.length&&(this.$tagsCheckboxes.off("change",this.onCheckboxChange),this.$tagsStatusButton.off("click",this.tagsStatusButtonClick),this.$tagsFolderButton.off("click",this.tagsFolderButtonClick),this.$tagsSelectAll.off("click",this.onSelectAll),this.$tagsDeselectAll.off("click",this.onDeselectAll))}},{key:"onSelectAll",value:function(){return this.$tagsCheckboxes.prop("checked",!0),this.onCheckboxChange(null),!1}},{key:"onDeselectAll",value:function(){return this.$tagsCheckboxes.prop("checked",!1),this.onCheckboxChange(null),!1}},{key:"onCheckboxChange",value:function(){var e=this;return this.tagsIds=[],(0,o.default)("input.tag-checkbox:checked").each(function(t,n){e.tagsIds.push((0,o.default)(n).val())}),this.$tagsIdBulkTags.length&&this.$tagsIdBulkTags.val(this.tagsIds.join(",")),this.$tagsIdBulkStatus.length&&this.$tagsIdBulkStatus.val(this.tagsIds.join(",")),this.tagsIds.length>0?this.showActions():this.hideActions(),!1}},{key:"onBulkDelete",value:function(){return this.tagsIds.length>0&&(history.pushState({headerData:{tags:this.tagsIds}},null,window.Rozier.routes.tagsBulkDeletePage),window.Rozier.lazyload.onPopState(null)),!1}},{key:"showActions",value:function(){this.$actionsMenu.slideDown()}},{key:"hideActions",value:function(){this.$actionsMenu.slideUp()}},{key:"tagsFolderButtonClick",value:function(){return this.tagsFolderOpen?(this.$tagsFolderCont.slideUp(),this.tagsFolderOpen=!1):(this.$tagsStatusCont.slideUp(),this.tagsStatusOpen=!1,this.$tagsFolderCont.slideDown(),this.tagsFolderOpen=!0),!1}},{key:"tagsStatusButtonClick",value:function(){return this.tagsStatusOpen?(this.$tagsStatusCont.slideUp(),this.tagsStatusOpen=!1):(this.$tagsFolderCont.slideUp(),this.tagsFolderOpen=!1,this.$tagsStatusCont.slideDown(),this.tagsStatusOpen=!0),!1}}]),e}();t.default=s},uC1N:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=f(n("dACh")),r=f(n("jx4H")),o=n("EY70"),a=f(n("cDWz")),s=f(n("JoZF")),l=f(n("WGNA")),u=f(n("YtUu")),c=f(n("gXIW")),d=f(n("ug2n")),h=f(n("lTHl"));function f(e){return e&&e.__esModule?e:{default:e}}var p=function(){function e(){(0,i.default)(this,e)}return(0,r.default)(e,null,[{key:"getState",value:function(e){var t={trans:{moreItems:""},isFilterEnable:!1};switch(e){case o.DOCUMENT_ENTITY:t.currentListingView=a.default,t.filterExplorerIcon="uk-icon-rz-folder-tree-mini",t.trans.moreItems="moreDocuments",t.isFilterEnable=!0;break;case o.NODE_ENTITY:t.currentListingView=s.default,t.filterExplorerIcon="uk-icon-tags",t.trans.moreItems="moreNodes",t.isFilterEnable=!0;break;case o.EXPLORER_PROVIDER_ENTITY:case o.JOIN_ENTITY:t.currentListingView=l.default,t.trans.moreItems="moreEntities";break;case o.CUSTOM_FORM_ENTITY:t.currentListingView=u.default;break;case o.NODE_TYPE_ENTITY:t.currentListingView=c.default,t.trans.moreItems="moreNodeTypes";break;case o.TAG_ENTITY:t.currentListingView=d.default,t.trans.moreItems="moreTags",t.isFilterEnable=!0,t.filterExplorerIcon="uk-icon-tags"}return t}},{key:"getListingView",value:function(e){switch(e){case o.DOCUMENT_ENTITY:return a.default;case o.NODE_ENTITY:return s.default;case o.EXPLORER_PROVIDER_ENTITY:case o.JOIN_ENTITY:return l.default;case o.CUSTOM_FORM_ENTITY:return u.default;case o.NODE_TYPE_ENTITY:return c.default;case o.TAG_ENTITY:return d.default}}},{key:"getWidgetView",value:function(e){switch(e){case o.TAG_ENTITY:return h.default;default:return null}}}]),e}();t.default=p},"uHX/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n("GyB/")),r=o(n("tQq4"));function o(e){return e&&e.__esModule?e:{default:e}}n("DcmQ"),n("hCSc"),t.default={props:{name:{type:String,required:!0},initialValue:{type:String,default:""},options:{type:Object,default:function(){return{mode:"yaml",lineNumbers:!0,theme:"mbo",tabSize:4,indentUnit:4,indentWithTabs:!1,lineWrapping:!0,dragDrop:!1,readOnly:!1}}}},ready:function(){this.build()},mounted:function(){this.build()},watch:{value:function(e,t){if(e!==this.editor.getValue()){var n=this.editor.getScrollInfo();this.editor.setValue(e),this.editor.scrollTo(n.left,n.top)}},options:function(e,t){if("object"===(void 0===e?"undefined":(0,i.default)(e)))for(var n in e)e.hasOwnProperty(n)&&this.editor.setOption(n,e[n])}},beforeDestroy:function(){this.editor&&this.editor.doc.cm.getWrapperElement().remove()},methods:{build:function(){var e=this;this.editor=r.default.fromTextArea(this.$el,this.options),this.editor.on("change",function(t){e.value=t.getValue(),e.$emit&&(e.$emit("change",t.getValue()),e.$emit("input",t.getValue()))}),this.$el.hasAttribute("disabled")&&this.editor.setOption("readOnly",!0),this.editor.setValue(this.initialValue),this.editor.refresh()}}}},ug2n:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("rWnD"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("l/s5"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},umdK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n("L3Vt"));t.getExplorerItems=function(e){var t=e.entity,n=e.searchTerms,h=e.preFilters,f=e.filters,p=e.filterExplorerSelection,m=e.moreData,g=void 0!==m&&m;switch(t){case r.DOCUMENT_ENTITY:return o.getDocuments({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.NODE_ENTITY:return a.getNodes({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.NODE_TYPE_ENTITY:return s.getNodeTypes({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.JOIN_ENTITY:return l.getJoins({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.CUSTOM_FORM_ENTITY:return u.getCustomForms({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.TAG_ENTITY:return c.getTags({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.EXPLORER_PROVIDER_ENTITY:return d.getItems({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g})}return i.default.reject(new Error("No type entity found"))};var r=n("EY70"),o=h(n("2y8T")),a=h(n("vfsJ")),s=h(n("O/s3")),l=h(n("m1Vf")),u=h(n("8DOo")),c=h(n("RfA7")),d=h(n("CpLN"));function h(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}},vfsJ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNodesByIds=function(e){var t=e.ids,n=void 0===t?[]:t,r={_token:window.RozierRoot.ajaxToken,_action:"nodesByIds",ids:n};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.nodesAjaxByArray,params:r}).then(function(e){return void 0!==e.data&&e.data.items?{items:e.data.items}:null}).catch(function(e){throw new Error(e.response.data.humanMessage)})},t.getNodes=function(e){var t=e.searchTerms,n=e.preFilters,r=e.filters,o=e.filterExplorerSelection,a=e.moreData,s={_token:window.RozierRoot.ajaxToken,_action:"toggleExplorer",search:t,page:1};o&&o.id&&(s.tagId=o.id);n&&n.nodeTypes&&(s.nodeTypes=JSON.parse(n.nodeTypes));a&&(s.page=r?r.nextPage:1);return(0,i.default)({method:"GET",url:window.RozierRoot.routes.nodesAjaxExplorer,params:s}).then(function(e){return void 0!==e.data&&e.data.nodes?{items:e.data.nodes,filters:e.data.filters}:{}}).catch(function(e){throw new Error(e)})};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("dZBD"))},wGGZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=d(n("GyB/")),r=d(n("T4f3")),o=d(n("0iPh")),a=d(n("lRwf")),s=n("SJI6"),l=d(n("4NIs")),u=d(n("BIao")),c=d(n("dy4P"));function d(e){return e&&e.__esModule?e:{default:e}}t.default={data:function(){return{selected:"",currentView:null,entity:"",mode:""}},mounted:function(){var e=this;for(var t in this.$formColIndexed=(0,o.default)(this.$el.getElementsByClassName("form-col-indexed")[0]),this.$formColUniversal=(0,o.default)(this.$el.getElementsByClassName("form-col-universal")[0]),this.$formColMinLength=(0,o.default)(this.$el.getElementsByClassName("form-col-minLength")[0]),this.$formColMaxLength=(0,o.default)(this.$el.getElementsByClassName("form-col-maxLength")[0]),this.$formColDefaultValues=(0,o.default)(this.$el.getElementsByClassName("form-col-defaultValues")[0]),this.$formSelectOption=(0,o.default)(this.$el).find("#nodetypefield_type option"),this.$formSelectOption.each(function(t,n){var i=(0,o.default)(n);i.attr("selected")&&(e.selected=i.val())}),this.$formElements={indexed:this.$formColIndexed,universal:this.$formColUniversal,minLength:this.$formColMinLength,maxLength:this.$formColMaxLength,defaultValues:this.$formColDefaultValues},this.$formElements)this.$formElements.hasOwnProperty(t)&&this.$formElements[t].addClass("hidden");this.defaultConfig={indexed:!0,universal:!0,minLength:!0,maxLength:!0,defaultValues:!0},this.currentView=l.default,this.config={1:{minLength:!0,maxLength:!0,defaultValues:{view:u.default,mode:"yaml"}},13:{defaultValues:{view:c.default,entity:"node-type"}},16:{defaultValues:{view:c.default,entity:"node-type"}},27:{defaultValues:{view:u.default,mode:"yaml"}},28:{defaultValues:{view:u.default,mode:"yaml"}},29:{defaultValues:{view:u.default,mode:"yaml"}},30:{defaultValues:{view:u.default,mode:"yaml"}},31:{defaultValues:{view:u.default,mode:"yaml"}},4:{defaultValues:{view:u.default,mode:"yaml"}}}},watch:{selected:function(e){var t=this;this.escape(),this.currentView=null,this.entity=null,a.default.nextTick(function(){window.setTimeout(function(){t.setConfig(e)},100)})}},methods:(0,r.default)({},(0,s.mapActions)(["escape","explorerClose","filterExplorerClose"]),{setConfig:function(e){var t=this.defaultConfig;for(var n in this.config[e]&&(t=(0,r.default)({},t,this.config[e])),this.$formElements)this.$formElements.hasOwnProperty(n)&&t.hasOwnProperty(n)&&(!0===t[n]?(this.$formElements[n].removeClass("hidden"),this.currentView=l.default):"object"===(0,i.default)(t[n])?(this.$formElements[n].removeClass("hidden"),this.entity=t[n].entity,this.mode=t[n].mode,this.currentView=t[n].view):(this.$formElements[n].addClass("hidden"),this.currentView=l.default))}})}},wi4E:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e);var t=this;(0,o.default)(".rz-folder-autocomplete").bind("keydown",function(e){e.keyCode===o.default.ui.keyCode.TAB&&(0,o.default)(this).autocomplete("instance").menu.active&&e.preventDefault()}).autocomplete({source:function(e,n){o.default.getJSON(window.Rozier.routes.foldersAjaxSearch,{_action:"folderAutocomplete",_token:window.Rozier.ajaxToken,search:t.extractLast(e.term)},n)},search:function(){if(t.extractLast(this.value).length<2)return!1},focus:function(){return!1},select:function(e,n){var i=t.split(this.value);return i.pop(),i.push(n.item.value),i.push(""),this.value=i.join(", "),!1}})}return(0,r.default)(e,[{key:"unbind",value:function(){}},{key:"split",value:function(e){return e.split(/,\s*/)}},{key:"extractLast",value:function(e){return this.split(e).pop()}}]),e}();t.default=s},x4pS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=g(n("aIIw")),r=g(n("kcQR")),o=g(n("HxWs")),a=g(n("X9RM")),s=g(n("BX4+")),l=g(n("dACh")),u=g(n("jx4H")),c=g(n("VOrx")),d=g(n("ZKjc")),h=g(n("0iPh")),f=n("ZysM"),p=g(f),m=n("f3z0");function g(e){return e&&e.__esModule?e:{default:e}}var v=function(e){function t(){(0,l.default)(this,t);var e=(0,c.default)(this,(t.__proto__||(0,s.default)(t)).call(this));return e.$fields=document.querySelectorAll(".rz-multi-geotag-field:not(.is-enable)"),e.$fields.length&&e.init(),e}return(0,d.default)(t,e),(0,u.default)(t,[{key:"resetMarker",value:function(e,t,n,i,r){t.value="";var o=!0,s=!1,l=void 0;try{for(var u,c=(0,a.default)(e);!(o=(u=c.next()).done);o=!0){var d=u.value;null!==d&&d.removeFrom(i)}}catch(e){s=!0,l=e}finally{try{!o&&c.return&&c.return()}finally{if(s)throw l}}return e=[],n.style.display="none",this.syncSelector(r,e,i,t),!1}},{key:"bindSingleField",value:function(e){var t=e.parentElement.querySelector(".uk-form-label"),n=t.innerHTML||"Geotag";t.style.display="none";var i=null;i=window.Rozier.defaultMapLocation?window.Rozier.defaultMapLocation:f.DEFAULT_LOCATION;var r="geotag-canvas-"+this.uniqid(),o=r+"-address",s=r+"-reset",l={center:this.createLatLng(i),zoom:i.zoom||i.alt,scrollwheel:!1,styles:window.Rozier.mapsStyle};e.style.display="none",e.setAttribute("data-geotag-canvas",r);var u=['",'"].join(""),c=document.createElement("div");c.innerHTML=u,e.after(c);var d=document.getElementById(o);d.setAttribute("placeholder",window.Rozier.messages.geotag.typeAnAddress);var p=document.getElementById(s);p.style.display="none";var m=this.createMap(r,l),g=[],v=e.parentElement.querySelector(".multi-geotag-list-markers");if(""!==e.value)try{var _=JSON.parse(e.value);if(!_.features)throw new Error("Data is not a valid GeoJSON featureCollection");var b=!0,w=!1,k=void 0;try{for(var y,E=(0,a.default)(_.features);!(b=(y=E.next()).done);b=!0){var C=y.value,x=this.createMarker(C,m);x.on("dragend",h.default.proxy(this.setMarkerEvent,this,x,g,e,p,m,v)),g.push(x)}}catch(e){w=!0,k=e}finally{try{!b&&E.return&&E.return()}finally{if(w)throw k}}}catch(t){return e.style.display="block",(0,h.default)(document.getElementById(r)).style.display="none",!1}m.on("click",h.default.proxy(this.setMarkerEvent,this,null,g,e,p,m,v)),d.addEventListener("keypress",h.default.proxy(this.requestGeocode,this,g,e,p,m,v));var T=h.default.proxy(this.resetMap,this,m,g,l);window.Rozier.$window.on("resize",T),window.Rozier.$window.on("pageshowend",T),window.addEventListener("NodeEditSource:tabSwitched",T),this.resetMap(m,g,l,null),this.syncSelector(v,g,m,e)}},{key:"syncSelector",value:function(e,t,n,i){e.innerHTML="";var r=[],o=0,s=t.filter(function(e){return null!==e&&null!==e.getLatLng()}),l=!0,u=!1,c=void 0;try{for(var d,f=(0,a.default)(s);!(l=(d=f.next()).done);l=!0){var p=d.value;["",'',p.name?p.name:"#"+o,"",'','','',"",""].forEach(function(e){return r.push(e)}),o++}}catch(e){u=!0,c=e}finally{try{!l&&f.return&&f.return()}finally{if(u)throw c}}e.innerHTML=r.join("");var m=0,g=!0,v=!1,_=void 0;try{for(var b,w=(0,a.default)(s);!(g=(b=w.next()).done);g=!0){var k=b.value,y=e.querySelector('.rz-multi-geotag-center[data-geocode-id="'+m+'"]'),E=e.querySelector('.rz-multi-geotag-remove[data-geocode-id="'+m+'"]');y&&E&&(y.addEventListener("click",h.default.proxy(this.centerMap,this,n,k)),E.addEventListener("click",h.default.proxy(this.removeMarker,this,n,t,k,e,i))),m++}}catch(e){v=!0,_=e}finally{try{!g&&w.return&&w.return()}finally{if(v)throw _}}}},{key:"removeMarker",value:function(e,t,n,i,r,o){o&&o.preventDefault();var a=t.indexOf(n);return n.removeFrom(e),t.splice(a,1),this.syncSelector(i,t,e,r),this.writeMarkers(t,r),!1}},{key:"resetMap",value:function(e,t,n,i){var r=this;i&&i.preventDefault(),window.requestAnimationFrame(function(){e.invalidateSize(!0),void 0!==t&&t.length>0?e.fitBounds(r.getMediumLatLng(t)):e.panTo(n.center)})}},{key:"centerMap",value:function(e,t,n){if(n&&n.preventDefault(),e&&t){var i=t.getLatLng();e.flyTo(i,i.alt)}}},{key:"getMediumLatLng",value:function(e){var t=new m.LatLngBounds,n=!0,i=!1,r=void 0;try{for(var o,s=(0,a.default)(e);!(n=(o=s.next()).done);n=!0){var l=o.value;t.extend(l.getLatLng())}}catch(e){i=!0,r=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw r}}return t}},{key:"setMarkerEvent",value:function(e,t,n,i,r,o,a){if(a.latlng)this.setMarker(e,t,n,i,r,a.latlng);else if(null!==e){var s=e.getLatLng();s.alt=r.getZoom(),e.setLatLng(s),r.flyTo(s,s.alt),this.writeMarkers(t,n)}this.syncSelector(o,t,r,n)}},{key:"setMarker",value:function(e,t,n,i,r,o,a){return r&&(o.alt||(o.alt=r.getZoom()),null===e?e=this.createMarker(o,r):(e.setLatLng(o),e.addTo(r)),e.name=a,r.flyTo(o,o.alt),t.push(e),this.writeMarkers(t,n)),e}},{key:"writeMarkers",value:function(e,t){var n={type:"FeatureCollection",features:[]},i=!0,r=!1,s=void 0;try{for(var l,u=(0,a.default)(e);!(i=(l=u.next()).done);i=!0){var c=l.value;if(c){var d=c.getLatLng();n.features.push(this.latLngToFeature(d,d.alt,c.name))}}}catch(e){r=!0,s=e}finally{try{!i&&u.return&&u.return()}finally{if(r)throw s}}t.value=(0,o.default)(n)}},{key:"requestGeocode",value:function(){var e=(0,r.default)(i.default.mark(function e(t,n,r,o,a,s){var l,u;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(l=s.currentTarget.value,!s.which||13!==s.which){e.next=12;break}return s.preventDefault(),e.next=5,this.getLatLngForAddress(l);case 5:if(null!==(u=e.sent)){e.next=9;break}return console.error("Geocode was not successful."),e.abrupt("return");case 9:u.alt=o.getZoom(),this.setMarker(null,t,n,r,o,u,u.name||""),this.syncSelector(a,t,o,n);case 12:case"end":return e.stop()}},e,this)}));return function(t,n,i,r,o,a){return e.apply(this,arguments)}}()}]),t}(p.default);t.default=v},xHmi:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.NODES_SEARCH_REQUEST="NODES_SEARCH_REQUEST",t.NODES_SEARCH_SUCCESS="NODES_SEARCH_SUCCESS",t.NODES_SEARCH_RESET="NODES_SEARCH_RESET",t.NODES_SEARCH_FAILED="NODES_SEARCH_FAILED",t.NODES_SEARCH_ENABLE_FOCUS="NODES_SEARCH_ENABLE_FOCUS",t.NODES_SEARCH_DISABLE_FOCUS="NODES_SEARCH_DISABLE_FOCUS",t.EXPLORER_REQUEST="EXPLORER_REQUEST",t.EXPLORER_SUCCESS="EXPLORER_SUCCESS",t.EXPLORER_RESET="EXPLORER_RESET",t.EXPLORER_FAILED="EXPLORER_FAILED",t.EXPLORER_OPEN="EXPLORER_OPEN",t.EXPLORER_CLOSE="EXPLORER_CLOSE",t.EXPLORER_LOAD_MORE="EXPLORER_LOAD_MORE",t.EXPLORER_LOAD_MORE_SUCCESS="EXPLORER_LOAD_MORE_SUCCESS",t.EXPLORER_IS_LOADED="EXPLORER_IS_LOADED",t.EXPLORER_UPDATE_SEARCH_TERMS="EXPLORER_UPDATE_SEARCH_TERMS",t.EXPLORER_UPDATE_FILTERS="EXPLORER_UPDATE_FILTERS",t.FILTER_EXPLORER_OPEN="FILTER_EXPLORER_OPEN",t.FILTER_EXPLORER_CLOSE="FILTER_EXPLORER_CLOSE",t.FILTER_EXPLORER_REQUEST="FILTER_EXPLORER_REQUEST",t.FILTER_EXPLORER_SUCCESS="FILTER_EXPLORER_SUCCESS",t.FILTER_EXPLORER_FAILED="FILTER_EXPLORER_FAILED",t.FILTER_EXPLORER_UPDATE="FILTER_EXPLORER_UPDATE",t.FILTER_EXPLORER_RESET="FILTER_EXPLORER_RESET",t.KEYBOARD_EVENT_ESCAPE="KEYBOARD_EVENT_ESCAPE",t.KEYBOARD_EVENT_SPACE="KEYBOARD_EVENT_SPACE",t.LOGIN_CHECK_DISCONNECTED="LOGIN_CHECK_DISCONNECTED",t.LOGIN_CHECK_CONNECTED="LOGIN_CHECK_CONNECTED",t.HEALTH_CHECK_FAILED="HEALTH_CHECK_FAILED",t.HEALTH_CHECK_SUCCEEDED="HEALTH_CHECK_SUCCEEDED",t.DRAWERS_ADD_INSTANCE="DRAWERS_ADD_INSTANCE",t.DRAWERS_REMOVE_INSTANCE="DRAWERS_REMOVE_INSTANCE",t.DRAWERS_ADD_ITEM="DRAWERS_ADD_DOCUMENT",t.DRAWERS_REMOVE_ITEM="DRAWERS_REMOVE_DOCUMENT",t.DRAWERS_EDIT_INSTANCE="DRAWERS_EDIT_INSTANCE",t.DRAWERS_UPDATE_LIST="DRAWERS_UPDATE_LIST",t.DRAWERS_ENABLE_DROPZONE="DRAWERS_ENABLE_DROPZONE",t.DRAWERS_DISABLE_DROPZONE="DRAWERS_DISABLE_DROPZONE",t.DRAWERS_INIT_DATA_REQUEST="DRAWERS_INIT_DATA_REQUEST",t.DRAWERS_INIT_DATA_REQUEST_SUCCESS="DRAWERS_INIT_DATA_REQUEST_SUCCESS",t.DRAWERS_INIT_DATA_REQUEST_FAILED="DRAWERS_INIT_DATA_REQUEST_FAILED",t.DRAWERS_INIT_DATA_REQUEST_EMPTY="DRAWERS_INIT_DATA_REQUEST_EMPTY",t.TAGS_UPDATE_VALUE="TAGS_UPDATE_VALUE",t.TAGS_REQUEST="TAGS_REQUEST",t.TAGS_REQUEST_SUCCESS="TAGS_REQUEST_SUCCESS",t.TAGS_REQUEST_ERROR="TAGS_REQUEST_ERROR",t.TAG_CREATE_NEW_REQUEST="TAG_CREATE_NEW_REQUEST",t.TAG_CREATE_NEW_REQUEST_SUCCESS="TAG_CREATE_NEW_REQUEST_SUCCESS",t.TAG_CREATE_NEW_REQUEST_ERROR="TAG_CREATE_NEW_REQUEST_ERROR",t.TAG_CREATOR_READY="TAG_CREATOR_READY",t.DOCUMENT_PREVIEW_INIT="DOCUMENT_PREVIEW_INIT",t.DOCUMENT_PREVIEW_DESTROY="DOCUMENT_PREVIEW_DESTROY",t.DOCUMENT_PREVIEW_OPEN="DOCUMENT_PREVIEW_OPEN",t.DOCUMENT_PREVIEW_CLOSE="DOCUMENT_PREVIEW_CLOSE",t.BLANCHETTE_EDITOR_INIT="BLANCHETTE_EDITOR_INIT",t.BLANCHETTE_EDITOR_IS_LOADING="BLANCHETTE_EDITOR_IS_LOADING",t.BLANCHETTE_EDITOR_LOADED="BLANCHETTE_EDITOR_LOADED",t.BLANCHETTE_EDITOR_ERROR="BLANCHETTE_EDITOR_ERROR",t.BLANCHETTE_EDITOR_SAVE_SUCCESS="BLANCHETTE_EDITOR_SAVE_SUCCESS"},xlJi:function(e,t){},ygC5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"slide-left-no-opacity"}},[e.isOpen?n("div",{staticClass:"filter-widget-explorer"},[n("ul",{staticClass:"filters-items"},[n("li",{staticClass:"filters-infos"},[n("div",{staticClass:"infos-content"},[n("transition",{attrs:{name:"fade"}},[e.itemCount||0===e.itemCount?n("div",[n("span",{staticClass:"number"},[e._v(e._s(e.itemCount))]),e._v("\n "+e._s(e.itemCount>1?e.translations.items:e.translations.item)+"\n ")]):e._e()])],1)]),e._v(" "),n("li",{staticClass:"item"},[n("a",{staticClass:"filter-item-link",class:[e.selectedItem?"":"active"],attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.onResetClick(t)}}},[n("i",{staticClass:"uk-icon-rz-unordered-list"}),e._v(" "+e._s(e.translations.see_all)+"\n ")])]),e._v(" "),e._l(e.items,function(t,i){return n("filter-explorer-item",{key:i,attrs:{"current-item":e.selectedItem,icons:e.icons,entity:e.entity,"on-item-click":e.onItemClick,item:t}})})],2)]):e._e()])},staticRenderFns:[]};t.default=i},ywca:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("4YKS"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("G7TI"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports}},["9wWa"]);
\ No newline at end of file
+ */!function(a){r=[n("0iPh")],void 0===(o="function"==typeof(i=a)?i.apply(t,r):i)||(e.exports=o)}(function(e){e.fn.addBack=e.fn.addBack||e.fn.andSelf,e.fn.extend({actual:function(t,n){if(!this[t])throw'$.actual => The jQuery method "'+t+'" you called does not exist';var i,r,o=e.extend({absolute:!1,clone:!1,includeMargin:!1,display:"block"},n),a=this.eq(0);if(!0===o.clone)i=function(){a=a.clone().attr("style","position: absolute !important; top: -1000 !important; ").appendTo("body")},r=function(){a.remove()};else{var s,l=[],u="";i=function(){s=a.parents().addBack().filter(":hidden"),u+="visibility: hidden !important; display: "+o.display+" !important; ",!0===o.absolute&&(u+="position: absolute !important; "),s.each(function(){var t=e(this),n=t.attr("style");l.push(n),t.attr("style",n?n+";"+u:u)})},r=function(){s.each(function(t){var n=e(this),i=l[t];void 0===i?n.removeAttr("style"):n.attr("style",i)})}}i();var c=/(outer)/.test(t)?a[t](o.includeMargin):a[t]();return r(),c}})})},"s/f/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("swoF"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("tE9B"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},sOvm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e),this.$list=(0,o.default)(".node-type-fields > .uk-sortable"),this.currentRequest=null,this.onSortableChange=this.onSortableChange.bind(this),this.init()}return(0,r.default)(e,[{key:"init",value:function(){this.$list.length&&this.$list.children().length>1&&this.$list.on("change.uk.sortable",this.onSortableChange)}},{key:"unbind",value:function(){this.$list.length&&this.$list.children().length>1&&this.$list.off("change.uk.sortable",this.onSortableChange)}},{key:"onSortableChange",value:function(e,t,n){this.currentRequest&&4!==this.currentRequest.readyState&&this.currentRequest.abort();var i=(0,o.default)(n),r=parseInt(i.data("field-id")),a=i.prev(),s=0;0===a.length?(a=i.next(),s=parseInt(a.data("position"))-.5):s=parseInt(a.data("position"))+.5;var l={_token:window.Rozier.ajaxToken,_action:"updatePosition",nodeTypeFieldId:r,newPosition:s};this.currentRequest=o.default.ajax({url:window.Rozier.routes.nodeTypesFieldAjaxEdit.replace("%nodeTypeFieldId%",r),type:"POST",dataType:"json",data:l}).done(function(e){i.attr("data-position",s),window.UIkit.notify({message:e.responseText,status:e.status,timeout:3e3,pos:"top-center"})}).fail(function(e){e=JSON.parse(e.responseText),window.UIkit.notify({message:e.error_message,status:"danger",timeout:3e3,pos:"top-center"})})}}]),e}();t.default=s},si9I:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{onClick:{required:!0,type:Function},filterExplorerSelectedItems:{required:!1,type:Object},isFilterExplorerOpen:{required:!0,type:Boolean},entity:{required:!0},icon:{required:!0,type:String}}}},stwt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=l(n("dACh")),r=l(n("jx4H")),o=l(n("0iPh")),a=n("EQNM"),s=n("Tzw7");function l(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(){(0,i.default)(this,e),this.$menu=(0,o.default)("#menu-mobile"),this.$adminMenu=(0,o.default)("#admin-menu"),this.$adminMenuLink=this.$adminMenu.find("a"),this.$adminMenuNavParent=this.$adminMenu.find(".uk-parent"),this.$searchButton=(0,o.default)("#search-button"),this.$searchPanel=(0,o.default)("#nodes-sources-search"),this.$treeButton=(0,o.default)("#tree-button"),this.$treeWrapper=(0,o.default)("#tree-wrapper"),this.$treeWrapperLink=this.$treeWrapper.find("a"),this.$userPicture=(0,o.default)("#user-picture"),this.$userActions=(0,o.default)(".user-actions"),this.$userActionsLink=this.$userActions.find("a"),this.$mainContentOverlay=(0,o.default)("#main-content-overlay"),this.menuOpen=!1,this.searchOpen=!1,this.treeOpen=!1,this.adminOpen=!1,this.menuClick=this.menuClick.bind(this),this.adminMenuLinkClick=this.adminMenuLinkClick.bind(this),this.adminMenuNavParentClick=this.adminMenuNavParentClick.bind(this),this.searchButtonClick=this.searchButtonClick.bind(this),this.treeButtonClick=this.treeButtonClick.bind(this),this.treeWrapperLinkClick=this.treeWrapperLinkClick.bind(this),this.userPictureClick=this.userPictureClick.bind(this),this.userActionsLinkClick=this.userActionsLinkClick.bind(this),this.mainContentOverlayClick=this.mainContentOverlayClick.bind(this),this.init()}return(0,r.default)(e,[{key:"init",value:function(){this.$userPicture.length&&(0,s.addClass)(this.$userPicture[0],"rz-no-ajax-link"),this.$menu.on("click",this.menuClick),this.$adminMenuLink.on("click",this.adminMenuLinkClick),this.$adminMenuNavParent.on("click",this.adminMenuNavParentClick),this.$searchButton.on("click",this.searchButtonClick),this.$treeButton.on("click",this.treeButtonClick),this.$treeWrapperLink.on("click",this.treeWrapperLinkClick),this.$userPicture.on("click",this.userPictureClick),this.$userActionsLink.on("click",this.userActionsLinkClick),this.$mainContentOverlay.on("click",this.mainContentOverlayClick),window.addEventListener("pageload",this.mainContentOverlayClick)}},{key:"menuClick",value:function(e){this.menuOpen?this.closeMenu():this.openMenu()}},{key:"adminMenuNavParentClick",value:function(e){var t=(0,o.default)(e.currentTarget),n=(0,o.default)(e.currentTarget).find(".uk-nav-sub");if(t.hasClass("nav-open"))a.TweenLite.to(n,.6,{height:0,ease:a.Expo.easeOut,onComplete:function(){n[0].style.display="none"}}),t.removeClass("nav-open");else{var i=41*n.find(".uk-nav-sub-item").length-3;n[0].style.display="block",a.TweenLite.to(n,.6,{height:i,ease:a.Expo.easeOut,onComplete:function(){}}),t.addClass("nav-open")}}},{key:"adminMenuLinkClick",value:function(e){this.menuOpen&&this.closeMenu()}},{key:"openMenu",value:function(){this.closeSearch(),this.closeTree(),this.closeUser(),a.TweenLite.to(this.$adminMenu,.6,{x:0,ease:a.Expo.easeOut}),this.$mainContentOverlay.length&&(this.$mainContentOverlay[0].style.display="block",a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:.5,ease:a.Expo.easeOut})),this.menuOpen=!0}},{key:"closeMenu",value:function(){var e=this,t=.8*-window.Rozier.windowWidth;a.TweenLite.to(this.$adminMenu,.6,{x:t,ease:a.Expo.easeOut}),a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:0,ease:a.Expo.easeOut,onComplete:function(){e.$mainContentOverlay.length&&(e.$mainContentOverlay[0].style.display="none")}}),this.menuOpen=!1}},{key:"searchButtonClick",value:function(e){this.searchOpen?this.closeSearch():this.openSearch()}},{key:"openSearch",value:function(){this.closeMenu(),this.closeTree(),this.closeUser(),a.TweenLite.to(this.$searchPanel,.6,{x:0,ease:a.Expo.easeOut}),this.$mainContentOverlay.length&&(this.$mainContentOverlay[0].style.display="block",a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:.5,ease:a.Expo.easeOut})),this.$searchButton.addClass("active"),this.searchOpen=!0}},{key:"closeSearch",value:function(){var e=this,t=.8*-window.Rozier.windowWidth;a.TweenLite.to(this.$searchPanel,.6,{x:t,ease:a.Expo.easeOut}),a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:0,ease:a.Expo.easeOut,onComplete:function(){e.$mainContentOverlay[0].style.display="none"}}),this.$searchButton.removeClass("active"),this.searchOpen=!1}},{key:"treeButtonClick",value:function(e){this.treeOpen?this.closeTree():this.openTree()}},{key:"treeWrapperLinkClick",value:function(e){-1===e.currentTarget.className.indexOf("tab-link")&&this.treeOpen&&this.closeTree()}},{key:"openTree",value:function(){this.closeMenu(),this.closeSearch(),this.closeUser(),a.TweenLite.to(this.$treeWrapper,.6,{x:0,ease:a.Expo.easeOut}),this.$mainContentOverlay[0].style.display="block",a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:.5,ease:a.Expo.easeOut}),this.$treeButton.addClass("active"),this.treeOpen=!0}},{key:"closeTree",value:function(){var e=this,t=.8*-window.Rozier.windowWidth;a.TweenLite.to(this.$treeWrapper,.6,{x:t,ease:a.Expo.easeOut}),a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:0,ease:a.Expo.easeOut,onComplete:function(){e.$mainContentOverlay[0].style.display="none"}}),(0,s.removeClass)(this.$treeButton[0],"active"),this.treeOpen=!1}},{key:"userPictureClick",value:function(e){return this.userOpen?this.closeUser():this.openUser(),!1}},{key:"userActionsLinkClick",value:function(e){this.userOpen&&this.closeUser()}},{key:"openUser",value:function(){this.closeMenu(),this.closeSearch(),this.closeTree(),a.TweenLite.to(this.$userActions,.6,{x:0,ease:a.Expo.easeOut}),this.$mainContentOverlay.length&&(this.$mainContentOverlay[0].style.display="block",a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:.5,ease:a.Expo.easeOut})),this.$userPicture.addClass("active"),this.userOpen=!0}},{key:"closeUser",value:function(){var e=this,t=.8*window.Rozier.windowWidth;a.TweenLite.to(this.$userActions,.6,{x:t,ease:a.Expo.easeOut}),a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:0,ease:a.Expo.easeOut,onComplete:function(){e.$mainContentOverlay[0].style.display="none"}}),this.$userPicture.removeClass("active"),this.userOpen=!1}},{key:"mainContentOverlayClick",value:function(e){this.closeMenu(),this.closeTree(),this.closeUser(),this.closeSearch()}},{key:"resize",value:function(){}}]),e}();t.default=u},swoF:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{length:{required:!0,type:Number},itemCount:{required:!0,type:Number,default:0}}}},t4hZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("zv2j")),r=a(n("dACh")),o=a(n("jx4H"));function a(e){return e&&e.__esModule?e:{default:e}}var s="roadiz.currentMainTreeTab",l=function(){function e(){(0,r.default)(this,e),this.onTabChange=this.onTabChange.bind(this);var t=document.getElementById("tree-menu"),n=window.localStorage.getItem(s);t&&(this.tabsMenu=window.UIkit.tab(t,{connect:"#tree-container",swiping:!1,active:n?(0,i.default)(n):0}),this.tabsMenu.on("change.uk.tab",this.onTabChange))}return(0,o.default)(e,[{key:"unbind",value:function(){this.tabsMenu&&this.tabsMenu.off("change.uk.tab",this.onTabChange)}},{key:"onTabChange",value:function(e,t,n){var i=(t=t[0]).getAttribute("data-index");i&&window.localStorage.setItem(s,i)}}]),e}();t.default=l},tE9B:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[e.length&&e.itemCount?n("div",{staticClass:"widget-explorer-infos"},[e._v("\n "+e._s(e.length)+" / "+e._s(e.itemCount)+"\n ")]):e._e()])},staticRenderFns:[]};t.default=i},tjLZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e),this.$tagsCheckboxes=(0,o.default)("input.tag-checkbox"),this.$tagsIdBulkTags=(0,o.default)("input.tags-id-bulk-tags"),this.$tagsIdBulkStatus=(0,o.default)("input.tags-id-bulk-status"),this.$actionsMenu=(0,o.default)(".tags-bulk-actions"),this.$tagsFolderButton=(0,o.default)(".uk-button-bulk-folder-tags"),this.$tagsFolderCont=(0,o.default)(".tags-bulk-folder-cont"),this.$tagsStatusButton=(0,o.default)(".uk-button-bulk-status-tags"),this.$tagsStatusCont=(0,o.default)(".tags-bulk-status-cont"),this.$tagsSelectAll=(0,o.default)(".uk-button-select-all"),this.$tagsDeselectAll=(0,o.default)(".uk-button-bulk-deselect"),this.tagsFolderOpen=!1,this.tagsStatusOpen=!1,this.tagsIds=null,this.onCheckboxChange=this.onCheckboxChange.bind(this),this.tagsFolderButtonClick=this.tagsFolderButtonClick.bind(this),this.tagsStatusButtonClick=this.tagsStatusButtonClick.bind(this),this.onSelectAll=this.onSelectAll.bind(this),this.onDeselectAll=this.onDeselectAll.bind(this),this.$tagsCheckboxes.length&&this.init()}return(0,r.default)(e,[{key:"init",value:function(){this.$tagsCheckboxes.on("change",this.onCheckboxChange),this.$tagsStatusButton.on("click",this.tagsStatusButtonClick),this.$tagsFolderButton.on("click",this.tagsFolderButtonClick),this.$tagsSelectAll.on("click",this.onSelectAll),this.$tagsDeselectAll.on("click",this.onDeselectAll)}},{key:"unbind",value:function(){this.$tagsCheckboxes.length&&(this.$tagsCheckboxes.off("change",this.onCheckboxChange),this.$tagsStatusButton.off("click",this.tagsStatusButtonClick),this.$tagsFolderButton.off("click",this.tagsFolderButtonClick),this.$tagsSelectAll.off("click",this.onSelectAll),this.$tagsDeselectAll.off("click",this.onDeselectAll))}},{key:"onSelectAll",value:function(){return this.$tagsCheckboxes.prop("checked",!0),this.onCheckboxChange(null),!1}},{key:"onDeselectAll",value:function(){return this.$tagsCheckboxes.prop("checked",!1),this.onCheckboxChange(null),!1}},{key:"onCheckboxChange",value:function(){var e=this;return this.tagsIds=[],(0,o.default)("input.tag-checkbox:checked").each(function(t,n){e.tagsIds.push((0,o.default)(n).val())}),this.$tagsIdBulkTags.length&&this.$tagsIdBulkTags.val(this.tagsIds.join(",")),this.$tagsIdBulkStatus.length&&this.$tagsIdBulkStatus.val(this.tagsIds.join(",")),this.tagsIds.length>0?this.showActions():this.hideActions(),!1}},{key:"onBulkDelete",value:function(){return this.tagsIds.length>0&&(history.pushState({headerData:{tags:this.tagsIds}},null,window.Rozier.routes.tagsBulkDeletePage),window.Rozier.lazyload.onPopState(null)),!1}},{key:"showActions",value:function(){this.$actionsMenu.slideDown()}},{key:"hideActions",value:function(){this.$actionsMenu.slideUp()}},{key:"tagsFolderButtonClick",value:function(){return this.tagsFolderOpen?(this.$tagsFolderCont.slideUp(),this.tagsFolderOpen=!1):(this.$tagsStatusCont.slideUp(),this.tagsStatusOpen=!1,this.$tagsFolderCont.slideDown(),this.tagsFolderOpen=!0),!1}},{key:"tagsStatusButtonClick",value:function(){return this.tagsStatusOpen?(this.$tagsStatusCont.slideUp(),this.tagsStatusOpen=!1):(this.$tagsFolderCont.slideUp(),this.tagsFolderOpen=!1,this.$tagsStatusCont.slideDown(),this.tagsStatusOpen=!0),!1}}]),e}();t.default=s},uC1N:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=f(n("dACh")),r=f(n("jx4H")),o=n("EY70"),a=f(n("cDWz")),s=f(n("JoZF")),l=f(n("WGNA")),u=f(n("YtUu")),c=f(n("gXIW")),d=f(n("ug2n")),h=f(n("lTHl"));function f(e){return e&&e.__esModule?e:{default:e}}var p=function(){function e(){(0,i.default)(this,e)}return(0,r.default)(e,null,[{key:"getState",value:function(e){var t={trans:{moreItems:""},isFilterEnable:!1};switch(e){case o.DOCUMENT_ENTITY:t.currentListingView=a.default,t.filterExplorerIcon="uk-icon-rz-folder-tree-mini",t.trans.moreItems="moreDocuments",t.isFilterEnable=!0;break;case o.NODE_ENTITY:t.currentListingView=s.default,t.filterExplorerIcon="uk-icon-tags",t.trans.moreItems="moreNodes",t.isFilterEnable=!0;break;case o.EXPLORER_PROVIDER_ENTITY:case o.JOIN_ENTITY:t.currentListingView=l.default,t.trans.moreItems="moreEntities";break;case o.CUSTOM_FORM_ENTITY:t.currentListingView=u.default;break;case o.NODE_TYPE_ENTITY:t.currentListingView=c.default,t.trans.moreItems="moreNodeTypes";break;case o.TAG_ENTITY:t.currentListingView=d.default,t.trans.moreItems="moreTags",t.isFilterEnable=!0,t.filterExplorerIcon="uk-icon-tags"}return t}},{key:"getListingView",value:function(e){switch(e){case o.DOCUMENT_ENTITY:return a.default;case o.NODE_ENTITY:return s.default;case o.EXPLORER_PROVIDER_ENTITY:case o.JOIN_ENTITY:return l.default;case o.CUSTOM_FORM_ENTITY:return u.default;case o.NODE_TYPE_ENTITY:return c.default;case o.TAG_ENTITY:return d.default}}},{key:"getWidgetView",value:function(e){switch(e){case o.TAG_ENTITY:return h.default;default:return null}}}]),e}();t.default=p},"uHX/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n("GyB/")),r=o(n("tQq4"));function o(e){return e&&e.__esModule?e:{default:e}}n("DcmQ"),n("hCSc"),t.default={props:{name:{type:String,required:!0},initialValue:{type:String,default:""},options:{type:Object,default:function(){return{mode:"yaml",lineNumbers:!0,theme:"mbo",tabSize:4,indentUnit:4,indentWithTabs:!1,lineWrapping:!0,dragDrop:!1,readOnly:!1}}}},ready:function(){this.build()},mounted:function(){this.build()},watch:{value:function(e,t){if(e!==this.editor.getValue()){var n=this.editor.getScrollInfo();this.editor.setValue(e),this.editor.scrollTo(n.left,n.top)}},options:function(e,t){if("object"===(void 0===e?"undefined":(0,i.default)(e)))for(var n in e)e.hasOwnProperty(n)&&this.editor.setOption(n,e[n])}},beforeDestroy:function(){this.editor&&this.editor.doc.cm.getWrapperElement().remove()},methods:{build:function(){var e=this;this.editor=r.default.fromTextArea(this.$el,this.options),this.editor.on("change",function(t){e.value=t.getValue(),e.$emit&&(e.$emit("change",t.getValue()),e.$emit("input",t.getValue()))}),this.$el.hasAttribute("disabled")&&this.editor.setOption("readOnly",!0),this.editor.setValue(this.initialValue),this.editor.refresh()}}}},ug2n:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("rWnD"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("l/s5"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},umdK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n("L3Vt"));t.getExplorerItems=function(e){var t=e.entity,n=e.searchTerms,h=e.preFilters,f=e.filters,p=e.filterExplorerSelection,m=e.moreData,g=void 0!==m&&m;switch(t){case r.DOCUMENT_ENTITY:return o.getDocuments({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.NODE_ENTITY:return a.getNodes({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.NODE_TYPE_ENTITY:return s.getNodeTypes({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.JOIN_ENTITY:return l.getJoins({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.CUSTOM_FORM_ENTITY:return u.getCustomForms({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.TAG_ENTITY:return c.getTags({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.EXPLORER_PROVIDER_ENTITY:return d.getItems({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g})}return i.default.reject(new Error("No type entity found"))};var r=n("EY70"),o=h(n("2y8T")),a=h(n("vfsJ")),s=h(n("O/s3")),l=h(n("m1Vf")),u=h(n("8DOo")),c=h(n("RfA7")),d=h(n("CpLN"));function h(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}},vfsJ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNodesByIds=function(e){var t=e.ids,n=void 0===t?[]:t,r={_token:window.RozierRoot.ajaxToken,_action:"nodesByIds",ids:n};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.nodesAjaxByArray,params:r}).then(function(e){return void 0!==e.data&&e.data.items?{items:e.data.items}:null}).catch(function(e){throw new Error(e.response.data.humanMessage)})},t.getNodes=function(e){var t=e.searchTerms,n=e.preFilters,r=e.filters,o=e.filterExplorerSelection,a=e.moreData,s={_token:window.RozierRoot.ajaxToken,_action:"toggleExplorer",search:t,page:1};o&&o.id&&(s.tagId=o.id);n&&n.nodeTypes&&(s.nodeTypes=JSON.parse(n.nodeTypes));a&&(s.page=r?r.nextPage:1);return(0,i.default)({method:"GET",url:window.RozierRoot.routes.nodesAjaxExplorer,params:s}).then(function(e){return void 0!==e.data&&e.data.nodes?{items:e.data.nodes,filters:e.data.filters}:{}}).catch(function(e){throw new Error(e)})};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("dZBD"))},wGGZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=d(n("GyB/")),r=d(n("T4f3")),o=d(n("0iPh")),a=d(n("lRwf")),s=n("SJI6"),l=d(n("4NIs")),u=d(n("BIao")),c=d(n("dy4P"));function d(e){return e&&e.__esModule?e:{default:e}}t.default={data:function(){return{selected:"",currentView:null,entity:"",mode:""}},mounted:function(){var e=this;for(var t in this.$formColIndexed=(0,o.default)(this.$el.getElementsByClassName("form-col-indexed")[0]),this.$formColUniversal=(0,o.default)(this.$el.getElementsByClassName("form-col-universal")[0]),this.$formColMinLength=(0,o.default)(this.$el.getElementsByClassName("form-col-minLength")[0]),this.$formColMaxLength=(0,o.default)(this.$el.getElementsByClassName("form-col-maxLength")[0]),this.$formColDefaultValues=(0,o.default)(this.$el.getElementsByClassName("form-col-defaultValues")[0]),this.$formSelectOption=(0,o.default)(this.$el).find("#nodetypefield_type option"),this.$formSelectOption.each(function(t,n){var i=(0,o.default)(n);i.attr("selected")&&(e.selected=i.val())}),this.$formElements={indexed:this.$formColIndexed,universal:this.$formColUniversal,minLength:this.$formColMinLength,maxLength:this.$formColMaxLength,defaultValues:this.$formColDefaultValues},this.$formElements)this.$formElements.hasOwnProperty(t)&&this.$formElements[t].addClass("hidden");this.defaultConfig={indexed:!0,universal:!0,minLength:!0,maxLength:!0,defaultValues:!0},this.currentView=l.default,this.config={1:{minLength:!0,maxLength:!0,defaultValues:{view:u.default,mode:"yaml"}},13:{defaultValues:{view:c.default,entity:"node-type"}},16:{defaultValues:{view:c.default,entity:"node-type"}},27:{defaultValues:{view:u.default,mode:"yaml"}},28:{defaultValues:{view:u.default,mode:"yaml"}},29:{defaultValues:{view:u.default,mode:"yaml"}},30:{defaultValues:{view:u.default,mode:"yaml"}},31:{defaultValues:{view:u.default,mode:"yaml"}},4:{defaultValues:{view:u.default,mode:"yaml"}}}},watch:{selected:function(e){var t=this;this.escape(),this.currentView=null,this.entity=null,a.default.nextTick(function(){window.setTimeout(function(){t.setConfig(e)},100)})}},methods:(0,r.default)({},(0,s.mapActions)(["escape","explorerClose","filterExplorerClose"]),{setConfig:function(e){var t=this.defaultConfig;for(var n in this.config[e]&&(t=(0,r.default)({},t,this.config[e])),this.$formElements)this.$formElements.hasOwnProperty(n)&&t.hasOwnProperty(n)&&(!0===t[n]?(this.$formElements[n].removeClass("hidden"),this.currentView=l.default):"object"===(0,i.default)(t[n])?(this.$formElements[n].removeClass("hidden"),this.entity=t[n].entity,this.mode=t[n].mode,this.currentView=t[n].view):(this.$formElements[n].addClass("hidden"),this.currentView=l.default))}})}},wi4E:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e);var t=this;(0,o.default)(".rz-folder-autocomplete").bind("keydown",function(e){e.keyCode===o.default.ui.keyCode.TAB&&(0,o.default)(this).autocomplete("instance").menu.active&&e.preventDefault()}).autocomplete({source:function(e,n){o.default.getJSON(window.Rozier.routes.foldersAjaxSearch,{_action:"folderAutocomplete",_token:window.Rozier.ajaxToken,search:t.extractLast(e.term)},n)},search:function(){if(t.extractLast(this.value).length<2)return!1},focus:function(){return!1},select:function(e,n){var i=t.split(this.value);return i.pop(),i.push(n.item.value),i.push(""),this.value=i.join(", "),!1}})}return(0,r.default)(e,[{key:"unbind",value:function(){}},{key:"split",value:function(e){return e.split(/,\s*/)}},{key:"extractLast",value:function(e){return this.split(e).pop()}}]),e}();t.default=s},x4pS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=g(n("aIIw")),r=g(n("kcQR")),o=g(n("HxWs")),a=g(n("X9RM")),s=g(n("BX4+")),l=g(n("dACh")),u=g(n("jx4H")),c=g(n("VOrx")),d=g(n("ZKjc")),h=g(n("0iPh")),f=n("ZysM"),p=g(f),m=n("f3z0");function g(e){return e&&e.__esModule?e:{default:e}}var v=function(e){function t(){(0,l.default)(this,t);var e=(0,c.default)(this,(t.__proto__||(0,s.default)(t)).call(this));return e.$fields=document.querySelectorAll(".rz-multi-geotag-field:not(.is-enable)"),e.$fields.length&&e.init(),e}return(0,d.default)(t,e),(0,u.default)(t,[{key:"resetMarker",value:function(e,t,n,i,r){t.value="";var o=!0,s=!1,l=void 0;try{for(var u,c=(0,a.default)(e);!(o=(u=c.next()).done);o=!0){var d=u.value;null!==d&&d.removeFrom(i)}}catch(e){s=!0,l=e}finally{try{!o&&c.return&&c.return()}finally{if(s)throw l}}return e=[],n.style.display="none",this.syncSelector(r,e,i,t),!1}},{key:"bindSingleField",value:function(e){var t=this,n=e.parentElement.querySelector(".uk-form-label"),i=n.innerHTML||"Geotag";n.style.display="none";var r=null;r=window.Rozier.defaultMapLocation?window.Rozier.defaultMapLocation:f.DEFAULT_LOCATION;var o="geotag-canvas-"+this.uniqid(),s=o+"-address",l=o+"-reset",u={center:this.createLatLng(r),zoom:r.zoom||r.alt,scrollwheel:!1,styles:window.Rozier.mapsStyle};e.style.display="none",e.setAttribute("data-geotag-canvas",o);var c=['",'"].join(""),d=document.createElement("div");d.innerHTML=c,e.after(d);var p=document.getElementById(s);p.setAttribute("placeholder",window.Rozier.messages.geotag.typeAnAddress);var m=document.getElementById(l);m.style.display="none";var g=this.createMap(o,u),v=[],_=e.parentElement.querySelector(".multi-geotag-list-markers");if(""!==e.value)try{var b=JSON.parse(e.value);if(!b.features)throw new Error("Data is not a valid GeoJSON featureCollection");var w=!0,k=!1,y=void 0;try{for(var E,C=(0,a.default)(b.features);!(w=(E=C.next()).done);w=!0){var x=E.value,T=this.createMarker(x,g);T.on("dragend",h.default.proxy(this.setMarkerEvent,this,T,v,e,m,g,_)),v.push(T)}}catch(e){k=!0,y=e}finally{try{!w&&C.return&&C.return()}finally{if(k)throw y}}}catch(t){return e.style.display="block",(0,h.default)(document.getElementById(o)).style.display="none",!1}g.on("click",h.default.proxy(this.setMarkerEvent,this,null,v,e,m,g,_)),p.addEventListener("keypress",h.default.proxy(this.requestGeocode,this,v,e,m,g,_)),this.resetMap(g,v,u,null),this.syncSelector(_,v,g,e),new ResizeObserver(function(e){g.invalidateSize({animate:!1,pan:!1}),void 0!==v&&v.length>0?g.fitBounds(t.getMediumLatLng(v),{animate:!1,pan:!1}):g.panTo(u.center,{animate:!1,pan:!1})}).observe(document.getElementById(o))}},{key:"syncSelector",value:function(e,t,n,i){e.innerHTML="";var r=[],o=0,s=t.filter(function(e){return null!==e&&null!==e.getLatLng()}),l=!0,u=!1,c=void 0;try{for(var d,f=(0,a.default)(s);!(l=(d=f.next()).done);l=!0){var p=d.value;["",'',p.name?p.name:"#"+o,"",'','','',"",""].forEach(function(e){return r.push(e)}),o++}}catch(e){u=!0,c=e}finally{try{!l&&f.return&&f.return()}finally{if(u)throw c}}e.innerHTML=r.join("");var m=0,g=!0,v=!1,_=void 0;try{for(var b,w=(0,a.default)(s);!(g=(b=w.next()).done);g=!0){var k=b.value,y=e.querySelector('.rz-multi-geotag-center[data-geocode-id="'+m+'"]'),E=e.querySelector('.rz-multi-geotag-remove[data-geocode-id="'+m+'"]');y&&E&&(y.addEventListener("click",h.default.proxy(this.centerMap,this,n,k)),E.addEventListener("click",h.default.proxy(this.removeMarker,this,n,t,k,e,i))),m++}}catch(e){v=!0,_=e}finally{try{!g&&w.return&&w.return()}finally{if(v)throw _}}}},{key:"removeMarker",value:function(e,t,n,i,r,o){o&&o.preventDefault();var a=t.indexOf(n);return n.removeFrom(e),t.splice(a,1),this.syncSelector(i,t,e,r),this.writeMarkers(t,r),!1}},{key:"resetMap",value:function(e,t,n,i){var r=this;i&&i.preventDefault(),window.requestAnimationFrame(function(){e.invalidateSize({animate:!0,pan:!0}),void 0!==t&&t.length>0?e.fitBounds(r.getMediumLatLng(t)):e.panTo(n.center)})}},{key:"centerMap",value:function(e,t,n){if(n&&n.preventDefault(),e&&t){var i=t.getLatLng();e.flyTo(i,i.alt)}}},{key:"getMediumLatLng",value:function(e){var t=new m.LatLngBounds,n=!0,i=!1,r=void 0;try{for(var o,s=(0,a.default)(e);!(n=(o=s.next()).done);n=!0){var l=o.value;t.extend(l.getLatLng())}}catch(e){i=!0,r=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw r}}return t}},{key:"setMarkerEvent",value:function(e,t,n,i,r,o,a){if(a.latlng)this.setMarker(e,t,n,i,r,a.latlng);else if(null!==e){var s=e.getLatLng();s.alt=r.getZoom(),e.setLatLng(s),r.flyTo(s,s.alt),this.writeMarkers(t,n)}this.syncSelector(o,t,r,n)}},{key:"setMarker",value:function(e,t,n,i,r,o,a){return r&&(o.alt||(o.alt=r.getZoom()),null===e?e=this.createMarker(o,r):(e.setLatLng(o),e.addTo(r)),e.name=a,r.flyTo(o,o.alt),t.push(e),this.writeMarkers(t,n)),e}},{key:"writeMarkers",value:function(e,t){var n={type:"FeatureCollection",features:[]},i=!0,r=!1,s=void 0;try{for(var l,u=(0,a.default)(e);!(i=(l=u.next()).done);i=!0){var c=l.value;if(c){var d=c.getLatLng();n.features.push(this.latLngToFeature(d,d.alt,c.name))}}}catch(e){r=!0,s=e}finally{try{!i&&u.return&&u.return()}finally{if(r)throw s}}t.value=(0,o.default)(n)}},{key:"requestGeocode",value:function(){var e=(0,r.default)(i.default.mark(function e(t,n,r,o,a,s){var l,u;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(l=s.currentTarget.value,!s.which||13!==s.which){e.next=12;break}return s.preventDefault(),e.next=5,this.getLatLngForAddress(l);case 5:if(null!==(u=e.sent)){e.next=9;break}return console.error("Geocode was not successful."),e.abrupt("return");case 9:u.alt=o.getZoom(),this.setMarker(null,t,n,r,o,u,u.name||""),this.syncSelector(a,t,o,n);case 12:case"end":return e.stop()}},e,this)}));return function(t,n,i,r,o,a){return e.apply(this,arguments)}}()}]),t}(p.default);t.default=v},xHmi:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.NODES_SEARCH_REQUEST="NODES_SEARCH_REQUEST",t.NODES_SEARCH_SUCCESS="NODES_SEARCH_SUCCESS",t.NODES_SEARCH_RESET="NODES_SEARCH_RESET",t.NODES_SEARCH_FAILED="NODES_SEARCH_FAILED",t.NODES_SEARCH_ENABLE_FOCUS="NODES_SEARCH_ENABLE_FOCUS",t.NODES_SEARCH_DISABLE_FOCUS="NODES_SEARCH_DISABLE_FOCUS",t.EXPLORER_REQUEST="EXPLORER_REQUEST",t.EXPLORER_SUCCESS="EXPLORER_SUCCESS",t.EXPLORER_RESET="EXPLORER_RESET",t.EXPLORER_FAILED="EXPLORER_FAILED",t.EXPLORER_OPEN="EXPLORER_OPEN",t.EXPLORER_CLOSE="EXPLORER_CLOSE",t.EXPLORER_LOAD_MORE="EXPLORER_LOAD_MORE",t.EXPLORER_LOAD_MORE_SUCCESS="EXPLORER_LOAD_MORE_SUCCESS",t.EXPLORER_IS_LOADED="EXPLORER_IS_LOADED",t.EXPLORER_UPDATE_SEARCH_TERMS="EXPLORER_UPDATE_SEARCH_TERMS",t.EXPLORER_UPDATE_FILTERS="EXPLORER_UPDATE_FILTERS",t.FILTER_EXPLORER_OPEN="FILTER_EXPLORER_OPEN",t.FILTER_EXPLORER_CLOSE="FILTER_EXPLORER_CLOSE",t.FILTER_EXPLORER_REQUEST="FILTER_EXPLORER_REQUEST",t.FILTER_EXPLORER_SUCCESS="FILTER_EXPLORER_SUCCESS",t.FILTER_EXPLORER_FAILED="FILTER_EXPLORER_FAILED",t.FILTER_EXPLORER_UPDATE="FILTER_EXPLORER_UPDATE",t.FILTER_EXPLORER_RESET="FILTER_EXPLORER_RESET",t.KEYBOARD_EVENT_ESCAPE="KEYBOARD_EVENT_ESCAPE",t.KEYBOARD_EVENT_SPACE="KEYBOARD_EVENT_SPACE",t.LOGIN_CHECK_DISCONNECTED="LOGIN_CHECK_DISCONNECTED",t.LOGIN_CHECK_CONNECTED="LOGIN_CHECK_CONNECTED",t.HEALTH_CHECK_FAILED="HEALTH_CHECK_FAILED",t.HEALTH_CHECK_SUCCEEDED="HEALTH_CHECK_SUCCEEDED",t.DRAWERS_ADD_INSTANCE="DRAWERS_ADD_INSTANCE",t.DRAWERS_REMOVE_INSTANCE="DRAWERS_REMOVE_INSTANCE",t.DRAWERS_ADD_ITEM="DRAWERS_ADD_DOCUMENT",t.DRAWERS_REMOVE_ITEM="DRAWERS_REMOVE_DOCUMENT",t.DRAWERS_EDIT_INSTANCE="DRAWERS_EDIT_INSTANCE",t.DRAWERS_UPDATE_LIST="DRAWERS_UPDATE_LIST",t.DRAWERS_ENABLE_DROPZONE="DRAWERS_ENABLE_DROPZONE",t.DRAWERS_DISABLE_DROPZONE="DRAWERS_DISABLE_DROPZONE",t.DRAWERS_INIT_DATA_REQUEST="DRAWERS_INIT_DATA_REQUEST",t.DRAWERS_INIT_DATA_REQUEST_SUCCESS="DRAWERS_INIT_DATA_REQUEST_SUCCESS",t.DRAWERS_INIT_DATA_REQUEST_FAILED="DRAWERS_INIT_DATA_REQUEST_FAILED",t.DRAWERS_INIT_DATA_REQUEST_EMPTY="DRAWERS_INIT_DATA_REQUEST_EMPTY",t.TAGS_UPDATE_VALUE="TAGS_UPDATE_VALUE",t.TAGS_REQUEST="TAGS_REQUEST",t.TAGS_REQUEST_SUCCESS="TAGS_REQUEST_SUCCESS",t.TAGS_REQUEST_ERROR="TAGS_REQUEST_ERROR",t.TAG_CREATE_NEW_REQUEST="TAG_CREATE_NEW_REQUEST",t.TAG_CREATE_NEW_REQUEST_SUCCESS="TAG_CREATE_NEW_REQUEST_SUCCESS",t.TAG_CREATE_NEW_REQUEST_ERROR="TAG_CREATE_NEW_REQUEST_ERROR",t.TAG_CREATOR_READY="TAG_CREATOR_READY",t.DOCUMENT_PREVIEW_INIT="DOCUMENT_PREVIEW_INIT",t.DOCUMENT_PREVIEW_DESTROY="DOCUMENT_PREVIEW_DESTROY",t.DOCUMENT_PREVIEW_OPEN="DOCUMENT_PREVIEW_OPEN",t.DOCUMENT_PREVIEW_CLOSE="DOCUMENT_PREVIEW_CLOSE",t.BLANCHETTE_EDITOR_INIT="BLANCHETTE_EDITOR_INIT",t.BLANCHETTE_EDITOR_IS_LOADING="BLANCHETTE_EDITOR_IS_LOADING",t.BLANCHETTE_EDITOR_LOADED="BLANCHETTE_EDITOR_LOADED",t.BLANCHETTE_EDITOR_ERROR="BLANCHETTE_EDITOR_ERROR",t.BLANCHETTE_EDITOR_SAVE_SUCCESS="BLANCHETTE_EDITOR_SAVE_SUCCESS"},xlJi:function(e,t){},ygC5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"slide-left-no-opacity"}},[e.isOpen?n("div",{staticClass:"filter-widget-explorer"},[n("ul",{staticClass:"filters-items"},[n("li",{staticClass:"filters-infos"},[n("div",{staticClass:"infos-content"},[n("transition",{attrs:{name:"fade"}},[e.itemCount||0===e.itemCount?n("div",[n("span",{staticClass:"number"},[e._v(e._s(e.itemCount))]),e._v("\n "+e._s(e.itemCount>1?e.translations.items:e.translations.item)+"\n ")]):e._e()])],1)]),e._v(" "),n("li",{staticClass:"item"},[n("a",{staticClass:"filter-item-link",class:[e.selectedItem?"":"active"],attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.onResetClick(t)}}},[n("i",{staticClass:"uk-icon-rz-unordered-list"}),e._v(" "+e._s(e.translations.see_all)+"\n ")])]),e._v(" "),e._l(e.items,function(t,i){return n("filter-explorer-item",{key:i,attrs:{"current-item":e.selectedItem,icons:e.icons,entity:e.entity,"on-item-click":e.onItemClick,item:t}})})],2)]):e._e()])},staticRenderFns:[]};t.default=i},ywca:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("4YKS"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("G7TI"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports}},["9wWa"]);
\ No newline at end of file
diff --git a/lib/Rozier/src/static/js/simple.f16645c80b8f94714755.js b/lib/Rozier/src/static/js/simple.5f58b21f036847b06030.js
similarity index 100%
rename from lib/Rozier/src/static/js/simple.f16645c80b8f94714755.js
rename to lib/Rozier/src/static/js/simple.5f58b21f036847b06030.js
diff --git a/lib/Rozier/src/static/js/vendor.f16645c80b8f94714755.js b/lib/Rozier/src/static/js/vendor.5f58b21f036847b06030.js
similarity index 100%
rename from lib/Rozier/src/static/js/vendor.f16645c80b8f94714755.js
rename to lib/Rozier/src/static/js/vendor.5f58b21f036847b06030.js