text: (window.webpackJsonp=window.webpackJsonp||[]).push([[12],{312:function(module,exports,__webpack_require__){__webpack_require__(11),module.exports=__webpack_require__(313)},313:function(module,exports,__webpack_require__){"use strict";var _interopRequireWildcard=__webpack_require__(314),_coreman=__webpack_require__(13),views=(_interopRequireWildcard(__webpack_require__(44)),_interopRequireWildcard(__webpack_require__(46)),_interopRequireWildcard(__webpack_require__(45)),_interopRequireWildcard(__webpack_require__(318))),actions=_interopRequireWildcard(__webpack_require__(320));(0,_coreman.app)({model:{info:"loading ... "},view:{"/":views.main},actions:actions,hooks:{},readies:[function(model,actions,error){actions.oauthRequest()}],plugins:[_coreman.Router],root:document.getElementById("page-group")})},318:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1),_Object$defineProperty=__webpack_require__(0);_Object$defineProperty(exports,"__esModule",{value:!0}),_Object$defineProperty(exports,"main",{enumerable:!0,get:function(){return _main.default}});var _main=_interopRequireDefault(__webpack_require__(319))},319:function(module,exports,__webpack_require__){"use strict";__webpack_require__(0)(exports,"__esModule",{value:!0}),exports.default=void 0;var _coreman=__webpack_require__(13);exports.default=function(model,actions){return(0,_coreman.h)("div",{class:"page",id:"xxx"},(0,_coreman.h)("header",{class:"ui-header ui-header-stable ui-border-b"},(0,_coreman.h)("i",{class:"icon-arrowL",onclick:function(_){return actions.router.back()}}),(0,_coreman.h)("h1",null,"oauth-test")),(0,_coreman.h)("div",{class:"ui-container","data-toggle":"scroller"},(0,_coreman.h)("div",{class:"ui-wrapper"},model.info)))}},320:function(module,exports,__webpack_require__){"use strict";var _context,_Object$keys=__webpack_require__(133),_forEachInstanceProperty=__webpack_require__(134),_Object$defineProperty=__webpack_require__(0);_Object$defineProperty(exports,"__esModule",{value:!0});var _main=__webpack_require__(321);_forEachInstanceProperty(_context=_Object$keys(_main)).call(_context,function(key){"default"!==key&&"__esModule"!==key&&_Object$defineProperty(exports,key,{enumerable:!0,get:function(){return _main[key]}})})},321:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1);__webpack_require__(0)(exports,"__esModule",{value:!0}),exports.render=exports.oauthRequest=void 0;var _stringify=_interopRequireDefault(__webpack_require__(42)),_config=_interopRequireDefault(__webpack_require__(9)),_IF=_interopRequireDefault(__webpack_require__(322)),_baseUtil=__webpack_require__(23);exports.oauthRequest=function(model,data,actions){var _openid=(0,_baseUtil.getQueryString)("openid");(0,_IF.default)(_openid,_config.default.publicKey).then(function(response){actions.render((0,_stringify.default)(response)+"\ncurrentToken:"+localStorage.getItem("__t__"))}).otherwise(function(err){actions.render((0,_stringify.default)(err))})};exports.render=function(model,data,actions){return{info:data}}},322:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1);__webpack_require__(0)(exports,"__esModule",{value:!0}),exports.default=void 0;var _api=_interopRequireDefault(__webpack_require__(48));exports.default=function(openid,publicKey,onError){return(0,_api.default)("IF010210",{openid:openid,publicKey:publicKey},onError)}}},[[312,0,1,2,3]]]);