1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3788],{49036:function(e,t,n){n.d(t,{IQ:function(){return u},QG:function(){return o},_R:function(){return a},hS:function(){return i},pq:function(){return r},uz:function(){return l},z4:function(){return c}});let r="text-xs sm:text-sm md:text-base xl:text-lg 3xl:text-2xl leading-primary",i="px-6 md:px-12 lg:px-16 xl:px-20",o="cart989",u=["Investment","Trends","Momentum","Luxury","Market Confidence","Philanthropy","Museums","Technology","Art & Finance ","Exhibitions","Fine Art","Auction Guarantees","Rate of Return","Performance","Outlook","Artists"],a={home:"/",reports:"/reports",podcasts:"/podcasts",courses:"/courses",forcaster:"/artforecaster",editorial:"/editorials",about:"/about",history:"/history",team:"/team",memberships:"/memberships","group-memberships":"/group-memberships","group-memberships-not-for-profit":"/group-memberships/not-for-profit","group-memberships-corporate":"/group-memberships/corporate","group-memberships-education":"/group-memberships/educational",contact:"/contact","terms-and-conditions":"/terms-and-conditions","privacy-policies":"/privacy-policy",faq:"/faq",login:"/login",register:"/register"},l={university:"university",private:"private"},c=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/},83788:function(e,t,n){n.d(t,{EI:function(){return A},GQ:function(){return f},Ho:function(){return b},Ku:function(){return S},Uv:function(){return v},W5:function(){return w},_A:function(){return c},aJ:function(){return a},aV:function(){return l},h8:function(){return s},k9:function(){return d},lf:function(){return y},lj:function(){return g},m8:function(){return x},oT:function(){return p},oj:function(){return o},qJ:function(){return D},xx:function(){return h},zW:function(){return u}}),n(64131);var r=n(76376),i=n(49036);let o=(e,t)=>{if(!e||!t)return null;let n=new Date(e),[r,i]=t.split(":").map(Number);return n.setHours(r,i,0,0),n};function u(e){var t;return null==e?void 0:null===(t=e.toLowerCase())||void 0===t?void 0:t.replace(/[^a-zA-Z0-9]+(.)/g,(e,t)=>t.toUpperCase())}function a(e){return e?e.replace(/([A-Z])/g," $1").replace(/^./,e=>e.toUpperCase()):""}function l(e){return r.zD("<textarea>".concat(e,"</textarea>"))("textarea").val()}function c(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[n,r]=e;if("string"==typeof r&&r.includes(",")){let e=Array.from(new Set(r.split(",")));t.append(n,e.join(","))}else t.append(n,r)}),"?".concat(t.toString())}function s(e,t){let n=e.split(","),r=n.indexOf(t);return r>-1?n.splice(r,1):n.push(t),(n=n.filter(e=>""!==e.trim())).join(",")}let p=e=>"all"===e?"":e;function f(e){let t="/api/static/data";return null==e?void 0:e.replace(/<img [^>]*src=["'](https:\/\/arttactic\.com\/wp-content\/|https:\/\/api-staging\.arttactic\.com\/|https:\/\/api-backend\.arttactic\.com\/|\/)?([^"']+)["']/g,(e,n,r)=>(null==e?void 0:e.includes(t))||(null==r?void 0:r.startsWith("http"))?e:e.replace("".concat(n||"").concat(r),"".concat(t,"/").concat(r)))}let m=e=>{let t=r.zD(e),n=t(".layout_content-body-inside");return n.length&&n.contents().each((e,n)=>{if("text"===n.type){let e=t(n).text().trim();if(e){let r=t("<p></p>").text(e);t(n).replaceWith(r)}}else if("tag"===n.type){if("br"===n.name)t(n).remove();else{let e=t(n).clone();t(n).replaceWith(e)}}}),t.html()};function d(e){var t,n,r,i,o;return null==e?void 0:null===(o=e.replace(/\n{2,}/g,"</p><p>"))||void 0===o?void 0:null===(i=o.replace(RegExp("(?<!>)\\n(?!<)","g"),"<br>"))||void 0===i?void 0:null===(r=i.replace(/ /g,"<p> </p>"))||void 0===r?void 0:null===(n=r.replace(/>\s+</g,"><"))||void 0===n?void 0:null===(t=n.replace(/\s{2,}/g," "))||void 0===t?void 0:t.trim()}function v(e){return m(e="<div class='layout_content-body-inside'>"+(e=d(e))+"</div>")}function g(e,t){let n;switch(t.toLowerCase()){case"visa":case"mastercard":default:n=16;break;case"amex":n=15}let r="*".repeat(n-4).replace(/(.{4})/g,"$1 ").trim();return"".concat(r," ").concat(e)}function h(e,t){let n=e.toString().padStart(2,"0"),r=t.toString().slice(-2);return"".concat(n,"/").concat(r)}function b(e){var t,n=e.target,r=n.value,i=e.key,o=new Date().getFullYear()-2e3,u=new Date().getFullYear()-2e3+25;
1if(/(\d|ArrowLeft|ArrowRight|Backspace|Delete|Tab)/.test(i)){if(t=/(\d)/.test(i)?"number":"specSymbol",0==r.length&&i>1&&(n.value="0"+i+"/",e.preventDefault()),1==r.length&&"0"!=r[0]&&i>2){n.value="12/",e.preventDefault();return}if(1==r.length&&"specSymbol"!=t&&(n.value=n.value+i+"/",e.preventDefault()),2==r.length&&"specSymbol"!=t){n.value=n.value+"/"+i,e.preventDefault();return}if("0"==r&&"0"==i){n.value="01/",e.preventDefault();return}if(n.value.length+1==5){var a=n.value.split("/");if(2==a[0].length&&a[1]+i<o){n.value=a[0]+"/"+o,e.preventDefault();return}if(2==a[0].length&&a[1]+i>u){n.value=a[0]+"/"+u,e.preventDefault();return}}}else{e.preventDefault();return}}function y(){return Intl.DateTimeFormat().resolvedOptions().timeZone}function x(e,t){let n=JSON.stringify(t);console.log("stringify",t),localStorage.setItem(e,n)}function w(e){return void 0!==e&&e&&null!==e||(e=0),new Intl.NumberFormat("en-GB",{style:"currency",currency:"GBP"}).format(null==e?void 0:e.toFixed(2))}function D(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=new Uint8Array(e);return window.crypto.getRandomValues(t),Array.from(t,e=>e.toString(16).padStart(2,"0")).join("")}let S=e=>e?i.z4.test(e)?e:new Date(e).toISOString():"",A=e=>{if(!e)return"";let t=new Date(e),n=6e4*t.getTimezoneOffset();return new Date(t.getTime()-n).toISOString().slice(0,16)}}}]);
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.