PageSourceSearch

https://www.ncsi.gov.om/_next/static/chunks/pages/guidesAndClassif…/MostViewedGuideSlider-4cd712f326aaa35d.js

js ncsi.gov.om collected 2026-09-24 09:54:01 UTC 3,381 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6944],{6617:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>n});var l=a(7876),i=a(4232),t=a(4846),r=a(9099);let n=e=>{let{mostViewed:s}=e,{t:a,i18n:n}=(0,t.Bd)("common"),c=(0,r.useRouter)(),[d,o]=(0,i.useState)(!1);if((0,i.useEffect)(()=>{o(!0)},[]),(0,i.useEffect)(()=>{let e=document.createElement("script");return e.src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js",e.async=!0,document.body.appendChild(e),()=>{document.body.removeChild(e)}},[]),!d||!n.isInitialized)return null;let u=Array.isArray(s)?s:(null==s?void 0:s.top_guideclassifications)||(null==s?void 0:s.top_guides)||(null==s?void 0:s.top_publications)||[];return(0,l.jsxs)("div",{className:"bsdetailsWrap",children:[(0,l.jsx)("div",{className:"bsslidewrap",children:(0,l.jsxs)("div",{id:"carouselExampleIndicators",className:"carousel slide","data-bs-ride":"carousel",children:[(0,l.jsx)("div",{className:"carousel-indicators",children:u.map((e,s)=>(0,l.jsx)("button",{type:"button","data-bs-target":"#carouselExampleIndicators","data-bs-slide-to":s,className:0===s?"active":"","aria-current":0===s?"true":"false","aria-label":"Slide ".concat(s+1)},s))}),(0,l.jsxs)("div",{className:"carousel-inner",style:{minHeight:"512px"},children:[u.map((e,s)=>(0,l.jsx)("div",{className:"carousel-item ".concat(0===s?"active":""),children:(0,l.jsxs)("div",{className:"slideContent",children:[(0,l.jsx)("img",{src:e.cover_image_url||e.cover_image,className:"d-block w-100",alt:e.title_en||"Guide"}),(0,l.jsxs)("div",{className:"c-content-wrap",children:[(0,l.jsx)("div",{className:"bsdetailsContent",children:(0,l.jsx)("h6",{children:"ar"===c.locale?e.title_ar:e.title_en})}),(0,l.jsx)("div",{className:"prgressbsWrap",children:(0,l.jsxs)("div",{className:"prgressbsWrapInner",children:[(0,l.jsxs)("div",{className:"d-flex custdflexx",children:[(0,l.jsx)("span",{children:a("most_viewed")}),(0,l.jsx)("span",{children:e.views||0})]}),(0,l.jsx)("div",{className:"progress",children:(0,l.jsx)("div",{className:"progress-bar",role:"progressbar",style:{width:"25%"},"aria-valuenow":"25","aria-valuemin":"0","aria-valuemax":"100"})})]})})]})]})},s)),0===u.length&&(0,l.jsx)("div",{className:"carousel-item active",children:(0,l.jsx)("div",{className:"slideContent d-flex align-items-center justify-content-center",style:{height:"400px",background:"#f8f9fa"},children:(0,l.jsx)("p",{children:a("No Data Found")})})})]}),(0,l.jsxs)("button",{className:"carousel-control-prev",type:"button","data-bs-target":"#carouselExampleIndicators","data-bs-slide":"prev",children:[(0,l.jsx)("span",{className:"carousel-control-prev-icon","aria-hidden":"true"}),(0,l.jsx)("span",{className:"visually-hidden",children:"Previous"})]}),(0,l.jsxs)("button",{className:"carousel-control-next",type:"button","data-bs-target":"#carouselExampleIndicators","data-bs-slide":"next",children:[(0,l.jsx)("span",{className:"carousel-control-next-icon","aria-hidden":"true"}),(0,l.jsx)("span",{className:"visually-hidden",children:"Next"})]})]})}),(0,l.jsx)("div",{className:"forbbtn",children:(0,l.jsx)("a",{href:"#",children:a("most_viewed")})})]})}},7890:(e,s,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/guidesAndClassifications/
1MostViewedGuideSlider",function(){return a(6617)}])}},e=>{var s=s=>e(e.s=s);e.O(0,[636,6593,8792],()=>s(7890)),_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.