PageSourceSearch

https://publishwall.si/styles/js/chunks/chunk4040.js?v=d98838cb974c318d0a10

js publishwall.si collected 2026-09-24 09:25:56 UTC 21,899 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkpublishwall=self.webpackChunkpublishwall||[]).push([[4040,4378],{61760:(i,e,s)=>{s.d(e,{Z:()=>h});var t=s(87462),a=s(63366),n=s(67294),o=s(12666),r=s(62097),l=s(53566),c=s(84771),d=s(85893);const u=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function g(i){return`scale(${i}, ${i**2})`}const _={entering:{opacity:1,transform:g(1)},entered:{opacity:1,transform:"none"}},m="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),p=n.forwardRef((function(i,e){const{addEndListener:s,appear:p=!0,children:h,easing:j,in:b,onEnter:w,onEntered:v,onEntering:f,onExit:x,onExited:N,onExiting:y,style:k,timeout:O="auto",TransitionComponent:P=o.ZP}=i,Q=(0,a.Z)(i,u),Z=n.useRef(),E=n.useRef(),C=(0,r.Z)(),S=n.useRef(null),q=(0,c.Z)(h.ref,e),M=(0,c.Z)(S,q),T=i=>e=>{if(i){const s=S.current;void 0===e?i(s):i(s,e)}},R=T(f),B=T(((i,e)=>{(0,l.n)(i);const{duration:s,delay:t,easing:a}=(0,l.C)({style:k,timeout:O,easing:j},{mode:"enter"});let n;"auto"===O?(n=C.transitions.getAutoHeightDuration(i.clientHeight),E.current=n):n=s,i.style.transition=[C.transitions.create("opacity",{duration:n,delay:t}),C.transitions.create("transform",{duration:m?n:.666*n,delay:t,easing:a})].join(","),w&&w(i,e)})),W=T(v),A=T(y),F=T((i=>{const{duration:e,delay:s,easing:t}=(0,l.C)({style:k,timeout:O,easing:j},{mode:"exit"});let a;"auto"===O?(a=C.transitions.getAutoHeightDuration(i.clientHeight),E.current=a):a=e,i.style.transition=[C.transitions.create("opacity",{duration:a,delay:s}),C.transitions.create("transform",{duration:m?a:.666*a,delay:m?s:s||.333*a,easing:t})].join(","),i.style.opacity=0,i.style.transform=g(.75),x&&x(i)})),$=T(N);return n.useEffect((()=>()=>{clearTimeout(Z.current)}),[]),(0,d.jsx)(P,(0,t.Z)({appear:p,in:b,nodeRef:S,onEnter:B,onEntered:W,onEntering:R,onExit:F,onExited:$,onExiting:A,addEndListener:i=>{"auto"===O&&(Z.current=setTimeout(i,E.current||0)),s&&s(S.current,i)},timeout:"auto"===O?null:O},Q,{children:(i,e)=>n.cloneElement(h,(0,t.Z)({style:(0,t.Z)({opacity:0,transform:g(.75),visibility:"exited"!==i||b?void 0:"hidden"},_[i],k,h.props.style),ref:M},e))}))}));p.muiSupportAuto=!0;const h=p},57742:(i,e,s)=>{s.d(e,{Z:()=>t});const t=s(67294).createContext({})},91647:(i,e,s)=>{s.d(e,{Z:()=>w});var t=s(63366),a=s(87462),n=s(67294),o=s(86010),r=s(39707),l=s(94780),c=s(94174),d=s(69474),u=s(36622),g=s(34867);function _(i){return(0,g.Z)("MuiTypography",i)}(0,s(1588).Z)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var m=s(85893);const p=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],h=(0,c.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(i,e)=>{const{ownerState:s}=i;return[e.root,s.variant&&e[s.variant],"inherit"!==s.align&&e[`align${(0,u.Z)(s.align)}`],s.noWrap&&e.noWrap,s.gutterBottom&&e.gutterBottom,s.paragraph&&e.paragraph]}})((({theme:i,ownerState:e})=>(0,a.Z)({margin:0},e.variant&&i.typography[e.variant],"inherit"!==e.align&&{textAlign:e.align},e.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},e.gutterBottom&&{marginBottom:"0.35em"},e.paragraph&&{marginBottom:16}))),j={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},b={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},w=n.forwardRef((function(i,e){const s=(0,d.Z)({props:i,name:"MuiTypography"}),n=(i=>b[i]||i)(s.color),c=(0,r.Z)((0,a.Z)({},s,{color:n})),{align:g="inherit",className:w,component:v,gutterBottom:f=!1,noWrap:x=!1,paragraph:N=!1,variant:y="body1",variantMapping:k=j}=c,O=(0,t.Z)(c,p),P=(0,a.Z)({},c,{align:g,color:n,className:w,component:v,gutterBottom:f,noWrap:x,paragraph:N,variant:y,variantMapping:k}),Q=v||(N?"p":k[y]||j[y])||"span",Z=(i=>{const{align:e,gutterBottom:s,noWrap:t,paragraph:a,variant:n,classes:o}=i,r={root:["root",n,"inherit"!==i.align&&`align${(0,u.Z)(e)}
1`,s&&"gutterBottom",t&&"noWrap",a&&"paragraph"]};return(0,l.Z)(r,_,o)})(P);return(0,m.jsx)(h,(0,a.Z)({as:Q,ref:e,ownerState:P,className:(0,o.Z)(Z.root,w)},O))}))},36622:(i,e,s)=>{s.d(e,{Z:()=>t});const t=s(28320).Z},63289:(i,e,s)=>{s.d(e,{Z:()=>t});const t=s(16600).Z},39707:(i,e,s)=>{s.d(e,{Z:()=>l});var t=s(87462),a=s(63366),n=s(59766),o=s(86977);const r=["sx"];function l(i){const{sx:e}=i,s=(0,a.Z)(i,r),{systemProps:l,otherProps:c}=(i=>{const e={systemProps:{},otherProps:{}};return Object.keys(i).forEach((s=>{o.Gc[s]?e.systemProps[s]=i[s]:e.otherProps[s]=i[s]})),e})(s);let d;return d=Array.isArray(e)?[l,...e]:"function"==typeof e?(...i)=>{const s=e(...i);return(0,n.P)(s)?(0,t.Z)({},l,s):l}:(0,t.Z)({},l,e),(0,t.Z)({},c,{sx:d})}},87596:(i,e,s)=>{function t(i,e=166){let s;function t(...t){clearTimeout(s),s=setTimeout((()=>{i.apply(this,t)}),e)}return t.clear=()=>{clearTimeout(s)},t}s.d(e,{Z:()=>t})},57579:(i,e,s)=>{var t;s.d(e,{Z:()=>r});var a=s(67294);let n=0;const o=(t||(t=s.t(a,2))).useId;function r(i){if(void 0!==o){const e=o();return null!=i?i:e}return function(i){const[e,s]=a.useState(i),t=i||e;return a.useEffect((()=>{null==e&&(n+=1,s(`mui-${n}`))}),[e]),t}(i)}},65058:(i,e,s)=>{s.r(e),s.d(e,{default:()=>b});var t=s(85893),a=s(67294),n=s(46030),o=s(68968),r=s(63163),l=s(507),c=s(1430),d=s(7571),u=s(60485),g=s(8314),_=s(6017),m=s(25935),p=s(27484),h=s.n(p);function j(i){for(let e=i.length-1;e>=0;e--){if("A"==i[e].nodeName)return i[e].attributes.href.value;if(i[e].children.length>0){let s=j(i[e].children);if(s)return s}}return!1}const b=(0,a.forwardRef)(((i,e)=>{var s,p;const{wallId:b,wallProfileImage:w,nameInitials:v,wallTitle:f}=i,x=(0,a.useRef)(null),N=(0,a.useRef)(null),y=(0,a.useRef)(""),k=(0,a.useRef)(i.editPost&&i.originalQuickPost.images?i.originalQuickPost.images:[]),[O,P]=(0,a.useState)(i.editPost&&i.originalQuickPost.wall_mentions?i.originalQuickPost.wall_mentions:[]),[Q,Z]=(0,a.useState)(i.editPost&&i.originalQuickPost.wall_trends?i.originalQuickPost.wall_trends:[]),E=(0,a.useRef)(!1),[C,S]=(0,a.useState)(0),[q,M]=(0,a.useState)(!1),[T,R]=(0,a.useState)(i.editPost&&i.originalQuickPost.images?i.originalQuickPost.images:[]),[B,W]=(0,a.useState)(void 0),[A,F]=(0,a.useState)(void 0),[I,D]=(0,a.useState)(i.editPost&&null!==(s=i.originalQuickPost.description)&&void 0!==s?s:""),[H,L]=(0,a.useState)(i.originalQuickPost&&i.originalQuickPost.preview_url&&i.originalQuickPost.preview_link_id&&i.originalQuickPost.preview_title&&i.originalQuickPost.preview_description&&i.originalQuickPost.preview_image&&i.originalQuickPost.preview_url?{id:i.originalQuickPost.preview_link_id,title:i.originalQuickPost.preview_title,description:null!==(p=i.originalQuickPost.preview_description)&&void 0!==p?p:"",imgs:i.originalQuickPost.preview_image?[i.originalQuickPost.preview_image]:[],url:i.originalQuickPost.preview_url}:null),[U,Y]=(0,a.useState)(i.editPost?i.originalQuickPost.id:null),[K,G]=(0,a.useState)(!1),J=i.isMobile,[z,V]=(0,a.useState)(!!i.originalQuickPost),X=()=>{var e;null===(e=i.setVisible)||void 0===e||e.call(i,!1),i.visible||(M(!1),W(void 0),F(void 0),L(null),R([]),Y(null),D(""),k.current=[],P([]),Z([]))},ii=()=>{return e=void 0,s=void 0,a=function*(){var e,s,t,a,n,o,r;$.LoadingOverlay("show");const c=null===(e=N.current)||void 0===e?void 0:e.getWallMentions(O),d=null===(s=N.current)||void 0===s?void 0:s.getEditorTrends(),u=null==d?void 0:d.filter((i=>!Q.some((e=>i.label==e.name))));let g={content:I,wallId:b,trends:u,wall_mentions:null==c?void 0:c.newWalls,post_link:H},_="";if(U){_="quick_posts/edit_quick_post";const i=T.filter((i=>"0"===i.image_id)),e=k.current.filter((i=>!T.some((e=>e.image_id===i.image_id)))),s=Q.filter((i=>!(null==d?void 0:d.some((e=>e.label==i.name)))));let t=null;T.forEach((i=>{i.is_main&&(t=i.url_full)})),g=Object.assign(Object.assign({},g),{post_id:U,wall_deleted_mentions:null==c?void 0:c.deletedWalls,new_images:i,deleted_images:e,main_image_url:t,deleted_trends:s})}else _="quick_posts/create_quick_post",g=Object.assign(Object.assign({},g),{quickPostImages:T,publishDate:0,parentId:null===(t=i.originalQuickPost)||void 0===t?void 0:t.id,parent_wall_id:null===(a=i.originalQuickPost)||void 0===a?void 0:a.wall_id,top_parent_id:(null===(n=i.originalQuickPost)||void 0===n?void 0:n.top_parent_id)?null===(o=i.originalQuickPost)||void 0===o?void 0:o.top_parent_id:null===(r=i.originalQuickPost)||void 0===r?void 0:r.id});const{error:m,result:p}=yield l.J.simplePost(window.base_url+_,g);!m&&p.success?setTimeout((()=>{window.location.href=window.base_url+i.wallUriString+"/qpost/"+p.data.quick_post_id,$.LoadingOverlay("hide")}),250):alert(window.translations.please_contact_admin)},new((t=void 0)||(t=Promise))((function(i,n){function o(i){try{l(a.next(i))}catch(i){n(i)}}function r(i){try{l(a.throw(i))}catch(i){n(i)}}function l(e){var s;e.done?i(e.value):(s=e.value,s instanceof t?s:new t((function(i){i(s)}))).then(o,r)}l((a=a.apply(e,s||[])).next())}));var e,s,t,a},ei=()=>{V(!z)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("input",{style:{display:"none"},ref:x,type:"file",accept:"image/*",multiple:!0,onChange:i=>(i=>{S(i.target.files.length);for(const e of i.target.files)(0,o.ws)(e).then((i=>{null!==i?(R((e=>[...e,{image_id:"0",url_full:i.url_full,is_main:0===e.length,type:i.type}])),S((i=>i-1)),G(!0)):alert("Failed to upload file: "+e)})).catch((i=>{console.log("error on image upload"),console.log(i)}))})(i)}),(0,t.jsx)(n.Z,Object.assign({visible:i.visible,set_visibility:()=>X(),modalClassName:(null==B?"quick-post-editor__write-post ":"quick-
1post-editor__img-edit ")+(J?" pw_popup__modal_mobile":""),overlayAdditionalClassName:J?"pw_popup__overlay_mobile":""},{children:null!=B?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",Object.assign({className:"write-post__header"},{children:[(0,t.jsxs)("div",Object.assign({className:"header__wrapper"},{children:[(0,t.jsx)("div",Object.assign({className:"header__btn"},{children:(0,t.jsx)("i",{className:"fa-regular fa-arrow-left-long",onClick:()=>{W(void 0),F(void 0)}})})),(0,t.jsx)("span",{children:window.translations.quick_post_edit_image})]})),(0,t.jsx)("div",Object.assign({className:"header__btn"},{children:(0,t.jsx)("i",{className:"fa-regular fa-xmark",onClick:()=>X()})}))]})),(0,t.jsx)(r.Z,{saveEditedImage:i=>{if(null!=i&&null!=B&&A){const e=[...T];e[B]=Object.assign({image_id:A},i),R(e)}W(void 0),F(void 0)},selectedImage:T[B]})]}):(0,t.jsxs)(t.Fragment,{children:[J&&(0,t.jsx)("header",Object.assign({className:"pw_popup__modal-header-mobile"},{children:z?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",Object.assign({className:"modal-header-mobile__actions"},{children:[(0,t.jsx)("button",Object.assign({className:"actions__btn",onClick:()=>ei()},{children:(0,t.jsx)("i",{className:"fa-light fa-arrow-left"})})),(0,t.jsx)("span",{children:window.translations.quick_post})]})),(0,t.jsx)("div",Object.assign({className:"modal-header-mobile__actions modal-header-mobile__actions--gap-l"},{children:(0,t.jsx)("button",Object.assign({className:"actions__btn actions__btn--send",onClick:ii},{children:(0,t.jsx)("i",{className:"fa-regular fa-paper-plane-top"})}))}))]}):(0,t.jsxs)("div",Object.assign({className:"modal-header-mobile__actions"},{children:[(0,t.jsx)("button",Object.assign({onClick:()=>X(),className:"actions__btn"},{children:(0,t.jsx)("i",{className:"fa-light fa-arrow-left"})})),(0,t.jsx)("span",{children:window.translations.choose_post_type})]}))})),(0,t.jsxs)("aside",Object.assign({className:"write-post__sidebar "+(z?"disabled-mobile":"")},{children:[(0,t.jsx)("div",Object.assign({className:"sidebar__option sidebar__option--quick-post "+(J?"":"active"),onClick:()=>ei()},{children:window.translations.quick_post})),(0,t.jsx)("a",Object.assign({className:"sidebar__option sidebar__option--big-post",href:window.base_url+"newpost"},{children:window.translations.article})),(0,t.jsx)("a",Object.assign({className:"sidebar__option sidebar__option--survey",href:window.base_url+"mysurveys/add_survey"},{children:window.translations.survey})),(0,t.jsx)("a",Object.assign({className:"sidebar__option sidebar__option--petition",href:window.base_url+"mysurveys/add_petition"},{children:window.translations.petition})),(0,t.jsx)("a",Object.assign({className:"sidebar__option sidebar__option--event",href:window.base_url+"shop/add_event"},{children:window.translations.event})),(0,t.jsx)("a",Object.assign({className:"sidebar__option sidebar__option--referendum",href:window.base_url+"mysurveys/add_petition"},{children:window.translations.referendum})),(0,t.jsx)("a",Object.assign({className:"sidebar__option sidebar__option--product",href:window.base_url+"shop/add_product"},{children:window.translations.product})),(0,t.jsx)("a",Object.assign({className:"sidebar__option sidebar__option--subscription",href:window.base_url+"shop/add_subscription"},{children:window.translations.subscription})),(0,t.jsx)("a",Object.assign({className:"sidebar__option sidebar__option--subs",href:window.base_url+"shop/add_subscription"},{children:window.translations.membership})),(0,t.jsx)("a",Object.assign({className:"sidebar__option sidebar__option--prize-game disabled"},{children:window.translations.contest})),(0,t.jsx)("a",Object.assign({className:"sidebar__option sidebar__option--tourist-accommodation disabled "+(J?"sidebar__option--align-top":"")},{children:window.translations.accommodation})),(0,t.jsx)("a",Object.assign({className:"sidebar__option sidebar__option--donation disabled",href:window.base_url+"shop/add_subscription"},{children:window.translations.donation}))]})),(0,t.jsxs)("main",Object.assign({className:"write-post__container"+(J&&z?" active-mobile":"")},{children:[(0,t.jsx)("div",Object.assign({className:"write-post__row-flex"},{children:(0,t.jsxs)("div",Object.assign({className:"write-post__user-post"},{children:[i.originalQuickPost?(0,t.jsxs)("div",Object.assign({className:"write-post__user-reply"},{children:[(0,t.jsx)("section",Object.assign({className:"user-reply__avatar"},{children:(0,t.jsx)("a",Object.assign({href:window.base_url+i.originalQuickPost.wall_uri_string},{children:(0,t.jsx)("img",{src:i.originalQuickPost.wall_profile_image_url,alt:"User avatar"})}))})),(0,t.jsx)("section",Object.assign({className:"user-reply__user-info"},{children:(0,t.jsx)("div",Object.assign({className:"user-info__details"},{children:(0,t.jsxs)("a",Object.assign({href:window.base_url+i.originalQuickPost.wall_uri_string},{children:[(0,t.jsx)("span",Object.assign({className:"user-info__name"},{children:i.originalQuickPost.wall_title})),(0,t.jsxs)("span",Object.assign({className:"user-info__uri"},{children:["@",i.originalQuickPost.wall_uri_string]}))]}))}))})),(0,t.jsxs)("section",Object.assign({className:"user-reply__content"},{children:[(0,t.jsxs)("div",Object.assign({className:"content__wrapper"},{children:[i.originalQuickPost.title&&(0,t.jsx)("div",Object.assign({className:"content__heading"},{children:i.originalQuickPost.title})),i.originalQuickPost.description?(0,t.jsx)("div",Object.assign({className:"content__text"},{children:(0,m.ZP)(i.originalQuickPost.description)})):(0,t.jsx)(t.Fragment,{}),i.originalQuickPost.main_image_url&&(0,t.jsx)("div",Object.assign({className:"content__img-gallery"},{children:(0,t.jsx)("img",{className:"img-gallery__img",src:i.originalQuickPost.main_image_url})}))]})),(0,t.jsxs)("div",Object.assign({className:"content__reply-info"},{children:[(0,t.jsx)("div",Object.assign({className:"content__date-created"},{children:h()(i.originalQuickPost.publish_date).format("HH:mm DD. MMMM YYYY")})),(0,t.jsx)("div",{className:"content__dot"}),(0,t.jsxs)("div",Object.assign({className:"content__post-type"},{children:[(0,t.jsx)("i",{className:"fa-solid fa-newspaper"}),(0,t.jsx)("span",{children:window.translations.article})]}))]}))]}))]})):null,(0,t.jsxs)("div",Object.assign({className:"write-post__user"},{children:[(0,t.jsxs)("div",Object.assign({className:"user__selector"},{children:[(0,t.jsx)("div",Object.assign({className:"user__avatar"},{children:w?w?(0,t.jsx)("img",{src:w,alt:""}):void 0:(0,t.jsx)("div",Object.assign({className:"avatar__name-initials"},{children:v}))})),(0,t.jsx)("span",{children:f})]})),(0,t.jsxs)("div",Object.assign({className:"user__post-wrapper"},{children:[(0,t.jsx)("div",Object.assign({className:"user__post-input user__post-input--remirror-sm"},{children:(0,t.jsx)(g.Z,{ref:N,initialContent:I,onEditorChange:i=>{if(D(i),""==i)return;let e="";const s=document.createElement("div");s.innerHTML=i;const t=s.children;if(t.length>0&&(e=j(t)),!E.current){if(y.current=e,""==e)return void L(null);E.current=!0,(0,o.fq)(e).then((i=>{if(null===i)return console.log("Error getting url data!"),void(E.current=!1);if(""!=y.current){i.url=e;const s=Object.assign({id:"0"},i);L(s),E.current=!1}})).catch((i=>{console.log("Error getting url data!"),console.log(i)}))}},mainToolbar:!1,mentions:!0,tags:!0,autoFocus:!0,placeholder:i.originalQuickPost?window.translations.reply_to_post:window.translations.write_quick_post})})),(()=>{let i=[];if(T.length>0?T.forEach(((e,s)=>{i.push((0,t.jsxs)("div",Object.assign({className:"img-container__single-img"},{children:[(0,t.jsxs)("div",Object.assign({className:"single-img__img-holder"},{children:[(0,t.jsx)("img",{src:e.url_full,className:"img-container__image",alt:"Uploaded image"}),(0,t.jsx)("button",Object.assign({className:"img-container__btn top right remove",onClick:()=>(i=>{let e=[],s=!1;T.forEach(((t,a)=>{a==i?s=t.is_main:e.push(t)})),s&&e.length>0?e[0].is_main=!0:0==e.length&&G(!1),R(e)})(s)},{children:(0,t.jsx)("i",{className:"fa-regular fa-xmark"})})),"image/gif"!=e.type&&(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("button",Object.assign({className:"img-container__btn top left",onClick:()=>{return W(i=s),void F(T[i].image_id);var i}},{children:(0,t.jsx)("i",{className:"fa-solid fa-pen"})}))})]})),"image/gif"!=e.type&&(0,t.jsx)("div",Object.assign({className:"single-img__actions"},{children:(0,t.jsxs)("label",Object.assign({className:"img-actions__label-radio"},{children:[(0,t.jsx)("input",{className:"img-actions__radio",type:"radio",name:"main-image",checked:e.is_main,required:!0,onChange:()=>{return i=s,void R(T.map(((e,s)=>(e.is_main=s==i,e))));var i}}),(0,t.jsx)("div",{className:"img-actions__background"}),(0,t.jsx)("div",Object.assign({className:"img-actions__radio-custom"},{children:(0,t.jsx)("i",{className:"fa-solid fa-circle-check"})})),(0,t.jsx)("span",{children:window.translations.quick_post_main_image})]}))}))]}),"image-template"+s))})):null!=H&&i.push((0,t.jsxs)("div",Object.assign({className:"pw_url-preview"},{children:[(0,t.jsx)("button",Object.assign({className:"url-preview__close-btn",onClick:()=>L(null),onMouseEnter:i=>(0,o.$K)(i.currentTarget,window.translations.quick_post_remove_link_preview,!0)},{children:(0,t.jsx)("i",{className:"fa-regular fa-xmark"})})),(0,t.jsx)("img",{className:"url-preview__img",src:H.imgs[0],alt:"Preview Url image"}),(0,t.jsxs)("article",Object.assign({className:"url-preview__content"},{children:[(0,t.jsx)("span",Object.assign({className:"content__url"},{children:H.url})),(0,t.jsx)("span",Object.assign({className:"content__title"},{children:H.title})),(0,t.jsx)("p",Object.assign({className:"content__desc"},{children:H.description}))]}))]}),"key")),C>0)for(let e=0;e<C;e++)i.push((0,t.jsxs)("div",Object.assign({className:"img-container__single-img img-container__single-img--loading"},{children:[(0,t.jsx)("div",Object.assign({className:"single-img__icon"},{children:(0,t.jsx)("i",{className:"fa-duotone fa-loader"})})),(0,t.jsx)("span",{children:window.translations.loading})]}),"loading-template"+e));return i.length>0?(0,t.jsx)("div",Object.assign({className:"user__img-container"},{children:i})):(0,t.jsx)(t.Fragment,{})})()]})),(0,t.jsx)("button",Object.assign({className:"write-post__btn-close",onClick:()=>X()},{children:(0,t.jsx)("i",{className:"fa-regular fa-xmark"})}))]})),(0,t.jsxs)("div",Object.assign({className:"write-post__interaction"},{children:[(0,t.jsxs)(u.Z,Object.assign({onClickOutside:()=>M(!1)},{children:[(0,t.jsx)("button",Object.assign({className:"write-post__option","data-tooltip":"Emoji",onClick:()=>M(!q),onMouseEnter:i=>(0,o.$K)(i.currentTarget,"Emoji",!0)},{children:(0,t.jsx)("i",{className:"fa-light fa-face-smile"})})),q&&(0,t.jsx)("div",Object.assign({className:"interaction__dropdown interaction__dropdown--emoji show"},{children:(0,t.jsx)(d.Z,{data:c,theme:"light",maxFrequentRows:1,onEmojiSelect:i=>{var e;const s=i.unified.toUpperCase().split("-")[0];null===(e=N.current)||void 0===e||e.setEmoji(s)},set:"twitter"})}))]})),(0,t.jsx)("button",Object.assign({className:"write-post__option",onMouseEnter:i=>(0,o.$K)(i.currentTarget,"Medij",!0),"data-tooltip":"Medij",disabled:T.filter((i=>"image/gif"==i.type)).length>0,onClick:()=>{var i;return null===(i=x.current)||void 0===i?void 0:i.click()}},{children:(0,t.jsx)("i",{className:"fa-light fa-images"})})),(0,t.jsx)(_.Z,{addGif:i=>{const e=Object.assign({image_id:"0"},i);R((i=>[...i,e])),G(!0)},initialButtonClass:"write-post__option",initialDropdownClass:"interaction__dropdown interaction__dropdown--gif show",buttonDisabled:K})]}))]}))})),!J&&(0,t.jsx)("footer",Object.assign({className:"write-post__footer"},{children:(0,t.jsxs)("div",Object.assign({className:"write-post__buttons"},{children:[(0,t.jsx)("button",Object.assign({className:"write-post__date-selector"},{children:(0,t.jsx)("i",{className:"fa-solid fa-calendar-clock"})})),(0,t.jsx)("button",Object.assign({className:"write-post__btn-send",onClick:ii},{children:window.translations.post}))]}))}))]}))]})}))]})}))}}]);

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.