(this["webpackJsonpzz-metro"]=this["webpackJsonpzz-metro"]||[]).push([[0],[,,function(e,a,t){},,,function(e,a,t){},,,,,,function(e,a,t){},,function(e,a,t){},,function(e,a,t){e.exports=t(26)},,,,,function(e,a,t){},function(e,a,t){},function(e,a,t){},function(e,a,t){},function(e,a,t){},function(e,a,t){},function(e,a,t){"use strict";t.r(a);var l,n=t(0),c=t.n(n),i=t(14),r=t.n(i),s=(t(20),t(6)),m=t(7),o=t(10),u=t(9);t(21);!function(e){e[e.LOADING=0]="LOADING",e[e.PAGE0=1]="PAGE0",e[e.PAGE1=2]="PAGE1",e[e.PAGE21=3]="PAGE21",e[e.PAGE211=4]="PAGE211",e[e.PAGE212=5]="PAGE212",e[e.PAGE213=6]="PAGE213",e[e.PAGE22=7]="PAGE22",e[e.PAGE221=8]="PAGE221",e[e.PAGE2211=9]="PAGE2211",e[e.PAGE222=10]="PAGE222",e[e.PAGE2221=11]="PAGE2221",e[e.PAGE2222=12]="PAGE2222",e[e.PAGE223=13]="PAGE223",e[e.PAGE23=14]="PAGE23",e[e.PAGE231=15]="PAGE231",e[e.PAGE24=16]="PAGE24",e[e.PAGE241=17]="PAGE241",e[e.PAGE242=18]="PAGE242",e[e.PAGE243=19]="PAGE243"}(l||(l={}));var E,g=function(){document.getElementById("btnMusic").src="http://zz-metro.oss-cn-hangzhou.aliyuncs.com/button.mp3"},b=(t(22),function(){for(var e=[],a=1;a<=34;a++)e.push("one/metro_".concat(a,".png"));for(var t=1;t<=9;t++)e.push("two/000/metro_".concat(t,".png"));for(var l=1;l<=9;l++)e.push("two/001/metro_".concat(l,".png"));for(var n=1;n<=42;n++)e.push("two/002/metro_".concat(n,".png"));for(var c=1;c<=19;c++)e.push("two/003/metro_".concat(c,".png"));for(var i=1;i<=15;i++)e.push("two/004/metro_".concat(i,".png"));return[].concat(["metro_43.gif","three/metro_5.png","three/metro_4.png","three/metro_6.png","three/metro_7.png"],e)}()),f=function(e){Object(o.a)(t,e);var a=Object(u.a)(t);function t(e){var n;return Object(s.a)(this,t),(n=a.call(this,e)).loadAssets=function(){var e=n.state.index,a=function(){e>=b.length-1?n.props.changePage(l.PAGE0,!0):n.setState({index:e+1},n.loadAssets)},t=b[e],c=new Image;c.src="http://zz-metro.oss-cn-hangzhou.aliyuncs.com/"+t+"?v=1",c.onload=a,c.onerror=a,c.onabort=a},n.state={index:0},n}return Object(m.a)(t,[{key:"componentDidMount",value:function(){this.loadAssets()}},{key:"render",value:function(){var e=this.state.index;return(c.a.createElement("div",{className:"loading_bg"},c.a.createElement("div",{className:"init_logo"}),c.a.createElement("div",{className:"progress"},c.a.createElement("div",{className:"bar",style:{width:"".concat(100*e/b.length,"%")}}))))}}]),t}(c.a.Component),d=t(1),_=function(e){var a=Object(n.useState)(.5),t=Object(d.a)(a,2),l=t[0],i=t[1],r=Object(n.useState)(""),s=Object(d.a)(r,2),m=s[0],o=s[1];return Object(n.useEffect)((function(){!function(){var e="orientationchange"in window?"orientationchange":"resize",a=function(){var e=document.body.clientWidth,a=document.body.clientHeight,t=Math.max(e,a),l=Math.min(e,a);i(t/1792);var n=1792/828/(t/l);o(e>a?"scale(1,".concat(n,")"):"scale(".concat(n,",1) rotate(90deg)"))};a(),document.addEventListener&&(window.addEventListener(e,a,!1),window.addEventListener("DOMContentLoaded",a,!1))}()})),c.a.createElement("div",{className:"page",id:"page",style:{transform:m}},c.a.createElement("div",{className:"mobile",style:{zoom:l}},e.children))};t(23),t(24),t(25),t(11),t(2);!function(e){e[e.STEP0=0]="STEP0",e[e.STEP1=1]="STEP1",e[e.STEP2=2]="STEP2",e[e.STEP3=3]="STEP3"}(E||(E={}));var v;!function(e){e[e.STEP0=0]="STEP0",e[e.STEP1=1]="STEP1",e[e.STEP11=2]="STEP11",e[e.STEP12=3]="STEP12",e[e.STEP2=4]="STEP2",e[e.STEP21=5]="STEP21",e[e.STEP22=6]="STEP22",e[e.STEP3=7]="STEP3",e[e.STEP4=8]="STEP4",e[e.STEP5=9]="STEP5",e[e.STEP51=10]="STEP51",e[e.STEP52=11]="STEP52",e[e.STEP6=12]="STEP6"}(v||(v={}));var N=t(4),P=(t(13),t(5),[{key:l.PAGE0,page:function(e){var a=Object(n.useState)(169),t=Object(d.a)(a,2),i=t[0],r=t[1];return Object(n.useEffect)((function(){var e=document.getElementById("notice"),a=!!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);e&&e.offsetHeight&&e.setAttribute("style","font-size:"+e.offsetHeight*(a?.2:.4)+"px")})),c.a.createElement("div",{className:"page0"},c.a.createElement("div",{className:"el_wrap_bk_full mobile_box bg_full",id:"el_wrap_bk_full"}),c.a.createElement("div",{className:"el_wrap_logo bg_full"}),c.a.createElement("div",{className:"el_wrap_house bg_full"}),c.a.createElement("div",{className:"el_wrap_27 bg_full"}),c.a.createElement("div",{className:"el_wrap_14 bg_full"}),c.a.createElement("div",{className:"el_wrap_21 bg_full"}),c.a.createElement("div",{className:"el_wrap_33 bg_full"}),c.a.createElement("div",{className:"el_wrap_32 bg_full"}),c.a.createElement("div",{className:"el_wrap_31 bg_full"}),c.a.createElement("div",{className:"el_wrap_15 bg_full"}),c.a.createElement("div",{className:"el_wrap_16 bg_full"}),c.a.createElement("div",{className:"el_wrap_17 bg_full"}),c.a.createElement("div",{className:"el_wrap_24 bg_full"}),c.a.createElement("div",{className:"el_wrap_26 bg_full"}),c.a.createElement("div",{className:"el_wrap_25 bg_full"}),c.a.createElement("div",{className:"el_wrap_12 bg_full"}),c.a.createElement("div",{className:"el_wrap_6 bg_full"}),c.a.createElement("div",{className:"el_wrap_5 bg_full"}),c.a.createElement("div",{className:"el_wrap_23 bg_full"}),c.a.createElement("div",{className:"el_wrap_22 bg_full"}),c.a.createElement("div",{className:"el_wrap_19 bg_full"}),c.a.createElement("div",{className:"el_wrap_13 bg_full"}),c.a.createElement("div",{className:"el_wrap_1 bg_full"}),c.a.createElement("div",{className:"el_wrap_8 bg_full"}),c.a.createElement("div",{className:"el_wrap_11 bg_full"}),c.a.createElement("div",{className:"el_wrap_2 bg_full"}),c.a.createElement("div",{className:"el_wrap_3 bg_full"}),c.a.createElement("div",{className:"el_wrap_7 bg_full"}),c.a.createElement("div",{className:"notice",id:"notice"}),c.a.createElement("div",{className:"el_wrap_person bg_full",id:"el_wrap_person",style:{left:i},onTouchMove:function(a){var t=(a||window.event).targetTouches[0],n=document.body.clientWidth,c=document.body.clientHeight,i=Math.max(n,c)/1792;if(n>c){var s=t.pageX/i;if(s>1350)return void e.changePage(l.PAGE1,!0);r(Math.max(0,s))}else{var m=t.pageY/i;if(m>1350)return void e.changePage(l.PAGE1);r(Math.max(0,m))}},draggable:"true"}),c.a.createElement("div",{className:"el_wrap_finger bg_full"}))}},{key:l.PAGE1,page:function(e){var a=e.changePage;return(c.a.createElement("div",{className:"page1"},c.a.createElement("div",{className:"bg"}),c.a.createElement("div",{className:"question bg_full"},c.a.createElement("div",{className:"content bg_full"})),c.a.createElement("div",{className:"hands"}),c.a.createElement("div",{className:"worker"}),c.a.createElement("div",{className:"btn1 bg_full",onClick:function(){a(l.PAGE21)}}),c.a.createElement("div",{className:"btn2 bg_full",onClick:function(){return a(l.PAGE22)}}),c.a.createElement("div",{className:"btn3 bg_full",onClick:function(){return a(l.PAGE23)}}),c.a.createElement("div",{className:"btn4 bg_full",onClick:function(){return a(l.PAGE24)}})))}},{key:l.PAGE21,page:function(e){var a=e.changePage;return(c.a.createElement("div",{className:"page21"},c.a.createElement("div",{className:"mobile_box bg bg_full"}),c.a.createElement("div",{className:"btn1 bg_full",onClick:function(){return a(l.PAGE211)}}),c.a.createElement("div",{className:"hands bg_full",onClick:function(){return a(l.PAGE211)}}),c.a.createElement("div",{className:"btn2 bg_full",onClick:function(){return a(l.PAGE212)}}),c.a.createElement("div",{className:"hands two bg_full",onClick:function(){return a(l.PAGE212)}}),c.a.createElement("div",{className:"btn3 bg_full",onClick:function(){return a(l.PAGE213)}}),c.a.createElement("div",{className:"hands three bg_full",onClick:function(){return a(l.PAGE213)}}),c.a.createElement("div",{className:"text1 bg_full"}),c.a.createElement("div",{className:"text2 bg_full"}),c.a.createElement("div",{className:"text3 bg_full"}),c.a.createElement("div",{className:"back bg_full",onClick:function(){return a(l.PAGE1)}})))}},{key:l.PAGE211,page:function(e){var a=e.changePage;return(c.a.createElement("div",{className:"page211"},c.a.createElement("div",{className:"mobile_box bg_1 bg_full"}),c.a.createElement("div",{className:"back bg_full",onClick:function(){return a(l.PAGE21)}})))}},{key:l.PAGE212,page:function(e){var a=e.changePage;return(c.a.createElement("div",{className:"page211"},c.a.createElement("div",{className:"mobile_box bg_2 bg_full"}),c.a.createElement("div",{className:"back bg_full",onClick:function(){return a(l.PAGE21)}})))}},{key:l.PAGE213,page:function(e){var a=e.changePage;return(c.a.createElement("div",{className:"page211"},c.a.createElement("div",{className:"mobile_box bg_3 bg_full"}),c.a.createElement("div",{className:"back bg_full",onClick:function(){return a(l.PAGE21)}})))}},{key:l.PAGE22,page:function(e){var a=e.changePage;return(c.a.createElement("div",{className:"page22"},c.a.createElement("div",{className:"mobile_box bg bg_full"}),c.a.createElement("div",{className:"btn1",onClick:function(){return a(l.PAGE221)}}),c.a.createElement("div",{className:"btn2",onClick:function(){return a(l.PAGE222)}}),c.a.createElement("div",{className:"btn3",onClick:function(){return a(l.PAGE223)}}),c.a.createElement("div",{className:"back bg_full",onClick:function(){return a(l.PAGE1)}})))}},{key:l.PAGE221,page:function(e){var a=e.changePage;return(c.a.createElement("div",{className:"page221"},c.a.createElement("div",{className:"mobile_box bg bg_full"}),c.a.createElement("div",{className:"back bg_full",onClick:function(){return a(l.PAGE22)}}),c.a.createElement("div",{className:"title bg_full"}),c.a.createElement("div",{className:"head"}),c.a.createElement("div",{className:"qa bg_full",onClick:function(){return a(l.PAGE2211)}}),c.a.createElement("div",{className:"hands bg_full",onClick:function(){return a(l.PAGE2211)}})))}},{key:l.PAGE2211,page:function(e){var a=e.changePage;return(c.a.createElement("div",{className:"page2211"},c.a.createElement("div",{className:"mobile_box bg bg_full"}),c.a.createElement("div",{className:"back bg_full",onClick:function(){return a(l.PAGE221)}}),c.a.createElement("div",{className:"over bg_full",onClick:function(){a(l.PAGE22)}})))}},{key:l.PAGE222,page:function(e){var a=e.changePage,t=Object(n.useState)(localStorage.getItem("type")||"student"),i=Object(d.a)(t,2),r=i[0],s=i[1];return c.a.createElement("div",{className:"page222"},c.a.createElement("div",{className:"mobile_box bg bg_full"}),c.a.createElement("div",{className:"back bg_full",onClick:function(){return a(l.PAGE22)}}),c.a.createElement("div",{className:"left bg_full"}),c.a.createElement("div",{className:"div21 bg_full"}),c.a.createElement("div",{className:"div4 bg_full"}),c.a.createElement("div",{className:"title bg_full"}),c.a.createElement("div",{className:"logo bg_full"}),c.a.createElement("div",{className:"worker bg_full ".concat("worker"===r?"checked":""),onClick:function(){s("worker"),localStorage.setItem("type","worker"),setTimeout((function(){return a(l.PAGE2221)}),300)}}),c.a.createElement("div",{className:"student bg_full ".concat("student"===r?"checked":""),onClick:function(){s("student"),localStorage.setItem("type","student"),setTimeout((function(){return a(l.PAGE2222)}),300)}}))}},{key:l.PAGE2221,page:function(e){var a=e.changePage,t=Object(n.useState)(E.STEP0),i=Object(d.a)(t,2),r=i[0],s=i[1],m=function(e){g(),s(e)};return r===E.STEP0?c.a.createElement("div",{className:"page2221"},c.a.createElement("div",{className:"mobile_box bg bg_full"}),c.a.createElement("div",{className:"back bg_full",onClick:function(){return a(l.PAGE222)}}),c.a.createElement("div",{className:"qa bg_full",onClick:function(){return m(E.STEP1)}}),c.a.createElement("div",{className:"hands bg_full",onClick:function(){return m(E.STEP1)}})):r===E.STEP1?c.a.createElement("div",{className:"page2211"},c.a.createElement("div",{className:"mobile_box bg bg_full"}),c.a.createElement("div",{className:"back bg_full",onClick:function(){return m(E.STEP0)}}),c.a.createElement("div",{className:"btn_next next btn_next2 bg_full",onClick:function(){return m(E.STEP2)}})):r===E.STEP2?c.a.createElement("div",{className:"page2221"},c.a.createElement("div",{className:"mobile_box bg_2 bg_full"}),c.a.createElement("div",{className:"btn_next next_2 bg_full",onClick:function(){return m(E.STEP3)}})):r===E.STEP3?c.a.createElement("div",{className:"page2222"},c.a.createElement("div",{className:"mobile_box bg6 bg_full"}),c.a.createElement("div",{className:"btn_next next6 bg_full",onClick:function(){return a(l.PAGE1)}})):null}},{key:l.PAGE2222,page:function(e){var a=e.changePage,t=Object(n.useState)(v.STEP0),i=Object(d.a)(t,2),r=i[0],s=i[1],m=function(e){g(),s(e)};return r===v.STEP0?c.a.createElement("div",{className:"page2222"},c.a.createElement("div",{className:"mobile_box bg bg_full"}),c.a.createElement("div",{className:"yes bg_full",onClick:function(){return m(v.STEP3)}}),c.a.createElement("div",{className:"no bg_full",onClick:function(){return m(v.STEP1)}})):r===v.STEP1?c.a.createElement("div",{className:"page2222"},c.a.createElement("div",{className:"mobile_box bg1 bg_full"}),c.a.createElement("div",{className:"online bg_full",onClick:function(){return m(v.STEP11)}}),c.a.createElement("div",{className:"offline bg_full",onClick:function(){return m(v.STEP12)}})):r===v.STEP11?c.a.createElement("div",{className:"page2222"},c.a.createElement("div",{className:"mobile_box bg11 bg_full"}),c.a.createElement("div",{className:"next11 bg_full",onClick:function(){return m(v.STEP2)}})):r===v.STEP12?c.a.createElement("div",{className:"page2222"},c.a.createElement("div",{className:"mobile_box bg12 bg_full"}),c.a.createElement("div",{className:"next12 bg_full",onClick:function(){return m(v.STEP2)}})):r===v.STEP2?c.a.createElement("div",{className:"page2222"},c.a.createElement("div",{className:"mobile_box bg2 bg_full"}),c.a.createElement("div",{className:"in_home bg_full",onClick:function(){return m(v.STEP21)}}),c.a.createElement("div",{className:"in_school bg_full",onClick:function(){return m(v.STEP22)}})):r===v.STEP21?c.a.createElement("div",{className:"page2222"},c.a.createElement("div",{className:"mobile_box bg21 bg_full"}),c.a.createElement("div",{className:"next21 bg_full",onClick:function(){return a(l.PAGE2221)}})):r===v.STEP22?c.a.createElement("div",{className:"page2222"},c.a.createElement("div",{className:"mobile_box bg22 bg_full"}),c.a.createElement("div",{className:"next22 bg_full",onClick:function(){return a(l.PAGE2221)}})):r===v.STEP3?c.a.createElement("div",{className:"page2221"},c.a.createElement("div",{className:"mobile_box bg bg_full"}),c.a.createElement("div",{className:"back bg_full",onClick:function(){return m(v.STEP0)}}),c.a.createElement("div",{className:"qa bg_full",onClick:function(){return m(v.STEP4)}}),c.a.createElement("div",{className:"hands bg_full",onClick:function(){return m(v.STEP4)}})):r===v.STEP4?c.a.createElement("div",{className:"page2211"},c.a.createElement("div",{className:"mobile_box bg bg_full"}),c.a.createElement("div",{className:"back bg_full",onClick:function(){return m(v.STEP3)}}),c.a.createElement("div",{className:"btn_next bg_full",onClick:function(){return m(v.STEP5)}})):r===v.STEP5?c.a.createElement("div",{className:"page2221"},c.a.createElement("div",{className:"mobile_box bg2 bg_full"}),c.a.createElement("div",{className:"in_province bg_full",onClick:function(){return m(v.STEP51)}}),c.a.createElement("div",{className:"out_province bg_full",onClick:function(){return m(v.STEP52)}}),c.a.createElement("div",{className:"btn_next next2 bg_full",onClick:function(){return m(v.STEP51)}})):r===v.STEP51?c.a.createElement("div",{className:"page2221"},c.a.createElement("div",{className:"mobile_box bg21 bg_full"}),c.a.createElement("div",{className:"btn_next next51 bg_full",onClick:function(){return m(v.STEP6)}})):r===v.STEP52?c.a.createElement("div",{className:"page2221"},c.a.createElement("div",{className:"mobile_box bg22 bg_full"}),c.a.createElement("div",{className:"btn_next next52 bg_full",onClick:function(){return m(v.STEP6)}})):r===v.STEP6?c.a.createElement("div",{className:"page2222"},c.a.createElement("div",{className:"mobile_box bg66 bg_full"}),c.a.createElement("div",{className:"btn_next next6 bg_full",onClick:function(){return a(l.PAGE1)}})):null}},{key:l.PAGE223,page:function(e){var a=e.changePage,t=Object(n.useState)(""),i=Object(d.a)(t,2),r=i[0],s=i[1],m=Object(n.useState)([]),o=Object(d.a)(m,2),u=o[0],E=o[1];return c.a.createElement("div",{className:"page223"},c.a.createElement("div",{className:"mobile_box bg bg_full"}),c.a.createElement("div",{className:"left bg_full"}),c.a.createElement("div",{className:"right bg_full"}),c.a.createElement("div",{className:"div21 bg_full"}),c.a.createElement("div",{className:"div4 bg_full"}),c.a.createElement("div",{className:"title bg_full"}),c.a.createElement("div",{className:"logo bg_full"}),c.a.createElement("div",{className:"one bg_full",onClick:function(){E([].concat(Object(N.a)(u),["one"])),s("one")}}),c.a.createElement("div",{className:"two bg_full",onClick:function(){E([].concat(Object(N.a)(u),["two"])),s("two")}}),-1!==u.indexOf("one")&&c.a.createElement("div",{className:"one_content bg_full"}),-1!==u.indexOf("two")&&c.a.createElement("div",{className:"two_content bg_full"}),c.a.createElement("div",{className:"back bg_full",onClick:function(){return a(l.PAGE22)}}),c.a.createElement("div",{className:"hands bg_full ".concat(r),onClick:function(){"one"===r?(E([].concat(Object(N.a)(u),["two"])),s("two")):(E([].concat(Object(N.a)(u),["one"])),s("one"))}}))}},{key:l.PAGE23,page:function(e){var a=e.changePage,t=Object(n.useState)(0),i=Object(d.a)(t,2),r=i[0],s=i[1];return c.a.createElement("div",{className:"page23"},c.a.createElement("div",{className:"mobile_box bg bg_full",onClick:function(){return a(l.PAGE1)}}),c.a.createElement("div",{className:"left bg_full"}),c.a.createElement("div",{className:"div2 bg_full"}),c.a.createElement("div",{className:"div17 bg_full"}),c.a.createElement("div",{className:"title bg_full"}),c.a.createElement("div",{className:"logo bg_full"}),c.a.createElement("div",{className:"kefu bg_full"}),c.a.createElement("div",{className:"question1 bg_full",onClick:function(){return s(1)}}),c.a.createElement("div",{className:"hands bg_full",onClick:function(){return s(1)}}),c.a.createElement("div",{className:"question1_content bg_full",onClick:function(){return s(1)}}),c.a.createElement("div",{className:"question2 bg_full",onClick:function(){return s(2)}}),c.a.createElement("div",{className:"hands bg_full two",onClick:function(){return s(2)}}),c.a.createElement("div",{className:"question2_content bg_full",onClick:function(){return s(2)}}),c.a.createElement("div",{className:"question3 bg_full",onClick:function(){return s(3)}}),c.a.createElement("div",{className:"hands three bg_full",onClick:function(){return s(3)}}),c.a.createElement("div",{className:"question3_content bg_full",onClick:function(){return s(3)}}),r>0&&c.a.createElement("div",{className:"answer bg_full"}),r>0&&c.a.createElement("div",{className:"answer_content".concat(r)},1===r&&c.a.createElement(c.a.Fragment,null,c.a.createElement("div",{className:"title bg_full"}),c.a.createElement("div",{className:"content bg_full"}))),c.a.createElement("div",{className:"back bg_full",onClick:function(){return a(l.PAGE1)}}))}},{key:l.PAGE231,page:function(e){var a=e.changePage;return(c.a.createElement("div",{className:"page231"},c.a.createElement("div",{className:"mobile_box bg bg_full",onClick:function(){return a(l.PAGE1)}})))}},{key:l.PAGE24,page:function(e){var a=e.changePage;return(c.a.createElement("div",{className:"page24"},c.a.createElement("div",{className:"mobile_box bg bg_full"}),c.a.createElement("div",{className:"left bg_full"}),c.a.createElement("div",{className:"right bg_full"}),c.a.createElement("div",{className:"back bg_full",onClick:function(){return a(l.PAGE1)}}),c.a.createElement("div",{className:"div21 bg_full"}),c.a.createElement("div",{className:"div4 bg_full"}),c.a.createElement("div",{className:"title bg_full"}),c.a.createElement("div",{className:"logo bg_full"}),c.a.createElement("div",{className:"btn1 bg_full",onClick:function(){return a(l.PAGE241)}}),c.a.createElement("div",{className:"hands_click bg_full"}),c.a.createElement("div",{className:"btn2 bg_full",onClick:function(){return a(l.PAGE242)}}),c.a.createElement("div",{className:"hands_click bg_full two"}),c.a.createElement("div",{className:"btn3 bg_full",onClick:function(){return a(l.PAGE243)}}),c.a.createElement("div",{className:"hands_click bg_full three"}),c.a.createElement("div",{className:"hands bg_full"}),c.a.createElement("div",{className:"question bg_full"})))}},{key:l.PAGE241,page:function(e){var a=e.changePage;return(c.a.createElement("div",{className:"page241"},c.a.createElement("div",{className:"mobile_box bg bg_full"}),c.a.createElement("div",{className:"back bg_full",onClick:function(){return a(l.PAGE24)}}),c.a.createElement("div",{className:"exit bg_full",onClick:function(){a(l.PAGE1)}}),c.a.createElement("a",{href:"tel:0371-55166198",className:"tel_liu"}," ")))}},{key:l.PAGE242,page:function(e){var a=e.changePage;return(c.a.createElement("div",{className:"page242"},c.a.createElement("div",{className:"mobile_box bg bg_full"}),c.a.createElement("div",{className:"back bg_full",onClick:function(){return a(l.PAGE24)}}),c.a.createElement("div",{className:"exit bg_full",onClick:function(){a(l.PAGE1)}}),c.a.createElement("a",{href:"tel:0371-55166138",className:"tel_niu"}," ")))}},{key:l.PAGE243,page:function(e){var a=e.changePage;return(c.a.createElement("div",{className:"page243"},c.a.createElement("div",{className:"mobile_box bg bg_full"}),c.a.createElement("div",{className:"back bg_full",onClick:function(){return a(l.PAGE24)}}),c.a.createElement("div",{className:"exit bg_full",onClick:function(){a(l.PAGE1)}}),c.a.createElement("a",{href:"tel:0371-55166630",className:"tel_niu"}," ")))}}]),p=function(e){Object(o.a)(t,e);var a=Object(u.a)(t);function t(e){var n;return Object(s.a)(this,t),(n=a.call(this,e)).bgAudioCxt=null,n.changePage=function(e){var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];a||g(),n.setState({page:e})},n.init=function(){n.bgAudioCxt&&(n.bgAudioCxt.onload=function(){n.bgAudioCxt.play()});try{n.playAudio()}catch(e){console.log(e)}},n.playAudio=function(){var e=n.state.playFlag,a=n.bgAudioCxt,t=function(){e||(a.play(),n.setState({playFlag:!0}))};a.play(),document.addEventListener("WeixinJSBridgeReady",(function(){t()}),!1),window.onload=function(){t()},window.wx&&(window.wx.config({appId:"",debug:!1,jsApiList:[],nonceStr:"",signature:"",timestamp:1}),window.wx.ready((function(){n.bgAudioCxt.play(),n.setState({playFlag:!0})})))},n.state={page:l.LOADING},n}return Object(m.a)(t,[{key:"componentDidMount",value:function(){this.init()}},{key:"render",value:function(){var e=this,a=this.state.page,t=P.find((function(e){return e.key===a})),i=t&&t.page;return c.a.createElement(n.Fragment,null,a===l.LOADING&&c.a.createElement(f,{changePage:this.changePage}),c.a.createElement(_,null,i&&c.a.createElement(i,{changePage:this.changePage})),c.a.createElement("audio",{id:"bgAudio",ref:function(a){return e.bgAudioCxt=a},src:"http://zz-metro.oss-cn-hangzhou.aliyuncs.com/bg.mp3",preload:"auto",hidden:!0,loop:!0,autoPlay:!0}),c.a.createElement("audio",{id:"btnMusic",hidden:!0,preload:"auto",autoPlay:!0,loop:!1}))}}]),t}(c.a.Component);Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));r.a.render(c.a.createElement(c.a.StrictMode,null,c.a.createElement(p,null)),document.getElementById("root")),"serviceWorker"in navigator&&navigator.serviceWorker.ready.then((function(e){e.unregister()})).catch((function(e){console.error(e.message)}))}],[[15,1,2]]]); //# sourceMappingURL=main.78b78231.chunk.js.map