PageSourceSearch

https://lidomatrip.com/_next/static/chunks/pages/blog-689f7becf38353b6.js

js lidomatrip.com collected 2026-10-02 20:25:17 UTC 24,900 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9195,5218],{67801:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog",function(){return s(51355)}])},55095:function(e,t,s){"use strict";s.d(t,{Z:function(){return h}});var l=s(85893),a=s(9008),r=s.n(a),i=s(41664),n=s.n(i),o=s(25675),c=s.n(o),d=s(19263),m=s(14078);let g="https://lidomatrip.com";function h(e){let{title:t,metaTitle:s,metaDescription:a,canonical:i,eyebrow:o,lead:h,avatar:u,extra:p,posts:x,meta:b,hrefFor:j,categories:f,settings:v,isThin:_,breadcrumb:N}=e,y=(null==s?void 0:s.trim())||`${t} | مجله لیدوماتریپ`,w=(null==a?void 0:a.trim())||h||"",I={"@context":"https://schema.org","@type":"CollectionPage",name:t,description:w||void 0,url:i,mainEntity:{"@type":"ItemList",numberOfItems:x.length,itemListElement:x.map((e,t)=>({"@type":"ListItem",position:t+1,url:`${g}/blog/${encodeURIComponent(e.slug)}/`,name:e.title}))}};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(r(),{children:[(0,l.jsx)("title",{children:y}),w&&(0,l.jsx)("meta",{name:"description",content:w}),(0,l.jsx)("link",{rel:"canonical",href:i}),(0,l.jsx)("link",{rel:"alternate",type:"application/rss+xml",title:"مجله لیدوماتریپ",href:"https://lidomatrip.com/blog/feed"}),(0,l.jsx)("meta",{name:"robots",content:_||b.page>1?"noindex, follow":"index, follow"}),b.page>1&&(0,l.jsx)("link",{rel:"prev",href:`${g}${j(b.page-1)}`}),b.page<b.pageCount&&(0,l.jsx)("link",{rel:"next",href:`${g}${j(b.page+1)}`}),(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(I)}})]}),(0,l.jsxs)("div",{className:"blog-root min-h-screen",children:[(0,l.jsx)(d.w,{categories:f,settings:v}),(0,l.jsxs)("div",{className:"blog-shell",children:[(0,l.jsxs)("header",{className:"blog-archivehead",children:[(0,l.jsx)("nav",{"aria-label":"مسیر راهنما",children:(0,l.jsxs)("ol",{className:"blog-crumbs",children:[(0,l.jsx)("li",{children:(0,l.jsx)(n(),{href:"/",children:"خانه"})}),(0,l.jsx)("li",{"aria-hidden":!0,children:"›"}),(0,l.jsx)("li",{children:(0,l.jsx)(n(),{href:"/blog",children:"مجله"})}),null==N?void 0:N.map(e=>(0,l.jsxs)("span",{className:"contents",children:[(0,l.jsx)("li",{"aria-hidden":!0,children:"›"}),(0,l.jsx)("li",{children:(0,l.jsx)(n(),{href:e.href,children:e.name})})]},e.href))]})}),(0,l.jsxs)("div",{className:"blog-archivehead__main",children:[u&&(0,l.jsx)(c(),{src:u,alt:t,width:84,height:84,className:"blog-archivehead__avatar"}),(0,l.jsxs)("div",{className:"min-w-0",children:[(0,l.jsx)("p",{className:"blog-archivehead__eyebrow",children:o}),(0,l.jsx)("h1",{className:"blog-archivehead__title",children:t}),h&&(0,l.jsx)("p",{className:"blog-archivehead__lead",children:h}),(0,l.jsx)("p",{className:"blog-archivehead__count",children:b.total>0?`${(0,m.N)(b.total)} مقاله`:"هنوز مقاله‌ای اینجا نیست"})]})]}),p]}),(0,l.jsx)(m.YL,{posts:x}),(0,l.jsx)(m.uE,{page:b.page,pageCount:b.pageCount,hrefFor:j})]}),(0,l.jsx)(d.U,{categories:f,settings:v})]})]})}},19213:function(e,t,s){"use strict";s.d(t,{Z:function(){return i}});var l=s(85893),a=s(25675),r=s.n(a);function i(e){let{src:t,srcSet:s,sizes:a,alt:i,className:n="",priority:o=!1,draggable:c}=e;return s?(0,l.jsx)("img",{src:t,srcSet:s,sizes:a,alt:i,loading:o?"eager":"lazy",draggable:c,className:`absolute inset-0 h-full w-full ${n}`}):(0,l.jsx)(r(),{src:t,alt:i,fill:!0,priority:o,sizes:a,className:n,draggable:c})}},14078:function(e,t,s){"use strict";s.d(t,{IY:function(){return c},N:function(){return d},SP:function(){return g},Vm:function(){return m},YL:function(){return u},uE:function(){return p},y4:function(){return h}});var l=s(85893),a=s(41664),r=s.n(a),i=s(25675),n=s.n(i),o=s(19213);let c=e=>e?new Date(e).toLocaleDateString("fa-IR",{month:"long",day:"numeric"}):"",d=e=>(e??0).toLocaleString("fa-IR");function m(e){let{title:t}=e;return(0,l.jsx)("div",{className:"flex h-full w-full items-center justify-center bg-[color:var(--blog-accent-soft)]",children:(0,l.jsx)("span",{className:"font-eb text-30 text-[#046d62]",children:t.slice(0,1)})})}function g(e){var t,s;let{post:a,compact:r}=e,i=null===(t=a.authors)||void 0===t?void 0:null===(s=t[0])||void 0===s?void 0:s.author;return(0,l.jsxs)("div",{className:`flex flex-wrap items-center gap-x-12 gap-y-4 text-[color:var(--blog-ink-3)] ${r?"text-[0.7rem]":"text-12"}`,children:[i&&!r&&(0,l.jsxs)("span",{className:"flex items-center gap-6",children:[i.avatarUrl?(0,l.jsx)(n(),{src:i.avatarUrl,alt:i.displayName,width:22,height:22,className:"rounded-100 object-cover"}):null,(0,l.jsx)("span",{className:"text-[color:var(--blog-ink-2)]",children:i.displayName})]}),a.publishedAt&&(0,l.jsx)("time",{dateTime:a.publishedAt,children:c(a.publishedAt)}),a.readMinutes?(0,l.jsxs)("span",{children:[d(a.readMinutes)," دقیقه"]}):null]})}function h(e){let{post:t}=e;
1return(0,l.jsxs)(r(),{href:`/blog/${encodeURIComponent(t.slug)}/`,className:"group flex flex-col overflow-hidden rounded-16 bg-white",style:{boxShadow:"var(--blog-shadow)"},children:[(0,l.jsx)("div",{className:"relative aspect-[16/10] w-full bg-[color:var(--blog-ground)]",children:t.featuredImageUrl?(0,l.jsx)(o.Z,{src:t.featuredImageUrl,srcSet:t.featuredImageSrcset,alt:t.featuredImageAlt||t.title,sizes:"(max-width: 640px) 100vw, 360px",className:"object-cover transition-transform duration-500 group-hover:scale-[1.03]"}):(0,l.jsx)(m,{title:t.title})}),(0,l.jsxs)("div",{className:"flex flex-1 flex-col gap-8 p-16",children:[t.category&&(0,l.jsx)("span",{className:"text-[0.7rem] text-[color:var(--blog-accent-dark)]",children:t.category.name}),(0,l.jsx)("h3",{className:"blog-clamp-2 font-m text-[0.95rem] leading-28",children:t.title}),t.excerpt&&(0,l.jsx)("p",{className:"blog-clamp-2 font-l text-12 leading-28 text-[color:var(--blog-ink-2)]",children:t.excerpt}),(0,l.jsx)("div",{className:"mt-auto pt-4",children:(0,l.jsx)(g,{post:t,compact:!0})})]})]})}function u(e){let{posts:t}=e;return t.length?(0,l.jsx)("div",{className:"grid grid-cols-1 gap-20 sm:grid-cols-2 md:grid-cols-3",children:t.map(e=>(0,l.jsx)(h,{post:e},e.slug))}):(0,l.jsx)("div",{className:"rounded-24 bg-white p-40 text-center text-[color:var(--blog-ink-3)]",style:{boxShadow:"var(--blog-shadow)"},children:"هنوز مقاله‌ای اینجا نیست."})}function p(e){let{page:t,pageCount:s,hrefFor:a}=e;if(s<=1)return null;let i=Math.max(1,Math.min(t-2,s-4)),n=Math.min(s,i+4),o=[];for(let e=i;e<=n;e++)o.push(e);return(0,l.jsxs)("nav",{className:"blog-pager","aria-label":"صفحه‌بندی",children:[t>1&&(0,l.jsx)(r(),{href:a(t-1),className:"blog-pager__step",children:"قبلی"}),o.map(e=>(0,l.jsx)(r(),{href:a(e),"aria-current":e===t?"page":void 0,className:`blog-pager__num ${e===t?"is-active":""}`,children:d(e)},e)),t<s&&(0,l.jsx)(r(),{href:a(t+1),className:"blog-pager__step",children:"بعدی"})]})}},75218:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return h}});var l=s(85893),a=s(67294),r=s(9008),i=s.n(r),n=s(41664),o=s.n(n),c=s(25675),d=s.n(c),m=s(19213);let g=e=>(e??0).toLocaleString("fa-IR");function h(e){let{title:t,posts:s,allHref:r}=e,n=(0,a.useRef)(null),[c,h]=(0,a.useState)(!0),[u,p]=(0,a.useState)(!1),x=(0,a.useCallback)(()=>{let e=n.current;if(!e)return;let t=e.scrollWidth-e.clientWidth,s=Math.abs(e.scrollLeft);h(s<8),p(s>t-8)},[]);(0,a.useEffect)(()=>{x();let e=n.current;if(e)return e.addEventListener("scroll",x,{passive:!0}),window.addEventListener("resize",x),()=>{e.removeEventListener("scroll",x),window.removeEventListener("resize",x)}},[x,s.length]);let b=e=>{let t=n.current;t&&t.scrollBy({left:e*Math.min(.8*t.clientWidth,520),behavior:"smooth"})};return s.length?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i(),{children:(0,l.jsx)("link",{rel:"stylesheet",href:"/styles/blog.css"},"blog-css")}),(0,l.jsxs)("section",{className:"blog-carousel","aria-label":t,children:[(0,l.jsxs)("div",{className:"blog-carousel__head",children:[(0,l.jsx)("h2",{className:"blog-carousel__title",children:t}),(0,l.jsxs)("div",{className:"blog-carousel__tools",children:[r&&(0,l.jsx)(o(),{href:r,className:"blog-carousel__all",children:"مشاهده همه"}),(0,l.jsxs)("div",{className:"blog-carousel__arrows",children:[(0,l.jsx)("button",{type:"button","aria-label":"بعدی",onClick:()=>b(-1),disabled:u,className:"blog-arrow",children:(0,l.jsx)("svg",{viewBox:"0 0 24 24",width:"17",height:"17",fill:"none",stroke:"currentColor",strokeWidth:"2",children:(0,l.jsx)("path",{d:"M15 6l-6 6 6 6",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,l.jsx)("button",{type:"button","aria-label":"قبلی",onClick:()=>b(1),disabled:c,className:"blog-arrow",children:(0,l.jsx)("svg",{viewBox:"0 0 24 24",width:"17",height:"17",fill:"none",stroke:"currentColor",strokeWidth:"2",children:(0,l.jsx)("path",{d:"M9 6l6 6-6 6",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]})]}),(0,l.jsx)("div",{className:"blog-scroller blog-carousel__rail",ref:n,children:s.map(e=>{var t,s;let a=null===(t=e.authors)||void 0===t?void 0:null===(s=t[0])||void 0===s?void 0:s.author;return(0,l.jsx)(o(),{href:`/blog/${encodeURIComponent(e.slug)}/`,className:"blog-pcard",children:(0,l.jsxs)("span",{className:"blog-pcard__media",children:[e.featuredImageUrl?(0,l.jsx)(m.Z,{src:e.featuredImageUrl,srcSet:e.featuredImageSrcset,alt:e.title,sizes:"(max-width: 768px) 74vw, 280px",className:"object-cover"}):(0,l.jsx)("span",{className:"blog-pcard__ph"}),(0,l.jsx)("span",{className:"blog-pcard__veil"}),e.category&&(0,l.jsx)("span",{className:"blog-pcard__cat",children:e.category.name}),(0,l.jsxs)("span",{className:"blog-pcard__body",children:[(0,l.jsx)("span",{className:"blog-pcard__title blog-clamp-2",children:e.title}),(0,l.jsxs)("span",{className:"blog-pcard__foot",children:[a&&(0,l.jsxs)("span",{className:"blog-pcard__author",children:[a.avatarUrl?(0,l.jsx)(d(),{src:a.avatarUrl,alt:a.displayName,width:22,height:22,className:"blog-pcard__avatar"}):(0,l.jsx)("span",{className:"blog-pcard__avatar blog-pcard__avatar--letter",children:a.displayName.slice(0,1)}),a.displayName]}),e.readMinutes?(0,l.jsxs)("span",{className:"blog-pcard__read",children:[g(e.readMinutes)," دقیقه"]}):null]})]})]})},e.slug)})})]})]}):null}},51355:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSP:function(){return C},default:function(){return U}});var l=s(85893),a=s(9008),r=s.n(a),i=s(41664),n=s.n(i),o=s(19263),c=s(19213),d=s(75218),m=s(67294),g=s(25675),h=s.n(g),u=s(14078);let p=e=>
1e.toLocaleString("fa-IR");function x(e){let{posts:t,label:s,priority:a=!1}=e,r=(0,m.useRef)(null),i=(0,m.useRef)(null),o=(0,m.useRef)([]),d=(0,m.useRef)(null),g=(0,m.useRef)(!0),[x,b]=(0,m.useState)(0),[j,f]=(0,m.useState)(!1),[v,_]=(0,m.useState)(!1),[N,y]=(0,m.useState)(!1),[w,I]=(0,m.useState)(!0),[$,S]=(0,m.useState)(!1),k=t.length,L=(0,m.useCallback)(e=>b((e%k+k)%k),[k]);(0,m.useEffect)(()=>{var e;let t=window.matchMedia("(prefers-reduced-motion: reduce)"),s=()=>S(t.matches);s(),null===(e=t.addEventListener)||void 0===e||e.call(t,"change",s);let l=()=>I("visible"===document.visibilityState);return document.addEventListener("visibilitychange",l),()=>{var e;null===(e=t.removeEventListener)||void 0===e||e.call(t,"change",s),document.removeEventListener("visibilitychange",l)}},[]),(0,m.useEffect)(()=>{let e=r.current;if(!e)return;let t=new IntersectionObserver(e=>{let[t]=e;return y(t.isIntersecting)},{threshold:.35});return t.observe(e),()=>t.disconnect()},[]);let C=k>1&&!j&&!$&&!v&&N&&w;return((0,m.useEffect)(()=>{if(!C)return;let e=window.setTimeout(()=>L(x+1),6500);return()=>window.clearTimeout(e)},[C,x,L]),(0,m.useEffect)(()=>{if(g.current){g.current=!1;return}let e=i.current,t=o.current[x];if(!e||!t)return;let s=e.getBoundingClientRect(),l=t.getBoundingClientRect(),a=$?"auto":"smooth";e.scrollWidth>e.clientWidth+2?e.scrollBy({left:l.right-s.right,behavior:a}):e.scrollHeight>e.clientHeight+2&&e.scrollBy({top:l.top-s.top-(s.height-l.height)/2,behavior:a})},[x,$]),k)?(0,l.jsx)("section",{ref:r,className:`blog-slider ${C?"is-playing":""}`,"aria-roledescription":"carousel","aria-label":s||"مقاله‌های برگزیده",onMouseEnter:()=>_(!0),onMouseLeave:()=>_(!1),onFocusCapture:()=>_(!0),onBlurCapture:()=>_(!1),children:(0,l.jsxs)("div",{className:"blog-slider__grid",children:[(0,l.jsxs)("div",{className:"blog-slider__stage",onPointerDown:e=>{_(!0),d.current={x:e.clientX,y:e.clientY,moved:!1}},onPointerUp:e=>{_(!1);let t=d.current;if(!t||"mouse"===e.pointerType)return;let s=e.clientX-t.x;Math.abs(s)>45&&Math.abs(s)>Math.abs(e.clientY-t.y)&&(t.moved=!0,L(x+(s<0?1:-1)))},onPointerCancel:()=>_(!1),onClickCapture:e=>{var t;(null===(t=d.current)||void 0===t?void 0:t.moved)&&(e.preventDefault(),d.current=null)},onKeyDown:e=>{"ArrowLeft"===e.key&&L(x+1),"ArrowRight"===e.key&&L(x-1)},children:[t.map((e,t)=>{var s,r;let i=null===(s=e.authors)||void 0===s?void 0:null===(r=s[0])||void 0===r?void 0:r.author,o=t===x;return(0,l.jsx)("article",{className:`blog-slider__slide ${o?"is-active":""}`,role:"group","aria-roledescription":"slide","aria-label":`${p(t+1)} از ${p(k)}`,"aria-hidden":!o,children:(0,l.jsxs)(n(),{href:`/blog/${encodeURIComponent(e.slug)}/`,className:"blog-slider__link",tabIndex:o?0:-1,draggable:!1,children:[(0,l.jsx)("span",{className:"blog-slider__media",children:e.featuredImageUrl?(0,l.jsx)(c.Z,{src:e.featuredImageUrl,srcSet:e.featuredImageSrcset,alt:e.featuredImageAlt||e.title,priority:a&&0===t,sizes:"(max-width: 1023px) 100vw, 760px",className:"blog-slider__img",draggable:!1}):(0,l.jsx)("span",{className:"blog-slider__ph",children:e.title.slice(0,1)})}),(0,l.jsx)("span",{className:"blog-slider__veil","aria-hidden":!0}),(0,l.jsxs)("span",{className:"blog-slider__body",children:[e.category&&(0,l.jsx)("span",{className:"blog-slider__cat",children:e.category.name}),(0,l.jsx)("h2",{className:"blog-slider__title",children:e.title}),e.excerpt&&(0,l.jsx)("span",{className:"blog-slider__excerpt",children:e.excerpt}),(0,l.jsxs)("span",{className:"blog-slider__meta",children:[i&&(0,l.jsxs)("span",{className:"blog-slider__author",children:[i.avatarUrl?(0,l.jsx)(h(),{src:i.avatarUrl,alt:"",width:26,height:26,className:"blog-slider__avatar"}):(0,l.jsx)("span",{className:"blog-slider__avatar blog-slider__avatar--letter",children:i.displayName.slice(0,1)}),i.displayName]}),e.publishedAt&&(0,l.jsx)("time",{dateTime:e.publishedAt,children:(0,u.IY)(e.publishedAt)}),e.readMinutes?(0,l.jsxs)("span",{children:[p(e.readMinutes)," دقیقه مطالعه"]}):null]})]})]})},e.slug)}),k>1&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("span",{className:"blog-sl
1ider__counter","aria-hidden":!0,children:[p(x+1)," / ",p(k)]}),!$&&(0,l.jsx)("button",{type:"button",className:"blog-slider__pause","aria-label":j?"پخش خودکار اسلایدها":"توقف پخش خودکار",onClick:()=>f(e=>!e),children:j?(0,l.jsx)("svg",{viewBox:"0 0 24 24",width:"14",height:"14",fill:"currentColor","aria-hidden":!0,children:(0,l.jsx)("path",{d:"M8 5.5v13a1 1 0 0 0 1.5.86l10.4-6.5a1 1 0 0 0 0-1.72L9.5 4.64A1 1 0 0 0 8 5.5Z"})}):(0,l.jsxs)("svg",{viewBox:"0 0 24 24",width:"14",height:"14",fill:"currentColor","aria-hidden":!0,children:[(0,l.jsx)("rect",{x:"6",y:"5",width:"4",height:"14",rx:"1.2"}),(0,l.jsx)("rect",{x:"14",y:"5",width:"4",height:"14",rx:"1.2"})]})})]})]}),k>1&&(0,l.jsx)("div",{ref:i,className:"blog-slider__list","aria-label":"همه‌ی اسلایدها",children:t.map((e,t)=>(0,l.jsxs)("button",{ref:e=>{o.current[t]=e},type:"button",className:`blog-slider__item ${t===x?"is-active":""}`,"aria-current":t===x?"true":void 0,"aria-label":`نمایش اسلاید ${p(t+1)}: ${e.title}`,onClick:()=>L(t),children:[(0,l.jsx)("span",{className:"blog-slider__thumb",children:e.featuredImageUrl?(0,l.jsx)(c.Z,{src:e.featuredImageUrl,srcSet:e.featuredImageSrcset,alt:"",sizes:"96px",className:"blog-slider__thumbimg"}):(0,l.jsx)("span",{className:"blog-slider__thumbph",children:e.title.slice(0,1)})}),(0,l.jsxs)("span",{className:"blog-slider__itemtext",children:[(0,l.jsx)("span",{className:"blog-slider__itemtitle",children:e.title}),(0,l.jsxs)("span",{className:"blog-slider__itemmeta",children:[e.publishedAt?(0,u.IY)(e.publishedAt):"",e.readMinutes?` \xb7 ${p(e.readMinutes)} دقیقه`:""]})]}),(0,l.jsx)("span",{className:"blog-slider__progress","aria-hidden":!0})]},e.slug))})]})}):null}function b(e){let{sections:t}=e,s=t.filter(e=>"categories"!==e.type&&e.posts.length>0),a=s.findIndex(e=>"hero"===e.type||"lead"===e.layout||"grid"===e.layout);return(0,l.jsx)(l.Fragment,{children:s.map((e,t)=>{let s=t===a;return"hero"===e.type?(0,l.jsx)(x,{posts:e.posts,label:e.title||void 0,priority:s},e.id):"carousel"===e.layout?(0,l.jsx)("div",{className:"mb-40",children:(0,l.jsx)(d.default,{title:e.title||"مقاله‌ها",posts:e.posts,allHref:e.moreHref??void 0})},e.id):(0,l.jsxs)("section",{className:"mb-40","aria-label":e.title||void 0,children:[(0,l.jsx)(j,{title:e.title,moreHref:e.moreHref}),"lead"===e.layout&&(0,l.jsx)(v,{posts:e.posts,priority:s}),"grid"===e.layout&&(0,l.jsx)(f,{posts:e.posts}),"list"===e.layout&&(0,l.jsx)(_,{posts:e.posts})]},e.id)})})}function j(e){let{title:t,moreHref:s}=e;return t||s?(0,l.jsxs)("div",{className:"mb-16 flex items-center justify-between gap-12",children:[t?(0,l.jsxs)("h2",{className:"flex items-center gap-10 font-b text-20 leading-32",children:[(0,l.jsx)("span",{"aria-hidden":!0,className:"inline-block h-20 w-4 rounded-100 bg-[color:var(--blog-accent)]"}),t]}):(0,l.jsx)("span",{}),s&&(0,l.jsx)(n(),{href:s,className:"blog-carousel__all",children:"مشاهده همه"})]}):null}function f(e){let{posts:t}=e;return(0,l.jsx)("div",{className:"grid grid-cols-1 gap-20 sm:grid-cols-2 md:grid-cols-3",children:t.map(e=>(0,l.jsx)(u.y4,{post:e},e.slug))})}function v(e){let{posts:t,priority:s}=e,[a,...r]=t;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(n(),{href:`/blog/${encodeURIComponent(a.slug)}/`,className:"group mb-20 block overflow-hidden rounded-24 bg-white md:grid md:grid-cols-2 md:items-stretch",style:{boxShadow:"var(--blog-shadow-lg)"},children:[(0,l.jsx)("div",{className:"relative aspect-[16/10] w-full bg-[color:var(--blog-ground)] md:aspect-auto md:h-full md:min-h-[280px]",children:a.featuredImageUrl?(0,l.jsx)(c.Z,{src:a.featuredImageUrl,srcSet:a.featuredImageSrcset,alt:a.featuredImageAlt||a.title,priority:s,sizes:"(max-width: 768px) 100vw, 560px",className:"object-cover transition-transform duration-500 group-hover:scale-[1.03]"}):(0,l.jsx)(u.Vm,{title:a.title})}),(0,l.jsxs)("div",{className:"flex flex-col justify-center gap-12 p-20 md:p-32",children:[a.category&&(0,l.jsx)("span",{className:"blog-chip w-fit",children:a.category.name}),(0,l.jsx)("h3",{className:"font-b text-20 leading-36 md:text-[1.5rem] md:leading-[2.6rem]",children:a.title}),a.excerpt&&(0,l.jsx)("p",{className:"blog-clamp-3 font-l text-14 leading-32 text-[color:var(--blog-ink-2)]",children:a.excerpt}),(0,l.jsx)(u.SP,{post:a})]})]}),r.length>0&&(0,l.jsx)(f,{posts:r})]})}function _(e){let{posts:t}=e;return(0,l.jsx)("ul",{className:"grid grid-cols-1 gap-12 md:grid-cols-2",children:t.map(e=>(0,l.jsx)("li",{children:(0,l.jsxs)(n(),{href:`/blog/${encodeURIComponent(e.slug)}/`,className:"group flex items-center gap-12 rounded-16 bg-white p-10 transition-shadow hover:shadow-lg",style:{boxShadow:"var(--blog-shadow)"},children:[(0,l.jsx)("span",{className:"relative h-72 w-[96px] flex-none overflow-hidden rounded-12 bg-[color:var(--blog-ground)]",children:e.featuredImageUrl?(0,l.jsx)(c.Z,{src:e.featuredImageUrl,srcSet:e.featuredImageSrcset,alt:e.featuredImageAlt||e.title,sizes:"96px",className:"object-cover transition-transform duration-500 group-hover:scale-[1.05]"}):(0,l.jsx)(u.Vm,{title:e.title})}),(0,l.jsxs)("span",{className:"flex min-w-0 flex-col gap-6",children:[e.category&&(0,l.jsx)("span",{className:"text-[0.7rem] text-[color:var(--blog-accent-dark)]",children:e.category.name}),(0,l.jsx)("span",{className:"blog-clamp-2 font-m text-14 leading-24",children:e.title}),(0,l.jsx)(u.SP,{post:e,compact:!0})]})]})},e.slug))})}var N=s(55095);let y="https://lidomatrip.com",w=`${y}/blog`,I=`${y}/blog/feed`,$="مجله لیدوماتریپ | راهنمای سفر، جاهای دیدنی و اقامت در ایران",S="راهنمای سفر به شهرهای ایران: جاهای دیدنی، بهترین زمان سفر، رستوران‌ها، هزینه‌ها و انتخاب ویلا و اقامتگاه — نوشته‌های تیم لیدوماتریپ.",k=e=>e?e.startsWith("/")?`${y}${e}`:e:null,L=e=>JSON.stringify(e).replace(/</g,"\\u003c");var C=!0;function U(e){if("archive"===e.mode){let t=e=>e<=1?"/blog":`/blog?page=${e}`;return(0,l.jsx)(N.Z,{title:"همه‌ی مقاله‌ها",eyebrow:"مجله لیدوما",metaTitle:`همه‌ی مقاله‌ها — صفحه‌ی ${e.meta.page.toLocaleStr
1ing("fa-IR")} | مجله لیدوماتریپ`,metaDescription:S,canonical:`${y}${t(e.meta.page)}`,posts:e.posts,meta:e.meta,hrefFor:t,categories:e.categories,settings:e.settings,isThin:!1})}let{categories:t,settings:s}=e,a=e.sections??[],i=a.some(e=>e.posts.length>0),c=new Set,d=a.flatMap(e=>e.posts).filter(e=>!c.has(e.slug)&&(c.add(e.slug),!0)),m=d.find(e=>e.featuredImageUrl),g=k(null==m?void 0:m.featuredImageUrl),h={"@context":"https://schema.org","@graph":[{"@type":"WebSite","@id":`${y}/#website`,url:y,name:"لیدوماتریپ",inLanguage:"fa-IR",publisher:{"@id":`${y}/#organization`},potentialAction:{"@type":"SearchAction",target:{"@type":"EntryPoint",urlTemplate:`${w}/search?q={search_term_string}`},"query-input":"required name=search_term_string"}},{"@type":"Organization","@id":`${y}/#organization`,name:"لیدوماتریپ",url:y,logo:{"@type":"ImageObject",url:`${y}/images/logo.png`}},{"@type":"CollectionPage","@id":`${w}#page`,url:w,name:$,description:S,inLanguage:"fa-IR",isPartOf:{"@id":`${y}/#website`},publisher:{"@id":`${y}/#organization`},breadcrumb:{"@id":`${w}#breadcrumb`},...g?{primaryImageOfPage:{"@type":"ImageObject",url:g}}:{},mainEntity:{"@type":"ItemList",numberOfItems:Math.min(d.length,30),itemListElement:d.slice(0,30).map((e,t)=>({"@type":"ListItem",position:t+1,url:`${y}/blog/${encodeURIComponent(e.slug)}/`,name:e.title}))}},{"@type":"BreadcrumbList","@id":`${w}#breadcrumb`,itemListElement:[{"@type":"ListItem",position:1,name:"خانه",item:y},{"@type":"ListItem",position:2,name:"مجله",item:w}]}]};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(r(),{children:[(0,l.jsx)("title",{children:$}),(0,l.jsx)("meta",{name:"description",content:S}),(0,l.jsx)("link",{rel:"canonical",href:w}),(0,l.jsx)("link",{rel:"alternate",type:"application/rss+xml",title:"مجله لیدوماتریپ",href:I}),(0,l.jsx)("link",{rel:"next",href:`${w}?page=2`}),(0,l.jsx)("meta",{name:"robots",content:"index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1"}),(0,l.jsx)("meta",{property:"og:type",content:"website"}),(0,l.jsx)("meta",{property:"og:site_name",content:"لیدوماتریپ"}),(0,l.jsx)("meta",{property:"og:title",content:$}),(0,l.jsx)("meta",{property:"og:description",content:S}),(0,l.jsx)("meta",{property:"og:url",content:w}),g&&(0,l.jsx)("meta",{property:"og:image",content:g}),g&&(0,l.jsx)("meta",{property:"og:image:alt",content:(null==m?void 0:m.featuredImageAlt)||(null==m?void 0:m.title)||$}),(0,l.jsx)("meta",{name:"twitter:card",content:g?"summary_large_image":"summary"}),(0,l.jsx)("meta",{name:"twitter:title",content:$}),(0,l.jsx)("meta",{name:"twitter:description",content:S}),g&&(0,l.jsx)("meta",{name:"twitter:image",content:g}),(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:L(h)}})]}),(0,l.jsxs)("div",{className:"blog-root min-h-screen",children:[(0,l.jsx)(o.w,{categories:t,settings:s}),(0,l.jsxs)("div",{className:"blog-shell",children:[(0,l.jsxs)("header",{className:"pb-16 pt-20 md:pb-20 md:pt-28",children:[(0,l.jsx)("h1",{className:"font-b text-20 leading-36 md:text-[1.75rem] md:leading-[2.8rem]",children:"مجله لیدوما"}),(0,l.jsx)("p",{className:"mt-4 text-14 text-[color:var(--blog-ink-2)]",children:"راهنمای سفر، مقصدها و اقامتگاه‌ها"})]}),i?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b,{sections:a}),(0,l.jsx)("div",{className:"mb-48 flex justify-center",children:(0,l.jsx)(n(),{href:"/blog?page=2",className:"rounded-100 border border-[color:var(--blog-line)] bg-white px-24 py-12 font-m text-14 text-[color:var(--blog-ink)] transition hover:border-[color:var(--blog-accent)] hover:text-[color:var(--blog-accent-dark)]",children:"همه‌ی مقاله‌ها"})})]}):(0,l.jsx)("div",{className:"rounded-24 bg-white p-40 text-center text-[color:var(--blog-ink-3)]",style:{boxShadow:"var(--blog-shadow)"},children:"هنوز مقاله‌ای منتشر نشده."})]}),(0,l.jsx)(o.U,{categories:t,settings:s})]})]})}}},function(e){e.O(0,[9263,9774,2888,179],function(){return e(e.s=67801)}),_N_E=e.O()}]);

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.