1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8491],{197:()=>{},1087:(t,e,r)=>{"use strict";r.d(e,{Ap:()=>h,KV:()=>w,TV:()=>d,Ue:()=>p,VG:()=>f,fw:()=>m});var n=r(3909),a=r(3402);let l="/cdn-cgi/image/",i=function(){let t=new Set;try{let e=new URL(a.jx.baseUrl).hostname;t.add(e),t.add("www.".concat(e));let r=new URL(a.jx.apiUrl).hostname;r!==e&&t.add(r)}catch(t){}return t}();function o(t){try{return new URL(t)}catch(t){return null}}function c(){return(0,n.ER)().replace(/\/+$/,"")}function s(t){let e=t.replace(/^\/+/,"").replace(/^(?:api\/r2-preview\/|api\/|r2-preview\/)/,"");return e.startsWith("uploads/")?e:null}function u(t){var e;let r=null!=(e=s(t))?e:t.startsWith("uploads/")?t:null;return r?"".concat(c(),"/").concat(r):t}function p(t){let e=c();if(!t.startsWith("".concat(e,"/"))||t.includes(l))return!1;let r=t.slice(e.length).split("?")[0].toLowerCase();return!(!r.startsWith("/uploads/")||r.endsWith(".svg")||r.endsWith(".gif"))}function d(t){return!(!(null==t?void 0:t.width)||!a.jx.imageResizingEnabled||(0,n.dG)())}function m(t,e){var r,n,a,i;let s=c(),u=(t.startsWith(s)?t.slice(s.length):null!=(n=null==(r=o(t))?void 0:r.pathname)?n:"").replace(/^\//,"").split("?")[0],p=null!=(a=e.quality)?a:85,d=null!=(i=e.format)?i:"auto",m="width=".concat(e.width,",format=").concat(d,",quality=").concat(p);return"".concat(s).concat(l).concat(m,"/").concat(u)}function h(t){if(!t)return"";let e=c(),r=t.trim();if(r.startsWith("".concat(e,"/"))||r===e)return r.split("?")[0];let n=s(r);if(n)return"".concat(e,"/").concat(n);if(r.startsWith("/uploads/"))return"".concat(e).concat(r);let a=o(r);if(a){var l;let t=null==(l=o(e))?void 0:l.hostname;if(t&&a.hostname===t)return r.split("?")[0];if(i.has(a.hostname)){let t=s(a.pathname);if(t)return"".concat(e,"/").concat(t)}let n=s(a.pathname);if(n)return"".concat(e,"/").concat(n)}return u(r).split("?")[0]}function w(t){if(!t||!t.includes(l))return t;let e=c(),r="".concat(l),n=t.indexOf(r);if(-1===n)return t;let a=t.slice(n+r.length),i=a.indexOf("/");if(-1===i)return t;let o=a.slice(i+1).split("?")[0];return"".concat(e,"/").concat(o)}let f=(t,e)=>{let r=h(t);return r?d(e)&&p(r)&&(null==e?void 0:e.width)?m(r,{width:e.width,quality:e.quality,format:e.format}):r:u(t)}},1793:(t,e,r)=>{"use strict";r.d(e,{y:()=>a});var n=r(3402);function a(t){var e,r,a;if(!n.jx.includeCategoryInSlug)return"/".concat(t.slug);let l=null!=(a=null==(r=t.categories)||null==(e=r[0])?void 0:e.slug)?a:"uncategorized";return"/".concat(l,"/").concat(t.slug)}},1866:()=>{},2381:(t,e,r)=>{"use strict";r.d(e,{NC:()=>u,r7:()=>d});var n=r(5810),a=r.n(n),l=r(6567),i=r(1087),o=r(876),c=r(3909),s=r(3402);r(2819),r(1793);function u(t){var e;return(null==(e=t.featured_image_alt)?void 0:e.trim())||t.title}let p=["www.youtube.com","youtube.com","www.youtube-nocookie.com","youtube-nocookie.com","platform.twitter.com"];function d(t,e){let r=(0,l.tM)(t||""),n=(0,l.L)(r,new URL(s.jx.baseUrl).hostname,{sponsored:null==e?void 0:e.sponsored});return function(t){if(!t)return t;let e=(0,c.ER)().replace(/\/+$/,""),r=new URL(s.jx.baseUrl).origin,n=new URL(s.jx.apiUrl).origin,a="".concat(r,"/api/r2-preview"),l=t;for(let t of[a,"".concat(n,"/r2-preview"),a.replace("https://","http://")])l=l.split("".concat(t,"/")).join("".concat(e,"/"));let u="".concat(s.jx.baseUrl.replace(/\/+$/,""),"/wp-content/uploads"),p="".concat(e,"/uploads/wp");l=l.split(u).join(p);let d="".concat(s.jx.baseUrl.replace(/\/+$/,""),"/images/"),m="".concat(e,"/uploads/wp/v2/");return function(t){let{document:e}=(0,o.BW)("<!DOCTYPE html><html><body>".concat(t,"</body></html>")),r=e.querySelectorAll("img");if(0===r.length)return t;let n=[];for(let t of Array.from(r)){let e=t.getAttribute("src");if(!e){n.push(t.outerHTML);continue}let r=(0,i.Ap)(e);(0,i.Ue)(r)&&(t.classList.add("article-enlargeable-image"),t.setAttribute("data-full-src",r)),Array.from(t.attributes).some(t=>"loading"===t.name.toLowerCase())||t.setAttribute("loading","lazy"),Array.from(t.attributes).some(t=>"decoding"===t.name.toLowerCase())||t.setAttribute("decoding","async"),(0,i.Ue)(r)&&(0,i.TV)({width:1200})&&t.setAttribute("src",(0,i.fw)(r,{width:1200})),n.push(t.outerHTML)}let a=0;return t.replace(/<img[^>]*>/gi,()=>n[a++])}(l=(l=(l=l.split(d).join(m)).replace(RegExp("(?<=[\"'(])images\\/","g"),"".concat(e,"/uploads/wp/v2/").replace(/\/+$/,"")+"/")).replace(/(^|[\r\n>\s])images\//g,"$1".concat(e,"/uploads/wp/v2/")))}(a()(n,{allowedTags:a().defaults.allowedTags.concat(["img","figure","figcaption","iframe"]),allowedAttributes:{...a().defaults.allowedAttributes,a:["href","name","target","rel"],img:["src","alt","title","width","height","loading","decoding","data-media-id","data-caption","data-link","data-size","data-alignment","class"],iframe:["src","width","height","title","allow","allowfullscreen","frameborder","scrolling","class","style"],div:["class","style","data-step-number","data-step-title","data-step-description"],p:["class","style"],span:["class","style"],h1:["class"],h2:["class"],h3:["class"],h4:["class"],h5:["class"],h6:["class"],ul:["class"],ol:["class"],li:["class"],figure:["class"],figcaption:["class"]},allowedSchemes:["http","https","mailto"],allowedSchemesByTag:{img:["http","https","data"],iframe:["http","https"]},allowedIframeHostnames:[...p],allowIframeRelativeUrls:!1,allowProtocolRelative:!1}))}},2819:(t,e,r)=>{"use strict";r.d(e,{C$:()=>a});let n={nbsp:" ",amp:"&",lt:"<",gt:">",quot:'"',apos:"'",hellip:"â¦",mdash:"â",ndash:"â",rsquo:"â",lsquo:"â",rdquo:"â",ldquo:"â",copy:"\xa9",reg:"\xae",trade:"â¢",euro:"â¬",pound:"\xa3",yen:"\xa5",cent:"\xa2"};function a(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:280,r=(t.excerpt||t.content||"").trim();return r?function(t){let e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:280,a=(t||"").replace(/<br\s*\/?>/gi," ").replace(/<\/p>/gi," ").replace(/<[^>]*>/g," ").replace(/\s+/g," ").trim().replace(/&#(\d+);/g,(t,e)=>{let r=Number(e);return Number.isFinite(r)?String.fromCodePoint(r):""}).replace(/&#x([0-9a-f]+);/gi,(t,e)=>{let r=parseInt(e,16);return Number.isFinite(r)?String.fromCodePoint(r):""}).replace(/&([a-z]+);/gi,(t,e)=>{var r;return null!=(r=n[e.toLowerCase()])?r:t}).replace(/ \b/gi," ").replace(/\u00A0/g," ");return a?a.length<=r?a:"".concat(a.slice(0,r).trimEnd(),"â¦"):""}(r,e):""}},3909:(t,e,r)=>{"use strict";r.d(e,{ER:()=>s,Ib:()=>c,LD:()=>d,X4:()=>p,dG:()=>o,pM:()=>u});var n=r(3402);
1r(8310);let a={apiUrl:"http://localhost:9898",cdnUrl:"http://localhost:9898/r2-preview",priceApiUrl:"http://localhost:4110",priceWsUrl:"ws://localhost:4110/wss"};function l(t){if(!t)return!1;let e=t.replace(/^\[([^\]]+)\].*$/,"$1").toLowerCase(),r=e.split(":")[0];return"localhost"===r||"127.0.0.1"===r||"::1"===e}function i(t){return t.replace(/\/+$/,"")}function o(t){return l(window.location.hostname)}function c(){return l(window.location.hostname)?a.apiUrl:"".concat(i(window.location.origin),"/api")}function s(t){return o(t)?a.cdnUrl:i(n.$h.IMAGE_SERVE_URL)}function u(){return o()?a.priceApiUrl:(n.$h.PRICE_API_URL||"").trim()}function p(){return o()?a.priceWsUrl:(n.$h.PRICE_WS_URL||"").trim()}function d(){try{return new URL(i(n.$h.BASE_URL)).hostname}catch(t){return"example.com"}}},6567:(t,e,r)=>{"use strict";r.d(e,{KO:()=>n,KV:()=>d,L:()=>w,NZ:()=>u,_1:()=>c,tM:()=>h,ul:()=>s,yt:()=>p});let n=620,a=/status(?:es)?\/(\d+)/i,l=/^https?:\/\/(?:www\.)?(?:twitter|x)\.com\/(?:[\w.]+\/)*status(?:es)?\/(\d+)(?:[/?#].*)?$/i,i=/(^|[\r\n\s>])(https?:\/\/(?:www\.)?(?:twitter|x)\.com\/(?:[\w.]+\/)*status(?:es)?\/(\d+)(?:[^\s<]*)?)(?=[\r\n\s<]|$)/gi,o=/(^|[\r\n\s>])(https?:\/\/(?:www\.)?(?:youtube\.com\/(?:watch\?(?:[^>\s]*&)?v=|embed\/|v\/)|youtu\.be\/)([a-zA-Z0-9_-]{11})(?:[^\s<]*)?)(?=[\r\n\s<]|$)/gi;function c(t){let e=t.trim();if(!e)return null;let r=e.match(l);if(null==r?void 0:r[1])return r[1];let n=e.match(a);return(null==n?void 0:n[1])&&/(?:twitter|x)\.com/i.test(e)&&/status(?:es)?\//i.test(e)?n[1]:null}function s(t){return null!==c(t.trim())}function u(t){let e=(t||"").trim();if(!e)return null;try{let t=new URL(e);if("platform.twitter.com"!==t.hostname||!/Tweet\.html/i.test(t.pathname))return null;let r=t.searchParams.get("id");return r&&/^\d+$/.test(r)?r:null}catch(t){var r,n;if(!/:\/\/[^/]*platform\.twitter\.com(?:\/|$)/i.test(e)||!/Tweet\.html/i.test(e))return null;return null!=(n=null==(r=e.match(/[?&]id=(\d+)/))?void 0:r[1])?n:null}}function p(t){var e,r;let n=(t||"").trim();if(!n)return null;try{let t=new URL(n).hostname.replace(/^www\./,"");if(!/^(?:youtube\.com|youtube-nocookie\.com|youtu\.be)$/i.test(t))return null}catch(t){return null}return null!=(r=null==(e=n.match(/(?:youtube(?:-nocookie)?\.com\/embed\/|youtu\.be\/)([a-zA-Z0-9_-]{11})/i))?void 0:e[1])?r:null}function d(t){return t?'<div class="embed-wrapper twitter-embed-wrapper">\n<iframe class="embed-iframe twitter-embed-iframe" src="https://platform.twitter.com/embed/Tweet.html?id='.concat(encodeURIComponent(t),'&dnt=true" title="X post" width="550" height="').concat(n,'" frameborder="0" scrolling="no" allowfullscreen="true"></iframe>\n</div>'):""}function m(t){return'<div class="embed-wrapper youtube-embed-wrapper" style="margin:1.5rem 0;text-align:center;">\n<div class="youtube-embed-container" style="position:relative;width:100%;max-width:720px;margin:0 auto;aspect-ratio:16/9;">\n<iframe src="https://www.youtube.com/embed/'.concat(t,'" title="YouTube video" width="720" height="405" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" style="position:absolute;inset:0;width:100%;height:100%;border:none;border-radius:8px;"></iframe>\n</div>\n</div>')}function h(t){if(!t)return t;let e=t;
1return(e=(e=(e=(e=(e=(e=e.replace(/<a\b([^>]*?)\bhref=(["'])(https?:\/\/(?:www\.)?(?:twitter|x)\.com\/[^"']*?status(?:es)?\/(\d+)[^"']*)\2([^>]*)>([\s\S]*?)<\/a>/gi,(t,e,r,n,a,l,i)=>{let o=i.replace(/<[^>]+>/g,"").trim(),s=c(n);return s&&s===a&&(!o||c(o)===s||/status(?:es)?\/\d+/i.test(o))?d(s):t})).replace(/<p\b[^>]*>\s*(?:<span\b[^>]*>)?\s*(https?:\/\/(?:www\.)?(?:twitter|x)\.com\/[^<\s]+)\s*(?:<\/span>)?\s*<\/p>/gi,(t,e)=>{let r=c(e);return r?d(r):t})).replace(/<p\b[^>]*>\s*(?:<span\b[^>]*>)?\s*(https?:\/\/(?:www\.)?(?:youtube\.com\/[^\s<]+|youtu\.be\/[^\s<]+))\s*(?:<\/span>)?\s*<\/p>/gi,(t,e)=>{var r;let n=null==(r=e.match(/(?:v=|embed\/|v\/|youtu\.be\/)([a-zA-Z0-9_-]{11})/i))?void 0:r[1];return n?m(n):t})).replace(/<blockquote[^>]*class=(["'])[^"']*twitter-tweet[^"']*\1[^>]*>[\s\S]*?status(?:es)?\/(\d+)[\s\S]*?<\/blockquote>/gi,(t,e,r)=>d(r))).replace(i,(t,e,r,n)=>n?"".concat(e).concat(d(n)):t)).replace(o,(t,e,r,n)=>n?"".concat(e).concat(m(n)):t)).replace(/<iframe[\s\S]*?<\/iframe>/gi,(t,e,r)=>{let n=r.slice(Math.max(0,e-300),e);return/class="[^"]*(?:embed-wrapper|twitter-embed-wrapper|youtube-embed-wrapper|youtube-embed-container)[^"]*"[^>]*>\s*$/i.test(n)?t:'<div class="embed-wrapper">'.concat(t,"</div>")})}function w(t,e,r){let n=(null==r?void 0:r.sponsored)?"nofollow noopener noreferrer sponsored":"nofollow noopener noreferrer";return t.replace(/<a\b([^>]*?)>/gi,(t,r)=>{let a=r.match(/\bhref=(["'])(.*?)\1/i);if(!a)return t;let l=a[2];if(!/^https?:\/\//i.test(l)||function(t,e){try{let r=new URL(t,"https://".concat(e));return r.hostname===e||r.hostname.endsWith("."+e)}catch(e){return t.startsWith("/")||t.startsWith("#")}}(l,e))return t;if(/\brel=(["'])/i.test(r)){let t=r.replace(/\brel=(["'])(.*?)\1/i,(t,e,r)=>"rel=".concat(e).concat([...new Set("".concat(r||""," ").concat(n).trim().split(/\s+/).filter(Boolean))].join(" ")).concat(e));return"<a".concat(t,">")}return"<a".concat(r,' rel="').concat(n,'">')})}},9746:()=>{},9977:()=>{}}]);
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.