PageSourceSearch

https://yumzy.in/3990-es5.c161f291c306c38af097.js

js yumzy.in collected 2026-09-26 20:46:53 UTC 20,365 bytes, 1 lines download raw bytes

1!function(){"use strict";function e(e,r,i){return r=n(r),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,t()?Reflect.construct(r,i||[],n(e).constructor):r.apply(e,i))}function t(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(t=function(){return!!e})()}function n(e){return n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},n(e)}function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,s(r.key),r)}}function o(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(self.webpackChunkyumzy=self.webpackChunkyumzy||[]).push([[3990],{23990:function(t,n,a){a.r(n),a.d(n,{HelpMobileModule:function(){return T}});var s=a(97582),l=a(37716),c=a(38583),p=a(67957),d=a(39984),u=a(10629),h=a(31427),v=function(){return o(function e(t){i(this,e),this.apiRequestService=t},[{key:"getHelpData",value:function(){return this.apiRequestService.get("help")}},{key:"getHelpHeadingId",value:function(e){return this.apiRequestService.get("helpHeadingId","?headingId="+e)}}])}();v.ctorParameters=function(){return[{type:h.g}]},v=(0,s.gn)([(0,l.Injectable)({providedIn:"root"})],v);var m=a(56371),g=function(){return o(function e(t,n,r){i(this,e),this.router=t,this.authService=n,this.helpService=r,this.titleTxt="Help",this.navUrl="/account",this.helpItemList=[],this.getHelpData()},[{key:"getHelpData",value:function(){var e=this;this.helpService.getHelpData().then(function(t){e.helpItemList=t.body.data})}},{key:"onHelpItemClick",value:function(e){console.log(e),this.router.navigate(["/help-faqs/help-common/",e],{queryParams:{redirectUrl:m.Pf.help_faqs}})}},{key:"onPreviousOrderClick",value:function(){this.router.navigate(["/help-faqs/previous-order"],{queryParams:{redirectUrl:m.Pf.help_faqs}})}}])}();g.ctorParameters=function(){return[{type:p.F0},{type:u.e},{type:v}]},g=(0,s.gn)([(0,l.Component)({template:""})],g);var f=a(76461),y=function(t){function n(t,r,a){return i(this,n),e(this,n,[t,r,a])}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)}(n,t),o(n,[{key:"ngOnInit",value:function(){((0,f.n$)("android")||(0,f.n$)("ios"))&&ZohoSalesIQ.showLauncher(!0)}},{key:"ngOnDestroy",value:function(){((0,f.n$)("android")||(0,f.n$)("ios"))&&ZohoSalesIQ.showLauncher(!1)}}])}(g);y.ctorParameters=function(){return[{type:p.F0},{type:u.e},{type:v}]},y=(0,s.gn)([(0,l.Component)({selector:"app-help-mobile",template:'<app-top-header-mobile [title]="titleTxt" [url]="navUrl"></app-top-header-mobile>\n<div class="help-mob-page">\n  <ion-content>\n    <div class="profile-view">\n      <div class="help-item pt-1">\n        <ul p-0>\n\n          <p class="p-4" (click)="onPreviousOrderClick()">\n            <span class="fw-5 fs-14 dark-black-clr">\n              Have issues with previous order ?\n            </span>\n            <img src="assets/icon/account/angle_right.svg" class="float-right mt-2" width="10px" height="10px">\n          </p>\n\n          <p class="fs-12 fw-4 cool-grey-clr px-4 pt-3">
1\n            <span> Help with Other Queries</span>\n          </p>\n\n          <hr class="bottom-border">\n\n          <li *ngFor="let item of helpItemList;let i=index" (click)="onHelpItemClick(item.headingId)">\n            <div class="px-4">\n\n              <span class="fw-5 fs-14 dark-black-clr">\n                {{item.title}}\n              </span>\n              <img src="assets/icon/account/angle_right.svg" class="float-right mt-2" width="10px" height="10px">\n            </div>\n            <hr class="bottom-border">\n          </li>\n        </ul>\n      </div>\n    </div>\n  </ion-content>\n</div>',styles:[d]})],y);var b=a(35168),w=a(8032),k=a(3679),x=a(97261),I=a(63333),S=a(87602),H=a(94490),P=function(){return o(function e(t,n,r,a,o){i(this,e),this.activatedRoute=t,this.helpService=n,this.router=r,this.cacheService=a,this.navCtrl=o,this.statusBarHeight=I.YG.statusBarHeight},[{key:"ngOnInit",value:function(){var e=this;this.activatedRoute.queryParams.subscribe(function(t){console.log(t),e.orderData=t;var n;n="/help-faqs/previous-order"===t.redirectUrl?{queryParams:{redirectUrl:"/help-faqs"},state:""}:{queryParams:{redirectUrl:"/order-history",orderId:e.orderData.orderId},state:""},e.cacheService.setqueryParams(n)}),this.getHelpData(),((0,f.n$)("android")||(0,f.n$)("ios"))&&ZohoSalesIQ.showLauncher(!0)}},{key:"toggleAccordion",value:function(e){this.helpAndSupportData[e].isActive?this.helpAndSupportData[e].isActive=!1:this.helpAndSupportData[e].isActive=!0;var t=document.getElementById("panel"+e);t.style.maxHeight?t.style.maxHeight=null:t.style.maxHeight=t.scrollHeight+"px",this.helpAndSupportData.forEach(function(t,n){e!==n&&(document.getElementById("panel"+n).style.maxHeight=null)})}},{key:"getHelpData",value:function(){var e=this;this.helpService.getHelpHeadingId("1").then(function(t){console.log("---------------\x3eresData",t),e.helpAndSupportData=t.body.data.subItems})}},{key:"onBack",value:function(){this.orderData.navigateToHistory?this.navCtrl.navigateBack(["/order-details"],{queryParams:{orderId:this.orderData.orderId,redirectUrl:"/order-history"}}):this.orderData.openTrackPage?this.navCtrl.navigateBack(["/order-tracking"],{queryParams:{orderId:this.orderData.orderId,redirectUrl:"/order-history"}}):(this.cacheService.setqueryParams(""),this.navCtrl.navigateBack(["/help-faqs/previous-order"],{queryParams:{redirectUrl:"/help-faqs"}}))}},{key:"ngOnDestroy",value:function(){((0,f.n$)("android")||(0,f.n$)("ios"))&&ZohoSalesIQ.showLauncher(!1)}},{key:"onOpenChatWindow",value:function(e,t){var n="Order Details : ".concat(e.orderNum," \n\nOutlet Name : ").concat(e.outletName," \n\nIssue : ").concat(t);console.warn("Chat AppData",I.YG.userInfoData),(0,f.n$)("ios")||(0,f.n$)("android")?(ZohoSalesIQ.setVisitorName(I.YG.userInfoData.name),ZohoSalesIQ.setVisitorContactNumber(I.YG.userInfoData.mobile),ZohoSalesIQ.startChat(n)):this.openBrowserChat(n)}},{key:"openBrowserChat",value:function(e){var t,n,r=null===(n=null===(t=window)||void 0===t?void 0:t.$zoho)||void 0===n?void 0:n.salesiq;if(r){try{r.reset(),r.visitor.name(I.YG.userInfoData.name),r.visitor.contactnumber(I.YG.userInfoData.mobile),r.visitor.question(e),r.floatwindow.open()}catch(i){console.warn("reset skipped",i)}setTimeout(function(){r.chat.sendmessage(e)},500)}else console.warn("SalesIQ not initialized")}}])}();P.ctorParameters=function(){return[{type:p.gz},{type:v},{type:p.F0},{type:S.Q},{type:H.SH}]},P=(0,s.gn)([(0,l.Component)({selector:"app-help-and-support",template:'<div class="header-view-modal-local bg-white" [ngStyle]="{\'padding-top\':statusBarHeight + \'px\'}">\n\n  <ion-header class="header ion-no-border custom-header">\n    <div class="row m-0">\n      <div class="col-12 d-flex align-items-center">\n        <div class="p-2" (click)="onBack()">\n          <span class="fs-16 icon-arrow-back primary-grey-2"></span>\n        </div>\n        <p class="sitefontmedium pl-2 py-2 mb-1 fs-14 text-capitalize limit-characters"> Help and support</p>\n      </div>\n    </div>\n  </ion-header>\n</div>\n\n<div class="help-and-support">\n  <ion-content>\n    <div class="profile-view">\n\n      <div class="fs-12 fw-4 cool-grey-clr px-4">\n        <p class="lh-16">Help with the order from {{ orderData?.outletName }}</p>\n        <p class="lh-16"> Order #{{ orderData?.orderNum }}</p>\n      </div>\n\n      <ul class="p-0">\n\n        <li *ngFor="let item of helpAndSupportData;let i=index">\n          <div class="col-12 d-flex align-items-center px-4" (click)="toggleAccordion(i)">\n\n            <p class="fw-5 fs-14 dark-black-clr col-11 p-0">\n              {{ item?.question }}\n            </p>\n            <p class="col-1 p-0">\n              <img src="assets/icon/account/angle-down.svg" class="float-right" width="10px" height="10px">\n            </p>\n          </div>\n\n          <div class="panel px-4" hide="!item.isActive" id="panel{{i}}">\n            <div class="sub-data mt-2 p-3">\n              <p class="fs-10 fw-4 cod-black-clr"> {{ item?.subData }}</p>\n              <a class="fs-12 fw-5 chat-call-btn mt-2 text-center px-3 mr-2" (click)="onOpenChatWindow(orderData, item?.question)">Chat</a>\n              \x3c!-- <a class="fs-12 fw-5 chat-call-btn mt-2 text-center px-3">Call us</a> --\x3e\n            </div>\n          </div>\n          <hr class="bottom-border">\n        </li>\n      </ul>\n      \n    </div>\n  </ion-content>\n</div>',styles:[x]})],P);var O=a(86707),D=function(){return o(function e(t,n,r,a){i(this,e),this.helpService=t,this.activatedRoute=n,this.cacheService=r,this.navCtrl=a,this.showConversationThreads=!1,this.proceedToggle=!0,this.statusBarHeight=I.YG.statusBarHeight,this.cacheService.setqueryParams({queryParams:{redirectUrl:"/account"},state:""})},[{key:"ngOnInit",value:function(){var e=this.activatedRoute.snapshot.params.id;this.getHelpData(e)}},{key:"onBack",value:function(){this.cacheService.setqueryParams(""),this.navCtrl.navigateBack(["/help-faqs"],{queryParams:{redirectUrl:"/account"}})}},{key:"getHelpData",value:function(e){var t=this;this.helpService.getHelpHeadingId(e).then(function(e){console.log("---------------\x3eresData",e),t.titleTxt=e.body.data.title,t.headingSubItems=e.body.data.subItems,"All conversation threads"===t.titleTxt&&(t.showConversationThreads=!0)})}},{key:"toggleAccordion",value:function(e){this.headingSubItems[e].isActive?this.headingSubItems[e].isActive=!1:this.headingSubItems[e].isActive=!0;var t=document.getElementById("panel"+e),n=document.getElementById("plus"+e),r=document.getElementById("heading"+e);t.style.maxHeight?(t.style.maxHeight=null,r.style.color="black",r.parentElement.parentElement.style.backgroundColor="white",n.classList.contains("icon-minus")&&!n.classList.contains("icon-plus")&&(n.classList.remove("icon-minus"),n.classList.add("icon-plus"))):(t.style.maxHeight=t.scrollHeight+"px",r.style.color="var(--primary-cta)",n.classList.remove("icon-plus"),n.classList.add("icon-minus"),r.parentElement.parentElement.style.backgroundColor="var(--layout-bg-color)"),this.headingSubItems.forEac
1h(function(t,n){if(e!==n){var r=document.getElementById("plus"+n),i=document.getElementById("heading"+n);document.getElementById("panel"+n).style.maxHeight=null,i.style.color="black",i.parentElement.parentElement.style.backgroundColor="white",r.classList.remove("icon-minus"),r.classList.add("icon-plus")}})}},{key:"ngOnDestroy",value:function(){}}])}();D.ctorParameters=function(){return[{type:v},{type:p.gz},{type:S.Q},{type:H.SH}]},D=(0,s.gn)([(0,l.Component)({selector:"app-help-common",template:'<div class="header-view-modal-local bg-white" [ngStyle]="{\'padding-top\':statusBarHeight + \'px\'}">\n\n    <ion-header class="header ion-no-border custom-header">\n      <div class="row m-0">\n        <div class="col-12 d-flex align-items-center">\n          <div class="p-2" (click)="onBack()">\n            <span class="fs-16 icon-arrow-back primary-grey-2"></span>\n          </div>\n          <p class="sitefontmedium pl-2 py-2 mb-1 fs-14 text-capitalize limit-characters"> {{titleTxt}}</p>\n        </div>\n      </div>\n    </ion-header>\n  </div>\n<div class="help-common">\n  <ion-content>\n    <div class="profile-view" *ngIf="!showConversationThreads">\n      <ul class="p-0">\n\n          <li class="pt-2" *ngFor="let item of headingSubItems;let i=index">\n              <div class="col-12 d-flex align-items-baseline px-4" (click)="toggleAccordion(i)">\n\n                  <p class="fw-5 fs-14 col-11 p-0 sitefontmedium" id="heading{{i}}">\n                      {{ item?.question }}\n                  </p>\n                  \x3c!-- <span class="col-1 p-0 m-0 text-center fs-24" id="plus{{i}}" style="height: 30px;">+</span> --\x3e\n                  <p class="col-1 p-0 text-center">\n                      <span class="icon-plus float-right arrow-icon" id="plus{{i}}"></span>\n                  </p>\n              </div>\n\n              <div class="panel px-4" hide="!item.isActive" id="panel{{i}}">\n                  <div class="sub-data mt-2">\n                      <p class="fs-12 fw-4 primary-clr sitefontnormal"> {{ item?.answer }}</p>\n                  </div>\n              </div>\n              <hr class="bottom-border mx-4">\n          </li>\n      </ul>\n    </div>\n  </ion-content>\n\n  \x3c!-- <div *ngIf="showConversationThreads">\n    <app-conversation-threads></app-conversation-threads>\n  </div> --\x3e\n</div>\n\n\n\n\x3c!-- <app-top-header-mobile [title]="titleTxt" [url]="navUrl"></app-top-header-mobile>\n<div class="help-common scroll-menu-page">\n    \n\n    <div *ngIf="showConversationThreads">\n        <app-conversation-threads></app-conversation-threads>\n    </div>\n</div> --\x3e',styles:[O]})],D);var q=a(40126),C=a(83317),B=a(57087),L=function(){return o(function e(t,n,r,a,o,s){i(this,e),this.router=t,this.orderService=n,this.loaderService=r,this.activatedRoute=a,this.navCtrl=o,this.cacheService=s,this.pageSkip=0,this.isPaginationLoad=!1,this.isLastItem=!0,this.statusBarHeight=I.YG.statusBarHeight,this.getOrderHistoryList()},[{key:"ngOnInit",value:function(){var e=this;this.activatedRoute.queryParams.subscribe(function(t){var n={};e.redirectUrl=t.redirectUrl,t.redirectUrl,n={queryParams:{redirectUrl:"/account"},state:""},e.cacheService.setqueryParams(n)})}},{key:"onItemClick",value:function(e){var t={queryParams:e};t.queryParams.redirectUrl=m.Pf.help_faqs,this.router.navigate(["/help-faqs/help-and-support"],t)}},{key:"onBack",value:function(){this.cacheService.setqueryParams(""),"/help-faqs"===this.redirectUrl&&this.navCtrl.navigateBack([this.redirectUrl],{queryParams:{redirectUrl:"/account"}})}},{key:"getOrderHistoryList",value:function(){var e=this;this.loaderService.show(),this.orderService.getOrderHistoryList(this.pageSkip).then(function(t){var n=t.body.data;e.previousOrdersItem=n.orders,e.pageSkip=n.skip,e.loaderService.hide()})}},{key:"getOrderDateTime",value:function(e){return this.orderService.onGetOrderDateTime(e)}},{key:"logScrollEnd",value:function(){var e=this;this.isLastItem&&(this.isPaginationLoad=!0,this.orderService.getOrderHistoryList(this.pageSkip).then(function(t){var n=t.body.data;n.orders.length>0?(e.previousOrdersItem=e.previousOrdersItem.concat(n.orders),e.pageSkip=n.skip):e.isLastItem=!1,e.isPaginationLoad=!1},function(t){e.isPaginationLoad=!1}))}}])}();L.ctorParameters=function(){return[{type:p.F0},{type:C.p},{type:B.D},{type:p.gz},{type:H.SH},{type:S.Q}]};var E=[{path:"",component:y,data:{animationState:"accountSection"}},{path:"previous-order",component:L=(0,s.gn)([(0,l.Component)({selector:"app-previous-order",template:'<div class="header-view-modal-local bg-white" [ngStyle]="{\'padding-top\':statusBarHeight + \'px\'}">\n\n  <ion-header class="header ion-no-border custom-header">\n    <div class="row m-0">\n      <div class="col-12 d-flex align-items-center">\n        <div class="p-2" (click)="onBack()">
1\n          <span class="fs-16 icon-arrow-back primary-grey-2"></span>\n        </div>\n        <p class="sitefontmedium pl-2 py-2 mb-1 fs-14 text-capitalize limit-characters"> Previous Orders</p>\n      </div>\n    </div>\n  </ion-header>\n</div>\n\n<div class="previous-order-mob-page p-3">\n  <ion-content [scrollEvents]="true" (ionScrollEnd)="logScrollEnd()" *ngIf="previousOrdersItem?.length > 0">\n    <div class="previous-order mt-3 mb-5" style="margin-top: 1rem !important;">\n      <p class="fs-12 fw-4 cool-grey-clr mt-3">\n        Select the order with which you having issues\n      </p>\n      <div class="previous-order-card p-3 mt-3" *ngFor="let order of previousOrdersItem" (click)="onItemClick(order)">\n        <div>\n          <p class="fw-7 fs-14 rest-name dark-black-clr text-capitalize limit-line-length-1">\n            {{ order?.outletName }}</p>\n          <p class="cool-grey-clr fs-10 fw-4">order #{{ order?.orderNum }}</p>\n          <p class="fw-5 fs-12 dark-black-clr text-right item-price">Rs {{ order?.totalAmount }}</p>\n        </div>\n        <div class="row item-details m-0">\n          <div class="col-8 p-0">\n            <p class="col cool-grey-clr fw-5 fs-12 p-0"> {{ order?.items }} </p>\n          </div>\n          <div class="col-4 p-0">\n            <p class="col item-rate fw-4 fs-10 p-0 text-right"> {{ getOrderDateTime(order?.creationDate) }} </p>\n          </div>\n        </div>\n      </div>\n      <div class="text-center" *ngIf="isPaginationLoad">\n        Loading...\n      </div>\n    </div>\n  </ion-content>\n  <div class="image-page-center-view" *ngIf="previousOrdersItem?.length === 0">\n    <div class="row m-0">\n      <div class="col-12 text-center">\n        <img src="assets/icon/illustration/order-history.svg" alt="">\n        <p class="text-center fs-12 mt-2">You haven\'t ordered anything yet</p>\n      </div>\n    </div>\n  </div>\n</div>',styles:[q]})],L)},{path:"help-common/:id",component:D},{path:"help-and-support",component:P}],T=o(function e(){i(this,e)});T=(0,s.gn)([(0,l.NgModule)({declarations:[y,P,D,L],imports:[c.ez,p.Bz.forChild(E),k.u5,w.p,b.Z,H.Pc]})],T)},97261:function(e){e.exports=".help-and-support .lh-16 {\n  line-height: var(--px-16);\n}\n.help-and-support .profile-view {\n  padding-top: 1rem;\n  padding-bottom: 100px;\n}\n.help-and-support .profile-view ul {\n  list-style-type: none;\n  margin-top: 2rem;\n}\n.help-and-support .profile-view ul li .bottom-border {\n  margin: 1rem 0rem 0.8rem 0rem;\n}\n.help-and-support .profile-view ul li .panel {\n  max-height: 0;\n  overflow: hidden;\n  transition: max-height 0.2s ease-out;\n}\n.help-and-support .profile-view ul li .panel .sub-data {\n  background-color: var(--light-grey);\n  border-radius: var(--px-15);\n}\n.help-and-support .profile-view ul li .panel .chat-call-btn {\n  height: var(--px-28);\n  background-color: var(--btn-red-bg-clr);\n  border-radius: var(--px-6);\n  color: var(--white) !important;\n  text-decoration: none;\n  border: none;\n  line-height: var(--px-28);\n  display: inline-block;\n}"},86707:function(e){e.exports=".help-common .profile-view {\n  padding-top: 1rem;\n  padding-bottom: 200px;\n}\n.help-common .profile-view ul {\n  list-style-type: none;\n}\n.help-common .profile-view ul li .bottom-border {\n  margin: 1rem 0rem 0.8rem 0rem;\n}\n.help-common .profile-view ul li .arrow-icon {\n  transition: 0.2s ease-out;\n}\n.help-common .profile-view ul li .panel {\n  max-height: 0;\n  overflow: hidden;\n  transition: max-height 0.2s ease-out;\n}"},40126:function(e){e.exports=".previous-order-mob-page .previous-order .previous-order-card {\n  background: rgba(152, 193, 217, 0.12);\n  border-radius: var(--px-15);\n}\n.previous-order-mob-page .previous-order .previous-order-card .item-details .item-rate {\n  color: var(--tint-grey);\n}\n.previous-order-mob-page .previous-order .previous-order-card .rest-name,\n.previous-order-mob-page .previous-order .previous-order-card .item-price {\n  width: 100%;\n}"},39984:function(e){e.exports=".help-mob-page .profile-view {\n  padding-top: 1rem;\n}\n.help-mob-page .help-item {\n  padding-top: 3rem;\n}\n.help-mob-page .help-item .bottom-border {\n  margin: 1rem 0rem 0.8rem 0rem;\n}\n.help-mob-page .help-item ul {\n  list-style-type: none;\n  padding: 0;\n}"}}])}();

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.