1"use strict";(self.webpackChunkdashly=self.webpackChunkdashly||[]).push([[5568],{10807:function(e,t,s){s.d(t,{A:function(){return A}});var a=s(77387),n=s(96540),r=s(46942),p=s.n(r),o=s(36519),l=s(54727),i=s(74848);const d=n.forwardRef(({active:e=!1,disabled:t=!1,className:s,style:a,activeLabel:n="(current)",children:r,linkStyle:o,linkClassName:d,as:c=l.A,...h},u)=>{const m=e||t?"span":c;return(0,i.jsx)("li",{ref:u,style:a,className:p()(s,"page-item",{active:e,disabled:t}),children:(0,i.jsxs)(m,{className:p()("page-link",d),style:o,...h,children:[r,e&&n&&(0,i.jsx)("span",{className:"visually-hidden",children:n})]})})});d.displayName="PageItem";var c=d;function h(e,t,s=e){const a=n.forwardRef(({children:e,...a},n)=>(0,i.jsxs)(d,{...a,ref:n,children:[(0,i.jsx)("span",{"aria-hidden":"true",children:e||t}),(0,i.jsx)("span",{className:"visually-hidden",children:s})]}));return a.displayName=e,a}const u=h("First","«"),m=h("Prev","â¹","Previous"),g=h("Ellipsis","â¦","More"),y=h("Next","âº"),Y=h("Last","»"),x=n.forwardRef(({bsPrefix:e,className:t,size:s,...a},n)=>{const r=(0,o.oU)(e,"pagination");return(0,i.jsx)("ul",{ref:n,...a,className:p()(t,r,s&&`${r}-${s}`)})});x.displayName="Pagination";var f=Object.assign(x,{First:u,Prev:m,Ellipsis:g,Item:c,Next:y,Last:Y}),_=s(44479),N=s(61105),b=s(17437);var A=function(e){function t(t){var s;return(s=e.call(this,t)||this).items=[],s}(0,a.A)(t,e);var s=t.prototype;return s.showFirst=function(){if(this.props.current>3&&this.props.pages>10)return!0},s.showLast=function(){if(this.props.current<this.props.pages-3&&this.props.pages>10)return!0},s.addPage=function(e,t){this.items.push((0,b.Y)(f.Item,{key:e,active:e===this.props.current,href:t},e))},s.pages=function(){for(let e=1;e<=this.props.pages;e++){let t=1==e?`${this.props.path}/`:`${this.props.path}/${e}/`;this.props.pages>10?(this.props.current<=3&&e<=6&&this.addPage(e,t),this.props.current>3&&e<=this.props.current+2&&e>=this.props.current-2&&this.props.current<this.props.pages-3&&this.addPage(e,t),this.props.current>=this.props.pages-3&&e>=this.props.pages-5&&this.addPage(e,t)):this.items.push((0,b.Y)(f.Item,{key:e,active:e===this.props.current,href:t},e))}return this.items},s.render=function(){return(0,b.Y)(n.Fragment,null,1!=this.props.pages&&(0,b.Y)(_.A,{className:"mt-5"},(0,b.Y)(N.A,{className:"Pagination"},(0,b.Y)(f,null,this.showFirst()&&(0,b.Y)(f.First,{href:`${this.props.path}/`}),this.pages(),this.showLast()&&(0,b.Y)(f.Last,{href:`${this.props.path}/${this.props.pages}/`})))))},t}(n.Component)},13698:function(e,t,s){s.r(t),s.d(t,{Head:function(){return m},default:function(){return g}});var a=s(77387),n=s(96540),r=s(24794),p=s(43048),o=s(44479),l=s(61105),i=s(61399),d=s(95081),c=s(10807),h=s(17437);const u=e=>e.charAt(0).toUpperCase()+e.slice(1),m=e=>{const t=`https://www.dashly.io${e.location.pathname}`;let s,a;if(e.location.pathname.startsWith("/updates/")){const t=e.pageContext.currentPage||1;"/updates/"===e.location.pathname||e.pageContext.currentPage?(s=`${u(e.pageContext.title)}, page ${t} â Dashly`,a="Dashly updates: learn more about the latest updates to our product"):(s=`${u(e.pageContext.title)} â Dashly updates`,a=`Learn more about ${e.pageContext.title} in Dashly updates`)}else s="Dashly",a="Dashly updates: learn more about the latest updates to our product";return(0,h.Y)(n.Fragment,null,(0,h.Y)("title",null,s),(0,h.Y)("meta",{name:"description",content:a}),(0,h.Y)("link",{rel:"canonical",href:t}))};let g=function(e){function t(){return e.apply(this,arguments)||this}return(0,a.A)(t,e),t.prototype.render=function(){return(0,h.Y)(d.A,{className:"page pmm-index post mt-5"},(0,h.Y)(p.A,null,(0,h.Y)(o.A,{className:"justify-content-lg-end d-none d-lg-flex"},(0,h.Y)(l.A,{lg:9},(0,h.Y)("h1",{className:"h2 mb-3 mb-lg-4",dangerouslySetInnerHTML:{__html:`${this.props.pageContext.title}`}}))),(0,h.Y)(o.A,{className:"d-lg-none mb-4"},(0,h.Y)(l.A,null,this.props.data.pmmJson&&(0,h.Y)(r.Link,{to:"/updates/"}," â Back")||(0,h.Y)(i.A,{className:"d-inline mx-2",autoClose:"inside"},(0,h.Y)(i.A.Toggle,{id:"dropdown-autoclose-inside"},this.props.pageContext.title),(0,h.Y)(i.A.Menu,null,(0,h.Y)(i.A.Item,{href:"/updates/"},"All"),this.props.data.allBlogCategory.nodes.map(e=>(0,h.Y)(i.A.Item,{href:`/updates/${e.slug}/`,key:e.wp_id,dangerouslySetInnerHTML:{__html:`${e.name}`}})))))),(0,h.Y)(o.A,null,(0,h.Y)(l.A,{xs:3,className:"d-none d-lg-block font14px"},(0,h.Y)("p",{className:"mb-2"},(0,h.Y)(r.Link,{to:"/updates/"},"All")),this.props.data.allBlogCategory.nodes.map(e=>(0,h.Y)("p",{key:e.wp_id,className:"mb-2"},(0,h.Y)(r.Link,{to:`/updates/${e.slug}/`,dangerouslySetInnerHTML:{__html:`${e.name}`}})))),(0,h.Y)(l.A,{cols:12,lg:9},this.props.data.pmmJson&&(0,h.Y)(n.Fragment,null,(0,h.Y)("div",{className:"post__box__categories mb-3"},this.props.data.allBlogCategory.nodes.map(e=>this.props.data.pmmJson.categories.includes(Number(e.wp_id))&&(0,h.Y)("span",{key:e.wp_id,className:"grey-text text-uppercase font14px me-1",dangerouslySetInnerHTML:{__html:e.name}}))),(0,h.Y)("div",{className:"lightgrey-text my-4",dangerouslySetInnerHTML:{__html:`${this.props.data.pmmJson.date}`}}),(0,h.Y)("div",{className:"post__text",dangerouslySetInnerHTML:{__html:`${this.props.data.pmmJson.content}`}}))||(0,h.Y)(n.Fragment,null,(0,h.Y)(o.A,null,this.props.data.allPmmPost.edges.map(e=>(0,h.Y)(l.A,{xs:12,className:"mb-5",key:e.node.wp_id},(0,h.Y)("div",{className:"postcard postcard--pmm"},(0,h.Y)("span",{className:"postcard__box box-shadow box h-100 d-block"},(0,h.Y)("div",{className:"postcard__box__categories px-3 pt-3"},this.props.data.allBlogCategory.nodes.map(t=>e.node.categories.includes(Number(t.wp_id))&&(0,h.Y)("span",{key:t.wp_id,className:"lightgrey-text text-uppercase font14px me-1",dangerouslySetInnerHTML:{__html:t.name}}))),(0,h.Y)(r.Link,{to:`/updates/${e.node.slug}
1/`,className:"h4 postcard__box__title mt-3 px-3 mb-3 d-block",dangerouslySetInnerHTML:{__html:`${e.node.title}`}}),(0,h.Y)("div",{className:"px-3 pb-3 font14px grey-text",dangerouslySetInnerHTML:{__html:`${e.node.date}`}}),(0,h.Y)("div",{className:"px-3 pb-3 postcard__text",dangerouslySetInnerHTML:{__html:`${e.node.description}`}})))))),(0,h.Y)(c.A,{pages:this.props.pageContext.numPmmPages,current:this.props.pageContext.currentPage,path:this.props.pageContext.pagePath}))))))},t}(n.Component)}}]); 2//# sourceMappingURL=component---src-templates-pmm-jsx-cc0f7dc50eb82b84316e.js.map
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.