{"ast":null,"code":"import { computed } from \"vue\";\nimport { useStore } from \"vuex\";\nexport default {\n name: \"confirmBet\",\n components: {},\n props: {\n data: {\n type: Object,\n default: () => ({\n money: 0,\n show: false,\n times: false,\n game_id: 4\n })\n }\n },\n setup(props, {\n emit\n }) {\n const store = useStore();\n const Type = computed(() => store.state.config.$Type);\n const Lang = computed(() => store.state.config.$lang);\n // 确认下注\n const confirm = () => {\n emit(\"confirm\");\n };\n // 取消下注\n const cancel = () => {\n emit(\"cancel\");\n };\n return {\n Type,\n Lang,\n confirm,\n cancel,\n props\n };\n }\n};","map":{"version":3,"names":["computed","useStore","name","components","props","data","type","Object","default","money","show","times","game_id","setup","emit","store","Type","state","config","$Type","Lang","$lang","confirm","cancel"],"sources":["/Users/li/Desktop/work/work2/OG/GamePortrait/src/components/confirmBet.vue"],"sourcesContent":["\n \n \n \n \n \n 0\"\n >\n {{ data.money }}\n {{\n data.times\n ? `${Lang[Type].withhold}${data.money * (data.game_id == 4 ? 4 : 19)}`\n : \"\"\n }}\n \n \n\n\n\n\n"],"mappings":"AAsBA,SAASA,QAAO,QAAS,KAAI;AAC7B,SAASC,QAAO,QAAS,MAAK;AAC9B,eAAe;EACbC,IAAI,EAAE,YAAY;EAClBC,UAAU,EAAE,CAAC,CAAC;EACdC,KAAK,EAAE;IACLC,IAAI,EAAE;MACJC,IAAI,EAAEC,MAAM;MACZC,OAAO,EAAEA,CAAA,MAAO;QACdC,KAAK,EAAE,CAAC;QACRC,IAAI,EAAE,KAAK;QACXC,KAAK,EAAE,KAAK;QACZC,OAAO,EAAE;MACX,CAAC;IACH;EACF,CAAC;EACDC,KAAKA,CAACT,KAAK,EAAE;IAAEU;EAAK,CAAC,EAAE;IACrB,MAAMC,KAAI,GAAId,QAAQ,EAAC;IACvB,MAAMe,IAAG,GAAIhB,QAAQ,CAAC,MAAMe,KAAK,CAACE,KAAK,CAACC,MAAM,CAACC,KAAK;IACpD,MAAMC,IAAG,GAAIpB,QAAQ,CAAC,MAAMe,KAAK,CAACE,KAAK,CAACC,MAAM,CAACG,KAAK;IACpD;IACA,MAAMC,OAAM,GAAIA,CAAA,KAAM;MACpBR,IAAI,CAAC,SAAS;IAChB;IACA;IACA,MAAMS,MAAK,GAAIA,CAAA,KAAM;MACnBT,IAAI,CAAC,QAAQ;IACf;IACA,OAAO;MACLE,IAAI;MACJI,IAAI;MACJE,OAAO;MACPC,MAAM;MACNnB;IACF;EACF;AACF"},"metadata":{},"sourceType":"module","externalDependencies":[]}