this.novablocks=this.novablocks||{},this.novablocks.easings=function(n){var t={};function e(r){if(t[r])return t[r].exports;var u=t[r]={i:r,l:!1,exports:{}};return n[r].call(u.exports,u,u.exports,e),u.l=!0,u.exports}return e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:r})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,t){if(1&t&&(n=e(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var u in n)e.d(r,u,function(t){return n[t]}.bind(null,u));return r},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="",e(e.s=79)}({79:function(n,t,e){"use strict";function r(n){throw new TypeError('"'+n+'" is read-only')}e.r(t),e.d(t,"linear",(function(){return l})),e.d(t,"easeInQuad",(function(){return p})),e.d(t,"easeOutQuad",(function(){return O})),e.d(t,"easeInOutQuad",(function(){return b})),e.d(t,"easeInCubic",(function(){return v})),e.d(t,"easeOutCubic",(function(){return I})),e.d(t,"easeInOutCubic",(function(){return y})),e.d(t,"easeInQuart",(function(){return h})),e.d(t,"easeOutQuart",(function(){return M})),e.d(t,"easeInOutQuart",(function(){return Q})),e.d(t,"easeInQuint",(function(){return x})),e.d(t,"easeOutQuint",(function(){return S})),e.d(t,"easeInOutQuint",(function(){return g})),e.d(t,"easeInSine",(function(){return j})),e.d(t,"easeOutSine",(function(){return k})),e.d(t,"easeInOutSine",(function(){return m})),e.d(t,"easeInExpo",(function(){return P})),e.d(t,"easeOutExpo",(function(){return _})),e.d(t,"easeInOutExpo",(function(){return w})),e.d(t,"easeInBack",(function(){return E})),e.d(t,"easeOutBack",(function(){return B})),e.d(t,"easeInOutBack",(function(){return C}));var u=Math.pow,o=Math.abs,i=Math.sin,c=Math.cos,a=Math.PI,f=function(n){return function(t){return u(t,n)}},s=function(n){return function(t){return 1-o(u(t-1,n))}},d=function(n){return function(t){return t<.5?f(n)(2*t)/2:s(n)(2*t-1)/2+.5}},l=d(1),p=f(2),O=s(2),b=d(2),v=f(3),I=s(3),y=d(3),h=f(4),M=s(4),Q=d(4),x=f(5),S=s(5),g=d(5),j=function(n){return-1*c(n*a/2)+1},k=function(n){return i(n*a/2)},m=function(n){return-.5*(c(a*n)-1)},P=function(n){return 0===n?0:u(2,10*(n-1))},_=function(n){return 1===n?1:1-u(2,-10*n)},w=function(n){return 0===n||1===n?n:(n/=.5)<1?.5*u(2,10*(n-1)):.5*(2-u(2,-10*--n))},E=function(n){var t=1.70158;return u(n,2)*((t+1)*n-t)},B=function(n){var t=1.70158;return(n-=1)*n*((t+1)*n+t)+1},C=function(n){var t=1.70158;return(n/=.5)<1?n*n*((r("s")+1)*n-t)*.5:.5*((n-=2)*n*((r("s")+1)*n+t)+2)}}});; this.novablocks=this.novablocks||{},this.novablocks.utils=function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=73)}({18:function(t,n,r){var e; /*! Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var t=[],n=0;nt.length)&&(n=t.length);for(var r=0,e=new Array(n);r1&&void 0!==arguments[1]?arguments[1]:[],e=n.closest(".nb-sidecar");if(!e)return r;var o=Array.from(e.children).filter((function(t){return t.classList.contains("nb-sidecar-area--sidebar")}));if(!o.length)return r;var i=Array.from(o[0].children).map((function(t){return{element:t,side:e.classList.contains("nb-sidecar--sidebar-left")?"left":"right"}}));return t(e.parentNode,r.concat(i))},g=function(t,n){var r=t.getBoundingClientRect(),e=n.getBoundingClientRect(),o=getComputedStyle(t),i=getComputedStyle(n),a=Math.max(parseInt(o.marginBottom),parseInt(i.marginTop)),u=Math.max(parseInt(i.marginBottom),parseInt(o.marginTop));return!(e.bottom+u<=r.top||e.top>=r.bottom+a)},p=function(t,n){var r=t.getBoundingClientRect(),e=n.getBoundingClientRect(),o=getComputedStyle(t),i=getComputedStyle(n),a=Math.max(parseInt(o.marginBottom),parseInt(i.marginTop)),u=Math.max(parseInt(i.marginBottom),parseInt(o.marginTop)),s=Math.max(parseInt(o.marginRight),parseInt(i.marginLeft)),c=Math.max(parseInt(i.marginRight),parseInt(o.marginLeft));return!(e.bottom+u<=r.top||e.top>=r.bottom+a||e.right+c<=r.left||e.left>=r.right+s)},m=function(){var t=[".is-root-container",".wp-block-query",".wp-block-post-content",".wp-site-blocks",".wp-block-template-part",".nb-content-layout-grid",".nb-sidecar",".nb-sidecar-area--content",".nb-supernova"].join(", ");return Array.from(document.querySelectorAll(t)).reduce((function(t,n){var r=Array.from(n.children).filter((function(t){return En(t,".alignfull, .alignwide, .alignleft, .alignright")}));return t.concat(r)}),[])},v=r(18),b=r.n(v);function w(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}function y(t,n){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);n&&(e=e.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),r.push.apply(r,e)}return r}var C=function(t){var n,r,e=L([],t.gridcolumns,t.gridrows,"X"),o=L([],t.gridcolumns,t.gridrows,"X"),i=L([],t.gridcolumns,t.gridrows,"X"),a=T([],t.gridcolumns,"X"),u=T([],t.gridcolumns,"X"),s=1;for(n=t.featureposition;n0){var h=1,g=1;for(n=1;n<=t.gridcolumns;n++)i[1][n]>i[1][h]&&(h=n),o[1][n]>o[1][g]&&(g=n);if(h!==t.featureposition){var p=i[1][t.featureposition],m=i[1][h];for(n=h;a[n]===a[h];)i[1][n]=p,n++;for(n=t.featureposition;a[n]===a[t.featureposition];)i[1][n]=m,n++;for(n=2;n<=t.gridrows;n++)i[n]=i[1].slice()}if(g!==t.featureposition){var v=o[1][t.featureposition],b=o[1][g];for(n=g;a[n]===a[g];)o[1][n]=v,n++;for(n=t.featureposition;a[n]===a[t.featureposition];)o[1][n]=b,n++;for(n=2;n<=t.gridrows;n++)o[n]=o[1].slice()}}var C=i[1][1],k=o[1][1];for(n=1;n<=t.gridcolumns;n++)i[1][n]>C&&(C=i[1][n]),o[1][n]>k&&(k=o[1][n]);for(k<1&&(k=1),C<1&&(C=1),n=1;n<=t.gridcolumns;n++){for(var A=n;a[A+1]===a[n];)A++;for(u[n]=Math.round((i[1][n]/C+o[1][n]/k)/2*t.gridrows),u[n]>3*(A-n+1)&&(u[n]=3*(A-n+1)),u[n]<1&&(u[n]=1),t.subfeature&&n===t.featureposition&&t.featuresize>0&&u[n]===t.gridrows&&(u[n]=Math.floor(.75*u[n])),u[n]<1?u[n]=1:u[n]>t.gridrows&&(u[n]=t.gridrows),r=n;r<=A;r++)u[r]=u[n];n=A}var R=1;if(t.featuresize>0){for(n=1;n<=u[t.featureposition];){r=t.featureposition;do{e[n][r]=R,r++}while(a[t.featureposition]===a[r]);n++}if(R++,n<=t.gridrows){for(;n<=t.gridrows;){r=t.featureposition;do{e[n][r]=R,i[n][r]=Math.round(.66*i[n][r]),o[n][r]=Math.round(.66*o[n][r]),r++}while(a[t.featureposition]===a[r]);n++}R++}}for(var O,j=1;j<=t.gridcolumns;)if("X"===e[1][j])for(O=1;O<=t.gridrows;){for(n=O;n<=O+u[j]-1&&n<=t.gridrows;){r=j;do{e[n][r]=R,r++}while(a[j]===a[r]);n++}R++,O=n}else j++;var E=R,I=t.hierarchycrossing;for(R=1;I>0&&R<=E;){var z=G(R,e,i,o);if(!1!==z){if(z.endGridColumn===t.gridcolumns)break;var B=G(e[z.startGridRow][z.endGridColumn+1],e,i,o),F=G(e[z.endGridRow][z.endGridColumn+1],e,i,o);if(B.startGridRow===z.startGridRow&&F.endGridRow===z.endGridRow){var N=E/B.nth*(B.area+B.imageWeight+B.metaDetails);if(F.nth!==B.nth){var D=1;for(n=B.nth+1;n<=F.nth;n++){var H=G(n,e,i,o);!1!==H&&(D++,N+=E/H.nth*(H.area+H.imageWeight+H.metaDetails*D)*D)}}if(IN){for(n=B.startGridRow;n<=F.endGridRow;n++)for(r=B.startGridColumn;r<=B.endGridColumn;r++)e[n][r]=R,o[n][r]=z.imageWeight,i[n][r]=z.metaDetails;I-=N,E=_(e)}R++}}else R++}else R++}var q=function(t,n,r,e){var o=P(n,r,e);S(n,r,e,o,t);var i=(o=(o=function(t,n){var r=function(t){for(var n,r=[],e=1;e0}))}(t,t.flipcolsrows?U(e):e,t.flipcolsrows?U(i):i,t.flipcolsrows?U(o):o);return x(q),q},x=function(t){var n=t.filter((function(t){return 1===t.row})).sort((function(t,n){return n.width-t.width})),r=t.findIndex((function(t){return t===n[0]}));return t.splice(0,0,t.splice(r,1)[0]),t};function M(t,n,r){for(var e=1;e-1&&(i[d].postsCount+=1,i[d].height=c)):w=!1;for(w=!y;w&&!a.flipcolsrows;)v=r[t][n+s],h=(b=R(v,r)).row,g=b.col,p=O(v,r),c===(m=j(v,r))&&t===h&&Math.abs(l-p)<=1&&Math.abs(e[t][n]-e[t][g])<=1&&Math.abs(o[t][n]-o[t][g])<=1?(s+=p,y=!0,d>-1&&(i[d].postsCount+=1,i[d].width=s)):w=!1;A(r,t,n,s,c)}},A=function(t,n,r,e,o){for(var i=n;ir)for(var o=n.startGridRow;o<=n.endGridRow;o++)for(var i=n.startGridColumn;i<=n.endGridColumn;i++)t[o][i]=r;r++}return r-1},E=function(t){for(var n=0,r=1;rn&&(n=t[r][e]);return n},P=function(t,n,r){for(var e,o=[],i=1;i<=E(t);i++)(e=G(i,t,n,r))&&o.push({nth:e.nth,col:e.startGridColumn,row:e.startGridRow,width:e.endGridColumn-e.startGridColumn+1,height:e.endGridRow-e.startGridRow+1,metaDetails:e.metaDetails,imageWeight:e.imageWeight,postsCount:1});return o},G=function(t,n){for(var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],e=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=!1,i=1;i2&&void 0!==arguments[2]?arguments[2]:"X";t.push("/");for(var e=1;e<=n;e++)t.push(r);return t.push("/"),t},L=function(t,n,r,e){t.push(T([],n,"/"));for(var o=0;o1.33;return i/e>=.5?u||n.subfeature&&2===o:u},H=function(t,n){var r=$(n),e=r.gridcolumns,o=r.gridrows,i=t.width,a=t.height;return b()([q(t),W(i/e),X(a/o),V(t,n)])},q=function(t){var n=t.nth;return b()(["nb-grid__area","nb-grid__area--nth-".concat(n)])},V=function(t,n){return b()([{"nb-grid__area--portrait":!D(t,n),"nb-grid__area--landscape":D(t,n)}])},W=function(t){return b()([{"nb-grid__area--width-xs":t<.3,"nb-grid__area--width-s":.3<=t&&t<.5,"nb-grid__area--width-m":.5<=t&&t<.66,"nb-grid__area--width-l":.66<=t&&t<.8,"nb-grid__area--width-xl":.8<=t&&t<.95,"nb-grid__area--width-full":.95<=t}])},X=function(t){return b()([{"nb-grid__area--height-xs":t<.34,"nb-grid__area--height-s":.34<=t&&t<.5,"nb-grid__area--height-m":.5<=t&&t<.66,"nb-grid__area--height-l":.66<=t&&t<.8,"nb-grid__area--height-xl":.8<=t}])},$=function(t){return{gridcolumns:t.flipcolsrows?t.gridrows:t.gridcolumns,gridrows:t.flipcolsrows?t.gridcolumns:t.gridrows}},U=function(t){return Object.keys(t[0]).map((function(n){return t.map((function(t){return t[n]}))}))},K=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,e=t.width,o=t.height,i=$(n),a=i.gridcolumns,u=i.gridrows;return b()([q(t),W(r*e/a),X(o/u),V(t,n)])},Y=function(t){var n=t.map((function(t,n){return{area:t,index:n}}));n.sort((function(t,n){return t.area.width-n.area.width}));var r=n[0].index;1===n[0].area.nth&&(r=n[n.length].index),t.splice(r,1)},J=function(t,n){Z(t),Q(t,n),tt(t),t.forEach((function(t){t.areas.forEach((function(n){n.col=t.col,n.width=t.width}))}))},Z=function(t){t.forEach((function(n){for(var r=0,e=!0;e;){t.filter((function(t){return t!==n})).some((function(t){return!(n.col+n.width-1t.row+t.height-1||n.col-(r+1)>t.col+t.width-1)}))||n.col-r<=1?e=!1:r++}n.col=n.col-r}))},Q=function(t,n){var r=n.gridcolumns;t.forEach((function(n){for(var e=0,o=!0;o;){t.filter((function(t){return t!==n})).some((function(t){return!(n.col+n.width+et.row+t.height-1||n.col>t.col+t.width-1)}))||n.col+n.width+e-1>=r?o=!1:e++}n.width=n.width+e}))},tt=function(t){t.forEach((function(n){for(var r=0,e=!0;e;){t.filter((function(t){return t!==n})).some((function(t){return!(n.col+n.width-1t.row+t.height-1||n.col>t.col+t.width-1)}))||n.row-r<=1?e=!1:r++}n.row=n.row-r}))},nt=function(t,n){var r,e=t.palette,o=t.paletteVariation,i=t.useSourceColorAsReference,a=t.colorSignal,u=null==n||null===(r=n.novaBlocks)||void 0===r?void 0:r.colorSignal,s=[];return(!0===n||!0===u||null!=u&&u.paletteClassname)&&(s.push("sm-palette-".concat(e)),i&&s.push("sm-palette--shifted")),(!0===n||!0===u||null!=u&&u.paletteVariationClassname)&&s.push("sm-variation-".concat(o)),(!0===n||!0===u||null!=u&&u.colorSignalClassname)&&s.push("sm-color-signal-".concat(a)),s.join(" ")},rt=function(t,n){var r=Object.assign({},t,{colorSignal:t.contentColorSignal,paletteVariation:t.contentPaletteVariation,useSourceColorAsReference:!1});return nt(r,n)},et=function(t){var n;return((null===(n=window.styleManager)||void 0===n?void 0:n.colorsConfig)||[]).find((function(n){return"".concat(n.id)==="".concat(t)}))},ot=function(t){var n=et(t),r=null==n?void 0:n.colors.slice();if(!n||null==n||!n.variations)return it();for(var e=n.variations.slice(),o=Math.min(r.length,4),i=[],a=r.length/o,u=0;u-1&&n.classList.remove(t)})),t.classList.forEach((function(t){t.indexOf("sm-")>-1&&n.classList.add(t)})))},ut=function(t,n){var r=null;return function(){var e=this,o=arguments,i=function(){t.apply(e,o)};clearTimeout(r),r=setTimeout(i,n)}},st={grad:.9,turn:360,rad:360/(2*Math.PI)},ct=function(t){return"string"==typeof t?t.length>0:"number"==typeof t},lt=function(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=Math.pow(10,n)),Math.round(r*t)/r+0},ft=function(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=1),t>r?r:t>n?t:n},dt=function(t){return(t=isFinite(t)?t%360:0)>0?t:t+360},ht=function(t){return{r:ft(t.r,0,255),g:ft(t.g,0,255),b:ft(t.b,0,255),a:ft(t.a)}},gt=function(t){return{r:lt(t.r),g:lt(t.g),b:lt(t.b),a:lt(t.a,3)}},pt=/^#([0-9a-f]{3,8})$/i,mt=function(t){var n=t.toString(16);return n.length<2?"0"+n:n},vt=function(t){var n=t.r,r=t.g,e=t.b,o=t.a,i=Math.max(n,r,e),a=i-Math.min(n,r,e),u=a?i===n?(r-e)/a:i===r?2+(e-n)/a:4+(n-r)/a:0;return{h:60*(u<0?u+6:u),s:i?a/i*100:0,v:i/255*100,a:o}},bt=function(t){var n=t.h,r=t.s,e=t.v,o=t.a;n=n/360*6,r/=100,e/=100;var i=Math.floor(n),a=e*(1-r),u=e*(1-(n-i)*r),s=e*(1-(1-n+i)*r),c=i%6;return{r:255*[e,u,a,a,s,e][c],g:255*[s,e,e,u,a,a][c],b:255*[a,a,s,e,e,u][c],a:o}},wt=function(t){return{h:dt(t.h),s:ft(t.s,0,100),l:ft(t.l,0,100),a:ft(t.a)}},yt=function(t){return{h:lt(t.h),s:lt(t.s),l:lt(t.l),a:lt(t.a,3)}},Ct=function(t){return bt((r=(n=t).s,{h:n.h,s:(r*=((e=n.l)<50?e:100-e)/100)>0?2*r/(e+r)*100:0,v:e+r,a:n.a}));var n,r,e},xt=function(t){return{h:(n=vt(t)).h,s:(o=(200-(r=n.s))*(e=n.v)/100)>0&&o<200?r*e/100/(o<=100?o:200-o)*100:0,l:o/2,a:n.a};var n,r,e,o},Mt=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,St=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,kt=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,At=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Rt={string:[[function(t){var n=pt.exec(t);return n?(t=n[1]).length<=4?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:4===t.length?lt(parseInt(t[3]+t[3],16)/255,2):1}:6===t.length||8===t.length?{r:parseInt(t.substr(0,2),16),g:parseInt(t.substr(2,2),16),b:parseInt(t.substr(4,2),16),a:8===t.length?lt(parseInt(t.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(t){var n=kt.exec(t)||At.exec(t);return n?n[2]!==n[4]||n[4]!==n[6]?null:ht({r:Number(n[1])/(n[2]?100/255:1),g:Number(n[3])/(n[4]?100/255:1),b:Number(n[5])/(n[6]?100/255:1),a:void 0===n[7]?1:Number(n[7])/(n[8]?100:1)}):null},"rgb"],[function(t){var n=Mt.exec(t)||St.exec(t);if(!n)return null;var r,e,o=wt({h:(r=n[1],e=n[2],void 0===e&&(e="deg"),Number(r)*(st[e]||1)),s:Number(n[3]),l:Number(n[4]),a:void 0===n[5]?1:Number(n[5])/(n[6]?100:1)});return Ct(o)},"hsl"]],object:[[function(t){var n=t.r,r=t.g,e=t.b,o=t.a,i=void 0===o?1:o;return ct(n)&&ct(r)&&ct(e)?ht({r:Number(n),g:Number(r),b:Number(e),a:Number(i)}):null},"rgb"],[function(t){var n=t.h,r=t.s,e=t.l,o=t.a,i=void 0===o?1:o;if(!ct(n)||!ct(r)||!ct(e))return null;var a=wt({h:Number(n),s:Number(r),l:Number(e),a:Number(i)});return Ct(a)},"hsl"],[function(t){var n=t.h,r=t.s,e=t.v,o=t.a,i=void 0===o?1:o;if(!ct(n)||!ct(r)||!ct(e))return null;var a=function(t){return{h:dt(t.h),s:ft(t.s,0,100),v:ft(t.v,0,100),a:ft(t.a)}}({h:Number(n),s:Number(r),v:Number(e),a:Number(i)});return bt(a)},"hsv"]]},Ot=function(t,n){for(var r=0;r=.5},t.prototype.toHex=function(){return n=(t=gt(this.rgba)).r,r=t.g,e=t.b,i=(o=t.a)<1?mt(lt(255*o)):"","#"+mt(n)+mt(r)+mt(e)+i;var t,n,r,e,o,i},t.prototype.toRgb=function(){return gt(this.rgba)},t.prototype.toRgbString=function(){return n=(t=gt(this.rgba)).r,r=t.g,e=t.b,(o=t.a)<1?"rgba("+n+", "+r+", "+e+", "+o+")":"rgb("+n+", "+r+", "+e+")";var t,n,r,e,o},t.prototype.toHsl=function(){return yt(xt(this.rgba))},t.prototype.toHslString=function(){return n=(t=yt(xt(this.rgba))).h,r=t.s,e=t.l,(o=t.a)<1?"hsla("+n+", "+r+"%, "+e+"%, "+o+")":"hsl("+n+", "+r+"%, "+e+"%)";var t,n,r,e,o},t.prototype.toHsv=function(){return t=vt(this.rgba),{h:lt(t.h),s:lt(t.s),v:lt(t.v),a:lt(t.a,3)};var t},t.prototype.invert=function(){return Tt({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},t.prototype.saturate=function(t){return void 0===t&&(t=.1),Tt(_t(this.rgba,t))},t.prototype.desaturate=function(t){return void 0===t&&(t=.1),Tt(_t(this.rgba,-t))},t.prototype.grayscale=function(){return Tt(_t(this.rgba,-1))},t.prototype.lighten=function(t){return void 0===t&&(t=.1),Tt(Pt(this.rgba,t))},t.prototype.darken=function(t){return void 0===t&&(t=.1),Tt(Pt(this.rgba,-t))},t.prototype.rotate=function(t){return void 0===t&&(t=15),this.hue(this.hue()+t)},t.prototype.alpha=function(t){return"number"==typeof t?Tt({r:(n=this.rgba).r,g:n.g,b:n.b,a:t}):lt(this.rgba.a,3);var n},t.prototype.hue=function(t){var n=xt(this.rgba);return"number"==typeof t?Tt({h:t,s:n.s,l:n.l,a:n.a}):lt(n.h)},t.prototype.isEqual=function(t){return this.toHex()===Tt(t).toHex()},t}(),Tt=function(t){return t instanceof Gt?t:new Gt(t)},Lt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n={r:[],g:[],b:[],a:[]};return t.forEach((function(t){var r=Tt(t).toRgb();n.r.push(r.r/255),n.g.push(r.g/255),n.b.push(r.b/255),n.a.push(r.a)})),n},It=function(t,n){var r=Lt(t);return'\n \n \n \n \n \n \n \n \n \n \n \n \n ')},zt={x:[0,.5,1],y:[0,.5,1]},Bt=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:zt,r=parseFloat(t.x),e=parseFloat(t.y),o=.05;return n.x.forEach((function(t){t-o0;else if("msMaxTouchPoints"in navigator)t=navigator.msMaxTouchPoints>0;else{var n=window.matchMedia&&matchMedia("(pointer:coarse)");if(n&&"(pointer:coarse)"===n.media)t=!!n.matches;else if("orientation"in window)t=!0;else{var r=navigator.userAgent;t=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(r)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(r)}}return t},Dt=function(){var t=!1;return function(n){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(n)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(n.substr(0,4)))&&(t=!0)}(navigator.userAgent||navigator.vendor||window.opera),t},Ht=function(t){var n,r,e,o,i,a;return{type:null==t?void 0:t.type,width:(null==t||null===(n=t.sizes)||void 0===n||null===(r=n.novablocks_large)||void 0===r?void 0:r.width)||(null==t?void 0:t.width),height:(null==t||null===(e=t.sizes)||void 0===e||null===(o=e.novablocks_large)||void 0===o?void 0:o.height)||t.height,url:(null==t||null===(i=t.sizes)||void 0===i||null===(a=i.novablocks_large)||void 0===a?void 0:a.url)||(null==t?void 0:t.url),alt:(null==t?void 0:t.alt)||""}};var qt=new function t(){var n=this;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),this.breakpoints={mobile:"480px",tablet:"768px",lap:"1024px",desktop:"1440px"},this.above={},this.below={},Object.keys(this.breakpoints).forEach((function(t){var r=n.breakpoints[t],e=window.matchMedia("(min-width: ".concat(r,")")),o=function(r){n.above[t]=r.matches,n.below[t]=!r.matches};o(e),e.addEventListener("change",o)}))},Vt=function(t){return qt.below[t]},Wt=function(t){return qt.above[t]},Xt=function(t){return{"--nb-overlay-filter-strength":t.overlayFilterStrength/100}},$t=function(t,n){var r=Math.max(0,Math.random()-Number.MIN_VALUE);return Math.floor(r*(n-t+1)+t)},Ut=function(t,n){var r=new Array(n),e=t.length,o=new Array(e);if(!e)return[];for(;n--;){var i=Math.floor(Math.random()*e);r[n]=t[i in o?o[i]:i],o[i]=--e in o?o[e]:e}return r},Kt=function(t){return Ut(t,1)[0]},Yt=function(){return Ut([!0,!1],1)[0]},Jt=r(34),Zt=function(t,n,r){var e=arguments.length>3&&void 0!==arguments[3]?arguments[3]:2e3,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Jt.linear,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:function(){},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:function(){},u=0,s=Math.max(.1,Math.min(Math.abs(n-r)/e,.8));function c(){var e=(u+=1/60)/s,i=o(e);e<1?(t.scrollTo(0,n+(r-n)*i),window.requestAnimationFrame(c)):(t.scrollTo(0,r),"function"==typeof a&&a())}"function"==typeof i&&i(),c()},Qt=function(t){var n=t.blockTopSpacing,r=t.blockBottomSpacing,e=t.emphasisTopSpacing,o=t.emphasisBottomSpacing,i=t.verticalAlignment,a=t.contentAreaWidth,u=t.contentPadding,s=t.mediaContainerHeight,c=t.imagePadding,l=t.imageResizing,f=t.layoutGutter,d=t.minHeightFallback,h=t.thumbnailAspectRatio,g=t.spacingModifier,p=t.spacingMultiplierOverride;return{"--nb-emphasis-top-spacing":("top"===i?Math.abs(e):e)+"","--nb-emphasis-bottom-spacing":("bottom"===i?Math.abs(o):o)+"","--nb-block-top-spacing":n+"","--nb-block-bottom-spacing":r+"","--nb-block-zindex":Math.max(0,-1*(n+r)),"--nb-card-content-area-width":"".concat(a,"%"),"--nb-card-media-container-height":s,"--nb-card-content-padding-multiplier":u/100,"--nb-card-media-padding-top":un(h),"--nb-card-media-object-fit":"cropped"===l?"cover":"scale-down","--nb-card-media-padding-multiplier":c/100,"--nb-card-layout-gap-modifier":f/100,"--nb-min-height-fallback":d,"--nb-minimum-container-height":d+"vh","--nb-spacing-modifier":g+"","--nb-spacing-multiplier-override":p+""}},tn=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),nn=function(t,n){var r=[];return function t(e){var o=e.parentNode;o instanceof HTMLElement&&(o.matches(n)&&r.push(o),t(o))}(t),r},rn=function(t){for(var n,r,e=t.length;0!==e;)r=Math.floor(Math.random()*e),n=t[e-=1],t[e]=t[r],t[r]=n;return t},en=function(t,n){var r=on(t,n);return an(r)},on=function(t,n){var r=!1,e=n(t);return Object.keys(e).some((function(n){return e[n]!==t[n]}))&&(r=!0),r},an=function(t){var n=["novablocks-controls-wrap"];return t&&n.push("novablocks-controls-wrap--dirty"),n.join(" ")},un=function(t){var n=t/50-1;n<0&&(n*=2);var r=1,e=1;return(n=Math.min(Math.max(-3,n),1))>0&&(r=1+n),n<0&&(e=1+Math.abs(n)),"".concat(100*r/e,"%")},sn=function(t){for(var n=t.toLowerCase().split(" "),r=0;r=0,i=n.left<=e&&n.left+n.width>=0;return o&&i},ln=function(t){return"string"!=typeof t?"":t.charAt(0).toUpperCase()+t.slice(1)},fn=function(t){var n=t.contentPosition;if("string"!=typeof n)return"";var r=n.split(" "),e=r[0],o=r[1];return"novablocks-u-valign-".concat(e," novablocks-u-halign-").concat(o)},dn=function(t){var n=t.level;return{level:n,collectionTitleLevel:n,cardTitleLevel:n+1}},hn=function(t){var n=t.thumbnailAspectRatio,r=t.thumbnailAspectRatioString;return"auto"===r?{}:(n<50&&(r="landscape"),{thumbnailAspectRatio:n,thumbnailAspectRatioString:r})},gn=function(t){var n=t/50-1,r=1,e=1;return(n=Math.min(Math.max(-1,n),1))>0&&(r=1+n),n<0&&(e=1+Math.abs(n)),100*r/e},pn=function(t){if("string"!=typeof t)return["center","center"];var n=t.split(/\b\s+/);return[n[0],n[1]||"center"]},mn=function(t){"loading"!=document.readyState?t():document.addEventListener("DOMContentLoaded",t)},vn=function(t,n){var r,e=n.split(/\s+/).filter((function(t){return t.trim().length}));e.length&&(r=t.classList).add.apply(r,o(e))},bn=function(t,n){var r,e=n.split(/\s+/).filter((function(t){return t.trim().length}));e.length&&(r=t.classList).remove.apply(r,o(e))},wn=function(t,n){return t.classList.contains(n)},yn=function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},Cn=function(t,n,r){void 0===r?wn(t,n)?bn(t,n):vn(t,n):r?vn(t,n):bn(t,n)},xn=function(t){for(var n=t.firstChild;null!=n&&3===n.nodeType;)n=n.nextSibling;return n};function Mn(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=function(){Object.keys(n).forEach((function(r){t.style[r]=n[r]}))},e=function(){Object.keys(n).forEach((function(n){t.style[n]=""}))};r(),window.requestIdleCallback?window.requestIdleCallback(e):setTimeout(e,0)}var Sn=function(t,n,r){return Math.min(Math.max(n,t),r)},kn=function(t){return"_"===(t.id+"").charAt(0)},An=document.body.classList.contains("block-editor-page"),Rn=document.body.classList.contains("wp-customizer"),On=function(t){return jn(t)?null!=t&&t.preview?t:Object.assign({},t,{layoutStyle:"classic",columns:1,cardLayout:"horizontal",cardMediaOpacity:100}):Object.assign({},t,{preview:!1})},jn=function(t){return["parametric","carousel","masonry"].includes(t.layoutStyle)&&"auto"!==t.contentType},_n=function(t){var n=window.pageYOffset,r=-1,e=!1;window.addEventListener("scroll",(function(){n=window.pageYOffset,e=!1})),window.addEventListener("resize",(function(){e=!1}));requestAnimationFrame((function o(){e||(t(n,r),r=n,e=!0),requestAnimationFrame(o)}))},En=function(t,n){return(t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||t.oMatchesSelector).call(t,n)},Pn=function(t){var n=t.parentElement,r=t.offsetWidth,e=.9*n.offsetWidth/r,o=t.offsetHeight,i=.9*n.offsetHeight/o,a=Math.min(e,i),u=window.getComputedStyle(t,null).getPropertyValue("font-size"),s=parseFloat(u)*a;t.style.fontSize="".concat(s,"px")},Gn=function(t){var n={};return Object.keys(t.dataset).forEach((function(r){try{n[r]=JSON.parse(t.dataset[r])}catch(e){n[r]=t.dataset[r]}})),n},Tn=function(t,n){for(var r in n)0===r.indexOf("--")?t.style.setProperty(r,n[r]):t.style[r]=n[r]},Ln=function(t){t&&t.parentNode&&t.parentNode.removeChild(t)}}});;