!function(){var e,t,n,r,a={1309:function(e,t,n){"use strict";var r=n(3531),a=n(605);(0,r.init)({dsn:"https://12e4363212fe4e74a54156fabfefcd36@o96026.ingest.sentry.io/1765411",integrations:[new a.BrowserTracing,new r.Replay],tracesSampleRate:.1,sampleRate:.25})},2411:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(6425)),o=n(9458),c=document.querySelectorAll(".reference_btn");c&&c.forEach(function(e){e.addEventListener("click",function(){a.default.post("".concat((0,o.base_dir)(),"/api/qanda/reference"),{qa_cd:e.dataset.id}).then(function(t){e.innerHTML="参考になった | ".concat(t.data.count)})})})},2703:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.show,n=e.setShow,o=e.children,c=e.modalName,i=void 0===c?"":c,s=function(){return n(!1)};(0,a.useEffect)(function(){function e(e){if("Escape"===e.key)s()}return window.addEventListener("keyup",e),function(){return window.removeEventListener("keyup",e)}},[]),(0,a.useEffect)(function(){document.body.style.overflow=t?"hidden":""},[t]);var l=["modal_content"];t&&l.push("show");i&&l.push(i);return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{class:l.join(" "),children:[(0,r.jsx)("div",{class:"modal_bg",onClick:s}),(0,r.jsxs)("div",{class:"modal_inner",children:[(0,r.jsx)("div",{class:"close_btn close",onClick:s,children:(0,r.jsx)("img",{src:"/assets/img/icon/icon_close.svg"})}),o]})]})})};var r=n(201),a=n(5994)},3350:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.used,n=e.l_cate,a=e.coupon,o="new",c="新刊";t?(o="old",c="古書"):"E"===n?(o="denshi",c="電子書籍"):a&&(o="coupon",c="クーポン");return(0,r.jsx)("div",{class:"tag -".concat(o),children:c})};var r=n(201)},3399:function(){document.addEventListener("DOMContentLoaded",()=>{const e=document.getElementById("header_nav"),t=Array.from(e.getElementsByClassName("header_nav_li")),n=document.getElementById("header_nav_close"),r=document.getElementsByTagName("body")[0];let a;t.forEach((e,o)=>{e.addEventListener("click",()=>{e.classList.contains("open")?(e.classList.remove("open"),n.classList.remove("show"),r.style.overflow="",a=void 0):(a>=0&&t[a].classList.remove("open"),n.classList.add("show"),e.classList.add("open"),r.style.overflow="hidden",a=o,n.addEventListener("click",()=>{e.classList.remove("open"),n.classList.remove("show"),r.style.overflow="",a=void 0}))})})})},5037:function(e,t,n){"use strict";n(1309),n(3399);var r=n(1083),a=n(9458);const o=document.querySelector(".js-search-lcate");async function c(e,t=null){if(e){"O"===e&&(e="N");const n=await r.A.get(`${(0,a.base_dir)()}/api/mcategory/${e}`);if(n.data){const e=document.querySelector(".js-search-mcate");e.innerHTML="",e.add(new Option("---","")),n.data.forEach(t=>{e.add(new Option(t.name,t.key))}),t&&(e.value=t)}}}o.addEventListener("change",e=>{c(e.target.value)});const i=location.search.substring(1).split("&").map(e=>e.split("=")).reduce((e,t)=>({...e,[t[0]]:t[1]}),{});i.MC?c(i.LC,i.MC):c(o.value);n(6122);const s=()=>r.A.get(`${(0,a.base_dir)()}/api/cart/listTotalBoth`),l=e=>{const t=e.data;$(".js-header-quantity").text(t.quantity),$(".js-header-amount").text((0,a.number_format)(t.amount))};a.bus.on("update:cart",()=>{(location.href.match("cartE.php")?r.A.get(`${(0,a.base_dir)()}/api/cart/listTotalEbook`):r.A.get(`${(0,a.base_dir)()}/api/cart/listTotal`)).then(e=>{const t=e.data;$(".js-value-cart-quantity").text((0,a.number_format)(t.quantity)),$(".js-value-cart-amount").text((0,a.number_format)(t.amount)),$(".js-value-cart-shipping_fee").text((0,a.number_format)(t.shipping_fee)),$(".js-value-cart-total_amount").text((0,a.number_format)(t.totalAmount))}),s().then(e=>{l(e)})}),s().then(l);n(5198),n(8874);document.querySelectorAll(".zip_search").forEach(e=>{e.addEventListener("click",e=>{const t=e.target,n=t.previousElementSibling.value;let o="";t.dataset.zipnum&&(o=t.dataset.zipnum),r.A.get(`${(0,a.base_dir)()}/zip_search/${n}`).then(e=>{e.data.error||!e.data?e.data.message?alert(e.data.message):alert("郵便番号が間違っています"):(document.querySelector(".pref"+o).value=e.data.pref,document.querySelector(".address"+o).value=e.data.city+e.data.town)})})});const u=document.querySelector(".js-login-form");u&&u.addEventListener("submit",e=>{e.preventDefault();const t=new FormData(e.target);r.A.post(`${(0,a.base_dir)()}/api/auth/login`,t).then(e=>{"ok"!==e.data.status?e.data.message?alert(e.data.message):alert("ログインできませんでした"):location.reload()})});var d=n(1196),f=n.n(d);$(function(){var e;if(document.querySelectorAll("[data-accordion-target]").forEach(e=>{const t=e.dataset.accordionTarget,n=document.querySelector("[data-accordion-content="+t+"]");e.addEventListener("click",e=>{e.preventDefault(),n?.classList.toggle("is-active")},!1),n.querySelector(".js-force-active")&&(f().polyfill(),n?.classList.toggle("is-active"),$(".error")[0]&&$(".error")[0].scrollIntoView({behavior:"smooth",block:"center"}))}),$('a[href^="#"]').on("click",function(t){t.preventDefault();var n,r=$(this).attr("href");e&&clearInterval(e);const a=$(r);a.length&&(e=setInterval(function(){var t=a.offset().top;t=Math.floor(t),n!=t?function(e){$("body, html").animate({scrollTop:e},600)}(t):clearInterval(e),n=t},500))}),$(".c-btn_wants").on("click",function(){document.querySelector("#login_button")&&a.bus.emit("open:modal:login")}),$(".more_button,.more_read_button").length){$(".more_button,.more_read_button").on("click",function(e){e.preventDefault(),-1!==$(this).attr("class").indexOf("more_read_button")?$(this).hasClass("-show")?$(this).children("span").text("続きを読む"):$(this).children("span").text("一部を表示"):$(this).hasClass("-show")?$(this).children("span").text("もっと見る"):$(this).children("span").text("一部を表示");let t=$(this).siblings(".more_block,.more_read_block");t.hasClass("-over")||-1!==$(this).attr("class").indexOf("more_read_button")?(t.toggleClass("-show"),t.hasClass("-show")||(f().polyfill(),e.target.scrollIntoView({behavior:"smooth",block:"center"}))):("block"==t[0].style.display&&(f().polyfill(),t[0].parentElement.scrollIntoView({behavior:"smooth"})),t.slideToggle()),$(this).toggleClass("-show")});const e=document.querySelectorAll(".detail_footer_content .more_block");e&&e.forEach(e=>{e.style="height:auto;",e.offsetHeight<200?e.nextelementsibling.:e.})}const t=document.getElementsByClassName("mokuzi_btn");t&&Array.from(t).forEach(e=>{e.addEventListener("click",function(e){e.target.classList.toggle("-up"),e.target.nextElementSibling.classList.toggle("-active")})});const n=document.getElementsByClassName("symposium_list-detail");n&&Array.from(n).forEach(e=>{e.style="height:auto;",e.clientHeight<200?e.nextelementsibling.:(e.,e.nextelementsibling.)})});const m=document.querySelector("body"),h=()=>{m.style.overflow=""},p=()=>{Array.from(document.querySelectorAll(".modal_bg.close")).forEach(e=>{v(e)})},v=e=>{if(e.parentElement.classList.contains("show"))return h(),void e.parentElement.classList.remove("show");const t=e.closest(".modal_content.show");t&&(h(),t.classList.remove("show"))};a.bus.on("close:modal",p),window.addEventListener("keydown",function(e){"Escape"===e.key&&p()}),$("body").on("click",".modal_bg.close",e=>{v(e.target)}),Array.from(document.querySelectorAll(".close_btn.close")).forEach(e=>{e.addEventListener("click",function(e){v(e.target)})});const _=e=>{e.classList.add("show"),m.style.overflow="hidden",a.bus.emit("opened:modal:"+e.id)};Array.from(document.querySelectorAll(".modal_btn")).forEach(e=>{let t;t=e.dataset.modal?document.querySelector("#"+e.dataset.modal):e.nextElementSibling,e.addEventListener("click",e=>{e.preventDefault(),_(t)})}),a.bus.on("open:modal:login",()=>{const e=document.querySelector(".js-login-modal");_(e)});Array.from(document.getElementsByClassName("tab_contents")).forEach(e=>{const t=Array.from(e.childNodes),n=Array.from(e.getElementsByClassName("tab_nav")).filter(e=>-1!==t.indexOf(e)),r=Array.from(e.getElementsByClassName("tab_body")).filter(e=>-1!==t.indexOf(e)),a=Array.from(document.getElementsByClassName("tab_prev")).filter(e=>-1!==t.indexOf(e))[0],o=Array.from(document.getElementsByClassName("tab_next")).filter(e=>-1!==t.indexOf(e))[0];if(!n.length)return;const c=Array.from(n[0].getElementsByTagName("li"));r[0].classList.add("active"),c.forEach((e,t)=>{e.addEventListener("click",()=>{c.forEach(e=>{e.classList.remove("active")}),r.forEach(e=>{e.classList.remove("active")}),e.classList.add("active"),r[t].classList.add("active");const n=document.getElementsByClassName("symposium_list-detail");n&&Array.from(n).forEach(e=>{e.style="height:auto;",e.clientHeight<200?e.nextelementsibling.:(e.,e.nextelementsibling.)});const a=document.querySelectorAll(".detail_footer_content .more_block");a.length&&(a[t].,a[t].offsetHeight<200?a[t].nextelementsibling.:(a[t].,a[t].nextelementsibling.)),localstorage.setitem("tab_cate",e.classlist[0])})});let i=localStorage.getItem("tab_cate");n.forEach(function(e){const t=document.querySelector("[data-more]");if(e.children[0].classList.add("active"),"ranking"==e.dataset.more){let n=e.children[0].classList[1].replace("nav_","").toUpperCase();t.href="t.href.replace(/\?.*$/,""),t.href=t.href+"?LC="+n}Array.from(e.children).forEach(function(n){const" r=function(){if("ranking"==e.dataset.more){let e=n.classList[0].replace("nav_","").toUpperCase();t.href="t.href.replace(/\?.*$/,""),t.href=t.href+"?LC="+e}};n.addEventListener("click",function(){r()}),i&&i==n.classList[0]&&"nav_normal"!=i&&(e.children[0].classList.remove("active"),n.click(),r())})}),void" 0!==a&&a.addEventListener("click",()=>{let e;c.forEach((t,n)=>{t.classList.contains("active")&&(e=n),t.classList.remove("active")}),r.forEach(e=>{e.classList.remove("active")}),0===e?e=c.length-1:e-=1,c[e].classList.add("active"),r[e].classList.add("active")}),void 0!==o&&o.addEventListener("click",()=>{let e;c.forEach((t,n)=>{t.classList.contains("active")&&(e=n),t.classList.remove("active")}),r.forEach(e=>{e.classList.remove("active")}),e===c.length-1?e=0:e+=1,c[e].classList.add("active"),r[e].classList.add("active")})});const g=document.getElementById("officeAddress");if(g){const e=g.nextElementSibling,t=e.querySelectorAll("input");if(t)for(let n=0;n{e.classList.toggle("-open"),g.classList.toggle("-up")})}document.querySelectorAll(".ranking_year").forEach(e=>{e.addEventListener("click",function(){e.nextElementSibling.classList.toggle("ranking_month"),e.classList.toggle("-up")})});const y=document.querySelector(".open_edit_form");y&&y.addEventListener("click",function(){y.nextElementSibling.classList.toggle("-open")});n(6355),n(2411);const b=document.querySelector(".js-append-file-droparea"),x=document.querySelector(".js-append-file-file");if(b&&x){(()=>n.e(395).then(n.bind(n,4395)))().then(e=>e.default())}if(document.querySelector(".js-hover-review-star")&&n.e(67).then(n.t.bind(n,7067,23)),(document.querySelector(".js-cart-item-remove")||document.querySelector(".cm_quantity_unit_button"))&&n.e(52).then(n.bind(n,6052)),(document.querySelector(".js-cart-coupon-input")||document.querySelector(".js-cart-coupon-remove"))&&n.e(679).then(n.bind(n,7679)),document.querySelector(".js-btn-cart")&&n.e(945).then(n.t.bind(n,5945,23)),document.querySelector(".swiper-container")){(()=>Promise.all([n.e(804),n.e(658)]).then(n.t.bind(n,6074,23)))().then(e=>e.default())}document.querySelector(".js-sainyuuka-form")&&n.e(35).then(n.t.bind(n,5035,23)),document.querySelector(".c-btn_wants")&&n.e(777).then(n.t.bind(n,5777,23));document.querySelectorAll(".new_review_content .more_read_block").forEach(e=>{e.style="height:auto;",e.offsetHeight<96?(e.nextelementsibling.style.display="none",e.classlist.remove("more_read_block")):e.}),document.queryselector(".js-author-login")&&n.e(113).then(n.t.bind(n,3113,23)),document.queryselector(".js-review-count")&&n.e(304).then(n.t.bind(n,5304,23)),document.queryselector(".js-password-text-show")&&n.e(509).then(n.t.bind(n,2509,23))},5198:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(201),o=n(172),c=n(5994),i=n(9458),s=r(n(2703)),l=function(){};i.bus.on("open:modal:cart-add",function(){l()});var u=document.querySelector("#incart_modal");if(u){var d=u.dataset.l_cate;(0,o.render)((0,a.jsx)(function(e){var t=e.lCate,n=void 0===t?"":t,r=(0,c.useState)(!1),o=r[0],i=r[1];return l=function(){return i(function(){return!o})},(0,a.jsx)(s.default,{show:o,setShow:i,modalName:"incart_modal",children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("p",{children:[(0,a.jsx)("img",{src:"/assets/img/icon/icon_cart_1.svg",alt:""}),"商品をカートに入れました"]}),(0,a.jsx)("a",{href:"E"!==n?"/cart.php":"/cartE.php",class:"c-btn_cm -small",children:"カートを見る"}),(0,a.jsx)("a",{onClick:function(){return i(!1)},class:"close c-btn_cm -small",children:"買い物を続ける"})]})})},{lCate:d}),u)}},6122:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&a[a.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]\n \n ').concat(r?'').concat(e.book_name,''):'
'.concat(e.book_name,"
"),'\n
\n

').concat(e.book_name,'

\n \n ').concat(e.author?'

'.concat(e.author,"

"):"","\n ").concat(e.publisher?'

').concat(e.publisher,"

"):"",'\n
\n
新刊
\n
\n ').concat(e.stock_count?e.stock_count:e.stock,"\n
\n ").concat(e.is_stock?"
".concat((0,s.number_format)(e.new_price),"円
"):"","\n
\n ").concat(e.used_count?'
\n
古書
\n
'.concat(e.used_count," 点
\n
").concat((0,s.number_format)(e.used_price)," 円").concat(1\n
"):"","\n \n "));a.classList.add("-animation"),t.appendChild(a),setTimeout(function(){return a.classList.add("-active")},70*(n+1))}),j()&&(n.clientHeight&&(n.style.height="".concat(n.clientHeight,"px")),n.innerHTML=""),n.appendChild(t),delete n.style.height};if(j()){_.addEventListener("click",(0,s.debounce)(function(){return w("dec")},250)),g.addEventListener("click",(0,s.debounce)(function(){return w("inc")},250)),new IntersectionObserver(function(e,t){e.forEach(function(e){e.isIntersecting&&(w("inc"),t.unobserve(e.target))})},{rootMargin:"200px 0px"}).observe(n)}else{var L=document.createElement("li"),k=document.createElement("div");k.classList.add("loader"),L.appendChild(k),k.style.position="relative",new IntersectionObserver(function(e){e.some(function(e){return e.isIntersecting})&&!x&&(x=!0,w("inc").then(function(){n.appendChild(L),x=!1}).catch(function(){n.removeChild(L),x=!1}))}).observe(L),n.appendChild(L)}};m.forEach(function(e){return h(e)})},8874:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(6425)),o=n(9458),c=document.querySelectorAll(".c-btn_good");c&&c.forEach(function(e){e.addEventListener("click",function(){a.default.post("".concat((0,o.base_dir)(),"/api/review/good"),{rev_id:e.dataset.id}).then(function(t){var n=t.data;document.querySelector('.js-review-count[data-id="'.concat(e.dataset.id,'"]')).textContent="".concat(n.count,"人がこのレビューにいいね!しました "),e.classList.remove("-add","-off"),"liked"===n.status?e.classList.add("-add"):"already_liked"===n.status&&e.classList.add("-off")})})})},9458:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.bus=t.base_dir=void 0,t.number_format=function(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")},t.formToQueryString=function(e){var t=[];return e.querySelectorAll("input").forEach(function(e){var n={name:e.name,value:e.value};t.push(n)}),t.map(function(e){return"".concat(encodeURIComponent(e.name),"=").concat(encodeURIComponent(e.value))}).join("&")},t.decode=function(e){var t=""+e+"",n=document.createElement("decodeIt");return n.innerHTML=t,n.innerText},t.debounce=function(e,t){var n;return function(){for(var r=[],a=0;a=a)&&Object.keys(c.O).every(function(e){return c.O[e](n[s])})?n.splice(s--,1):(i=!1,a0&&e[u-1][2]>a;u--)e[u]=e[u-1];e[u]=[n,r,a]},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,{a:t}),t},n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},c.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var a=Object.create(null);c.r(a);var o={};t=t||[null,n({}),n([]),n(n)];for(var i=2&r&&e;("object"==typeof i||"function"==typeof i)&&!~t.indexOf(i);i=n(i))Object.getOwnPropertyNames(i).forEach(function(t){o[t]=function(){return e[t]}});return o.default=function(){return e},c.d(a,o),a},c.d=function(e,t){for(var n in t)c.o(t,n)&&!c.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},c.f={},c.e=function(e){return Promise.all(Object.keys(c.f).reduce(function(t,n){return c.f[n](e,t),t},[]))},c.u=function(e){return"./assets/js/"+e+"."+{35:"4cb89483f58b003ce63e",52:"1b57ebdfe1a220d24d21",67:"65be16542dca5e8f0afd",113:"ca403aedac0c1afdd3ab",304:"e648bbaea422c56dd9e2",395:"3dfd0d8da28025caad54",509:"8fa630b847a9b29e4ecc",658:"fa5567ae49248225486d",679:"149963ea5d1f3531aeee",777:"5f3c9e97661e169b7df0",804:"4aa0fb7564f3923687d4",945:"ab36714f08b08f4f5663"}[e]+".js"},c.miniCssF=function(e){return"./assets/css/"+e+".css"},c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r={},c.l=function(e,t,n,a){if(r[e])r[e].push(t);else{var o,i;if(void 0!==n)for(var s=document.getElementsByTagName("script"),l=0;l-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),c.p=e+"../../"}(),function(){if("undefined"!=typeof document){var e=function(e){return new Promise(function(t,n){var r=c.miniCssF(e),a=c.p+r;if(function(e,t){for(var n=document.getElementsByTagName("link"),r=0;r

AltStyle によって変換されたページ (->オリジナル) /