(("undefined"!=typeof self?self:this).webpackJsonp__wix_communities_blog_ooi=("undefined"!=typeof self?self:this).webpackJsonp__wix_communities_blog_ooi||[]).push([[4647],{54009:function(t){t.exports=function(t){var e={};function r(o){if(e[o])return e[o].exports;var n=e[o]={i:o,l:!1,exports:{}};return t[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=t,r.c=e,r.d=function(t,e,o){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},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,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)r.d(o,n,function(e){return t[e]}.bind(null,n));return o},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=15)}([function(t,e,r){"use strict";var o={JPG:"jpg",JPEG:"jpeg",PNG:"png",WEBP:"webp",WIX_ICO_MP:"wix_ico_mp",WIX_MP:"wix_mp",GIF:"gif",SVG:"svg",UNRECOGNIZED:"unrecognized"},n=[o.JPG,o.JPEG,o.PNG,o.GIF,o.WEBP];t.exports={alignTypes:{CENTER:"center",TOP:"top",TOP_LEFT:"top_left",TOP_RIGHT:"top_right",BOTTOM:"bottom",BOTTOM_LEFT:"bottom_left",BOTTOM_RIGHT:"bottom_right",LEFT:"left",RIGHT:"right"},alignTypesMap:{center:"c",top:"t",top_left:"tl",top_right:"tr",bottom:"b",bottom_left:"bl",bottom_right:"br",left:"l",right:"r"},transformTypes:{FIT:"fit",FILL:"fill",FILL_FOCAL:"fill_focal",CROP:"crop",LEGACY_CROP:"legacy_crop",LEGACY_FILL:"legacy_fill"},fittingTypes:{SCALE_TO_FILL:"fill",SCALE_TO_FIT:"fit",STRETCH:"stretch",ORIGINAL_SIZE:"original_size",TILE:"tile",TILE_HORIZONTAL:"tile_horizontal",TILE_VERTICAL:"tile_vertical",FIT_AND_TILE:"fit_and_tile",LEGACY_STRIP_TILE:"legacy_strip_tile",LEGACY_STRIP_TILE_HORIZONTAL:"legacy_strip_tile_horizontal",LEGACY_STRIP_TILE_VERTICAL:"legacy_strip_tile_vertical",LEGACY_STRIP_SCALE_TO_FILL:"legacy_strip_fill",LEGACY_STRIP_SCALE_TO_FIT:"legacy_strip_fit",LEGACY_STRIP_FIT_AND_TILE:"legacy_strip_fit_and_tile",LEGACY_STRIP_ORIGINAL_SIZE:"legacy_strip_original_size",LEGACY_ORIGINAL_SIZE:"actual_size",LEGACY_FIT_WIDTH:"fitWidth",LEGACY_FIT_HEIGHT:"fitHeight",LEGACY_FULL:"full",LEGACY_BG_FIT_AND_TILE:"legacy_tile",LEGACY_BG_FIT_AND_TILE_HORIZONTAL:"legacy_tile_horizontal",LEGACY_BG_FIT_AND_TILE_VERTICAL:"legacy_tile_vertical",LEGACY_BG_NORMAL:"legacy_normal"},htmlTag:{BG:"bg",IMG:"img",SVG:"svg"},upscaleMethods:{AUTO:"auto",CLASSIC:"classic",SUPER:"super"},upscaleMethodsValues:{classic:1,super:2},defaultUSM:{radius:.66,amount:1,threshold:.01},emptyData:{uri:"",css:{img:{},container:{}},attr:{img:{},container:{}}},imageQuality:{HIGH:"HIGH",MEDIUM:"MEDIUM",LOW:"LOW",TINY:"TINY"},imageFilters:{CONTRAST:"contrast",BRIGHTNESS:"brightness",SATURATION:"saturation",HUE:"hue",BLUR:"blur"},imageScaleDefaults:{HIGH:{size:196e4,quality:90,maxUpscale:1},MEDIUM:{size:36e4,quality:85,maxUpscale:1},LOW:{size:16e4,quality:80,maxUpscale:1.2},TINY:{size:0,quality:80,maxUpscale:1.4}},fileType:o,supportedExtensions:n,webp:{LOSSLESS:"lossless",LOSSY:"lossy",ALPHA:"alpha",ANIMATION:"animation"},SAFE_TRANSFORMED_AREA:25e6,SUPER_UPSCALE_MODELS:[1.5,2,4],MAX_DEVICE_PIXEL_RATIO:2,API_VERSION:"v1"}},function(t,e,r){"use strict";var o=r(2),n=r(0),s=r(4);function i(t){var e=new window.Image;e.onload=function(){var r=s.getFeature("isWEBP");r[t]=e.width>0&&e.height>0,s.setFeature("isWEBP",r)},e.src="data:image/webp;base64,"+{lossy:"UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA",lossless:"UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA==",alpha:"UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAARBxAR/Q9ERP8DAABWUDggGAAAABQBAJ0BKgEAAQAAAP4AAA3AAP7mtQAAAA==",animation:"UklGRlIAAABXRUJQVlA4WAoAAAASAAAAAAAAAAAAQU5JTQYAAAD/////AABBTk1GJgAAAAAAAAAAAAAAAAAAAGQAAABWUDhMDQAAAC8AAAAQBxAREYiI/gcA"}[t]}function a(t){var e=[n.fileType.PNG,n.fileType.JPEG,n.fileType.JPG,n.fileType.WIX_ICO_MP,n.fileType.WIX_MP];return o.includes(e,u(t))}function l(t){return o.includes(["webp"],u(t))}function c(t){return/(^https?)|(^data)|(^\/\/)/.test(t)}function u(t){return(/[.]([^.]+)$/.exec(t)&&/[.]([^.]+)$/.exec(t)[1]||"").toLowerCase()}function d(t,e,r,o,s){return s===n.transformTypes.FILL?function(t,e,r,o){return Math.max(r/t,o/e)}(t,e,r,o):s===n.transformTypes.FIT?function(t,e,r,o){return Math.min(r/t,o/e)}(t,e,r,o):1}function p(t,e){var r=f(t,e);return{optimizedScaleFactor:n.imageScaleDefaults[r].maxUpscale,upscaleMethodValue:n.upscaleMethodsValues.classic,forceUSM:!1}}function h(t,e){var r=f(t,e);return{optimizedScaleFactor:n.imageScaleDefaults[r].maxUpscale,upscaleMethodValue:n.upscaleMethodsValues.classic,forceUSM:!1}}function m(t,e,r){return{optimizedScaleFactor:o.last(n.SUPER_UPSCALE_MODELS),upscaleMethodValue:n.upscaleMethodsValues.super,forceUSM:!(n.SUPER_UPSCALE_MODELS.includes(r)||r>o.last(n.SUPER_UPSCALE_MODELS))}}function f(t,e){var r=t*e;return r>n.imageScaleDefaults[n.imageQuality.HIGH].size?n.imageQuality.HIGH:r>n.imageScaleDefaults[n.imageQuality.MEDIUM].size?n.imageQuality.MEDIUM:r>n.imageScaleDefaults[n.imageQuality.LOW].size?n.imageQuality.LOW:n.imageQuality.TINY}function g(t,e){var r=Math.pow(10,e||0);return(t*r/r).toFixed(parseInt(e,10))}t.exports={populateGlobalFeatureSupport:function(){"undefined"!=typeof window&&(i(n.webp.LOSSY),i(n.webp.LOSSLESS),i(n.webp.ALPHA),i(n.webp.ANIMATION),s.setFeature("isObjectFitBrowser","objectFit"in window.document.documentElement.style))},isWEBPBrowserSupport:function(t){var e=s.getFeature("isWEBP"),r=t===n.fileType.JPG&&e[n.webp.LOSSY],o=t===n.fileType.PNG&&e[n.webp.LOSSLESS],i=t===n.fileType.PNG&&e[n.webp.ALPHA];return r||o&&i},isObjectFitBrowserSupport:function(){return s.getFeature("isObjectFitBrowser")},isImageTransformApplicable:function(t){return a(t)&&!c(t)},isValidRequest:function(t,e,r){return r&&e&&!(!(s=e.id)||!s.trim()||"none"===s.toLowerCase())&&o.includes(n.fittingTypes,t);var s},isImageTypeSupported:a,isExternalUrl:c,isWEBP:l,getFileType:function(t){return function(t){return o.includes(["jpg","jpeg"],u(t))}(t)?n.fileType.JPG:function(t){return o.includes(["png"],u(t))}(t)?n.fileType.PNG:l(t)?n.fileType.WEBP:n.fileType.UNRECOGNIZED},getFileExtension:u,getFileName:function(t,e){var r=/\.([^.]*)$/;if("string"==typeof e&&e.length){var s=["/","\\","?","<",">","|","\u201c",":",'"'].map(encodeURIComponent),i=new RegExp("("+s.concat(["\\.","\\*"]).join("|")+")","g"),a=e,l=e.match(r);return l&&o.includes(n.supportedExtensions,l[1])&&(a=e.replace(r,"")),encodeURIComponent(a).replace(i,"_")}var c=t.match(/\/(.*?)$/);return(c?c[1]:t).replace(r,"")},getAlignedRect:function(t,e,r){var o=void 0,s=void 0;switch(r){case n.alignTypes.CENTER:o=Math.max(0,(t.width-e.width)/2),s=Math.max(0,(t.height-e.height)/2);break;case n.alignTypes.TOP:o=Math.max(0,(t.width-e.width)/2),s=0;break;case n.alignTypes.TOP_LEFT:o=0,s=0;break;case n.alignTypes.TOP_RIGHT:o=Math.max(0,t.width-e.width),s=0;break;case n.alignTypes.BOTTOM:o=Math.max(0,(t.width-e.width)/2),s=Math.max(0,t.height-e.height);break;case n.alignTypes.BOTTOM_LEFT:o=0,s=Math.max(0,t.height-e.height);break;case n.alignTypes.BOTTOM_RIGHT:o=Math.max(0,t.width-e.width),s=Math.max(0,t.height-e.height);break;case n.alignTypes.LEFT:o=0,s=Math.max(0,(t.height-e.height)/2);break;case n.alignTypes.RIGHT:o=Math.max(0,t.width-e.width),s=Math.max(0,(t.height-e.height)/2)}return{x:t.x?t.x+o:o,y:t.y?t.y+s:s,width:Math.min(t.width,e.width),height:Math.min(t.height,e.height)}},getOverlappingRect:function(t,e){var r=Math.max(0,Math.min(t.width,e.x+e.width)-Math.max(0,e.x)),o=Math.max(0,Math.min(t.height,e.y+e.height)-Math.max(0,e.y));return r&&o&&(t.width!==r||t.height!==o)?{x:Math.max(0,e.x),y:Math.max(0,e.y),width:r,height:o}:null},getScaleFactor:d,getTransformData:function(t,e,r,o,s){t=t||r.width,e=e||r.height;var i=function(t){return Math.min(t.pixelAspectRatio||1,n.MAX_DEVICE_PIXEL_RATIO)}(r),a=function(t,e,r,o,s){var i=void 0,a=void 0,l=void 0;if(i=d(t,e,r,o,s),s===n.transformTypes.FILL?(a=r,l=o):s===n.transformTypes.FIT&&(a=t*i,l=e*i),a*l>n.SAFE_TRANSFORMED_AREA){var c=Math.sqrt(n.SAFE_TRANSFORMED_AREA/(a*l));i=d(t,e,a*=c,l*=c,s)}return{scaleFactor:i,width:a,height:l}}(t,e,r.width*i,r.height*i,o),l=a.scaleFactor;return function(t,e,r,o,s,i,a){var l=function(t,e,r,o){return{classic:p,auto:h,super:m}[o](t,e,r)}(t,e,i,s),c=l.optimizedScaleFactor,u=l.upscaleMethodValue,d=l.forceUSM;if(i<=c)return{width:r,height:o,scaleFactor:i,upscaleMethodValue:u,forceUSM:d,cssUpscaleNeeded:!1};var f=void 0,g=void 0;switch(a){case n.transformTypes.FILL:f=r*(c/i),g=o*(c/i);break;case n.transformTypes.FIT:f=t*c,g=e*c}return{width:f,height:g,scaleFactor:c,upscaleMethodValue:u,forceUSM:d,cssUpscaleNeeded:!0}}(t,e,a.width,a.height,s,l,o)},getAlignment:function(t){return n.alignTypesMap[t.alignment]||n.alignTypesMap[n.alignTypes.CENTER]},getPreferredImageQuality:function(t,e){return n.imageScaleDefaults[f(t,e)].quality},getDimension:function(t,e,r,o,n){var s=d(t,e,r,o,n);return{width:Math.round(t*s),height:Math.round(e*s)}},getFocalPoint:function(t){var e=null;return"number"!=typeof t.x||isNaN(t.x)||"number"!=typeof t.y||isNaN(t.y)||(e={x:g(Math.max(0,Math.min(100,t.x))/100,2),y:g(Math.max(0,Math.min(100,t.y))/100,2)}),e},getUpscaleString:function(t){return t&&t.upscaleMethod&&"string"==typeof t.upscaleMethod&&n.upscaleMethods[t.upscaleMethod.toUpperCase()]||n.upscaleMethods.AUTO},roundToFixed:g}},function(t,e,r){"use strict";var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};t.exports={assign:function(){for(var t=arguments[0]||{},e=Array.prototype.slice.call(arguments,1,arguments.length),r=0;r-1:!(!t||"object"!==(void 0===t?"undefined":o(t)))&&Object.keys(t).some((function(r){return t[r]===e}))},last:function(t){return t[t.length-1]},template:function(t){return function(e){var r=t;for(var o in e)e.hasOwnProperty(o)&&(r=r.replace(new RegExp("\\${"+o+"}","g"),e[o]));return r}}}},function(t,e,r){"use strict";var o=r(1),n=r(5),s=r(6);t.exports=function(t,e,r,i){var a=o.getFileType(e.id),l={fileName:o.getFileName(e.id,e.name),fileExtension:o.getFileExtension(e.id),fileType:a,isWEBPSupport:o.isWEBPBrowserSupport(a),fittingType:t,src:{id:e.id,width:e.width,height:e.height,isCropped:!1},focalPoint:{x:e.focalPoint&&e.focalPoint.x,y:e.focalPoint&&e.focalPoint.y},parts:[],quality:0,upscaleMethod:o.getUpscaleString(i),progressive:!0,watermark:"",unsharpMask:{},filters:{}};return o.isImageTransformApplicable(e.id)&&(n.setTransformParts(l,e,r),s.setTransformOptions(l,i)),l}},function(t,e,r){"use strict";var o={isWEBP:{lossless:!1,lossy:!1,alpha:!1,animation:!1},isObjectFitBrowser:!0};t.exports={getFeature:function(t){return o[t]},setFeature:function(t,e){o[t]=e}}},function(t,e,r){"use strict";var o=r(2),n=r(0),s=r(1);function i(t,e){var r=s.getTransformData(t.src.width,t.src.height,e,n.transformTypes.FIT,t.upscaleMethod);return{transformType:n.transformTypes.FILL,width:Math.round(r.width),height:Math.round(r.height),alignment:n.alignTypesMap.center,upscale:r.scaleFactor>1,forceUSM:r.forceUSM,scaleFactor:r.scaleFactor,cssUpscaleNeeded:r.cssUpscaleNeeded,upscaleMethodValue:r.upscaleMethodValue}}function a(t){return{transformType:n.transformTypes.CROP,x:Math.round(t.x),y:Math.round(t.y),width:Math.round(t.width),height:Math.round(t.height),upscale:!1,forceUSM:!1,scaleFactor:1,cssUpscaleNeeded:!1}}t.exports={setTransformParts:function(t,e,r){var l=void 0;switch(e.crop&&(l=s.getOverlappingRect(e,e.crop))&&(t.src.width=l.width,t.src.height=l.height,t.src.cropped=!0,t.parts.push(a(l))),t.fittingType){case n.fittingTypes.SCALE_TO_FIT:case n.fittingTypes.LEGACY_FIT_WIDTH:case n.fittingTypes.LEGACY_FIT_HEIGHT:case n.fittingTypes.LEGACY_FULL:case n.fittingTypes.FIT_AND_TILE:case n.fittingTypes.LEGACY_BG_FIT_AND_TILE:case n.fittingTypes.LEGACY_BG_FIT_AND_TILE_HORIZONTAL:case n.fittingTypes.LEGACY_BG_FIT_AND_TILE_VERTICAL:case n.fittingTypes.LEGACY_BG_NORMAL:t.parts.push(i(t,r));break;case n.fittingTypes.SCALE_TO_FILL:t.parts.push(function(t,e){var r=s.getTransformData(t.src.width,t.src.height,e,n.transformTypes.FILL,t.upscaleMethod),o=s.getFocalPoint(t.focalPoint);return{transformType:o?n.transformTypes.FILL_FOCAL:n.transformTypes.FILL,width:Math.round(r.width),height:Math.round(r.height),alignment:s.getAlignment(e),focalPointX:o&&o.x,focalPointY:o&&o.y,upscale:r.scaleFactor>1,forceUSM:r.forceUSM,scaleFactor:r.scaleFactor,cssUpscaleNeeded:r.cssUpscaleNeeded,upscaleMethodValue:r.upscaleMethodValue}}(t,r));break;case n.fittingTypes.STRETCH:t.parts.push(function(t,e){var r=s.getScaleFactor(t.src.width,t.src.height,e.width,e.height,n.transformTypes.FILL),a=o.assign({},e);return a.width=t.src.width*r,a.height=t.src.height*r,i(t,a)}(t,r));break;case n.fittingTypes.TILE_HORIZONTAL:case n.fittingTypes.TILE_VERTICAL:case n.fittingTypes.TILE:case n.fittingTypes.LEGACY_ORIGINAL_SIZE:case n.fittingTypes.ORIGINAL_SIZE:l=s.getAlignedRect(t.src,r,r.alignment),t.src.isCropped?(o.assign(t.parts[0],l),t.src.width=l.width,t.src.height=l.height):t.parts.push(a(l));break;case n.fittingTypes.LEGACY_STRIP_TILE_HORIZONTAL:case n.fittingTypes.LEGACY_STRIP_TILE_VERTICAL:case n.fittingTypes.LEGACY_STRIP_TILE:case n.fittingTypes.LEGACY_STRIP_ORIGINAL_SIZE:t.parts.push(function(t){return{transformType:n.transformTypes.LEGACY_CROP,width:Math.round(t.width),height:Math.round(t.height),alignment:s.getAlignment(t),upscale:!1,forceUSM:!1,scaleFactor:1,cssUpscaleNeeded:!1}}(r));break;case n.fittingTypes.LEGACY_STRIP_SCALE_TO_FIT:case n.fittingTypes.LEGACY_STRIP_FIT_AND_TILE:t.parts.push(function(t){return{transformType:n.transformTypes.FIT,width:Math.round(t.width),height:Math.round(t.height),upscale:!1,forceUSM:!0,scaleFactor:1,cssUpscaleNeeded:!1}}(r));break;case n.fittingTypes.LEGACY_STRIP_SCALE_TO_FILL:t.parts.push(function(t){return{transformType:n.transformTypes.LEGACY_FILL,width:Math.round(t.width),height:Math.round(t.height),alignment:s.getAlignment(t),upscale:!1,forceUSM:!0,scaleFactor:1,cssUpscaleNeeded:!1}}(r))}}}},function(t,e,r){"use strict";var o=r(2),n=r(0),s=r(1);function i(t,e,r){return!isNaN(t)&&"number"==typeof t&&0!==t&&t>=e&&t<=r}t.exports={setTransformOptions:function(t,e){e=e||{},t.quality=function(t,e){var r=o.last(t.parts),n=s.getPreferredImageQuality(r.width,r.height),i=e.quality&&e.quality>=5&&e.quality<=90?e.quality:n;return parseInt(i,10)}(t,e),t.progressive=function(t){return!1!==t.progressive}(e),t.watermark=function(t){return t.watermark}(e),t.unsharpMask=function(t,e){var r=void 0;return function(t){t=t||{};var e=!isNaN(t.radius)&&"number"==typeof t.radius&&t.radius>=.1&&t.radius<=500,r=!isNaN(t.amount)&&"number"==typeof t.amount&&t.amount>=0&&t.amount<=10,o=!isNaN(t.threshold)&&"number"==typeof t.threshold&&t.threshold>=0&&t.threshold<=255;return e&&r&&o}(e.unsharpMask)?r={radius:e.unsharpMask.radius,amount:e.unsharpMask.amount,threshold:e.unsharpMask.threshold}:function(t){return t=t||{},!isNaN(t.radius)&&"number"==typeof t.radius&&0===t.radius&&!isNaN(t.amount)&&"number"==typeof t.amount&&0===t.amount&&!isNaN(t.threshold)&&"number"==typeof t.threshold&&0===t.threshold}(e.unsharpMask)||function(t){var e=o.last(t.parts);return!(e.scaleFactor>=1)||e.forceUSM}(t)&&(r=n.defaultUSM),r&&(r.radius=s.roundToFixed(r.radius,2),r.amount=s.roundToFixed(r.amount,2),r.threshold=s.roundToFixed(r.threshold,2)),r}(t,e),t.filters=function(t){var e=t.filters||{},r={};return i(e[n.imageFilters.CONTRAST],-100,100)&&(r[n.imageFilters.CONTRAST]=e[n.imageFilters.CONTRAST]),i(e[n.imageFilters.BRIGHTNESS],-100,100)&&(r[n.imageFilters.BRIGHTNESS]=e[n.imageFilters.BRIGHTNESS]),i(e[n.imageFilters.SATURATION],-100,100)&&(r[n.imageFilters.SATURATION]=e[n.imageFilters.SATURATION]),i(e[n.imageFilters.HUE],-180,180)&&(r[n.imageFilters.HUE]=e[n.imageFilters.HUE]),i(e[n.imageFilters.BLUR],0,100)&&(r[n.imageFilters.BLUR]=e[n.imageFilters.BLUR]),r}(e)}}},function(t,e,r){"use strict";var o=r(0),n=r(1),s=r(8),i=r(3);t.exports=function(t,e,r,a,l){var c=o.emptyData.uri;return n.isImageTransformApplicable(e.id)?(l=l||i(t,e,r,a,l),c=s.getImageURI(l)):c=e.id,c}},function(t,e,r){"use strict";var o,n=r(2),s=r(0),i=n.template("fit/w_${width},h_${height}"),a=n.template("fill/w_${width},h_${height},al_${alignment}"),l=n.template("fill/w_${width},h_${height},fp_${focalPointX}_${focalPointY}"),c=n.template("crop/x_${x},y_${y},w_${width},h_${height}"),u=n.template("crop/w_${width},h_${height},al_${alignment}"),d=n.template("fill/w_${width},h_${height},al_${alignment}"),p=n.template(",lg_${upscaleMethodValue}"),h=n.template(",q_${quality}"),m=n.template(",usm_${radius}_${amount}_${threshold}"),f=n.template(",bl"),g=n.template(",wm_${watermark}"),A=((o={})[s.imageFilters.CONTRAST]=n.template(",con_${contrast}"),o[s.imageFilters.BRIGHTNESS]=n.template(",br_${brightness}"),o[s.imageFilters.SATURATION]=n.template(",sat_${saturation}"),o[s.imageFilters.HUE]=n.template(",hue_${hue}"),o[s.imageFilters.BLUR]=n.template(",blur_${blur}"),o);t.exports={getImageURI:function(t){var e=[];t.parts.forEach((function(t){switch(t.transformType){case s.transformTypes.CROP:e.push(c(t));break;case s.transformTypes.LEGACY_CROP:e.push(u(t));break;case s.transformTypes.LEGACY_FILL:var r=d(t);t.upscale&&(r+=p(t)),e.push(r);break;case s.transformTypes.FIT:var o=i(t);t.upscale&&(o+=p(t)),e.push(o);break;case s.transformTypes.FILL:var n=a(t);t.upscale&&(n+=p(t)),e.push(n);break;case s.transformTypes.FILL_FOCAL:var h=l(t);t.upscale&&(h+=p(t)),e.push(h)}}));var r=e.join("/");return(t.fileType===s.fileType.PNG&&t.isWEBPSupport||t.fileType===s.fileType.JPG)&&(r+=h(t)),t.unsharpMask&&(r+=m(t.unsharpMask)),t.progressive||(r+=f(t)),t.watermark&&(r+=g(t)),t.filters&&(r+=Object.keys(t.filters).map((function(e){return A[e](t.filters)})).join("")),t.src.id+"/"+s.API_VERSION+"/"+r+"/"+t.fileName+"."+(t.isWEBPSupport?"webp":t.fileExtension)}}},,,,,,,function(t,e,r){"use strict";var o=r(16),n=r(0);o.populateGlobalFeatureSupport();var s="https://static.wixstatic.com/",i="https://static.wixstatic.com/media/",a=/^media\//i,l="undefined"!=typeof window?window.devicePixelRatio:1;function c(t){return a.test(t)?""+s+t:""+i+t}t.exports={getScaleToFitImageURL:function(t,e,r,s,i,a){return c(o.getData(n.fittingTypes.SCALE_TO_FIT,{id:t,width:e,height:r,name:a&&a.name},{width:s,height:i,htmlTag:o.htmlTag.IMG,alignment:o.alignTypes.CENTER,pixelAspectRatio:l},a).uri)},getScaleToFillImageURL:function(t,e,r,s,i,a){return c(o.getData(n.fittingTypes.SCALE_TO_FILL,{id:t,width:e,height:r,name:a&&a.name,focalPoint:{x:a&&a.focalPoint&&a.focalPoint.x,y:a&&a.focalPoint&&a.focalPoint.y}},{width:s,height:i,htmlTag:o.htmlTag.IMG,alignment:o.alignTypes.CENTER,pixelAspectRatio:l},a).uri)},getCropImageURL:function(t,e,r,s,i,a,u,d,p,h){return c(o.getData(n.fittingTypes.SCALE_TO_FILL,{id:t,width:e,height:r,name:h&&h.name,crop:{x:s,y:i,width:a,height:u}},{width:d,height:p,htmlTag:o.htmlTag.IMG,alignment:o.alignTypes.CENTER,pixelAspectRatio:l},h).uri)}}},function(t,e,r){"use strict";var o=r(0),n=r(1),s=r(7);t.exports={populateGlobalFeatureSupport:n.populateGlobalFeatureSupport,getData:function(t,e,r,i){var a=o.emptyData.uri;return n.isValidRequest(t,e,r)&&(a=s(t,e,r,i)),{uri:a}},fittingTypes:o.fittingTypes,alignTypes:o.alignTypes,htmlTag:o.htmlTag,upscaleMethods:o.upscaleMethods}}])},12997:(t,e,r)=>{"use strict";r.d(e,{C:()=>s,f:()=>i});var o=r(60751);const n=o.createContext({}),s=({children:t,helpers:e})=>o.createElement(n.Provider,{value:e},t),i=()=>o.useContext(n)},55912:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const o="#00000000"},11886:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n,i:()=>o});const o=.8,n=t=>{let e="";return("string"==typeof t&&t.match(/^\d+(\.\d+)?$/)||"number"==typeof t)&&(e="em"),`max(${o}em, ${t}${e})`}},79873:(t,e,r)=>{"use strict";r.d(e,{L:()=>o});const o=t=>{console.error(t),"undefined"!=typeof window&&window.__RICOS_LOG_INVARIANT__&&window.__RICOS_LOG_INVARIANT__(t)}},98651:(t,e,r)=>{"use strict";r.d(e,{S8:()=>h,jt:()=>m,l3:()=>p,mx:()=>f,x5:()=>d});var o=r(55530),n=r(16252);if(/^(326|564)7$/.test(r.j))var s=r(80723);if(/^(326|564)7$/.test(r.j))var i=r(65054);var a=r(75119),l=r(40079);if(/^(326|564)7$/.test(r.j))var c=r(6539);const u={...l.A,...a.A},d=t=>o(u.pluginContainer,t&&u.pluginContainerMobile),p=(t,e)=>{const r=t.attrs?.containerData;return o((a=r?.alignment,a&&a!==s.n8.UNRECOGNIZED?u[`align${n.upperFirst(a.toLowerCase())}`]:""),(i=r?.width?.size,i&&i!==s.Np.UNRECOGNIZED?u[`size${n.upperFirst(n.camelCase(i))}`]:""),!1===(e&&r?.textWrap)?u.textWrapNowrap:"");var i,a},h=t=>o(u.isFocusable,t&&u.hasFocus,!t&&u.hideTextSelection),m=(t,e)=>{const r=t.attrs?.containerData,o=((t,e)=>{if(t.type.name===i.A.IMAGE){const r=t.attrs;return!!(e&&r?.image?.width&&Number(r?.containerData?.width?.custom||0)>150)}return!1})(t,e),n=!o&&r?.width?.custom,s=("ORIGINAL"===r?.width?.size||o)&&(t=>{switch(t.type.name){case i.A.IMAGE:return t.attrs?.image?.width;case i.A.GIF:return t.attrs?.width;case i.A.SHAPE:return c.ZR;default:return}})(t);return n||s},f=t=>{const e=`${n.camelCase(t.type)}Data`;return t?.[e]?.containerData}},35576:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var o=r(91338);const n={DIVIDER:o.AS.DIVIDER,TOC:o.AS.TOC,IMAGE:o.AS.IMAGE,CAPTION:o.AS.CAPTION,GALLERY:o.AS.GALLERY,FILE:o.AS.FILE,GIF:o.AS.GIF,VIDEO:o.AS.VIDEO,AUDIO:o.AS.AUDIO,LINK_PREVIEW:o.AS.LINK_PREVIEW,EMBED:o.AS.EMBED,POLL:o.AS.POLL,APP_EMBED:o.AS.APP_EMBED,COLLAPSIBLE_LIST:o.AS.COLLAPSIBLE_LIST,COLLAPSIBLE_ITEM:o.AS.COLLAPSIBLE_ITEM,COLLAPSIBLE_ITEM_TITLE:o.AS.COLLAPSIBLE_ITEM_TITLE,COLLAPSIBLE_ITEM_BODY:o.AS.COLLAPSIBLE_ITEM_BODY,HTML:o.AS.HTML,CODE_BLOCK:o.AS.CODE_BLOCK,TABLE:o.AS.TABLE,TABLE_ROW:o.AS.TABLE_ROW,TABLE_CELL:o.AS.TABLE_CELL,FIGURE:"FIGURE",LINK_BUTTON:"LINK_BUTTON",ACTION_BUTTON:"ACTION_BUTTON",TABLE_HEADER_CELL:"TABLE_HEADER_CELL",PARAGRAPH:o.AS.PARAGRAPH,HEADING:o.AS.HEADING,BULLETED_LIST:o.AS.BULLETED_LIST,ORDERED_LIST:o.AS.ORDERED_LIST,LIST_ITEM:o.AS.LIST_ITEM,BLOCKQUOTE:o.AS.BLOCKQUOTE,LAYOUT:o.AS.LAYOUT,LAYOUT_CELL:o.AS.LAYOUT_CELL,SMART_BLOCK:o.AS.SMART_BLOCK,SMART_BLOCK_CELL:o.AS.SMART_BLOCK_CELL,CARD:o.AS.CARD,SHAPE:o.AS.SHAPE,text:"text",hardbreak:"hardbreak"}},89882:(t,e,r)=>{"use strict";r.d(e,{q:()=>a,E:()=>l});var o=r(60751),n=r(18297);class s extends Error{constructor(t){super(),this.response={status:t.status,requestId:"requestIdMock",...t.response}}}const i=o.createContext(null),a=({children:t,wixClient:e,instance:a})=>{const l=(0,n.ao)(),{getWixClientPromise:c}=((t,e)=>{const n=o.useMemo((()=>e?()=>Promise.resolve(e):void 0),[e]),s=o.useMemo((()=>{let e;return()=>e||(e=r.e(4).then(r.bind(r,74907)).then((e=>e.createClient({auth:{getAuthHeaders:()=>({headers:{Authorization:t}})}}))),e)}),[t]);return o.useMemo((()=>({getWixClientPromise:n??s})),[n,s])})(a??"",e);o.useEffect((()=>{e||a||console.warn("Ricos: neither wixClient nor instance was provided. Requests will not be authenticated.")}),[e,a]);const u=o.useMemo((()=>{return{getWixClientPromise:c,makeRequest:(t=async(t,e)=>(await c()).fetchWithAuth(t,e),e=()=>l,(...r)=>{const o=e();switch(o.type){case"BROKEN":{const{status:t,delay:e,response:r}=o;return new Promise(((o,n)=>setTimeout((()=>n(new s({status:t,response:r}))),1e3*e)))}case"DELAYED":{const{delay:e}=o;return Promise.all([t(...r),new Promise((t=>setTimeout(t,1e3*e)))]).then((([t])=>t))}default:return t(...r)}})};var t,e}),[c,l]);return o.createElement(i.Provider,{value:u},t)},l=()=>{const t=o.useContext(i);if(!t)throw new Error("useRequestService must be used within a RequestServiceProvider");return t}},92836:(t,e,r)=>{"use strict";r.d(e,{M2:()=>u,ql:()=>d});var o=r(60751),n=r(18297),s=r(79873),i=r(87237),a=r(90175),l=r(89882);const c=(0,i.q6)({}),u=({children:t,instance:e})=>{const{getWixClientPromise:r}=(0,l.E)(),[i,u]=o.useState((()=>({...e?(0,a.L)(e):{},getWixClientPromise:r}))),d=o.useContext(n.vC);return o.useEffect((()=>{if(d.decodedInstance)return void u((t=>({...t,...d.decodedInstance})));(async()=>{try{if(e)return;const t=await r(),{headers:o}=await t.auth.getAuthHeaders(),n=o.Authorization;u((t=>({...t,...n?(0,a.L)(n):{}})))}catch(t){(0,s.L)(new Error(`Failed to decode instance: ${t}`)),u((t=>({...t,getWixClientPromise:r})))}})()}),[e,r,d.decodedInstance]),o.createElement(c.Provider,{value:i},t)},d=()=>{const t=(0,i.NT)(c);if(!t)throw new Error("useWixInstanceService must be used within a WixInstanceContextProvider");const e=o.useRef(t);return e.current=t,o.useCallback((()=>e.current),[])}},50219:(t,e,r)=>{"use strict";r.d(e,{_:()=>i});const o=t=>{if(!t||7===t.length)return 100;const e=t.replace("#","").slice(6,8),r=parseInt(e,16);return Math.round(r/255*100)},n=t=>t&&7!==t.length?t.slice(0,7):t,s=t=>[...t??[]].filter((t=>t.color)).sort(((t,e)=>(t.position??0)-(e.position??0))).map((t=>`${((t,e)=>{if(!t)return"";const r=e??o(t);let s=n(t)?.replace(/^#/,"")??"";3===s.length&&(s=s.split("").map((t=>t+t)).join(""));const i=parseInt(s,16);return`rgba(${i>>16&255}, ${i>>8&255}, ${255&i}${void 0!==r?", "+r/100:""})`})(t.color)} ${(100*(t.position??0)).toFixed(2)}%`)).join(", "),i=t=>t?"LINEAR"===t.type?`linear-gradient(${t.angle??90}deg, ${s(t.stops)})`:"RADIAL"===t.type?`radial-gradient(circle at ${t.centerX??50}% ${t.centerY??50}%, ${s(t.stops)})`:"":""},40079:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var o=r(23184),n="e32809e7";(()=>{var t='@charset "UTF-8";.ReactModalPortal,.ZpArV,.glob_fontElementMap,.oHAPl,button{font-family:var(--ricos-font-family,unset)}.lRcPX{display:flex}.lgoC8:hover{box-shadow:0 0 0 2px var(--ricos-focus-action-color,var(--ricos-action-color,#116dff))}.GuT04,.lgoC8:hover{border-radius:var(--ricos-native-whitebox-border-radius,0);cursor:default}.GuT04{box-shadow:0 0 0 1px var(--ricos-focus-action-color,var(--ricos-action-color,#116dff))}.lQHiw .GuT04{box-shadow:none!important}.lQHiw :is([data-resize-handle],[data-hook=image-corner-radius-handle],[data-hook=image-corner-radius-label]){display:none!important}.U6KzL{cursor:move;display:block;height:100%;left:0;position:absolute;top:0;width:100%}.U6KzL._60V3J{pointer-events:none}.Irs0E ::selection{background:transparent}.WzbIb{display:none}.oHAPl{position:relative}.iwuQr{max-width:100%}.ReactModal__Body--open{overflow-y:hidden}.ReactModal__Content{direction:ltr;font-weight:300}.ReactModalPortal{color:var(--ricos-settings-text-color,#333)}.ReactModalPortal,.ReactModalPortal input{font-family:var(--ricos-settings-text-font-family,Madefor,"Helvetica Neue",Helvetica,Arial,\u30e1\u30a4\u30ea\u30aa,meiryo,"\u30d2\u30e9\u30ae\u30ce\u89d2\u30b4 pro w3","hiragino kaku gothic pro",sans-serif)}.jRYca{color:#333;text-decoration:none}.LfLgS{display:block}._2mppN{position:relative}._5onsP{margin-left:-20px;margin-right:-20px;overflow-x:auto;overflow-y:hidden}._5onsP.vXqtp::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5)}._5onsP.vYTq8::-webkit-scrollbar-thumb{background-color:transparent}.a6pgR{max-width:max-content!important;min-width:100%}._5onsP::-webkit-scrollbar{-webkit-appearance:none}._5onsP::-webkit-scrollbar-thumb{border:2px solid #fff;border-radius:8px}._5onsP::-webkit-scrollbar:horizontal{height:10px}';if(!(void 0!==o&&o.env,"undefined"==typeof document||document.querySelector('style[data-ricos-style-hash="'+n+'"]'))){var e=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.setAttribute("data-ricos-style-hash",n),r.type="text/css",e.appendChild(r),r.styleSheet?r.styleSheet.cssText=t:r.appendChild(document.createTextNode(t))}})();var s={fontElementMap:"ZpArV",pluginContainer:"oHAPl",flex:"lRcPX",isFocusable:"lgoC8",hasFocus:"GuT04",dragImageView:"lQHiw",overlay:"U6KzL",noPointerEventsOnFocus:"_60V3J",hideTextSelection:"Irs0E",hidden:"WzbIb",pluginContainerMobile:"iwuQr",isImage:"jRYca",anchor:"LfLgS",horizontalScrollbarWrapper:"_2mppN",pluginWithHorizontalScrollbar:"_5onsP",show:"vXqtp",hide:"vYTq8",horizontalScrollbar:"a6pgR"}},6539:(t,e,r)=>{"use strict";r.d(e,{OT:()=>s,VB:()=>l,ZR:()=>n,_t:()=>a,kj:()=>c,wK:()=>u,xq:()=>d,zY:()=>i});var o=r(91338);const n=200,s="#000000",i={config:{alignment:"center",size:"CONTENT",textWrap:!0}},a={containerData:{alignment:o.n8.CENTER,width:{size:o.Np.ORIGINAL},textWrap:!0}},l=/^(326|564)7$/.test(r.j)?`${o.AS.SHAPE}.colors`:null,c=/^(326|564)7$/.test(r.j)?`${o.AS.SHAPE}.size`:null,u=/^(326|564)7$/.test(r.j)?`${o.AS.SHAPE}.alignment`:null,d=/^(326|564)7$/.test(r.j)?`${o.AS.SHAPE}.colorPicker`:null},3132:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var o=r(23184),n="398fcba6";(()=>{var t='.GMbQm,.xZWzP{cursor:pointer;height:14px;margin:0;padding:0;pointer-events:auto;position:relative;width:100%}.GMbQm:not(.VgdXu):hover ._8P-aZ,.xZWzP:not(.VgdXu):hover ._8P-aZ{opacity:1}.GMbQm.VgdXu,.VgdXu.xZWzP{cursor:auto;height:0;pointer-events:none}.xZWzP{cursor:none;pointer-events:none}.ku1as ._8P-aZ{opacity:1}._8P-aZ{height:2px;opacity:0;top:50%;transform:translateY(-50%);transition:opacity .2s ease;z-index:1000000}._8P-aZ,._8P-aZ:after,._8P-aZ:before{background-color:var(--ricos-action-color,#116dff);position:absolute;width:100%}._8P-aZ:after,._8P-aZ:before{content:"";height:3px;left:0;opacity:.3}._8P-aZ:before{top:-3px}._8P-aZ:after{bottom:-3px}.jJaBR{background:var(--wds-tooltip-background-fill,var(--wsr-color-D10,#000624));border-radius:var(--wds-tooltip-border-radius,8px);box-shadow:var(--wds-shadow-surface-overlay-dark,var(--wsr-shadow30,0 6px 6px 0 rgba(22,45,61,.06),0 0 18px 0 rgba(22,45,61,.12)));color:var(--wds-tooltip-text-fill,var(--wsr-color-D80,#fff));font-family:var(--wds-font-family-default,var(--wsr-font-family,Madefor,"Helvetica Neue",Helvetica,Arial,"\\30E1\\30A4\\30EA\\30AA","meiryo","\\30D2\\30E9\\30AE\\30CE\\89D2\\30B4 pro w3","hiragino kaku gothic pro",sans-serif));font-size:var(--wds-font-size-body-tiny,var(--wsr-text-font-size-tiny,12px));font-weight:var(--wds-font-weight-regular,var(--wsr-font-weight-regular,400));letter-spacing:var(--wds-font-letter-spacing-0,unset);line-height:var(--wds-font-line-height-body-tiny,var(--wsr-text-line-height-tiny,15px));padding:var(--wds-tooltip-padding-vertical-small,8px) var(--wds-tooltip-padding-horizontal-small,12px) var(--wds-tooltip-padding-vertical-small,7px);position:absolute;word-wrap:break-word;border:none;max-width:180px;opacity:0;pointer-events:none;transform:translateX(-50%) translateY(-100%) scale(.8);transition:opacity .15s ease-out,transform .15s ease-out;word-break:break-word;z-index:1000000}._5Tg88{display:none}@supports not (contain:inline-size){@media only screen and (max-width:480px){._5Tg88{display:block}}}@container (width < 480px){._5Tg88{display:block}}.W55HW{margin-top:14px}';if(!(void 0!==o&&o.env,"undefined"==typeof document||document.querySelector('style[data-ricos-style-hash="'+n+'"]'))){var e=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.setAttribute("data-ricos-style-hash",n),r.type="text/css",e.appendChild(r),r.styleSheet?r.styleSheet.cssText=t:r.appendChild(document.createTextNode(t))}})();var s={gapSpacerContainer:"GMbQm",gapSpacerViewer:"xZWzP",collapsed:"VgdXu",gapSpacerLine:"_8P-aZ",gapSpacerFocused:"ku1as",gapSpacerTooltip:"jJaBR",betweenFloated:"_5Tg88",withTopMargin:"W55HW"}},30082:(t,e,r)=>{"use strict";r.d(e,{FJ:()=>l,GN:()=>p,HI:()=>f,Lg:()=>u,j4:()=>A,lg:()=>d});var o=r(23736),n=r(65054),s=r(98651),i=r(35576);const a=[o.XN,o.A4,o.c7,n.A.IMAGE,n.A.VIDEO,n.A.GALLERY,n.A.DIVIDER,n.A.HTML,n.A.EMBED,n.A.FILE,n.A.GIF,n.A.AUDIO,n.A.POLL,n.A.BUTTON,n.A.ORDERED_LIST,n.A.BULLETED_LIST,n.A.LIST_ITEM,n.A.LINK_PREVIEW,n.A.APP_EMBED,n.A.CODE_BLOCK,n.A.BLOCKQUOTE,n.A.TABLE,n.A.TABLE_CELL,n.A.LAYOUT,n.A.LAYOUT_CELL,n.A.COLLAPSIBLE_LIST,n.A.COLLAPSIBLE_ITEM_BODY,n.A.SHAPE,n.A.SMART_BLOCK],l=t=>a.includes(t),c=[n.A.IMAGE,n.A.SHAPE,n.A.LAYOUT],u=t=>!!t&&c.includes(t),d=t=>{if(!t)return!1;const e=t.type.name;if(c.includes(e))return!0;if(e===o.XN){const e=t.firstChild;return e?.type.name===n.A.IMAGE}return!1},p=(t,e,r,o)=>!(t&&e||r===n.A.LIST_ITEM)||!!o?.bothFullWidth,h=t=>"attrs"in t&&t.attrs?t.type.name===i.A.FIGURE?t.firstChild?.attrs?.containerData:t.attrs.containerData:"type"in t&&"id"in t?(0,s.mx)(t):null,m=t=>{if(!t)return!1;const e=h(t);return(e?.textWrap??!0)&&("LEFT"===e?.alignment||"RIGHT"===e?.alignment)},f=(t,e)=>m(t)&&m(e),g=t=>{if(!t)return!1;const e=(t=>"attrs"in t&&t.type?.name?t.type.name===i.A.FIGURE&&t.firstChild?.type.name||t.type.name:"type"in t&&"id"in t?t.type:"")(t);if(e===n.A.LAYOUT)return!0;const r=h(t);return"FULL_WIDTH"===r?.width?.size},A=(t,e)=>g(t)&&g(e)},81275:(t,e,r)=>{"use strict";r.d(e,{z:()=>n});var o=r(64379);const n=t=>{const e=t.reduce(((t,e)=>t+e),0),r=t.every((t=>t>=o.RL));if(e===o.ZS&&r)return t;let n=o.ZS-e;const s=t.filter((t=>0===t)),i=e<=o.ZS&&n/s.length>=o.RL,a=Math.floor(o.ZS/t.length);return t.map(((e,r)=>{let o=a;return i&&(e?o=e:r===t.length-1?o=n:(o=a,n-=a)),o}))}},58716:(t,e,r)=>{"use strict";if(r.d(e,{B0:()=>T,C2:()=>f,FP:()=>g,LW:()=>l,O0:()=>p,ST:()=>A,VM:()=>c,be:()=>y,bk:()=>h,dZ:()=>d,eU:()=>m,kd:()=>u}),/^(326|564)7$/.test(r.j))var o=r(55912);if(/^(326|564)7$/.test(r.j))var n=r(99847);const s=t=>"object"==typeof t&&null!==t,i=t=>s(t),a=t=>"COLOR"===t?.type?"string"==typeof t.color&&!!t.color:"GRADIENT"===t?.type&&i(t.gradient),l=t=>t?.gradient?{type:"GRADIENT",gradient:t.gradient}:t?.color?{type:"COLOR",color:t.color}:void 0,c=t=>"background"===t?"backgroundColor":"backdropColor";function u(t,e){if(a(t))return t;const r=p(t);if(r)return{type:"GRADIENT",gradient:r};const o=d(t);return void 0!==o?{type:"COLOR",color:o}:"string"==typeof e?{type:"COLOR",color:e}:void 0}const d=t=>t&&"color"in t&&"string"==typeof t.color&&t.color||void 0,p=t=>t&&"gradient"in t&&i(t.gradient)?t.gradient:void 0,h=(t,e)=>d(u(t,e)),m=(t,e)=>p(u(t,e)),f=t=>{if(p(t))return!0;const e=d(t);return!!e&&e!==o.Z},g=t=>{if(t&&!(t=>!t||d(t)===o.Z)(t))return t},A=(t,e)=>({[t]:e,[c(t)]:void 0}),T=(t,e,r)=>{const o=(t=>{if(s(t))return"string"==typeof t.color&&t.color?{type:"COLOR",color:t.color}:i(t.gradient)?{type:"GRADIENT",gradient:t.gradient}:void 0})((0,n.Bl)(t));return{fill:o,legacyColor:d(o)??("GRADIENT"===o?.type?r??void 0:e??r??void 0)}},y=({fill:t,legacyColor:e,fillKey:r})=>{const o=`data-layout-${r}`,n=`data-layout-${r}-color`,s=d(t)??(t?void 0:e);return{...t?{[o]:JSON.stringify(t)}:{},...void 0!==s?{[n]:s}:{}}}},64379:(t,e,r)=>{"use strict";r.d(e,{K$:()=>a,Lg:()=>s,RL:()=>n,ZS:()=>o,dv:()=>i,fX:()=>l});const o=12,n=1,s=6,i=250,a={backgroundColor:null,backgroundImage:null,borderColor:null,borderWidth:0,borderRadius:0,backdropColor:null,backdropImage:null,backdropPaddingTop:0,backdropPaddingBottom:0,gap:20,cellPadding:[18,0,18,0],cellVerticalAlignment:"TOP",responsivenessBehaviour:"STACK",responsivenessBreakpoint:440,designTarget:"LAYOUT",banner:null},l=(t,e)=>t&&0!==t.length?1===t.length?[t[0],t[0],t[0],t[0]]:2===t.length?[t[0],t[1],t[0],t[1]]:3===t.length?[t[0],t[1],t[2],t[1]]:t:e},99847:(t,e,r)=>{"use strict";if(r.d(e,{$c:()=>h,Bl:()=>E,CE:()=>y,Cl:()=>C,Fx:()=>_,N8:()=>g,RQ:()=>T,Sv:()=>p,VG:()=>S,aH:()=>b,aI:()=>m,g2:()=>f,ir:()=>A,it:()=>L,wO:()=>I,xe:()=>O}),/^(326|564)7$/.test(r.j))var o=r(23736);if(/^(326|564)7$/.test(r.j))var n=r(2901);if(/^(326|564)7$/.test(r.j))var s=r(65054);if(/^(326|564)7$/.test(r.j))var i=r(55912);if(/^(326|564)7$/.test(r.j))var a=r(39046);if(/^(326|564)7$/.test(r.j))var l=r(57402);var c=r(5270);if(/^(326|564)7$/.test(r.j))var u=r(4194);if(/^(326|564)7$/.test(r.j))var d=r(64379);const p=t=>({type:o.UH,attrs:{id:(0,n.$)(),colSpan:t},content:[{type:s.A.PARAGRAPH,content:[]}]}),h=t=>({...d.K$,id:(0,n.$)(),containerData:void 0,backgroundColor:i.Z,backdropColor:i.Z,backgroundImage:d.K$.backgroundImage??void 0,borderColor:d.K$.borderColor??void 0,backdropImage:d.K$.backdropImage??void 0,banner:d.K$.banner??void 0,cellPadding:[...d.K$.cellPadding],content:Array.from({length:t},(()=>p(d.ZS/t)))}),m=(t,e)=>{const r=(e.toPm(t).content??[])[0];if(!r)return null;const{attrs:o,content:n}=r;return{...o,content:n}},f=(t,e,r)=>{const o=d.ZS/Math.min(e?.childCount??d.Lg,d.Lg);e?.forEach(((e,n)=>{t.setNodeAttribute(r+n+1,"colSpan",o)}))},g=(t,e)=>{let r=null;return t.descendants(((t,n)=>{if(t.type.name===o.dB)for(let o=0;o{const r=(0,u.S)(t,e)[0];return t.doc.resolve(r.pos).parent.attrs.id},T=t=>{const e=t.state.selection.$from,r=(0,a.e)(e,(t=>t.type.name===o.dB)),n=r?t.$pos(r.pos):e,s=t.view.nodeDOM(n.pos),i=s?.querySelector?.("[data-layout-handle]");return s?{getBoundingClientRect:()=>{const t=s.getBoundingClientRect(),e=i?.getBoundingClientRect();return new DOMRect(t.x,t.y,t.width,t.height+(e?.height??0)+4)},contextElement:s}:t.view.nodeDOM(n.pos-1)},y=[c.Y.FOOTER,c.Y.SIDE,c.Y.MOBILE],E=t=>{if(!t)return null;try{return JSON.parse(t)}catch{return null}},L=26,I=50,C=()=>{const t=(0,n.$)(),{content:e,...r}=h(1);return{headingId:t,layoutNode:{type:o.dB,attrs:{...r,backdropColor:void 0,banner:{origin:"LAYOUT"},backdropPaddingTop:I,backdropPaddingBottom:I},content:[{type:o.UH,attrs:{id:(0,n.$)(),colSpan:d.ZS},content:[{type:s.A.HEADING,attrs:{id:t,indentation:null,level:1,textStyle:{textAlignment:"CENTER"},style:null},content:[]}]}]}}},S=t=>(0,l.AE)({file_name:t.src?.id},void 0,{requiredQuality:90,requiredWidth:Math.min(t.width??4e3,4e3),requiredHeight:Math.min(t.height??4e3,4e3),encAutoImageUrls:!0}),O=(t,e)=>{const r=t.resolve(e),n=(0,a.e)(r,(t=>t.type.name===o.XE));return n?.node.attrs.id},_=(t,e)=>{const r=(0,u.S)(t,e)[0];return r?r.pos+1:0},b=(t,e)=>{const r=O(t.doc,e);if(!r){const e=t.doc.firstChild;return{insertPos:0,firstChild:e?{node:e,pos:0}:void 0}}const o=(0,u.S)(t,r)[0],n=o?.node.firstChild;return{insertPos:_(t,r),firstChild:n?{node:n,pos:o.pos+1}:void 0}}},92895:(t,e,r)=>{"use strict";r.d(e,{o:()=>i});var o=r(70119),n=r(65054),s=r(43373);const i=(0,o.L3)((t=>Array.isArray(t)?{id:"root",type:n.A.UNRECOGNIZED,nodes:t}:t),(0,s.N)((t=>Array.isArray(t.nodes)?t.nodes:[])))},2901:(t,e,r)=>{"use strict";r.d(e,{$:()=>n});var o=r(16252);function n(t=""){return`${Math.random().toString(36).substr(2,5)}${o.uniqueId(t)}`}},43373:(t,e,r)=>{"use strict";r.d(e,{N:()=>l});var o=r(16307),n=r(70119),s=r(59202),i=r(65327),a=r(96351);const l=t=>e=>{class r{constructor(t,e){this.traversal=t,this.tree=e}filter(t){return new r(this.traversal.composePrism(a.My.fromPredicate(t)),this.tree)}map(t){return new r(this.traversal.composeLens(new a.J2(t,(()=>t=>t))),this.tree)}chain(t){return(0,n.Fs)(this.get(),o.Tj(t))}get(){return(0,n.Fs)(this.traversal.asFold().getAll(this.tree),o.Tj((0,s.aN)(Boolean)),o.oE)}}const l=i.jh(e,(e=>[e,t(e)]));return new r((0,a.Un)(i.B2)(),l)}},71634:(t,e,r)=>{"use strict";r.d(e,{Uo:()=>p,jJ:()=>u,or:()=>h,sh:()=>m});var o=r(16307),n=r(11187),s=r(66005),i=r(70119),a=r(87029),l=r(59202),c=r(20681);const u=(t,e,r)=>{const n=s.CA(c.$1()),a=c.KO(n)(s.kb(e));return(0,i.Fs)(a((0,i.Fs)(r,o.Tj((r=>(0,i.Fs)(t,s.aN(r[0],(()=>e)),s.Tj(r[1])))))),s.AU(i.D_,i.D_))},d=t=>e=>r=>(0,i.Fs)(e,o.ap(o.of(r)),(0,a.KO)(t)),p=d(n.IU),h=d(n.hD),m=t=>e=>(0,i.Fs)(t.exec(e),l.k$)},66894:(t,e,r)=>{"use strict";r.d(e,{Q:()=>a,iB:()=>n,n_:()=>s,qj:()=>i});var o=r(60751);const n=o.createContext({locale:"en",localeContent:"en",experiments:{},isMobile:!1,t:t=>t,languageDir:"ltr",theme:{},portal:null,debugMode:[],platform:"macOs",content:null,jsdomMode:!1,environment:"liveSite",tabIndex:0,lastInteraction:null,tabFocusBehavior:"edit"}),s=({children:t,isMobile:e,locale:r,localeContent:s,experiments:i,languageDir:a,theme:l,t:c,portal:u,debugMode:d=[],jsdomMode:p=!1,platform:h="macOs",content:m=null,environment:f="liveSite",tabIndex:g=0,lastInteraction:A=null,tabFocusBehavior:T="edit",colorManager:y})=>o.createElement(n.Provider,{value:{t:c,locale:r,localeContent:s,isMobile:e,experiments:i??{},languageDir:a,theme:l,portal:u??null,debugMode:d,jsdomMode:p,platform:h,content:m,environment:f,tabIndex:g,lastInteraction:A,tabFocusBehavior:T,colorManager:y}},t);function i(t){return e=>o.createElement(n.Consumer,null,(r=>o.createElement(t,{...e,ricosContext:r})))}const a=({children:t})=>o.createElement(n.Consumer,null,(e=>t(e)))},36121:(t,e,r)=>{"use strict";r.d(e,{F5:()=>s,SR:()=>n,mb:()=>i});var o=r(60751);const n=o.createContext(null),s=({zIndexService:t,children:e})=>o.createElement(n.Provider,{value:t},e);function i(t){return e=>o.createElement(n.Consumer,null,(r=>o.createElement(t,{...e,zIndexService:r})))}},97423:(t,e,r)=>{"use strict";r.d(e,{P:()=>o});var o=(t=>(t.PX="PX",t.EM="EM",t.UNRECOGNIZED="UNRECOGNIZED",t))(o||{})},93135:(t,e,r)=>{"use strict";r.d(e,{X:()=>o});var o=(t=>(t.NULL_VALUE="NULL_VALUE",t.UNRECOGNIZED="UNRECOGNIZED",t))(o||{})},91338:(t,e,r)=>{"use strict";r.d(e,{AS:()=>b,CH:()=>n,DD:()=>A,DN:()=>y,FM:()=>u,FU:()=>O,IH:()=>S,KG:()=>E,LP:()=>T,Mu:()=>m,Np:()=>i,Nq:()=>l,Q3:()=>f,Vh:()=>o,_2:()=>L,aO:()=>h,fX:()=>c,gD:()=>a,lO:()=>_,n8:()=>s,nT:()=>I,p4:()=>g,pn:()=>p,qG:()=>C,yy:()=>d});const o={SELF:"SELF",BLANK:"BLANK",PARENT:"PARENT",TOP:"TOP"},n={COLOR:"COLOR",GRADIENT:"GRADIENT"},s={CENTER:"CENTER",LEFT:"LEFT",RIGHT:"RIGHT"},i={CONTENT:"CONTENT",SMALL:"SMALL",ORIGINAL:"ORIGINAL",FULL_WIDTH:"FULL_WIDTH"},a={BOLD:"BOLD",ITALIC:"ITALIC",UNDERLINE:"UNDERLINE",SPOILER:"SPOILER",ANCHOR:"ANCHOR",MENTION:"MENTION",LINK:"LINK",COLOR:"COLOR",FONT_SIZE:"FONT_SIZE",STRIKETHROUGH:"STRIKETHROUGH",SUPERSCRIPT:"SUPERSCRIPT",SUBSCRIPT:"SUBSCRIPT",FONT_FAMILY:"FONT_FAMILY"},l={START:"START",END:"END",TOP:"TOP"},c={SQUARE:"SQUARE",RECTANGLE:"RECTANGLE"},u={FILL:"FILL",FIT:"FIT"},d={IMAGE:"IMAGE",PRODUCT_INFO:"PRODUCT_INFO"},p={CONTAINED:"CONTAINED",FRAMELESS:"FRAMELESS"},h={START:"START",CENTER:"CENTER",END:"END"},m={LINK:"LINK",ACTION:"ACTION"},f={MEDIUM:"MEDIUM",SMALL:"SMALL",LARGE:"LARGE"},g={COLLAGE:"COLLAGE",MASONRY:"MASONRY",GRID:"GRID",THUMBNAIL:"THUMBNAIL",SLIDER:"SLIDER",SLIDESHOW:"SLIDESHOW",PANORAMA:"PANORAMA",COLUMN:"COLUMN",MAGIC:"MAGIC",FULLSIZE:"FULLSIZE"},A={ROWS:"ROWS",COLUMNS:"COLUMNS"},T={FILL:"FILL",FIT:"FIT"},y={TOP:"TOP",RIGHT:"RIGHT",BOTTOM:"BOTTOM",LEFT:"LEFT",NONE:"NONE"},E={NORMAL:"NORMAL",STICKER:"STICKER"},L={HTML:"HTML",ADSENSE:"ADSENSE",AI:"AI",AI_WIDGET:"AI_WIDGET"},I={CREATOR:"CREATOR",VOTERS:"VOTERS",EVERYONE:"EVERYONE"},C={SITE_MEMBERS:"SITE_MEMBERS",ALL:"ALL"},S={LIST:"LIST",GRID:"GRID"},O={LTR:"LTR",RTL:"RTL"},_={COLOR:"COLOR",IMAGE:"IMAGE",GRADIENT:"GRADIENT"},b={PARAGRAPH:"PARAGRAPH",TEXT:"TEXT",HEADING:"HEADING",BULLETED_LIST:"BULLETED_LIST",ORDERED_LIST:"ORDERED_LIST",LIST_ITEM:"LIST_ITEM",BLOCKQUOTE:"BLOCKQUOTE",CODE_BLOCK:"CODE_BLOCK",VIDEO:"VIDEO",DIVIDER:"DIVIDER",FILE:"FILE",GALLERY:"GALLERY",GIF:"GIF",HTML:"HTML",IMAGE:"IMAGE",LINK_PREVIEW:"LINK_PREVIEW",POLL:"POLL",SHAPE:"SHAPE",APP_EMBED:"APP_EMBED",BUTTON:"BUTTON",COLLAPSIBLE_LIST:"COLLAPSIBLE_LIST",COLLAPSIBLE_ITEM:"COLLAPSIBLE_ITEM",COLLAPSIBLE_ITEM_TITLE:"COLLAPSIBLE_ITEM_TITLE",COLLAPSIBLE_ITEM_BODY:"COLLAPSIBLE_ITEM_BODY",TABLE:"TABLE",TOC:"TOC",EMBED:"EMBED",TABLE_CELL:"TABLE_CELL",TABLE_ROW:"TABLE_ROW",EXTERNAL:"EXTERNAL",AUDIO:"AUDIO",CAPTION:"CAPTION",LAYOUT:"LAYOUT",LAYOUT_CELL:"LAYOUT_CELL",CARD:"CARD",SMART_BLOCK:"SMART_BLOCK",SMART_BLOCK_CELL:"SMART_BLOCK_CELL",UNRECOGNIZED:"UNRECOGNIZED",MAP:"MAP"}},3936:(t,e,r)=>{"use strict";r.d(e,{I:()=>A});var o=r(65054);class n{constructor(){this.type=o.g.UNRECOGNIZED}getDecoration(){return{}}fromCustomStyle(t){return new n}toCustomStyle(){return{}}overrideWith(t){return t}}class s{constructor(t){this.type=o.g.BOLD,this.customStyle=t}static of(t){if(t.type!==o.g.BOLD)throw new TypeError(`invalid decoration initializer ${t}`);return new s({fontWeight:t.fontWeightValue})}getDecoration(){return{type:this.type,fontWeightValue:(t=this.customStyle.fontWeight,"bold"===t?700:"normal"===t?400:parseInt(t,10))};var t}static fromCustomStyle(t){return new s(t)}fromCustomStyle(t){return s.fromCustomStyle(t)}toCustomStyle(){return this.customStyle}overrideWith(t){if(!(t instanceof s||t instanceof n))throw new TypeError(`invalid merge decoration ${t}`);const e={...this.customStyle,...t.toCustomStyle()};return new s(e)}}var i=r(16252);class a{constructor(t){this.type=o.g.COLOR,this.customStyle=t}static of(t){if(t.type!==o.g.COLOR)throw new TypeError(`invalid decoration initializer ${t}`);const{foreground:e,background:r}=t.colorData||{},n=i.pickBy({color:e,backgroundColor:r});return new a(n)}getDecoration(){return{type:this.type,colorData:{...this.customStyle.color&&{foreground:this.customStyle.color},...this.customStyle.backgroundColor&&{background:this.customStyle.backgroundColor}}}}static fromCustomStyle(t){return new a(t)}fromCustomStyle(t){return a.fromCustomStyle(t)}toCustomStyle(){return this.customStyle}overrideWith(t){if(!(t instanceof a||t instanceof n))throw new TypeError(`invalid merge decoration ${t}`);const e={...this.customStyle,...t.toCustomStyle()};return new a(e)}}var l=r(97423);class c{constructor(t){this.type=o.g.FONT_SIZE,this.customStyle=t}static of(t){if(t.type!==o.g.FONT_SIZE)throw new TypeError(`invalid decoration initializer ${t}`);const e=t.fontSizeData?.value,r=t.fontSizeData?.unit?.toLocaleLowerCase();return new c(e?{fontSize:`${e}${r}`}:{})}getDecoration(){return{type:this.type,fontSizeData:{value:parseInt(this.customStyle.fontSize),unit:l.P.PX}}}static fromCustomStyle(t){return new c(t)}fromCustomStyle(t){return c.fromCustomStyle(t)}toCustomStyle(){return this.customStyle}overrideWith(t){if(!(t instanceof c||t instanceof n))throw new TypeError(`invalid merge decoration ${t}`);const e={...this.customStyle,...t.toCustomStyle()};return new c(e)}}class u{constructor(t){this.type=o.g.ITALIC,this.customStyle=t}static of(t){if(t.type!==o.g.ITALIC)throw new TypeError(`invalid decoration initializer ${t}`);return new u(t.italicData?{fontStyle:"italic"}:{})}getDecoration(){return{type:this.type,italicData:this.customStyle.fontStyle?.includes("italic")}}static fromCustomStyle(t){return new u(t)}fromCustomStyle(t){return u.fromCustomStyle(t)}toCustomStyle(){return this.customStyle}overrideWith(t){if(!(t instanceof u||t instanceof n))throw new TypeError(`invalid merge decoration ${t}`);const e={...this.customStyle,...t.toCustomStyle()};return new u(e)}}var d=r(16307),p=r(66005),h=r(70119),m=r(20681);const f=(t,e,r)=>{const o=p.CA(m.$1()),n=m.KO(o)(p.kb(e));return(0,h.Fs)(n((0,h.Fs)(r,d.Tj((r=>(0,h.Fs)(t,p.aN(r[0],(()=>e)),p.Tj(r[1])))))),p.AU(h.D_,h.D_))},g=class t{constructor(t){this.decorations=t}static of(e){const r=(e||[]).map(t.toTextDecoration);return new t(r)}static fromCustomStyle(e){const{color:r,backgroundColor:o,...n}=e,s={color:r??"",backgroundColor:o??""},i=Object.entries(n).map((([t,e])=>({[t]:e}))).concat([s]).map(t.styleToDecoration);return new t(i)}static styleToDecoration(e){return f(e,t.empty,[[t=>!!t.fontWeight,t=>s.fromCustomStyle(t)],[t=>!!t.fontSize,t=>c.fromCustomStyle(t)],[t=>!!t.fontStyle,t=>u.fromCustomStyle(t)],[t=>!!t.color||!!t.backgroundColor,t=>a.fromCustomStyle(t)]])}static toTextDecoration(e){return f(e,t.empty,[[t=>t.type===o.g.BOLD,t=>s.of(t)],[t=>t.type===o.g.ITALIC,t=>u.of(t)],[t=>t.type===o.g.FONT_SIZE,t=>c.of(t)],[t=>t.type===o.g.COLOR,t=>a.of(t)]])}toDecorationArray(){return this.decorations.filter((t=>t.type!==o.g.UNRECOGNIZED)).map((t=>t.getDecoration()))}byType(e){return this.decorations.find((t=>t.type===e))||t.empty}toCustomStyle(){return this.decorations.reduce(((t,e)=>({...t,...e.toCustomStyle()})),{})}overrideWith(e){const r=e.map(t.toTextDecoration).map((t=>this.byType(t.type).overrideWith(t))),o=r.map((t=>t.type)),n=this.decorations.filter((t=>!o.includes(t.type))).concat(r);return new t(n)}};g.empty=new n;let A=g},46213:(t,e,r)=>{"use strict";r.d(e,{C:()=>n});const o=class t{constructor(e){this.getNodeStyle=()=>this.nodeStyle,this.toCustomStyle=()=>({paddingBottom:this.nodeStyle.paddingBottom,paddingTop:this.nodeStyle.paddingTop}),this.overrideWith=(e={})=>t.of({...this.nodeStyle,...e}),this.nodeStyle=e}static of(e){return new t(e||{})}};o.fromCustomStyle=t=>{const{paddingBottom:e,paddingTop:r}=t,n={paddingBottom:e,paddingTop:r};return o.of(n)};let n=o},35242:(t,e,r)=>{"use strict";r.d(e,{$:()=>s});var o=r(16252);const n=class t{constructor(e){this.getTextStyle=()=>this.textStyle,this.toCustomStyle=()=>({lineHeight:this.textStyle.lineHeight}),this.overrideWith=e=>t.of({...this.textStyle,...e}),this.textStyle=o.pickBy(e)}static of(e){return new t(e||{})}};n.fromCustomStyle=t=>{const{lineHeight:e}=t,r={lineHeight:e};return n.of(r)};let s=n},50723:(t,e,r)=>{"use strict";r.d(e,{y:()=>L});var o=r(16307),n=r(70119),s=r(9838),i=r(99173),a=r(16199),l=r(3936),c=r(46213),u=r(35242),d=r(16252),p=r(84421);class h{constructor(t,e){this.key=t,this.customStyle=e}getKey(){return this.key}toCustomStyle(){return this.customStyle}overrideWith(t){if("empty"!==t.key&&this.key!==t.key)throw new Error(`Different keys, ${this.key} doesn't equal to ${t.key}`);return new h(this.key,{...this.customStyle,...t.customStyle})}}const m=["h1","h2","h3","h4","h5","h6","p","quote","codeBlock"],f=class t{constructor(t){this.customStyles=t}static of(e){const r=Object.entries(e).map((([t,e])=>new h(t,e)));return new t(r)}static fromTheme(e){const r=e.customStyles||{},{colors:o}=e.colorPalette?(0,p.rQ)(e.colorPalette,e.paletteConfig):(0,p.s5)(e.palette,e.paletteConfig),{textColor:n,bgColor:s}=o||{};if(o?.textColor||o?.bgColor){const e=m.reduce(((t,e)=>({...t,[e]:{color:n,backgroundColor:s}})),{});return t.of(e).overrideWith(t.of(r))}return t.of(r)}toCustomStyles(){return this.customStyles.reduce(((t,e)=>{const r=e.toCustomStyle();return{...t,...d.isEmpty(r)?{}:{[e.getKey()]:r}}}),{})}byKey(e){return this.customStyles.find((t=>t.getKey()===e))||t.empty}overrideWith(e){const r=m.reduce(((t,e)=>({...t,[e]:{}})),{}),o=t.of(r).customStyles.map((t=>t.overrideWith(this.byKey(t.getKey())).overrideWith(e.byKey(t.getKey()))));return new t(o)}};f.empty=new class extends h{constructor(){super("empty",{})}overrideWith(t){return t}};let g=f;const A={headerOne:"h1",headerTwo:"h2",headerThree:"h3",headerFour:"h4",headerFive:"h5",headerSix:"h6",paragraph:"p",blockquote:"quote",codeBlock:"codeBlock"},T=(0,n.Fs)(A,Object.entries,o.Tj(i.wg),a.P),y=(0,n.L3)((t=>s.$r(t)),o.Tj(i.wu((t=>({...l.I.of(t?.decorations).toCustomStyle(),...c.C.of(t?.nodeStyle).toCustomStyle(),...u.$.of({lineHeight:t?.lineHeight}).toCustomStyle()})),(t=>A[t]))),(t=>(0,a.P)(t))),E=(0,n.L3)(Object.entries,o.Tj(i.wu((t=>({decorations:l.I.fromCustomStyle(t).toDecorationArray(),nodeStyle:c.C.fromCustomStyle(t).getNodeStyle(),lineHeight:u.$.fromCustomStyle(t).getTextStyle().lineHeight})),(t=>T[t]))),a.P,JSON.stringify,JSON.parse);class L{constructor(t){this.theme=t}static fromTheme(t){return new L(t||{})}static fromDocumentStyle(t){const e=y(t);return new L({customStyles:e})}toTheme(){return this.theme}toDocumentStyle(){return E(g.fromTheme(this.theme).toCustomStyles())}}},45990:(t,e,r)=>{"use strict";r.d(e,{D:()=>i,N:()=>s});var o=r(60751);const n=o.createContext({}),s=({theme:t={},children:e})=>o.createElement(n.Provider,{value:t},e),i=()=>o.useContext(n)},95745:(t,e,r)=>{"use strict";r.d(e,{L:()=>u,j:()=>c});var o=r(16252),n=r(50723),s=r(51803),i=r(84421),a=r(23470),l=r(13637);const c=(t,e)=>{const r=n.y.fromDocumentStyle(e).toTheme(),c=o.merge({},t,r),{palette:u,colorPalette:d,paletteConfig:p,typography:h,customStyles:m,nativeStyle:f}=c,{paletteVarsObject:g}=d?(0,i.rQ)(d,p):(0,i.s5)(u,p),A=(0,a.q)(h),T=d?(0,i.LK)(d):{},y=o.merge({},T,m),E={...g,...A,...(0,s.I)({customStyles:y,nativeStyle:f}),...{"breakout-normal-padding-start":t?.breakout?.normalPadding.start??"0","breakout-normal-padding-end":t?.breakout?.normalPadding.end??"0","breakout-full-width-padding-start":t?.breakout?.fullWidthPadding?.start??"0","breakout-full-width-padding-end":t?.breakout?.fullWidthPadding?.end??"0"}};return(0,l.buildCssVarsObj)(E)},u=t=>{const{palette:e,colorPalette:r,paletteConfig:o,settingsStyles:n,customStyles:a={}}=t,{paletteVarsObject:c}=r?(0,i.rQ)(r,{settingsActionColor:o?.settingsActionColor}):(0,i.s5)(e,{settingsActionColor:o?.settingsActionColor}),u=(0,s.I)({customStyles:{staticToolbar:a?.staticToolbar},settingsStyles:n});return(0,l.buildCssVarsObj)({settingsActionColor:c.settingsActionColor,settingsActionColorTuple:c.settingsActionColorTuple,...u})}},51803:(t,e,r)=>{"use strict";r.d(e,{I:()=>i});var o=r(16252);function n(t){return{...o.mapValues(t,(t=>"object"==typeof t&&null!==t?n(t):t)),...void 0!==t.fontSize&&void 0===t.lineHeight?{lineHeight:1.5}:{}}}function s(t,e="",r="-"){const o={};return function t(n,s=""){for(const[i,a]of Object.entries(n)){const n=s?`${s}${r}${i}`:i;"object"==typeof a?t(a,n):o[`${e?e+"-":""}${n}`]=a}}(t),o}const i=({customStyles:t={},settingsStyles:e={},nativeStyle:r={}})=>o.merge({},s(n(t),"custom"),s(e,"settings"),s(r,"native"))},84421:(t,e,r)=>{"use strict";r.d(e,{rQ:()=>A,s5:()=>g,FS:()=>y,Cf:()=>T,LK:()=>p});var o=r(72174),n=r(16252);const s={BG_COLOR:11,DISABLED_COLOR:13,TEXT_COLOR_LOW:14,TEXT_COLOR:15,ACTION_COLOR:18},i=(t,e)=>((t,e)=>t[e<=5?e-1:e-6])(t,e).value;var a=r(13637);const l=t=>"object"==typeof t&&"type"in t&&"rgb"===t.type,c=t=>{const e={actionColor:t.accent1,bgColor:t.bgColor,textColor:t.textColor,textColorLow:t.shade1,disabledColor:t.shade2,fallbackColor:t.shade3};return"rgbTuple"===t.format?{...e,type:"rgb"}:e},u=(t,e)=>{if(t)return"rgbTuple"===e?`rgb(${t})`:t};function d(t){return Object.fromEntries(Object.entries(t).map((([t,e])=>e&&"object"==typeof e&&!Array.isArray(e)?[t,d(e)]:[t,e])).filter((([,t])=>void 0!==t&&("object"!=typeof t||Object.keys(t).length>0))))}function p(t){const e=e=>u(e,t.format);return d({button:{backgroundColor:e(t.accent1),color:e(t.bgColor)},secondaryButton:{backgroundColor:e(t.bgColor),color:e(t.accent1),borderColor:e(t.accent1)},link:{color:e(t.accent1)},audio:{backgroundColor:e(t.bgColor),titleColor:e(t.textColor),subtitleColor:e(t.shade3),borderColor:e(t.shade2),componentBorderColor:e(t.shade2),actionColor:e(t.accent1),actionTextColor:e(t.bgColor),sliderColor:e(t.shade1)},file:{backgroundColor:e(t.bgColor),color:e(t.textColor),secondaryColor:e(t.shade3),secondaryColorOpacity:t.shade3?1:void 0,borderColor:e(t.shade2),borderOpacity:t.shade2?1:void 0,borderColorHover:e(t.shade3),iconColor:e(t.accent1)},table:{backgroundColor:e(t.accent2),borderColor:e(t.shade2),color:e(t.textColor)},verticalEmbed:{backgroundColor:e(t.bgColor),color:e(t.textColor),textColor:e(t.shade3),iconColor:e(t.shade3),borderColor:e(t.shade2),ribbonFillColor:e(t.accent4),ribbonBorderColor:e(t.accent4),ribbonTextColor:e(t.textColor)},linkPreview:{backgroundColor:e(t.bgColor),borderColor:e(t.shade2),hoverBorderColor:e(t.shade3),titleColor:e(t.textColor),subtitleColor:e(t.shade3)},codeBlock:{backgroundColor:e(t.accent2),color:e(t.textColor)},toc:{color:e(t.accent1),titleColor:e(t.textColor),borderColor:e(t.shade2)},divider:{color:e(t.textColor)},quote:{color:e(t.textColor),borderColor:e(t.accent1)},layout:{backdropColor:e(t.accent2),backgroundColor:e(t.accent2)},smartBlock:{accentColor:e(t.accent2),backgroundColor:e(t.accent2),labelColor:e(t.accent1),borderColor:e(t.accent2),trackColor:e(t.shade2)}})}const h=(t,e)=>{const{contentBgColor:r=!1,focusActionColor:n,settingsActionColor:s}=e||{},i=l(t),{textColor:c,bgColor:u,actionColor:d,fallbackColor:p=(i?"0, 0, 0":o.Pd),disabledColor:h,textColorLow:m,textOnActionColor:f}=t,g=(A={textColor:c,actionColor:d,backgroundColor:u,fallbackColor:p,disabledColor:h,textColorLow:m,settingsActionColor:s,focusActionColor:n,textOnActionColor:f},Object.keys(A).reduce(((t,e)=>{const r=A[e];if(void 0!==r){const o=((0,a.canTransformToHex)(r)&&i?(0,a.toRgbTuple)((0,a.toHexFormat)(r)):void 0)??r;t[e]=i?(0,a.toCssRgb)(o):o,t[`${e}Tuple`]=i?o:(0,a.toRgbTuple)(o)}return t}),{}));var A;const T=r&&void 0!==u?i?(0,a.toCssRgb)(u):u:void 0,y=i?`rgb(${p})`:(0,a.adaptForeground)(d,p),E=i?p:(0,a.toRgbTuple)((0,a.adaptForeground)(d,p));return{...g,...y&&{actionColorFallback:y},...E&&{actionColorFallbackTuple:E},...T&&{bgColorContainer:T}}},m=t=>Array.isArray(t)?((t=>{if(0===t.length)throw Error("Received empty palette colors array");const e=t.map((t=>t.name)),r=n.difference(Object.values(s).map((t=>`color_${t}`)),e);if(r.length>0){const t=[];throw t.push("Some palette colors were not supplied:",`\n${r}\n`,"Palette array must include the following colors:",Object.entries(s).map((t=>`${t[1]} - ${t[0]}`)).toString().split(",").join("\n"),""),Error(t.join("\n"))}})(t),{actionColor:i(t,s.ACTION_COLOR),bgColor:i(t,s.BG_COLOR),textColor:i(t,s.TEXT_COLOR),disabledColor:i(t,s.DISABLED_COLOR),textColorLow:i(t,s.TEXT_COLOR_LOW)}):t&&(t=>!!t&&"object"==typeof t&&!Array.isArray(t)&&"format"in t)(t)?c(t):t&&((t=>t&&"string"!=typeof t&&!Array.isArray(t)&&("actionColor"in t&&t.actionColor||"textColor"in t&&t.textColor||"bgColor"in t&&t.bgColor))(t)||l(t))?t:(console.error("Unrecognized Palette object. Please refer to Ricos Theme Documentation"),{});function f(t,e=!1){return e?{...t}:Object.fromEntries(Object.entries(t).map((([t,e])=>[t,"string"==typeof e&&(0,a.canTransformToHex)(e)?(0,a.toHexFormat)(e):e])))}function g(t,e){if(!t)return{paletteVarsObject:{}};const r=m(t),o=f(r,l(r));return{paletteVarsObject:h(o,e),colors:o}}function A(t,e){const r=c(t),o=f(r,l(r)),n=t.accent1?{...e,settingsActionColor:t.accent1,focusActionColor:t.accent1}:e;return{paletteVarsObject:h(o,n),colors:o}}function T(t,e){const{paletteVarsObject:r}=g(t,e);return E(r)}function y(t,e){const{paletteVarsObject:r}=A(t,e);return E(r)}function E(t){const e=e=>{const r=t[e];return"string"==typeof r?r:void 0};return{actionColor:e("actionColor"),bgColor:e("backgroundColor"),textColor:e("textColor"),textColorLow:e("textColorLow"),disabledColor:e("disabledColor"),fallbackColor:e("fallbackColor"),textOnActionColor:e("textOnActionColor"),settingsActionColor:e("settingsActionColor"),focusActionColor:e("focusActionColor")}}},23470:(t,e,r)=>{"use strict";r.d(e,{q:()=>n});const o=t=>(t=>Object.entries(t))(t).reduce(((t,e)=>{return{...t,[`font-${e[0].toLowerCase()}`]:(r=e[1],r.value.substr(5,r.value.length-6))};var r}),{});function n(t){if(!t)return{};const{fontFamily:e,wixTypography:r}=t,n=r?o(r):{};return Object.assign(n,e&&{fontFamily:e})}},13637:(t,e,r)=>{"use strict";r.r(e),r.d(e,{adaptForeground:()=>u,anyCssColorToHex:()=>E,buildCssVars:()=>T,buildCssVarsObj:()=>y,canTransformToHex:()=>a,isBright:()=>c,toCssRgb:()=>m,toCssRgbA:()=>h,toDashedKey:()=>f,toHexFormat:()=>i,toRgbTuple:()=>p,toVarStrings:()=>A});var o=r(72174);function n(t,e){const r=t.map(((t,e)=>{if(t.indexOf("%")>-1){const r=parseFloat(t.substr(0,t.length-1))/100;return e<3?Math.round(255*r):r}return parseFloat(t)}));let o=Number(r[0]).toString(16),n=Number(r[1]).toString(16),s=Number(r[2]).toString(16),i=Math.round(255*Number(r[3])).toString(16);1===o.length&&(o="0"+o),1===n.length&&(n="0"+n),1===s.length&&(s="0"+s),1===i.length&&(i="0"+i);const a="ff"===i.toLowerCase();return"#"+o+n+s+(e&&!a?i:"")}function s(t){const e=/^color\(\s*srgb\s+([^)]+)\)$/i.exec(t);if(!e)return null;const[r,o]=e[1].split("/").map((t=>t.trim())),s=r.split(/\s+/);if(3!==s.length)return null;const i=(t,e,r)=>Math.max(e,Math.min(r,t)),a=s.map((t=>i(Math.round(255*parseFloat(t)),0,255))),l=void 0===o?1:i((c=o).endsWith("%")?parseFloat(c.slice(0,-1))/100:parseFloat(c),0,1);var c;return a.some((t=>Number.isNaN(t)))||Number.isNaN(l)?null:n([...a.map(String),String(l)],!0)}function i(t){if("transparent"===t)return o.cO+"00";if((t.startsWith("rgb(")||t.startsWith("rgba("))&&t.endsWith(")")){const e=t.replace(/^(rgba\()|^(rgb\()|(\s)|(\))$/g,"").split(",");if(4===e.length)return n(e,!0);if(3===e.length)return n(e);throw Error("[ricos-common] themeUtils.ts: Bad RGB / RGBA value: "+t)}if(t.startsWith("color(")){const e=s(t);if(e)return e}if(!t.startsWith("#"))throw Error(`[ricos-common] themeUtils.ts: Bad Hex (${t}).\n Ricos color can only accept "transparent" or a HEX formatted color as its value`);return t}function a(t){if("transparent"===t)return!0;if((t.startsWith("rgb(")||t.startsWith("rgba("))&&t.endsWith(")")){const e=t.replace(/^(rgba\()|^(rgb\()|(\s)|(\))$/g,"").split(",");return 4===e.length||3===e.length}return!(!t.startsWith("color(")||null===s(t))||!!t.startsWith("#")}function l(t){const e=t.replace("#","");return(299*parseInt(e.substr(0,2),16)+587*parseInt(e.substr(2,2),16)+114*parseInt(e.substr(4,2),16))/1e3}function c(t){return!!t&&l(t)>150}function u(t,e){if(t)return l(t)<150?t:e||o.Pd}function d(t){const e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i.exec(t.toLowerCase());if(e)return{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16),a:parseInt(e[4],16)};console.error("Bad Hex")}function p(t){if(!t)return;const e=d(t);if(!e)return;const{r,g:o,b:n}=e;return`${r}, ${o}, ${n}`}function h(t,e){if(!t)return t;if(/^#([A-Fa-f\d]{2}){1,4}$/.test(t)){const r=d(t);if(!r)return;const{r:o,g:n,b:s,a:i}=r;return`rgba(${o}, ${n}, ${s}, ${e*(i||1)})`}throw new Error("[ricos-common] themeUtils.ts: Bad Hex")}function m(t){return`rgb(${t})`}const f=t=>t.replace(/([A-Z])/g,((t,e)=>"-"+e.toLowerCase())),g=" ".repeat(4),A=t=>Object.entries(t).filter((t=>!!t[1])).map((t=>{return r=t[0],"--ricos-"+f(r)+": "+(("string"==typeof(e=t[1])?e.split(";")[0]:e)+";\n");var e,r})).join(g),T=(t,...e)=>`\n ${t?`.${t}`:"*"} {\n ${e.map(A).join(g).replace(/[\s\t]+$/,"")}\n }\n`,y=t=>{const e=t=>"--ricos-"+f(t);return Object.entries(t).reduce(((t,[r,o])=>({...t,[e(r)]:o})),{})},E=(t,e)=>{let r=t;return t.startsWith("var(")&&(r=L(t,e)),I(r)?n(r.split(","),!0):C(r)?n(r.split(",")):i(r)},L=(t,e)=>{let r=t,o=0;for(;r.startsWith("var(")&&o++<5;){const t=r.match(/var\((--[^,\s)]+)(?:,\s*([^)]+))?\)/);if(!t)break;const[,o,n]=t;r=getComputedStyle(e).getPropertyValue(o).trim()||n?.trim()||r}return r},I=t=>null!==t.match(/^\d{1,3},\d{1,3},\d{1,3},\d{1,3}$/),C=t=>null!==t.match(/^\d{1,3},\d{1,3},\d{1,3}$/)},16654:(t,e,r)=>{"use strict";r.d(e,{y:()=>i});const o=1e5,n=5e3,s={TOOLBAR:100,POPUP:200,DRAWER:300,DIALOG:300,TOOLTIP:400,NOTIFICATION:500};class i{constructor(t,e){this.baseZIndex=t?o:n,this.settingsStyles=e}layerToCssVar(t){if(this.settingsStyles&&this.settingsStyles?.modals)return`--ricos-settings-modals-${t.toLowerCase()}-z-index`}getZIndex(t){const e=this.baseZIndex+s[t],r=this.layerToCssVar(t);return void 0!==r?`var(${r}, ${e})`:e}}},4194:(t,e,r)=>{"use strict";if(r.d(e,{S:()=>n}),/^(326|564)7$/.test(r.j))var o=r(60695);const n=(t,e)=>(0,o.x)(t.doc,(t=>t.attrs.id===e))},60695:(t,e,r)=>{"use strict";r.d(e,{x:()=>o});const o=(t,e)=>{const r=[];return t.descendants(((t,o)=>{e(t)&&r.push({node:t,pos:o})})),r}},39046:(t,e,r)=>{"use strict";r.d(e,{e:()=>o});const o=(t,e)=>{for(let r=t.depth;r>0;r-=1){const o=t.node(r);if(e(o))return{pos:r>0?t.before(r):0,start:t.start(r),depth:r,node:o}}}},51587:(t,e,r)=>{"use strict";r.d(e,{t:()=>s});var o=r(91338);const n={[o.AS.BULLETED_LIST]:["disc","circle","square"],[o.AS.ORDERED_LIST]:["decimal","lower-latin","lower-roman"]};function s(t,e){const r=n[e];return r?r[t%r.length]:""}},33761:(t,e,r)=>{"use strict";r.d(e,{O:()=>o});const o=t=>null!=t},93155:(t,e,r)=>{"use strict";r.d(e,{C4:()=>n,Zd:()=>s,kb:()=>o});const o=t=>`${t?.nofollow?"nofollow ":""}${t?.sponsored?"sponsored ":""}${t?.ugc?"ugc ":""}${t?.noreferrer?"noreferrer":""}`.trim(),n=t=>({nofollow:t?.includes("nofollow"),sponsored:t?.includes("sponsored"),ugc:t?.includes("ugc"),noreferrer:t?.includes("noreferrer")}),s=t=>`noopener noreferrer ${t||""}`.trim()},64804:(t,e,r)=>{"use strict";r.d(e,{p:()=>n});var o=r(88187);function n(t){return t<0?0:t>o.ll?o.ll:t}},60345:(t,e,r)=>{"use strict";r.d(e,{i:()=>h});var o=r(16252),n=r(23736),s=r(92895);const i=t=>{const e=(({type:t})=>n.fC[t])(t);return e&&e in t?t[e]:void 0};var a=r(65054);const l=t=>o.countBy(t,(t=>t.type)),c={[a.A.DIVIDER]:n.n6,[a.A.IMAGE]:n.V5,[a.A.GALLERY]:n.EU,[a.A.GIF]:n.Dr,[a.A.HTML]:n.dk,[a.A.VIDEO]:n.pE,[a.A.FILE]:n.gg,[a.A.POLL]:n.N,[a.A.COLLAPSIBLE_LIST]:n.vT,[a.A.TABLE]:n._U,[a.A.EMBED]:n.$I,[a.A.LINK_PREVIEW]:n.$I,[a.A.APP_EMBED]:n.Rx,[a.A.AUDIO]:n.W5,[a.A.BUTTON]:n.D8,[a.A.CODE_BLOCK]:n.nk,[a.A.BLOCKQUOTE]:n.kq},u={1:"header-one",2:"header-two",3:"header-three",4:"header-four",5:"header-five",6:"header-six"},d={[a.g.MENTION]:n.iZ,[a.g.LINK]:n.y1,[a.g.ANCHOR]:n.Dv},p=/\u00a9|\u00ae|[\u2000-\u3300]|\ud83c[\ud000-\udfff]|\ud83d[\ud000-\udfff]|\ud83e[\ud000-\udfff]/g;function h(t){const{nodes:e}=t,r=(0,s.o)(e??[]).filter((t=>![a.A.PARAGRAPH,a.A.TEXT,a.A.UNRECOGNIZED,a.A.COLLAPSIBLE_ITEM,a.A.COLLAPSIBLE_ITEM_BODY,a.A.COLLAPSIBLE_ITEM_TITLE,a.A.TABLE_CELL,a.A.TABLE_ROW].includes(t.type))).map((t=>{const{type:e}=t,r=i(t),o={},n=c[e]||e===a.A.HEADING&&u[r?.level];return n&&(o.type=n,r&&(o.data=r)),o})).filter((t=>!!t.type)).get(),o=(0,s.o)(e??[]).filter((t=>!!t.textData?.decorations?.some((t=>[a.g.ANCHOR,a.g.LINK,a.g.MENTION].includes(t.type))))).map((t=>{const e=t.textData?.decorations?.find((t=>d[t.type])),r={},o=e?.type&&d[e.type];return o&&(r.type=o,e&&(r.data=i(t))),r})).filter((t=>!!t.type)).get(),h=(0,s.o)(e??[]).map((({textData:t})=>t?.text||"")).get().reduce(((t,e)=>t+(e.match(p)||[]).length),0);return{pluginsCount:{...l(r),...l(o),[n.m5]:h},pluginsDetails:[...r,...o]}}},50207:(t,e,r)=>{"use strict";r.d(e,{y:()=>n});const o=["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"],n=t=>(t=>!!t&&o.includes(t.split("-|_")[0].toLowerCase()))(t)?"rtl":"ltr"},88187:(t,e,r)=>{"use strict";r.d(e,{eo:()=>n,ll:()=>s,v7:()=>o});const o={embed:"ClickEmbed",upload:"ClickUpload",cancel:"ClickCancel"},n={embed:"ClickEmbedTab",upload:"ClickUploadTab"},s=4},43541:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var o=function(t,e,o){var n=null,s=function(s){s.metaKey&&s.shiftKey&&s.altKey&&!n&&(n=function(t){2===t.detail&&(e(),o&&"undefined"!=typeof window&&Promise.all([r.e(9599),r.e(2041),r.e(5971),r.e(9324)]).then(r.bind(r,54205)).then((function(t){(0,t.applyDevTools)(o.view,{})}),(function(t){console.error("Failed to load prosemirror-dev-tools",t)})))},null==t||t.addEventListener("click",n,{capture:!0}))},i=function(e){e.metaKey&&e.shiftKey&&e.altKey||n&&(null==t||t.removeEventListener("click",n),n=null)};return document.addEventListener("keydown",s),document.addEventListener("keyup",i),function(){document.removeEventListener("keydown",s),document.removeEventListener("keyup",i),n&&(null==t||t.removeEventListener("click",n))}}},7289:(t,e,r)=>{"use strict";r.d(e,{L:()=>o});const o=r(60751).lazy((()=>Promise.all([r.e(9599),r.e(1150),r.e(5971),r.e(857)]).then(r.bind(r,51423))))},57402:(t,e,r)=>{"use strict";r.d(e,{AE:()=>f,QF:()=>g,W9:()=>A});var o=r(54009);const n="https://static.wixstatic.com",s=300,i=5,a="preload",l=750,c=20,u={small:350,fullWidth:940},d=({file_name:t,width:e,height:r}={},o=s,a=s,l=i,c)=>{if(t){const{width:s,height:i}=((t,e,r,o)=>r>t&&o>e?{width:t,height:e}:{width:r,height:o})(e,r,o,a),u=Math.ceil(i),d=Math.ceil(s),p=m(t);return`${n}/media/${t}/v1/fit/${`w_${d},h_${u},al_c,q_${l}${c?",enc_auto":""}`}/file${p}`}},p=({file_name:t,width:e,height:r}={},o,s=c,i,a)=>{if(t){const c=o||u[i||l],p=Math.min(c,e),h=(d={w:p,h:p*(r/e)},{w:Math.ceil(d.w),h:Math.ceil(d.h)}),f=`w_${h.w},h_${h.h},al_c,q_${s}${a?",enc_auto":""}`;return`${n}/media/${t}/v1/fit/${f}/file${m(t)}`}var d;return""},h=({file_name:t,width:e,height:r}={},n=s,a=s,l=i,c=!1)=>t?o.getScaleToFitImageURL(t,e,r,n,a,{quality:l,...c&&{unsharpMask:{amount:0,radius:0,threshold:0}}}):"",m=t=>{const e=/\.([0-9a-z]+)(?=[?#])|(\.)(?:[\w]+)$/i.exec(t);return e?e[0]:".jpg"},f=(t,e,r={})=>{if("object"==typeof t)if(t.source){if("static"===t.source){if(t.url)return t.url;console.error("must provide src url when using static image source!",t)}else if("custom"===t.source){if(e)return e({file_name:t.file_name});console.error("must provide getImageUrl helper when using custom image source!",t)}}else if(t.file_name){const e=((t,e,r,o,n=a,s,i)=>"preload"===n?d(t,e,r,o,i?.encAutoImageUrls):"quailtyPreload"===n?p(t,e,o,s,i?.encAutoImageUrls):h(t,e,r,o,i?.removeUsm))(t,r.requiredWidth,r.requiredHeight,r.requiredQuality,r.imageType,r.size,{removeUsm:r.removeUsm,encAutoImageUrls:r.encAutoImageUrls});return e}return t};function g(t){try{const[,e]=/media\/([^/]+)/.exec(t);return e}catch{return t}}function A(t,e,r){const n=g(t);try{return o.getScaleToFillImageURL(n,null,null,e,r,{quality:90})}catch{return t}}},75119:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var o=r(23184),n="45d02198";(()=>{var t=".Xq5na{margin-left:0;margin-right:auto;z-index:1}.Xq5na:not(.XKSNk){float:left;margin-right:40px}@supports not (contain:inline-size){@media only screen and (max-width:480px){.Xq5na:not(.XKSNk){float:none;margin-right:auto}}}@container (width < 480px){.Xq5na:not(.XKSNk){float:none;margin-right:auto}}.nGids{margin-left:auto;margin-right:0;z-index:1}.nGids:not(.XKSNk){float:right;margin-left:40px}@supports not (contain:inline-size){@media only screen and (max-width:480px){.nGids:not(.XKSNk){float:none;margin-left:auto}}}@container (width < 480px){.nGids:not(.XKSNk){float:none;margin-left:auto}}.Th6QF{clear:both;display:block}.Th6QF:not(.Hz-ef){margin-left:auto;margin-right:auto;max-width:100%}.Hz-ef,.XKSNk{width:100%}.Xr2HC .Hz-ef,.Xr2HC .XKSNk{margin:0 -8px;width:auto}.tR-Tx{width:fit-content}.redF5{margin-left:auto;margin-right:auto;max-width:100%}.-nJtC{width:min(350px,100%)!important}.Xr2HC .-nJtC{width:50%}._3jR2D{margin-left:auto;margin-right:auto}.Xr2HC ._3jR2D{width:150px}.Po-WH{display:flex}";if(!(void 0!==o&&o.env,"undefined"==typeof document||document.querySelector('style[data-ricos-style-hash="'+n+'"]'))){var e=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.setAttribute("data-ricos-style-hash",n),r.type="text/css",e.appendChild(r),r.styleSheet?r.styleSheet.cssText=t:r.appendChild(document.createTextNode(t))}})();var s={alignLeft:"Xq5na",textWrapNowrap:"XKSNk",alignRight:"nGids",alignCenter:"Th6QF",sizeFullWidth:"Hz-ef",renderedInTable:"Xr2HC",sizeOriginal:"tR-Tx",sizeContent:"redF5",sizeSmall:"-nJtC",sizeSmallCenter:"_3jR2D",flex:"Po-WH"}},65327:(t,e,r)=>{"use strict";r.d(e,{AU:()=>l,B2:()=>b,jh:()=>i});r(35323);var o=r(16307),n=(r(13669),r(70119)),s=r(22562);function i(t,e){const[r,o]=e(t);return{value:r,forest:a(o,e)}}function a(t,e){return t.map((t=>i(t,e)))}function l(t){const e=r=>t(r.value,r.forest.map(e));return e}const c=(t,e)=>(0,n.Fs)(t,T(e)),u=(t,e)=>g(t,(t=>(0,n.Fs)(e,T(t)))),d=(t,e,r)=>(0,n.Fs)(t,y(e,r)),p=t=>{const e=E(t);return(t,r)=>(0,n.Fs)(t,e(r))},h=(t,e,r)=>(0,n.Fs)(t,L(e,r)),m=(t,e)=>(0,n.Fs)(t,A(e)),f=t=>{const e=C(t);return(t,r)=>(0,n.Fs)(t,e(r))},g=(0,n.XY)(2,((t,e)=>{const{value:r,forest:n}=e(t.value);return{value:r,forest:(0,o.JI().concat)(n,t.forest.map(g(e)))}})),A=t=>e=>({value:t(e),forest:e.forest.map(A(t))}),T=t=>e=>({value:t(e.value),forest:e.forest.map(T(t))}),y=(t,e)=>r=>{let o=e(t,r.value);const s=r.forest.length;for(let t=0;te=>y(t.empty,((r,o)=>t.concat(r,e(o)))),L=(t,e)=>r=>{let o=t;for(let t=r.forest.length-1;t>=0;t--)o=(0,n.Fs)(r.forest[t],L(o,e));return e(r.value,o)},I=t=>t.value,C=t=>{const e=o.hV(t),r=o=>s=>t.ap(t.map(o(s.value),(t=>e=>({value:t,forest:e}))),(0,n.Fs)(s.forest,e(r(o))));return r},S=t=>C(t)(n.D_),O=t=>function(t,e=[]){return{value:t,forest:e}}(t),_="Tree";s.FR;const b={URI:_,map:c,of:O,ap:u,chain:g,reduce:d,foldMap:p,reduceRight:h,traverse:f,sequence:S,extract:I,extend:m}},96351:(t,e,r)=>{"use strict";r.d(e,{J2:()=>pt,My:()=>ht,Un:()=>Et});var o=r(16307),n=r(70119);const s=n.Mi;function i(t){const e=(r=t,{URI:c,_E:void 0,map:a,ap:(t,e)=>s(r.concat(t,e))});var r;return{URI:c,_E:void 0,map:e.map,ap:e.ap,of:()=>s(t.empty)}}const a=(t,e)=>(0,n.Fs)(t,l(e)),l=()=>n.Mi,c="Const";var u=r(87029),d=r(59202);r(35323);const p=n.Fs;r(13669),r(22562),r(33896),r(8920);new Map;r(97282);new Set;r(89033),r(29056),r(66005);const h=t=>A(t.get,(0,n.L3)(t.reverseGet,n.dY)),m=t=>L((0,n.L3)(t.get,d.zN),t.reverseGet),f=t=>v((0,n.L3)(t.get,d.zN),(0,n.L3)(t.reverseGet,n.dY)),g=t=>M((e=>r=>o=>e.map(r(t.get(o)),(e=>t.reverseGet(e))))),A=(t,e)=>({get:t,set:e}),T=t=>v((0,n.L3)(t.get,d.zN),t.set),y=t=>M((e=>r=>o=>e.map(r(t.get(o)),(e=>t.set(e)(o))))),E=t=>e=>A((r=>t.get(e.get(r))),(r=>o=>e.set(t.set(r)(e.get(o)))(o))),L=(t,e)=>({getOption:t,reverseGet:e}),I=t=>v(t.getOption,(e=>_(e)(t))),C=t=>M((e=>r=>o=>p(t.getOption(o),d.AU((()=>e.of(o)),(n=>e.map(r(n),(e=>_(e)(t)(o)))))))),S=t=>e=>r=>p(e.getOption(r),d.Tj((o=>{const n=t(o);return n===o?r:e.reverseGet(n)}))),O=t=>e=>{const r=S(t)(e);return t=>p(r(t),d.WL((()=>t)))},_=t=>O((()=>t)),b=t=>L(d.aN(t),n.D_),v=(t,e)=>({getOption:t,set:e}),R=t=>M((e=>r=>o=>p(t.getOption(o),d.AU((()=>e.of(o)),(n=>e.map(r(n),(e=>t.set(e)(o)))))))),w=t=>e=>r=>p(e.getOption(r),d.Tj((o=>{const n=t(o);return n===o?r:e.set(n)(r)}))),N=t=>e=>{const r=w(t)(e);return t=>p(r(t),d.WL((()=>t)))},P=t=>e=>v((0,n.L3)(e.getOption,d.cy(t.getOption)),(r=>N(t.set(r))(e))),M=t=>({modifyF:t});function F(t){return e=>M((r=>o=>e.modifyF(r)(t.modifyF(r)(o))))}const x={URI:"Identity",map:(t,e)=>e(t),of:n.D_,ap:(t,e)=>t(e)},D=t=>"Identity"===t.URI;function G(t){return()=>M((e=>{const r=D(e)?t.map:t.traverse(e);return t=>e=>r(e,t)}))}const B=h,U=m,k=f,$=g;const H=()=>A(n.D_,n.dY),W=T,j=y,Y=E,V=t=>e=>P(I(t))(T(e));const z=t=>e=>A((r=>e.get(r)[t]),(r=>o=>{const n=e.get(o);return r===n[t]?o:e.set(Object.assign({},n,{[t]:r}))(o)})),K=(...t)=>e=>A((r=>{const o=e.get(r),n={};for(const e of t)n[e]=o[e];return n}),(r=>o=>{const n=e.get(o);for(const s of t)if(r[s]!==n[s])return e.set(Object.assign({},n,r))(o);return o}));const Z=R,q=P,X=w,Q=N;const J=b,tt=I,et=C,rt=t=>e=>L((0,n.L3)(e.getOption,d.cy(t.getOption)),(0,n.L3)(t.reverseGet,e.reverseGet)),ot=t=>e=>P(T(t))(I(e));const nt=G,st=F,it=t=>e=>e.modifyF(x)(t);const at=t=>new pt(t.get,t.set),lt=t=>new ht(t.getOption,t.reverseGet),ct=t=>new ft(t.getOption,t.set),ut=t=>new gt(t.modifyF),dt=(t,e,r)=>r===t[e]?t:Object.assign({},t,{[e]:r});class pt{constructor(t,e){this.get=t,this.set=e,this._tag="Lens"}static fromPath(){const t=pt.fromProp();return e=>{const r=t(e[0]);return e.slice(1).reduce(((e,r)=>e.compose(t(r))),r)}}static fromProp(){return t=>at(p(H(),z(t)))}static fromProps(){return t=>at(p(H(),K(...t)))}static fromNullableProp(){return(t,e)=>new pt((r=>{const o=(0,d.k$)(r[t]);return(0,d.$I)(o)?e:o.value}),(e=>r=>dt(r,t,e)))}modify(t){return(t=>e=>r=>{const o=e.get(r),n=t(o);return o===n?r:e.set(n)(r)})(t)(this)}asOptional(){return ct(W(this))}asTraversal(){return ut(j(this))}asSetter(){return new yt((t=>this.modify(t)))}asGetter(){return new At((t=>this.get(t)))}asFold(){return new Tt((()=>t=>e=>t(this.get(e))))}compose(t){return at(Y(t)(this))}composeLens(t){return this.compose(t)}composeGetter(t){return this.asGetter().compose(t)}composeFold(t){return this.asFold().compose(t)}composeOptional(t){return ct(p(this,W,q(t)))}composeTraversal(t){return ut(p(this,j,st(t)))}composeSetter(t){return this.asSetter().compose(t)}composeIso(t){return at(p(this,Y(p(t,B))))}composePrism(t){return ct(V(t)(this))}}class ht{constructor(t,e){this.getOption=t,this.reverseGet=e,this._tag="Prism"}static fromPredicate(t){return lt(J(t))}static some(){return mt}modify(t){return e=>{const r=this.modifyOption(t)(e);return(0,d.$I)(r)?e:r.value}}modifyOption(t){return e=>d.uK.map(this.getOption(e),(r=>{const o=t(r);return o===r?e:this.reverseGet(o)}))}set(t){return this.modify((()=>t))}asOptional(){return ct(tt(this))}asTraversal(){return ut(et(this))}asSetter(){return new yt((t=>this.modify(t)))}asFold(){return new Tt((t=>e=>r=>{const o=this.getOption(r);return(0,d.$I)(o)?t.empty:e(o.value)}))}compose(t){return lt(rt(t)(this))}composePrism(t){return this.compose(t)}composeOptional(t){return ct(p(this,tt,q(t)))}composeTraversal(t){return ut(p(this,et,st(t)))}composeFold(t){return this.asFold().compose(t)}composeSetter(t){return this.asSetter().compose(t)}composeIso(t){return lt(p(this,rt(p(t,U))))}composeLens(t){return ct(ot(t)(this))}composeGetter(t){return this.asFold().compose(t.asFold())}}const mt=new ht(n.D_,d.zN);class ft{constructor(t,e){this.getOption=t,this.set=e,this._tag="Optional"}static fromPath(){const t=ft.fromNullableProp();return e=>{const r=t(e[0]);return e.slice(1).reduce(((e,r)=>e.compose(t(r))),r)}}static fromNullableProp(){return t=>new ft((e=>(0,d.k$)(e[t])),(e=>r=>null==r[t]?r:dt(r,t,e)))}static fromOptionProp(){const t=pt.fromProp();return e=>t(e).composePrism(mt)}modify(t){return Q(t)(this)}modifyOption(t){return X(t)(this)}asTraversal(){return ut(Z(this))}asFold(){return new Tt((t=>e=>r=>{const o=this.getOption(r);return(0,d.$I)(o)?t.empty:e(o.value)}))}asSetter(){return new yt((t=>this.modify(t)))}compose(t){return ct(q(t)(this))}composeOptional(t){return this.compose(t)}composeTraversal(t){return ut(p(this,Z,st(t)))}composeFold(t){return this.asFold().compose(t)}composeSetter(t){return this.asSetter().compose(t)}composeLens(t){return ct(p(this,q(p(t,W))))}composePrism(t){return ct(p(this,q(p(t,tt))))}composeIso(t){return ct(p(this,q(p(t,k))))}composeGetter(t){return this.asFold().compose(t.asFold())}}class gt{constructor(t){this.modifyF=t,this._tag="Traversal"}modify(t){return it(t)(this)}set(t){return(t=>it((()=>t)))(t)(this)}filter(t){return ut(function(t){return st(C(b(t)))}(t)(this))}asFold(){return new Tt((t=>e=>this.modifyF(i(t))((t=>s(e(t))))))}asSetter(){return new yt((t=>this.modify(t)))}compose(t){return ut(st(t)(this))}composeTraversal(t){return this.compose(t)}composeFold(t){return this.asFold().compose(t)}composeSetter(t){return this.asSetter().compose(t)}composeOptional(t){return this.compose(t.asTraversal())}composeLens(t){return ut(p(this,st(p(t,j))))}composePrism(t){return ut(p(this,st(p(t,et))))}composeIso(t){return ut(p(this,st(p(t,$))))}composeGetter(t){return this.asFold().compose(t.asFold())}}class At{constructor(t){this.get=t,this._tag="Getter"}asFold(){return new Tt((()=>t=>e=>t(this.get(e))))}compose(t){return new At((e=>t.get(this.get(e))))}composeGetter(t){return this.compose(t)}composeFold(t){return this.asFold().compose(t)}composeLens(t){return this.compose(t.asGetter())}composeIso(t){return this.compose(t.asGetter())}composeTraversal(t){return this.asFold().compose(t.asFold())}composeOptional(t){return this.asFold().compose(t.asFold())}composePrism(t){return this.asFold().compose(t.asFold())}}class Tt{constructor(t){this.foldMap=t,this._tag="Fold",this.getAll=t(o.JI())(o.of),this.exist=t(u.Hw),this.all=t(u.s2),this.foldMapFirst=t((0,d.te)())}compose(t){return new Tt((e=>r=>this.foldMap(e)(t.foldMap(e)(r))))}composeFold(t){return this.compose(t)}composeGetter(t){return this.compose(t.asFold())}composeTraversal(t){return this.compose(t.asFold())}composeOptional(t){return this.compose(t.asFold())}composeLens(t){return this.compose(t.asFold())}composePrism(t){return this.compose(t.asFold())}composeIso(t){return this.compose(t.asFold())}find(t){return this.foldMapFirst((0,d.aN)(t))}headOption(t){return this.find((()=>!0))(t)}}class yt{constructor(t){this.modify=t,this._tag="Setter"}set(t){return this.modify((0,n.dY)(t))}compose(t){return new yt((e=>this.modify(t.modify(e))))}composeSetter(t){return this.compose(t)}composeTraversal(t){return this.compose(t.asSetter())}composeOptional(t){return this.compose(t.asSetter())}composeLens(t){return this.compose(t.asSetter())}composePrism(t){return this.compose(t.asSetter())}composeIso(t){return this.compose(t.asSetter())}}function Et(t){const e=nt(t);return()=>ut(e())}}}]); //# sourceMappingURL=4647.chunk.min.js.map