1"use strict";(self.webpackChunkinsight_timer=self.webpackChunkinsight_timer||[]).push([[4542,8491],{32416:(t,e,i)=>{i.d(e,{A:()=>n});var s=i(38341),r=i(7869),a=(i(95254),i(64582));const n=t=>(0,a.jsx)(s.s,{width:"100%",height:"calc(100vh - 96px)",align:"center",justify:"center",...t,children:(0,a.jsx)(r.y,{mb:"96px"})})},34542:(t,e,i)=>{i.r(e),i.d(e,{default:()=>p});var s=i(12867),r=i(64692),a=i(8367),n=i(56882),d=i(79438);const o=i(97141).A.div` 2 padding: 0 40px; 3 padding-bottom: 32px; 4 padding-top: 30px; 5 margin: auto; 6 width: 100%; 7 @media (max-width: 768px) { 8 padding-left: 13px; 9 padding-right: 13px; 10 } 11 12 .course-title { 13 width: 100%; 14 border-bottom: 2px solid rgba(0, 0, 0, 0.09); 15 h1 { 16 font-size: 1.5rem; 17 margin-bottom: 1.25rem; 18 font-family: ProximaNova-Bold, sans-serif; 19 align-items: center; 20 display: flex; 21 } 22 } 23 .course-block { 24 width: 33%; 25 padding-top: 1.25rem; 26 padding-bottom: 20px; 27 } 28 .course-block > div { 29 width: 100%; 30 } 31 .featured-title { 32 padding: 0.5rem 0; 33 font-family: ProximaNova-Bold, sans-serif; 34 align-items: center; 35 display: flex; 36 text-transform: capitalize; 37 padding-bottom: 12px; 38 } 39`;var l=i(95254),c=i(78284),h=i(32416),m=i(64582);const x=new c.E,p=()=>{const[t,e]=(0,l.useState)(),[i,c]=(0,l.useState)(!0);return(0,l.useEffect)((()=>{x.getDirectoryData("courses").then((t=>{e(t)})).catch((()=>{e(null)})).finally((()=>{c(!1)}))}),[]),i?(0,m.jsx)(h.A,{}):null===t?(0,m.jsx)(n.default,{}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(r.A,{title:"Courses Directory | Insight Timer",description:"Courses Directory",url:"https://insighttimer.com/dir/meditation-courses"}),t&&(0,m.jsxs)(o,{children:[(0,m.jsx)("div",{className:"course-title",children:(0,m.jsx)("h1",{children:"Courses Directory"})}),(0,m.jsx)(s.A,{container:!0,direction:"row",children:t&&Object.entries(t).map((t=>{let[e,i]=t;return(0,m.jsxs)("div",{className:"course-block",children:[(0,m.jsx)("h2",{className:"featured-title",children:e}),i&&i.map(((t,e)=>(0,m.jsx)(d.A,{linkTo:t.web_url,title:t.title},e)))]},e)}))})]}),(0,m.jsx)(a.default,{})]})}},38341:(t,e,i)=>{i.d(e,{s:()=>n});var s=i(64582),r=i(77205),a=i(88119);const n=(0,r.R)((function(t,e){const{direction:i,align:r,justify:n,wrap:d,basis:o,grow:l,shrink:c,...h}=t,m={display:"flex",flexDirection:i,alignItems:r,justifyContent:n,flexWrap:d,flexBasis:o,flexGrow:l,flexShrink:c};return(0,s.jsx)(a.B.div,{ref:e,__css:m,...h})}));n.displayName="Flex"},38491:(t,e,i)=>{i.r(e),i.d(e,{default:()=>n});var s=i(70705),r=i.n(s),a={};for(const d in s)"default"!==d&&(a[d]=()=>s[d]);i.d(e,a);const n=r().create({timeout:3e3})},78284:(t,e,i)=>{i.d(e,{E:()=>r});var s=i(38491);class r{getDirectoryData(t){return s.default.get(`https://sitemap.insighttimer.com/json/${t}.json`).then((t=>t.data))}getDirectoryGMSData(t){return s.default.get(`https://sitemap.insighttimer.com/gms/${t}.json`).then((t=>t.data))}}},79438:(t,e,i)=>{i.d(e,{A:()=>d});i(95254);var s=i(42046),r=i(66823);const a=i(97141).A.div` 40 width: 25%; 41 padding-right: 30px; 42 font-size: 0.875rem; 43 color: #8d8d8d; 44 line-height: 1.625; 45 font-family: ProximaNova-Regular, sans-serif; 46 @media (max-width: 768px) { 47 width: 50%; 48 padding-right: 15px; 49 } 50`;var n=i(64582);const d=t=>{let{linkTo:e,title:i}=t;return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(a,{children:(0,n.jsx)(s.NavLink,{to:e,children:(0,n.jsx)(r.A,{id:i,defaultMessage:i})})})})}}}]); 51//# sourceMappingURL=4542.616d3276.chunk.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.