{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./TypeScripts/API/FormApi.ts","webpack:///./TypeScripts/API/ProductApi.ts","webpack:///./TypeScripts/Shared/EcSiteForm.ts","webpack:///./TypeScripts/model/SampleFormPost.ts"],"names":[],"mappings":";QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;;;AClFA;AAAA;AAAA;;;;;;;;;;GAUG;AAIH,uDAAuD;AAEvD;IAMI,iBAAsB,KAAsB,EAAY,oBAAsC,EAAE,QAAiB;QAA3F,UAAK,GAAL,KAAK,CAAiB;QAAY,yBAAoB,GAApB,oBAAoB,CAAkB;QALpF,aAAQ,GAAG,EAAE,CAAC;QACjB,mBAAc,GAAS,EAAE,CAAC;QAK7B,IAAI,QAAQ,KAAK,SAAS,EAAE;YACxB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;SAC5B;IACL,CAAC;IAED;;;OAGG;IACI,0BAAQ,GAAf,UAAiB,MAA6B,EAAE,sBAA4B;QACxE,IAAM,YAAY,GAAG,IAAI,CAAC,QAAQ,GAAG,WAAW,CAAC;QAEjD,IAAI,eAAe,GAAQ,EAAE,CAAC;QAC9B,IAAI,YAAY,GAAc,MAAO,CAAC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// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./TypeScripts/Shared/EcSiteForm.ts\");\n","/**\r\n * OppSites\r\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\r\n *\r\n * OpenAPI spec version: V1\r\n * \r\n *\r\n * NOTE: This class is auto generated by the swagger code generator program.\r\n * https://github.com/swagger-api/swagger-codegen.git\r\n * Do not edit the class manually.\r\n */\r\n\r\nimport * as models from '../model/models';\r\n\r\n/* tslint:disable:no-unused-variable member-ordering */\r\n\r\nexport class FormApi {\r\n protected basePath = '';\r\n public defaultHeaders : any = {};\r\n\r\n static $inject: string[] = ['$http', '$httpParamSerializer', 'basePath'];\r\n\r\n constructor(protected $http: ng.IHttpService, protected $httpParamSerializer?: (d: any) => any, basePath?: string) {\r\n if (basePath !== undefined) {\r\n this.basePath = basePath;\r\n }\r\n }\r\n\r\n /**\r\n * \r\n * @param entity \r\n */\r\n public formPost (entity: models.SampleFormPost, extraHttpRequestParams?: any ) : ng.IHttpPromise {\r\n const localVarPath = this.basePath + '/api/Form';\r\n\r\n let queryParameters: any = {};\r\n let headerParams: any = (Object).assign({}, this.defaultHeaders);\r\n // verify required parameter 'entity' is not null or undefined\r\n if (entity === null || entity === undefined) {\r\n throw new Error('Required parameter entity was null or undefined when calling formPost.');\r\n }\r\n\r\n let httpRequestParams: ng.IRequestConfig = {\r\n method: 'POST',\r\n url: localVarPath,\r\n data: entity,\r\n params: queryParameters,\r\n headers: headerParams\r\n };\r\n\r\n if (extraHttpRequestParams) {\r\n httpRequestParams = (Object).assign(httpRequestParams, extraHttpRequestParams);\r\n }\r\n\r\n return this.$http(httpRequestParams);\r\n }\r\n}\r\n","/**\r\n * OppSites\r\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\r\n *\r\n * OpenAPI spec version: V1\r\n * \r\n *\r\n * NOTE: This class is auto generated by the swagger code generator program.\r\n * https://github.com/swagger-api/swagger-codegen.git\r\n * Do not edit the class manually.\r\n */\r\n\r\nimport * as models from '../model/models';\r\n\r\n/* tslint:disable:no-unused-variable member-ordering */\r\n\r\nexport class ProductApi {\r\n protected basePath = '';\r\n public defaultHeaders : any = {};\r\n\r\n static $inject: string[] = ['$http', '$httpParamSerializer', 'basePath'];\r\n\r\n constructor(protected $http: ng.IHttpService, protected $httpParamSerializer?: (d: any) => any, basePath?: string) {\r\n if (basePath !== undefined) {\r\n this.basePath = basePath;\r\n }\r\n }\r\n\r\n /**\r\n * \r\n */\r\n public productGenerateNewJanCode (extraHttpRequestParams?: any ) : ng.IHttpPromise {\r\n const localVarPath = this.basePath + '/Api/Product/GenerateNewJanCode';\r\n\r\n let queryParameters: any = {};\r\n let headerParams: any = (Object).assign({}, this.defaultHeaders);\r\n let httpRequestParams: ng.IRequestConfig = {\r\n method: 'GET',\r\n url: localVarPath,\r\n params: queryParameters,\r\n headers: headerParams\r\n };\r\n\r\n if (extraHttpRequestParams) {\r\n httpRequestParams = (Object).assign(httpRequestParams, extraHttpRequestParams);\r\n }\r\n\r\n return this.$http(httpRequestParams);\r\n }\r\n /**\r\n * \r\n * @param siteInfoId \r\n */\r\n public productGetCategories (siteInfoId: number, extraHttpRequestParams?: any ) : ng.IHttpPromise> {\r\n const localVarPath = this.basePath + '/Api/Product/GetProductCategory';\r\n\r\n let queryParameters: any = {};\r\n let headerParams: any = (Object).assign({}, this.defaultHeaders);\r\n // verify required parameter 'siteInfoId' is not null or undefined\r\n if (siteInfoId === null || siteInfoId === undefined) {\r\n throw new Error('Required parameter siteInfoId was null or undefined when calling productGetCategories.');\r\n }\r\n\r\n if (siteInfoId !== undefined) {\r\n queryParameters['siteInfoId'] = siteInfoId;\r\n }\r\n\r\n let httpRequestParams: ng.IRequestConfig = {\r\n method: 'GET',\r\n url: localVarPath,\r\n params: queryParameters,\r\n headers: headerParams\r\n };\r\n\r\n if (extraHttpRequestParams) {\r\n httpRequestParams = (Object).assign(httpRequestParams, extraHttpRequestParams);\r\n }\r\n\r\n return this.$http(httpRequestParams);\r\n }\r\n /**\r\n * \r\n * @param categoryId \r\n */\r\n public productGetProducts (categoryId: number, extraHttpRequestParams?: any ) : ng.IHttpPromise> {\r\n const localVarPath = this.basePath + '/Api/Product/GetProducts';\r\n\r\n let queryParameters: any = {};\r\n let headerParams: any = (Object).assign({}, this.defaultHeaders);\r\n // verify required parameter 'categoryId' is not null or undefined\r\n if (categoryId === null || categoryId === undefined) {\r\n throw new Error('Required parameter categoryId was null or undefined when calling productGetProducts.');\r\n }\r\n\r\n if (categoryId !== undefined) {\r\n queryParameters['categoryId'] = categoryId;\r\n }\r\n\r\n let httpRequestParams: ng.IRequestConfig = {\r\n method: 'GET',\r\n url: localVarPath,\r\n params: queryParameters,\r\n headers: headerParams\r\n };\r\n\r\n if (extraHttpRequestParams) {\r\n httpRequestParams = (Object).assign(httpRequestParams, extraHttpRequestParams);\r\n }\r\n\r\n return this.$http(httpRequestParams);\r\n }\r\n /**\r\n * \r\n */\r\n public productGetSiteInfos (extraHttpRequestParams?: any ) : ng.IHttpPromise> {\r\n const localVarPath = this.basePath + '/Api/Product/GetSites';\r\n\r\n let queryParameters: any = {};\r\n let headerParams: any = (Object).assign({}, this.defaultHeaders);\r\n let httpRequestParams: ng.IRequestConfig = {\r\n method: 'GET',\r\n url: localVarPath,\r\n params: queryParameters,\r\n headers: headerParams\r\n };\r\n\r\n if (extraHttpRequestParams) {\r\n httpRequestParams = (Object).assign(httpRequestParams, extraHttpRequestParams);\r\n }\r\n\r\n return this.$http(httpRequestParams);\r\n }\r\n /**\r\n * \r\n * @param siteInfoId \r\n * @param productIds \r\n */\r\n public productGetSiteProducts (siteInfoId: number, productIds: string, extraHttpRequestParams?: any ) : ng.IHttpPromise> {\r\n const localVarPath = this.basePath + '/api/Product';\r\n\r\n let queryParameters: any = {};\r\n let headerParams: any = (Object).assign({}, this.defaultHeaders);\r\n // verify required parameter 'siteInfoId' is not null or undefined\r\n if (siteInfoId === null || siteInfoId === undefined) {\r\n throw new Error('Required parameter siteInfoId was null or undefined when calling productGetSiteProducts.');\r\n }\r\n\r\n // verify required parameter 'productIds' is not null or undefined\r\n if (productIds === null || productIds === undefined) {\r\n throw new Error('Required parameter productIds was null or undefined when calling productGetSiteProducts.');\r\n }\r\n\r\n if (siteInfoId !== undefined) {\r\n queryParameters['siteInfoId'] = siteInfoId;\r\n }\r\n\r\n if (productIds !== undefined) {\r\n queryParameters['productIds'] = productIds;\r\n }\r\n\r\n let httpRequestParams: ng.IRequestConfig = {\r\n method: 'GET',\r\n url: localVarPath,\r\n params: queryParameters,\r\n headers: headerParams\r\n };\r\n\r\n if (extraHttpRequestParams) {\r\n httpRequestParams = (Object).assign(httpRequestParams, extraHttpRequestParams);\r\n }\r\n\r\n return this.$http(httpRequestParams);\r\n }\r\n}\r\n","\r\nimport { FormApi } from \"../API/FormApi\";\r\nimport { ProductApi } from \"../API/ProductApi\";\r\n//import * as models from \"../model/models\";\r\nimport { SampleFormPost } from \"../model/SampleFormPost\";\r\n\r\nnamespace EcSiteFormApp {\r\n\r\n interface IForm {\r\n // name: string;\r\n // company: string;\r\n postcode?: string;\r\n // address: string;\r\n // mail: string;\r\n mail_confirm?: string;\r\n //phone1?: string;\r\n //phone2?: string;\r\n //phone3?: string;\r\n phone?: string;\r\n // purpose: string;\r\n // body: string;\r\n // delivery: string; \r\n // sample: string;\r\n // arrive: string;\r\n // refUrl: string;\r\n } \r\n\r\n //HOGEHOGEXY\r\n\r\n declare var siteInfoId: number;\r\n type SampleFormPostEx = SampleFormPost & IForm;\r\n\r\n var baseUrl = \"https://api.workup-system.com\";\r\n\r\n class MainCtrl {\r\n formData: SampleFormPostEx = {\r\n delivery:SampleFormPost.DeliveryEnum.none\r\n };\r\n errorMessages = new Array();\r\n sampleTextType: string = \"text\";\r\n submited: boolean;\r\n \r\n\r\n pageMode: PageMode;\r\n formApi: FormApi;\r\n productApi: ProductApi;\r\n isSendedError: boolean;\r\n \r\n constructor(private $scope: ng.IScope,private $http:ng.IHttpService, private $cookies:ng.cookies.ICookiesService) {\r\n\r\n // var $http:any = null;\r\n this.formApi = new FormApi($http, null, baseUrl);\r\n this.productApi = new ProductApi($http, null, baseUrl);\r\n\r\n this.pageMode = PageMode.Edit;\r\n\r\n this.load();\r\n $scope.$watch(s => this.formData, (nv, ov, s) => {\r\n this.save();\r\n }, true);\r\n\r\n this.formData.refUrl = document.referrer;\r\n\r\n\r\n jQuery(window).on('popstate', (e: any) => {\r\n\r\n console.log(\"popstate:\" + e.originalEvent.state.pageMode);\r\n\r\n if (!e.originalEvent.state) return; // 初回アクセス時に再読み込みしてしまう対策 \r\n\r\n if (this.pageMode == PageMode.Complete) {\r\n this.isSendedError = true; \r\n }\r\n else {\r\n this.pageMode = e.originalEvent.state.pageMode;\r\n } \r\n $scope.$apply();\r\n });\r\n\r\n } \r\n\r\n load() {\r\n try {\r\n var str = this.$cookies.get(\"sampleForm\");\r\n this.formData = JSON.parse(str);\r\n this.formData.refUrl = document.referrer;\r\n\r\n if (this.formData.arrive == null) {\r\n this.formData.arrive = \"指定なし(最短)\";\r\n }\r\n }\r\n catch (e) {\r\n }\r\n if (this.formData == null) {\r\n this.formData = {\r\n delivery: \"free\",\r\n arrive: \"指定なし(最短)\",\r\n refUrl: document.referrer\r\n };\r\n }\r\n else {\r\n if (this.formData.arrive == null) {\r\n this.formData.arrive = \"指定なし(最短)\";\r\n }\r\n }\r\n }\r\n\r\n save() {\r\n var str = JSON.stringify(this.formData, null, null);\r\n this.$cookies.put(\"sampleForm\", str);\r\n }\r\n\r\n zipToAddress() {\r\n var url = \"https://zipsearch.azurewebsites.net/api/Search?zipcode=\" + this.formData.postcode;\r\n //var url = \"//api.zipaddress.net/?zipcode=\" + this.formData.postcode;\r\n jQuery.ajax(url)\r\n .then(c => {\r\n if (c.code == 200) {\r\n this.formData.address = c.data.fullAddress;\r\n this.$scope.$apply();\r\n }\r\n else {\r\n alert(\"郵便番号が正しくありません\");\r\n }\r\n });\r\n }\r\n\r\n async addSample() {\r\n try {\r\n var log = this.$cookies.get(\"productLog\");\r\n\r\n if (log == null) {\r\n this.formData.sample = \"履歴がありません\";\r\n return;\r\n }\r\n var items = (await this.productApi.productGetSiteProducts(siteInfoId, log)).data;\r\n\r\n var txt = \"\";\r\n for (var i = 0; i < items.length; i++) {\r\n txt += items[i] + \"\\r\\n\";\r\n }\r\n if (txt == \"\") {\r\n txt = \"履歴がありません\";\r\n }\r\n\r\n this.formData.sample = txt;\r\n // this.$scope.$apply();\r\n setTimeout(() => {\r\n this.$scope.$apply();\r\n }, 100);\r\n\r\n }\r\n catch (e) {\r\n this.formData.sample = \"履歴がありません\";\r\n }\r\n }\r\n\r\n isNullOrEmpty(str: string): boolean {\r\n if (str == null)\r\n return true;\r\n if (str == \"\")\r\n return true;\r\n return false;\r\n }\r\n\r\n validate() {\r\n this.errorMessages = new Array();\r\n var valid = true;\r\n if (this.isNullOrEmpty(this.formData.name)) {\r\n valid = false;\r\n this.errorMessages.push(\"お名前を入力してください\");\r\n }\r\n\r\n if (this.isNullOrEmpty(this.formData.postcode)) {\r\n valid = false;\r\n this.errorMessages.push(\"郵便番号を入力してください\");\r\n }\r\n if (this.isNullOrEmpty(this.formData.address)) {\r\n valid = false;\r\n this.errorMessages.push(\"ご住所を入力してください\");\r\n }\r\n\r\n\r\n\r\n if (this.isNullOrEmpty(this.formData.phone)) {\r\n valid = false;\r\n this.errorMessages.push(\"電話番号を入力してください\");\r\n }\r\n\r\n if (this.isNullOrEmpty(this.formData.mail)) {\r\n valid = false;\r\n this.errorMessages.push(\"メールアドレスを入力してください\");\r\n }\r\n if (this.formData.mail != this.formData.mail_confirm) {\r\n valid = false;\r\n this.errorMessages.push(\"メールアドレスと確認用が一致していません\");\r\n }\r\n\r\n\r\n if (this.formData.delivery == SampleFormPost.DeliveryEnum.none) {\r\n if (this.isNullOrEmpty(this.formData.body)) {\r\n valid = false;\r\n this.errorMessages.push(\"お問い合わせを入力してください\");\r\n }\r\n }\r\n\r\n if (this.formData.delivery != SampleFormPost.DeliveryEnum.none) {\r\n if (this.isNullOrEmpty(this.formData.sample)) {\r\n valid = false;\r\n this.errorMessages.push(\"請求サンプルを入力してください\");\r\n }\r\n }\r\n return valid;\r\n }\r\n\r\n changePage(mode: PageMode) {\r\n var state = {\r\n pageMode: this.pageMode\r\n };\r\n console.log(\"pageMode:\" + mode);\r\n window.history.pushState(state, null, null);\r\n\r\n this.pageMode = mode; \r\n }\r\n\r\n toConfirm() {\r\n this.submited = true;\r\n var r = this.validate();\r\n if (r == true) {\r\n this.changePage(PageMode.Confirm);\r\n } \r\n }\r\n\r\n async send() {\r\n\r\n if (this.pageMode != PageMode.Confirm)\r\n return;\r\n\r\n this.formData.phoneNumber = this.formData.phone;\r\n this.formData.siteInfoId = siteInfoId;\r\n this.changePage(PageMode.Sending);\r\n\r\n await this.formApi.formPost(this.formData)\r\n\r\n this.changePage(PageMode.Complete);\r\n this.$scope.$apply();\r\n }\r\n\r\n }\r\n\r\n enum PageMode {\r\n \"Edit\" = \"Edit\",\r\n \"Confirm\" = \"Confirm\",\r\n \"Sending\" = \"Sending\",\r\n \"Complete\" = \"Complete\",\r\n }\r\n\r\n\r\n angular.module(\"EcSiteFormApp\", ['ngCookies'])\r\n .controller(\"MainCtrl\", MainCtrl)\r\n .directive('jpNgModel', function ($parse) {\r\n return {\r\n restrict: 'A',\r\n link: function (scope, element, attrs: any) {\r\n var getter = $parse(attrs.jpNgModel);\r\n var setter = getter.assign;\r\n var value = getter(scope);\r\n element.bind('input', function () {\r\n setter(scope, element.val());\r\n scope.$apply();\r\n });\r\n\r\n scope.$watch(attrs.jpNgModel, function (n) {\r\n if (n !== element.val()) {\r\n element.val(n);\r\n }\r\n });\r\n }\r\n }\r\n });\r\n\r\n}\r\n","/**\r\n * OppSites\r\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\r\n *\r\n * OpenAPI spec version: V1\r\n * \r\n *\r\n * NOTE: This class is auto generated by the swagger code generator program.\r\n * https://github.com/swagger-api/swagger-codegen.git\r\n * Do not edit the class manually.\r\n */\r\n\r\nimport * as models from './models';\r\n\r\nexport interface SampleFormPost {\r\n \"id\"?: number;\r\n \"siteInfoId\"?: number;\r\n \"siteInfo\"?: models.SiteInfo;\r\n \"name\"?: string;\r\n \"company\"?: string;\r\n \"postCode\"?: string;\r\n \"address\"?: string;\r\n \"mail\"?: string;\r\n \"phoneNumber\"?: string;\r\n \"purpose\"?: string;\r\n \"body\"?: string;\r\n \"delivery\"?: SampleFormPost.DeliveryEnum;\r\n \"arrive\"?: string;\r\n \"sample\"?: string;\r\n \"createDate\"?: Date;\r\n \"phone1\"?: string;\r\n \"phone2\"?: string;\r\n \"phone3\"?: string;\r\n \"refUrl\"?: string;\r\n \"deviceType\"?: SampleFormPost.DeviceTypeEnum;\r\n \"formPostStatus\"?: SampleFormPost.FormPostStatusEnum;\r\n //\"\"?: SampleFormPost.Enum;\r\n \"b2\"?: string;\r\n //\"\"?: number;\r\n}\r\n\r\nexport namespace SampleFormPost {\r\n export enum DeliveryEnum {\r\n 'none' = 'none',\r\n 'free' = 'free',\r\n 'pay' = 'pay'\r\n }\r\n export enum DeviceTypeEnum {\r\n 'PC' = 'PC',\r\n 'SP' = 'SP'\r\n }\r\n export enum FormPostStatusEnum {\r\n '未受信' = '未受信',\r\n '受信済み' = '受信済み',\r\n '別対応済み' = '別対応済み'\r\n }\r\n export enum Enum {\r\n '未送信' = '未送信',\r\n '送信済み' = '送信済み'\r\n }\r\n}\r\n"],"sourceRoot":""}