PageSourceSearch

https://kireipass.jp/902.9e33f801dc6949ab.js

js kireipass.jp collected 2026-09-24 20:30:50 UTC 129,133 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdemoapp=self.webpackChunkdemoapp||[]).push([[902],{70902(j,F,u){u.d(F,{PurchasedTicketsModule:()=>_n});var l=u(72200),p=u(89417),_=u(38132),g=u(10467),f=u(83018),t=u(73664),d=u(96614);function A(i,a){if(1&i&&(t.j41(0,"div",6)(1,"div",7),t.nrm(2,"img",8),t.k0s(),t.j41(3,"div",9)(4,"h4",10),t.EFF(5),t.k0s(),t.j41(6,"p",11),t.EFF(7),t.k0s()()()),2&i){const n=t.XpG();t.R7$(2),t.Y8G("src",null!=n.paymentInfo&&n.paymentInfo.clinic_image?null==n.paymentInfo?null:n.paymentInfo.clinic_image:"/assets/images/no_images.png",t.B4B),t.R7$(3),t.JRh(null==n.paymentInfo?null:n.paymentInfo.clinic_name),t.R7$(2),t.JRh(null==n.paymentInfo?null:n.paymentInfo.ticket_name)}}function G(i,a){if(1&i&&(t.j41(0,"div",12)(1,"p",13),t.EFF(2,"\u304a\u652f\u6255\u3044\u671f\u9650"),t.k0s(),t.j41(3,"p",14),t.EFF(4),t.k0s()()),2&i){const n=t.XpG();t.R7$(4),t.SpI(" ",null==n.paymentInfo?null:n.paymentInfo.deadline,"23\u664259\u5206 ")}}function L(i,a){if(1&i&&(t.j41(0,"div",12)(1,"p",13),t.EFF(2,"\u304a\u652f\u6255\u3044\u65b9\u6cd5"),t.k0s(),t.j41(3,"p",14),t.EFF(4),t.k0s()()),2&i){const n=t.XpG();t.R7$(4),t.SpI(" ",null==n.paymentInfo?null:n.paymentInfo.method_name," ")}}function U(i,a){if(1&i&&(t.j41(0,"div",12)(1,"p",13),t.EFF(2),t.k0s(),t.j41(3,"p",14),t.EFF(4),t.k0s()()),2&i){const n=t.XpG();t.R7$(2),t.JRh(null==n.paymentInfo?null:n.paymentInfo.receipt_label),t.R7$(2),t.SpI(" ",null==n.paymentInfo?null:n.paymentInfo.receipt_value," ")}}function X(i,a){if(1&i&&(t.j41(0,"div",12)(1,"p",13),t.EFF(2),t.k0s(),t.j41(3,"p",14),t.EFF(4),t.k0s()()),2&i){const n=t.XpG();t.R7$(2),t.JRh(null==n.paymentInfo?null:n.paymentInfo.receipt_extra_label),t.R7$(2),t.SpI(" ",null==n.paymentInfo?null:n.paymentInfo.receipt_extra_value," ")}}function Y(i,a){if(1&i&&(t.j41(0,"div",12)(1,"p",13),t.EFF(2,"\u304a\u652f\u6255\u3044\u91d1\u984d"),t.k0s(),t.j41(3,"p",14),t.EFF(4),t.k0s()()),2&i){const n=t.XpG();t.R7$(4),t.SpI(" ",null==n.paymentInfo?null:n.paymentInfo.amount_formatted," ")}}let N=(()=>{var i;class a{constructor(e,o){this.purchasedTicketsService=e,this.activatedRoute=o,this.activatedRoute.params.subscribe(s=>{this.ticket_id=s.id})}ngOnInit(){var e=this;return(0,g.A)(function*(){e.paymentInfo=yield e.purchasedTicketsService.getInfoTicketUnpaid(e.ticket_id)})()}static#t=i=()=>(this.\u0275fac=function(o){return new(o||a)(t.rXU(f.O),t.rXU(d.nX))},this.\u0275cmp=t.VBU({type:a,selectors:[["app-tickets-unpaid"]],standalone:!1,decls:11,vars:7,consts:[[1,"container","ticket-unpaid","mb-60"],["class","ticket",4,"ngIf"],[1,"info-contact"],["class","item",4,"ngIf"],["target","_blank",1,"link-gold","pay-about"],[1,"mrl-5","fs-12","far","fa-external-link-alt"],[1,"ticket"],[1,"ticket__avatar"],["alt","",3,"src"],[1,"ticket__content"],[1,"ticket__title","line-clamp-2"],[1,"ticket__description","line-clamp-3"],[1,"item"],[1,"title","left"],[1,"right"]],template:function(o,s){1&o&&(t.j41(0,"div",0),t.DNE(1,A,8,3,"div",1),t.j41(2,"div",2),t.DNE(3,G,5,1,"div",3)(4,L,5,1,"div",3)(5,U,5,2,"div",3)(6,X,5,2,"div",3)(7,Y,5,1,"div",3),t.k0s(),t.j41(8,"a",4),t.EFF(9," \u30b3\u30f3\u30d3\u30cb\u3067\u306e\u304a\u652f\u6255\u3044\u65b9\u6cd5\u306b\u3064\u3044\u3066 "),t.nrm(10,"i",5),t.k0s()()),2&o&&(t.R
17$(),t.Y8G("ngIf",s.paymentInfo),t.R7$(2),t.Y8G("ngIf",null==s.paymentInfo?null:s.paymentInfo.deadline),t.R7$(),t.Y8G("ngIf",null==s.paymentInfo?null:s.paymentInfo.method_name),t.R7$(),t.Y8G("ngIf",null==s.paymentInfo?null:s.paymentInfo.receipt_value),t.R7$(),t.Y8G("ngIf",null==s.paymentInfo?null:s.paymentInfo.receipt_extra_label),t.R7$(),t.Y8G("ngIf",null==s.paymentInfo?null:s.paymentInfo.amount_formatted),t.R7$(),t.BMQ("href",null==s.paymentInfo?null:s.paymentInfo.method_info,t.B4B))},dependencies:[l.bT],styles:["h4[_ngcontent-%COMP%]{line-height:1.6}.ticket-unpaid[_ngcontent-%COMP%]{overflow:hidden}.ticket-unpaid[_ngcontent-%COMP%]   .ticket[_ngcontent-%COMP%]{display:flex;padding:25px 15px 34px;background-color:#fff;margin-left:-15px;margin-right:-15px}.ticket-unpaid[_ngcontent-%COMP%]   .ticket__avatar[_ngcontent-%COMP%]{width:34.8%;float:left}.ticket-unpaid[_ngcontent-%COMP%]   .ticket__avatar[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}.ticket-unpaid[_ngcontent-%COMP%]   .ticket__content[_ngcontent-%COMP%]{width:65.2%;float:left}.ticket-unpaid[_ngcontent-%COMP%]   .ticket__title[_ngcontent-%COMP%]{font-size:1.6rem!important;font-weight:400!important;height:50px;margin-left:19px}.ticket-unpaid[_ngcontent-%COMP%]   .ticket__description[_ngcontent-%COMP%]{font-size:1.3rem!important;margin-top:10px;height:57px;margin-bottom:0;margin-left:19px}.ticket-unpaid[_ngcontent-%COMP%]   .info-contact[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]:first-child{border-top:none;padding-top:32px}.ticket-unpaid[_ngcontent-%COMP%]   .info-contact[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:16px}.ticket-unpaid[_ngcontent-%COMP%]   .info-contact[_ngcontent-%COMP%]   p.left[_ngcontent-%COMP%]{font-weight:400;width:120px}.ticket-unpaid[_ngcontent-%COMP%]   .info-contact[_ngcontent-%COMP%]   p.right[_ngcontent-%COMP%]{text-align:right}.ticket-unpaid[_ngcontent-%COMP%]   .pay-about[_ngcontent-%COMP%]{color:#cab994;font-weight:700;float:right}"]}))}return i(),a})();var z=u(85746),S=u(95816),c=u(2615);let E=(()=>{var i;class a{constructor(e){this.http=e}getConnectReservationUrl(e){return this.http.send("GET",{url:"users/reservations/kireipass_connect",params:{kireipass_ticket_id:e}})}static#t=i=()=>(this.\u0275fac=function(o){return new(o||a)(c.KVO(S.k))},this.\u0275prov=c.jDH({token:a,factory:a.\u0275fac,providedIn:"root"}))}return i(),a})();var P=u(45120),k=u(33485),b=u(38219),V=u(44663),H=u(22551);function J(i,a){1&i&&t.nrm(0,"div",14)}function q(i,a){if(1&i){const n=t.RV6();t.j41(0,"div",16),t.bIt("click",function(){c.eBV(n);const o=t.XpG(3);return c.Njj(o.redirect("phone"))}),t.j41(1,"app-button",18),t.EFF(2,"\u96fb\u8a71\u3067\u4e88\u7d04\u3059\u308b"),t.k0s()()}}function W(i,a){if(1&i){const n=t.RV6();t.j41(0,"div",16),t.bIt("click",function(){c.eBV(n);const o=t.XpG(3);return c.Njj(o.redirect("email"))}),t.j41(1,"app-button",19),t.EFF(2,"\u30e1\u30fc\u30eb\u3067\u4e88\u7d04\u3059\u308b"),t.k0s()()}}function Q(i,a){if(1&i){const n=t.RV6();t.j41(0,"div",16),t.bIt("click",function(){c.eBV(n);const o=t.XpG(3);return c.Njj(o.redirect("line"))}),t.j41(1,"app-button",20),t.EFF(2,"LINE\u3067\u4e88\u7d04\u3059\u308b"),t.k0s()()}}function K(i,a){if(1&i){const n=t.RV6();t.j41(0,"div",14),t.DNE(1,q,3,0,"div",15)(2,W,3,0,"div",15),t.j41(3,"div",16),t.bIt("click",function(){c.eBV(n);const o=t.XpG(2);return c.Njj(o.open_mrc_url())}),t.j41(4,"app-button",17),t.EFF(5,"\u30cd\u30c3\u30c8\u3067\u4e88\u7d04\u3059\u308b"),t.k0s()(),t.DNE(6,Q,3,0,"div",15),t.k0s()}if(2&i){const n=t.XpG(2);t.R7$(),t.Y8G("ngIf",(null==n.bookingInfo?null:n.bookingInfo.tel_reservation)&&(null==n.bookingInfo?null:n.bookingInfo.phone_number)),t.R7$(),t.Y8G("ngIf",null==n.bookingInfo?null:n.bookingInfo.booking_mail),t.R7$(4),t.Y8G("ngIf",null==n.bookingInfo?null:n.bookingInfo.line_username)}}function Z(i,a){if(1&i){const n=t.RV6();t.j41(0,"div",16),t.bIt("click",function(){c.eBV(n);const o=t.XpG(3);return c.Njj(o.redirect("phone"))}),t.j41(1,"app-button",18),t.EFF(2,"\u96fb\u8a71\u3067\u4e88\u7d04\u3059\u308b"),t.k0s()()}}function tt(i,a){if(1&i){const n=t.RV6();t.j41(0,"div",16),t.bIt("click",function(){c.eBV(n);const o=t.XpG(3);return c.Njj(o.redirect("email"))}),t.j41(1,"app-button",19),t.EFF(2,"\u30e1\u30fc\u30eb\u3067\u4e88\u7d04\u3059\u308b"),t.k0s()()}}function et(i,a){if(1&i){const n=t.RV6();t.j41(0,"div",16),t.bIt("click",function(){c.eBV(n);const o=t.XpG(3);return c.Njj(o.redirect("web"))}),t.j41(1,"app-button",17),t.EFF(2,"\u30cd\u30c3\u30c8\u3067\u4e88\u7d04\u3059\u308b"),t.k0s()()}}function nt(i,a){if(1&i){const n=t.RV6();t.j41(0,"div",16),t.bIt("click",function(){c.eBV(n);const o=t.XpG(3);return c.Njj(o.redirect("connect"))}),t.j41(1,"app-button",17),t.EFF(2,"\u30cd\u30c3\u30c8\u3067\u4e88\u7d04\u3059\u308b"),t.k0s()()}}function it(i,a){if(1&i){const n=t.RV6();t.j41(0,"div",16),t.bIt("click",function(){c.eBV(n);const o=t.XpG(3);return c.Njj(o.redirect("web"))}),t.j41(1,"app-button",17),t.EFF(2,"\u30af\u30ea\u30cb\u30c3\u30afHP\u304b\u3089\u4e88\u7d04\u3059\u308b"),t.k0s()()}}function ot(i,a){if(1&i){const n=t.RV6();t.j41(0,"div",16),t.bIt("click",function(){c.eBV(n);const o=t.XpG(3);return c.Njj(o.redirect("line"))}),t.j41(1,"app-button",20),t.EFF(2,"LINE\u3067\u4e88\u7d04\u3059\u308b"),t.k0s()()}}function at(i,a){if(1&i&&(t.j41(0,"div",14),t.DNE(1,Z,3,0,"div",15)(2,tt,3,0,"div",15)(3,et,3,0,"div",15)(4,nt,3,0,"div",15)(5,it,3,0,"div",15)(6,ot,3,0,"div",15),t.k0s()),2&i){const n=t.XpG(2);t.R7$(),t.Y8G("ngIf",(null==n.bookingInfo?null:n.bookingInfo.tel_reservation)&&(null==n.bookingInfo?null:n.bookingInfo.phone_number)),t.R7$(),t.Y8G("ngIf",null==n.bookingInfo?null:n.bookingInfo.booking_mail),t.R7$(),t.Y8G("ngIf",(null==n.bookingInfo?null:n.bookingInfo.ticket_reservation)&&!(null!=n.bookingInfo&&n.bookingInfo.kireipass_connect)),t.R7$(),t.Y8G("ngIf",null==n.bookingInfo?null:n.bookingInfo.kireipass_connect),t.R7$(),t.Y8G("ngIf",!(null!=n.bookingInfo&&n.bookingInfo.ticket_reservation)&&(null==n.bookingInfo?null:n.bookingInfo.booking_url)),t.R7$(),t.Y8G("ngIf",null==n.bookingInfo?null:n.bookingInfo.line_username)}}function st(i,a){1&i&&(t.j41(0,"div",21),t.EFF(1," \u5229\u7528\u671f\u9650\u304c\u77ed\u3044\u30c1\u30b1\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059 "),t.k0s())}function ct(i,a){if(1&i&&(t.j41(0,"div",22)(1,"h4",23),t.EFF(2,"\u4e88\u7d04\u65b9\u6cd5"),t.k0s(),t.nrm(3,"div",24),t.nI1(4,"htmlWithBr"),t.k0s()),2&i){const n=t.XpG(2);t.R7$(3),t.Y8G("innerHTML",t.bMT(4,1,n.bookingInfo.reservation_info),t.npT)}}function rt(i,a){if(1&i&&(t.qex(0),t.j41(1,"div",4)(2,"div",5)(3,"div",6)(4,"h4",7),t.EFF(5,"\u3054\u4e88\u7d04\u6642\u3001\u4e0b\u8a182\u70b9\u3092\u5fc5\u305a\u304a\u4f1d\u3048\u304f\u3060\u3055\u3044"),t.k0s(),t.j41(6,"ul")(7,"li",8),t.EFF(8,"\u30ad\u30ec\u30a4\u30d1\u30b9\u304b\u3089\u306e\u4e88\u7d04\u3067\u3042\u308b\u3053\u3068 "),t.k0s(),t.j41(9,"li"),t.EFF(10,"\u3042\u306a\u305f\u306e\u4f1a\u54e1ID"),t.k0s()()(),t.j41(11,"div",9)(12,"span",10),t.EFF(13,"\u3042\u306a\u305f\u306e\u4f1a\u54e1ID"),t.k0s(),t.j41(14,"span"),t.EFF(15),t.k0s()(),t.DNE(16,J,1,0,"div",11)(17,K,7,3,"ng-template",null,1,t.C5r)(19,at,7,6,"ng-template",null,2,t.C5r)(21,st,2,0,"div",12),t.k0s(),t.DNE(22,ct,5,3,"div",13),t.k0s(),t.bVm()),2&i){const n=t.sdS(18),e=t.sdS(20),o=t.XpG();t.R7$(15),t.JRh(null==o.bookingInfo?null:o.bookingInfo.customer_id),t.R7$(),t.Y8G("ngIf",o.showExternalReservation)("ngIfThen",n)("ngIfElse",e),t.R7$(5),t.Y8G("ngIf",null==o.bookingInfo?null:o.bookingInfo.is_oldest),t.R7$(),t.Y8G("ngIf",o.bookingInfo.reservation_info)}}function ut(i,a){1&i&&t.nrm(0,"img",50)}function lt(i,a){if(1&i){const n=t.RV6();t.j41(0,"div",16),t.bIt("click",function(){c.eBV(n);const o=t.XpG(2);return c.Njj(o.redirect_to_oc_line())}),t.j41(1,"app-button",51),t.EFF(2,"LINE\u3067\u8a3a\u7642\u4e88\u7d04\u3059\u308b"),t.k0s()()}if(2&i){const n=t.XpG(2);t.R7$(),t.Y8G("disabled",!n.flowConfirmed)}}function pt(i,a){1&i&&(t.j41(0,"div",21),t.EFF(1," \u5229\u7528\u671f\u9650\u304c\u77ed\u3044\u30c1\u30b1\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059 "),t.k0s())}function gt(i,a){if(1&i&&(t.j41(0,"div",22)(1,"h4",23),t.EFF(2,"\u4e88\u7d04\u65b9\u6cd5"),t.k0s(),t.nrm(3,"div",52),t.nI1(4,"htmlWithBr"),t.k0s()),2&i){const n=t.XpG(2);t.R7$(3),t.Y8G("innerHTML",t.bMT(4,1,n.bookingInfo.reservation_info),t.npT)}}function dt(i,a){if(1&i){const n=t.RV6();t.j41(0,"div",4)(1,"div",5)(2,"div",6)(3,"h4",7),t.EFF(4,"\u3010\u30d7\u30ed\u30e2\u30fc\u30b7\u30e7\u30f3\u30b3\u30fc\u30c9\u3011\u3068"),t.nrm(5,"br"),t.EFF(6," \u3010\u3053\u306e\u5f8c\u306e\u6d41\u308c\u3011\u3092\u5fc5\u305a\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044"),t.k0s()(),t.j41(7,"div",25)(8,"span",26),t.EFF(9,"\u3042\u306a\u305f\u306e\u30d7\u30ed\u30e2\u30fc\u30b7\u30e7\u30f3\u30b3\u30fc\u30c9"),t.k0s(),t.j41(10,"div",27)(11,"p",28),t.EFF(12),t.k0s(),t.j41(13,"p",29),t.EFF(14,"\u30b3\u30d4\u30fc"),t.k0s()()(),t.j41(15,"div",30)(16,"h5",31),t.EFF(17,"\u3053\u306e\u5f8c\u306e\u6d41\u308c"),t.k0s(),t.j41(18,"div",32)(19,"div",33)(20,"span",34),t.EFF(21,"\u2460\u4e0b\u8a18\u3010LINE\u3067\u8a3a\u5bdf\u4e88\u7d04\u3059\u308b\u3011\u3088\u308a\u53cb\u9054\u8ffd\u52a0\u5f8c\u3001\u30d3\u30c7\u30aa\u8a3a\u7642\u4e88\u7d04&\u554f\u8a3a\u56de\u7b54"),t.k0s(),t.j41(22,"span",35),t.EFF(23,"\u2193"),t.k0s()(),t.j41(24,"div",33)(25,"span",34),t.EFF(26,"\u2461\u533b\u5e2b\u3068\u30d3\u30c7\u30aa\u8a3a\u7642"),t.k0s(),t.j41(27,"span",35),t.EFF(28,"\u2193"),t.k0s()(),t.j41(29,"div",33)(30,"span",34),t.EFF(31,"\u2462\u8a3a\u7642\u5f8c\u3001LINE\u306b\u9001\u3089\u308c\u308b\u8cfc\u5165\u753b\u9762URL\u3088\u308a\u3001"),t.nrm(32,"br"),t.EFF(33,"\u300c\u30d7\u30ed\u30e2\u30fc\u30b7\u30e7\u30f3\u30b3\u30fc\u30c9\u300d\u6b04\u306b\u4e0a\u8a18\u30b3\u30fc\u30c9\u3092\u5165\u529b"),t.k0s(),t.j41(34,"span",36),t.EFF(35,"\u203b\u30b3\u30fc\u30c9\u3092\u3054\u5165\u529b\u3044\u305f\u3060\u304f\u3053\u3068\u3067\u6c
17a\u6e08\u306f\u767a\u751f\u3057\u307e\u305b\u3093"),t.nrm(36,"br"),t.EFF(37,"\u203b\u30b3\u30fc\u30c9\u306f\u3053\u306e\u753b\u9762\u3088\u308a\u3044\u3064\u3067\u3082\u78ba\u8a8d\u3067\u304d\u307e\u3059"),t.k0s(),t.j41(38,"span",35),t.EFF(39,"\u2193"),t.k0s()(),t.j41(40,"div",33)(41,"span",34),t.EFF(42,"\u2463\u4e0a\u8a18\u30d5\u30a9\u30fc\u30e0\u5165\u529b\u5f8c\u3001\u6700\u77ed\u7fcc\u55b6\u696d\u65e5\u3067\u767a\u9001"),t.k0s()()()(),t.j41(43,"div",37)(44,"label",38)(45,"input",39),t.mxI("ngModelChange",function(o){c.eBV(n);const s=t.XpG();return t.DH7(s.flowConfirmed,o)||(s.flowConfirmed=o),c.Njj(o)}),t.k0s(),t.j41(46,"span",40),t.DNE(47,ut,1,0,"img",41),t.k0s(),t.j41(48,"span",42),t.EFF(49,"\u3053\u306e\u6d41\u308c\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f"),t.k0s()()(),t.j41(50,"div",43)(51,"div",14),t.DNE(52,lt,3,1,"div",15),t.k0s()(),t.DNE(53,pt,2,0,"div",12),t.k0s(),t.DNE(54,gt,5,3,"div",13),t.k0s(),t.j41(55,"div",44)(56,"div",45),c.qSk(),t.j41(57,"svg",46)(58,"g",47),t.nrm(59,"polyline",48),t.k0s()(),c.joV(),t.j41(60,"p",49),t.EFF(61,"\u30b3\u30d4\u30fc\u3057\u307e\u3057\u305f"),t.k0s()()()}if(2&i){const n=t.XpG();t.R7$(10),t.BMQ("code",null==n.bookingInfo?null:n.bookingInfo.oc_promotion_code),t.R7$(2),t.JRh(null==n.bookingInfo?null:n.bookingInfo.oc_promotion_code),t.R7$(33),t.R50("ngModel",n.flowConfirmed),t.R7$(2),t.Y8G("ngIf",n.flowConfirmed),t.R7$(5),t.Y8G("ngIf",null==n.bookingInfo?null:n.bookingInfo.line_username),t.R7$(),t.Y8G("ngIf",null==n.bookingInfo?null:n.bookingInfo.is_oldest),t.R7$(),t.Y8G("ngIf",n.bookingInfo.reservation_info)}}let mt=(()=>{var i;class a{constructor(e,o,s,r,m,C,y){this.purchasedTicketService=e,this.route=o,this.router=s,this.reservationService=r,this.dialog=m,this.datePipe=C,this.browserService=y,this.bookingInfo={},this.showExternalReservation=!1,this.flowConfirmed=!1}ngOnInit(){this.getBookingInfo()}externalReservation(){return this.bookingInfo.external_booking}getBookingInfo(){const e=this.route.snapshot.paramMap.get("id");this.purchasedTicketService.getBookingInfo(e).then(o=>{o.errors?this.router.navigateByUrl("/login"):(this.bookingInfo=o,this.showExternalReservation=this.externalReservation())})}redirect(e){var o=this;return(0,g.A)(function*(){const s=document.createElement("a");switch(e){case"phone":s.href="tel:"+o.bookingInfo.phone_number;break;case"web":s.target="_blank",s.href=o.bookingInfo.ticket_reservation?`/reservations/new/${o.route.snapshot.paramMap.get("id")}`:o.bookingInfo.booking_url;break;case"connect":if(o.browserService.isAndroidApp()){const r=yield o.reservationService.getConnectReservationUrl(o.bookingInfo.ticket_id);r&&r.url&&(window.location.href=r.url)}else{const r=window.open("","_blank"),m=yield o.reservationService.getConnectReservationUrl(o.bookingInfo.ticket_id);r&&m&&m.url&&(r.location.href=m.url)}break;case"email":s.href="mailto:"+o.bookingInfo.booking_mail;break;case"line":s.target="_blank",s.href=o.bookingInfo.line_url}s.click()})()}redirect_to_oc_line(){this.bookingInfo.oc_subject_id?window.open(this.bookingInfo.line_url+"&subjectID="+this.bookingInfo.oc_subject_id):window.open(this.bookingInfo.line_url)}open_mrc_url(){const e=this.route.snapshot.paramMap.get("id");this.purchasedTicketService.medicalReservationSsoToken(e).then(o=>{if(!o.errors)return"1"===o.reserved?(this.show_reserved_modal(o.reserved_date_time),void this.router.navigate(["mypage","purchased-tickets"])):void window.open(o.sso_url);this.router.navigateByUrl("/login")})}show_reserved_modal(e){const o=`\n      <div class="reserved-modal">\n        <div class="modal-body error-customer">\n          <p class="subject">\u3059\u3067\u306b\u4e88\u7d04\u6e08\u307f\u3067\u3059</p>\n          <div class="c-datetime-box l-datetime-box">\n            \u4e88\u7d04\u78ba\u5b9a\uff1a${this.datePipe.transform(e,"yyyy\u5e74MM\u6708dd\u65e5 HH:mm")}\n          </div>\n          <p class="c-note l-note note">\u203b\u4e88\u7d04\u306e\u5185\u5bb9\u304c\u30da\u30fc\u30b8\u306b\u53cd\u6620\u3055\u308c\u308b\u307e\u3067\u306b\u306f<br>\n          5\u301c10\u5206\u7a0b\u5ea6\u304b\u304b\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059</p>\n        </div>\n      </div>`;this.dialog.open(z.L,{data:{errorMessageCustomer:o,back:!0},width:"500px"})}static#t=i=()=>(this.\u0275fac=function(o){return new(o||a)(t.rXU(f.O),t.rXU(d.nX),t.rXU(d.Ix),t.rXU(E),t.rXU(k.lG),t.rXU(l.vh),t.rXU(P.I))},this.\u0275cmp=t.VBU({type:a,selectors:[["app-reservation"]],standalone:!1,decls:3,vars:2,consts:[["oc_booking",""],["external_booking",""],["internal_booking",""],[4,"ngIf","ngIfElse"],[1,"container","no-padding","pb-60"],[1,"reservation-page","reserve"],[1,"reservation-top"],[1,"reserve__ttl"],[1,"mrb-5"],[1,"user-id"],[1,"mrb-3","fs-13","mr-12"],["class","list-sns",4,"ngIf","ngIfThe
1n","ngIfElse"],["class","expiration-date-ticket",4,"ngIf"],["class","reservation-bottom c-about-reservation l-about-reservation reserve-use",4,"ngIf"],[1,"list-sns"],["class","mb-8",3,"click",4,"ngIf"],[1,"mb-8",3,"click"],["btnName","btn-green-big","nameIconLeft","mypage/[email protected]","typeIcon","iconImage",1,"mb-10"],["btnName","btn-green-big","nameIconLeft","mypage/[email protected]","typeIcon","iconImage"],["btnName","btn-gold","nameIconLeft","mypage/[email protected]","typeIcon","iconImage",1,"mb-10"],["btnName","btn-green-big","nameIconLeft","mypage/[email protected]","typeIcon","iconImage"],[1,"expiration-date-ticket"],[1,"reservation-bottom","c-about-reservation","l-about-reservation","reserve-use"],[1,"reserve-use__ttl"],[1,"lh-32",3,"innerHTML"],[1,"oc-promotion-code"],[1,"fs-16"],["appCopy","",1,"input-code","code-wrapper"],[1,"code","l-code","c-code"],[1,"copy","l-copy","c-copy"],[1,"oc-flow-section"],[1,"oc-flow-title"],[1,"oc-flow-steps"],[1,"oc-flow-step"],[1,"step-ttl"],[1,"step-arrow"],[1,"step-text"],[1,"oc-confirmation"],[1,"confirmation-label"],["type","checkbox",1,"custom-checkbox",3,"ngModelChange","ngModel"],[1,"custom-checkbox-icon"],["src","assets/images/mypage/check.svg","alt","\u30c1\u30a7\u30c3\u30af",4,"ngIf"],[1,"confirmation-text"],[1,"line-wrapper"],[1,"dialog","copy","copy-code"],[1,"dialog-content"],["id","m-check-mark","width","245px","height","173px","viewBox","0 0 245 173","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink"],["id","Page-1","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd","stroke-opacity","0.4"],["id","checkmark","stroke","#000000","stroke-width","15","points","5.640625 83.7607422 83.2539062 161.663086 238.97168 6.11328125"],[2,"text-align","center"],["src","assets/images/mypage/check.svg","alt","\u30c1\u30a7\u30c3\u30af"],["btnName","btn-green-big",3,"disabled"],[1,"",3,"innerHTML"]],template:function(o,s){if(1&o&&t.DNE(0,rt,23,6,"ng-container",3)(1,dt,62,7,"ng-template",null,0,t.C5r),2&o){const r=t.sdS(2);t.Y8G("ngIf",!(null!=s.bookingInfo&&s.bookingInfo.oc_promotion_code))("ngIfElse",r)}},dependencies:[l.bT,b.Q,V.D,p.Zm,p.BC,p.vS,H.M],styles:['h4{line-height:1.6;font-weight:700}.container .reservation-page{background-color:#fff;padding:0 16px 32px}.container .reservation-page .btn-gold{margin-top:0}.container .reservation-page .reservation-top{padding:30px 0 0;margin:0 0 32px}.container .reservation-page .reservation-top h4{font-size:1.6rem!important}.container .reservation-page .reservation-top ul{margin-left:12px;margin-bottom:0;list-style:none}.container .reservation-page .reservation-top ul li{font-size:1.6rem;position:relative;margin-left:5px;padding-left:5px}.container .reservation-page .reservation-top ul li:before{content:"";position:absolute;background-color:#cab994;width:.375em;height:.375em;border-radius:50%;top:8px;left:-.675em}.container .reservation-page .user-id{padding:9px 0;margin-left:15px;margin-right:15px;background-color:#f9f9f9;display:flex;align-items:center;justify-content:center}.container .reservation-page .user-id span:nth-of-type(1){padding-top:3px}.container .reservation-page .user-id span:nth-of-type(2){font-size:30px;font-weight:700}.container .reservation-page .list-sns{background-color:#fff;padding-top:25px;margin-left:15px;margin-right:15px}.container .reservation-page .list-sns .btn-green-big{display:flex;justify-content:center;align-items:center;margin:0 auto}.container .reservation-page .list-sns .btn-green-big img{width:17px;margin-right:3px}.container .reservation-page .expiration-date-ticket{color:#ce3a32;font-size:1.2rem;text-align:center;margin:16px auto 0}.list-sns .mb-8{margin-bottom:24px}.list-sns .mb-8:last-child{margin-bottom:0}.reserve__ttl{margin-bottom:13px}.l-about-reservation{margin-top:32px;padding:16px;background-color:#fff}.l-datetime-box{background-color:#f9f9f9;margin-bottom:20px}.c-datetime-box,.c-note{font-size:1.3rem}.l-note{margin-bottom:20px}.reserve-use{line-height:160%}.reserve-use__ttl{margin-bottom:16px;font-size:1.6rem}.oc-promotion-code{padding:18px 18px 4px;background-color:#f9f9f9}.oc-promotion-code .fs-16{font-weight:600}.oc-promotion-code .input-code{height:64px;width:100%;border:1px solid #ededed;padding:0 30px 0 0;background-color:#fff;border-radius:5px;position:relative;margin:16px 0 20px}.oc-promotion-code .input-code .code{font-size:3.2rem;text-align:center;line-height:56px;margin:0;padding:3px 0 0;font-weight:300}.oc-promotion-code .input-code .copy{cursor:pointer;position:absolute;right:10px;margin:0;top:50%;transform:translateY(-50%);-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);color:#868686}.oc-promotion-code .procedure-note{display:block;line-height:1.6}.line-wrapper{margin:0 auto}.oc-flow-section{padding:0 16px 17px;background-color:#f9f9f9}.oc-flow-section .oc-flow-title{font-size:1.6rem;font-weight:700;margin-bottom:15px}.oc-flow-section .oc-flow-step{margin-bottom:15px;position:relative}.oc-flow-section .oc-flow-step .step-ttl{display:block;line-height:1.6;font-size:1.4rem}.oc-flow-section .oc-flow-step .step-text{display:block;line-height:1.6;font-size:1.2rem;font-weight:300}.oc-flow-section .oc-flow-step .step-arrow{display:block;font-size:1.4rem;color:#000;margin:20px 0}.oc-flow-section .oc-flow-step:last-child .step-arrow{display:none}
1.oc-confirmation{display:flex;justify-content:center;margin:32px 0 7px}.oc-confirmation .confirmation-label{display:flex;align-items:center;cursor:pointer}.oc-confirmation .confirmation-label .custom-checkbox{position:absolute;opacity:0;cursor:pointer}.oc-confirmation .confirmation-label .custom-checkbox-icon{width:24px;height:24px;border:1px solid #999;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-right:14px;background-color:#fff;flex-shrink:0}.oc-confirmation .confirmation-label .custom-checkbox-icon img{width:16px;height:16px;animation:none!important;transition:none!important}.oc-confirmation .confirmation-label .custom-checkbox:checked+.custom-checkbox-icon{background-color:#49c2c2;border-color:#49c2c2}.oc-confirmation .confirmation-label .confirmation-text{font-size:1.4rem;font-weight:300;color:#4a4a4a}.list-sns .btn-box button{height:56px;font-size:18px;font-weight:500;border-radius:4px;padding:0 20px}.list-sns .btn-box button[disabled]{opacity:1;cursor:not-allowed;color:#fff!important;background-color:#cfcfcf!important;border-color:#cfcfcf!important}#oc_booking .line-wrapper .list-sns{padding-top:0;margin:0}#oc_booking .line-wrapper .list-sns .btn-box button:not([disabled]){background-color:#49c2c2!important;border-color:#49c2c2!important;width:100%;max-width:none}\n'],encapsulation:2}))}return i(),a})();var x=u(42835);let _t=(()=>{var i;class a{constructor(e,o){this.dialogRef=e,this.data=o}ngOnInit(){}closePopup(){this.dialogRef.close()}static#t=i=()=>(this.\u0275fac=function(o){return new(o||a)(t.rXU(k.ce),t.rXU(k.Qs))},this.\u0275cmp=t.VBU({type:a,selectors:[["app-treatment-flow-modal"]],standalone:!1,decls:6,vars:0,consts:[[1,"treatment-flow-modal","bg-transparent"],[1,"treatment-flow-wrapper"],[1,"treatment-flow-close"],["src","./assets/images/mypage/treatmentFlow/[email protected]",3,"click"],[1,"treatment-flow-content"],["src","./assets/images/mypage/treatmentFlow/modal-all.png"]],template:function(o,s){1&o&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"img",3),t.bIt("click",function(){return s.closePopup()}),t.k0s()(),t.j41(4,"div",4),t.nrm(5,"img",5),t.k0s()()())},styles:[".treatment-flow-modal[_ngcontent-%COMP%]{padding-left:15px;padding-right:15px}.treatment-flow-modal[_ngcontent-%COMP%]   .treatment-flow-wrapper[_ngcontent-%COMP%]   .treatment-flow-close[_ngcontent-%COMP%]{margin-bottom:10px;float:right;width:10%;height:10%}"]}))}return i(),a})();var M=u(46459),O=u(57303);let ft=(()=>{var i;class a{constructor(){this.btnName="btn-green-big"}ngOnInit(){}static#t=i=()=>(this.\u0275fac=function(o){return new(o||a)},this.\u0275cmp=t.VBU({type:a,selectors:[["app-empty-purchased-tickets"]],inputs:{message:"message",buttonText:"buttonText",buttonLinkTo:"buttonLinkTo",btnName:"btnName"},standalone:!1,decls:8,vars:5,consts:[[1,"purchased-ticket-guide__wrapper"],[1,"purchased-ticket-guide__image"],["src","/assets/images/mypage/purchased-ticket-skeleton.png","alt","\u8cfc\u5165\u6e08\u307f\u30c1\u30b1\u30c3\u30c8\u306e\u4f7f\u3044\u65b9"],[1,"purchased-ticket-guide__heading"],[1,"purchased-ticket-guide__button"],[3,"btnName","routerLink"]],template:function(o,s){1&o&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"img",2),t.k0s(),t.j41(3,"div",3),t.EFF(4),t.k0s(),t.j41(5,"div",4)(6,"app-button",5),t.EFF(7),t.k0s()()()),2&o&&(t.R
17$(4),t.SpI(" ",s.message," "),t.R7$(2),t.Y8G("btnName",t.mNQ(s.btnName))("routerLink",s.buttonLinkTo),t.R7$(),t.JRh(s.buttonText))},dependencies:[b.Q,_.Wk],styles:[".treatment-history-banner[_ngcontent-%COMP%]{margin:24px auto;padding:0 16px;cursor:pointer;text-align:center}.treatment-history-banner[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:452px;width:100%}.purchased-ticket-guide__wrapper[_ngcontent-%COMP%]{display:flex;padding:0;flex-direction:column;justify-content:center;align-items:center}.purchased-ticket-guide__image[_ngcontent-%COMP%]{margin-top:32px;margin-bottom:40px;max-width:240px}.purchased-ticket-guide__heading[_ngcontent-%COMP%]{font-size:2rem;font-weight:700;line-height:1.55;text-align:center;color:#000000b5;margin-bottom:40px;white-space:pre-wrap}.purchased-ticket-guide__text[_ngcontent-%COMP%]{text-align:center;color:#000000b5;margin-bottom:30px}.purchased-ticket-guide__button[_ngcontent-%COMP%]{margin-bottom:40px;width:100%}"]}))}return i(),a})();var v=u(16769);const ht=i=>({ver:i});function kt(i,a){if(1&i&&(t.j41(0,"div",3)(1,"dt",4)(2,"span",5),t.EFF(3,"\u652f\u6255\u3044\u5f85\u3061"),t.k0s(),t.j41(4,"span",6),t.EFF(5,"\u30b3\u30f3\u30d3\u30cb\u3067\u652f\u6255\u3044\u3092\u3057\u3066\u304f\u3060\u3055\u3044"),t.k0s()(),t.j41(6,"dd",7)(7,"p",8),t.EFF(8),t.k0s(),t.j41(9,"div",9)(10,"div",10),t.nrm(11,"app-image",11),t.k0s(),t.j41(12,"div",12)(13,"p",13),t.EFF(14),t.k0s()()(),t.j41(15,"ul",14)(16,"li",15)(17,"a",16),t.EFF(18," \u5730\u56f3\u3092\u898b\u308b "),t.k0s()(),t.j41(19,"li",17)(20,"a",18),t.EFF(21," \u30c1\u30b1\u30c3\u30c8\u8a73\u7d30\u3092\u898b\u308b "),t.k0s()()(),t.j41(22,"div",19)(23,"button",20),t.EFF(24," \u652f\u6255\u3044\u60c5\u5831\u3092\u78ba\u8a8d\u3059\u308b "),t.k0s()()()()),2&i){const n=a.$implicit;t.R7$(8),t.JRh(n.clinic_name),t.R7$(3),t.Y8G("ticketAvatar",n.clinic_image),t.R7$(3),t.JRh(n.ticket_name),t.R7$(3),t.Y8G("href",n.google_map_url,t.B4B),t.R7$(3),t.Y8G("routerLink","/tickets/"+n.ticket_id)("queryParams",t.eq3(7,ht,n.ticket_version)),t.R7$(3),t.Y8G("routerLink","/mypage/purchased-tickets/"+n.purchase_id+"/payment-info-conbini")}}function bt(i,a){if(1&i&&(t.j41(0,"dl",1),t.DNE(1,kt,25,9,"div",2),t.k0s()),2&i){const n=t.XpG();t.R7$(),t.Y8G("ngForOf",n.tickets)}}let xt=(()=>{var i;class a{constructor(){this.tickets=[]}ngOnInit(){}static#t=i=()=>(this.\u0275fac=function(o){return new(o||a)},this.\u0275cmp=t.VBU({type:a,selectors:[["app-convenience-store-payment-list"]],inputs:{tickets:"tickets"},standalone:!1,decls:1,vars:1,consts:[["class","store-payment-list",4,"ngIf"],[1,"store-payment-list"],["class","store-payment-item",4,"ngFor","ngForOf"],[1,"store-payment-item"],[1,"store-payment-head"],[1,"store-payment-status"],[1,"store-payment-status-desc"],[1,"store-payment-body"],[1,"clinic-name","line-clamp-1"],[1,"ticket-info"],[1,"clinic-image"],[3,"ticketAvatar"],[1,"ticket-name-wrap"],[1,"ticket-name","line-clamp-3"],[1,"ticket-link-list"],[1,"ticket-link-item","ticket-link-item-map"],["target","_blank",1,"ticket-link","icon-map-pin",3,"href"],[1,"ticket-link-item","ticket-link-item-detail"],[1,"ticket-link","icon-detail",3,"routerLink","queryParams"],[1,"store-payment-action"],["type","button",1,"payment-info-button",3,"routerLink"]],template:function(o,s){1&o&&t.DNE(0,bt,2,1,"dl",0),2&o&&t.Y8G("ngIf",s.tickets.length>0)},dependencies:[l.Sq,l.bT,_.Wk,v.h],styles:['.store-payment-list[_ngcontent-%COMP%], .store-payment-head[_ngcontent-%COMP%], .store-payment-body[_ngcontent-%COMP%], .clinic-name[_ngcontent-%COMP%], .ticket-name[_ngcontent-%COMP%], .ticket-link-list[_ngcontent-%COMP%]{margin:0}.store-payment-item[_ngcontent-%COMP%]{background-color:#fff;border-radius:4px;box-shadow:1px 2px 10px #0000000a;padding-top:16px}.store-payment-item[_ngcontent-%COMP%] + .store-payment-item[_ngcontent-%COMP%]{margin-top:20px}.store-payment-head[_ngcontent-%COMP%]{background-color:#ce3a32;color:#fff;display:grid;grid-template-columns:max-content 1fr;grid-column-gap:13px;font-size:1.6rem;padding:8px 0 8px 24px;align-items:center;line-height:1;position:relative;left:-12px;right:-12px}.store-payment-head[_ngcontent-%COMP%]:before{display:inline-block;content:"";border-top:12px solid #872621;border-left:12px solid transparent;position:absolute;bottom:-12px;left:0}.store-payment-status-desc[_ngcontent-%COMP%]{font-size:1.2rem}.store-payment-body[_ngcontent-%COMP%]{padding:12px 16px 24px 9px}
1.clinic-name[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:400}.ticket-info[_ngcontent-%COMP%]{display:grid;grid-template-columns:20% 1fr;grid-template-rows:minmax(63px,max-content);grid-column-gap:12px;margin-top:13px}.clinic-image[_ngcontent-%COMP%]{align-self:center}.ticket-link-list[_ngcontent-%COMP%]{display:flex;font-weight:700;font-size:1rem;align-items:center;justify-content:flex-end;margin-top:8px}.ticket-link-item[_ngcontent-%COMP%]{height:18px;position:relative}.ticket-link-item[_ngcontent-%COMP%] + .ticket-link-item[_ngcontent-%COMP%]:before{display:inline-block;content:"";border-left:1px solid #cab994;width:1px;height:18px;position:absolute;left:0}.ticket-link-item-map[_ngcontent-%COMP%]{padding-right:15px}.ticket-link-item-detail[_ngcontent-%COMP%]{padding-left:15px}.ticket-link[_ngcontent-%COMP%], .ticket-link[_ngcontent-%COMP%]:link{color:#cab994}.ticket-link[_ngcontent-%COMP%]{display:inline-block;height:inherit}.icon-map-pin[_ngcontent-%COMP%]:before, .icon-detail[_ngcontent-%COMP%]:before{display:inline-block;content:"";background-repeat:no-repeat;background-size:contain;background-position:center;width:18px;height:18px;vertical-align:middle;position:relative;top:-1px}.icon-map-pin[_ngcontent-%COMP%]:before{background-image:url(/assets/images/icon/Pin-Area.png)}.icon-detail[_ngcontent-%COMP%]:before{margin-right:2px;background-image:url(/assets/images/icon/karte.png)}.store-payment-action[_ngcontent-%COMP%]{padding:20px 36px 0;text-align:center}.payment-info-button[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #ce3a32;border-radius:4px;color:#ce3a32;font-size:1.6rem;font-weight:700;width:100%;max-width:343px;height:48px}']}))}return i(),a})();function Ct(i,a){if(1&i&&(t.qex(0),t.j41(1,"span",9),t.nrm(2,"img",10),t.k0s(),t.j41(3,"span",11),t.EFF(4),t.k0s(),t.j41(5,"span",12)(6,"button",13),t.EFF(7,"\u78ba\u8a8d\u3059\u308b"),t.k0s()(),t.bVm()),2&i){const n=t.XpG().$implicit;t.R7$(4),t.SpI("",n.clinic_name,"\u306e\u4e88\u7d04\u304c\u78ba\u5b9a\u81f4\u3057\u307e\u3057\u305f\u3002")}}function vt(i,a){if(1&i&&(t.j41(0,"span",9),t.nrm(1,"img",14),t.k0s(),t.j41(2,"span",11),t.EFF(3),t.k0s(),t.j41(4,"span",12)(5,"button",13),t.EFF(6,"\u8fd4\u4fe1\u3059\u308b"),t.k0s()()),2&i){const n=t.XpG().$implicit;t.R7$(3),t.SpI(" ",n.clinic_name,"\u304b\u3089\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u5c4a\u304d\u307e\u3057\u305f\u3002 ")}}function Ft(i,a){if(1&i){const n=t.RV6();t.j41(0,"li",4)(1,"a",5),t.DNE(2,Ct,8,1,"ng-container",6)(3,vt,7,1,"ng-template",null,0,t.C5r),t.k0s(),t.j41(5,"button",7),t.bIt("click",function(){const o=c.eBV(n).$implicit,s=t.XpG(2);return c.Njj(s.stopNotification(o.id))}),t.nrm(6,"img",8),t.k0s()()}if(2&i){const n=a.$implicit,e=t.sdS(4);t.Y8G("id","notification-"+n.id),t.R7$(),t.Y8G("routerLink","/mypage/purchased-tickets/"+n.id+"/reservation/message"),t.R7$(),t.Y8G("ngIf",n.booking_is_done)("ngIfElse",e)}}function yt(i,a){if(1&i&&(t.j41(0,"ul",2),t.DNE(1,Ft,7,4,"li",3),t.k0s()),2&i){const n=t.XpG();t.R7$(),t.Y8G("ngForOf",n.notifications)}}let Et=(()=>{var i;class a{constructor(e){this.purchasedTicketsService=e,this.notifications=[]}ngOnInit(){}stopNotification(e){var o=this;return(0,g.A)(function*(){yield o.purchasedTicketsService.stopNotification({booking_id:e}),document.getElementById("notification-"+e).remove()})()}static#t=i=()=>(this.\u0275fac=function(o){return new(o||a)(t.rXU(f.O))},this.\u0275cmp=t.VBU({type:a,selectors:[["app-reservation-message-notifications"]],inputs:{notifications:"notifications"},standalone:!1,decls:1,vars:1,consts:[["receivedMessage",""],["class","notification",4,"ngIf"],[1,"notification"],["class","notification-item",3,"id",4,"ngFor","ngForOf"],[1,"notification-item",3,"id"],[1,"notification-content",3,"routerLink"],[4,"ngIf","ngIfElse"],["type","button",1,"close-button",3,"click"],["src","/assets/images/icon/confirmation-close-button.svg"],[1,"notification-icon"],["src","/assets/images/icon/icon-check.svg"],[1,"notification-text"],[1,"notification-button"],["type","button",1,"confirmation-button"],["src","/assets/images/icon/message-notification.svg"]],template:function(o,s){1&o&&t.DNE(0,yt,2,1,"ul",1),2&o&&t.Y8G("ngIf",s.notifications.length>0)},dependencies:[l.Sq,l.bT,_.Wk],styles:[".notification[_ngcontent-%COMP%]{margin:0;padding-bottom:32px}.notification-item[_ngcontent-%COMP%]{position:relative;box-shadow:1px 2px 10px #0003}.notification-item[_ngcontent-%COMP%] + .notification-item[_ngcontent-%COMP%]{margin-top:16px}.notification-content[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;background:#fff;padding:12px 16px;color:#000000b5;border-radius:4px;text-decoration:none;cursor:pointer}.notification-icon[_ngcontent-%COMP%]{margin-right:4px;min-width:24px}.notification-text[_ngcontent-%COMP%]{font-size:12px;font-weight:700;padding:0 4px;width:calc(100% - 158px)}.close-button[_ngcontent-%COMP%]{position:absolute;background:transparent;right:6px;top:6px;width:20px}.notification-button[_ngcontent-%COMP%]{margin-left:auto;margin-right:30px;display:inline-block;width:88px;min-width:72px;height:36px;border-radius:4px;border:solid 1px #49c2c2;font-size:12px;text-align:center;padding:8px 12px}.confirmation-button[_ngcontent-%COMP%]{background:transparent;color:#49c2c2;font-weight:700}@media only screen and (max-width:510px){.notification-content[_ngcontent-%COMP%]{padding:12px 4px 12px 12px}.notification-text[_ngcontent-%COMP%]{display:inline-block;margin-right:6px;font-size:11px;width:100%}.notification-button[_ngcontent-%COMP%]{margin-right:34px;font-size:11px;width:72px}}"]}))}return i(),a})();var Pt=u(20154),Mt=u(78325);const Ot=i=>({"no-header":i}),wt=i=>({ver:i}),Tt=i=>({"is-not-reserved":i}),Bt=(i,a)=>({"is-adjusting":i,"is-reserved":a}),w=()=>["web_ticket","counseling_ticket"],It=i=>({"is-notice-message":i}),Dt=(i,a,n)=>({"is-used":i,"is-expired":a,"is-cancelled":n});function Rt(i,a){1&i&&(t.qex(0),t.EFF(1,"\u4e88\u7d04\u8abf\u6574\u4e2d"),t.bVm())}function jt(i,a){1&i&&(t.qex(0),t.EFF(1,"\u4e88\u7d04\u78ba\u5b9a"),t.bVm())}function At(i,a){if(1&i&&(t.qex(0),t.EFF(1),t.bVm()),2&i){const n=t.XpG(3).$implicit;t.R7$(),t.SpI(" ",n.is_notification?"\u30af\u30ea\u30cb\u30c3\u30af\u304b\u3089\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u5c4a\u304d\u307e\u3057\u305f":"\u30af\u30ea\u30cb\u30c3\u30af\u304b\u3089\u3054\u9023\u7d61\u3044\u305f\u3057\u307e\u3059"," ")}}function Gt(i,a){1&i&&(t.qex(0),t.EFF(1," \u5f53\u65e5\u30af\u30ea\u30cb\u30c3\u30af\u3078\u304a\u8d8a\u3057\u304f\u3060\u3055\u3044 "),t.bVm())}function $t(i,a){if(1&i&&(t.j41(0,"header",23)(1,"span",24),t.DNE(2,Rt,2,0,"ng-container",3)(3,jt,2,0,"ng-container",3),t.k0s(),t.j41(4,"span",25),t.DNE(5,At,2,1,"ng-container",3)(6,Gt,2,0,"ng-container",3),t.k0s()()),2&i){const n=t.XpG(2).$implicit,e=t.XpG();t.Y8G("ngClass",t.l_i(5,Bt,e.isAdjusting(n),e.isReserved(n))),t.R7$(2),t.Y8G("ngIf",e.isAdjusting(n)),t.R7$(),t.Y8G("ngIf",e.isReserved(n)),t.R7$(2),t.Y8G("ngIf",e.isAdjusting(n)),t.R7$(),t.Y8G("ngIf",e.isReserved(n))}}function Lt(i,a){if(1&i&&(t.j41(0,"p",26),t.EFF(1),t.nI1(2,"date"),t.k0s()),2&i){const n=t.XpG(2).$implicit;t.R7$(),t.SpI("\u5229\u7528\u671f\u9650\uff1a",t.i5U(2,1,n.expiration_date,"yyyy\u5e74M\u6708d\u65e5"))}}function Ut(i,a){if(1&i&&(t.j41(0,"div",30)(1,"a",31),t.EFF(2," \u4e88\u7d04\u306e\u8a73\u7d30\u3092\u78ba\u8a8d\u3059\u308b "),t.k0s(),t.j41(3,"a",32),t.EFF(4," \u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u78ba\u8a8d\u3059\u308b "),t.k0s()()),2&i){const n=t.XpG(3).$implicit;t.R7$(),t.Y8G("routerLink","/mypage/purchased-tickets/"+n.booking_id+"/reservation/details"),t.R7$(2),t.Y8G("ngClass",t.eq3(3,It,n.is_notification))("routerLink","/mypage/purchased-tickets/"+n.booking_id+"/reservation/message")}}function Xt(i,a){if(1&i&&(t.qex(0),t.j41(1,"div",27)(2,"p",28),t.EFF(3,"\u4e88\u7d04\u8abf\u6574\u4e2d"),t.k0s(),t.DNE(4,Ut,5,5,"div",29),t.k0s(),t.bVm()),2&i){const n=t.XpG(2).$implicit;t.R7$(4),t.Y8G("ngIf",t.lJ4(1,w).includes(n.reservation_type)&&n.has_message)}}function Yt(i,a){if(1&i&&(t.j41(0,"a",37),t.nrm(1,"img",38),t.k0s()),2&i){const n=t.XpG(3).$implicit;t.Y8G("href",n.scheduling_url,t.B4B)}}function Nt(i,a){if(1&i&&(t.j41(0,"div",30)(1,"a",31),t.EFF(2," \u4e88\u7d04\u306e\u8a73\u7d30\u3092\u78ba\u8a8d\u3059\u308b "),t.k0s(),t.j41(3,"a",31),t.EFF(4," \u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u78ba\u8a8d\u3059\u308b "),t.k0s()()),2&i){const n=t.XpG(3).$implicit;t.R7$(),t.Y8G("routerLink","/mypage/purchased-tickets/"+n.booking_id+"/reservation/details"),t.R7$(2),t.Y8G("routerLink","/mypage/purchased-tickets/"+n.booking_id+"/reservation/message")}}function zt(i,a){if(1&i&&(t.qex(0),t.j41(1,"div",27)(2,"p",33),t.EFF(3,"\u4e88\u7d04\u304c\u78ba\u5b9a\u3057\u307e\u3057\u305f"),t.k0s(),t.j41(4,"div",34)(5,"span",35),t.EFF(6),t.k0s(),t.DNE(7,Yt,2,1,"a",36),t.k0s(),t.DNE(8,Nt,5,2,"div",29),t.k0s(),t.bVm()),2&i){const n=t.XpG(2).$implicit;t.R7$(6),t.JRh(n.reservation_date),t.R7$(),t.Y8G("ngIf",n.scheduling_url),t.R7$(),t.Y8G("ngIf",t.lJ4(3,w).includes(n.reservation_type)&&n.has_message)}}function St(i,a){if(1&i){const n=t.RV6();t.qex(0),t.j41(1,"button",39),t.bIt("click",function(){c.eBV(n);const o=t.XpG(2).$implicit,s=t.XpG();return c.Njj(s.navigateToReservation(o))}),t.EFF(2," \u4e88\u7d04\u3059\u308b "),t.k0s(),t.nrm(3,"img",40),t.bVm()}}function Vt(i,a){1&i&&(t.j41(0,"p",44),t.EFF(1," \u5229\u7528\u671f\u9650\u304c\u77ed\u3044\u30c1\u30b1\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059 "),t.k0s())}function Ht(i,a){if(1&i&&(t.j41(0,"p",45),t.EFF(1," \u6240\u6301\u679a\u6570"),t.j41(2,"em",46),t.EFF(3),t.k0s(),t.EFF(4,"\u679a "),t.k0s()),2&i){const n=t.XpG(3).$implicit;t.R7$(3),t.JRh(n.uses_count)}}function Jt(i,a){if(1&i&&(t.j41(0,"footer",41),t.DNE(1,Vt,2,0,"p",42)(2,Ht,5,1,"p",43),t.k0s()),2&i){const n=t.XpG(2).$implicit;t.R7$(),t.Y8G("ngIf",n.is_oldest),t.R7$(),t.Y8G("ngIf",n.uses_count>0)}}function qt(i,a){if(1&i){const n=t.RV6();t.qex(0),t.DNE(1,$t,7,8,"header",4),t.j41(2,"section",5)(3,"div",6)(4,"p",7),t.EFF(5),t.k0s(),t.DNE(6,Lt,3,4,"p",8),t.k0s(),t.j41(7,"div",9)(8,"div",10),t.nrm(9,"app-image",11),t.k0s(),t.j41(10,"div",12)(11,"p",13),t.EFF(12),t.k0s()()(),t.j41(13,"ul",14)(14,"li",15)(15,"a",16),t.EFF(16," \u5730\u56f3\u3092\u898b\u308b "),t.k0s()(),t.j41(17,"li",17)(18,"a",18),t.EFF(19," \u30c1\u30b1\u30c3\u30c8\u8a73\u7d30\u3092\u898b\u308b "),t.k0s()()()(),t.nrm(20,"div",19),t.j41(21,"section",20),t.DNE(22,Xt,5,2,"ng-container",3)(23,zt,9,4,"ng-container",3)(24,St,4,0,"ng-container",3),t.j41(25,"button",21),t.bIt("click",function(){c.eBV(n);const o=t.XpG().$implicit,s=t.XpG();
1return c.Njj(s.isNormal(o)?s.confirmUseTicket(o.purchase_id):s.confirmUseCounselingTicket(o.booking_id))}),t.EFF(26," \u30af\u30ea\u30cb\u30c3\u30af\u3067\u63d0\u793a\u3059\u308b "),t.k0s()(),t.DNE(27,Jt,3,2,"footer",22),t.bVm()}if(2&i){const n=t.XpG().$implicit,e=t.XpG();t.R7$(),t.Y8G("ngIf",!e.notReserved(n)),t.R7$(),t.Y8G("ngClass",t.eq3(14,Ot,e.notReserved(n))),t.R7$(3),t.JRh(n.clinic_name),t.R7$(),t.Y8G("ngIf",e.isNormal(n)),t.R7$(3),t.Y8G("ticketAvatar",n.clinic_image),t.R7$(3),t.SpI(" ",n.ticket_name," "),t.R7$(3),t.Y8G("href",n.google_map_url,t.B4B),t.R7$(3),t.Y8G("routerLink","/tickets/"+n.ticket_id)("queryParams",t.eq3(16,wt,n.ticket_version)),t.R7$(3),t.Y8G("ngClass",t.eq3(18,Tt,e.notReserved(n))),t.R7$(),t.Y8G("ngIf",e.isAdjusting(n)),t.R7$(),t.Y8G("ngIf",e.isReserved(n)),t.R7$(),t.Y8G("ngIf",e.notReserved(n)),t.R7$(3),t.Y8G("ngIf",e.isNormal(n))}}function Wt(i,a){if(1&i&&(t.j41(0,"p",56),t.EFF(1),t.k0s()),2&i){const n=t.XpG(2).$implicit;t.R7$(),t.SpI("\u5229\u7528\u65e5\uff1a",n.used_date)}}function Qt(i,a){if(1&i){const n=t.RV6();t.j41(0,"div",60),t.bIt("click",function(){c.eBV(n);const o=t.XpG(3).$implicit,s=t.XpG();return c.Njj(s.navigateToReview(o))}),t.j41(1,"span",61),t.EFF(2,"\uff3c"),t.k0s(),t.nrm(3,"i",62),t.j41(4,"span",63),t.EFF(5),t.k0s(),t.j41(6,"span",61),t.EFF(7,"\uff0f"),t.k0s()()}if(2&i){const n=t.XpG(3).$implicit;t.R7$(5),t.SpI("\u53e3\u30b3\u30df\u6295\u7a3f\u3067",n.review_point,"pt\u30b2\u30c3\u30c8\uff01")}}function Kt(i,a){if(1&i&&(t.j41(0,"div",64)(1,"span",65),t.EFF(2,"\u4f53\u9a13\u306e\u6e80\u8db3\u5ea6"),t.k0s(),t.nrm(3,"app-star-ratings",66),t.k0s()),2&i){const n=t.XpG(3).$implicit;t.R7$(3),t.Y8G("ratings",n.satisfaction_level)}}function Zt(i,a){if(1&i){const n=t.RV6();t.j41(0,"button",67),t.bIt("click",function(){c.eBV(n);const o=t.XpG(3).$implicit,s=t.XpG();return c.Njj(s.navigateToTreatmentHistoryEdit(o))}),t.EFF(1," \u3058\u3076\u3093\u5c65\u6b74\u3092\u7de8\u96c6\u3059\u308b "),t.k0s()}}function te(i,a){if(1&i&&(t.qex(0),t.DNE(1,Qt,8,1,"div",57)(2,Kt,4,1,"div",58)(3,Zt,2,0,"button",59),t.bVm()),2&i){const n=t.XpG(2).$implicit;t.R7$(),t.Y8G("ngIf",!1===n.has_review&&n.review_point),t.R7$(),t.Y8G("ngIf",!0===n.has_review&&n.satisfaction_level),t.R7$(),t.Y8G("ngIf",n.treatment_history_id)}}function ee(i,a){1&i&&t.nrm(0,"div",68)}function ne(i,a){if(1&i){const n=t.RV6();t.qex(0),t.j41(1,"div",70)(2,"button",71),t.bIt("click",function(){c.eBV(n);const o=t.XpG(3).$implicit,s=t.XpG();return c.Njj(s.navigateToClinicTickets(o))}),t.EFF(3," \u4ed6\u306e\u30c1\u30b1\u30c3\u30c8\u3092\u898b\u308b "),t.k0s(),t.j41(4,"button",72),t.bIt("click",function(){c.eBV(n);const o=t.XpG(3).$implicit,s=t.XpG();return c.Njj(s.navigateToRepurchase(o))}),t.EFF(5," \u3082\u3046\u4e00\u5ea6\u8cfc\u5165\u3059\u308b "),t.k0s()(),t.bVm()}}function ie(i,a){if(1&i){const n=t.RV6();t.qex(0),t.j41(1,"button",73),t.bIt("click",function(){c.eBV(n);const o=t.XpG(3).$implicit,s=t.XpG();return c.Njj(s.navigateToClinicTickets(o))}),t.EFF(2," \u4ed6\u306e\u30c1\u30b1\u30c3\u30c8\u3092\u898b\u308b "),t.k0s(),t.bVm()}}function oe(i,a){if(1&i){const n=t.RV6();t.qex(0),t.j41(1,"button",74),t.bIt("click",function(){c.eBV(n);const o=t.XpG(3).$implicit,s=t.XpG();return c.Njj(s.navigateToRepurchase(o))}),t.EFF(2," \u3082\u3046\u4e00\u5ea6\u8cfc\u5165\u3059\u308b "),t.k0s(),t.bVm()}}function ae(i,a){if(1&i&&(t.j41(0,"section",69),t.DNE(1,ne,6,0,"ng-container",3)(2,ie,3,0,"ng-container",3)(3,oe,3,0,"ng-container",3),t.k0s()),2&i){const n=t.XpG(2).$implicit;t.R7$(),t.Y8G("ngIf",n.can_view_other_tickets&&n.can_repurchase_ticket),t.R7$(),t.Y8G("ngIf",n.can_view_other_tickets&&!n.can_repurchase_ticket),t.R7$(),t.Y8G("ngIf",n.can_repurchase_ticket&&!n.can_view_other_tickets)}}function se(i,a){if(1&i&&(t.qex(0),t.j41(1,"header",47)(2,"span",48),t.EFF(3),t.k0s()(),t.j41(4,"section",49)(5,"div",50)(6,"p",7),t.EFF(7),t.k0s(),t.DNE(8,Wt,2,1,"p",51),t.k0s(),t.j41(9,"div",52)(10,"div",10),t.nrm(11,"app-image",11),t.k0s(),t.j41(12,"div",53)(13,"p",13),t.EFF(14),t.k0s(),t.DNE(15,te,4,3,"ng-container",3),t.k0s()()(),t.DNE(16,ee,1,0,"div",54)(17,ae,4,3,"section",55),t.bVm()),2&i){const n=t.XpG().$implicit,e=t.XpG();t.R7$(),t.Y8G("ngClass",t.sMw(9,Dt,e.isUsed(n),e.isExpired(n),e.isCancelled(n))),t.R7$(2),t.JRh(e.getHistoryLabel(n)),t.R7$(4),t.JRh(n.clinic_name),t.R7$(),t.Y8G("ngIf",e.isUsed(n)&&n.used_date),t.R7$(3),t.Y8G("ticketAvatar",n.clinic_image),t.R7$(3),t.SpI(" ",n.ticket_name," "),t.R7$(),t.Y8G("ngIf",e.isUsed(n)),t.R7$(),t.Y8G("ngIf",n.can_repurchase_ticket||n.can_view_other_tickets),t.R7$(),t.Y8G("ngIf",n.can_repurchase_ticket||n.can_view_other_tickets)}}function ce(i,a){if(1&i&&(t.j41(0,"li",2),t.DNE(1,qt,28,20,"ng-container",3)(2,se,18,13,"ng-container",3),t.k0s()),2&i){const n=a.$implicit,e=t.XpG();t.R7$(),t.Y8G("ngIf",e.isActiveStatus(n)),t.R7$(),t.Y8G("ngIf",e.isHistoryStatus(n))}}const T="NOT_BOOK";let de=(()=>{var i;class a{constructor(e,o,s){this.router=e,this.action=o,this.mediaApiNavigation=s,this.tickets=[]}ngOnInit(){}isNormal(e){return"normal"===e.ticket_type}isAdjusting(e){return"ADJUSTING"===e.status}isReserved(e){return"ON_BOOKING"===e.status}notReserved(e){return e.status===T}canReserve(e){return e.status===T}confirmUseTicket(e){return this.action.update({amount_use:0,is_use_ticket:!0,is_press_back_use_ticket:!1}),this.router.navigate(["mypage/purchased-tickets/"+e+"/confirm-use-ticket"])}confirmUseCounselingTicket(e){return this.router.navigate(["mypage/purchased-tickets/"+e+"/confirm-use-counseling-ticket"])}isUsed(e){return"BOOKED"===e.status}isExpired(e){return"OUT_BOOK"===e.status}isCancelled(e){return"CANCELLED"===e.status}isHistoryStatus(e){return this.isUsed(e)||this.isExpired(e)||this.isCancelled(e)}isActiveStatus(e){return!this.isHistoryStatus(e)}getHistoryLabel(e){return this.isCancelled(e)?"\u30ad\u30e3\u30f3\u30bb\u30eb\u6e08\u307f":this.isExpired(e)?"\u671f\u9650\u5207\u308c":"\u6765\u9662\u6e08\u307f"}navigateToRepurchase(e){e.can_repurchase_ticket&&e.repurchase_ticket_id&&this.router.navigate(["/tickets",e.repurchase_ticket_id])}navigateToClinicTickets(e){e.can_view_other_tickets&&e.clinic_id&&this.router.navigate(["/clinics",e.clinic_id,"tickets"])}navigateToTreatmentHistoryEdit(e){e.treatment_history_id&&this.router.navigate(["/mypage/treatment-history",e.treatment_history_id,"edit"])}navigateToReview(e){this.router.navigate(["/reviews/new"],{queryParams:{booking_id:e.booking_id}})}navigateToReservation(e){e.media_api_reservation_url?this.mediaApiNavigation.navigateToMediaApiReservation({mediaApiUrl:e.media_api_reservation_url,fallbackNavigation:()=>this.navigateToLegacyReservation(e),ticketType:e.ticket_type}):this.navigateToLegacyReservation(e)}navigateToLegacyReservation(e){this.router.navigate("counseling"===e.ticket_type?["/tickets",e.ticket_id,"reservation-slot"]:["/mypage/purchased-tickets",e.purchase_id,"reservation"])}static#t=i=()=>(this.\u0275fac=function(o){return new(o||a)(t.rXU(d.Ix),t.rXU(x.r),t.rXU(Pt.M))},this.\u0275cmp=t.VBU({type:a,selectors:[["app-paid-ticket-list"]],inputs:{tickets:"tickets"},standalone:!1,decls:2,vars:1,consts:[[1,"paid-ticket-list"],["class","paid-ticket-item",4,"ngFor","ngForOf"],[1,"paid-ticket-item"],[4,"ngIf"],["class","paid-ticket-head",3,"ngClass",4,"ngIf"],[1,"ticket-info-section",3,"ngClass"],[1,"ticket-info-head"],[1,"clinic-name","line-clamp-1"],["class","expire-date",4,"ngIf"],[1,"ticket-info"],[1,"clinic-image"],[3,"ticketAvatar"],[1,"ticket-name-wrap"],[1,"ticket-name","line-clamp-3"],[1,"ticket-link-list"],[1,"ticket-link-item","ticket-link-item-map"],["target","_blank",1,"ticket-link","icon-map-pin",3,"href"],[1,"ticket-link-item","ticket-link-item-detail"],[1,"ticket-link","icon-detail",3,"routerLink","queryParams"],[1,"active-cutline"],[1,"active-action-section",3,"ngClass"],["type","button",1,"active-present-button",3,"click"],["class","paid-ticket-footer",4,"ngIf"],[1,"paid-ticket-head",3,"ngClass"],[1,"booking-status"],[1,"booking-status-desc"],[1,"expire-date"],[1,"active-status-box"],[1,"active-status-text"],["class","active-action-buttons-row",4,"ngIf"],[1,"active-action-buttons-row"],[1,"active-action-button-outline",3,"routerLink"],[1,"active-action-button-outline",3,"ngClass","routerLink"],[1,"active-status-sub-text"],[1,"active-reservation-datetime"],[1,"active-reservation-datetime-text"],["class","schedule-link","target","_blank",3,"href",4,"ngIf"],["target","_blank",1,"schedule-link",3,"href"],["src","/assets/images/icon/cal_on.svg","width","24","height","20","alt","calender"],["type","button",1,"active-reserve-button",3,"click"],["src","/assets/images/triangle/[email protected]","alt","","width","52","height","16",1,"active-triangle-arrow"],[1,"paid-ticket-footer"],["class","warning-expiration-date",4,"ngIf"],["class","uses-left",4,"ngIf"],[1,"warning-expiration-date"],[1,"uses-left"],[1,"uses-left-count"],[1,"history-ticket-head",3,"ngClass"],[1,"history-status-label"],[1,"history-ticket-info-section"],[1,"history-ticket-info-head"],["class","history-used-date",4,"ngIf"],[1,"history-ticket-info"],[1,"history-ticket-detail"],["class","history-cutline",4,"ngIf"],["class","history-action-section",4,"ngIf"],[1,"history-used-date"],["class","review-promotion",3,"click",4,"ngIf"],["class","satisfaction-level",4,"ngIf"],["type","button","class","treatment-history-edit-button",3,"click",4,"ngIf"],[1,"review-promotion",3,"click"],[1,"review-promotion-text"],[1,"fa","fa-comment","review-promotion-icon"],[1,"review-promotion-text-bold"],[1,"satisfaction-level"],[1,"satisfaction-label"],["width","16px","height","16px","marginRight","8px",3,"ratings"],["type","button",1,"treatment-history-edit-button",3,"click"],[1,"history-cutline"],[1,"history-action-section"],[1,"history-action-buttons-row"],["type","button",1,"history-action-button-secondary",3,"click"],["type","button",1,"history-action-button-primary",3,"click"],["type","button",1,"history-action-button-secondary-full",3,"click"],["type","button",1,"history-action-button-primary-full",3,"click"]],template:function(o,s){1&o&&(t.j41(0,"ul",0),t.DNE(1,ce,3,2,"li",1),t.k0s()),2&o&&(t.R
17$(),t.Y8G("ngForOf",s.tickets))},dependencies:[l.YU,l.Sq,l.bT,_.Wk,v.h,Mt.u,l.vh],styles:['@charset "UTF-8";.paid-ticket-list[_ngcontent-%COMP%], .clinic-name[_ngcontent-%COMP%], .expire-date[_ngcontent-%COMP%], .ticket-name[_ngcontent-%COMP%], .ticket-link-list[_ngcontent-%COMP%], .uses-left[_ngcontent-%COMP%]{margin:0}.paid-ticket-item[_ngcontent-%COMP%]{background-color:#fff;border-radius:4px;box-shadow:1px 2px 10px #0000000a;padding-bottom:24px}.paid-ticket-item[_ngcontent-%COMP%] + .paid-ticket-item[_ngcontent-%COMP%]{margin-top:20px}.paid-ticket-head[_ngcontent-%COMP%]{color:#fff;display:flex;gap:16px;align-items:center;font-weight:700;padding:7px 24px;line-height:1;position:relative;top:16px;left:-8px;width:calc(100% - 4px)}.paid-ticket-head.is-adjusting[_ngcontent-%COMP%]{background-color:#ce3a32}.paid-ticket-head.is-reserved[_ngcontent-%COMP%]{background-color:#cab994}.paid-ticket-head[_ngcontent-%COMP%]:before{display:inline-block;content:"";border-left:8px solid transparent;position:absolute;bottom:-8px;left:0}.paid-ticket-head.is-adjusting[_ngcontent-%COMP%]:before{border-top:8px solid #872621}.paid-ticket-head.is-reserved[_ngcontent-%COMP%]:before{border-top:8px solid #8c8168}.booking-status[_ngcontent-%COMP%]{font-size:1.4rem;white-space:nowrap}.booking-status-desc[_ngcontent-%COMP%]{font-size:1rem;flex:1;min-width:0}.ticket-info-section[_ngcontent-%COMP%]{padding:16px}.ticket-info-section.no-header[_ngcontent-%COMP%]{padding-top:16px}.paid-ticket-head[_ngcontent-%COMP%] + .ticket-info-section[_ngcontent-%COMP%]{margin-top:16px}.ticket-info-head[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:13px}.clinic-name[_ngcontent-%COMP%], .expire-date[_ngcontent-%COMP%]{font-size:1.2rem}.expire-date[_ngcontent-%COMP%]{color:#999;text-align:right;white-space:nowrap;flex:1}.ticket-info[_ngcontent-%COMP%]{display:flex;gap:16px;align-items:center;margin-top:16px}.ticket-name-wrap[_ngcontent-%COMP%]{flex:1;min-width:0}.ticket-name[_ngcontent-%COMP%]{font-size:1.2rem}.clinic-image[_ngcontent-%COMP%]{align-self:center;width:64px;flex-shrink:0}.ticket-link-list[_ngcontent-%COMP%]{display:flex;font-weight:700;font-size:1rem;align-items:center;justify-content:flex-end;margin-top:8px}.ticket-link-item[_ngcontent-%COMP%]{height:18px;position:relative}.ticket-link-item[_ngcontent-%COMP%] + .ticket-link-item[_ngcontent-%COMP%]:before{display:inline-block;content:"";border-left:1px solid #cab994;width:1px;height:18px;position:absolute;left:0}.ticket-link-item-map[_ngcontent-%COMP%]{padding-right:15px}.ticket-link-item-detail[_ngcontent-%COMP%]{padding-left:15px}.ticket-link[_ngcontent-%COMP%], .ticket-link[_ngcontent-%COMP%]:link{color:#cab994}.ticket-link[_ngcontent-%COMP%]{display:inline-block;height:inherit}.icon-map-pin[_ngcontent-%COMP%]:before, .icon-detail[_ngcontent-%COMP%]:before{display:inline-block;content:"";background-repeat:no-repeat;background-size:contain;background-position:center;width:18px;height:18px;vertical-align:middle;position:relative;top:-1px}.icon-map-pin[_ngcontent-%COMP%]:before{background-image:url(/assets/images/icon/Pin-Area.png)}.icon-detail[_ngcontent-%COMP%]:before{margin-right:2px;background-image:url(/assets/images/icon/karte.png)}.active-cutline[_ngcontent-%COMP%]{height:16px;position:relative;width:100%}.active-cutline[_ngcontent-%COMP%]:before{content:"";display:block;width:100%;height:16px;background:url(/assets/images/mypage/cutline.png) no-repeat center left;background-size:cover;position:absolute;left:0}.active-cutline[_ngcontent-%COMP%]:after{content:"";display:block;width:8px;height:16px;background:url(/assets/images/mypage/cutline-right.png) no-repeat right bottom;position:absolute;right:0;top:0}.active-action-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px;align-items:center;padding:16px 24px 0}.active-action-section.is-not-reserved[_ngcontent-%COMP%]{gap:16px}.active-status-box[_ngcontent-%COMP%]{background-color:#f9f9f9;border-radius:4px;padding:16px;width:100%;display:flex;flex-direction:column;gap:16px;align-items:center}.active-status-text[_ngcontent-%COMP%]{font-size:1.4rem;font-weight:700;color:#4a4a4a;text-align:center;margin:0}.active-status-sub-text[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:700;color:#4a4a4a;text-align:center;margin:0 0 -8px}.active-reservation-datetime[_ngcontent-%COMP%]{font-size:1.4rem;font-weight:700;color:#4a4a4a;text-align:center;margin:0;display:flex;align-items:flex-end;
1gap:12px;justify-content:center}.schedule-link[_ngcontent-%COMP%]{display:inline-flex;align-items:center}.active-action-buttons-row[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}.active-action-button-outline[_ngcontent-%COMP%]{border-radius:4px;border:solid 1px #cab994;color:#cab994;background-color:#fff;font-size:1.1rem;font-weight:700;height:48px;display:flex;align-items:center;justify-content:center;text-align:center;cursor:pointer;text-decoration:none}.active-action-button-outline.is-notice-message[_ngcontent-%COMP%]{border-color:#ce3a32;color:#ce3a32}@media only screen and (max-width:510px){.active-action-button-outline[_ngcontent-%COMP%]{font-size:1.1rem}}.active-reserve-button[_ngcontent-%COMP%], .active-present-button[_ngcontent-%COMP%]{border-radius:4px;background-color:#49c2c2;color:#fff;font-weight:700;font-size:1.6rem;width:100%;height:48px;border:none;cursor:pointer}.active-triangle-arrow[_ngcontent-%COMP%]{display:block}.paid-ticket-footer[_ngcontent-%COMP%]{font-size:1.2rem;padding:0 24px}.warning-expiration-date[_ngcontent-%COMP%]{text-align:center;color:#ce3a32;margin-top:16px}.uses-left[_ngcontent-%COMP%]{text-align:right;margin-top:16px}.uses-left-count[_ngcontent-%COMP%]{font-weight:700;font-style:normal;font-family:\\30d2\\30e9\\30ae\\30ce\\89d2\\30b4\\30b7\\30c3\\30af  Pro,Hiragino Kaku Gothic Pro,\\6e38\\30b4\\30b7\\30c3\\30af\\4f53,YuGothic,\\6e38\\30b4\\30b7\\30c3\\30af  Medium,Yu Gothic Medium,\\6e38\\30b4\\30b7\\30c3\\30af,Yu Gothic,\\30e1\\30a4\\30ea\\30aa,sans-serif;font-size:1.6rem;color:#49c2c2;padding:0 10px}.history-ticket-head[_ngcontent-%COMP%]{color:#fff;font-size:1.4rem;font-weight:700;padding:7px 24px;line-height:1;position:relative;top:16px;left:-8px;width:calc(100% - 4px);background-color:#999}.history-ticket-head[_ngcontent-%COMP%]:before{display:inline-block;content:"";border-left:8px solid transparent;border-top:8px solid #666;position:absolute;bottom:-8px;left:0}.history-ticket-info-section[_ngcontent-%COMP%]{padding:16px;margin-top:16px}.history-ticket-info-head[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:13px}.history-used-date[_ngcontent-%COMP%]{color:#999;font-size:1.2rem;white-space:nowrap;margin:0}.history-ticket-info[_ngcontent-%COMP%]{display:flex;gap:16px;align-items:flex-start;margin-top:16px}.history-ticket-info[_ngcontent-%COMP%]   .clinic-image[_ngcontent-%COMP%]{align-self:flex-start}.history-ticket-detail[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px;flex:1;min-width:0}.review-promotion[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:2px;cursor:pointer}.review-promotion-text[_ngcontent-%COMP%]{color:#f85d83;font-size:1rem}.review-promotion-icon[_ngcontent-%COMP%]{color:#f85d83;font-size:1.2rem}.review-promotion-text-bold[_ngcontent-%COMP%]{color:#f85d83;font-size:1rem;font-weight:700}.satisfaction-level[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}.satisfaction-label[_ngcontent-%COMP%]{font-size:1rem;color:#0006}.treatment-history-edit-button[_ngcontent-%COMP%]{border-radius:4px;border:solid 1px #cab994;color:#cab994;font-size:1.2rem;font-weight:700;background-color:#fff;padding:12px 16px;text-align:center;width:100%;cursor:pointer}.history-cutline[_ngcontent-%COMP%]{height:16px;position:relative;width:100%}.history-cutline[_ngcontent-%COMP%]:before{content:"";display:block;width:100%;height:16px;background:url(/assets/images/mypage/cutline.png) no-repeat center left;background-size:cover;position:absolute;left:0}.history-cutline[_ngcontent-%COMP%]:after{content:"";display:block;width:8px;height:16px;background:url(/assets/images/mypage/cutline-right.png) no-repeat right bottom;position:absolute;right:0;top:0}.history-action-section[_ngcontent-%COMP%]{padding:16px 16px 8px}.history-action-buttons-row[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:8px}.history-action-button-secondary[_ngcontent-%COMP%]{border-radius:4px;border:solid 1px #49c2c2;color:#49c2c2;background-color:#fff;font-size:1.4rem;font-weight:700;height:48px;width:100%;cursor:pointer;display:flex;align-items:center;justify-content:center;text-align:center}.history-action-button-primary[_ngcontent-%COMP%]{border-radius:4px;background-color:#49c2c2;color:#fff;font-size:1.6rem;font-weight:700;height:48px;width:100%;cursor:pointer;border:none;display:flex;align-items:center;justify-content:center}.history-action-button-secondary-full[_ngcontent-%COMP%]{border-radius:4px;border:solid 1px #49c2c2;color:#49c2c2;background-color:#fff;font-size:1.6rem;font-weight:700;height:48px;width:100%;cursor:pointer;display:flex;align-items:center;justify-content:center}.history-action-button-primary-full[_ngcontent-%COMP%]{border-radius:4px;background-color:#49c2c2;color:#fff;font-size:1.6rem;font-weight:700;height:48px;width:100%;cursor:pointer;border:none;display:flex;align-items:center;justify-content:center}']}))}return i(),a})();function me(i,a){1&i&&(t.j41(0,"div",5),t.nrm(1,"app-feature-banner",6),t.k0s())}function _e(i,a){if(1&i&&(t.j41(0,"section",14),t.nrm(1,"app-convenience-store-payment-list",15),t.k0s()),2&i){const n=t.XpG(3);t.R7$(),t.Y8G("tickets",n.unpaidTicketList)}}function fe(i,a){if(1&i&&(t.j41(0,"section",14),t.nrm(1,"app-paid-ticket-list",15),t.k0s()),2&i){const n=t.XpG(3);t.R7$(),t.Y8G("tickets",n.purchasedTicketList.data)}}function he(i,a){if(1&i){const n=t.RV6();t.j41(0,"div",16)(1,"button",17),t.bIt("click",function(){c.eBV(n);const o=t.XpG(3);return c.Njj(o.loadMore())}),t.EFF(2," \u3082\u3063\u3068\u30c1\u30b1\u30c3\u30c8\u3092\u898b\u308b "),t.k0s()()}}function ke(i,a){1&i&&(t.j41(0,"div",18),t.nrm(1,"app-button",19),t.k0s()),2&i&&(t.R7$(),t.Y8G("btnLoadMore",!0))}function be(i,a){if(1&i&&(t.j41(0,"div",9)(1,"div",5),t.nrm(2,"app-reservation-message-notifications",10),t.DNE(3,_e,2,1,"section",11)(4,fe,2,1,"section",11),t.k0s(),t.DNE(5,he,3,0,"div",12)(6,ke,2,1,"div",13),t.k0s()),2&i){const n=t.XpG(2);t.R7$(2),t.Y8G("notifications",n.notifications),t.R7$(),t.Y8G("ngIf",n.unpaidTicketList.length>0),t.R7$(),t.Y8G("ngIf",n.purchasedTicketList.data.length>0),t.R7$(),t.Y8G("ngIf",!n.isLoadMore&&n.purchasedTicketList.next_page>0&&n.purchasedTicketList.data.length>0),t.R7$(),t.Y8G("ngIf",n.isLoadMore)}}function xe(i,a){1&i&&t.nrm(0,"app-empty-purchased-tickets",21)}function Ce(i,a){1&i&&t.nrm(0,"app-empty-purchased-tickets",22)}function ve(i,a){if(1&i&&t.DNE(0,xe,1,0,"app-empty-purchased-tickets",20)(1,Ce,1,0,"ng-template",null,2,t.C5r),2&i){const n=t.sdS(2),e=t.XpG(2);t.Y8G("ngIf",e.hasTreatmentHistory)("ngIfElse",n)}}function Fe(i,a){if(1&i&&(t.qex(0),t.j41(1,"div",7),t.DNE(2,be,7,5,"div",8)(3,ve,3,2,"ng-template",null,1,t.C5r),t.k0s(),t.bVm()),2&i){const n=t.sdS(4),e=t.XpG();t.R7$(),t.AVh("tickets-purchased--with-banner",!e.notifications.length&&(null==e.featureBanner?null:e.featureBanner.banner)),t.R7$(),t.Y8G("ngIf",e.hasData)("ngIfElse",n)}}function ye(i,a){1&i&&(t.nrm(0,"app-empty-purchased-tickets",23),t.j41(1,"a",24),t.EFF(2,"\u65e2\u306b\u4f1a\u54e1\u306e\u65b9\u306f\u3053\u3061\u3089\u304b\u3089\u30ed\u30b0\u30a4\u30f3"),t.k0s()),2&i&&t.Y8G("message","\u30c1\u30b1\u30c3\u30c8\u3092\u8cfc\u5165\u3059\u308b\u3068\n\u3053\u306e\u30da\u30fc\u30b8\u306b\u8868\u793a\u3055\u308c\u307e\u3059")}let Ee=(()=>{var i;class a{constructor(e,o,s,r,m){this.purchasedTicketsService=e,this.router=o,this.action=s,this.location=r,this.dialog=m,this.hasData=!0,this.hasTreatmentHistory=!1,this.purchasedTicketList={data:[],current_page:1,per_page:10},this.unpaidTicketList=[],this.notifications=[],this.isLoadMore=!1,this.isFirstTimePurchase=!1,this.isLoggedIn=!1}ngOnInit(){var e=this;return(0,g.A)(function*(){e.isLoggedIn=!!localStorage.getItem("auth"),e.isLoggedIn&&(e.state=e.action.getState(),e.purchasedTicketsService.unreadConfirmation(),e.state.is_back_from_confirm&&e.action.update({is_use_ticket:!0}),e.location.onPopState(()=>{e.action.update({is_press_back:!0})}),yield Promise.all([e.getPurchasedTicketList(),e.getUnpaidBookingList(
1),e.getNotification()]),e.hasData=0!==e.purchasedTicketList.data.length||0!==e.unpaidTicketList.length,e.showTreatmentFlowModal())})()}getUnpaidBookingList(){var e=this;return(0,g.A)(function*(){const o=yield e.purchasedTicketsService.getUnpaidBookingList();e.unpaidTicketList=o.data})()}getPurchasedTicketList(){var e=this;return(0,g.A)(function*(o=1){const s=e.purchasedTicketList.per_page,r=yield e.purchasedTicketsService.getPurchasedBookingList({page:o,size:s});e.purchasedTicketList.data=e.purchasedTicketList.data.concat(r.data),e.purchasedTicketList.current_page=r.current_page,e.purchasedTicketList.next_page=r.next_page,e.hasTreatmentHistory=r.has_treatment_history,e.isFirstTimePurchase=r.first_time_purchase,e.isLoadMore=!1}).apply(this,arguments)}getNotification(){var e=this;return(0,g.A)(function*(){const o=yield e.purchasedTicketsService.getNotification();e.notifications=o.notification})()}loadMore(){this.purchasedTicketList.next_page&&(this.isLoadMore=!0,this.getPurchasedTicketList(this.purchasedTicketList.next_page))}onscroll(){this.action.update({position_page_ticket_purchased:window.scrollY})}ngAfterViewInit(){this.isLoggedIn&&this.state.is_press_back&&(setTimeout(()=>{window.scrollTo(0,this.state.position_page_ticket_purchased)}),this.action.update({is_press_back:!1}))}showTreatmentFlowModal(){this.isAfterFirstTimePurchase()&&this.dialog.open(_t,{panelClass:"modal-dialog-centered",disableClose:!1})}isAfterFirstTimePurchase(){return null!=localStorage.getItem("from_ticket_order_completes")&&(localStorage.removeItem("from_ticket_order_completes"),!0===this.isFirstTimePurchase)}static#t=i=()=>(this.\u0275fac=function(o){return new(o||a)(t.rXU(f.O),t.rXU(d.Ix),t.rXU(x.r),t.rXU(O.Vw),t.rXU(k.lG))},this.\u0275cmp=t.VBU({type:a,selectors:[["app-purchased-tickets"]],viewQuery:function(o,s){if(1&o&&t.GBs(M.i,5),2&o){let r;t.mGM(r=t.lsd())&&(s.featureBanner=r.first)}},hostBindings:function(o,s){1&o&&t.bIt("scroll",function(){return s.onscroll(s.event)},t.tSv)},standalone:!1,decls:4,vars:3,consts:[["notLogin",""],["hasNoData",""],["searchTicket",""],["class","container",4,"ngIf"],[4,"ngIf","ngIfElse"],[1,"container"],["pageType","purchased_tickets"],[1,"tickets-purchased"],["class","has-data",4,"ngIf","ngIfElse"],[1,"has-data"],[3,"notifications"],["class","list-section",4,"ngIf"],["class","action-load-more",4,"ngIf"],["class","loading",4,"ngIf"],[1,"list-section"],[3,"tickets"],[1,"action-load-more"],["type","button",1,"load-more-button",3,"click"],[1,"loading"],[3,"btnLoadMore"],["message","\u5229\u7528\u3067\u304d\u308b\u30c1\u30b1\u30c3\u30c8\u306f\u3042\u308a\u307e\u305b\u3093","buttonText","\u5229\u7528\u6e08\u307f\u30c1\u30b1\u30c3\u30c8\u3092\u898b\u308b","buttonLinkTo","/mypage/treatment-history","btnName","btn-white-big btn-common",4,"ngIf","ngIfElse"],["message","\u5229\u7528\u3067\u304d\u308b\u30c1\u30b1\u30c3\u30c8\u306f\u3042\u308a\u307e\u305b\u3093","buttonText","\u5229\u7528\u6e08\u307f\u30c1\u30b1\u30c3\u30c8\u3092\u898b\u308b","buttonLinkTo","/mypage/treatment-history","btnName","btn-white-big btn-common"],["message","\u5229\u7528\u3067\u304d\u308b\u30c1\u30b1\u30c3\u30c8\u306f\u3042\u308a\u307e\u305b\u3093","buttonText","\u30c1\u30b1\u30c3\u30c8\u3092\u63a2\u3059","buttonLinkTo","/"],["buttonText","\u30c1\u30b1\u30c3\u30c8\u3092\u63a2\u3059","buttonLinkTo","/",3,"message"],["routerLink","/login",1,"login-page-link"]],template:function(o,s){if(1&o&&t.DNE(0,me,2,0,"div",3)(1,Fe,5,4,"ng-container",4)(2,ye,3,1,"ng-template",null,0,t.C5r),2&o){const r=t.sdS(3);t.Y8G("ngIf",!s.notifications.length),t.R7$(),t.Y8G("ngIf",s.isLoggedIn)("ngIfElse",r)}},dependencies:[l.bT,_.Wk,ft,b.Q,M.i,xt,Et,de],styles:[".tickets-purchased[_ngcontent-%COMP%]{padding:32px 0 60px;background-color:#ededed}@media(max-width:767px){.tickets-purchased--with-banner[_ngcontent-%COMP%]{padding-top:0}}.treatment-history-link[_ngcontent-%COMP%], .login-page-link[_ngcontent-%COMP%]{color:#49c2c2;display:block;font-size:1.2rem;font-weight:700;text-decoration:underline}.treatment-history-link[_ngcontent-%COMP%]{text-align:right}.login-page-link[_ngcontent-%COMP%]{margin:-16px auto 100px;text-align:center}.treatment-history-link[_ngcontent-%COMP%] + .list-section[_ngcontent-%COMP%]{margin-top:16px}.list-section[_ngcontent-%COMP%] + .list-section[_ngcontent-%COMP%]{margin-top:20px}.action-load-more[_ngcontent-%COMP%]{display:block;text-align:center;margin-top:35px}.load-more-button[_ngcontent-%COMP%]{background-color:transparent;font-weight:700;color:#49c2c2}.load-more-button[_ngcontent-%COMP%]:focus{outline:none}.loading[_ngcontent-%COMP%]{text-align:center}"]}))}return i(),a})();u(45196);var Pe=u(60177),Me=u(45312),B=u(41853),I=u(18359),Oe=u(47428);const D=i=>[i];let we=(()=>{var i;class a{constructor(){this.ticket={},this.pickAmountTicket=new t.bkB,this.amountUse=0}ngOnInit(){}changeAmountTicketUse(e,o){switch(e){case"+":this.amountUse<o&&this.amountUse++;break;case"-":this.amountUse--}this.pickAmountTicket.emit(this.amountUse)}static#t=i=()=>(this.\u0275fac=function(o){return new(o||a)},this.\u0275cmp=t.VBU({type:a,selectors:[["app-plus-minus-input"]],inputs:{ticket:"ticket"},outputs:{pickAmountTicket:"pickAmountTicket"},standalone:!1,decls:8,vars:9,consts:[[1,"input-group"],[1,"input-group-button","minus"],["data-quantity","minus","data-field","quantity",1,"button","hollow","circle",3,"click","disabled"],[1,"fal","fa-minus",3,"ngClass"],["type","number","name","amount-use","value","0","readonly","",1,"input-group-field","amount-use
1-quantity",3,"ngModelChange","ngModel"],[1,"input-group-button","plus"],["data-quantity","plus","data-field","quantity",1,"button","hollow","circle",3,"click","disabled"],[1,"fal","fa-plus",3,"ngClass"]],template:function(o,s){1&o&&(t.j41(0,"div",0)(1,"div",1)(2,"button",2),t.bIt("click",function(){return s.changeAmountTicketUse("-",null==s.ticket?null:s.ticket.uses_left)}),t.nrm(3,"i",3),t.k0s()(),t.j41(4,"input",4),t.mxI("ngModelChange",function(m){return t.DH7(s.amountUse,m)||(s.amountUse=m),m}),t.k0s(),t.j41(5,"div",5)(6,"button",6),t.bIt("click",function(){return s.changeAmountTicketUse("+",null==s.ticket?null:s.ticket.uses_left)}),t.nrm(7,"i",7),t.k0s()()()),2&o&&(t.R7$(2),t.Y8G("disabled",0===s.amountUse),t.R7$(),t.Y8G("ngClass",t.eq3(5,D,0===s.amountUse?"btn-no-active":"btn-active")),t.R7$(),t.R50("ngModel",s.amountUse),t.R7$(2),t.Y8G("disabled",s.amountUse===(null==s.ticket?null:s.ticket.uses_left)),t.R7$(),t.Y8G("ngClass",t.eq3(7,D,s.amountUse===(null==s.ticket?null:s.ticket.uses_left)?"btn-no-active":"btn-active")))},dependencies:[l.YU,p.me,p.Q0,p.BC,p.vS],styles:[".btn-active[_ngcontent-%COMP%]{color:#cab994}.btn-no-active[_ngcontent-%COMP%]{color:#00000030}.amount-use-quantity[_ngcontent-%COMP%]{font-size:1.8rem;color:#000000b5;font-weight:700}"]}))}return i(),a})();function Te(i,a){1&i&&(t.j41(0,"div",34),t.EFF(1," \u5229\u7528\u671f\u9650\u304c\u77ed\u3044\u30c1\u30b1\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059 "),t.k0s())}function Be(i,a){if(1&i){const n=t.RV6();t.j41(0,"div",1)(1,"div",2)(2,"div",3)(3,"span",4),t.EFF(4," \u3054\u62c5\u5f53\u8005\u306e\u65b9\u306f "),t.k0s(),t.j41(5,"span",4),t.EFF(6," \u5185\u5bb9\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044 "),t.k0s(),t.nrm(7,"div",5),t.j41(8,"div",6)(9,"span",7),t.EFF(10),t.k0s()()(),t.j41(11,"div",8)(12,"div",9)(13,"div",10)(14,"div",11),t.nrm(15,"img",12),t.k0s(),t.j41(16,"div",13)(17,"p",14),t.EFF(18),t.k0s()()(),t.j41(19,"div",15)(20,"div",16),t.nrm(21,"img",17),t.k0s(),t.j41(22,"div",18)(23,"span",19),t.EFF(24,"\u5229\u7528\u679a\u6570\u306f\uff1f"),t.k0s()(),t.j41(25,"div",20)(26,"div",21)(27,"app-plus-minus-input",22),t.bIt("pickAmountTicket",function(o){c.eBV(n);const s=t.XpG();return c.Njj(s.getAmountUse(o))}),t.k0s(),t.j41(28,"span",23),t.EFF(29,"\u679a"),t.k0s()(),t.j41(30,"div",24)(31,"p",25),t.EFF(32,"\u6b8b\u308a"),t.k0s(),t.j41(33,"span",26),t.EFF(34),t.k0s(),t.j41(35,"p",25),t.EFF(36,"\u679a"),t.k0s()()()()(),t.j41(37,"div",27),t.nrm(38,"img",28),t.j41(39,"div",29)(40,"p",30),t.EFF(41,"\u4ee5\u4e0b\u306e\u30dc\u30bf\u30f3\u306f\u30af\u30ea\u30cb\u30c3\u30af\u304c\u64cd\u4f5c\u3057\u307e\u3059"),t.k0s()()(),t.j41(42,"div",31)(43,"app-button",32),t.bIt("click",function(){c.eBV(n);const o=t.XpG();return c.Njj(o.showAlertComplete())}),t.EFF(44," \u6d88\u5316\u3059\u308b"),t.k0s()(),t.DNE(45,Te,2,0,"div",33),t.k0s()()()}if(2&i){const n=t.XpG();t.R7$(10),t.JRh(null==n.dataTicket?null:n.dataTicket.clinic_name),t.R7$(5),t.Y8G("src",null!=n.dataTicket&&n.dataTicket.clinic_image?null==n.dataTicket?null:n.dataTicket.clinic_image:n.appUrl+"/assets/images/no_image.png",t.B4B),t.R7$(3),t.JRh(null==n.dataTicket?null:n.dataTicket.ticket_name),t.R7$(9),t.Y8G("ticket",n.dataTicket),t.R7$(7),t.JRh(n.getUsesLeft()),t.R7$(9),t.Y8G("disabled",n.isDisabled),t.R7$(2),t.Y8G("ngIf",null==n.dataTicket?null:n.dataTicket.is_oldest)}}let Ie=(()=>{var i;class a{constructor(e,o,s,r,m,C,y,fn){this.purchasedTicketsService=e,this.route=o,this.router=s,this.action=r,this.location=m,this.$gaService=C,this.dialog=y,this.platformId=fn,this.isDisabled=!1,this.previousUrl="",this.appUrl=Me.c.appURL,this.subscriptions=new I.yU,this.isBrowser=(0,Pe.UE)(this.platformId)}ngOnInit(){var e=this;return(0,g.A)(function*(){e.state=e.action.getState(),e.location.onPopState(()=>{e.action.update({is_press_back_use_ticket:!0})}),e.state.is_use_ticket?(e.isDisabled=!0,e.action.update({is_back_from_confirm:!0})):(e.isDisabled=!0,e.action.update({is_back_from_confirm:!1})),e.action.update({is_use_ticket:!1}),e.order_id=e.route.snapshot.params.id,e.dataTicket=yield e.purchasedTicketsService.getTicketItem(e.order_id),e.amount_use=e.state.amount_use,e.state.is_press_back_use_ticket||e.action.update({date_use_ticket:e.dataTicket.reservation_date}),e.isBrowser&&$("body").addClass("bg-palesilver")})()}getAmountUse(e){this.amount_use=e,this.amount_use>0?this.isDisabled=!1:0===this.amount_use&&(this.isDisabled=!0)}getUsesLeft(){return this.dataTicket.uses_left-this.amount_use}showAlertComplete(){this.confirmRef=this.dialog.open(B.B,{data:{message:"\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044",subMessage:"\u30c1\u30b1\u30c3\u30c8\u3092\u6d88\u5316\u3057\u307e\u3059\u304b\uff1f",acceptText:"\u6d88\u5316\u3059\u308b",cancelText:"\u30ad\u30e3\u30f3\u30bb\u30eb",acceptBold:!0}}),this.subscriptions.add(this.confirmRef.closed.subscribe(e=>{e&&(this.sendAnalyticsConsumeTicketEvent(),this.completeTicketUsed(this.dataTicket.id))}))}completeTicketUsed(e){this.isDisabled=!0,this.state=this.action.getState(),this.action.update({amount_use:this.amount_use}),this.purchasedTicketsService.completeUseTicket(e,{use_count:this.amount_use}).then(s=>{s&&"ok"===s.status?this.router.navigateByUrl("/mypage/purchased-tickets/"+e+"/complete-use-ticket"):console.log(s.message)})}ngOnDestroy(){this.isBrowser&&$("body").removeClass("bg-palesilver"),this.confirmRef?.close(),this.subscriptions.unsubscribe()}sendAnalyticsConsumeTicketEvent(){this.$gaService.gtag("event","consume_ticket",{items:[{item_id:this.dataTicket.ticket_id,price:this.dataTicket.price,currency:"JPY",quantity:this.amount_use}]})}static#t=i=()=>(this.\u0275fac=function(o){return new(o||a)(t.rXU(f.O),t.rXU(d.nX),t.rXU(d.Ix),t.rXU(x.r),t.rXU(O.Vw),t.rXU(Oe.p),t.rXU(k.lG),t.rXU(t.Agw))},this.\u0275cmp=t.VBU({type:a,selectors:[["app-confirm-use-ticket"]],standalone:!1,decls:1,vars:1,consts:[["class","confirm-use-ticket-page pb-60",4,"ngIf"],[1,"confirm-use-ticket-page","pb-60"],[1,"container"],[1,"upper"],[1,"upper__content"],[1,"bg-line"],[1,"clinic-name-2"],[1,"line-clamp-1"],[1,"lower"],[1,"row","m-0"],[1,"box-1"],[1,"left"],["alt","",3,"src"],[1,"right"],[1,"line-clamp-3"],[1,"box-amount"],[1,"center"],["src","/assets/images/triangle/[email protected]",1,"Triangle"],[1,"this-ticket"],[1,"fs-18","font-weight-bold"],[1,"plus-minus-input"],[1,"amount-ticket","font-weight-bold"],[3,"pickAmountTicket","ticket"],[1,"l-amount-ticket-unit","c-amount-ticket-unit"],[1,"amount-use"],[1,"l-amount-use
1-item","c-amount-use-item"],[1,"amount-use-number","c-amount-use-number"],[1,"bottom"],["src","/assets/images/stop/[email protected]"],[1,"flex"],[1,"user-coution","line-height"],[1,"buttun"],["btnName","btn-red",3,"click","disabled"],["class","expiration-date-ticket",4,"ngIf"],[1,"expiration-date-ticket"]],template:function(o,s){1&o&&t.DNE(0,Be,46,7,"div",0),2&o&&t.Y8G("ngIf",s.dataTicket)},dependencies:[l.bT,b.Q,we],styles:[".container{padding-left:16px;padding-right:16px}.confirm-use-ticket-page{padding-top:26px;line-height:normal;background-color:#ededed}.confirm-use-ticket-page .upper{background-color:#fff;display:flex;flex-direction:column;padding-top:15.5px;border-radius:4px 4px 0 0}.confirm-use-ticket-page .upper__content{font-size:1.8rem;text-align:center;font-weight:700}.confirm-use-ticket-page .upper__content:first-child{margin-bottom:1px}.confirm-use-ticket-page .bg-line{margin:13px 0 10px;background-color:#fff}.confirm-use-ticket-page .bottom{padding:9px 0 13px;display:flex;justify-content:center;background-color:#fce4ec;font-size:14px;color:#ce3a32;margin:12px 0}.confirm-use-ticket-page .bottom img{width:28px;height:28px}.confirm-use-ticket-page .bottom i{font-size:27px}.confirm-use-ticket-page .bottom .flex{display:flex;align-items:center}.confirm-use-ticket-page .bottom .flex p{margin:4px 6px 0 8px}.confirm-use-ticket-page .bottom .flex p.line-height{font-family:HiraKakuProN-W6;line-height:1.3}.confirm-use-ticket-page .clinic-name-2{background-color:#fff;font-size:16px;padding:0 12px .5px}.confirm-use-ticket-page .CutLine{width:343px;height:16px;object-fit:contain}.confirm-use-ticket-page .lower{background-color:#fff;overflow:inherit;width:auto;padding:0 0 52px;border-radius:0 0 4px 4px;box-shadow:1px 2px 10px #0000000a}.confirm-use-ticket-page .lower .box-1{display:flex;margin:10px 10px 0}.confirm-use-ticket-page .lower .box-1 .left{width:20%;float:left;margin:auto}.confirm-use-ticket-page .lower .box-1 .right{width:80%;margin:0 auto auto;padding-left:12px;float:left;line-height:1.5}.confirm-use-ticket-page .lower .box-1 .right h3{font-weight:400!important}.confirm-use-ticket-page .lower .box-1 .right p{height:63px;font-size:14px;margin-bottom:0}.confirm-use-ticket-page .lower .box-amount{overflow:hidden;width:100%;margin:0 12px;display:flex;flex-direction:column;align-items:center;justify-content:center}.confirm-use-ticket-page .lower .box-amount .center{margin:auto;width:141px}.confirm-use-ticket-page .lower .box-amount .center .Triangle{width:141px;height:50px;object-fit:fill;margin:20px auto 0}.confirm-use-ticket-page .lower .box-amount .this-ticket{margin-top:25.5px;margin-bottom:25.5px}.confirm-use-ticket-page .lower .box-amount .amount-ticket{margin-left:24px}.confirm-use-ticket-page .lower .box-amount .amount-ticket span{font-weight:400}.confirm-use-ticket-page .lower .box-amount .amount-use{display:flex;justify-content:center}.confirm-use-ticket-page .lower .box-amount .amount-use .amount-use-number{width:26px;padding:2.5px 0 26.5px;border:none;text-align:center}.confirm-use-ticket-page .lower .box-amount .amount-use .c-amount-use-number{font-size:1.3rem;color:#0006}.confirm-use-ticket-page .lower .box-amount .amount-use .l-amount-use-item{padding-top:2.5px;padding-bottom:26.5px;margin-bottom:0}.confirm-use-ticket-page .lower .box-amount .amount-use .c-amount-use-item{color:#0006;font-size:1.3rem}.confirm-use-ticket-page .lower .expiration-date-ticket{color:#ce3a32;font-size:1.2rem;font-weight:700;text-align:center;margin:16px auto -16px}.confirm-use-ticket-page .buttun{margin-right:12px;margin-left:12px;font-size:14px}.confirm-use-ticket-page .btn-common.btn-red{background-color:#ce3a32;height:60px}.confirm-use-ticket-page .btn-common.disabled{color:#fff!important;background-color:#00000030!important}.l-amount-ticket-unit{margin-top:1rem}.c-amount-ticket-unit{font-size:1.6rem}.user-coution{color:#ce3a32;margin-left:5px;font-weight:700}\n"],encapsulation:2}))}return i(),a})();function De(i,a){if(1&i&&(t.j41(0,"div",1)(1,"div",2)(2,"div",3)(3,"figure",4),t.nrm(4,"img",5),t.k0s(),t.j41(5,"p",6),t.EFF(6,"\u3054\u5229\u7528\u3044\u305f\u3060\u304d"),t.nrm(7,"br"),t.EFF(8,"\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059"),t.k0s()(),t.j41(9,"nav",7)(10,"figure",8),t.nrm(11,"img",9),t.k0s(),t.j41(12,"p",10),t.EFF(13," \u3058\u3076\u3093\u5c65\u6b74\u306e\u8a18\u5165&\u516c\u958b\u3067 "),t.j41(14,"em",11)(15,"span",12),t.EFF(16,"300"),t.k0s(),t.j41(17,"span",13),t.EFF(18,"\u30dd\u30a4\u30f3\u30c8"),t.k0s(),t.j41(19,"span",14),t.EFF(20,"GET !"),t.k0s()()(),t.j41(21,"a",15),t.EFF(22,"\u65e9\u901f\u8a18\u5165\u3059\u308b"),t.k0s()()()()),2&i){const n=t.XpG();t.R7$(21),t.Y8G("routerLink",t.VkB("/mypage/treatment-history/",n.historyId,"/edit"))}}let Re=(()=>{var i;class a{constructor(e,o,s,r){this.router=e,this.route=o,this.purchasedTicketsService=s,this.action=r,this.dataTicket={}}ngOnInit(){var e=this;return(0,g.A)(function*(){const{amount_use:o}=e.action.getState();if(0===o)return e.router.navigate(["/mypage/purchased-tickets"]);const s=e.route.snapshot.params.id;e.dataTicket=yield e.purchasedTicketsService.getTicketItem(s),e.historyId=e.dataTicket.user_treatment_history_id})()}static#t=i=()=>(this.\u0275fac=function(o){return new(o||a)(t.rXU(d.Ix),t.rXU(d.nX),t.rXU(f.O),t.rXU(x.r))},this.\u0275cmp=t.VBU({type:a,selectors:[["app-complete-delete-ticket"]],standalone:!1,decls:1,vars:1,consts:[["class","container",4,"ngIf"],[1,"container"],[1,"complete-delete-page","no-margin"],[1,"complete-message"],[1,"complete-image"],["src","/assets/images/mypage/complete-use-ticket.svg","width","88","height","96","alt","\u30c1\u30b1\u30c3\u30c8\u6d88\u5316\u5b8c\u4e86"],[1,"thanks-message"],[1,"my-history-nav"],[1,"easy-image"],["src","/assets/images/mypage/icon-easy.png","width","54","height","54","alt","\u7c21\u5358!"],[1,"my-history-nav-description"],[1,"point-get"],[1,"point-get-num"],[1,"point-get-unit"],[1,"point-get-text"],[1,"my-history-nav-button",3,"routerLink"]],template:function(o,s){1&o&&t.DNE(0,De,23,2,"div",0),2&o&&t.Y8G("ngIf",s.dataTicket.id)},dependencies:[l.bT,_.Wk],styles:['@charset "UTF-8";.complete-image[_ngcontent-%COMP%], .thanks-message[_ngcontent-%COMP%], .easy-image[_ngcontent-%COMP%], .my-history-nav-description[_ngcontent-%COMP%]{margin:0}.thanks-message[_ngcontent-%COMP%], .my-history-nav[_ngcontent-%COMP%]{font-weight:600}.complete-delete-page[_ngcontent-%COMP%]{padding-bottom:230px}.complete-message[_ngcontent-%COMP%]{display:grid;place-content:center;grid-template-columns:88px 205px;grid-column-gap:19px;padding:33px 28px 44px}.thanks-message[_ngcontent-%COMP%]{align-self:end;font-size:2rem;line-height:1.4;padding-bottom:6px}.my-history-nav[_ngcontent-%COMP%]{background-color:#fff;font-size:1.6rem;position:relative;padding:24px 28px}.my-history-nav-description[_ngcontent-%COMP%]{text-align:center}.easy-image[_ngcontent-%COMP%]{position:absolute;top:9px;left:calc(50% - 174px)}.point-get[_ngcontent-%COMP%]{color:#ff81a1;display:grid;place-content:center;grid-template-columns:110px 71px;grid-template-areas:"pointNum pointUnit" "pointNum pointGet";grid-row-gap:2px;font-family:\\30d2\\30e9\\30ae\\30ce\\89d2\\30b4\\30b7\\30c3\\30af  Pro,Hiragino Kaku Gothic Pro,\\6e38\\30b4\\30b7\\30c3\\30af\\4f53,YuGothic,\\6e38\\30b4\\30b7\\30c3\\30af  Medium,Yu Gothic Medium,\\6e38\\30b4\\30b7\\30c3\\30af,Yu Gothic,\\30e1\\30a4\\30ea\\30aa,sans-serif;font-style:normal;line-height:1;margin-top:12px}.point-get-num[_ngcontent-%COMP%], .point-get-text[_ngcontent-%COMP%]{text-shadow:#e6dac3 2px 2px 0}.point-get-num[_ngcontent-%COMP%], .point-get-unit[_ngcontent-%COMP%]{align-self:end}.point-get-unit[_ngcontent-%COMP%], .point-get-text[_ngcontent-%COMP%]{text-align:left}.point-get-num[_ngcontent-%COMP%]{font-size:45px;letter-spacing:3px;grid-area:pointNum}.point-get-unit[_ngcontent-%COMP%]{font-size:14px;grid-area:pointUnit}.point-get-text[_ngcontent-%COMP%]{font-size:22px;grid-area:pointGet}.my-history-nav-button[_ngcontent-%COMP%], .my-history-nav-button[_ngcontent-%COMP%]:link, .my-history-nav-button[_ngcontent-%COMP%]:hover{color:#fff}.my-history-nav-button[_ngcontent-%COMP%]{display:flex;place-content:center;align-items:center;margin-top:16px;background-color:#49c2c2;border-radius:4px;
1height:60px}']}))}return i(),a})();var h=u(65897),R=u(93887);const je=["textArea"],Ae=["messageContents"],Ge=["listView"],$e=i=>["/mypage","purchased-tickets",i,"reservation","details"],Le=i=>({active:i});function Ue(i,a){if(1&i&&(t.j41(0,"tr")(1,"td"),t.EFF(2),t.k0s(),t.j41(3,"td"),t.EFF(4),t.k0s(),t.j41(5,"td"),t.EFF(6),t.k0s(),t.j41(7,"td"),t.EFF(8),t.k0s(),t.j41(9,"td"),t.EFF(10),t.k0s(),t.j41(11,"td"),t.EFF(12),t.k0s(),t.j41(13,"td"),t.EFF(14),t.k0s(),t.j41(15,"td"),t.EFF(16),t.k0s()()),2&i){const n=a.$implicit;t.R7$(2),t.JRh(n.time_zone),t.R7$(2),t.JRh(n.active_weeks.mon?"\u25cb":"\xd7"),t.R7$(2),t.JRh(n.active_weeks.tue?"\u25cb":"\xd7"),t.R7$(2),t.JRh(n.active_weeks.wed?"\u25cb":"\xd7"),t.R7$(2),t.JRh(n.active_weeks.thu?"\u25cb":"\xd7"),t.R7$(2),t.JRh(n.active_weeks.frt?"\u25cb":"\xd7"),t.R7$(2),t.JRh(n.active_weeks.sat?"\u25cb":"\xd7"),t.R7$(2),t.JRh(n.active_weeks.sun?"\u25cb":"\xd7")}}function Xe(i,a){if(1&i){const n=t.RV6();t.j41(0,"div",21)(1,"button",22),t.bIt("click",function(){c.eBV(n);const o=t.XpG();return c.Njj(o.viewMore())}),t.EFF(2,"\u3082\u3063\u3068\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u898b\u308b"),t.k0s()()}}function Ye(i,a){if(1&i&&(t.j41(0,"div",25),t.nrm(1,"div",26),t.j41(2,"div",27),t.EFF(3),t.k0s()()),2&i){const n=t.XpG().$implicit,e=t.XpG();t.R7$(),t.Y8G("innerHTML",n.message,t.npT),t.R7$(2),t.SpI(" ",null==e.datePipe?null:e.datePipe.transform(n.created_at,"yyyy\u5e74M\u6708dd\u65e5 HH:mm")," ")}}function Ne(i,a){if(1&i&&(t.j41(0,"div",25)(1,"div",28)(2,"p",29),t.EFF(3),t.k0s()(),t.j41(4,"div",27),t.EFF(5),t.k0s()()),2&i){const n=t.XpG().$implicit,e=t.XpG();t.R7$(3),t.JRh(n.message),t.R7$(2),t.SpI(" ",null==e.datePipe?null:e.datePipe.transform(n.created_at,"yyyy\u5e74M\u6708dd\u65e5 HH:mm")," ")}}function ze(i,a){if(1&i&&(t.j41(0,"div",30)(1,"div",31)(2,"span",32),t.nrm(3,"img",33),t.k0s(),t.j41(4,"p",34),t.EFF(5),t.k0s()(),t.j41(6,"div",35)(7,"p",29),t.EFF(8),t.k0s()(),t.j41(9,"div",36),t.EFF(10),t.k0s()()),2&i){const n=t.XpG().$implicit,e=t.XpG();t.R7$(5),t.JRh(null==e.pageData?null:e.pageData.clinic_name),t.R7$(3),t.JRh(n.message),t.R7$(2),t.SpI(" ",null==e.datePipe?null:e.datePipe.transform(n.created_at,"yyyy\u5e74M\u6708dd\u65e5 HH:mm")," ")}}function Se(i,a){if(1&i&&(t.qex(0,null,1),t.DNE(2,Ye,4,2,"div",23)(3,Ne,6,2,"div",23)(4,ze,11,3,"div",24),t.bVm()),2&i){const n=a.$implicit;t.R7$(2),t.Y8G("ngIf","reservation_info"===n.send_by),t.R7$(),t.Y8G("ngIf","user"===n.send_by),t.R7$(),t.Y8G("ngIf","clinic"===n.send_by)}}function Ve(i,a){if(1&i&&(t.j41(0,"div",37)(1,"div",38)(2,"span",39),t.nrm(3,"img",40),t.k0s(),t.j41(4,"span",41),t.EFF(5),t.k0s()(),t.j41(6,"p",42),t.EFF(7," \u4e0a\u8a18\u65e5\u6642\u3067\u3054\u4e88\u7d04\u627f\u308a\u307e\u3057\u305f\u3002 "),t.k0s(),t.j41(8,"p",43),t.EFF(9," \u30ad\u30e3\u30f3\u30bb\u30eb\u30fb\u3054\u4e88\u7d04\u306e\u3054\u5909\u66f4\u306f"),t.nrm(10,"br"),t.EFF(11,"\u30af\u30ea\u30cb\u30c3\u30af\u3078\u76f4\u63a5\u3054\u9023\u7d61\u3092\u304a\u9858\u3044\u81f4\u3057\u307e\u3059\u3002 "),t.k0s(),t.j41(12,"a",44),t.EFF(13,"\u4e88\u7d04\u306e\u8a73\u7d30\u3092\u78ba\u8a8d\u3059\u308b"),t.k0s()()),2&i){const n=t.XpG();t.R7$(5),t.SpI("\u4e88\u7d04\u78ba\u5b9a\uff1a",null==n.datePipe?null:n.datePipe.transform(null==n.pageData?null:n.pageData.reservation_time,"yyyy\u5e74M\u6708dd\u65e5HH:mm")),t.R7$(7),t.Y8G("routerLink",t.eq3(2,$e,n.paramsId))}}function He(i,a){1&i&&(t.j41(0,"div",50),t.EFF(1," \u30af\u30ea\u30cb\u30c3\u30af\u304b\u3089\u8fd4\u4fe1\u304c\u6765\u305f\u3089\u30e1\u30fc\u30eb\u3067\u3082\u304a\u77e5\u3089\u305b\u3044\u305f\u3057\u307e\u3059\u3002"),t.nrm(2,"br"),t.EFF(3," \u307e\u305f\u8fd4\u4fe1\u307e\u3067\u6642\u9593\u304c\u304b\u304b\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3054\u4e86\u627f\u304f\u3060\u3055\u3044\u3002 "),t.k0s())}function Je(i,a){if(1&i){const n=t.RV6();t.j41(0,"div",45),t.DNE(1,He,4,0,"div",46),t.j41(2,"div",47)(3,"textarea",48,2),t.bIt("input",function(){c.eBV(n);const o=t.XpG();return c.Njj(o.setTextAreaHeight())}),t.k0s(),t.j41(5,"button",49),t.bIt("click",function(){c.eBV(n);const o=t.XpG();return c.Njj(o.submit())}),t.k0s()()()}if(2&i){let n;const e=t.XpG();t.R7$(),t.Y8G("ngIf","\u4e88\u7d04\u6e08"!==(null==e.pageData?null:e.pageData.status)&&"clinic"!==(null==e.messageList||null==(n=e.messageList.data.slice(-1)[0])?null:n.send_by)),t.R7$(2),t.Y8G("value",e.messageForm.get(e.messageText).value)("formControlName",e.messageText),t.R7$(2),t.Y8G("ngClass",t.eq3(4,Le,!e.messageForm.invali
1d&&!e.sending))}}let qe=(()=>{var i;class a{constructor(e,o,s){this.purchasedTicketsService=e,this.route=o,this.datePipe=s,this.messageList={data:[],per_page:10},this.sending=!1,this.isScroll=!0,this.messageText="messageText",this.messageForm=new p.gE({[this.messageText]:new p.MJ("",p.k0.required)})}ngAfterViewInit(){this.listViewSubscription=this.listView.changes.subscribe(e=>{console.log(this.listView);const o=document.documentElement.clientHeight;this.isScroll?window.scroll(0,o):window.scroll(0,o-this.currentBottom),this.isScroll=!0})}ngOnInit(){var e=this;return(0,g.A)(function*(){if(e.paramsId=e.route.snapshot.paramMap.get("id"),yield Promise.all([e.getMessageList(),e.getPageData()]),e.clientHeight=e.textArea.nativeElement.clientHeight,"\u4e88\u7d04\u6e08"===e.pageData.status){e.messageContents.nativeElement.style.paddingBottom="156px";const o=document.documentElement.clientHeight;window.scroll(0,o)}else if("clinic"!==e.messageList?.data.slice(-1)[0]?.send_by){e.messageContents.nativeElement.style.marginBottom="40px";const o=document.documentElement.clientHeight;window.scroll(0,o)}})()}getMessageList(){var e=this;return(0,g.A)(function*(){yield e.purchasedTicketsService.getMessageLists({booking_id:e.paramsId,page:e.messageList.current_page,size:e.messageList.per_page}).then(o=>{e.messageList.data=o.data,e.total=o.total})})()}getPageData(){var e=this;return(0,g.A)(function*(){yield e.purchasedTicketsService.getMessagePageData({booking_id:e.paramsId}).then(o=>{e.pageData=o})})()}setTextAreaHeight(){const e=parseInt(this.textArea.nativeElement.style.height,10)||33;this.textArea.nativeElement.style.height=this.clientHeight+"px";const o=window.scrollY,s=this.textArea.nativeElement.scrollHeight;s<100?(this.textAreaHeight=s,this.textArea.nativeElement.style.height=this.textAreaHeight+"px",this.messageContents.nativeElement.style.paddingBottom=this.textAreaHeight-this.clientHeight+"px",window.scroll(0,o+(s-e))):this.textArea.nativeElement.style.height=this.textAreaHeight+"px"}viewMore(){var e=this;return(0,g.A)(function*(){e.messageList.per_page+=10,e.isScroll=!1,e.currentBottom=document.documentElement.clientHeight,yield e.getMessageList()})()}submit(){var e=this;return(0,g.A)(function*(){if(e.messageForm.invalid||e.sending)return;e.sending=!0;const o={booking_id:e.paramsId,message:e.messageForm.get(e.messageText).value};yield e.purchasedTicketsService.sendMessage(o).then(s=>{e.messageList.data.push({message:e.messageForm.get(e.messageText).value,send_by:"user",created_at:(new Date).toISOString()}),e.messageForm.patchValue({[e.messageText]:""}),e.setTextAreaHeight(),e.messageContents.nativeElement.style.marginBottom="40px",e.sending=!1}).catch(s=>{alert(s.message.join("\n"))})})()}ngOnDestroy(){this.listViewSubscription.unsubscribe()}static#t=i=()=>(this.\u0275fac=function(o){return new(o||a)(t.rXU(f.O),t.rXU(d.nX),t.rXU(l.vh))},this.\u0275cmp=t.VBU({type:a,selectors:[["app-reservation-message"]],viewQuery:function(o,s){if(1&o&&(t.GBs(je,5),t.GBs(Ae,5),t.GBs(Ge,5)),2&o){let r;t.mGM(r=t.lsd())&&(s.textArea=r.first),t.mGM(r=t.lsd())&&(s.messageContents=r.first),t.mGM(r=t.lsd())&&(s.listView=r)}},standalone:!1,decls:38,vars:6,consts:[["messageContents",""],["listView",""],["textArea",""],[1,"reservation-message"],[1,"container"],[1,"acceptabletime-wrap"],[1,"acceptabletime-pulldown"],["id","acd-acceptabletime","type","checkbox",1,"acd-check"],["for","acd-acceptabletime",1,"acd-label"],[1,"acd-content"],[1,"acceptabletime-table"],[1,"suturday"],[1,"sunday"],[4,"ngFor","ngForOf"],[2,"margin","0",3,"formGroup"],[1,"message-wrap"],[1,"message-title"],[1,"message-contents"],["class","loadmore-message",4,"ngIf"],["class","reservation-confirmed-wrap",4,"ngIf"],["class","text-area-wrap",4,"ngIf"],[1,"loadmore-message"],["type","button",3,"click"],["class","user-message-wrap",4,"ngIf"],["class","clinic-message-wrap",4,"ngIf"],[1,"user-message-wrap"],[1,"user-message-contents",3,"innerHTML"],[1,"user-message-time"],[1,"user-message-contents"],[1,"message-light"],[1,"clinic-message-wrap"],[1,"clinic-name-wrap"],[1,"clinic-icon"],["src","/assets/images/mypage/hospital.svg"],[1,"clinic-name"],[1,"clinic-message-contents"],[1,"clinic-message-time"],[1,"reservation-confirmed-wrap"],[1,"reservation-datetime"],[1,"reservation-datetime-check"],["src","/assets/images/check/[email protected]"],[1,"reservation-datetime-text"],[1,"reservation-datetime-message"],[1,"reservation-message-cancel"],[1,"clinic-detail
1s",3,"routerLink"],[1,"text-area-wrap"],["class","receive-email-message",4,"ngIf"],[1,"text-area-contents"],["placeholder","\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044","aria-label","\u30e1\u30c3\u30bb\u30fc\u30b8","rows","1","id","textarea",3,"input","value","formControlName"],["type","button",1,"send-icon",3,"click","ngClass"],[1,"receive-email-message"]],template:function(o,s){1&o&&(t.j41(0,"div",3)(1,"div",4)(2,"div",5)(3,"div",6),t.nrm(4,"input",7),t.j41(5,"label",8),t.EFF(6,"\u53d7\u4ed8\u53ef\u80fd\u65e5\u6642"),t.k0s(),t.j41(7,"div",9)(8,"table",10)(9,"thead")(10,"tr"),t.nrm(11,"th"),t.j41(12,"th"),t.EFF(13,"\u6708"),t.k0s(),t.j41(14,"th"),t.EFF(15,"\u706b"),t.k0s(),t.j41(16,"th"),t.EFF(17,"\u6c34"),t.k0s(),t.j41(18,"th"),t.EFF(19,"\u6728"),t.k0s(),t.j41(20,"th"),t.EFF(21,"\u91d1"),t.k0s(),t.j41(22,"th",11),t.EFF(23,"\u571f"),t.k0s(),t.j41(24,"th",12),t.EFF(25,"\u65e5"),t.k0s()()(),t.j41(26,"tbody"),t.DNE(27,Ue,17,8,"tr",13),t.k0s()()()()(),t.j41(28,"form",14)(29,"div",15)(30,"h2",16),t.EFF(31,"\u30e1\u30c3\u30bb\u30fc\u30b8"),t.k0s(),t.j41(32,"div",17,0),t.DNE(34,Xe,3,0,"div",18)(35,Se,5,3,"ng-container",13),t.k0s(),t.DNE(36,Ve,14,4,"div",19)(37,Je,6,6,"div",20),t.k0s()()()()),2&o&&(t.R
17$(27),t.Y8G("ngForOf",null==s.pageData?null:s.pageData.clinic_reservable_time),t.R7$(),t.Y8G("formGroup",s.messageForm),t.R7$(6),t.Y8G("ngIf",s.total>s.messageList.per_page),t.R7$(),t.Y8G("ngForOf",s.messageList.data),t.R7$(),t.Y8G("ngIf","\u4e88\u7d04\u6e08"===(null==s.pageData?null:s.pageData.status)),t.R7$(),t.Y8G("ngIf","\u4e88\u7d04\u6e08"!==(null==s.pageData?null:s.pageData.status)))},dependencies:[l.YU,l.Sq,l.bT,_.Wk,p.qT,p.me,p.BC,p.cb,p.j4,p.JD],styles:['@charset "UTF-8";.reservation-message[_ngcontent-%COMP%]{background:#ededed}.container[_ngcontent-%COMP%]{padding:0}.acceptabletime-wrap[_ngcontent-%COMP%]{background:#fff}.acd-check[_ngcontent-%COMP%]{display:none}.acd-label[_ngcontent-%COMP%]{display:block;margin-bottom:1px;padding:10px 16px;cursor:pointer;font-size:1.3rem;position:relative}.acd-label[_ngcontent-%COMP%]:after{box-sizing:border-box;content:"\\f078";display:block;font-family:"Font Awesome 5 Pro";padding:8px 16px;position:absolute;right:0;top:0;font-size:1.7rem;color:#cab994}.acd-content[_ngcontent-%COMP%]{display:block;padding:0 32px;height:0;opacity:0;visibility:hidden;overflow:hidden;transition:all .5s}.acd-check[_ngcontent-%COMP%]:checked{height:auto;opacity:1}.acd-check[_ngcontent-%COMP%]:checked + .acd-label[_ngcontent-%COMP%]:after{content:"\\f077"}.acd-check[_ngcontent-%COMP%]:checked + .acd-label[_ngcontent-%COMP%] + .acd-content[_ngcontent-%COMP%]{height:auto;opacity:1;visibility:visible}.acceptabletime-table[_ngcontent-%COMP%]{width:100%;color:#212529;border-collapse:collapse}.acceptabletime-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]{vertical-align:middle}.acceptabletime-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{text-align:center;height:32px;font-size:1.3rem;border-bottom:.5px solid #dee2e6;border-top:none}.acceptabletime-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]:first-child{width:88px}.acceptabletime-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   .suturday[_ngcontent-%COMP%]{color:#005bac}.acceptabletime-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   .sunday[_ngcontent-%COMP%]{color:#ce3a32}.acceptabletime-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{text-align:center;padding:6px;font-size:1.3rem;border-bottom:.5px solid #dee2e6;border-top:none}.acceptabletime-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:first-child{width:88px;padding:6px 0 6px 6px;text-align:left;font-size:1.2rem}.acceptabletime-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:last-child   td[_ngcontent-%COMP%]{border-bottom:none;padding-bottom:18px}.message-wrap[_ngcontent-%COMP%]{margin-top:30px}h2.message-title[_ngcontent-%COMP%]{margin-bottom:8px;padding-left:16px;font-size:18px;font-weight:700}.message-contents[_ngcontent-%COMP%]{padding:0 16px;font-size:13px;min-height:calc(100vh - 256px);background:#fff}.loadmore-message[_ngcontent-%COMP%]{display:block;text-align:center}.loadmore-message[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding:28px 0 16px;font-weight:700;color:#49c2c2;background-color:#fff}.user-message-wrap[_ngcontent-%COMP%]{margin-left:auto;padding-top:12px;width:70%}.user-message-wrap[_ngcontent-%COMP%]:first-child{padding-top:24px}.user-message-contents[_ngcontent-%COMP%]{padding:16px;border-radius:10px;background:#eee}.message-contents-wrap[_ngcontent-%COMP%]{padding:10px 0;border-bottom:.5px solid #dee2e6}.message-contents-wrap[_ngcontent-%COMP%]:first-child{padding:0 0 10px}.message-contents-wrap[_ngcontent-%COMP%]:last-child{border-bottom:none;padding:10px 0 0}.message-contents-wrap[_ngcontent-%COMP%]   .message-bold[_ngcontent-%COMP%]{font-weight:700;margin-bottom:4px}.message-contents-wrap[_ngcontent-%COMP%]   .message-light[_ngcontent-%COMP%]{margin-bottom:0}.message-bold[_ngcontent-%COMP%]{font-weight:700;margin-bottom:8px}.message-light[_ngcontent-%COMP%]{margin-bottom:0;white-space:pre-wrap}
1.desired-time[_ngcontent-%COMP%]   p.preferred-date[_ngcontent-%COMP%]{margin-bottom:4px}.desired-time[_ngcontent-%COMP%]   p.date-time[_ngcontent-%COMP%]{margin-bottom:16px}.desired-time[_ngcontent-%COMP%]   p.message-bold[_ngcontent-%COMP%]:first-child{margin-bottom:8px}.desired-time[_ngcontent-%COMP%]   p.message-light[_ngcontent-%COMP%]:last-child{margin-bottom:4px}.user-message-time[_ngcontent-%COMP%]{padding:8px 0 24px;text-align:right;font-size:10px;color:#0006}.clinic-message-wrap[_ngcontent-%COMP%]{margin-right:auto;padding-top:12px;width:70%}.clinic-name-wrap[_ngcontent-%COMP%]{display:flex;align-items:center}.clinic-icon[_ngcontent-%COMP%]{display:inline-block;background:#cab994;border-radius:50%;min-width:40px;height:40px}.clinic-icon[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{padding:8px}.clinic-name[_ngcontent-%COMP%]{display:inline-block;font-size:14px;padding-left:4px;margin:0}.clinic-message-contents[_ngcontent-%COMP%]{margin-top:8px;padding:16px;border-radius:10px;border:1px solid #e6e6e6;background:#fff}.clinic-message-time[_ngcontent-%COMP%]{padding:8px 0 24px;font-size:10px;color:#0006}.reservation-confirmed-wrap[_ngcontent-%COMP%]{padding:0 16px 24px;background:#fff;border-top:.5px solid rgba(0,0,0,.12);text-align:center;position:fixed;bottom:0;left:0;width:100vw}.reservation-datetime[_ngcontent-%COMP%]{margin-top:16px;width:100%;display:flex;align-items:center;justify-content:center}.reservation-datetime[_ngcontent-%COMP%]   .reservation-datetime-check[_ngcontent-%COMP%]{display:inline-block;margin-right:4px;width:28px;height:28px}.reservation-datetime[_ngcontent-%COMP%]   .reservation-datetime-text[_ngcontent-%COMP%]{font-size:16px;font-weight:700}.reservation-datetime-message[_ngcontent-%COMP%]{margin:8px 0 0;font-size:14px}.reservation-message-cancel[_ngcontent-%COMP%]{margin:8px 0 0;padding:0 8px;color:#cab994;font-size:12px}.clinic-details[_ngcontent-%COMP%]{margin-top:16px;border:1px solid #cab994;width:100%;height:48px;display:flex;justify-content:center;align-items:center;padding:0 14px;border-radius:5px;font-weight:700;color:#cab994;position:relative}.clinic-details[_ngcontent-%COMP%]:after{box-sizing:border-box;content:"\\f054";display:block;font-family:"Font Awesome 5 Pro";padding:0 14px;position:absolute;right:0;top:11px;font-size:1.7rem;font-weight:400;color:#cab994}.receive-email-message[_ngcontent-%COMP%]{margin:0 auto;padding:8px 16px 12px;font-size:11px;text-align:center;color:#cab994;background-color:#fff}.text-area-wrap[_ngcontent-%COMP%]{background-color:#fff;position:fixed;bottom:0;left:0;width:100vw}.text-area-contents[_ngcontent-%COMP%]{display:flex;align-items:center;border-top:.5px solid rgba(0,0,0,.12);padding:6px 16px}.text-area-contents[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{resize:none;border:none;outline:none;width:100%;background-color:#eee;border-radius:24px;padding:6px 24px}.text-area-contents[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]::placeholder{color:#b3b3b3}.send-icon[_ngcontent-%COMP%]{display:inline-block;height:28px;width:28px;padding:14px;margin:4px 0 4px 4px;background:url(/assets/images/mypage/paper-airplane-disabled.svg) no-repeat 0}.active[_ngcontent-%COMP%]{background:url(/assets/images/mypage/paper-airplane.svg) no-repeat 0}@media(max-width:509px){.user-message-wrap[_ngcontent-%COMP%], .clinic-message-wrap[_ngcontent-%COMP%]{width:80%}}@media(min-width:509px){.receive-email-message[_ngcontent-%COMP%]{font-size:14px}}']}))}return i(),a})();function We(i,a){if(1&i&&(t.j41(0,"section",4)(1,"h2",5),t.EFF(2,"\u4e88\u7d04\u30c1\u30b1\u30c3\u30c8"),t.k0s(),t.j41(3,"div",17)(4,"div",18)(5,"div",19)(6,"p",20),t.EFF(7),t.k0s(),t.j41(8,"p",21),t.EFF(9),t.k0s()(),t.j41(10,"div",22)(11,"div",23),t.nrm(12,"app-image",24),t.k0s(),t.j41(13,"div",25)(14,"p",26),t.EFF(15),t.k0s()()()()()()),2&i){const n=t.XpG();t.R7$(7),t.JRh(null==n.reservationDetailsDate?null:n.reservationDetailsDate.clinic.name),t.R7$(2),t.SpI("\u5229\u7528\u671f\u9650\uff1a",null==n.reservationDetailsDate?null:n.reservationDetailsDate.ticket.expiration_date),t.R7$(3),t.Y8G("ticketAvatar",null==n.reservationDetail
1sDate?null:n.reservationDetailsDate.clinic.image),t.R7$(3),t.JRh(null==n.reservationDetailsDate?null:n.reservationDetailsDate.ticket.title)}}function Qe(i,a){if(1&i&&(t.j41(0,"li",29),t.EFF(1),t.k0s()),2&i){const n=a.$implicit;t.R7$(),t.JRh(n)}}function Ke(i,a){if(1&i&&(t.j41(0,"section",4)(1,"h2",5),t.EFF(2,"\u30ab\u30a6\u30f3\u30bb\u30ea\u30f3\u30b0\u4e88\u7d04\u3057\u305f\u65bd\u8853"),t.k0s(),t.j41(3,"div",17)(4,"div",18)(5,"div",19)(6,"ul",27),t.DNE(7,Qe,2,1,"li",28),t.k0s()(),t.j41(8,"div",22)(9,"div",23),t.nrm(10,"app-image",24),t.k0s(),t.j41(11,"div",25)(12,"p",26),t.EFF(13),t.k0s()()()()()()),2&i){const n=t.XpG();t.R7$(7),t.Y8G("ngForOf",null==n.reservationDetailsDate?null:n.reservationDetailsDate.clinic.stations),t.R7$(3),t.Y8G("ticketAvatar",null==n.reservationDetailsDate?null:n.reservationDetailsDate.clinic.image),t.R7$(3),t.JRh((null==n.reservationDetailsDate?null:n.reservationDetailsDate.treatment_name)||(null==n.reservationDetailsDate?null:n.reservationDetailsDate.clinic.name))}}function Ze(i,a){if(1&i&&(t.j41(0,"ul",7),t.nrm(1,"li"),t.j41(2,"li")(3,"div",8)(4,"h3",9),t.EFF(5,"\u305d\u306e\u4ed6\u6c17\u306b\u306a\u308b\u70b9\u7b49\u3054\u3056\u3044\u307e\u3057\u305f\u3089\u3054\u8a18\u5165\u304f\u3060\u3055\u3044"),t.k0s(),t.j41(6,"p",10),t.EFF(7),t.k0s()()()()),2&i){const n=t.XpG();t.R7$(7),t.JRh(null==n.reservationDetailsDate?null:n.reservationDetailsDate.treatment_question)}}function tn(i,a){if(1&i&&(t.j41(0,"li")(1,"p",10),t.EFF(2),t.k0s()()),2&i){const n=a.$implicit;t.R7$(2),t.SpI(" ",n," ")}}function en(i,a){if(1&i&&(t.qex(0),t.j41(1,"h4",31),t.EFF(2),t.k0s(),t.j41(3,"p",32),t.EFF(4),t.k0s(),t.bVm()),2&i){const n=a.$implicit;t.R7$(2),t.JRh(n.title),t.R7$(2),t.JRh(n.text)}}function nn(i,a){if(1&i&&(t.j41(0,"section",4)(1,"h2",5),t.EFF(2,"\u30af\u30ea\u30cb\u30c3\u30af\u304b\u3089\u306e\u6ce8\u610f\u4e8b\u9805"),t.k0s(),t.j41(3,"div",6)(4,"ul",7)(5,"li")(6,"aside",30),t.DNE(7,en,5,2,"ng-container",16),t.k0s()()()()()),2&i){const n=t.XpG();t.R7$(7),t.Y8G("ngForOf",null==n.reservationDetailsDate?null:n.reservationDetailsDate.clinic.reservation_note)}}let on=(()=>{var i;class a{constructor(e,o,s){this.purchasedTicketsService=e,this.router=o,this.route=s}ngOnInit(){var e=this;return(0,g.A)(function*(){const o=e.route.snapshot.paramMap.get("id");e.reservationDetailsDate=yield e.purchasedTicketsService.getReservationDetails({booking_id:o})})()}static#t=i=()=>(this.\u0275fac=function(o){return new(o||a)(t.rXU(f.O),t.rXU(d.Ix),t.rXU(d.nX))},this.\u0275cmp=t.VBU({type:a,selectors:[["app-reservation-details"]],standalone:!1,decls:84,vars:14,consts:[[1,"l-wrapper"],[1,"l-container"],["class","c-container",4,"ngIf"],[1,"c-form-wrapper"],[1,"c-container"],[1,"c-container__title"],[1,"c-container__content"],[1,"c-form-list"],[1,"c-form"],[1,"c-form__title"],[1,"c-form__confirm-text"],[1,"c-form__desc"],[1,"c-form-date-list"],["class","c-form-list",4,"ngIf"],[1,"c-form-confirm-list"],[1,"c-form__form-wrap"],[4,"ngFor","ngForOf"],[1,"c-container__card-wrap"],[1,"c-card-ticket"],[1,"c-card-ticket__header"],[1,"c-card-ticket__clinic-name","line-clamp-1"],[1,"c-card-ticket__expire-date"],[1,"c-media-ticket"],[1,"c-media-ticket__thumb"],[3,"ticketAvatar"],[1,"c-media-ticket__content"],[1,"c-media-ticket__title","line-clamp-3"],[1,"list-tag","c-card-ticket__stations"],["class","station-tag-text",4,"ngFor","ngForOf"],[1,"station-tag-text"],[1,"c-note"],[1,"c-note__title"],[1,"c-note__text"]],template:function(o,s){1&o&&(t.j41(0,"div",0)(1,"div",1),t.DNE(2,We,16,4,"section",2)(3,Ke,14,3,"section",2),t.j41(4,"form",3)(5,"section",4)(6,"h2",5),t.EFF(7,"\u3054\u4e88\u7d04\u306b\u95a2\u3057\u3066"),t.k0s(),t.j41(8,"div",6)(9,"ul",7)(10,"li")(11,"div",8)(12,"h3",9),t.EFF(13,"\u3053\u306e\u30af\u30ea\u30cb\u30c3\u30af\u3078\u306e\u6765\u9662\u306f\u521d\u3081\u3066\u3067\u3059\u304b\uff1f"),t.k0s(),t.j41(14,"p",10),t.EFF(15),t.k0s()()(),t.j41(16,"li")(17,"div",8)(18,"h3",9),t.EFF(19," \u6765\u9662\u5e0c\u671b\u65e5\u6642 "),t.j41(20,"p",11),t.EFF(21,"\u7533\u8acb\u3044\u305f\u3060\u3044\u305f\u3054\u4e88\u7d04\u306f\u3001\u30af\u30ea\u30cb\u30c3\u30af\u304b\u3089\u306e\u9023\u7d61\u3092\u3082\u3063\u3066\u78ba\u5b9a\u3044\u305f\u3057\u307e\u3059\u3002\u7b2c\u4e09\u5e0c\u671b\u65e5\u6642\u307e\u3067\u3054\u5165\u529b\u3044\u305f\u3060\u304f\u3068\u3001\u3054\u4e88\u7d04\u304c\u78ba\u5b9a\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002"),t.k0s()(),t.j41(22,"ul",12)(23,"li")(24,"div",8)(25,"h3",9),t.EFF(26,"\u7b2c\u4e00\u5e0c\u671b\u65e5\u6642"),t.k0s(),t.j41(27,"p",10),t.EFF(28),t.k0s()()(),t.j41(29,"li")(30,"div",8)(31,"h3",9),t.EFF(32,"\u7b2c\u4e8c\u5e0c\u671b\u65e5\u6642"),t.k0s(),t.j41(33,"p",10),t.EFF(34),t.k0s()()(),t.j41(35,"li")(36,"div",8)(37,"h3",9),t.EFF(38,"\u7b2c\u4e09\u5e0c\u671b\u65e5\u6642"),t.k0s(),t.j41(39,"p",10),t.EFF(40),t.k0s()()()(),t.DNE(41,Ze,8,1,"ul",13),t.k0s()()()()(),t.j41(42,"section",4)(43,"h2",5),t.EFF(44,"\u304a\u5ba2\u69d8\u60c5\u5831"),t.k0s(),t.j41(45,"div",6)(46,"ul",7)(47,"li")(48,"div",8)(49,"h3",9),t.EFF(50,"\u304a\u540d\u524d"),t.k0s(),t.j41(51,"ul",14)(52,"li")(53,"p",10),t.EFF(54),t.k0s()(),t.j41(55,"li")(56,"p",10),t.EFF(57),t.k0s()()()()(),t.j41(58,"li")(59,"div",8)(60,"h3",9),t.EFF(61,"\u9023\u7d61\u53ef\u80fd\u306a\u96fb\u8a71\u756a\u53f7"),t.k0s(),t.j41(62,"div",15)(63,"p",10),t.EFF(64),t.k0s()()()(),t.j41(65,"li")(66,"div",8)(67,"h3",9),t.EFF(68,"\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9"),t.k0s(),t.j41(69,"p",10),t.EFF(70),t.k0s()()(),t.j41(71,"li")(72,"div",8)(73,"h3",9),t.EFF(74," \u6765\u9662\u3057\u3084\u3059\u3044\u66dc\u65e5\u30fb\u6642\u9593 "),t.k0s(),t.j41(75,"ul",14),t.DNE(76,tn,3,1,"li",16),t.k0s()()(),t.j41(77,"li")(78,"div",8)(79,"h3",9),t.EFF(80,"\u305d\u306e\u4ed6\u3001\u30af\u30ea\u30cb\u30c3\u30af\u3078\u306e\u3054\u8981\u671b\u30fb\u3054\u76f8\u8ac7"),t.k0s(),t.j41(81,"p",10),t.EFF(82),t.k0s()()()()()(),t.DNE(83,nn,8,1,"section",2),t.k0s()()()),2&o&&(t.R
17$(2),t.Y8G("ngIf","counseling"!==(null==s.reservationDetailsDate||null==s.reservationDetailsDate.ticket?null:s.reservationDetailsDate.ticket.ticket_type)),t.R7$(),t.Y8G("ngIf","counseling"===(null==s.reservationDetailsDate||null==s.reservationDetailsDate.ticket?null:s.reservationDetailsDate.ticket.ticket_type)),t.R7$(12),t.JRh(1==(null==s.reservationDetailsDate?null:s.reservationDetailsDate.is_first_time_visiting)?"\u306f\u3044\u3001\u521d\u3081\u3066\u3067\u3059":"\u3044\u3044\u3048\u3001\u884c\u3063\u305f\u3053\u3068\u304c\u3042\u308a\u307e\u3059"),t.R7$(13),t.JRh(null==s.reservationDetailsDate?null:s.reservationDetailsDate.booking_candidates[0]),t.R7$(6),t.JRh(null==s.reservationDetailsDate?null:s.reservationDetailsDate.booking_candidates[1]),t.R7$(6),t.JRh(null==s.reservationDetailsDate?null:s.reservationDetailsDate.booking_candidates[2]),t.R7$(),t.Y8G("ngIf","counseling"===(null==s.reservationDetailsDate||null==s.reservationDetailsDate.ticket?null:s.reservationDetailsDate.ticket.ticket_type)),t.R7$(13),t.JRh(null==s.reservationDetailsDate?null:s.reservationDetailsDate.user.name),t.R7$(3),t.SpI("(",null==s.reservationDetailsDate?null:s.reservationDetailsDate.user.name_kana,")"),t.R7$(7),t.JRh(null==s.reservationDetailsDate?null:s.reservationDetailsDate.user.phone_number),t.R7$(6),t.JRh(null==s.reservationDetailsDate?null:s.reservationDetailsDate.user.email),t.R7$(6),t.Y8G("ngForOf",null==s.reservationDetailsDate?null:s.reservationDetailsDate.user.user_reservable_dates),t.R7$(6),t.JRh(null==s.reservationDetailsDate?null:s.reservationDetailsDate.other_question),t.R7$(),t.Y8G("ngIf",(null==s.reservationDetailsDate?null:s.reservationDetailsDate.clinic.reservation_note.length)>0))},dependencies:[l.Sq,l.bT,v.h,p.qT,p.cb,p.cV],styles:["p[_ngcontent-%COMP%]{margin-bottom:0}.l-wrapper[_ngcontent-%COMP%]{background-color:#ededed}.l-container[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;max-width:720px;padding:24px 0 48px}.c-flow-wrapper[_ngcontent-%COMP%]{margin:0 16px 32px}.c-flow-list[_ngcontent-%COMP%]{display:flex;width:100%}.c-flow-list__item[_ngcontent-%COMP%]{width:calc((100% - 58px) / 3);height:36px;font-size:12px;font-weight:700;line-height:35px;border-radius:2px;text-align:center}.c-flow-list__item[_ngcontent-%COMP%]:not(:last-child){position:relative;margin-right:29px}.c-flow-list__item--now[_ngcontent-%COMP%]{background-color:#8c8168;color:#fff}.c-flow-list__item--done[_ngcontent-%COMP%]{background-color:#0000001f;border:1px solid rgba(0,0,0,.19);color:#0006}.c-flow-list__item--next[_ngcontent-%COMP%]{background-color:#fff;border:1px solid rgba(0,0,0,.4);color:#000000b5}.c-flow-list__arrow-right[_ngcontent-%COMP%]{position:absolute;top:8px;right:-20px;color:#cab994;font-size:18px}.c-card-ticket[_ngcontent-%COMP%]{margin:0;background-color:#fff;border-radius:4px;box-shadow:1px 2px 10px #00000021;padding:16px}.c-card-ticket__header[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between;margin-bottom:15px}.c-card-ticket__clinic-name[_ngcontent-%COMP%]{margin-bottom:0;line-height:normal;font-size:12px;color:#000000b5;width:46%}.c-card-ticket__expire-date[_ngcontent-%COMP%]{width:54%;font-size:12px;text-align:right;color:#0006;line-height:normal}.c-media-ticket[_ngcontent-%COMP%]{display:flex;width:100%;align-items:center}.c-media-ticket__thumb[_ngcontent-%COMP%]{width:20%;margin-right:12px}.c-media-ticket__content[_ngcontent-%COMP%]{width:80%}.c-media-ticket__title[_ngcontent-%COMP%]{font-size:14px;line-height:21px;color:#000000b5}.c-form-wrapper[_ngcontent-%COMP%]{margin:0}.c-container[_ngcontent-%COMP%]{margin-bottom:32px}.c-container__title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0 0 8px 16px;color:#000000b5}.c-container__card-wrap[_ngcontent-%COMP%]{margin:0 16px}.c-container__content[_ngcontent-%COMP%]{background-color:#fff;padding:24px 16px}.c-form-list[_ngcontent-%COMP%]{margin:0}.c-form-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:not(:last-child){padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid rgba(0,0,0,.12)}.c-form-confirm-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:not(:last-child){margin-bottom:8px}.c-form-date-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:not(:last-child){margin-bottom:24px}.c-form__pillow-word[_ngcontent-%COMP%]{font-size:12px;line-height:12px;font-weight:700;margin-bottom:12px;color:#49c2c2}.c-form__title[_ngcontent-%COMP%]{font-size:14px;font-weight:700;line-height:18px;margin-bottom:16px;color:#000000b5}.c-form__desc[_ngcontent-%COMP%]{font-size:12px;font-weight:400;line-height:18px;color:#000000b5;margin-top:8px}.c-form__notice[_ngcontent-%COMP%]{font-size:10px;font-weight:400;color:#000000b5}.c-form__input[_ngcontent-%COMP%]{font-size:14px;padding:16px;border:1px solid #eeeeee;border-radius:3px}.c-form__input[_ngcontent-%COMP%]::placeholder{color:#0006}.c-form__textarea[_ngcontent-%COMP%]{width:100%;height:158px;padding:16px;box-sizing:border-box;font-size:14px;line-height:20px;border:1px solid #eeeeee;border-radius:3px}.c-form__textarea[_ngcontent-%COMP%]::placeholder{color:#0006}.c-form__form-wrap[_ngcontent-%COMP%]{display:flex}.c-form__date[_ngcontent-%COMP%]{width:calc(60% - 8px);margin-right:8px}.c-form__time-zone[_ngcontent-%COMP%]{width:40%}.c-form__time-zone--disable[_ngcontent-%COMP%]{background-color:#0000001f}
1.c-form__first-name[_ngcontent-%COMP%], .c-form__last-name[_ngcontent-%COMP%]{width:calc(50% - 4px)}.c-form__first-name[_ngcontent-%COMP%]{margin-right:8px}.c-form__1col[_ngcontent-%COMP%]{width:100%}.c-form__confirm-text[_ngcontent-%COMP%]{font-size:14px;color:#000000b5}.c-form__error-text[_ngcontent-%COMP%]{font-size:14px;color:#ce3a32;margin-top:8px}.c-note[_ngcontent-%COMP%]{background-color:#f9f9f9;padding:20px 16px 0;overflow:auto}.c-note__title[_ngcontent-%COMP%]{font-size:14px;font-weight:700;color:#000000b5;margin-bottom:8px}.c-note__text[_ngcontent-%COMP%]{font-size:13px;margin-bottom:20px;font-weight:400;line-height:22px;color:#000000b5;white-space:pre-wrap}.c-form-action[_ngcontent-%COMP%]   button[_ngcontent-%COMP%] + button[_ngcontent-%COMP%]{margin-top:16px}.btn-important[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;display:block;font-size:18px;font-weight:700;line-height:60px;width:95%;height:60px;background-color:#49c2c2;color:#fff;border-radius:4px;cursor:pointer;text-align:center}.btn-important[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fff}.btn-positive[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;display:block;font-size:18px;font-weight:700;width:95%;height:60px;background-color:#fff;color:#49c2c2;border:1px solid #49c2c2;border-radius:4px;cursor:pointer;text-align:center}"]}))}return i(),a})();function an(i,a){if(1&i){const n=t.RV6();t.j41(0,"div",1)(1,"div",2)(2,"h3",3)(3,"span",4),t.EFF(4," \u3054\u62c5\u5f53\u8005\u306e\u65b9\u306f "),t.k0s(),t.j41(5,"span",4),t.EFF(6," \u5185\u5bb9\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044 "),t.k0s()(),t.j41(7,"div",5)(8,"dl",6)(9,"dt",7),t.EFF(10),t.k0s(),t.j41(11,"dd",8),t.nrm(12,"app-image",9),t.j41(13,"div",10)(14,"p",11),t.EFF(15),t.k0s()()()()(),t.j41(16,"div",12)(17,"h4",13),t.EFF(18,"\u4ee5\u4e0b\u306e\u30dc\u30bf\u30f3\u306f\u30af\u30ea\u30cb\u30c3\u30af\u304c\u64cd\u4f5c\u3057\u307e\u3059"),t.k0s(),t.j41(19,"div",14)(20,"app-button",15),t.bIt("click",function(){c.eBV(n);const o=t.XpG();return c.Njj(o.confirm())}),t.EFF(21,"\u6d88\u5316\u3059\u308b"),t.k0s()()()()()}if(2&i){const n=t.XpG();t.R7$(10),t.SpI(" ",n.ticket.clinic_name," "),t.R7$(2),t.Y8G("ticketAvatar",n.ticket.clinic_image),t.R7$(3),t.JRh(n.ticket.ticket_name),t.R7$(5),t.Y8G("disabled",n.isDisabled)}}let sn=(()=>{var i;class a{constructor(e,o,s,r,m){this.purchasedTicketsService=e,this.route=o,this.router=s,this.action=r,this.dialog=m,this.isDisabled=!1,this.subscriptions=new I.yU}ngOnInit(){var e=this;return(0,g.A)(function*(){e.bookingId=e.route.snapshot.params.id;try{e.ticket=yield e.purchasedTicketsService.getUsedCounselingTicket(e.bookingId)}catch{yield e.router.navigate(["/mypage/purchased-tickets"])}})()}confirm(){this.confirmRef=this.dialog.open(B.B,{data:{acceptText:"\u306f\u3044",message:"\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044",subMessage:"\u30c1\u30b1\u30c3\u30c8\u3092\u6d88\u5316\u3057\u307e\u3059\u304b\uff1f",acceptBold:!0}}),this.subscriptions.add(this.confirmRef.closed.subscribe(e=>{e&&this.useTicket(this.bookingId)}))}useTicket(e){var o=this;return(0,g.A)(function*(){o.isDisabled=!0;try{const s=yield o.purchasedTicketsService.postUsedCounselingTicket({booking_id:e}),{user_treatment_history_id:r,point:m,upper_point:C}=s;yield o.router.navigate(["/mypage/purchased-tickets/"+e+"/complete-use-counseling-ticket"],{queryParams:{user_treatment_history_id:r,point:m,upper_point:C}})}catch(s){o.isDisabled=!1,alert("string"==typeof s?s:s?.message||"\u30c1\u30b1\u30c3\u30c8\u306e\u6d88\u5316\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002\u901a\u4fe1\u74b0\u5883\u3092\u3054\u78ba\u8a8d\u306e\u4e0a\u3001\u518d\u5ea6\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\u3002")}})()}ngOnDestroy(){this.confirmRef?.close(),this.subscriptions.unsubscribe()}static#t=i=()=>(this.\u0275fac=function(o){return new(o||a)(t.rXU(f.O),t.rXU(d.nX),t.rXU(d.Ix),t.rXU(x.r),t.rXU(k.lG))},this.\u0275cmp=t.VBU({type:a,selectors:[["app-confirm-use-counseling-ticket"]],standalone:!1,decls:1,vars:1,consts:[["class","confirm-use-ticket-page",4,"ngIf"],[1,"confirm-use-ticket-page"],[1,"container"],[1,"header"],[1,"header-text"],[1,"ticket-info-container"],[1,"ticket-info"],[1,"clinic-name","line-clamp-1"],[1,"ticket-desc"],[3,"ticketAvatar"],[1,"ticket-name-wrap"],[1,"ticket-name","line-clamp-3"],[1,"action-container"],[1,"caution"],[1,"button-container"],["btnName","btn-red",3,"click","disabled"]],template:function(o,s){1&o&&t.DNE(0,an,22,4,"div",0),2&o&&t.Y8G("ngIf",s.ticket)},dependencies:[l.bT,b.Q,v.h],styles:['.header[_ngcontent-%COMP%], .ticket-info[_ngcontent-%COMP%], .ticket-desc[_ngcontent-%COMP%], .ticket-name[_ng
1content-%COMP%], .caution[_ngcontent-%COMP%]{margin:0}.container[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px}.confirm-use-ticket-page[_ngcontent-%COMP%]{padding-top:26px;padding-bottom:60px;background-color:#ededed}.header[_ngcontent-%COMP%], .ticket-info-container[_ngcontent-%COMP%], .action-container[_ngcontent-%COMP%]{background-color:#fff}.header[_ngcontent-%COMP%]{display:grid;background-color:#fff;border-radius:4px 4px 0 0;font-size:1.8rem;font-weight:700;line-height:1;text-align:center;row-gap:10px;padding:24px}.ticket-info-container[_ngcontent-%COMP%]{position:relative}.ticket-info-container[_ngcontent-%COMP%]:before, .ticket-info-container[_ngcontent-%COMP%]:after{content:"";display:block;height:16px;position:absolute;top:0}.ticket-info-container[_ngcontent-%COMP%]:before{width:100%;background:url(/assets/images/mypage/cutline.png) no-repeat center left;background-size:cover;left:0}.ticket-info-container[_ngcontent-%COMP%]:after{width:8px;background:url(/assets/images/mypage/cutline-right.png) no-repeat right bottom;position:absolute;right:0}.ticket-info-container[_ngcontent-%COMP%]{padding:40px 12px 24px}.ticket-desc[_ngcontent-%COMP%]{display:grid;grid-template-columns:20% 1fr;grid-column-gap:12px;margin-top:16px}.clinic-name[_ngcontent-%COMP%]{font-size:1.6rem;font-weight:400}.ticket-info[_ngcontent-%COMP%]:after{display:block;content:"";background:url(/assets/images/triangle/[email protected]) no-repeat;background-size:contain;width:141px;height:50px;margin:20px auto 0}.action-container[_ngcontent-%COMP%]{border-radius:0 0 4px 4px}.caution[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;background-color:#fce4ec;color:#ce3a32;font-weight:700;padding:9px 0;column-gap:11px}.caution[_ngcontent-%COMP%]:before{content:"";background:url(/assets/images/stop/[email protected]) no-repeat;background-size:contain;display:inline-block;width:28px;height:28px}.button-container[_ngcontent-%COMP%]{padding:24px 12px 32px}']}))}return i(),a})();var cn=u(55565);function rn(i,a){if(1&i&&(t.qex(0),t.EFF(1),t.nI1(2,"formatNumber"),t.bVm()),2&i){const n=t.XpG(2);t.R7$(),t.SpI("\u301c",t.bMT(2,1,n.upperPoint))}}function un(i,a){if(1&i&&(t.j41(0,"div",1)(1,"div",2)(2,"div",3)(3,"figure",4),t.nrm(4,"img",5),t.k0s(),t.j41(5,"p",6),t.EFF(6,"\u3054\u5229\u7528\u3044\u305f\u3060\u304d"),t.nrm(7,"br"),t.EFF(8,"\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059"),t.k0s()(),t.j41(9,"nav",7)(10,"figure",8),t.nrm(11,"img",9),t.k0s(),t.j41(12,"p",10),t.EFF(13," \u3058\u3076\u3093\u5c65\u6b74\u306e\u8a18\u5165&\u516c\u958b\u3067 "),t.j41(14,"em",11)(15,"span",12),t.EFF(16,"100"),t.k0s(),t.j41(17,"span",13),t.EFF(18,"\u30dd\u30a4\u30f3\u30c8"),t.k0s(),t.j41(19,"span",14),t.EFF(20,"GET !"),t.k0s()()(),t.j41(21,"ul",15)(22,"li",16),t.EFF(23),t.nrm(24,"br"),t.j41(25,"em",17),t.EFF(26," \u30fb\u3058\u3076\u3093\u5c65\u6b74\u306e\u8a18\u5165"),t.nrm(27,"br"),t.EFF(28," \u30fb\u307f\u3093\u306a\u306b\u516c\u958b\u3059\u308b\u3092ON "),t.k0s(),t.nrm(29,"br"),t.EFF(30," \u304c\u5fc5\u9808\u3068\u306a\u308a\u307e\u3059 "),t.k0s(),t.j41(31,"li",16),t.EFF(32,"\u3058\u3076\u3093\u5c65\u6b74\u3092\u8a18\u5165\uff06\u516c\u958b\u3092\u3057\u305f\u4e0a\u3067"),t.nrm(33,"br"),t.EFF(34," \u3053\u306e\u30af\u30ea\u30cb\u30c3\u30af\u3067\u65bd\u8853\u3092\u53d7\u3051\u308b\u3053\u3068\u304c\u6c7a\u307e\u308b\u3068\u3001"),t.nrm(35,"br"),t.j41(36,"em",17),t.EFF(37," \u65bd\u8853\u78ba\u5b9a\u306e\u7fcc\u6708\u672b\u9803\u306b"),t.nrm(38,"br"),t.EFF(39),t.nI1(40,"formatNumber"),t.DNE(41,rn,3,3,"ng-container",18),t.EFF(42,"\u30dd\u30a4\u30f3\u30c8(\u76ee\u5b89) "),t.k0s(),t.nrm(43,"br"),t.EFF(44," \u3092GET\u3067\u304d\u307e\u3059 "),t.k0s()(),t.j41(45,"a",19),t.EFF(46,"\u65e9\u901f\u8a18\u5165\u3059\u308b"),t.k0s()()()()),2&i){const n=t.XpG();t.R7$(23),t.SpI("",n.pointRate,"%\u306e\u30dd\u30a4\u30f3\u30c8\u3092GET\u3059\u308b\u305f\u3081\u306b\u306f\u3001"),t.R7$(16),t.SpI(" ",t.bMT(40,4,n.point)),t.R7$(2),t.Y8G("ngIf",n.upperPoint>0),t.R7$(4),t.Y8G("routerLink","/mypage/treatment-history/"+n.historyId+"/edit")}}let ln=(()=>{var i;class a{constructor(e,o){this.route=e,this.router=o,this.historyId=0,this.point="",this.up
1perPoint="",this.pointRate=""}ngOnInit(){const{user_treatment_history_id:e,point:o,upper_point:s,point_rate:r}=this.route.snapshot.queryParams;this.historyId=parseInt(e,10),this.point=o,this.upperPoint=s,this.pointRate=r,this.historyId||this.router.navigate(["/mypage/purchased-tickets"])}static#t=i=()=>(this.\u0275fac=function(o){return new(o||a)(t.rXU(d.nX),t.rXU(d.Ix))},this.\u0275cmp=t.VBU({type:a,selectors:[["app-complete-delete-counseling-ticket"]],standalone:!1,decls:1,vars:1,consts:[["class","container",4,"ngIf"],[1,"container"],[1,"complete-delete-page","no-margin"],[1,"complete-message"],[1,"complete-image"],["src","/assets/images/mypage/complete-use-ticket.svg","width","88","height","96","alt","\u30c1\u30b1\u30c3\u30c8\u6d88\u5316\u5b8c\u4e86"],[1,"thanks-message"],[1,"my-history-nav"],[1,"easy-image"],["src","/assets/images/mypage/icon-easy.png","width","54","height","54","alt","\u7c21\u5358!"],[1,"my-history-nav-description"],[1,"point-get"],[1,"point-get-num"],[1,"point-get-unit"],[1,"point-get-text"],[1,"point-get-desc"],[1,"point-get-desc-item"],[1,"point-get-desc-em"],[4,"ngIf"],[1,"my-history-nav-button",3,"routerLink"]],template:function(o,s){1&o&&t.DNE(0,un,47,6,"div",0),2&o&&t.Y8G("ngIf",s.historyId>0)},dependencies:[l.bT,_.Wk,cn.p],styles:['@charset "UTF-8";.complete-image[_ngcontent-%COMP%], .thanks-message[_ngcontent-%COMP%], .easy-image[_ngcontent-%COMP%], .my-history-nav-description[_ngcontent-%COMP%]{margin:0}.thanks-message[_ngcontent-%COMP%], .my-history-nav[_ngcontent-%COMP%]{font-weight:600}.complete-delete-page[_ngcontent-%COMP%]{padding-bottom:230px}.complete-message[_ngcontent-%COMP%]{display:grid;place-content:center;grid-template-columns:88px 205px;grid-column-gap:19px;padding:33px 28px 44px}.thanks-message[_ngcontent-%COMP%]{align-self:end;font-size:2rem;line-height:1.4;padding-bottom:6px}.my-history-nav[_ngcontent-%COMP%]{background-color:#fff;font-size:1.6rem;position:relative;padding:24px 28px}.my-history-nav-description[_ngcontent-%COMP%]{text-align:center}.easy-image[_ngcontent-%COMP%]{position:absolute;top:9px;left:calc(50% - 174px)}.point-get[_ngcontent-%COMP%]{color:#ff81a1;display:grid;place-content:center;grid-template-columns:110px 71px;grid-template-areas:"pointNum pointUnit" "pointNum pointGet";grid-row-gap:2px;font-family:\\30d2\\30e9\\30ae\\30ce\\89d2\\30b4\\30b7\\30c3\\30af  Pro,Hiragino Kaku Gothic Pro,\\6e38\\30b4\\30b7\\30c3\\30af\\4f53,YuGothic,\\6e38\\30b4\\30b7\\30c3\\30af  Medium,Yu Gothic Medium,\\6e38\\30b4\\30b7\\30c3\\30af,Yu Gothic,\\30e1\\30a4\\30ea\\30aa,sans-serif;font-style:normal;line-height:1;margin-top:12px}.point-get-num[_ngcontent-%COMP%], .point-get-text[_ngcontent-%COMP%]{text-shadow:#e6dac3 2px 2px 0}.point-get-num[_ngcontent-%COMP%], .point-get-unit[_ngcontent-%COMP%]{align-self:end}.point-get-unit[_ngcontent-%COMP%], .point-get-text[_ngcontent-%COMP%]{text-align:left}.point-get-num[_ngcontent-%COMP%]{font-size:45px;letter-spacing:3px;grid-area:pointNum}.point-get-unit[_ngcontent-%COMP%]{font-size:14px;grid-area:pointUnit}.point-get-text[_ngcontent-%COMP%]{font-size:22px;grid-area:pointGet}.my-history-nav-button[_ngcontent-%COMP%], .my-history-nav-button[_ngcontent-%COMP%]:link, .my-history-nav-button[_ngcontent-%COMP%]:hover{color:#fff}.my-history-nav-button[_ngcontent-%COMP%]{display:flex;place-content:center;align-items:center;margin-top:16px;background-color:#49c2c2;border-radius:4px;height:60px}.point-get-desc[_ngcontent-%COMP%]{border:solid 1px #e0e0e0;border-radius:3px;background-color:#f9f9f9;font-size:1.2rem;font-weight:400;margin-top:16px;padding:8px}.point-get-desc-item[_ngcontent-%COMP%]{text-indent:-22px;padding-left:20px}.point-get-desc-item[_ngcontent-%COMP%] + .point-get-desc-item[_ngcontent-%COMP%]{margin-top:4px}.point-get-desc-item[_ngcontent-%COMP%]:before{background-color:#cab994;box-shadow:2px 2px #8c8168;border-radius:50%;content:"";display:inline-block;width:14px;height:14px;margin-right:8px;position:relative;top:1px}.point-get-desc-em[_ngcontent-%COMP%]{font-style:normal;font-weight:700}']}))}return i(),a})();var pn=u(34978);const dn=[{path:"",component:Ee,data:{name:h.L.purchasedTickets}},{path:"connect-reservation/:ticket_id",component:(()=>{var i;class a{constructor(e,o,s){this.browser=e,this.route=o,this.reservationService=s}ngOnInit(){var e=this;return(0,g.A)(function*(){const o=e.route.snapshot.paramMap.get("ticket_id");if(e.browser.isIOSApp()&&o){const s=yield e.reservationService.getConnectReservationUrl(o);window.location.href=s.url}})()}static#t=i=()=>(this.\u0275fac=function(o){return new(o||a)(t.rXU(P.I),t.rXU(d.nX),t.rXU(E))},this.\u0275cmp=t.VBU({type:a,selectors:[["app-connect-reservation"]],standalone:!1,decls:0,vars:0,template:function(o,s){},encapsulation:2}))}return i(),a})()},{path:":id",canActivate:[pn.q],children:[{path:"reservation",component:mt,data:{name:h.L.reservation}},{path:"reservation/details",component:on,data:{name:h.L.reservationDetail
1s}},{path:"reservation/message",component:qe,data:{name:h.L.reservationMessage}},{path:"confirm-use-ticket",component:Ie,data:{name:h.L.confirmUseTicket}},{path:"complete-use-ticket",component:Re,data:{name:h.L.completeUseTicket}},{path:"confirm-use-counseling-ticket",component:sn,data:{name:h.L.confirmUseCounselingTicket}},{path:"complete-use-counseling-ticket",component:ln,data:{name:h.L.completeUseCounselingTicket}},{path:"payment-info-conbini",component:N,data:{name:h.L.paymentInfoConpini}}]}];let mn=(()=>{var i;class a{static#t=i=()=>(this.\u0275fac=function(o){return new(o||a)},this.\u0275mod=t.$C({type:a}),this.\u0275inj=c.G2t({imports:[R.G,_.iI.forChild(dn),_.iI]}))}return i(),a})(),_n=(()=>{var i;class a{static#t=i=()=>(this.\u0275fac=function(o){return new(o||a)},this.\u0275mod=t.$C({type:a}),this.\u0275inj=c.G2t({providers:[f.O],imports:[l.MD,mn,R.G,p.YN,p.X1]}))}return i(),a})()},22551(j,F,u){u.d(F,{M:()=>p});var l=u(73664);let p=(()=>{var _;class g{transform(t){return t&&"string"==typeof t?t.replace(/\n/g,"<br>"):null}static#t=_=()=>(this.\u0275fac=function(d){return new(d||g)},this.\u0275pipe=l.EJ8({name:"htmlWithBr",type:g,pure:!0,standalone:!1}))}return _(),g})()}}]);

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.