1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2604],{72604:function(e,t,r){r.r(t);var n=r(59499),i=r(50029),a=r(87794),o=r.n(a),c=r(21608),s=r(31555),p=r(3698),l=r(25675),d=r.n(l),u=r(5434),g=r(67294),x=r(8648),h=r(95309),f=r(41664),v=r.n(f),b=r(28244),m=r(19521),j=r(85893);function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?w(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var O=r(95484).Image,k=m.ZP.div.withConfig({displayName:"fotografgalerisi__StyledFotografPagination",componentId:"sc-1kc5ia1-0"})(["padding:30px 0 10px;.ant-pagination{display:flex;justify-content:center;.ant-pagination-item{width:37px;height:40px;padding:5px;border-radius:5px;font-size:17px;font-weight:500;background:white;color:#347e33;border:0px solid white;margin:",";&:hover{background:#347e33;color:white;border:0px solid #347e33;}}.ant-pagination-jump-prev .ant-pagination-jump-next{width:45px;height:40px;margin:",";}.ant-pagination-item-active{background:#347e33;color:white;border:0px solid #347e33;}.ant-pagination-prev,.ant-pagination-next{button{width:45px;height:40px;border-radius:5px !important;background:white;color:#347e33;border:0px solid white;&:hover{border:1px solid #347e33;}}margin:",";}.ant-pagination-disabled{button{color:#c7c7c7;&:hover{border:none;}}}}
1"],(function(e){return"rtl"===e["data-rtl"]?"3px 0 3px 8px":"3px 8px 3px 0"}),(function(e){return"rtl"===e["data-rtl"]?"3px 0 3px 8px":"3px 8px 3px 0"}),(function(e){return"rtl"===e["data-rtl"]?"3px 0 3px 8px":"3px 8px 3px 0"}));t.default=function(e){var t=e.data,r=e.id,n=(0,g.useState)(),a=n[0],l=n[1],f=(0,g.useState)(1),m=f[0],w=f[1],P=(0,g.useState)({currentPage:1,pageSize:12}),C=P[0],S=P[1],N=function(){var e=(0,i.Z)(o().mark((function e(t){var r;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,x.qC)("/Site/GetContents",y(y({getImage:!0},C),{},{categoryId:t,imageSize:260}),!1);case 3:return r=e.sent,e.abrupt("return",r);case 7:e.prev=7,e.t0=e.catch(0);case 9:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t){return e.apply(this,arguments)}}();return(0,g.useEffect)((0,i.Z)(o().mark((function e(){var t;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,N(r);case 2:t=e.sent,l(t.data),w(t.total);case 5:case"end":return e.stop()}}),e)}))),[C]),(0,j.jsxs)("div",{id:"Fotografgalerisi",children:[(0,j.jsx)("div",{className:"body",children:(0,j.jsx)(c.Z,{children:a&&(null===a||void 0===a?void 0:a.map((function(e){var r,n;return(0,j.jsx)(s.Z,{sm:6,children:(0,j.jsx)(v(),{href:{pathname:"".concat((0,b.Z)(null===t||void 0===t?void 0:t.kategori.text),"-").concat(null===t||void 0===t||null===(r=t.kategori)||void 0===r?void 0:r.id,"/").concat((0,b.Z)(null===t||void 0===t?void 0:t.subCategori.text),"-").concat(null===t||void 0===t||null===(n=t.subCategori)||void 0===n?void 0:n.id,"/").concat(e.id,"-Detay")},children:(0,j.jsx)("a",{children:(0,j.jsxs)("div",{className:"galeri",children:[(0,j.jsx)("div",{className:"img",children:e.imageName?(0,j.jsx)(d(),{loader:h.Z,src:"Content/".concat(e.imageName),alt:"galeri",layout:"fill"}):(0,j.jsx)(O,{preview:!1,src:"/assets/img/renksiz2.png",alt:"galeri",layout:"fill"})}),(0,j.jsx)("div",{className:"galeriBody",children:(0,j.jsx)("div",{children:(0,j.jsx)("h4",{children:e.title})})}),(0,j.jsxs)("div",{className:"total",children:[(0,j.jsx)(u.C0e,{}),e.imageCount]})]})})})})})))})}),(0,j.jsx)(k,{children:(0,j.jsx)(p.Z,{showLessItems:!0,total:m,current:C.currentPage,pageSize:12,onChange:function(e){return S({pageSize:12,currentPage:e})},showSizeChanger:!1})})]})}}}]);
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.