PageSourceSearch

https://www.yoursaycharlessturt.com.au/application/js/dist/legacy/chunks/359.dd3267b941310bd0.js

js yoursaycharlessturt.com.au collected 2026-10-03 01:33:01 UTC 33,116 bytes, 4 lines download raw bytes

1"use strict";
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f8153695-7561-5b05-8f62-86e03a737629")}catch(e){}}();
3(self.webpackChunkthe_hive_legacy=self.webpackChunkthe_hive_legacy||[]).push([[359],{60477:function(t,e,i){var n=i(45627),o=i.n(n),s=i(76798),a=i.n(s)()(o());a.push([t.id,".flip-list-move[data-v-246a2ff8]{transition:transform .5s}.no-move[data-v-246a2ff8]{transition:transform 0s}.ghost[data-v-246a2ff8]{background:#c8ebfb;opacity:.5}.list-group[data-v-246a2ff8]{min-height:20px}.list-group-item.draggable[data-v-246a2ff8]:not(.mask){cursor:move}.list-group-item.draggable i[data-v-246a2ff8]{cursor:pointer}.list-group-item-heading[data-v-246a2ff8]{font-weight:700}.list-group-item .btn-group[data-v-246a2ff8]{visibility:hidden}.list-group-item:hover .btn-group[data-v-246a2ff8]{visibility:visible}.list-group-item .btn-group .btn-link[data-v-246a2ff8]{margin-top:0}.list-group-item ul[data-v-246a2ff8]{list-style:none;margin:0;padding:0}.list-group-item ul li[data-v-246a2ff8]{align-content:center;align-items:center;display:flex;margin-top:2px;padding:2px}.item-actions[data-v-246a2ff8]{margin-left:auto;order:2;visibility:hidden}.list-group-empty[data-v-246a2ff8]{border:1px solid #ddd;border-radius:4px;padding:15px}.list-group-item ul li:hover .item-actions[data-v-246a2ff8]{visibility:visible}.btn.add-section[data-v-246a2ff8]{margin-top:-50px}.panel .input-group-addon.color-preview[data-v-246a2ff8]{min-width:34px}.panel fieldset.native[data-v-246a2ff8]{border:1px solid #ddd!important;border-radius:4px;box-shadow:0 0 0 0 #000;margin:15px 0!important;padding:0 15px 15px!important}.panel fieldset.native legend[data-v-246a2ff8]{border-bottom:none;font-size:12px;font-weight:700;margin-bottom:10px;padding:0 4px;width:inherit}.panel.inset-form[data-v-246a2ff8]{border:1px solid #ddd;border-radius:4px}.panel.inset-form.feature .panel-body[data-v-246a2ff8]{padding-bottom:10px;padding-top:10px}.panel.inset-form.feature .panel-body .form-group[data-v-246a2ff8]{border-bottom:0;padding:5px 15px}.panel.inset-form .panel-body[data-v-246a2ff8]{padding:0}.panel.inset-form .panel-body .layer-additional-fields>.form-group[data-v-246a2ff8]:last-child{border-bottom:0}.panel.inset-form .panel-body .form-group[data-v-246a2ff8]{border-bottom:1px solid #ddd;margin-bottom:0;padding:15px}.panel.inset-form .panel-body .form-group fieldset legend[data-v-246a2ff8]{border-bottom:0;font-size:14px;font-weight:700;margin-bottom:10px}.panel.inset-form .panel-body .form-group .vue-slider[data-v-246a2ff8]{margin-bottom:15px}.panel.inset-form .panel-body .form-group.feature-style .slider[data-v-246a2ff8]{margin:0 auto}.panel.inset-form .panel-body .fieldset.feature-style .form-group[data-v-246a2ff8]{border-bottom:0}.panel.inset-form .panel-footer[data-v-246a2ff8]{overflow:hidden}.list-group .checkbox[data-v-246a2ff8]{margin:0}.list-group.feature-collection[data-v-246a2ff8]{margin-bottom:2px}.list-group.feature-collection .list-group-item.feature-selected[data-v-246a2ff8]{background-color:#f8f8f8}.list-group.feature-collection .list-group-item .list-group-item-text[data-v-246a2ff8]{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#form_itemFilter[data-v-246a2ff8]{display:block;font-family:monospace;width:100%}","",{version:3,sources:["webpack://./application/js/build/blockUI/components/panels/policyscape/ReportSections.vue"],names:[],mappings:"AACA,iCACI,wBAAA,CAEJ,0BACI,uBAAA,CAEJ,wBAEI,kBAAA,CADA,UACA,CAEJ,6BACI,eAAA,CAEJ,uDACI,WAAA,CAEJ,8CACI,cAAA,CAEJ,0CACI,eAAA,CAEJ,6CACI,iBAAA,CAEJ,mDACI,kBAAA,CAEJ,uDACI,YAAA,CAEJ,qCAGI,eAAA,CAFA,QAAA,CACA,SACA,CAEJ,wCAEI,oBAAA,CACA,kBAAA,CAFA,YAAA,CAIA,cAAA,CADA,WACA,CAEJ,+BACI,gBAAA,CACA,OAAA,CACA,iBAAA,CAEJ,mCACI,qBAAA,CAEA,iBAAA,CADA,YACA,CAEJ,4DACI,kBAAA,CAEJ,kCACI,gBAAA,CAII,yDACI,cAAA,CAGR,wCACI,+BAAA,CACA,iBAAA,CAIA,uBAAA,CAFA,uBAAA,CADA,6BAGA,CACA,+CAGI,kBAAA,CACA,cAAA,CACA,eAAA,CACA,kBAAA,CAJA,aAAA,CADA,aAKA,CAGR,mCACI,qBAAA,CACA,iBAAA,CAEI,uDAEI,mBAAA,CADA,gBACA,CACA,mEACI,eAAA,CACA,gBAAA,CAIZ,+CACI,SAAA,CAGQ,+FACI,eAAA,CAIZ,2DAGI,4BAAA,CAFA,eAAA,CACA,YACA,CAGI,2EAGI,eAAA,CAFA,cAAA,CACA,eAAA,CAEA,kBAAA,CAIR,uEACI,kBAAA,CAGA,iFACI,aAAA,CAKR,mFACI,eAAA,CAIZ,iDACI,eAAA,CAKR,uCACI,QAAA,CAEJ,gDACI,iBAAA,CAEI,kFACI,wBAAA,CAEJ,uFAII,cAAA,CADA,eAAA,CAFA,sBAAA,CACA,kBAEA,CAKhB,kCACI,aAAA,CAEA,qBAAA,CADA,UACA",sourcesContent:["\n.flip-list-move {\n    transition: transform 0.5s;\n}\n.no-move {\n    transition: transform 0s;\n}\n.ghost {\n    opacity: 0.5;\n    background: #c8ebfb;\n}\n.list-group {\n    min-height: 20px;\n}\n.list-group-item.draggable:not(.mask) {\n    cursor: move;\n}\n.list-group-item.draggable i {\n    cursor: pointer;\n}\n.list-group-item-heading {\n    font-weight: bold;\n}\n.list-group-item .btn-group {\n    visibility: hidden;\n}\n.list-group-item:hover .btn-group {\n    visibility: visible;\n}\n.list-group-item .btn-group .btn-link {\n    margin-top: 0;\n}\n.list-group-item ul {\n    margin: 0;\n    padding: 0;\n    list-style: none;\n}\n.list-group-item ul li {\n    display: flex;
3\n    align-content: center;\n    align-items: center;\n    padding: 2px;\n    margin-top: 2px;\n}\n.item-actions {\n    margin-left: auto;\n    order: 2;\n    visibility: hidden;\n}\n.list-group-empty {\n    border: 1px solid #ddd;\n    padding: 15px;\n    border-radius: 4px;\n}\n.list-group-item ul li:hover .item-actions {\n    visibility: visible;\n}\n.btn.add-section {\n    margin-top: -50px;\n}\n.panel {\n    .input-group-addon {\n        &.color-preview {\n            min-width: 34px;\n        }\n    }\n    fieldset.native {\n        border: 1px solid #ddd !important;\n        border-radius: 4px;\n        padding: 0 15px 15px 15px !important;\n        margin: 15px 0 !important;\n        -webkit-box-shadow: 0px 0px 0px 0px #000;\n        box-shadow: 0px 0px 0px 0px #000;\n        legend {\n            width: inherit;\n            padding: 0 4px;\n            border-bottom: none;\n            font-size: 12px;\n            font-weight: bold;\n            margin-bottom: 10px;\n        }\n    }\n    &.inset-form {\n        border: 1px solid #ddd;\n        border-radius: 4px;\n        &.feature {\n            .panel-body {\n                padding-top: 10px;\n                padding-bottom: 10px;\n                .form-group {\n                    border-bottom: 0;\n                    padding: 5px 15px;\n                }\n            }\n        }\n        .panel-body {\n            padding: 0;\n            .layer-additional-fields {\n                > .form-group {\n                    &:last-child {\n                        border-bottom: 0;\n                    }\n                }\n            }\n            .form-group {\n                margin-bottom: 0;\n                padding: 15px;\n                border-bottom: 1px solid #ddd;\n\n                fieldset {\n                    legend {\n                        font-size: 14px;\n                        font-weight: bold;\n                        border-bottom: 0;\n                        margin-bottom: 10px;\n                    }\n                }\n\n                .vue-slider {\n                    margin-bottom: 15px;\n                }\n                &.feature-style {\n                    .slider {\n                        margin: 0 auto;\n                    }\n                }\n            }\n            .fieldset.feature-style {\n                .form-group {\n                    border-bottom: 0;\n                }\n            }\n        }\n        .panel-footer {\n            overflow: hidden;\n        }\n    }\n}\n.list-group {\n    .checkbox {\n        margin: 0;\n    }\n    &.feature-collection {\n        margin-bottom: 2px;\n        .list-group-item {\n            &.feature-selected {\n                background-color: #f8f8f8;\n            }\n            .list-group-item-text {\n                text-overflow: ellipsis;\n                white-space: nowrap;\n                overflow: hidden;\n                font-size: 12px;\n            }\n        }\n    }\n}\n#form_itemFilter {\n    display: block;\n    width: 100%;\n    font-family: monospace;\n}\n"],sourceRoot:""}]),e.A=a},71359:function(t,e,i){i.r(e),i.d(e,{default:function(){return h}});var n=i(5615),o=i(50964),s=i(61612),a=i(93723),r=i(98528),l=i(52993);function d(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function c(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?d(Object(i),!0).forEach((function(e){m(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):d(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function m(t,e,i){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
3(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var p={name:"ReportSections",components:{draggable:()=>i.e(0).then(i.t.bind(i,432,23))},created(){this.updateSectionsArray(this.sections),this.resetSection(),this.resetItem()},data(){return{mode:"show-sections",modeHistory:[],status:"",drag:!1,countable:{},transformation:{},section:{},sectionsArray:[],sectionObj:{sectionID:"",bID:"",sectionTitle:"",sectionDescription:"",sectionDefaultContent:"",sectionOrder:"",sectionUnmatchedContent:"",sectionUndefinedItems:[],layerID:"",sectionMode:null},item:{},itemObj:{itemID:"",bID:"",sectionID:"",fID:"",itemTitle:"",itemDescription:"",itemOrder:"",itemFilter:"",itemMode:null},isBusy:!1}},watch:{"section.sectionTitle":{immediate:!0,handler(t){this.handleCharCount({type:"section",ref:"form_sectionTitle",value:t,limit:50})}},"item.itemTitle":{immediate:!0,handler(t){this.handleCharCount({type:"item",ref:"form_itemTitle",value:t,limit:50})}},mode:function(t,e){let i=t.startsWith("add")||t.startsWith("edit")?"disabled":"";this.modeHistory.unshift(e),this.modeHistory.length=Math.min(this.modeHistory.length,2),this.BlockEditorStore.setNavigationState({state:i,excludeIds:["sections"]}),this.BlockEditorStore.setAllPanelState({state:i,excludeIds:["sections"]}),this.BlockEditorStore.setButtonState(i)},layers:function(t){this.updateSectionsArray()},sections:function(t){this.updateSectionsArray()}},computed:c(c({},(0,n.n2)(o.J)),{},{mapId(){return this.BlockEditorStore.ui.mapId},model(){let t=c(c(c(c({},this.blockDefaults),this.blockSets),this.blockData),this.formdata);for(let e in t)["lng","lat","zoom"].includes(e)&&(t[e]=Number(t[e]));return t},dragOptions(){return{animation:200,group:"description",disabled:!1,ghostClass:"ghost"}},layers(){return this.BlockEditorStore.formdata.layers},sections:{get(){return this.BlockEditorStore.formdata.sections},set(t){this.BlockEditorStore.formdata.sections=t}},items:{get(){return this.BlockEditorStore.formdata.items},set(t){this.BlockEditorStore.formdata.items=t}},blockMeta(){return this.BlockEditorStore.blockMeta},blockData(){return this.BlockEditorStore.blockData},blockSets(){return this.BlockEditorStore.blockSets},blockDefaults(){return this.BlockEditorStore.blockDefaults}}),methods:{_$t(t,e){return this.$t("block_ui:panels.policyScapeReportSections."+t,e)},updateSectionsArray(){let t=this.layers.map((t=>t.layerID));Object.keys(this.sections).length?(this.sectionsArray=Object.keys(this.sections).map((t=>this.sections[t])).filter((e=>t.includes(e.layerID))).sort(((t,e)=>t.sectionOrder-e.sectionOrder)),this.updateSectionOrder()):this.sectionsArray=[]},getLayerPopupFields(t){let e=this.layers.find((e=>e.layerID==t));return!(!e||!e.layerPopupFields)&&(Array.isArray(e.layerPopupFields)?e.layerPopupFields:JSON.parse(e.layerPopupFields))},validateFormElements(t){if(!t||!Array.isArray(t)||t.some((t=>!["INPUT","SELECT","BUTTON","OUTPUT","TEXTAREA"].includes(t.tagName))))return console.error("Array of HTMLElement(s) required to validate"),!1;return!t.filter((t=>t.willValidate&&!t.validity.valid&&t.labels.length)).map((t=>(t.validity.valid||HiveAlerts.error({title:t.labels.length&&t.labels[0].innerText||this._$t("invalidInput"),message:t.validationMessage||this._$t("invalidInputDesc")}),t))).length},updateSectionOrder(){this.sectionsArray&&this.sectionsArray.forEach(((t,e)=>{t.sectionOrder=e}))},setupItem({mode:t,section:e,item:i}={}){let n=this;this.mode=t,i.itemMode=i.itemMode||t,i.sectionOrder=e.sectionOrder,this.item=(0,s.A)((0,l.Q)(this.item),(0,l.Q)(i)),"add-item"===t&&(this.item.sectionID=e.sectionID,this.item.itemOrder=Object.keys(this.items).filter((t=>n.items[t].sectionID==e.sectionID)).length),n.$nextTick((()=>{n.initConcreteFileSelector({el:n.$refs.form_fID,inputName:"form_fID",fID:n.item.fID}),["itemDescription"].map((t=>{this.redactor({ref:`form_${t}`,charLimit:300,changeCallback:function(){n.item[t]=this.code.get()}})}))}))},deleteItem({section:t,item:e}={}){this.$delete(this.items,e.itemID),this.resetSection(),this.resetItem()},setupSection({mode:t,section:e}={}){let i=this;this.mode=t,e.sectionMode=e.sectionMode||t,e.sectionUndefinedItems=e.sectionUndefinedItems?Array.isArray(e.sectionUndefinedItems)?e.sectionUndefinedItems:e.sectionUndefinedItems.split(","):[],this.section=(0,s.A)((0,l.Q)(this.section),(0,l.Q)(e)),"add-section"===t&&(this.section.sectionOrder=Object.keys(this.sections).length),i.$nextTick((()=>{["sectionDescription","sectionDefaultContent","sectionUnmatchedContent"].map((t=>{this.redactor({ref:`form_${t}`,charLimit:300,changeCallback:function(){i.section[t]=this.code.get()}})}))}))},deleteSection({section:t}={}){this.$delete(this.sections,t.sectionID),Object.keys(this.items).forEac
3h((e=>{this.items[e].sectionID==t.sectionID&&this.$delete(this.items,e)})),this.resetSection(),this.resetItem()},cancelSectionAction(){this.resetSection()},resetSection(){this.section=Object.assign({},this.sectionObj,{sectionID:(0,r.A)(1e7)}),this.updateSectionsArray(),this.mode="show-sections"},resetItem(){this.item=Object.assign({},this.itemObj,{itemID:(0,r.A)(1e7)}),this.mode="show-sections"},saveSection(){if(this.isBusy=!0,this.validateFormElements([...document.querySelector(".inset-form.section").querySelectorAll("input, select, textarea")])){let t=(0,l.Q)(this.sections),e=(0,l.Q)(this.section);"edit-section"==this.mode?t[e.sectionID]=(0,s.A)(t[e.sectionID],e):t[e.sectionID]=e,this.sections=(0,l.Q)(t),this.resetSection(),this.resetItem()}this.isBusy=!1},saveItem(){if(this.isBusy=!0,this.validateFormElements([...document.querySelector(".inset-form.item").querySelectorAll("input, select, textarea")])){let t=(0,l.Q)(this.items),e=(0,l.Q)(this.item);"edit-item"==this.mode?t[e.itemID]=(0,s.A)(t[e.itemID],e):t[e.itemID]=e,this.items=(0,l.Q)(t),this.resetItem()}this.isBusy=!1},stringify(t){return t&&Array.isArray(t)?JSON.stringify(t):this.isJsonString(t)?JSON.stringify(JSON.parse(t)):"[]"},isJsonString(t){try{let e=JSON.parse(t);if(e&&"object"==typeof e)return!0}catch(t){}return!1},redactor({ref:t,config:e,charLimit:i,changeCallback:n}={}){e=e||{minHeight:100,plugins:["table"],buttons:["html","bold","italic","unorderedlist","orderedlist","image","table","link","horizontalrule"],concrete5:{filemanager:!0,sitemap:!0}};let o=this,s=c(c({initCallback(){o.$set(o.transformation[t],"charLeft",i-this.code.get().length)}},n?{changeCallback:n}:{}),{},{callbacks:{}});i&&(s.plugins=["countlimit"],s.limiter={type:"characters",count:i},s.callbacks.counter=function(e){o.$set(o.transformation[t],"charLeft",i-e.characters)},s.callbacks.onOver=function(){console.error("onOver: char limit exceeded")},s.callbacks.onSafe=function(){}),this.transformation[t]=this.transformation[t]||{},this.transformation[t].redactor=$.Redactor(o.$refs[t],Object.assign({},s,e))},handleCharCount({type:t,ref:e,limit:i=20,value:n=""}){this.$set(this.countable,e,{type:t,length:n.length,left:i-n.length,isOver:i-n.length<0||!1})},onDragEnd(){this.updateSectionOrder(),this.drag=!1},initConcreteFileSelector({el:t,inputName:e,fID:i,onBeforeFileLoaded:n,onFileLoaded:o,onAfterFileLoaded:s,onFileCleared:a}={}){$(t).concreteFileSelector(c(c(c({},e?{inputName:e}:{}),+i?{fID:i}:{}),{},{onBeforeFileLoaded:n||this.onBeforeFileLoaded,onFileLoaded:o||this.onFileLoaded,onAfterFileLoaded:s||this.onAfterFileLoaded,onFileCleared:a||this.onFileCleared}))},onBeforeFileLoaded(t){this.status="loading"},onFileLoaded(t){var e=t.files[0],i=(e.url,e.fileName),n=(i.split(".").pop(),e.fID);if(!i)return!1;this.item.fID=n},onAfterFileLoaded(t){this.status=""},onFileCleared(){["add-item","edit-item"].includes(this.mode)&&(this.item.fID="")},getSectionItems(t){return Object.values((0,a.A)(this.items,(e=>e.sectionID==t))).sort(((t,e)=>t.itemOrder-e.itemOrder))}}},u=i(85072),f=i.n(u),A=i(60477),v={insert:"head",singleton:!1},h=(f()(A.A,v),A.A.locals,(0,i(14486).A)(p,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"component-report-sections"},[e("button",{directives:[{name:"show",rawName:"v-show",value:"show-sections"===t.mode,expression:"mode === 'show-sections'"}],staticClass:"btn btn-sm btn-primary add-section pull-right",attrs:{type:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"},on:{click:function(e){return t.setupSection({mode:"add-section",section:{}})}}},[t._v("\n        "+t._s(t._$t("add"))+"\n    ")]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!("show-sections"!==t.mode||t.sectionsArray&&t.sectionsArray.length),expression:"mode === 'show-sections' && (!sectionsArray || !sectionsArray.length)"}],staticClass:"list-group-empty text-center"},[t._v("\n        "+t._s(t._$t("noResults"))+"\n    ")]),t._v(" "),e("draggable",t._b({directives:[{name:"show",rawName:"v-show",value:"show-sections"===t.mode&&t.sectionsArray&&t.sectionsArray.length,expression:"mode === 'show-sections' && sectionsArray && sectionsArray.length"}],staticClass:"list-group",attrs:{tag:"ul",draggable:".draggable"},on:{start:function(e){t.drag=!0},end:t.onDragEnd},model:{value:t.sectionsArray,callback:function(e){t.sectionsArray=e},expression:"sectionsArray"}},"draggable",t.dragOptions,!1),[e("transition-group",{attrs:{type:"transition",name:t.drag?null:"flip-list"}},t._l(t.sectionsArray,(function(i){return e("li",{key:"map-section-"+i.sectionOrder,staticClass:"draggable list-group-item"},[e("div",{staticClass:"btn-group pull-right"},[e("button",{staticClass:"btn btn-link",attrs:{type:"button","data-action":"add"},on:{click:function(e){return t.setupItem({mode:"add-item",section:i,item:{}})}}},[t._v("\n                        "+t._s(t._$t("items.add"))+"\n                    ")]),t._v(" "),e("button",{staticClass:"btn btn-link",attrs:{type:"button",title:t._$t("edit"),"aria-label":t._$t("edit")},on:{click:function(e){return t.setupSection({mode:"edit-section",section:i})}}},[e("i",{staticClass:"fa fa-pencil"})]),t._v(" "),e("button",{staticClass:"btn btn-link",attrs:{type:"button",title:t._$t("delete"),"aria-label":t._$t("delete")},on:{click:function(e){return t.deleteSection({section:i})}}}
3,[e("i",{staticClass:"fa fa-trash"})])]),t._v(" "),e("h5",{attrs:{title:i.sectionTitle}},[e("strong",[t._v(t._s(i.sectionTitle))])]),t._v(" "),t.getSectionItems(i.sectionID).length?e("fieldset",{staticClass:"native"},[e("legend",[t._v("Items")]),t._v(" "),e("ul",{staticClass:"items-list"},t._l(t.getSectionItems(i.sectionID),(function(n){return e("li",{key:`section-${i.sectionID}-item-${n.itemOrder}`,staticClass:"section-item"},[t._v("\n                            "+t._s(n.itemTitle)+"\n                            "),e("span",{staticClass:"item-actions"},[e("button",{staticClass:"btn btn-link",attrs:{type:"button","data-action":"edit",title:t._$t("items.edit"),"aria-label":t._$t("items.edit")},on:{click:function(e){return t.setupItem({mode:"edit-item",section:i,item:n})}}},[e("i",{staticClass:"fa fa-pencil"})]),t._v(" "),e("button",{staticClass:"btn btn-link",attrs:{type:"button","data-action":"delete",title:t._$t("items.delete"),"aria-label":t._$t("items.delete")},on:{click:function(e){return t.deleteItem({section:i,item:n})}}},[e("i",{staticClass:"fa fa-trash"})])]),t._v(" "),e("input",{attrs:{type:"hidden",name:`item[${i.sectionOrder}][${n.itemID}][itemID]`},domProps:{value:n.itemID}}),t._v(" "),e("input",{attrs:{type:"hidden",name:`item[${i.sectionOrder}][${n.itemID}][sectionID]`},domProps:{value:n.sectionID}}),t._v(" "),e("input",{attrs:{type:"hidden",name:`item[${i.sectionOrder}][${n.itemID}][fID]`},domProps:{value:n.fID}}),t._v(" "),e("input",{attrs:{type:"hidden",name:`item[${i.sectionOrder}][${n.itemID}][itemTitle]`},domProps:{value:n.itemTitle}}),t._v(" "),e("input",{attrs:{type:"hidden",name:`item[${i.sectionOrder}][${n.itemID}][itemDescription]`},domProps:{value:n.itemDescription}}),t._v(" "),e("input",{attrs:{type:"hidden",name:`item[${i.sectionOrder}][${n.itemID}][itemOrder]`},domProps:{value:n.itemOrder}}),t._v(" "),e("input",{attrs:{type:"hidden",name:`item[${i.sectionOrder}][${n.itemID}][itemFilter]`},domProps:{value:n.itemFilter}}),t._v(" "),e("input",{attrs:{type:"hidden",name:`item[${i.sectionOrder}][${n.itemID}][itemMode]`},domProps:{value:n.itemMode||"edit-item"}})])})),0)]):t._e(),t._v(" "),e("input",{attrs:{type:"hidden",name:"sectionID[]"},domProps:{value:i.sectionID}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"sectionTitle[]"},domProps:{value:i.sectionTitle}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"sectionDescription[]"},domProps:{value:i.sectionDescription}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"sectionDefaultContent[]"},domProps:{value:i.sectionDefaultContent}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"sectionOrder[]"},domProps:{value:i.sectionOrder}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"sectionUnmatchedContent[]"},domProps:{value:i.sectionUnmatchedContent}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"sectionUndefinedItems[]"},domProps:{value:i.sectionUndefinedItems}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"sectionLayerID[]"},domProps:{value:i.layerID}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"sectionMode[]"},domProps:{value:i.sectionMode||"edit-section"}})])})),0)],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:"loading"===t.status,expression:"status === 'loading'"}],staticClass:"text-center",staticStyle:{"margin-top":"20px","margin-bottom":"20px"}},[e("i",{staticClass:"fa fa-spinner fa-pulse fa-1x fa-fw",attrs:{"aria-hidden":"true"}})]),t._v(" "),["add-section","edit-section"].includes(t.mode)?e("div",{staticClass:"panel panel-default inset-form section"},[e("div",{staticClass:"panel-heading"},[e("h3",{staticClass:"panel-title"},[t._v("\n                "+t._s("add-section"===t.mode?t._$t("add"):t._$t("edit"))+"\n            ")])]),t._v(" "),e("div",{staticClass:"panel-body"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.section.sectionID,expression:"section.sectionID"}],attrs:{type:"hidden",name:"form_sectionID"},domProps:{value:t.section.sectionID},on:{input:function(e){e.target.composing||t.$set(t.section,"sectionID",e.target.value)}}}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.section.sectionOrder,expression:"section.sectionOrder"}],attrs:{type:"hidden",name:"form_sectionOrder"},domProps:{value:t.section.sectionOrder},on:{input:function(e){e.target.composing||t.$set(t.section,"sectionOrder",e.target.value)}}}),t._v(" "),e("div",{staticClass:"form-group"},[e("label",{attrs:{for:"form_layerID"}},[t._v(t._s(t._$t("selectLayer"))+"\n                    "),e("span",{staticClass:"text-muted small"},[t._v(t._s(t._$t("required")))])]),t._v(" "),e("select",{directives:[{name:"model",rawName:"v-model",value:t.section.layerID,expression:"section.layerID"}],staticClass:"form-control",attrs:{id:"form_layerID",name:"form_layerID",required:""},on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,
3(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.section,"layerID",e.target.multiple?i:i[0])}}},t._l(t.layers,(function(i){return e("option",{key:i.layerID,attrs:{disabled:"edit-section"===t.mode&&t.section.layerID!=i.layerID},domProps:{value:i.layerID,selected:"edit-section"===t.mode&&t.section.layerID==i.layerID}},[t._v(t._s(i.layerLabel)+" ("+t._s(i.layerType)+")")])})),0)]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.section.layerID,expression:"section.layerID"}],staticClass:"conditional"},[e("div",{class:[{"has-error":t.countable.form_sectionTitle.isOver},"form-group"]},[e("label",{staticClass:"control-label",attrs:{for:"form_sectionTitle"}},[t._v("\n                        "+t._s(t._$t("title"))+"\n                        "),e("span",{staticClass:"text-muted small"},[t._v(t._s(t._$t("required")))])]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.section.sectionTitle,expression:"section.sectionTitle"}],ref:"form_sectionTitle",staticClass:"form-control",attrs:{type:"text",id:"form_sectionTitle",name:"form_sectionTitle",maxlength:"50",required:""},domProps:{value:t.section.sectionTitle},on:{input:function(e){e.target.composing||t.$set(t.section,"sectionTitle",e.target.value)}}}),t._v(" "),e("small",{staticClass:"character-counter help-block"},[t._v("\n                        "+t._s(t._$t("charactersRemaining",{chars:t.countable.form_sectionTitle.left}))+"\n                    ")])]),t._v(" "),e("div",{staticClass:"form-group"},[e("label",{attrs:{for:"form_sectionDescription"}},[t._v(t._s(t._$t("description")))]),t._v(" "),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.section.sectionDescription,expression:"section.sectionDescription"}],ref:"form_sectionDescription",attrs:{id:"form_sectionDescription",name:"form_sectionDescription"},domProps:{value:t.section.sectionDescription},on:{input:function(e){e.target.composing||t.$set(t.section,"sectionDescription",e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group"},[e("label",{attrs:{for:"form_sectionDefaultContent"}},[t._v(t._s(t._$t("defaultContent")))]),t._v(" "),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.section.sectionDefaultContent,expression:"section.sectionDefaultContent"}],ref:"form_sectionDefaultContent",attrs:{id:"form_sectionDefaultContent",name:"form_sectionDefaultContent"},domProps:{value:t.section.sectionDefaultContent},on:{input:function(e){e.target.composing||t.$set(t.section,"sectionDefaultContent",e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group"},[e("label",{attrs:{for:"form_sectionUnmatchedContent"}},[t._v(t._s(t._$t("unmatchedContent")))]),t._v(" "),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.section.sectionUnmatchedContent,expression:"section.sectionUnmatchedContent"}],ref:"form_sectionUnmatchedContent",attrs:{id:"form_sectionUnmatchedContent",name:"form_sectionUnmatchedContent"},domProps:{value:t.section.sectionUnmatchedContent},on:{input:function(e){e.target.composing||t.$set(t.section,"sectionUnmatchedContent",e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group"},[e("fieldset",[e("legend",[t._v(t._s(t._$t("unmatchedItems")))]),t._v(" "),e("div",{staticClass:"checkbox-list"},[t.getLayerPopupFields(t.section.layerID)&&t.getLayerPopupFields(t.section.layerID).length?t._l(t.getLayerPopupFields(t.section.layerID),(function(i){return e("div",{key:i,staticClass:"checkbox"},[e("label",[e("input",{directives:[{name:"model",rawName:"v-model",value:t.section.sectionUndefinedItems,expression:"section.sectionUndefinedItems"}],attrs:{type:"checkbox"},domProps:{value:i,checked:Array.isArray(t.section.sectionUndefinedItems)?t._i(t.section.sectionUndefinedItems,i)>-1:t.section.sectionUndefinedItems},on:{change:function(e){var n=t.section.sectionUndefinedItems,o=e.target,s=!!o.checked;if(Array.isArray(n)){var a=i,r=t._i(n,a);o.checked?r<0&&t.$set(t.section,"sectionUndefinedItems",n.concat([a])):r>-1&&t.$set(t.section,"sectionUndefinedItems",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.section,"sectionUndefinedItems",s)}}}),e("span",[t._v(t._s(i))])])])})):e("div",{staticClass:"list-group-empty text-center"},[t._v("\n                                "+t._s(t._$t("noFeatureProperties"))+"\n                            ")])],2)])])])]),t._v(" "),e("div",{staticClass:"panel-footer"},[e("button",{staticClass:"btn btn-default pull-left",attrs:{type:"button"},on:{click:t.cancelSectionAction}},[t._v("\n                "+t._s(t._$t("cancel"))+"\n            ")]),t._v(" "),e("button",{staticClass:"btn btn-primary pull-right",attrs:{type:"button",disabled:t.isBusy},on:{click:t.saveSection}},[t._v("\n                "+t._s(t._$t("save"))+"\n            ")])])]):t._e(),t._v(" "),["add-item","edit-item"].includes(t.mode)?e("div",{staticClass:"panel panel-default inset-form item"},[e("div",{staticClass:"panel-heading"},[e("h3",{staticClass:"panel-title"},[t._v("\n                "+t._s("add-item"===t.mode?t._$t("items.addSection"):t._$t("items.editSection"))+"\n            ")])]),t._v(" "),e("div",{staticClass:"panel-body"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.item.itemID,expression:"item.itemID"}],attrs:{type:"hidden",name:"form_itemID"},domProps:{value:t.item.itemID},on:{input:function(e){e.target.composing||t.$set(t.item,"itemID",e.target.value)}}}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.item.sectionID,expression:"item.sectionID"}],attrs:{type:"hidden",name:"form_sectionID"},domProps:{value:t.item.sectionID}
3,on:{input:function(e){e.target.composing||t.$set(t.item,"sectionID",e.target.value)}}}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.item.itemOrder,expression:"item.itemOrder"}],attrs:{type:"hidden",name:"form_itemOrder"},domProps:{value:t.item.itemOrder},on:{input:function(e){e.target.composing||t.$set(t.item,"itemOrder",e.target.value)}}}),t._v(" "),e("div",{class:[{"has-error":t.countable.form_itemTitle.isOver},"form-group"]},[e("label",{staticClass:"control-label",attrs:{for:"form_itemTitle"}},[t._v("\n                    "+t._s(t._$t("items.title"))+"\n                    "),e("span",{staticClass:"text-muted small"},[t._v(t._s(t._$t("required")))])]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.item.itemTitle,expression:"item.itemTitle"}],ref:"form_itemTitle",staticClass:"form-control",attrs:{type:"text",id:"form_itemTitle",name:"form_itemTitle",maxlength:"50",required:""},domProps:{value:t.item.itemTitle},on:{input:function(e){e.target.composing||t.$set(t.item,"itemTitle",e.target.value)}}}),t._v(" "),e("small",{staticClass:"character-counter help-block"},[t._v("\n                    "+t._s(t._$t("charactersRemaining",{chars:t.countable.form_itemTitle.left}))+"\n                ")])]),t._v(" "),e("div",{staticClass:"form-group"},[e("label",{attrs:{for:"form_itemDescription"}},[t._v(t._s(t._$t("items.description")))]),t._v(" "),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.item.itemDescription,expression:"item.itemDescription"}],ref:"form_itemDescription",attrs:{id:"form_itemDescription",name:"form_itemDescription"},domProps:{value:t.item.itemDescription},on:{input:function(e){e.target.composing||t.$set(t.item,"itemDescription",e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group"},[e("label",[t._v(t._s(t._$t("items.file")))]),t._v(" "),e("div",{ref:"form_fID",staticClass:"ccm-file-selector",attrs:{"data-file-selector":"fID"}})]),t._v(" "),e("div",{staticClass:"form-group"},[e("label",{attrs:{for:"form_itemFilter"}},[t._v(t._s(t._$t("items.displayCondition"))+"\n                    "),e("span",{staticClass:"text-muted small"},[t._v(t._s(t._$t("required")))])]),t._v(" "),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.item.itemFilter,expression:"item.itemFilter"}],ref:"form_itemFilter",attrs:{id:"form_itemFilter",name:"form_itemFilter",placeholder:'eg. ["all", ["==", "property", "value"]]',required:""},domProps:{value:t.item.itemFilter},on:{input:function(e){e.target.composing||t.$set(t.item,"itemFilter",e.target.value)}}})])]),t._v(" "),e("div",{staticClass:"panel-footer"},[e("button",{staticClass:"btn btn-sm btn-default pull-left",attrs:{type:"button"},on:{click:t.resetItem}},[t._v("\n                "+t._s(t._$t("cancel"))+"\n            ")]),t._v(" "),e("button",{staticClass:"btn btn-sm btn-primary pull-right",attrs:{type:"button",disabled:t.isBusy},on:{click:t.saveItem}},[t._v("\n                "+t._s(t._$t("items.save"))+"\n            ")])])]):t._e()],1)}),[],!1,null,"246a2ff8",null).exports)}}]);
4//# debugId=f8153695-7561-5b05-8f62-86e03a737629

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.