1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[244],{6607(e,t,a){const n=function(e){return{components:e.components}};a.d(t,["A",0,n])},91310(e,t,a){a.d(t,{default:()=>N});var n=a(6607),o=a(63957),i=a(46177),l=a.n(i),r=a(37941),c={class:"policy-table"},s={class:"policy-table-search"},u=["value"],p={class:"policy-table-content"},g={class:"policy-table-header"},m={class:"policy-table-body"},d={class:"policy-table-row-cell is-type-weight-semi-bold"},h=["innerHTML"],v={class:"policy-table-row-cell is-type-body-tiny has-text-centered"},y={class:"policy-os"},f={key:1,class:"policy-table-row"},P={class:"has-text-gray-50 has-text-centered"};const k={__name:"PolicyTable",props:{feed:{required:!0,type:Object}},setup:function(e){var t=e,a=(0,o.ref)(["Display Name","Description","OS"]),n=[10,25,50,100],i=(0,o.ref)(n[0]),k=(0,o.ref)(""),E=(0,o.ref)(t.feed.templates),N=(0,o.ref)(0),C=(0,o.ref)(n[0]),b=(0,o.computed)((function(){return"Showing ".concat(N.value+1," to ").concat(C.value<=E.value.length?C.value:E.value.length," of ").concat(E.value.length," records")})),V=function(e,t){N.value=e,C.value=t},B=l()((function(){k.value?E.value=t.feed.templates.filter((function(e){var t=k.value.toLowerCase();return e.display_name.toLowerCase().includes(t)||e.description.toLowerCase().includes(t)||e.os.toLowerCase().includes(t)})):E.value=t.feed.templates}),500);return function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("div",c,[(0,o.createElementVNode)("div",s,[(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text",placeholder:"Search...","onUpdate:modelValue":t[0]||(t[0]=function(e){return k.value=e}),onKeyup:t[1]||(t[1]=function(){return(0,o.unref)(B)&&(0,o.unref)(B).apply(void 0,arguments)}),class:"policy-table-search-input is-type-body-default"},null,544),[[o.vModelText,k.value]]),E.value.length>0?(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("select",{key:0,class:"policy-table-search-select","onUpdate:modelValue":t[2]||(t[2]=function(e){return i.value=e})},[((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(n,(function(e){return(0,o.createElementVNode)("option",{key:e,value:e},(0,o.toDisplayString)(e),9,u)})),64))],512)),[[o.vModelSelect,i.value]]):(0,o.createCommentVNode)("v-if",!0)]),(0,o.createElementVNode)("div",p,[(0,o.createElementVNode)("div",g,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(a.value,(function(e){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{key:e,class:"policy-table-row-cell is-type-body-small has-text-gray-60"},(0,o.toDisplayString)(e),1)})),128))]),(0,o.createElementVNode)("div",m,[E.value.length>0?((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,{key:0},(0,o.renderList)(E.value.slice(N.value,C.value),(function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{key:t,class:"policy-table-row"},[(0,o.createElementVNode)("div",d,(0,o.toDisplayString)(e.display_name),1),(0,o.createElementVNode)("div",{innerHTML:e.description,class:"policy-table-row-cell"},null,8,h),(0,o.createElementVNode)("div",v,[(0,o.createElementVNode)("span",y,(0,o.toDisplayString)((a=e.os,n=a,"DARWIN"===a?n="Mac":"IOS"===a?n="iOS":(n=a.toLowerCase()).charAt(0).toUpperCase()+n.slice(1))),1)])]);var a,n})),128)):((0,o.openBlock)(),(0,o.createElementBlock)("div",f,t[3]||(t[3]=[(0,o.createElementVNode)("div",{class:"policy-table-row-cell"}," No Matching Records ",-1)]))),E.value.length>0?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:2},[(0,o.createVNode)(r.A,{"items-per-page":i.value,posts:E.value,onPageChange:V},null,8,["items-per-page","posts"]),(0,o.createElementVNode)("div",P,(0,o.toDisplayString)(b.value),1)],64)):(0,o.createCommentVNode)("v-if",!0)])])])}}},E=k,N=(0,n.A)({components:{PolicyTable:E}})},9890(e,t){t.A=(e,t)=>{const a=e.__vccOpts||e;for(const[e,n]of t)a[e]=n;return a}},37941(e,t,a){a.d(t,{A:()=>E});var n=a(63957),o={class:"pagination is-centered"},i={class:"pagination-list"},l={key:0},r={key:1},c={key:2},s=["value"],u={key:3},p=["value"],g={class:"pagination-link-custom is-type-body-small is-important is-current"},m={key:4},d=["value"],h={key:5},v={key:6},y={key:7},f=["value"];const P={name:"Pagination",data:function(){return{currentPage:1,pageDirection:null,bottomRange:null,topRange:null}},computed:{pageCount:function(){return Number.isFinite(this.totalPages)&&0!==this.totalPages?this.totalPages:Math.ceil(this.posts.length/this.itemsPerPage)},firstPage:function(){return 1===this.currentPage&&this.pageCount>3},leftEllipsis:function(){return this.currentPage-2>1&&this.pageCount>4},middlePrevious:function(){return this.currentPage-1>1},middleNext:function(){return this.currentPage+1<this.pageCount},rightEllipsis:function(){return this.currentPage+2<this.pageCount&&this.pageCount>4},lastPage:function(){return this.currentPage===this.pageCount&&this.currentPage>3}},props:{itemsPerPage:{type:Number,required:!1,default:0},posts:{type:Array,required:!1,default:function(){return[]}},totalPages:{type:Number,required:!1,default:0}},emits:["animation","pageChange","pageNumber"],watch:{posts:{handler:function(){this.resetPagination()},deep:!0},itemsPerPage:"resetPagination"},methods:{previousPage:function(){this.currentPage>1&&(this.currentPage-=1,this.pageDirection="previousPage",this.pageUpdateActions())},nextPage:function(){this.currentPage<this.pageCount&&(this.currentPage+=1,this.pageDirection="nextPage",this.pageUpdateActions())},changePage:function(e){var t=Number(e.target.attributes.value.value);t>this.currentPage?this.pageDirection="nextPage":this.pageDirection="previousPage",this.currentPage=t,this.pageUpdateActions()},pageUpdateActions:function(){0!==this.itemsPerPage&&this.posts.length>0&&(this.calcRange(),this.$emit("pageChange",this.bottomRange,this.topRange)),0!==this.totalPages&&this.$emit("pageNumber",this.currentPage),this.$emit("animation",this.pageDirection)},calcRange:function(){this.bottomRange=this.itemsPerPage*this.currentPage-this.itemsPerPage,this.topRange=this.itemsPerPage*this.currentPage},resetPagination:function(){this.currentPage=1,0!==this.itemsPerPage&&this.posts.length>0&&(this.calcRange(),this.$emit("pageChange",this.bottomRange,this.topRange))}},mounted:function(){this.calcRange()}};const k=(0,a(9890).A)(P,[["render",function(e,t,a,P,k,E){return(0,n.openBlock)(),(0,n.createElementBlock)("div",null,[(0,n.createElementVNode)("div",o,[1!=E.pageCount?((0,n.openBlock)(),(0,n.createElementBlock)("a",{key:0,onClick:t[0]||(t[0]=function(){return E.previousPage&&E.previousPage.apply(E,arguments)}),class:"pagination-previous"},t[8]||(t[8]=[(0,n.createElementVNode)("img",{loading:"lazy",src:"/wp-content/themes/jumpcloud/assets/images/jc-brand-2020/arrow-no-tail.svg.compressed.png",alt:"back arrow button"},null,-1)]))):(0,n.createCommentVNode)("v-if",!0),1!=E.pageCount?((0,n.openBlock)(),(0,n.createElementBlock)("a",{key:1,onClick:t[1]||(t[1]=function(){return E.nextPage&&E.nextPage.apply(E,arguments)}),class:"pagination-next"},t[9]||(t[9]=[(0,n.createElementVNode)("img",{loading:"lazy",src:"/wp-content/themes/jumpcloud/assets/images/jc-brand-2020/arrow-no-tail.svg.compressed.png",alt:"forward arrow button"},null,-1)]))):(0,n.createCommentVNode)("v-if",!0),(0,n.createElementVNode)("ul",i,[k.currentPage>1?((0,n.openBlock)(),(0,n.createElementBlock)("li",l,[(0,n.createElementVNode)("a",{onClick:t[2]||(t[2]=function(e){return E.changePage(e)}),class:"pagination-link-custom is-type-body-small is-important",value:1},"1")])):(0,n.createCommentVNode)("v-if",!0),E.leftEllipsis?((0,n.openBlock)(),(0,n.createElementBlock)("li",r,t[10]||(t[10]=[(0,n.createElementVNode)("span",{class:"pagination-ellipsis"},"â¦",-1)]))):(0,n.createCommentVNode)("v-if",!0),E.lastPage?((0,n.openBlock)(),(0,n.createElementBlock)("li",c,[(0,n.createElementVNode)("a",{onClick:t[3]||(t[3]=function(e){return E.changePage(e)}),class:"pagination-link-custom is-type-body-small is-important",value:E.pageCount-2},(0,n.toDisplayString)(E.pageCount-2),9,s)])):(0,n.createCommentVNode)("v-if",!0),E.middlePrevious?((0,n.openBlock)(),(0,n.createElementBlock)("li",u,[(0,n.createElementVNode)("a",{onClick:t[4]||(t[4]=function(e){return E.changePage(e)}),class:"pagination-link-custom is-type-body-small is-important",value:k.currentPage-1},(0,n.toDisplayString)(k.currentPage-1),9,p)])):(0,n.createCommentVNode)("v-if",!0),(0,n.createElementVNode)("li",null,[(0,n.createElementVNode)("a",g,(0,n.toDisplayString)(k.currentPage),1)]),k.currentPage+1<E.pageCount?((0,n.openBlock)(),(0,n.createElementBlock)("li",m,[(0,n.createElementVNode)("a",{onClick:t[5]||(t[5]=function(e){return E.changePage(e)}),class:"pagination-link-custom is-type-body-small is-important",value:k.currentPage+1},(0,n.toDisplayString)(k.currentPage+1),9,d)])):(0,n.createCommentVNode)("v-if",!0),E.firstPage?((0,n.openBlock)(),(0,n.createElementBlock)("li",h,[(0,n.createElementVNode)("a",{onClick:t[6]||(t[6]=function(e){return E.changePage(e)}),class:"pagination-link-custom is-type-body-small is-important",value:3},(0,n.toDisplayString)(k.currentPage+2),1)])):(0,n.createCommentVNode)("v-if",!0),E.rightEllipsis?((0,n.openBlock)(),(0,n.createElementBlock)("li",v,t[11]||(t[11]=[(0,n.createElementVNode)("span",{class:"pagination-ellipsis"},"â¦",-1)]))):(0,n.createCommentVNode)("v-if",!0),k.currentPage<E.pageCount?((0,n.openBlock)(),(0,n.createElementBlock)("li",y,[(0,n.createElementVNode)("a",{onClick:t[7]||(t[7]=function(e){return E.changePage(e)}),class:"pagination-link-custom is-type-body-small is-important",value:E.pageCount},(0,n.toDisplayString)(E.pageCount),9,f)])):(0,n.createCommentVNode)("v-if",!0)])])])}]]),E=k}}]);
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.