1(("undefined"!=typeof self?self:this).webpackJsonp__wix_communities_blog_ooi=("undefined"!=typeof self?self:this).webpackJsonp__wix_communities_blog_ooi||[]).push([[1247],{78968:(e,s,o)=>{var t={"./messages_ar.json":[40107,7621],"./messages_bg.json":[2115,4113],"./messages_ca.json":[15024,3830],"./messages_cs.json":[99602,1656],"./messages_da.json":[98687,7841],"./messages_de.json":[27251,9965],"./messages_el.json":[71381,7351],"./messages_en.json":[23707,7445],"./messages_es.json":[27212,7022],"./messages_fi.json":[90405,3555],"./messages_fr.json":[39264,5366],"./messages_he.json":[3551,7169],"./messages_hi.json":[9899,9429],"./messages_hr.json":[53234,5052],"./messages_hu.json":[30991,5233],"./messages_id.json":[52777,2259],"./messages_it.json":[9881,3843],"./messages_ja.json":[84273,9959],"./messages_ko.json":[34766,8756],"./messages_lt.json":[17512,6514],"./messages_lv.json":[99706,2916],"./messages_ms.json":[27124,1382],"./messages_nl.json":[68334,7140],"./messages_no.json":[98447,7733],"./messages_pl.json":[54876,2622],"./messages_pt.json":[76356,838],"./messages_ro.json":[19371,9273],"./messages_ru.json":[7165,4883],"./messages_sk.json":[78442,7584],"./messages_sl.json":[97735,8477],"./messages_sv.json":[7961,199],"./messages_th.json":[65236,5062],"./messages_tl.json":[69048,6498],"./messages_tr.json":[65662,5296],"./messages_uk.json":[24612,7606],"./messages_vi.json":[18965,1843],"./messages_zh.json":[17006,2732]};function n(e){if(!o.o(t,e))return Promise.resolve().then((()=>{var s=new Error("Cannot find module '"+e+"'");throw s.code="MODULE_NOT_FOUND",s}));var s=t[e],n=s[0];return o.e(s[1]).then((()=>o.t(n,17)))}n.keys=()=>Object.keys(t),n.id=78968,e.exports=n},793:(e,s,o)=>{"use strict";o.r(s),o.d(s,{default:()=>A});var t=o(85707),n=o.n(t),i=(o(47676),o(87730),o(79650),o(40640),o(32792),o(60751)),r=o.n(i),a=o(61845),m=o(23052),l=o(9937),d=o(94693),c=o(40022),u=o(1037),g=o(19792),_=o(33416),j=o(21782),p=o(21321),f=o(42156),v=o(37071),h=o(95657),M=o(82584),E=o(3200),w=o(19445),k=o(87073),C=o(57620),y=o(91186),S=o(72884),b=o(40565),L=o(34672),x=o(68701),R=o(53790),P=o(57827),I=o(71338),N=o(72304);const O=function(e,s){void 0===e&&(e=200),void 0===s&&(s=!1);const[o,t]=r().useState(!1),n=r().useRef(null),a=r().useCallback((()=>{var s;const o=null==(s=n.current)?void 0:s.getBoundingClientRect();return o&&o.top<window.innerHeight+e}),[e]),m=r().useCallback((()=>{a()&&t(!0)}),[a]);return(0,i.useEffect)((()=>{m()}),[m]),(0,N.A)(s?void 0:m),{isOnScreen:!!s||o,ref:n}};var D=o(87850),Z=o(16067),T=o(20915),W=o(72859);const B="prZ8Wc",J="bJvaPf",Q=e=>{let{post:s}=e;const o=(0,T.d4)(W.ID),{isRTL:t}=(0,S.v)(),n=(0,T.d4)(W.Ny),I=o.includes("viewerPlatformOverrides"),N=(0,T.dN)(),O=(0,T.d4)(W.ZE),D=(0,T.d4)(W.IC),Q=(0,T.d4)(W.Z0),q=(0,T.d4)(L.Qx),A=(0,T.d4)(L.j$),{experiments:F}=(0,b.W)(),z=F.enabled(P.d9),H=(0,i.useMemo)((()=>({[c.iZ]:{editorModule:u.v,viewerModule:g.v,editorConfig:{getMentions:N.fetchMentionsPromisified,supportWhitespace:!1}},[c.y1]:{editorModule:_.k,viewerModule:j.k},[c.m5]:{editorModule:p.m,viewerModule:f.m},[c.V5]:{editorModule:v.t,viewerModule:h.t},[c.Dr]:{editorModule:M.V,viewerModule:E.V},[c.pE]:{editorModule:w.j,viewerModule:k.j},[c.hj]:{editorModule:C.Q,viewerModule:y.Q}})),[N.fetchMentionsPromisified]),Y=(0,i.useMemo)((()=>({mobile:n,rtl:t})),[n,t]),$=(0,i.useMemo)((()=>({commentId:O,generateLink:e=>{if(D){const s=new URL(window.location.href);return s.searchParams.set("commentId",e),s.toString()}return""}})),[O,D]),G=(0,x.v)(s),K=(0,i.useMemo)((()=>({contextId:G,contextType:"postId"})),[G]),X=(0,i.useMemo)((()=>z?{commentReactions:{type:"emotions"},replyReactions:{type:"emotions"}}:{}),[z]),ee=(0,i.useMemo)((()=>q?{isRequired:A}:void 0),[q,A]),se=(0,i.useCallback)((e=>(0,R.Yq)({date:e,lng:Q})),[Q]),oe=(0,i.useContext)(Z.s);return r().createElement("section",{className:B},r().createElement("div",{className:J},r().createElement(m.k,oe,r().createElement(d.S,null,r().createElement(a.li,{value:Y},r().createElement(l.L,{hideZeroCommentsEmptyState:!0,screenshotMode:I,pluginConfig:H,resourceId:G,deepLink:$,ctxFields:K,pagination:V,formatRelativeTime:se,isLocked:s.isCommentsDisabled,reactions:X,a11yOptions:U,contentTruncationLimit:n?80:120,ratings:ee,useRicosNext:!0}))))))},U={headerRank:"h2"},V={replyShowMoreLimit:8,initialPage:{commentLimit:20,replyLimit:0},pagination:{commentLimit:20,replyLimit:0},maxPagesBeforeDrop:{commentPages:2,replyPages:4}};class q extends i.Component{constructor(){super(...arguments),n()(this,"state",{isInErrorState:!1})}componentDidCatch(e){this.setState({isInErrorState:!0}),console.error(e)}render(){return this.state.isInErrorState?null:r().createElement(Q,this.props)}}const A=e=>{const s=e.post,o=(0,T.d4)(W.ah),t=(0,T.d4)(W.ZE),{showComments:n}=(0,D.y)(),{isSSR:a,isEditor:m}=(0,S.v)(),l=!1!==(null==s?void 0:s.canSeePaidContent),d=Boolean(l&&n&&(null==s?void 0:s.id)),{isOnScreen:c,ref:u}=O(void 0,m),g=(0,T.dN)();return d?o?r().createElement("div",{ref:e.commentsRef},r().createElement(q,{post:s})):!a&&t||c||e.forceComments?(g.initWixCommentsController(),r().createElement("div",{ref:e.commentsRef},r().createElement(i.Suspense,{fallback:r().createElement(I.A,{isLoading:!0})},r().createElement(q,{post:s})))):r().createElement("div",{ref:u}):null}}}]); 2//# sourceMappingURL=post-page-wix-comments.chunk.min.js.map
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.