1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[568],{57999:function(e,t,r){"use strict";var n=r(59713);function i(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 l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}t.default=function(e,t){var r=a.default,n={loading:function(e){e.error,e.isLoading;return e.pastDelay,null}};e instanceof Promise?n.loader=function(){return e}:"function"===typeof e?n.loader=e:"object"===typeof e&&(n=l(l({},n),e));(n=l(l({},n),t)).loadableGenerated&&delete(n=l(l({},n),n.loadableGenerated)).loadableGenerated;if("boolean"===typeof n.ssr){if(!n.ssr)return delete n.ssr,s(r,n);delete n.ssr}return r(n)};o(r(67294));var a=o(r(87653));function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return delete t.webpack,delete t.modules,e(t)}},519:function(e,t,r){"use strict";var n;t.__esModule=!0,t.LoadableContext=void 0;var i=((n=r(67294))&&n.__esModule?n:{default:n}).default.createContext(null);t.LoadableContext=i},87653:function(e,t,r){"use strict";var n=r(59713),i=r(34575),l=r(93913);function a(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 o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){var r;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"===typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,a=!0,o=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,l=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw l}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}t.__esModule=!0,t.default=void 0;var u,d=(u=r(67294))&&u.__esModule?u:{default:u},f=r(67161),h=r(519);var p=[],j=[],m=!1;function y(e){var t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then((function(e){return r.loading=!1,r.loaded=e,e})).catch((function(e){throw r.loading=!1,r.error=e,e})),r}var x=function(){function e(t,r){i(this,e),this._loadFn=t,this._opts=r,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return l(e,[{key:"promise",value:function(){return this._res.promise}},{key:"retry",value:function(){var e=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var t=this._res,r=this._opts;t.loading&&("number"===typeof r.delay&&(0===r.delay?this._state.pastDelay=!0:this._delay=setTimeout((function(){e._update({pastDelay:!0})}),r.delay)),"number"===typeof r.timeout&&(this._timeout=setTimeout((function(){e._update({timedOut:!0})}),r.timeout))),this._res.promise.then((function(){e._update({}),e._clearTimeouts()})).catch((function(t){e._update({}),e._clearTimeouts()})),this._update({})}},{key:"_update",value:function(e){this._state=o(o({},this._state),{},{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading},e),this._callbacks.forEach((function(e){return e()}))}},{key:"_clearTimeouts",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:"getCurrentValue",value:function(){return this._state}},{key:"subscribe",value:function(e){var t=this;return this._callbacks.add(e),function(){t._callbacks.delete(e)}}}]),e}();function b(e){return function(e,t){var r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),n=null;function i(){if(!n){var t=new x(e,r);n={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return n.promise()}if(!m&&"function"===typeof r.webpack){var l=r.webpack();j.push((function(e){var t,r=s(l);try{for(r.s();!(t=r.n()).done;){var n=t.value;if(-1!==e.indexOf(n))return i()}}catch(a){r.e(a)}finally{r.f()}}))}var a=function(e,t){i();var l=d.default.useContext(h.LoadableContext),a=(0,f.useSubscription)(n);return d.default.useImperativeHandle(t,(function(){return{retry:n.retry}}
1),[]),l&&Array.isArray(r.modules)&&r.modules.forEach((function(e){l(e)})),d.default.useMemo((function(){return a.loading||a.error?d.default.createElement(r.loading,{isLoading:a.loading,pastDelay:a.pastDelay,timedOut:a.timedOut,error:a.error,retry:n.retry}):a.loaded?d.default.createElement(function(e){return e&&e.__esModule?e.default:e}(a.loaded),e):null}),[e,a])};return a.preload=function(){return i()},a.displayName="LoadableComponent",d.default.forwardRef(a)}(y,e)}function v(e,t){for(var r=[];e.length;){var n=e.pop();r.push(n(t))}return Promise.all(r).then((function(){if(e.length)return v(e,t)}))}b.preloadAll=function(){return new Promise((function(e,t){v(p).then(e,t)}))},b.preloadReady=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var r=function(){return m=!0,t()};v(j,e).then(r,r)}))},window.__NEXT_PRELOADREADY=b.preloadReady;var g=b;t.default=g},53840:function(e,t,r){"use strict";r.d(t,{e:function(){return O}});var n=r(65400),i=r(85893),l=r(84960),a=r(51024),o=r(55673),s=r(82891),c=r(12386),u=r(5789),d=r(89366),f=r(90380),h=r.n(f),p=r(54005),j=r.n(p),m=r(29163),y=r(41664),x=r(62984),b=r(8212),v=r(24616),g=r(55035),_=r(11163),w=function(){var e=(0,x.useAuthUser)(),t=(0,_.useRouter)();return(0,i.jsxs)(c.default,{children:[(0,i.jsx)(c.default.Item,{icon:(0,i.jsx)(d.Z,{}),children:(0,i.jsx)(y.default,{href:"/dashboard",children:(0,i.jsx)("a",{children:"\u30de\u30a4\u30da\u30fc\u30b8"})})},"dashboard"),(0,i.jsx)(c.default.Item,{icon:(0,i.jsx)(b.Z,{}),children:(0,i.jsx)(y.default,{href:"/articles/new",children:(0,i.jsx)("a",{children:"\u65b0\u898f\u6295\u7a3f"})})},"newArticle"),(0,i.jsx)(c.default.Item,{icon:(0,i.jsx)(v.Z,{}),children:(0,i.jsx)(y.default,{href:"/settings",children:(0,i.jsx)("a",{children:"\u8a2d\u5b9a"})})},"accountSetting"),(0,i.jsx)(c.default.Divider,{}),(0,i.jsx)(c.default.Item,{icon:(0,i.jsx)(g.Z,{}),onClick:function(){e.signOut().then((function(){return t.push("/")}))},children:"\u30ed\u30b0\u30a2\u30a6\u30c8"},"signOut")]})},k=m.ZP.a.withConfig({displayName:"Header__Logo",componentId:"sc-1qxiji3-0"})(["display:flex;align-items:center;"]),O=function(){var e=(0,x.useAuthUser)(),t=(0,_.useRouter)();return(0,i.jsxs)(o.default,{justify:"space-between",align:"middle",children:[(0,i.jsx)(u.default,{children:(0,i.jsxs)(o.default,{justify:"space-around",align:"middle",children:[(0,i.jsx)(u.default,{children:(0,i.jsx)(y.default,{href:"/",passHref:!0,children:(0,i.jsxs)(k,{children:[(0,i.jsx)(j(),{style:{height:48,width:"auto",marginRight:10}}),(0,i.jsx)(h(),{style:{height:24,width:"auto"},color:"#fff"})]})})}),(0,i.jsx)(u.default,{className:"each-content-menu",children:(0,i.jsxs)(o.default,{children:[(0,i.jsx)(u.default,{children:(0,i.jsx)(y.default,{href:"/contents/articles",children:(0,i.jsx)("a",{style:{color:"#fff",marginLeft:32},children:"\u6295\u7a3f\u30b3\u30f3\u30c6\u30f3\u30c4"})})}),(0,i.jsx)(u.default,{children:(0,i.jsx)(s.default,{trigger:["click"],overlay:(0,i.jsxs)(c.default,{children:[(0,i.jsx)(c.default.Item,{children:(0,i.jsx)(y.default,{href:"/contents/demo/shift_schedule/",children:(0,i.jsx)("a",{children:"\u52e4\u52d9\u30b7\u30d5\u30c8\u4f5c\u6210\u30c4\u30fc\u30eb"})})},"shift_schedule"),(0,i.jsx)(c.default.Divider,{}),(0,i.jsx)(c.default.Item,{children:(0,i.jsx)(y.default,{href:"/contents/demo/yamanote_line/",children:(0,i.jsx)("a",{children:"\u5c71\u624b\u7dda\u30b7\u30df\u30e5\u30ec\u30fc\u30bf\u30fc"})})}),(0,i.jsx)(c.default.Divider,{}),(0,i.jsx)(c.default.Item,{children:(0,i.jsx)(y.default,{href:"/contents/demo/class_schedule/",children:(0,i.jsx)("a",{children:"\u6642\u9593\u5272\u4f5c\u6210\u30c4\u30fc\u30eb"})})})]}),children:(0,i.jsx)("a",{style:{color:"#fff",marginLeft:32},onClick:function(e){return e.preventDefault()},children:"\u30c7\u30e2\u30a2\u30d7\u30ea"})})}),(0,i.jsx)(u.default,{children:(0,i.jsx)(s.default,{trigger:["click"],overlay:(0,i.jsxs)(c.default,{children:[(0,i.jsx)(c.default.Item,{children:(0,i.jsx)(y.default,{href:"/contents/problems/traveling_salesman/",children:(0,i.jsx)("a",{children:"\u5de1\u56de\u30bb\u30fc\u30eb\u30b9\u30de\u30f3\u554f\u984c"})})},"traveling_salesman"),(0,i.jsx)(c.default.Divider,{}),(0,i.jsx)(c.default.Item,{children:(0,i.jsx)(y.default,{href:"/contents/problems/maxcut/",children:(0,i.jsx)("a",{children:"\u6700\u5927\u30ab\u30c3\u30c8\u554f\u984c"})})},"maxcut"),(0,i.jsx)(c.default.Divider,{}),(0,i.jsx)(c.default.Item,{children:(0,i.jsx)(y.default,{href:"/contents/problems/graph_coloring/",children:(0,i.jsx)("a",{children:"\u30b0\u30e9\u30d5\u5f69\u8272\u554f\u984c"})})},"graph_coloring"),(0,i.jsx)(c.default.Divider,{})]}),children:(0,i.jsx)("a",{style:{color:"#fff",marginLeft:32},onClick:function(e){return e.preventDefault()},children:"\u5178\u578b\u554f\u984c"})})}),(0,i.jsx)(u.default,{children:(0,i.jsx)(s.default,{trigger:["click"],overlay:(0,i.jsxs)(c.default,{children:[(0,i.jsx)(c.default.Item,{children:(0,i.jsx)(y.default,{href:"/contents/machines/dwave/",children:(0,i.jsx)("a",{children:"D-Wave"})})},"dwave"),(0,i.jsx)(c.default.Divider,{}),(0,i.jsx)(c.default.Item,{children:(0,i.jsx)(y.default,{href:"/contents/machines/fixstars/",children:(0,i.jsx)("a",{children:"Amplify Annealing Engine"})})},"fixstars"),(0,i.jsx)(c.default.Divider,{}),(0,i.jsx)(c.default.Item,{children:(0,i.jsx)(y.default,{href:"/contents/machines/fujitsu/",children:(0,i.jsx)("a",{children:"\u30c7\u30b8\u30bf\u30eb\u30a2\u30cb\u30fc\u30e9"})})},"fujitsu"),(0,i.jsx)(c.default.Divider,{}),(0,i.jsx)(c.default.Item,{children:(0,i.jsx)(y.default,{href:"/contents/machines/hitachi/",children:(0,i.jsx)("a",{children:"CMOS\u30a2\u30cb\u30fc\u30ea\u30f3\u30b0\u30de\u30b7\u30f3"})})},"hitachi")]}),children:(0,i.jsx)("a",{style:{color:"#fff",marginLeft:32},onClick:function(e){return e.preventDefault()},children:"\u30de\u30b7\u30f3"})})})]})}),(0,i.jsx)(u.default,{className:"contents-menu",children:(0,i.jsx)(y.default,{href:"/contents/",children:(0,i.jsx)("a",{style:{color:"#fff",marginLeft:32},children:"\u30b3\u30f3\u30c6\u30f3\u30c4\u4e00\u89a7"})})})]})}),(0,i.jsx)(u.default,{children:(0,i.jsxs)(o.default,{align:"middle",children:[(0,i.jsx)(u.default,{style:{height:32,marginRight:24},className:"keyword-search-input",children:(0,i.jsx)(a.Z.Search,{placeholder:"\u30ad\u30fc\u30ef\u30fc\u30c9\u691c\u7d22",onSearch:function(e){t.push("/search?q=".concat(e))},style:{width:200}})}),(0,i.jsx)(u.default,{children:e.id?(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(s.default,{overlay:(0,i.jsx)(w,{}),trigger:["click"],children:(0,i.jsx)(l.ZP,{size:42,src:e.photoURL,icon:(0,i.jsx)(d.Z,{})})})}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(y.default,{href:"/signin",passHref:!0,children:(0,i.jsx)(n.default,{type:"primary",shape:"round",children:"\u30ed\u30b0\u30a4\u30f3"})}),(0,i.jsx)(y.default,{href:"/signup",passHref:!0,children:(0,i.jsx)(n.default,{type:"link",style:{color:"#fff"},className:"only-pc",children:"\u30e6\u30fc\u30b6\u30fc\u767b\u9332"})})]})})]})})]})}},2453:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return y},default:function(){return x}});var n=r(85893),i=r(11187),l=r(96156),a=r(67294),o=r(5152),s=r(4461),c=r(23046),u=r(62984),d=r(16373),f=r(53840),h=function(e){return(0,n.jsxs)(d.Z,{children:[(0,n.jsx)(d.Z.Header,{style:{width:"100vw",backgroundColor:"#10131A"},children:(0,n.jsx)(f.e,{})}),(0,n.jsx)(d.Z.Content,{style:{height:"calc(100vh - 64px)",background:"#fff"},children:e.children})]})};function p(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 j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?p(Object(r),!0).forEach((function(t){(0,l.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var m=(0,o.default)((function(){return Promise.all([r.e(573),r.e(1204),r.e(2960),r.e(9802),r.e(3740),r.e(2716),r.e(4749),r.e(7538),r.e(3297),r.e(4713),r.e(2307),r.e(1350),r.e(3781),r.e(8799),r.e(3328),r.e(2680)]).then(r.bind(r,25420)).then((function(e){return e.ProblemForm}))}),{ssr:!1,loadableGenerated:{webpack:function(){return[25420]},modules:["contents/advanced.tsx -> ../../components/common-modules/advanced/ProblemForm"]}}),y=!0,x=(0,u.withAuthUser)()((function(){var e=(0,a.useState)({cpu:"",dwave:"",fixstars:"",fujitsu:"",hitachi:""}),t=e[0],r=e[1],o=(0,a.useState)(!1),u=o[0],d=o[1];return(0,n.jsxs)(h,{children:[(0,n.jsx)(c.Z,{title:"\u30a2\u30c9\u30d0\u30f3\u30b9"}),(0,n.jsx)(m,{solveLoading:u,tokens:t,onChangeTokens:function(e,n){r(j(j({},t),{},(0,l.Z)({},e,n)))},onSubmit:function(e,r){return d(!0),s.D.solve(e,t[e.client]).then((function(e){if(e.detail)throw new Error;if("error"===e.status)return i.default.error(e.message);r(e),i.default.success("\u7d50\u679c\u3092\u53d6\u5f97\u3057\u307e\u3057\u305f",3)}
1)).catch((function(e){console.log(e),i.default.error("\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002")})).finally((function(){return d(!1)}))}})]})}))},72937:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contents/advanced",function(){return r(2453)}])},5152:function(e,t,r){e.exports=r(57999)},90380:function(e,t,r){var n=r(67294);function i(e){return n.createElement("svg",e,n.createElement("path",{d:"M116.551 5.99998H95.4315L0.655457 237H35.2395L105.199 66.72L105.727 64.872L105.991 65.136V64.872V65.136V64.872L106.519 66.72L176.743 237H211.327L116.551 5.99998ZM264.295 237H298.615V134.832L264.295 134.568V237ZM429.559 5.99998V190.008L305.479 5.99998H264.295L422.431 237H463.615V5.99998H429.559ZM633.806 208.752C582.59 208.752 550.646 162.024 550.646 118.464C550.646 71.208 586.022 28.704 633.806 28.704C645.95 28.704 658.094 31.08 668.918 35.568L682.382 9.69598C667.598 3.35999 650.966 0.191996 633.806 0.191996C568.862 0.191996 516.59 51.672 516.59 118.464C516.59 185.784 568.862 237 633.806 237C650.438 237 666.278 234.36 680.534 228.552L671.822 200.568C659.678 206.112 645.95 208.752 633.8
106 208.752ZM851.008 5.99998H829.888L735.112 237H769.696L839.656 66.72L840.184 64.872L840.448 65.136V64.872V65.136V64.872L840.976 66.72L911.2 237H945.784L851.008 5.99998ZM1087.98 141.696H998.751V237H1032.81V169.944H1086.66L1132.07 237H1169.82L1120.19 163.872C1149.49 151.464 1169.82 123.216 1169.82 88.104C1169.82 41.64 1133.65 6.52799 1088.25 5.99998H1032.81H998.751V34.512H1087.98C1114.12 34.512 1135.77 56.952 1135.77 88.104C1135.77 119.52 1114.12 141.696 1087.98 141.696Z",fill:"currentColor"}))}i.defaultProps={width:"117",height:"23.7",viewBox:"0 0 1170 237",fill:"#fff"},e.exports=i,i.default=i},54005:function(e,t,r){var n=r(67294);function i(e){return n.createElement("svg",e,[n.createElement("circle",{cx:"410.5",cy:"458.804",r:"390.5",fill:"url(#paint0_linear)",key:0}),n.createElement("path",{d:"M116 693.804L785.999 466.804",stroke:"white",strokeWidth:"40",strokeLinecap:"round",strokeLinejoin:"bevel",key:1}),n.createElement("path",{d:"M54.9989 327.305L657.5 747.804",stroke:"white",strokeWidth:"40",strokeLinecap:"round",strokeLinejoin:"bevel",key:2}),n.createElement("path",{d:"M374.802 831.304L536.306 101.304",stroke:"white",strokeWidth:"40",strokeLinecap:"round",strokeLinejoin:"bevel",key:3}),n.createElement("circle",{cx:"203",cy:"430",r:"56",fill:"white",key:4}),n.createElement("circle",{cx:"428",cy:"580",r:"70",fill:"white",key:5}),n.createElement("circle",{cx:"504.5",cy:"258.5",r:"53.5",fill:"white",key:6}),n.createElement("path",{d:"M44.4991 521.804L659.5 177.304",stroke:"white",strokeWidth:"40",strokeLinecap:"round",strokeLinejoin:"bevel",key:7}),n.createElement("circle",{cx:"410.5",cy:"458.804",r:"390.5",stroke:"white",strokeWidth:"40",key:8}),n.createElement("defs",{key:9},n.createElement("linearGradient",{id:"paint0_linear",x1:"132.5",y1:"68.3044",x2:"652",y2:"849.304",gradientUnits:"userSpaceOnUse"},[n.createElement("stop",{stopColor:"#00EAFF",key:0}),n.createElement("stop",{offset:"1",stopColor:"#3C8CE7",key:1})]))])}i.defaultProps={width:"82",height:"93",viewBox:"0 0 821 934",fill:"none"},e.exports=i,i.default=i}},function(e){e.O(0,[9774,5400,4031,422,8416,4461,2888,179],(function(){return t=72937,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.