1"use strict";(globalThis.webpackChunkomc_ui_2_0||=[]).push([[6878],{36878(o,e,t){t.r(e),t.d(e,{default:()=>to});var i=t(9950),r=t(48661),n=t(59418),l=t.n(n),a=t(87946),s=t.n(a),d=t(29172),c=t(96401),h=t(56943),u=t(42087),p=t(88858),v=t(14491),g=t(44414);const x=v.Ay.div` 2 display: flex; 3 background-color: var(--white-color); 4 width: 100%; 5 padding: 16px; 6 border-radius: 10px; 7 margin-top: 16px; 8 height: 55vh; 9`,w=o=>(0,g.jsxs)(p.Ay,{speed:5,width:"100%",...o,children:[(0,g.jsx)("rect",{x:"0",y:"0",rx:"2",ry:"2",width:"15%",height:"13%"}),(0,g.jsx)("rect",{x:"16%",y:"0",rx:"2",ry:"2",width:"15%",height:"13%"}),(0,g.jsx)("rect",{x:"79%",y:"0",rx:"20",ry:"20",width:"10%",height:"13%"}),(0,g.jsx)("rect",{x:"90%",y:"0",rx:"20",ry:"20",width:"10%",height:"13%"}),(0,g.jsx)("rect",{x:"0",y:"16%",rx:"2",ry:"2",width:"48%",height:"4%"}),(0,g.jsx)("rect",{x:"0",y:"24%",rx:"2",ry:"2",width:"18%",height:"4%"}),(0,g.jsx)("circle",{cx:"3%",cy:"40%",r:"4%"}),(0,g.jsx)("circle",{cx:"10%",cy:"40%",r:"4%"}),(0,g.jsx)("circle",{cx:"17%",cy:"40%",r:"4%"}),(0,g.jsx)("circle",{cx:"24%",cy:"40%",r:"4%"}),(0,g.jsx)("circle",{cx:"31%",cy:"40%",r:"4%"}),(0,g.jsx)("rect",{x:"0",y:"54%",rx:"2",ry:"2",width:"18%",height:"4%"}),(0,g.jsx)("rect",{x:"0",y:"61%",rx:"2",ry:"2",width:"48%",height:"15%"}),(0,g.jsx)("rect",{x:"0",y:"79%",rx:"2",ry:"2",width:"18%",height:"4%"}),(0,g.jsx)("rect",{x:"0",y:"85%",rx:"2",ry:"2",width:"48%",height:"15%"}),(0,g.jsx)("rect",{x:"51%",y:"12%",rx:"2",ry:"2",width:"0.4%",height:"100%"}),(0,g.jsx)("circle",{cx:"57.5%",cy:"26%",r:"4%"}),(0,g.jsx)("rect",{x:"62%",y:"22%",rx:"2",ry:"2",width:"40%",height:"8%"}),(0,g.jsx)("rect",{x:"55%",y:"38%",rx:"2",ry:"2",width:"18%",height:"4%"}),(0,g.jsx)("rect",{x:"55%",y:"44%",rx:"2",ry:"2",width:"48%",height:"40%"}),(0,g.jsx)("rect",{x:"55%",y:"88%",rx:"2",ry:"2",width:"40%",height:"5%"})]}),f=()=>(0,g.jsx)(x,{children:(0,g.jsx)(w,{})});var m=t(11961),y=t(92526),b=t(26073),j=t(50659),B=t(65150),C=t(71316),E=t(60290),L=t(78813),P=t(90246),k=t(72004),S=t(61956);const A=o=>(0,g.jsx)(p.Ay,{...o,width:"50%",height:"100%",children:(0,g.jsx)("rect",{x:"0",y:"0",rx:"2",ry:"2",width:"100%",height:"100%"})});var _;function O(){return O=Object.assign?Object.assign.bind():function(o){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)({}).hasOwnProperty.call(t,i)&&(o[i]=t[i])}return o},O.apply(null,arguments)}function I(o,e){let{title:t,titleId:r,...n}=o;return i.createElement("svg",O({width:"800px",height:"800px",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,"aria-labelledby":r},n),t?i.createElement("title",{id:r},t):null,_||(_=i.createElement("path",{d:"M11.65 6H12.8C13.9201 6 14.4802 6 14.908 6.21799C15.2843 6.40973 15.5903 6.71569 15.782 7.09202C16 7.51984 16 8.0799 16 9.2V10L18.5768 8.45392C19.3699 7.97803 19.7665 7.74009 20.0928 7.77051C20.3773 7.79703 20.6369 7.944 20.806 8.17433C21 8.43848 21 8.90095 21 9.8259V14.1741C21 14.679 21 15.0462 20.9684 15.3184M3 3L6.00005 6.00005M21 21L15.9819 15.9819M6.00005 6.00005C5.01167 6.00082 4.49359 6.01337 4.09202 6.21799C3.71569 6.40973 3.40973 6.71569 3.21799 7.09202C3 7.51984 3 8.07989 3 9.2V14.8C3 15.9201 3 16.4802 3.21799 16.908C3.40973 17.2843 3.71569 17.5903 4.09202 17.782C4.51984 18 5.07989 18 6.2 18H12.8C13.9201 18 14.4802 18 14.908 17.782C15.2843 17.5903 15.5903 17.2843 15.782 16.908C15.9049 16.6668 15.9585 16.3837 15.9819 15.9819M6.00005 6.00005L15.9819 15.9819",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}const T=i.forwardRef(I),N=(t.p,()=>(0,g.jsx)(c.J5,{"data-testid":"video-load-error",children:(0,g.jsx)(T,{})})),{LEARN_MORE:R,TUTORIAL:z}=window._env_.SOCIAL_BOOST,G=o=>{let{show:e,onClose:t}=o;const[n]=(0,r.B)(),[l,a]=(0,i.useState)(!0),[s,d]=(0,i.useState)(!1);return(0,g.jsxs)(c.vq,{"data-testid":"sb-tutorial",show:e,size:"lg",onHide:()=>t(),children:[(0,g.jsxs)(c.vq.Header,{closeButton:!0,children:[(0,g.jsx)(L.A,{placement:"bottom",trigger:["hover","click","focus"],overlay:(0,g.jsx)(P.A,{className:"tooltip-body body-text",id:"socialboost-tutorial-help",children:n("createRelease:socialBoostModalPopover","some text")}),children:(0,g.jsx)("button",{className:"btn-icon",type:"button","aria-label":"information",children:(0,g.jsx)(S.h,{})})}),(0,g.jsx)("span",{children:n("createRelease:socialBoostModalHeading","Social Boost")})]}),(0,g.jsxs)(c.vq.Body,{children:[(0,g.jsx)("iframe",{src:z,onLoad:()=>a(!1),onError:()=>{a(!1),d(!0)},"data-testid":"sb-tutorial-video",className:(0,k.A)(l?"d-none":""),allowFullScreen:!0}),l?(0,g.jsx)(A,{}):null,s?(0,g.jsx)(N,{}):null,(0,g.jsxs)(c.Hm,{children:[(0,g.jsx)("span",{children:n("createRelease:socialBoostModalInfo1","Watch our 3-minute explainer video to learn more about SocialBoost.")}),(0,g.jsxs)("span",{children:[n("createRelease:socialBoostModalInfo2","view our"),(0,g.jsx)("a",{href:R,target:"_blank",rel:"noreferrer",children:n("createRelease:socialBoostModalInfo3","SocialBoost best practices")})]})]})]}),(0,g.jsx)(c.vq.Footer,{children:(0,g.jsx)(c.OV,{level:"primary","data-testid":"close-btn",onClick:()=>t(),children:n("createRelease:socialBoostModalBtn","Done")})})]})};var M=t(45084),V=t(80331),D=t(38843),q=t(90748),U=t(5418),H=t(73178),Z=t(37933);const{URL:$,POST_LIMIT:F,TAGLINE:W,MAX_FILE_SIZE_KB:K,POWERED_BY:J,SHOW_NOTE:Q,AI_PROXY:X,HOST:Y,TEMPLATE_CONFIG_URL:oo}=window._env_.SOCIAL_BOOST,{OMC_GRAPHQL:eo}=window._env_.API_ENDPOINTS,to=()=>{const o="social_boost_lib",[e,t]=(0,r.B)(),n=(0,u.jL)(),{isSocialBoostPageAITabEnabled:a}=(0,u.Uu)(),{socialBoost:p}=(0,u.GV)(D.KW),v=(0,u.GV)(D.QB),{hasSocialBoostUnsavedData:x,hasSocialBoostUnsavedAiData:w,hasSocialBoostTemplatesLoaded:L}=(0,u.GV)(q.rO),P=(0,u.GV)(q.aO),k=(0,u.GV)(y.tE),S=(0,u.GV)(D.XJ),A=(0,u.GV)(q.Dw),_=(0,u.GV)(y.Mv),O=(0,u.GV)(q.qW),[I,T]=(0,V.b)([E.P.hasSocialBoostUnsavedData,E.P.hasSocialBoostUnsavedAiData]),N=(0,u.GV)(y.eg),R=(0,u.GV)(D.Ql),z=(0,u.GV)(o=>o.app.isHotChocolate),to=(0,u.GV)(D.L_),{addNotification:io}=(0,U.y)(H.V),[ro,no]=(0,i.useState)(!1),[lo,ao]=(0,i.useState)(""),[so,co]=(0,i.useState)([]),[ho,uo]=(0,i.useState)(!1),[po,vo]=(0,i.useState)(null),[go,xo]=(0,i.useState)(""),[wo,fo]=(0,i.useState)(""),[mo,yo]=(0,i.useState)(!1),[bo,jo]=(0,i.useState)(""),Bo=(0,i.useMemo)(()=>["en-GB","en-IN"].includes(t.language)?"en-US":t.language,[t.language]),Co=()=>`/assets/i18n/${Bo}/sbEditor.json`,Eo=()=>e("sbEditor:tagline",W),Lo=()=>{const o=JSON.parse(JSON.stringify(C.eT[N]));for(const r of o)r.language=t.t(r.locizeKey,r.language),delete r.locizeKey;var e,i;return"2"===_?"french"===(null===(e=R.name)||void 0===e?void 0:e.toLowerCase())?o.filter(o=>"fr-CA"===o.isoCode):"english"===(null===(i=R.name)||void 0===i?void 0:i.toLowerCase())?o.filter(o=>"en-CA"===o.isoCode):o:o},Po=function(){let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];try{if(window.importToolkit&&o){const e=Lo();o.forEach(o=>{var t,i,r;o.languageCode&&(null===(t=o.socialBoostPosts)||void 0===t||null===(i=t.posts)||void 0===i?void 0:i.length)>0&&window.importToolkit(o.socialBoostPosts,null===(r=e.find(e=>e.isoCode===o.languageCode))||void 0===r?void 0:r.code)})}}catch(e){}},ko=o=>{xo(o.detail.event),vo(o.detail.post||null),n((0,j.BT)(M.Z3.socialBoost)),ao((new Date).toISOString())},So=()=>n((0,j.lr)(!0)),Ao=()=>fo((new Date).toISOString()),_o=()=>{switch(go){case"createPost":case"editPost":case"duplicatePost":return"createRelease:sbErrorSavePost";case"deletePost":return"createRelease:sbErrorDeletePost";default:return"general:errorFallbackHeading"}},Oo=function(){let o=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return new Promise(e=>{window.checkUnapprovedPosts?window.checkUnapprovedPosts().then(o=>{n((0,j.Zg)(o)),e(o)}):(n((0,j.Zg)(o)),e(o))})},Io=()=>n((0,j.Zg)(!0)),To=(0,i.useCallback)(()=>{try{if(window.loadTemplates){var o;const e={company:to||"",title:v||""}
9,t=oo,i=Lo(),r=i.length>1?null:(null===(o=i[0])||void 0===o?void 0:o.code)||null;window.loadTemplates(e,t,r)}}catch(e){console.error("Error loading social boost templates:",e)}},[to,v,Lo,L]),No=o=>jo(o.target.id);(0,i.useEffect)(()=>{const e=window.ResizeObserver;return e&&(window.ResizeObserver=class extends e{constructor(o){super((e,t)=>{(window.requestAnimationFrame||(o=>setTimeout(o,16)))(()=>{o(e,t)})})}}),(0,h.R2)($,o).then(()=>{}).catch(console.error).finally(()=>{no(!0)}),()=>{e&&(window.ResizeObserver=e),(0,h.Rq)(o)}},[]),(0,i.useEffect)(()=>{const o=document.getElementById("social_boost_container");var e;ro&&window.initEditor&&(window.initEditor("social_boost_container",(()=>{let o=window._env_.API_ENDPOINTS.OMC_AI_PROXY;return o||(o=z?eo.replace("/gql-service/graphql","/api/ai/writing-assistance"):eo.replace("/graphql",X)),{name:Eo(),maxPosts:F,showInstagram:!0,maxFileSizeKb:K,i18n_file:Co(),languages:Lo(),postLink:Y[_]||Y[1],...a?{aiProxy:o}:{}}})()),null===o||void 0===o||o.addEventListener("changePost",ko),null===o||void 0===o||o.addEventListener("discardChanges",Ao),null===o||void 0===o||o.addEventListener("userEdit",So),null===o||void 0===o||o.addEventListener("aiGeneratePost",Io),null===o||void 0===o||null===(e=o.querySelectorAll("#integration-tab-control li"))||void 0===e||e.forEach(o=>null===o||void 0===o?void 0:o.addEventListener("click",No)),uo(!1));return()=>{var e;null===o||void 0===o||o.removeEventListener("changePost",ko),null===o||void 0===o||o.removeEventListener("discardChanges",Ao),null===o||void 0===o||o.removeEventListener("userEdit",So),null===o||void 0===o||o.removeEventListener("aiGeneratePost",Io),null===o||void 0===o||null===(e=o.querySelectorAll("#integration-tab-control li"))||void 0===e||e.forEach(o=>null===o||void 0===o?void 0:o.removeEventListener("click",No)),n((0,j.lr)(!1)),n((0,j.Zg)(!1))}},[ro,a]),(0,i.useEffect)(()=>{ro&&window.initEditor&&(window.updateUiTexts(Co()),window.updateLanguageConfig(Lo()),window.updateToolkitName(Eo()))},[ro,t.language]),(0,i.useEffect)(()=>{var o;const e="french"===(null===(o=R.name)||void 0===o?void 0:o.toLowerCase());ro&&ho&&to&&v&&P&&!e&&(To(),n((0,j.N$)(!0)))},[ro,ho,to,R.name]),(0,u.bN)(()=>{var o,e,t,i,r;if(!ro||!ho)return;if(!v)return null===(i=(r=window).clearToolkit)||void 0===i||i.call(r),uo(!1),void n((0,j.N$)(!1));const l="french"===(null===(o=R.name)||void 0===o?void 0:o.toLowerCase());to&&!l&&(null===(e=(t=window).clearToolkit)||void 0===e||e.call(t),uo(!1),n((0,j.N$)(!1)))},[v]),(0,u.bN)(()=>{if(lo){const o=Lo().map(o=>{var e,t;const i=window.exportToolkit("object",o.code);return{socialBoostId:(null===(e=so.find(e=>e.languageCode===o.isoCode))||void 0===e?void 0:e.socialBoostId)||null,languageCode:o.isoCode,isDeleted:(null===(t=so.find(e=>e.languageCode===o.isoCode))||void 0===t?void 0:t.isDeleted)||!1,socialBoostPosts:i}});co(o)}},[lo]),(0,u.bN)(()=>{if(ro&&!ho&&window.importToolkit){null!==p&&void 0!==p&&p.length&&Po(p),p&&co(p),uo(!0),Oo();(null===p||void 0===p?void 0:p.some(o=>{var e,t;return(null===(e=o.socialBoostPosts)||void 0===e||null===(t=e.posts)||void 0===t?void 0:t.length)>0}))||n((0,j.N$)(!1))}},[ro,ho,p]);const Ro=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((o,e)=>(o.push({socialBoostId:e.socialBoostId,languageCode:e.languageCode,isDeleted:e.isDeleted,socialBoostPosts:e.socialBoostPosts}),o),[])};return(0,u.bN)(()=>{const o=(null===p||void 0===p?void 0:p.length)>0?!l()(Ro(p),Ro(so)):null===so||void 0===so?void 0:so.some(o=>{var e,t;return(null===(e=o.socialBoostPosts)||void 0===e||null===(t=e.posts)||void 0===t?void 0:t.length)>0});if(ho&&o){n((0,j.BT)(M.Z3.socialBoost));const o=z&&Z.d.get(m._W)||m._W;(0,B.s4)("mutation",o,{posts:so.filter(o=>{var e,t;return!(null===o||void 0===o||!o.socialBoostId)||(null===o||void 0===o||null===(e=o.socialBoostPosts)||void 0===e||null===(t=e.posts)||void 0===t?void 0:t.length)>0}),accountNumber:k,draftOrderId:S}).then(o=>{const t=(0,b.c)(o);if(t)io({type:"error",title:e("general:errorTitle"),subtitle:(0,h.oL)(e(`${_o()}`),t),dismissTime:C.wN}),window.editPost&&po&&("deletepost"===(null===go||void 0===go?void 0:go.toLowerCase())?(Po(p),xo("")):x&&window.editPost(po));else{const e=s()(o,"data.socialBoost",[]);n((0,j.ok)({path:"socialBoost",value:e})),co(e),vo(null),Oo(),n((0,j.lr)(!1));e.some(o=>{var e,t;return(null===(e=o.socialBoostPosts)||void 0===e||null===(t=e.posts)||void 0===t?void 0:t.length)>0})||n((0,j.N$)(!1))}}).catch(o=>{const t=(0,b.c)(o);io({type:"error",title:e("general:errorTitle"),subtitle:(0,h.oL)(e(`${_o()}
9`),t),dismissTime:C.wN}),window.editPost&&po&&("deletepost"===(null===go||void 0===go?void 0:go.toLowerCase())?(Po(p),xo("")):x&&window.editPost(po))}).finally(()=>{n((0,j.Qf)(M.Z3.socialBoost))})}else n((0,j.Qf)(M.Z3.socialBoost))},[so,p,ho],10),(0,u.bN)(()=>{const o=document.getElementsByClassName("dropdown-content");if(o&&o.length>0)for(let t=0;t<o.length;t++)A?o[t].classList.add("noaction"):o[t].classList.remove("noaction");const e=document.querySelectorAll(".approval-div button");if(e&&e.length>0)for(let t=0;t<e.length;t++)A?(e[t].classList.add("noaction"),e[t].setAttribute("disabled","true")):(e[t].classList.remove("noaction"),e[t].removeAttribute("disabled"))},[A]),(0,i.useEffect)(()=>{x&&(Po(p),n((0,j.lr)(!1)))},[wo]),(0,u.bN)(()=>{bo&&!bo.includes("post-editor-tab")&&(x&&window.checkUnsavedChanges().then(o=>{var e;o?null===(e=document.getElementById("post-editor-tab"))||void 0===e||e.click():(window.clearForm(),n((0,j.lr)(!1)))}),w&&window.checkUnapprovedPosts(!0).then(o=>{o||n((0,j.Zg)(!1))}))},[bo,x,w]),(0,g.jsxs)("div",{children:[(0,g.jsx)(d.C7,{children:!ro||O?(0,g.jsx)(f,{}):(0,g.jsx)(c.uK,{id:"social_boost_container",showPB:J,isInvalid:!I||!T,showNote:Q})}),(0,g.jsx)(G,{show:mo,onClose:()=>yo(!mo)})]})}},96401(o,e,t){var i=t(14491),r=t(35657),n=t(5637);i.Ay.div` 10 display: flex; 11 align-items: center; 12 justify-content: space-between; 13 margin-bottom: 20px; 14 height: 16px; 15 16 div { 17 font-size: 14px; 18 font-weight: 400; 19 line-height: 16px; 20 letter-spacing: 0cap.07em; 21 text-transform: uppercase; 22 color: var(--gray-90-color); 23 } 24 25 button { 26 font-size: 14px; 27 font-weight: 400; 28 line-height: 24px; 29 color: var(--gray-80-color); 30 svg { 31 width: 16px; 32 height: 16px; 33 } 34 } 35`,i.Ay.div` 36 display: flex; 37 justify-content: space-between; 38`,i.Ay.div` 39 display: flex; 40 flex-direction: column; 41`,i.Ay.p` 42 margin-bottom: 8px; 43 font-size: 24px; 44 font-weight: 400; 45 line-height: 36px; 46 color: var(--gray-90-color); 47 48 strong { 49 font-size: inherit; 50 line-height: inherit; 51 font-weight: 700; 52 } 53 54 span { 55 font-size: 14px; 56 line-height: 24px; 57 } 58`,i.Ay.p` 59 display: block; 60 margin: 0; 61 padding: 0; 62 font-size: 14px; 63 font-weight: 400; 64 line-height: 24px; 65 color: var(--gray-90-color); 66 max-width: 580px; 67 button { 68 margin-left: 5px; 69 font-size: 14px; 70 color: var(--primary-color-blue); 71 } 72`,i.Ay.div` 73 display: flex; 74 flex-direction: column; 75 text-align: end; 76 padding: 8px 12px; 77 border-radius: 8px; 78 background-color: var(--white-color); 79 width: 200px; 80 height: 80px; 81 border: 1px solid var(--gray-20-color); 82 min-width: 192px; 83 span { 84 font-size: 24px; 85 font-weight: 700; 86 line-height: 36px; 87 color: var(--gray-90-color); 88 89 &:last-child { 90 font-size: 14px; 91 font-weight: 400; 92 line-height: 24px; 93 } 94 } 95`;const l=(0,i.Ay)(r.$n)` 96 outline: none; 97 margin-right: -15px; 98 span { 99 padding-bottom: 0; 100 } 101 102 &.price-guide { 103 svg { 104 fill: var(--primary-color-focus); 105 &:hover { 106 fill: var(--link-color-hover); 107 } 108 } 109 } 110`,a=i.Ay.div` 111 display: flex; 112 flex: 1; 113 border: ${o=>{let{isInvalid:e}=o;return e?"1px solid red":"none"}}; 114 margin-top: 9px; 115 #editor-note { 116 display: ${o=>{let{showNote:e}=o;return e?"auto":"none"}}; 117 } 118 #integration-body { 119 .button-container { 120 justify-content: flex-end; 121 } 122 #save-post-button { 123 display: inline-flex; 124 align-items: center; 125 justify-content: center; 126 white-space: nowrap; 127 font-weight: 400; 128 height: 40px; 129 padding: 10px 18px; 130 border-radius: 6px !important; 131 border: none !important; 132 background-color: var(--primary-color-blue) !important; 133 color: var(--white-color) !important; 134 font-size: 14px; 135 line-height: 24px; 136 transition: 137 background-color 0.2s ease, 138 color 0.2s ease, 139 box-shadow 0.2s ease, 140 border-color 0.2s ease; 141 142 &:hover:not(:disabled) { 143 background-color: #0b5dc1 !important; 144 } 145 146 &:active:not(:disabled), 147 &:focus:not(:disabled) { 148 background-color: var(--primary-color-focus) !important; 149 } 150 151 &:focus-visible { 152 outline: none; 153 box-shadow: 154 0 0 0 2px var(--primary-color-focus), 155 0 0 0 4px var(--white-color) !important; 156 } 157 158 &:disabled { 159 pointer-events: none; 160 background-color: var(--gray-10-color) !important; 161 color: var(--gray-40-color) !important; 162 box-shadow: inset 0 0 0 1px var(--gray-20-color) !important; 163 } 164 } 165 166 #ready-made-post-form { 167 .prevent-select { 168 padding: 0; 169 } 170 } 171 .radio-btn input[type='radio']:checked + label { 172 border: 2px solid var(--primary-color-blue) !important; 173 color: var(--primary-color-blue) !important; 174 } 175 .image-remove-link { 176 .form-upload-remove { 177 color: var(--primary-color-blue) !important; 178 } 179 } 180 } 181 .dropdown-content { 182 &.noaction { 183 &::after { 184 content: ''; 185 position: absolute; 186 top: 0; 187 left: 0;
188 background-color: var(--box-shadow-20) !important; 189 width: 100%; 190 height: 100%; 191 cursor: wait; 192 } 193 } 194 } 195 button { 196 &.noaction { 197 cursor: wait !important; 198 background-color: var(--box-shadow-20) !important; 199 } 200 } 201`,s=(0,i.Ay)(n.A)` 202 .modal-header { 203 display: flex; 204 align-items: center; 205 background-color: var(--primary-color-highlight); 206 border-bottom: 1px solid var(--primary-color-blue); 207 min-height: 56px; 208 span { 209 font-size: 16px; 210 font-weight: 400; 211 line-height: 24px; 212 color: var(--gray-90-color); 213 } 214 .close { 215 padding: 0; 216 span { 217 &:first-child { 218 position: relative; 219 top: 5px; 220 font-size: 40px; 221 padding-right: 16px; 222 } 223 } 224 } 225 .btn-icon { 226 svg { 227 fill: var(--primary-color-blue); 228 } 229 } 230 } 231 .modal-body { 232 display: flex; 233 padding: 16px; 234 235 iframe { 236 width: 50%; 237 border: none; 238 } 239 } 240`,d=i.Ay.div` 241 display: flex; 242 flex-direction: column; 243 margin-left: 16px; 244 span { 245 font-size: 16px; 246 font-weight: 400; 247 line-height: 24px; 248 color: var(--gray-90-color); 249 &:first-child { 250 font-weight: 700; 251 } 252 &:last-child { 253 margin-top: 20px; 254 a { 255 text-decoration: underline; 256 margin-left: 5px; 257 color: var(--primary-color-focus); 258 &:hover { 259 color: var(--link-color-hover); 260 } 261 } 262 } 263 } 264`,c=i.Ay.div` 265 display: flex; 266 align-items: center; 267 justify-content: center; 268 width: 50%; 269 height: 136px; 270 background-color: var(--gray-10-color); 271 border: 1px solid var(--gray-20-color); 272 273 svg { 274 width: 100px; 275 height: 100px; 276 fill: var(--gray-20-color); 277 } 278`,h=i.Ay.div` 279 #toolkit-previewer { 280 .navbar { 281 width: 100%; 282 justify-content: flex-start; 283 } 284 .postcard-buttons { 285 display: none; 286 } 287 } 288`;t.d(e,["Hm",0,d,"J5",0,c,"OV",0,l,"Zl",0,h,"uK",0,a,"vq",0,s])}}]);
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.