PageSourceSearch

https://pitta-lab.com/_next/static/chunks/pages/new/enterprise/posts-f927a8e9b3e4327cc220.js

js pitta-lab.com collected 2026-10-02 18:22:00 UTC 25,638 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4479],{51907:function(e,t,n){"use strict";var i=n(87462),r=n(45987),a=n(67294),o=(n(45697),n(86010)),s=n(14670),c=a.forwardRef((function(e,t){var n=e.disableSpacing,s=void 0!==n&&n,c=e.classes,l=e.className,d=(0,r.Z)(e,["disableSpacing","classes","className"]);return a.createElement("div",(0,i.Z)({className:(0,o.Z)(c.root,l,!s&&c.spacing),ref:t},d))}));t.Z=(0,s.Z)({root:{display:"flex",alignItems:"center",padding:8},spacing:{"& > :not(:first-child)":{marginLeft:8}}},{name:"MuiCardActions"})(c)},41749:function(e,t,n){"use strict";var i=n(45987),r=n(87462),a=n(67294),o=(n(45697),n(86010)),s=n(14670),c=[0,1,2,3,4,5,6,7,8,9,10],l=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=parseFloat(e);return"".concat(n/t).concat(String(e).replace(String(n),"")||"px")}var u=a.forwardRef((function(e,t){var n=e.alignContent,s=void 0===n?"stretch":n,c=e.alignItems,l=void 0===c?"stretch":c,d=e.classes,u=e.className,p=e.component,h=void 0===p?"div":p,f=e.container,g=void 0!==f&&f,x=e.direction,m=void 0===x?"row":x,v=e.item,j=void 0!==v&&v,b=e.justify,w=void 0===b?"flex-start":b,y=e.lg,Z=void 0!==y&&y,C=e.md,N=void 0!==C&&C,S=e.sm,k=void 0!==S&&S,M=e.spacing,B=void 0===M?0:M,E=e.wrap,O=void 0===E?"wrap":E,z=e.xl,T=void 0!==z&&z,D=e.xs,P=void 0!==D&&D,I=e.zeroMinWidth,W=void 0!==I&&I,A=(0,i.Z)(e,["alignContent","alignItems","classes","className","component","container","direction","item","justify","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),_=(0,o.Z)(d.root,u,g&&[d.container,0!==B&&d["spacing-xs-".concat(String(B))]],j&&d.item,W&&d.zeroMinWidth,"row"!==m&&d["direction-xs-".concat(String(m))],"wrap"!==O&&d["wrap-xs-".concat(String(O))],"stretch"!==l&&d["align-items-xs-".concat(String(l))],"stretch"!==s&&d["align-content-xs-".concat(String(s))],"flex-start"!==w&&d["justify-xs-".concat(String(w))],!1!==P&&d["grid-xs-".concat(String(P))],!1!==k&&d["grid-sm-".concat(String(k))],!1!==N&&d["grid-md-".concat(String(N))],!1!==Z&&d["grid-lg-".concat(String(Z))],!1!==T&&d["grid-xl-".concat(String(T))]);return a.createElement(h,(0,r.Z)({className:_,ref:t},A))})),p=(0,s.Z)((function(e){return(0,r.Z)({root:{},container:{boxSizing:"border-box",display:"flex",flexWrap:"wrap",width:"100%"},item:{boxSizing:"border-box",margin:"0"},zeroMinWidth:{minWidth:0},"direction-xs-column":{flexDirection:"column"},"direction-xs-column-reverse":{flexDirection:"column-reverse"},"direction-xs-row-reverse":{flexDirection:"row-reverse"},"wrap-xs-nowrap":{flexWrap:"nowrap"},"wrap-xs-wrap-reverse":{flexWrap:"wrap-reverse"},"align-items-xs-center":{alignItems:"center"},"align-items-xs-flex-start":{alignItems:"flex-start"},"align-items-xs-flex-end":{alignItems:"flex-end"},"align-items-xs-baseline":{alignItems:"baseline"},"align-content-xs-center":{alignContent:"center"},"align-content-xs-flex-start":{alignContent:"flex-start"},"align-content-xs-flex-end":{alignContent:"flex-end"},"align-content-xs-space-between":{alignContent:"space-between"},"align-content-xs-space-around":{alignContent:"space-around"},"justify-xs-center":{justifyContent:"center"},"justify-xs-flex-end":{justifyContent:"flex-end"},"justify-xs-space-between":{justifyContent:"space-between"},"justify-xs-space-around":{justifyContent:"space-around"},"justify-xs-space-evenly":{justifyContent:"space-evenly"}},function(e,t){var n={};return c.forEach((function(i){var r=e.spacing(i);0!==r&&(n["spacing-".concat(t,"-").concat(i)]={margin:"-".concat(d(r,2)),width:"calc(100% + ".concat(d(r),")"),"& > $item":{padding:d(r,2)}})})),n}(e,"xs"),e.breakpoints.keys.reduce((function(t,n){return function(e,t,n){var i={};l.forEach((function(e){var t="grid-".concat(n,"-").concat(e);if(!0!==e)if("auto"!==e){var r="".concat(Math.round(e/12*1e8)/1e6,"%");i[t]={flexBasis:r,flexGrow:0,maxWidth:r}}else i[t]={flexBasis:"auto",flexGrow:0,maxWidth:"none"};else i[t]={flexBasis:0,flexGrow:1,maxWidth:"100%"}})),"xs"===n?(0,r.Z)(e,i):e[t.breakpoints.up(n)]=i}(t,e,n),t}),{}))}),{name:"MuiGrid"})(u);t.Z=p},77342:function(e,t,n){"use strict";var i=n(95318),r=n(20862);t.Z=void 0;var a=r(n(67294)),o=(0,i(n(2108)).default)(a.createElement(a.Fragment,null,a.createElement("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),a.createElement("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})),"AccessTime");t.Z=o},59067:function(e,t,n){"use strict";var i=n(95318),r=n(20862);t.Z=void 0;var a=r(n(67294)),o=(0,i(n(2108)).default)(a.createElement("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Edit");t.Z=o},62865:function(e,t,n){"use strict";var i=n(95318),r=n(20862);t.Z=void 0;var a=r(n(67294)),o=(0,i(n(2108)).default)(a.createElement("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"}),"Mail");t.Z=o},53093:function(e,t,n){"use strict";var i=n(95318),r=n(20862);t.Z=void 0;var a=r(n(67294)),o=(0,i(n(2108)).default)(a.createElement("path",{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3
1-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z"}),"Share");t.Z=o},53143:function(e,t,n){"use strict";n.d(t,{p:function(){return o}});var i=n(85893),r=(n(67294),n(65617)),a=n(27228),o=function(e){var t=e.title,n=e.src,o=e.height,s=void 0===o?r.c1:o,c=e.width,l=void 0===c?r.CZ:c,d=e.layout,u=void 0===d?void 0:d;return(0,i.jsx)(a.d,{imageProps:{src:n,alt:t,width:l,height:s,layout:u}})}},91622:function(e,t,n){"use strict";n.d(t,{G:function(){return l}});var i=n(85893),r=(n(67294),n(41664)),a=n(41120),o=n(87623),s=n(14053),c=(0,a.Z)((function(e){return(0,o.Z)({tagContainer:{display:"inline-block",textAlign:"center",background:e.palette.grey[400],padding:2,margin:2,fontSize:"0.3rem",borderRadius:3},tag:{color:e.palette.grey[800],fontSize:12,textAlign:"center",textDecoration:"none"}})}));function l(e){var t,n,a=e.category,o=c();return(0,i.jsx)("span",{className:o.tagContainer,children:(0,i.jsx)(r.default,{href:(0,s.Bv)("categoryShow",null!==(t=null===a||void 0===a?void 0:a.slug)&&void 0!==t?t:""),children:(0,i.jsx)("a",{className:o.tag,children:null!==(n=null===a||void 0===a?void 0:a.name)&&void 0!==n?n:""})})},null!==a&&void 0!==a&&a.name?null===a||void 0===a?void 0:a.name:Math.random().toString())}},93182:function(e,t,n){"use strict";n.d(t,{W:function(){return r}});var i=n(85893);n(67294);function r(e){var t=e.children;return(0,i.jsx)("div",{children:t})}},27228:function(e,t,n){"use strict";n.d(t,{d:function(){return u}});var i=n(85893),r=n(4942),a=(n(67294),n(25675)),o=n(41120),s=n(87623),c=n(8315);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}(0,o.Z)((function(e){return(0,s.Z)({root:(0,r.Z)({backgroundColor:e.palette.background.paper},e.breakpoints.down("sm"),{margin:e.spacing(2)})})}));var u=function(e){var t=e.imageProps,n=e.className,r=e.useCloudinary,o=void 0===r||r,s=t.src;return s?(0,i.jsx)(a.default,d(d({},t),{},{className:n,src:(0,c._)({path:s.toString(),useCloudinary:o}),unoptimized:!0})):null}},30120:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return de}});var i=n(87757),r=n.n(i),a=n(15861),o=n(85893),s=n(67294),c=n(41664),l=n(80366),d=n(41120),u=n(41749),p=n(66083),h=n(7212),f=n(29525),g=n(66856),x=n(52663),m=n(94697),v=n(79912),j=n(18463),b=n(282),w=n(14053),y=n(42892),Z=n(7416),C=n(71251),N=n(52715),S=n(17376),k=n(36656),M=n(6119),B=n(45987),E=n(4942),O=n(25675),z=n(27484),T=n.n(z),D=n(86010),P=n(53093),I=n(62865),W=n(59067),A=n(77342),_=n(22318),L=n(62087),R=n(87623),F=n(52387),H=n(51907),U=n(87462),V=(n(45697),n(14670)),Y=n(32467),G=s.forwardRef((function(e,t){var n=e.children,i=e.classes,r=e.className,a=e.focusVisibleClassName,o=(0,B.Z)(e,["children","classes","className","focusVisibleClassName"]);return s.createElement(Y.Z,(0,U.Z)({className:(0,D.Z)(i.root,r),focusVisibleClassName:(0,D.Z)(a,i.focusVisible),ref:t},o),n,s.createElement("span",{className:i.focusHighlight}))})),$=(0,V.Z)((function(e){return{root:{display:"block",textAlign:"inherit",width:"100%","&:hover $focusHighlight":{opacity:e.palette.action.hoverOpacity},"&$focusVisible $focusHighlight":{opacity:.12}},focusVisible:{},focusHighlight:{overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:e.transitions.create("opacity",{duration:e.transitions.duration.short})}}}),{name:"MuiCardActionArea"})(G),X=n(65617),q=n(53143),J=n(91622);function K(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?K(Object(n),!0).forEach((function(t){(0,E.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ee=(0,d.Z)((function(e){return(0,R.Z)({root:{width:X.CZ,height:360,position:"relative"},flex:{display:"flex"},wrapFlex:{display:"inline",flexWrap:"wrap",alignContent:"stretch"},mainContent:{width:"100%",height:200},articleContainer:{position:"relative",borderBottom:"1px solid ".concat(e.palette.grey[300]),paddingBottom:e.spacing(2),marginBottom:e.spacing(2)},cardContent:{flexDirection:"column",paddingTop:0},link:{textDecoration:"none",color:e.palette.grey[900],fontWeight:"bold"},description:{color:e.palette.grey[700],fontSize:12},shareButton:{position:"absolute",top:15,right:10,zIndex:1},date:{fontSize:11,letterSpacing:1,position:"absolute",bottom:10},status:{fontSize:12,letterSpacing:1,position:"absolute",bottom:10,right:15},templateMark:{backgroundColor:"#fcc819",fontWeight:"bolder",color:"#000",display:"inline-block",textAlign:"center",width:20,borderRadius:25},dateIconMargin:{marginRight:5},flexCenter:{display:"flex",alignItems:"center"}})})),te=(0,d.Z)((function(e){return(0,R.Z)({shareBox:{minHeight:240,minWidth:360,padding:"20px 40px 20px 40px"},shareBoxTitle:{fontSize:"18px",fontWeight:"bolder",textAlign:"center"},shareButtonContainer:{marginTop:25,justifyContent:"center"},shareButton:{display:"inline-block",textAlign:"center",marginLeft:15,marginRight:15,minWidth:80},imageCaption:{fontSize:12},iconSize:{width:60,height:60}})})),ne=function(e){var t=e.openPopover,n=e.anchorEl,i=e.handlePopoverClose,r=e.postTitle,a=e.postFullUrl,s=te(),c=encodeURI(a),l=(0,C.i)().openSnack;return(0,o.jsx)(F.ZP,{open:t,anchorEl:n,onClose:i,anchorOrigin:{vertical:"center",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},children:(0,o.jsxs)("div",{className:s.shareBox,children:[(0,o.jsx)("div",{className:s.shareBoxTitle,children:"\u3053\u306e\u8a18\u4e8b\u3092\u30b7\u30a7\u30a2\u3059\u308b"}),(0,o.jsxs)("div",{className:s.shareButtonContainer,children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:s.shareButton,children:(0,o.jsxs)("a",{href:"https://www.facebook.com/share.php?u=".concat(c),rel:"nofollow noopener noreferrer",target:"_blank",children:[(0,o.jsx)(O.default,{src:"/sns/facebook.svg",alt:"facebook\u3067\u30b7\u30a7\u30a2",width:60,height:40}),(0,o.jsx)("figcaption",{className:s.imageCaption,children:"Facebook"})]})}),(0,o.jsx)("div",{className:s.shareButton,children:(0,o.jsxs)("a",{href:"https://twitter.com/share?url=".concat(c,"&text=").concat(r),rel:"nofollow noopener noreferrer",target:"_blank",children:[(0,o.jsx)(O.default,{src:"/sns/twitter.svg",alt:"twitter\u3067\u30b7\u30a7\u30a2",width:60,height:40}),(0,o.jsx)("figcaption",{className:s.imageCaption,children:"Twitter"})]})}),(0,o.jsx)("div",{className:s.shareButton,children:(0,o.jsxs)("a",{className:"HatenaShareButton",href:"https://b.hatena.ne.jp/add?mode=confirm&url=".concat(c,"&title=").concat(r),target:"_blank",rel:"noopener noreferrer",children:[(0,o.jsx)(O.default,{src:"/sns/hatena.svg",alt:"\u306f\u3066\u3076",width:60,height:40}),(0,o.jsx)("figcaption",{className:s.imageCaption,children:"Hatena"})]})})]}),(0,o.jsxs)("div",{style:{margin:"25px 0px 25px 0"},children:[(0,o.jsxs)("div",{className:s.shareButton,children:[(0,o.jsx)(ie,{fontSize:"inherit",style:{fontSize:40},onClick:function(){navigator.clipboard.writeText("".concat("https://pitta-lab.com").concat(a)),l({message:"URL\u3092\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3057\u307e\u3057\u305f",option:{variant:"success"}})}}),(0,o.jsx)("figcaption",{className:s.imageCaption,children:"\u30ea\u30f3\u30af\u30b3\u30d4\u30fc"})]}),(0,o.jsx)("div",{className:s.shareButton,children:(0,o.jsxs)("a",{href:"mailto:?subject=".concat(r,"&body=").concat(a),children:[(0,o.jsx)(I.Z,{fontSize:"inherit",style:{fontSize:40}}),(0,o.jsx)("figcaption",{className:s.imageCaption,children:"\u30e1\u30fc\u30eb"})]})})]})]})]})})},ie=function(e){return(0,o.jsx)(L.Z,Q(Q({version:"1.0",xmlns:"http://www.w3.org/2000/svg",width:"24.000000pt",height:"24.000000pt",viewBox:"0 0 24.000000 24.000000",preserveAspectRatio:"xMidYMid meet"},e),{},{children:(0,o.jsxs)("g",{transform:"translate(0.000000,24.000000) scale(0.100000,-0.100000)",fill:"#000000",stroke:"none",children:[(0,o.jsx)("path",{d:"M27 213 c-11 -11 -8 -153 3 -153 6 0 10 30 10 70 l0 70 70 0 c40 0\n70 4 70 10 0 11 -142 14 -153 3z"}),(0,o.jsx)("path",{d:"M64 167 c-3 -8 -4 -43 -2 -78 l3 -64 75 0 75 0 0 75 0 75 -73 3 c-55\n2 -74 -1 -78 -11z m136 -67 l0 -60 -60 0 -60 0 0 60 0 60 60 0 60 0 0 -60z"})]})}))};function re(e){var t=e.title,n=e.description,i=e.coverImage,r=e.createDate,a=e.lastUpdate,c=e.slug,l=(e.author,e.categories),d=void 0===l?[]:l,u=e.status,p=void 0===u?"":u,h=e.isTemplatePost,f=void 0!==h&&h,g=e.shareButtonEnabled,x=void 0!==g&&g,m=e.openInNewTab,b=void 0!==m&&m,y=((0,B.Z)(e,["title","description","coverImage","createDate","lastUpdate","slug","author","categories","status","isTemplatePost","shareButtonEnabled","openInNewTab"]),ee()),Z=s.useState(!1),C=(0,M.Z)(Z,2),N=C[0],S=C[1],k=s.useState(null),E=(0,M.Z)(k,2),O=E[0],z=E[1],I=(null===n||void 0===n?void 0:n.length)>30?n.slice(0,30)+"...":n,L="published"===p,R="0"===c?"/projects/01.html":"1"===c?
1"/projects/02.html":(0,w.Bv)
1("postShow",c),F="".concat("https://pitta-lab.com").concat(R),U=Boolean(O),V=b?{target:"_blank",rel:"noopener noreferrer"}:{};return(0,o.jsx)("a",Q(Q({className:(0,D.Z)(y.link),href:R},V),{},{children:(0,o.jsxs)(j.Z,{className:y.root,onMouseEnter:function(){return S(!0)},onMouseLeave:function(){z(null),S(!1)},children:[x&&N&&(0,o.jsxs)("div",{className:y.shareButton,children:[(0,o.jsx)(P.Z,{onClick:function(e){z(e.currentTarget)}}),(0,o.jsx)(ne,{openPopover:U,anchorEl:O,handlePopoverClose:function(){z(null)},postTitle:t,postFullUrl:F})]}),(0,o.jsxs)($,{children:[(0,o.jsx)(q.p,{title:t,src:i||"/no_image.png",width:X.CZ,height:X.c1}),(0,o.jsxs)("section",{className:y.mainContent,children:[(0,o.jsx)(H.Z,{className:y.wrapFlex,children:null===d||void 0===d?void 0:d.map((function(e){return(0,o.jsx)(J.G,{category:e},null!==e&&void 0!==e&&e.name?null===e||void 0===e?void 0:e.name:Math.random().toString())}))}),(0,o.jsxs)(v.Z,{classes:{root:y.cardContent},children:[(0,o.jsx)(_.Z,{variant:"subtitle2",component:"h2",style:{fontWeight:"bold"},children:t}),(0,o.jsx)("div",{className:y.description,children:I}),(0,o.jsxs)(_.Z,{classes:{root:y.date},variant:"body2",color:"textSecondary",component:"p",children:[(0,o.jsxs)("div",{className:y.flexCenter,children:[(0,o.jsx)(A.Z,{fontSize:"small",classes:{root:y.dateIconMargin}}),(0,o.jsx)(o.Fragment,{children:T()(r).isValid()?T()(r).format("YYYY.MM.DD"):"-"})]}),(0,o.jsxs)("div",{className:y.flexCenter,children:[(0,o.jsx)(W.Z,{fontSize:"small",classes:{root:y.dateIconMargin}}),(0,o.jsx)(o.Fragment,{children:T()(a).isValid()?T()(a).format("YYYY.MM.DD"):"-"})]})]}),f?(0,o.jsx)(_.Z,{classes:{root:y.status},variant:"body2",color:"textSecondary",component:"p",children:(0,o.jsx)("span",{className:y.templateMark,children:"\u4f8b"})}):p?(0,o.jsx)(_.Z,{classes:{root:y.status},variant:"body2",color:"textSecondary",component:"p",children:L?(0,o.jsx)("span",{style:{color:"#ed7d31",fontWeight:"bolder"},children:"\u516c\u958b\u4e2d"}):(0,o.jsx)("span",{style:{fontWeight:"bolder"},children:"\u4e0b\u66f8\u304d"})}):null]})]})]})]})}))}var ae=n(68778),oe=n(93182),se=(0,d.Z)((function(e){return{paperCreate:{minWidth:800,minHeight:320,padding:"20px 10px 10px 10px",backgroundImage:"linear-gradient(to right, #ea645e, #ee7771, #f18a84, #f39792)",color:"#ffffff"},paperDeleteDesktop:{minWidth:800,minHeight:210,boxShadow:"none"},paperDeleteMobile:{minWidth:340,borderRadius:18,boxShadow:"none"},createMain:{minHeight:160},createLink:{color:"#ffffff"},closeButton:{position:"absolute",right:33},createButton:{width:"100%",borderStyle:"solid",backgroundImage:"linear-gradient(to right, #FCC819, #EEA70E, #DE8202)",color:"white"},dialogTitle:{fontSize:24,fontWeight:"bolder"},dialogText:{textAlign:"center"},dialogButton:{marginRight:10,borderRadius:25,width:150,color:"#acacac","&:hover":{backgroundImage:"linear-gradient(to right, #FCC819, #EEA70E, #DE8202)",color:"#ffffff"}},cardWrapper:{backgroundColor:"rgba(0,0,0,0.2)",textAlign:"center"},cardHeader:{fontSize:16,fontWeight:"bold",color:"#afb0b0"},cardContent:{fontSize:24,fontWeight:"bolder",color:"#FE4D44"}}})),ce=function(e){var t=e.classes,n=e.createModalOpen,i=e.closeCreateModal;return(0,o.jsxs)(x.Z,{classes:{paper:t.paperCreate},onClose:i,open:n,children:[(0,o.jsx)("div",{className:t.closeButton,children:(0,o.jsx)(l.Z,{onClick:i,fontSize:"small"})}),(0,o.jsx)(p.Z,{children:(0,o.jsx)("span",{className:t.dialogTitle,children:"PITTALAB\u30a4\u30c1\u30aa\u30b7\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u30e1\u30cb\u30e5\u30fc\u3092\u3054\u6d3b\u7528\u3057\u307e\u305b\u3093\u304b\uff1f"})}),(0,o.jsxs)(f.Z,{children:[(0,o.jsx)("div",{children:(0,o.jsxs)("div",{className:t.createMain,children:[(0,o.jsxs)("div",{style:{minHeight:100},children:[(0,o.jsx)("span",{children:"\u300c\u3046\u3061\u306e\u4f1a\u793e\u3092\u3082\u3063\u3068\u30a2\u30d4\u30fc\u30eb\u3057\u305f\u3044\u300d\u300c\u65b0\u30b5\u30fc\u30d3\u30b9\u306e\u544a\u77e5\u3092\u51fa\u3057\u305f\u3044\u300d\u306a\u3069\u3054\u8981\u671b\u306b\u5408\u308f\u305b\u305f\u30ea\u30c3\u30c1\u306a\u8a18\u4e8b\u3092PITTALAB\u304c\u4ee3\u884c\u3057\u3066\u4f5c\u6210\u81f4\u3057\u307e\u3059\u3002"}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("span",{children:"\u3054\u81ea\u8eab\u3067\u306e\u8a18\u4e8b\u5236\u4f5c\u304c\u9762\u5012\u3060\u3068\u611f\u3058\u305f\u65b9\u306f\u304a\u6c17\u8efd\u306b\u3054\u76f8\u8ac7\u304f\u3060\u3055\u3044\uff01"})]}),(0,o.jsx)("div",{children:(0,o.jsx)(b.Z,{className:t.createButton,onClick:function(e){window.open("/enterprise/settings?value=contact&question=1"),i()},children:"PITTALAB\u306b\u3054\u76f8\u8ac7"})})]})}),(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:t.createLeft}),(0,o.jsx)("div",{className:t.createRight,children:(0,o.jsx)("div",{style:{float:"right"},children:(0,o.jsx)("a",{className:t.createLink,href:(0,w.Bv)("enterprise/posts/edit",0),children:"\u30b9\u30ad\u30c3\u30d7"})})})]})]})]})},le=function(e){var t=e.classes,n=e.deleteModalOpen,i=e.closeDeleteModal,r=e.handleDeletePost;return(0,o.jsx)(o.Fragment,{children:window.innerWidth>960?(0,o.jsxs)(x.Z,{classes:{paper:t.paperDeleteDesktop},onClose:i,open:n,children:[(0,o.jsx)(p.Z,{className:"".concat(t.dialogText),children:(0,o.jsx)("span",{className:"".concat(t.dialogTitle),children:"\u7279\u96c6\u8a18\u4e8b\u3092\u524a\u9664\u3057\u307e\u3059\u304b\uff1f"})}),(0,o.jsx)(f.Z,{className:t.dialogText,children:(0,o.jsx)(h.Z,{children:"\u524a\u9664\u3057\u305f\u7279\u96c6\u8a18\u4e8b\u306f\u5fa9\u5143\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002"})}),(0,o.jsx)(g.Z,{style:{marginBottom:10},children:(0,o.jsxs)("div",{children:[(0,o.jsx)(b.Z,{className:t.dialogButton,onClick:i,variant:"contained",children:"\u30ad\u30e3\u30f3\u30bb\u30eb"}),(0,o.jsx)(b.Z,{className:t.dialogButton,onClick:r,variant:"contained",children:"\u524a\u9664"})]})})]}):(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(x.Z,{classes:{paper:t.paperDeleteMobile},open:n,onClose:i,children:(0,o.jsxs)("div",{className:t.cardWrapper,children:[(0,o.jsxs)(j.Z,{style:{borderRadius:18}
1,children:[(0,o.jsx)(m.Z,{style:{borderBottom:"2px solid #eaecee"},title:"\u7279\u96c6\u8a18\u4e8b\u3092\u524a\u9664\u3057\u307e\u3059\u304b\uff1f",classes:{title:t.cardHeader}}),(0,o.jsx)(v.Z,{className:t.cardContent,onClick:r,children:(0,o.jsx)("span",{children:"\u7834\u68c4"})})]}),(0,o.jsx)(j.Z,{style:{borderRadius:18,marginTop:5},onClick:i,children:(0,o.jsx)(v.Z,{className:t.cardContent,children:(0,o.jsx)("span",{style:{color:"#0B80FF"},children:"\u30ad\u30e3\u30f3\u30bb\u30eb"})})})]})})})})};function de(){var e=se();(0,N.G)();var t=(0,s.useState)({postId:"",thumbnailUrl:""}),n=t[0],i=t[1],l=(0,s.useState)(!1),d=l[0],p=l[1],h=(0,s.useState)(!1),f=h[0],g=h[1],x=(0,s.useState)([]),m=x[0],v=x[1],j=(0,s.useContext)(k.e).data,M=(null===j||void 0===j?void 0:j.enterpriseId)||"",B=(0,S.z)(M),E=B.data,O=B.isLoading;(0,s.useEffect)((function(){M&&v(E)}),[O]);var z=(0,C.i)().openSnack,T=function(){var e=(0,a.Z)(r().mark((function e(){var t,i,o,s;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.postId,i=n.thumbnailUrl,g(!1),i&&(0,y._)(i).catch((function(e){return console.log(e)})),e.next=5,(0,Z.tz)(t).catch((function(e){console.log(e.message)}));case 5:return o="/api/posts/deletePost?id=".concat(t),s={method:"DELETE",headers:{"Content-Type":"application/json"}},e.next=9,fetch(o,s).then(function(){var e=(0,a.Z)(r().mark((function e(t){var n,i;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.ok){e.next=6;break}return e.next=3,t.json();case 3:throw n=e.sent,i=n.message,new Error("deletePostById: ".concat(i));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).then((function(){z({message:"\u8a18\u4e8b\u3092\u524a\u9664\u3057\u307e\u3057\u305f",option:{variant:"success"}}),v(m.filter((function(e){return e.id!==t})))})).catch((function(e){console.log(e),z({message:"\u8a18\u4e8b\u3092\u524a\u9664\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f",option:{variant:"error"}})}));case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,o.jsx)(ae._T,{children:(0,o.jsx)(oe.W,{children:(0,o.jsxs)(u.Z,{container:!0,spacing:2,children:[(0,o.jsx)(u.Z,{item:!0,sm:12,md:12,children:(0,o.jsx)(b.Z,{variant:"contained",color:"primary",onClick:function(){return p(!0)},children:"\u8a18\u4e8b\u3092\u4f5c\u6210\u3059\u308b"})}),(0,o.jsxs)(u.Z,{item:!0,sm:12,md:12,children:[(0,o.jsxs)("div",{style:{padding:8},children:[(0,o.jsx)("div",{children:(0,o.jsx)("strong",{children:"\u3053\u308c\u307e\u3067\u306b\u66f8\u3044\u305f\u8a18\u4e8b"})}),null===m||void 0===m?void 0:m.map((function(e){var t;return(0,o.jsxs)("div",{style:{padding:8,display:"inline-block"},children:[(0,o.jsx)(re,{title:null===e||void 0===e?void 0:e.title,description:e.description,coverImage:null===e||void 0===e||null===(t=e.thumbnail)||void 0===t?void 0:t.src,createDate:null===e||void 0===e?void 0:e.createdate,lastUpdate:null===e||void 0===e?void 0:e.lastupdate,slug:null===e||void 0===e?void 0:e.slug,categories:null===e||void 0===e?void 0:e.categories,status:null===e||void 0===e?void 0:e.status,shareButtonEnabled:!0,openInNewTab:!0,isTemplatePost:!(null===e||void 0===e||!e.isTemplate)&&e.isTemplate}),null!==e&&void 0!==e&&e.isTemplate?null:(0,o.jsxs)("div",{style:{textAlign:"center",padding:8},children:[(0,o.jsx)(c.default,{href:(0,w.Bv)("enterprise/posts/edit",e.slug),passHref:!0,children:(0,o.jsx)(b.Z,{style:{width:"48%",float:"left"},variant:"outlined",color:"primary",children:"\u7de8\u96c6\u3059\u308b"})}),(0,o.jsx)(b.Z,{style:{width:"48%",float:"right"},variant:"outlined",color:"primary",onClick:function(){var t,n,r;return n=e.id,r=null===e||void 0===e||null===(t=e.thumbnail)||void 0===t?void 0:t.src,i({postId:n,thumbnailUrl:r||""}),void g(!0)},children:"\u524a\u9664\u3059\u308b"})]})]},e.id)}))]}),(0,o.jsx)(ce,{classes:e,createModalOpen:d,closeCreateModal:function(){return p(!1)}}),(0,o.jsx)(le,{classes:e,deleteModalOpen:f,closeDeleteModal:function(){i({postId:"",thumbnailUrl:""}),g(!1)},handleDeletePost:T})]})]})})})}},10173:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/new/enterprise/posts",function(){return n(30120)}])}},function(e){e.O(0,[7749,5308,4349,4696,7617,8460,2663,5675,6246,3289,1952,5219,9774,2888,179],(function(){return t=10173,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.