1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2740],{90663:function(e,t,n){Promise.resolve().then(n.bind(n,99585))},87860:function(e,t,n){"use strict";n.d(t,{O:function(){return r},s:function(){return i}}),n(74590);var a=n(58064),r=(0,a.$)("a0dde6835f15b747a12ced88ba394ecef329222e"),i=(0,a.$)("20cfe04c14c03f11d86e66992457921200c12acc")},99585:function(e,t,n){"use strict";n.d(t,{default:function(){return g}});var a=n(57437),r=n(46619),i=n(57531),l=n(49432),o=n(15555),s=n(38773),c=n(87860);n(72077);var d=n(2265),u=n(85726);n(14972),n(93359),n(65689);let h=["january","february","march","april","may","june","july","august","september","october","november","december"];function g(e){let[t,n]=(0,d.useState)(null),[g,f]=(0,d.useState)(e.year&&""!=e.year?new Date(e.year,0,1):null),[v,m]=(0,d.useState)("dayGridMonth");console.log("current date:"),console.log(e.year),console.log(g),(0,d.useEffect)(()=>{if(g){let t=h[g.getMonth()];(0,c.s)(e.locale,g.getFullYear(),t).then(e=>{n(e.map(e=>({title:e.attributes.Title,description:e.attributes.Content,date:e.attributes.Date})))}).catch(e=>console.error("Error fetching events:",e))}},[g]);let p={...l.Z,buttonText:{...l.Z.buttonText,today:e.dict.calendar.thismonth}},b={...o.Z,buttonText:{...o.Z.buttonText,today:e.dict.calendar.thismonth,dayGridMonth:"Month",listMonth:"Agenda"}},y=e=>(console.log(e),(0,a.jsxs)("div",{className:"flex items-center justify-between text-wrap p-1 ",children:[(0,a.jsx)("b",{children:e.event.title}),(0,a.jsx)("add-to-calendar-button",{name:e.event.title,description:e.event.extendedProps.description,startDate:function(e){let t=e.getFullYear(),n=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0");return"".concat(t,"-").concat(n,"-").concat(a)}(e.event.start),options:"'Microsoft365','Google', 'Apple', 'iCal'",buttonStyle:"round",hideTextLabelButton:!0,hideIconButton:!1,label:"Add",inline:!0,forceOverlay:!0,size:"1"})]}));return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"hidden h-fit lg:block "+v,children:(0,a.jsx)(r.Z,{className:"h-fit",plugins:[i.Z,s.Z],initialView:"dayGridMonth",headerToolbar:{left:"prev,next today",center:"title",right:"dayGridMonth,listMonth"},eventClassNames:"clickable",eventDidMount:e=>{(0,u.ZP)(e.el,{content:e.event.extendedProps.description,placement:"right",trigger:"mouseenter click",interactive:!0,hideOnClick:!1,onShow(e){let t=t=>{e.reference.contains(t.target)||e.hide()};document.addEventListener("click",t),e.hideOnClickOutside=t},onHide(e){document.removeEventListener("click",e.hideOnClickOutside)}})},viewDidMount:e=>{"listMonth"==e.view.type?m("w-2/4"):m("w-full")},datesSet:e=>{let t=new Date(e.start.getFullYear(),e.start.getMonth(),e.start.getDay());g&&t.getTime()==g.getTime()||f(t)},events:t,eventContent:y,gotoDate:g,initialDate:g,weekends:!1,height:"auto",allDayText:"",contentHeight:"auto",eventBackgroundColor:"#1a1a24",eventBorderColor:"#1a1a24",eventTextColor:"#ffffff",locale:"tr"===e.locale?p:b})}),(0,a.jsx)("div",{className:"h-fit lg:hidden",children:(0,a.jsx)(r.Z,{className:"h-fit",plugins:[s.Z],initialView:"listMonth",headerToolbar:{left:"prev,next today",center:"title",right:"listMonth"},eventClassNames:"clickable",eventDidMount:e=>{(0,u.ZP)(e.el,{content:e.event.extendedProps.description,placement:"top",trigger:"mouseenter click",interactive:!0,hideOnClick:!1,onShow(e){let t=t=>{e.reference.contains(t.target)||e.hide()};document.addEventListener("click",t),e.hideOnClickOutside=t},onHide(e){document.removeEventListener("click",e.hideOnClickOutside)}})},events:t,eventContent:y,gotoDate:g,initialDate:g,weekends:!1,allDayText:"",height:"auto",contentHeight:"auto",eventBackgroundColor:"#1a1a24",eventBorderColor:"#1a1a24",eventTextColor:"#ffffff",locale:"tr"===e.locale?p:"en"})})]})}},72077:function(e,t,n){"use strict";n.d(t,{Y:function(){return i}});var a=n(57437),r=n(53780);function i(){return(0,a.jsxs)(r.Card,{className:"mt-6 w-full animate-pulse",children:[(0,a.jsx)(r.CardHeader,{shadow:!1,floated:!1,className:"relative grid h-56 place-items-center bg-gray-300",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",className:"h-12 w-12 text-gray-500",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"})})}),(0,a.jsxs)(r.CardBody,{children:[(0,a.jsx)(r.Typography,{as:"div",variant:"h1",className:"mb-4 h-3 w-56 rounded-full bg-gray-300",children:"\xa0"}),(0,a.jsx)(r.Typography,{as:"div",variant:"paragraph",className:"mb-2 h-2 w-full rounded-full bg-gray-300",children:"\xa0"}),(0,a.jsx)(r.Typography,{as:"div",variant:"paragraph",className:"mb-2 h-2 w-full rounded-full bg-gray-300",children:"\xa0"}),(0,a.jsx)(r.Typography,{as:"div",variant:"paragraph",className:"mb-2 h-2 w-full rounded-full bg-gray-300",children:"\xa0"}),(0,a.jsx)(r.Typography,{as:"div",variant:"paragraph",className:"mb-2 h-2 w-full rounded-full bg-gray-300",children:"\xa0"})]}),(0,a.jsx)(r.CardFooter,{className:"pt-0",children:(0,a.jsx)(r.Button,{disabled:!0,tabIndex:-1,
1className:"h-8 w-20 bg-gray-300 shadow-none hover:shadow-none",children:"\xa0"})})]})}}},function(e){e.O(0,[2880,6384,6017,8554,1255,3928,2971,7023,1744],function(){return e(e.s=90663)}),_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.