1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4557],{96121:function(n,t,e){e.d(t,{Hl:function(){return s},JB:function(){return d},P_:function(){return l},Wf:function(){return u},ek:function(){return a},n3:function(){return c},po:function(){return i},zu:function(){return f}});var r=e(38724),o=e(80238);let i=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.U2)(o.aO,n)},l=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.U2)(o.$p,n)},a=n=>(0,r.v_)("".concat(o.Dy),n),s=n=>(0,r.v_)("".concat(o.Ki),n),c=n=>(0,r.v_)("".concat(o.Nb),n),d=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return(0,r.U2)(o.tX,n)},u=function(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,r.U2)("".concat(o.dI).concat(n),t)},f=function(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,r.U2)("".concat(o.B5).concat(n),t)}},33227:function(n,t,e){e.d(t,{Z:function(){return L}});var r=e(85893),o=e(67294),i=e(45697),l=e.n(i),a=e(9008),s=e.n(a),c=e(64020),d=e(14027),u=e(25500),f=e(98294),p=e(4112),m=e(25490),h=e(28689),g=e(32692),b=e(52015);function x(){let n=(0,g.Z)(["\n border: 1px solid\n ",";\n border-radius: 5px 5px 0 0;\n background-color: var(--bg-white);\n\n .ql-font {\n width: 130px !important;\n }\n /* Set dropdown font-families */\n .ql-font span[data-value='arial']::before,\n .ql-font span[data-label='Arial']::before {\n font-family: 'Arial';\n }\n .ql-font span[data-value='courier']::before,\n .ql-font span[data-label='Courier']::before {\n font-family: 'Courier';\n }\n\n .ql-font span[data-value='serif']::before,\n .ql-font span[data-label='Serif']::before {\n font-family: serif;\n }\n .ql-font span[data-value='sans-serif']::before,\n .ql-font span[data-label='Sans Serif']::before {\n font-family: sans-serif;\n }\n .ql-font span[data-value='monospace']::before,\n .ql-font span[data-label='Monospace']::before {\n font-family: monospace;\n }\n\n .ql-font-arial {\n font-family: 'Arial';\n }\n .ql-font-courier {\n font-family: 'Courier';\n }\n\n .ql-font-serif {\n font-family: serif;\n }\n .ql-font-sans-serif {\n font-family: sans-serif;\n }\n .ql-font-monospace {\n font-family: monospace;\n }\n\n .ql-size {\n width: 30px;\n margin-left: 5px;\n }\n\n .fullscreen-button {\n transform: rotate(45deg);\n margin-left: 5px !important;\n margin-bottom: 2px;\n }\n\n .ql-align,\n .ql-strike,\n .ql-clean {\n border-right: 1px solid #ddd !important;\n padding-right: 2px !important;\n width: 30px !important;\n }\n\n .ql-picker-options {\n max-height: 200px;\n overflow: auto;\n }\n\n .ql-picker,\n .ql-picker-label {\n border-radius: 5px;\n border: 1px solid #eee;\n }\n\n .ql-picker-label,\n .ql-picker-label svg {\n color: #000 !important;\n\n .ql-stroke {\n stroke: #000 !important;\n }\n }\n\n .ql-color-picker,\n .ql-align {\n border: none !important;\n border-radius: 0px;\n }\n\n .ql-background {\n border-right: 1px solid #ddd !important;\n }\n\n .ql-link {\n border-left: 1px solid #ddd !important;\n }\n"]);return x=function(){return n},n}let y=b.default.div.withConfig({displayName:"CustomToolbar.styles__CustomToolbarContainer",componentId:"sc-82a1be98-0"})(x(),n=>{let{error:t,readOnly:e}=n;return t?"var(--danger) !important":e?"transparent !important":"#eee !important"}),v=["size","background","color","font","bold","italic","underline","strike","blockquote","align","list","bullet","indent","link","header","script","direction","code-block"];var w=function(n){let{onFullScreenClick:t,id:e}=n;return(0,r.jsxs)(y,{className:"ql-toolbar",id:e,children:[(0,r.jsxs)("select",{className:"ql-font",children:[(0,r.jsx)("option",{value:"arial",selected:!0,children:"Arial"}),(0,r.jsx)("option",{value:"courier",children:"Courier"}),(0,r.jsx)("option",{value:"serif",children:"Serif"}),(0,r.jsx)("option",{value:"sans-serif",children:"Sans Serif"}),(0,r.jsx)("option",{value:"monospace",children:"Monospace"})]}),(0,r.jsx)("select",{className:"ql-size",children:[...Array(32)].map((n,t)=>(0,r.jsx)("option",{selected:t+8===14,value:"".concat(t+8,"px"),children:t+8}))}),(0,r.jsx)("button",{type:"button",className:"ql-bold"}),(0,r.jsx)("button",{type:"button",className:"ql-italic"}),(0,r.jsx)("button",{type:"button",className:"ql-underline"}),(0,r.jsx)("button",{type:"button",className:"ql-strike"}),(0,r.jsx)("select",{className:"ql-color"}),(0,r.jsx)("select",{className:"ql-background"}),(0,r.jsx)("select",{className:"ql-align"}),(0,r.jsx)("button",{type:"button",className:"ql-list",value:"ordered"}),(0,r.jsx)("button",{type:"button",className:"ql-list",value:"bullet"}),(0,r.jsx)("button",{type:"button",className:"ql-link"}),(0,r.jsx)("button",{type:"button",className:"ql-clean"}),(0,r.jsx)("button",{type:"button",onClick:t,className:"fullscreen-button ab-icons",children:"move"})]})},q=e(5152),k=e.n(q);function N(){let n=(0,g.Z)(["\n border: 1px solid\n ",";\n border-radius: 0 0 5px 5px;\n background-color: var(--bg-white);\n\n border-top: none !important;
1\n & + .error-message {\n align-items: flex-start;\n padding-top: 14px;\n .ab-icons {\n top: 2px;\n position: relative;\n }\n }\n .ql-editor {\n resize: vertical;\n font-size: ",";\n line-height: 1.3;\n overflow-y: auto;\n /* font-family: Inter, sans-serif; //Arial, Helvetica, sans-serif; */\n font-family: ",";\n background: ",";\n height: ",";\n min-height: ",";\n &::before {\n font-size: 14px;\n color: rgba(0, 0, 0, 0.2) !important;\n font-style: normal !important;\n font-weight: var(--font-weight-medium) !important;\n }\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n h7 {\n font-size: unset;\n font-weight: unset;\n }\n a {\n color: var(--secondary);\n }\n }\n\n ul,\n ol {\n padding-left: 10px !important;\n }\n\n .ql-indent-1 {\n padding-left: 40px !important;\n }\n\n &.full-screen .ql-editor {\n resize: none;\n height: 100%;\n min-height: 800px;\n max-height: 90vh;\n }\n\n .ql-toolbar {\n display: ",";\n text-align: left;\n &.ql-snow {\n border: 1px solid\n ",";\n }\n }\n\n .ql-container {\n /* font-size: 14px !important; */\n font-family: var(--font-family);\n }\n .ql-container.ql-snow {\n border-color: var(--border-color);\n border: none;\n }\n\n &.readOnly {\n .ql-editor {\n resize: none !important;\n }\n }\n\n &.dynamicReadOnly {\n border: none !important;\n background: none !important;\n\n .ql-toolbar {\n display: none !important;\n }\n\n .ql-editor {\n background: none !important;\n resize: none;\n overflow-y: auto;\n pointer-events: none;\n }\n }\n\n .ql-header {\n margin-left: 5px !important;\n }\n\n &.floating-menu {\n position: relative;\n\n .ql-toolbar:not(.isFullScreen) {\n position: absolute;\n top: -45px;\n left: -5px;\n z-index: 50;\n border: 1px solid #ddd;\n width: 610px !important;\n border-radius: 7px;\n padding: 4px 5px;\n }\n\n .ql-editor {\n min-height: 120px;\n }\n }\n\n &.show-toolbar {\n .ql-toolbar {\n display: block;\n text-align: left;\n }\n }\n\n &.hide-toolbar {\n .ql-toolbar {\n display: none;\n }\n }\n"]);return N=function(){return n},n}function _(){let n=(0,g.Z)(["\n .ql-toolbar.ql-snow {\n border-color: "," !important;\n border-bottom: none;\n position: relative;\n button.close-fullScreen {\n display: flex;\n align-items: center;\n gap: 5px;\n width: fit-content;\n position: absolute;\n right: 10px;\n color: var(--text-color-60);\n &:hover {\n color: var(--danger);\n }\n }\n }\n &.dynamicReadOnly {\n border: none !important;\n background: none !important;\n\n .ql-toolbar {\n display: none !important;\n }\n\n .ql-editor {\n background: none !important;\n resize: none;\n overflow-y: auto;\n pointer-events: none;\n }\n }\n\n &.floating-menu {\n position: relative;\n\n .ql-toolbar:not(.isFullScreen) {\n position: absolute;\n top: -45px;\n left: -5px;\n z-index: 50;\n border: 1px solid #ddd;\n width: 610px !important;\n border-radius: 7px;\n padding: 4px 5px;\n }\n\n .ql-editor {\n min-height: 120px;\n }\n }\n\n &.show-toolbar {\n .ql-toolbar {\n display: block;\n text-align: left;\n }\n }\n\n &.hide-toolbar {\n .ql-toolbar {\n display: none;\n }\n }\n"]);return _=function(){return n},n}function S(){let n=(0,g.Z)(["\n position: fixed;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n z-index: 9991;\n background-color: rgba(2, 12, 39, 0.7);\n padding: 20px;\n > div {\n height: 100%;\n }\n .ql-editor {\n resize: none;\n height: 100%;\n min-height: 100%;\n max-height: 100%;\n }\n .EditorQuill {\n height: calc(100% - 44px);\n }\n "]);return S=function(){return n},n}function j(){let n=(0,g.Z)(["\n position: relative;\n ","\n"]);return j=function(){return n},n}e(58514);let E=k()(async()=>{let{default:n}=await Promise.resolve().then(e.t.bind(e,71167,23));return function(t){let{forwardedRef:e,...o}=t;return(0,r.jsx)(n,{ref:e,...o})}},{loadableGenerated:{webpack:()=>[71167]},ssr:!1}),C=(0,b.default)(E).withConfig({displayName:"EditorQuill.styles__StyledEditorQuill",componentId:"sc-516cb0e3-0"})(N(),n=>{let{error:t,readOnly:e}=n;return t?"var(--danger)":e?"transparent":"var(--border-color)"},n=>{let{$defaultFontSize:t}=n;return t?"".concat(t,"px"):"16px"},n=>{let{$customFonts:t}=n;return t||"Arial, Helvetica, sans-serif"},n=>
1{let{$editorBackground:t}=n;return t||""},n=>{let{height:t}=n;return"fit-content"===t?"200px":"unset"},n=>{let{height:t}=n;return("fit-content"===t?"unset":t&&"".concat(t-43,"px"))||"200px"},n=>{let{readOnly:t}=n;return t&&"none"},n=>{let{error:t,readOnly:e}=n;return t?"var(--danger)":e?"transparent":"var(--border-color)"}),z=b.default.div.withConfig({displayName:"EditorQuill.styles__QuillContainerWrapper",componentId:"sc-516cb0e3-1"})(_(),n=>{let{error:t,readOnly:e}=n;return t?"var(--danger)":e?"transparent":"var(--border-color)"}),A=b.default.div.withConfig({displayName:"EditorQuill.styles__EditorQuillWrapper",componentId:"sc-516cb0e3-2"})(j(),n=>{let{fullScreen:t}=n;return t&&(0,b.css)(S())}),Z=(0,o.forwardRef)((n,t)=>{let{editorBackground:i,dynamicReadOnly:l,label:a,margin:g,height:b,error:x,placeholder:y="Write description...",readOnly:q,floating:k=!1,labelIcon:N,onlyExternal:_=!1,defaultFontSize:S=16,handleClick:j,customFonts:E=!0,useDefaultStylesOnSpan:Z=!1,...L}=n,W=e(71167),{LinkElements:T,contentBuilderMenuOpen:$,isLinkMenuOpen:I}=(0,m.H)(),H=null==W?void 0:W.Quill,F=(0,o.useRef)(),O=(0,o.useRef)(),[P,R]=(0,o.useState)(!1),[D,B]=(0,o.useState)(!1),[Q,M]=(0,o.useState)(null),[V,G]=(0,o.useState)(!1),[U,J]=(0,o.useState)(null),X=(0,o.useRef)(null),[K,Y]=(0,o.useState)(null);async function nn(){let n=await (0,f.D1)(6,"random_");M(n)}if((0,o.useEffect)(()=>{let n=n=>{G(n)},t=()=>{if(O.current){n(O.current);return}setTimeout(t,200)};t()},[O]),(0,o.useEffect)(()=>{nn()},[]),(0,p.Z)(F,()=>{R(!1)}),H){let n=H.import("attributors/style/size"),t=H.import("attributors/style/font"),e=H.import("attributors/style/align");t.whitelist=["arial","inter","courier","serif","sans-serif","monospace"],n.whitelist=[...Array(32)].map((n,t)=>"".concat(t+8,"px")),H.register(n,!0),H.register(t,!0),H.register(e,!0);let r=H.import("blots/block");r.tagName="DIV",H.register(r,!0)}let nt=()=>{let n=F.current;if(n){let t=n.querySelectorAll(".ql-editor ul, .ql-editor ol"),e=n.querySelectorAll(".ql-editor > div"),r=n.querySelectorAll(".ql-editor li");r.forEach(n=>{n.style.margin="0 0 0 20px",n.style.padding="0"}),t.forEach(n=>{n.style.padding="0 0 0 20px",n.style.margin="0"}),e.forEach(n=>{n.style.lineHeight="1.4"})}};(0,o.useEffect)(()=>{nt()},[L.value]),(0,o.useEffect)(()=>{let n=()=>{let n=V.getEditor();if(n){let t=n.getSelection(),[e]=n.getLeaf((null==t?void 0:t.index)||U),r=e&&e.parent.domNode;if(J(t),r){let n=r.tagName.toLowerCase().trim();if("a"===n){let n=r.getAttribute("href"),t=r.getAttribute("target");Y({directLink:{externalLink:n,url:n,file:null,isExternal:!0,isFile:!1,newWindow:"_blank"===t},isDirectLink:!0,libraryLinkID:null})}}else Y(null)}};!V||q||l||V.getEditor().on("selection-change",n)},[V,U,K]),(0,o.useEffect)(()=>{I||(J(null),Y(null))},[I]);let ne=()=>{let n=window.getSelection();if(n&&n.rangeCount>0){let t=n.getRangeAt(0),{commonAncestorContainer:e}=t,r=e.nodeType===Node.TEXT_NODE?e.parentNode:e;return r}return null};(0,o.useEffect)(()=>{let n=ne();if(n){let t=n.tagName.toLowerCase().trim();"a"!==t&&Y(null)}},[U]);let nr=()=>{try{let n=V.getEditor(),[t,e]=n.getLeaf(U.index),r=t.domNode,o=document.createRange();o.setStart(r,e),o.setEnd(r,e+U.length);let i=document.createElement("span");i.style.backgroundColor="#b5d6ed",X.current=i,o.surroundContents(i)}catch(n){console.error("error: ",n)}};(0,o.useEffect)(()=>{X.current&&!$&&X.current&&(!function(n){let t=n.parentNode;if(t){for(;n.firstChild;)t.insertBefore(n.firstChild,n);t.removeChild(n)}}(X.current),X.current=null)},[$,X]);let no=(0,r.jsxs)(c.dS,{className:"StyledFormGroup",$margin:g,ref:F,onClick:j,children:[(0,r.jsx)(s(),{children:(0,r.jsx)("link",{rel:"stylesheet",href:"//cdn.quilljs.com/1.3.6/quill.bubble.css"})}),a&&(0,r.jsx)(d.Z,{labelIcon:N,children:a}),Q?(0,r.jsxs)(A,{fullScreen:D,className:"EditorQuillWrapper",children:[(0,r.jsxs)(z,{error:x,className:"".concat(k?"floating-menu":""," ").concat(k?P?"show-toolbar":"hide-toolbar":""),children:[q||l?null:(0,r.jsx)(w,{id:Q,onFullScreenClick:()=>void(D?(B(!1),document.body.classList.remove("modal-open")):(B(!0),document.body.classList.add("modal-open"))),insertLink:function(n){let t=T.find(t=>{var e,r;return(null===(e=t.id)||void 0===e?void 0:e.toString())===(null===(r=n.libraryLinkID)||void 0===r?void 0:r.toString())}),e=V.getEditor();if(V&&(n.libraryLinkID||n.isDirectLink)){let o="",i="_blank";
1if(!n.isDirectLink&&n.libraryLinkID&&(o=null==t?void 0:t.url,i=(null==t?void 0:t.newWindow)?"_blank":"_parent"),n.isDirectLink){var r;o=n.directLink.url,i=(null===(r=n.directLink)||void 0===r?void 0:r.newWindow)?"_blank":"_parent"}if(U&&U.length>0)!function(n){let t=n.getContents(U.index,U.length),e=0;t.ops.forEach(t=>{t.attributes&&t.attributes.link&&n.formatText(U.index+e,t.insert.length,"link",!1),e+=t.insert.length})}(e,U),e.formatText(U.index,U.length,"link",o),setTimeout(()=>{!function(n,t,e){let r=n.container.querySelector(".ql-editor"),o=Array.from(r.getElementsByTagName("a")),i=new URL(t,window.location.href).href;o.forEach(n=>{n.href===i&&(n.target=e)})}(e,o,i)},100);else if(X.current&&!U){let n=document.createRange();n.selectNodeContents(X.current);let t=X.current.innerHTML;X.current.outerHTML='<a href="'.concat(o,'" target="').concat(i,'">').concat(t,"</a>"),X.current=null}else{let n=e.getSelection(!0);e.insertText(n.index," Link ","link",o)}}},linkAttrs:K,onlyExternal:_,defaultFontSize:S,isFullScreen:D,customFonts:E}),(0,r.jsx)(C,{$defaultFontSize:S,$editorBackground:i,$customFonts:E?"var(--font-family-body)":"Arial, Helvetica, sans-serif",className:"EditorQuill ".concat(l?"dynamicReadOnly":""," ").concat(q?"readOnly":""," "),modules:q||l?{}:{toolbar:{container:"#".concat(Q)}},formats:v,placeholder:l||q?"":y,height:b,ref:t,forwardedRef:O,error:x,readOnly:q,preserveWhitespace:!0,...L,value:Z?function(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"inter",e=new DOMParser,r=e.parseFromString(n,"text/html"),o=r.querySelectorAll("p, li, div, ul, ol");return o.forEach(n=>{Array.from(n.childNodes).forEach(n=>{"SPAN"!==n.tagName&&"STRONG"!==n.tagName||n.style.fontFamily||(n.style.fontFamily=t),"SPAN"!==n.tagName&&"STRONG"!==n.tagName||n.style.fontSize||(n.style.fontSize=S)});let e=Array.from(n.childNodes).every(n=>3===n.nodeType);if(e){let e=document.createElement("span");e.style.fontSize=S,e.style.fontFamily=t,Array.from(n.childNodes).forEach(n=>{e.appendChild(n.cloneNode(!0))}),n.innerHTML="",n.appendChild(e)}}),r.body.innerHTML}(L.value,"arial"):L.value,onFocus:()=>{R(!0)},onBlur:()=>{V&&U&&U.length>0&&$&&nr()}})]}),x&&(0,r.jsx)(u.Z,{id:"".concat(L.name,"Error"),role:"alert",children:x})]}):null]});return D?(0,r.jsx)(h.Z,{id:"#modal-portal",children:no}):no});Z.propTypes={label:l().string,margin:l().string,height:l().string,error:l().string};var L=Z},57534:function(n,t,e){e.d(t,{Z:function(){return u}});var r=e(85893),o=e(45697),i=e.n(o),l=e(32692),a=e(52015);function s(){let n=(0,l.Z)(["\n max-height: ",";\n min-height: ",";\n overflow-y: ",";\n"]);return s=function(){return n},n}let c=a.default.div.withConfig({displayName:"ScrollableArea.styles__StyledScrollableArea",componentId:"sc-3cb0737f-0"})(s(),n=>{let{height:t}=n;return t&&"".concat(t,"px")},n=>{let{minHeight:t}=n;return t&&"".concat(t,"px")},n=>{let{height:t,minHeight:e}=n;return(t||e)&&"auto"});function d(n){let{children:t,height:e,minHeight:o,...i}=n;return(0,r.jsx)(c,{className:"StyledScrollableArea ".concat(i.className),height:e,minHeight:o,...i,children:t})}d.propTypes={children:i().node,height:i().number};var u=d},83384:function(n,t,e){e.d(t,{Z:function(){return _}});var r=e(32692),o=e(85893),i=e(52015),l=e(45697),a=e.n(l),s=e(67294),c=e(22004),d=e.n(c);function u(){let n=(0,r.Z)(["\n position: relative;\n overflow: hidden;\n border-radius: ",";\n //8px;\n"]);return u=function(){return n},n}function f(){let n=(0,r.Z)(["\n width: 100%;\n height: 100%;\n background: ",";\n"]);return f=function(){return n},n}function p(){let n=(0,r.Z)(["\n width: 30px;\n height: 30px;\n\n .ab-icons {\n font-size: 12px;\n margin-left: 3px;\n }\n "]);return p=function(){return n},n}function m(){let n=(0,r.Z)(["\n width: 40px;\n height: 40px;\n\n .ab-icons {\n font-size: 16px;\n margin-left: 5px;\n }\n "]);return m=function(){return n},n}function h(){let n=(0,r.Z)(["\n width: 50px;\n height: 50px;\n\n .ab-icons {\n font-size: 20px;\n margin-left: 5px;\n }\n "]);return h=function(){return n},n}function g(){let n=(0,r.Z)(["\n width: 60px;\n height: 60px;\n\n .ab-icons {\n font-size: 24px;\n margin-left: 7px;\n }\n "]);return g=function(){return n},n}function b(){let n=(0,r.Z)(["\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n margin: auto;\n z-index: 10;\n width: 60px;\n height: 60px;\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n background: var(--bg-white);\n\n .ab-icons {\n font-size: 22px;\n margin-left: 5px;\n }\n\n ","\n\n ","\n\n ","\n\n ","\n"]);return b=function(){return n},n}let x=i.default.div.withConfig({displayName:"Video.styles__StyledPlayerContainer",componentId:"sc-4979a8da-0"})(u(),n=>
1{let{$radius:t}=n;return t?"".concat(t,"px"):"8px"}),y=(0,i.default)(d()).withConfig({displayName:"Video.styles__StyledPlayer",componentId:"sc-4979a8da-1"})(f(),n=>{let{$backgroundColor:t}=n;return t||""}),v=i.default.button.withConfig({displayName:"Video.styles__PlayButton",componentId:"sc-4979a8da-2"})(b(),n=>{let{$size:t}=n;return"xs"===t&&(0,i.css)(p())},n=>{let{$size:t}=n;return"sm"===t&&(0,i.css)(m())},n=>{let{$size:t}=n;return"md"===t&&(0,i.css)(h())},n=>{let{$size:t}=n;return"lg"===t&&(0,i.css)(g())});function w(){let n=(0,r.Z)([void 0,void 0]);return w=function(){return n},n}function q(){let n=(0,r.Z)(["\n video {\n opacity: ","%;\n filter: contrast(","%) brightness(","%)\n grayscale(","%) blur(","px);\n }\n "]);return q=function(){return n},n}function k(){let n=(0,r.Z)(["\n color: ",";\n "]);return k=function(){return n},n}let N=(0,s.forwardRef)((n,t)=>{var e;let{muted:r=!0,autoplay:i=!0,controls:l=!0,width:a="100%",height:c="100%",src:d,loop:u=!1,showPlayButton:f=!0,playButtonSize:p="sm",customStyles:m={},styles:h={},disablePause:g=!1,radius:b,backgroundColor:x="#5c5954",playButtonStyles:v=null,...w}=n,[q,k]=(0,s.useState)(i);return(0,o.jsxs)(j,{className:"StdPlayerContainer",style:{width:a,height:c,customStyles:m},$radius:b,onClick:n=>
1{n.stopPropagation(),n.preventDefault(),l||!q||g||k(!1)},$_css3:(null==h?void 0:h.opacity)||100,$_css4:(null==h?void 0:h.contrast)||100,$_css5:(null==h?void 0:h.brightness)||100,$_css6:(null==h?void 0:h.grayscale)||0,$_css7:(null==h?void 0:h.blur)||0,children:[(0,o.jsx)(y,{className:"styled-video-player",width:a,height:c,ref:t,url:d,loop:u,playing:q,controls:l,muted:r,onPlay:()=>k(!0),onPause:()=>k(!1),$backgroundColor:x,...w}),!f||q||g?null:(0,o.jsx)(S,{$size:v?null:p,onClick:n=>{n.stopPropagation(),n.preventDefault(),k(!0)},$_css2:v?"\n background: ".concat((null==v?void 0:v.background)||"#ffffff",";\n border-radius: ").concat((null==v?void 0:v.borderRadius)||100,"px;\n width: ").concat((null==v?void 0:v.size)||60,"px;\n height: ").concat((null==v?void 0:v.size)||60,"px;\n .ab-icons {\n font-size: ").concat(parseInt(null==v?void 0:v.size,10)/2.5,"px !important;\n margin-left:3px;\n }\n "):"",children:(0,o.jsx)(E,{className:"ab-icons",$_css:(null==v?void 0:v.iconColor)||"#4b6df3",children:v?null==v?void 0:null===(e=v.icon)||void 0===e?void 0:e.icon:"arrow_right_bold"})})]})});N.propTypes={src:a().string,playButtonSize:a().oneOf(["xs","sm","md","lg"]),muted:a().bool,showPlayButton:a().bool,autoplay:a().bool,controls:a().bool,width:a().oneOfType([a().string,a().number]),height:a().oneOfType([a().string,a().number]),radius:a().oneOfType([a().string,a().number])};var _=N,S=(0,i.default)(v).withConfig({displayName:"Video___StyledPlayButton",componentId:"sc-94559f26-0"})(w(),n=>n.$_css2),j=(0,i.default)(x).withConfig({displayName:"Video___StyledStyledPlayerContainer",componentId:"sc-94559f26-1"})(q(),n=>n.$_css3,n=>n.$_css4,n=>n.$_css5,n=>n.$_css6,n=>n.$_css7),E=(0,i.default)("span").withConfig({displayName:"Video___StyledSpan",componentId:"sc-94559f26-2"})(k(),n=>n.$_css)},65346:function(n,t,e){var r=e(85893),o=e(67294);t.Z=function(n){let{url:t,style:e={},attrs:i={}}=n,[l,a]=(0,o.useState)(!0),s=()=>{a(!1)};return(0,o.useEffect)(()=>{a(!1)},[t]),(0,r.jsx)("div",{style:{position:"relative",width:"100%",height:"100%",background:"#ffffff",...e},children:(0,r.jsx)("iframe",{src:t,title:t,onLoad:s,style:{width:"100%",height:"100%",border:"none",display:l?"none":"block"},allowFullScreen:!0,loading:"lazy",referrerPolicy:"no-referrer-when-downgrade",...i},t)})}},78827:function(n,t,e){e.d(t,{Fq:function(){return a},Gd:function(){return l},eu:function(){return o},fG:function(){return i}});var r=e(53416);function o(n){if(!n)return{type:"empty",html:"",sections:[]};if("object"==typeof n){let t=Array.isArray(null==n?void 0:n.sections)?n.sections:[];return t.length?{type:"sections",html:"",sections:t}:{type:"empty",html:"",sections:[]}}if("string"!=typeof n)return{type:"empty",html:"",sections:[]};let t=n.trim();if(!t)return{type:"empty",html:"",sections:[]};try{let n=JSON.parse(t);if(n&&"object"==typeof n&&Array.isArray(null==n?void 0:n.sections))return{type:"sections",html:"",sections:n.sections};if("string"==typeof n){let t=n.trim();if(t)try{let n=JSON.parse(t);if(n&&"object"==typeof n&&Array.isArray(null==n?void 0:n.sections))return{type:"sections",html:"",sections:n.sections}}catch(n){}return{type:"html",html:n,sections:[]}}}catch(n){}return/<\/?[a-z][\s\S]*>/i.test(t)?{type:"html",html:t,sections:[]}:{type:"text",html:t,sections:[]}}function i(n){let t=o(n);return"sections"===t.type?function(n){if(!Array.isArray(n)||!n.length)return"";let t=[];return n.forEach(n=>{((null==n?void 0:n.columns)||[]).forEach(n=>{var e,r;(null==n?void 0:null===(e=n.element)||void 0===e?void 0:e.type)==="Text"&&"string"==typeof(null==n?void 0:null===(r=n.element)||void 0===r?void 0:r.text)&&t.push(n.element.text)})}),t.join("")||""}(t.sections):("html"===t.type||"text"===t.type)&&t.html||""}function l(n){let t=o(n);return"sections"===t.type?function(n){if(!Array.isArray(n)||!n.length)return"";let t=n.flatMap(n=>(null==n?void 0:n.columns)||[]).map(n=>null==n?void 0:n.element).find(n=>(null==n?void 0:n.type)==="Text"&&"string"==typeof(null==n?void 0:n.text)&&n.text.trim());return(null==t?void 0:t.text)||""}(t.sections):("html"===t.type||"text"===t.type)&&t.html||""}
1function a(n){return{sections:function(n){let t=o(n);if("sections"===t.type&&Array.isArray(t.sections)&&t.sections.length>0)return t.sections;let e=t.html||("string"==typeof n?n:"")||"",i=(0,r.x0)(),l=(0,r.x0)();return[{id:i,columns:[{width:12,element:{id:l,type:"Text",text:e}}]}]}(n)}}},20114:function(n,t,e){e.d(t,{t:function(){return m},L:function(){return p}});var r=e(85893),o=e(7423),i={src:"/_next/static/media/icon-pdf.7a95d52a.svg",height:512,width:512,blurWidth:0,blurHeight:0},l={src:"/_next/static/media/icon-video.04d6ed13.svg",height:512,width:512,blurWidth:0,blurHeight:0},a={src:"/_next/static/media/icon-audio.771bc496.svg",height:512,width:512,blurWidth:0,blurHeight:0},s={src:"/_next/static/media/icon-file.a123ba2a.svg",height:512,width:512,blurWidth:0,blurHeight:0},c={src:"/_next/static/media/icon-zip.46a3072a.svg",height:512,width:512,blurWidth:0,blurHeight:0},d={src:"/_next/static/media/icon-doc.7cbb32e2.svg",height:512,width:512,blurWidth:0,blurHeight:0},u={src:"/_next/static/media/icon-xls.730533d7.svg",height:512,width:512,blurWidth:0,blurHeight:0},f={src:"/_next/static/media/icon-txt.6448b46b.svg",height:512,width:512,blurWidth:0,blurHeight:0};let p=function(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"file_type_icon",e=arguments.length>2&&void 0!==arguments[2]&&arguments[2],p=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return(null==n?void 0:n.startsWith("image/"))?p?(0,r.jsx)(o.Z,{height:30,width:30,src:e,alt:"img icon",className:t}):null:(null==n?void 0:n.startsWith("application/pdf"))?e?i:(0,r.jsx)(o.Z,{src:i,alt:"pdf icon",className:t}):(null==n?void 0:n.startsWith("video/"))?e?l:(0,r.jsx)(o.Z,{src:l,alt:"video icon",className:t}):(null==n?void 0:n.startsWith("audio/"))?e?a:(0,r.jsx)(o.Z,{src:a,alt:"audio icon",className:t}):(null==n?void 0:n.startsWith("text/plain"))?e?f:(0,r.jsx)(o.Z,{src:f,alt:"audio icon",className:t}):(null==n?void 0:n.startsWith("application/x-zip-compressed"))||(null==n?void 0:n.startsWith("application/zip"))?e?c:(0,r.jsx)(o.Z,{src:c,alt:"zip icon",className:t}):(null==n?void 0:n.startsWith("application/vnd.openxmlformats-officedocument.wordprocessingml.document"))||(null==n?void 0:n.startsWith("application/msword"))?e?d:(0,r.jsx)(o.Z,{src:d,alt:"doc icon",className:t}):(null==n?void 0:n.startsWith("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"))||(null==n?void 0:n.startsWith("application/vnd.ms-excel"))?e?u:(0,r.jsx)(o.Z,{src:u,alt:"xls icon",className:t}):e?s:(0,r.jsx)(o.Z,{src:s,alt:"file icon",className:t})},m=function(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"file_type_icon",e=null==n?void 0:n.toLowerCase(),p=(0,r.jsx)(o.Z,{className:t,alt:"".concat(n," icon"),src:{jpg:s,jpeg:s,png:s,gif:s,tiff:s,bmp:s,webp:s,raw:s,svg:s,heif:s,eps:s,ico:s,tga:s,cr2:s,nef:s,arw:s,pdf:i,mp4:l,avi:l,mp3:a,wav:a,zip:c,doc:d,docx:d,xls:u,xlsx:u,txt:f}[e]||s});return p}},4112:function(n,t,e){var r=e(67294);t.Z=function(n,t){(0,r.useEffect)(()=>{let e=e=>{!n.current||n.current.contains(e.target)||t(e)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}},[n,t])}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.