From 8845f271d681960f62b3229281960c99abe26a00 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Tue, 15 Sep 2015 16:54:26 -0300 Subject: [PATCH] New release v0.4.1 --- bitcore-wallet-client.js | 1146 ++++++++++++++++------------------ bitcore-wallet-client.min.js | 92 +-- bower.json | 2 +- package.json | 2 +- 4 files changed, 598 insertions(+), 644 deletions(-) diff --git a/bitcore-wallet-client.js b/bitcore-wallet-client.js index b930faa7..f3cb00fb 100644 --- a/bitcore-wallet-client.js +++ b/bitcore-wallet-client.js @@ -1591,7 +1591,7 @@ API.prototype.addAccess = function(opts, cb) { module.exports = API; }).call(this,require('_process')) -},{"../package.json":472,"./credentials":3,"./errors/clienterror":4,"./errors/errordefinitions":5,"./log":7,"./paypro":8,"./verifier":9,"_process":301,"async":10,"bitcore-wallet-utils":45,"browser-request":128,"events":292,"lodash":324,"preconditions":325,"querystring":305,"request":330,"sjcl":421,"socket.io-client":422,"url":319,"util":321}],3:[function(require,module,exports){ +},{"../package.json":470,"./credentials":3,"./errors/clienterror":4,"./errors/errordefinitions":5,"./log":7,"./paypro":8,"./verifier":9,"_process":299,"async":10,"bitcore-wallet-utils":45,"browser-request":128,"events":290,"lodash":322,"preconditions":323,"querystring":303,"request":328,"sjcl":419,"socket.io-client":420,"url":317,"util":319}],3:[function(require,module,exports){ (function (Buffer){ 'use strict'; @@ -1967,7 +1967,7 @@ Credentials.fromOldCopayWallet = function(w) { module.exports = Credentials; }).call(this,require("buffer").Buffer) -},{"bitcore-mnemonic":11,"bitcore-wallet-utils":45,"buffer":145,"lodash":324,"preconditions":325,"sjcl":421}],4:[function(require,module,exports){ +},{"bitcore-mnemonic":11,"bitcore-wallet-utils":45,"buffer":145,"lodash":322,"preconditions":323,"sjcl":419}],4:[function(require,module,exports){ 'use strict'; function ClientError(code, message) { @@ -2006,7 +2006,7 @@ errorObjects.codes = _.mapValues(errors, function(v, k) { module.exports = errorObjects; -},{"./clienterror":4,"lodash":324}],6:[function(require,module,exports){ +},{"./clienterror":4,"lodash":322}],6:[function(require,module,exports){ /** * The official client library for bitcore-wallet-service. * @module Client @@ -2029,7 +2029,7 @@ client.sjcl = require('sjcl'); // Expose bitcore client.Bitcore = require('bitcore-wallet-utils').Bitcore; -},{"./api":2,"./verifier":9,"bitcore-wallet-utils":45,"sjcl":421}],7:[function(require,module,exports){ +},{"./api":2,"./verifier":9,"bitcore-wallet-utils":45,"sjcl":419}],7:[function(require,module,exports){ var _ = require('lodash'); /** * @desc @@ -2157,7 +2157,7 @@ var error = new Error(); logger.setLevel('info'); module.exports = logger; -},{"lodash":324}],8:[function(require,module,exports){ +},{"lodash":322}],8:[function(require,module,exports){ (function (process,Buffer){ var $ = require('preconditions').singleton(); @@ -2254,20 +2254,18 @@ PayPro.get = function(opts, cb) { http(opts, function(err, dataBuffer) { if (err) return cb(err); - var request; + var request, verified, signature, serializedDetails; try { var body = BitcorePayPro.PaymentRequest.decode(dataBuffer); request = (new BitcorePayPro()).makePaymentRequest(body); + signature = request.get('signature'); + serializedDetails = request.get('serialized_payment_details'); + // Verify the signature + verified = request.verify(true); } catch (e) { - return cb('Could not parse payment protocol:' + e) + return cb('Could not parse payment protocol: ' + e) } - var signature = request.get('signature'); - var serializedDetails = request.get('serialized_payment_details'); - - // Verify the signature - var verified = request.verify(true); - // Get the payment details var decodedDetails = BitcorePayPro.PaymentDetails.decode(serializedDetails); var pd = new BitcorePayPro(); @@ -2406,7 +2404,7 @@ PayPro.send = function(opts, cb) { module.exports = PayPro; }).call(this,require('_process'),require("buffer").Buffer) -},{"_process":301,"bitcore-payment-protocol":22,"bitcore-wallet-utils":45,"buffer":145,"http":293,"https":297,"preconditions":325}],9:[function(require,module,exports){ +},{"_process":299,"bitcore-payment-protocol":22,"bitcore-wallet-utils":45,"buffer":145,"http":291,"https":295,"preconditions":323}],9:[function(require,module,exports){ /** @namespace Verifier */ var $ = require('preconditions').singleton(); @@ -2567,7 +2565,7 @@ Verifier.checkTxProposal = function(credentials, txp, opts) { module.exports = Verifier; -},{"./log":7,"bitcore-wallet-utils":45,"lodash":324,"preconditions":325}],10:[function(require,module,exports){ +},{"./log":7,"bitcore-wallet-utils":45,"lodash":322,"preconditions":323}],10:[function(require,module,exports){ (function (process){ /*! * async @@ -3694,7 +3692,7 @@ module.exports = Verifier; }()); }).call(this,require('_process')) -},{"_process":301}],11:[function(require,module,exports){ +},{"_process":299}],11:[function(require,module,exports){ module.exports = require('./lib/mnemonic'); },{"./lib/mnemonic":13}],12:[function(require,module,exports){ @@ -4087,7 +4085,7 @@ function pbkdf2(key, salt, iterations, dkLen) { module.exports = pbkdf2; }).call(this,require("buffer").Buffer) -},{"buffer":145,"crypto":151}],15:[function(require,module,exports){ +},{"buffer":145,"crypto":149}],15:[function(require,module,exports){ 'use strict'; var chinese = ['的', '一', '是', '在', '不', '了', '有', '和', '人', '这', '中', '大', '为', '上', '个', '国', '我', '以', '要', '他', '时', '来', '用', '们', '生', '到', '作', '地', '于', '出', '就', '分', '对', '成', '会', '可', '主', '发', '年', '动', '同', '工', '也', '能', '下', '过', '子', '说', '产', '种', '面', '而', '方', '后', '多', '定', '行', '学', '法', '所', '民', '得', '经', '十', '三', '之', '进', '着', '等', '部', '度', '家', '电', '力', '里', '如', '水', '化', '高', '自', '二', '理', '起', '小', '物', '现', '实', '加', '量', '都', '两', '体', '制', '机', '当', '使', '点', '从', '业', '本', '去', '把', '性', '好', '应', '开', '它', '合', '还', '因', '由', '其', '些', '然', '前', '外', '天', '政', '四', '日', '那', '社', '义', '事', '平', '形', '相', '全', '表', '间', '样', '与', '关', '各', '重', '新', '线', '内', '数', '正', '心', '反', '你', '明', '看', '原', '又', '么', '利', '比', '或', '但', '质', '气', '第', '向', '道', '命', '此', '变', '条', '只', '没', '结', '解', '问', '意', '建', '月', '公', '无', '系', '军', '很', '情', '者', '最', '立', '代', '想', '已', '通', '并', '提', '直', '题', '党', '程', '展', '五', '果', '料', '象', '员', '革', '位', '入', '常', '文', '总', '次', '品', '式', '活', '设', '及', '管', '特', '件', '长', '求', '老', '头', '基', '资', '边', '流', '路', '级', '少', '图', '山', '统', '接', '知', '较', '将', '组', '见', '计', '别', '她', '手', '角', '期', '根', '论', '运', '农', '指', '几', '九', '区', '强', '放', '决', '西', '被', '干', '做', '必', '战', '先', '回', '则', '任', '取', '据', '处', '队', '南', '给', '色', '光', '门', '即', '保', '治', '北', '造', '百', '规', '热', '领', '七', '海', '口', '东', '导', '器', '压', '志', '世', '金', '增', '争', '济', '阶', '油', '思', '术', '极', '交', '受', '联', '什', '认', '六', '共', '权', '收', '证', '改', '清', '美', '再', '采', '转', '更', '单', '风', '切', '打', '白', '教', '速', '花', '带', '安', '场', '身', '车', '例', '真', '务', '具', '万', '每', '目', '至', '达', '走', '积', '示', '议', '声', '报', '斗', '完', '类', '八', '离', '华', '名', '确', '才', '科', '张', '信', '马', '节', '话', '米', '整', '空', '元', '况', '今', '集', '温', '传', '土', '许', '步', '群', '广', '石', '记', '需', '段', '研', '界', '拉', '林', '律', '叫', '且', '究', '观', '越', '织', '装', '影', '算', '低', '持', '音', '众', '书', '布', '复', '容', '儿', '须', '际', '商', '非', '验', '连', '断', '深', '难', '近', '矿', '千', '周', '委', '素', '技', '备', '半', '办', '青', '省', '列', '习', '响', '约', '支', '般', '史', '感', '劳', '便', '团', '往', '酸', '历', '市', '克', '何', '除', '消', '构', '府', '称', '太', '准', '精', '值', '号', '率', '族', '维', '划', '选', '标', '写', '存', '候', '毛', '亲', '快', '效', '斯', '院', '查', '江', '型', '眼', '王', '按', '格', '养', '易', '置', '派', '层', '片', '始', '却', '专', '状', '育', '厂', '京', '识', '适', '属', '圆', '包', '火', '住', '调', '满', '县', '局', '照', '参', '红', '细', '引', '听', '该', '铁', '价', '严', '首', '底', '液', '官', '德', '随', '病', '苏', '失', '尔', '死', '讲', '配', '女', '黄', '推', '显', '谈', '罪', '神', '艺', '呢', '席', '含', '企', '望', '密', '批', '营', '项', '防', '举', '球', '英', '氧', '势', '告', '李', '台', '落', '木', '帮', '轮', '破', '亚', '师', '围', '注', '远', '字', '材', '排', '供', '河', '态', '封', '另', '施', '减', '树', '溶', '怎', '止', '案', '言', '士', '均', '武', '固', '叶', '鱼', '波', '视', '仅', '费', '紧', '爱', '左', '章', '早', '朝', '害', '续', '轻', '服', '试', '食', '充', '兵', '源', '判', '护', '司', '足', '某', '练', '差', '致', '板', '田', '降', '黑', '犯', '负', '击', '范', '继', '兴', '似', '余', '坚', '曲', '输', '修', '故', '城', '夫', '够', '送', '笔', '船', '占', '右', '财', '吃', '富', '春', '职', '觉', '汉', '画', '功', '巴', '跟', '虽', '杂', '飞', '检', '吸', '助', '升', '阳', '互', '初', '创', '抗', '考', '投', '坏', '策', '古', '径', '换', '未', '跑', '留', '钢', '曾', '端', '责', '站', '简', '述', '钱', '副', '尽', '帝', '射', '草', '冲', '承', '独', '令', '限', '阿', '宣', '环', '双', '请', '超', '微', '让', '控', '州', '良', '轴', '找', '否', '纪', '益', '依', '优', '顶', '础', '载', '倒', '房', '突', '坐', '粉', '敌', '略', '客', '袁', '冷', '胜', '绝', '析', '块', '剂', '测', '丝', '协', '诉', '念', '陈', '仍', '罗', '盐', '友', '洋', '错', '苦', '夜', '刑', '移', '频', '逐', '靠', '混', '母', '短', '皮', '终', '聚', '汽', '村', '云', '哪', '既', '距', '卫', '停', '烈', '央', '察', '烧', '迅', '境', '若', '印', '洲', '刻', '括', '激', '孔', '搞', '甚', '室', '待', '核', '校', '散', '侵', '吧', '甲', '游', '久', '菜', '味', '旧', '模', '湖', '货', '损', '预', '阻', '毫', '普', '稳', '乙', '妈', '植', '息', '扩', '银', '语', '挥', '酒', '守', '拿', '序', '纸', '医', '缺', '雨', '吗', '针', '刘', '啊', '急', '唱', '误', '训', '愿', '审', '附', '获', '茶', '鲜', '粮', '斤', '孩', '脱', '硫', '肥', '善', '龙', '演', '父', '渐', '血', '欢', '械', '掌', '歌', '沙', '刚', '攻', '谓', '盾', '讨', '晚', '粒', '乱', '燃', '矛', '乎', '杀', '药', '宁', '鲁', '贵', '钟', '煤', '读', '班', '伯', '香', '介', '迫', '句', '丰', '培', '握', '兰', '担', '弦', '蛋', '沉', '假', '穿', '执', '答', '乐', '谁', '顺', '烟', '缩', '征', '脸', '喜', '松', '脚', '困', '异', '免', '背', '星', '福', '买', '染', '井', '概', '慢', '怕', '磁', '倍', '祖', '皇', '促', '静', '补', '评', '翻', '肉', '践', '尼', '衣', '宽', '扬', '棉', '希', '伤', '操', '垂', '秋', '宜', '氢', '套', '督', '振', '架', '亮', '末', '宪', '庆', '编', '牛', '触', '映', '雷', '销', '诗', '座', '居', '抓', '裂', '胞', '呼', '娘', '景', '威', '绿', '晶', '厚', '盟', '衡', '鸡', '孙', '延', '危', '胶', '屋', '乡', '临', '陆', '顾', '掉', '呀', '灯', '岁', '措', '束', '耐', '剧', '玉', '赵', '跳', '哥', '季', '课', '凯', '胡', '额', '款', '绍', '卷', '齐', '伟', '蒸', '殖', '永', '宗', '苗', '川', '炉', '岩', '弱', '零', '杨', '奏', '沿', '露', '杆', '探', '滑', '镇', '饭', '浓', '航', '怀', '赶', '库', '夺', '伊', '灵', '税', '途', '灭', '赛', '归', '召', '鼓', '播', '盘', '裁', '险', '康', '唯', '录', '菌', '纯', '借', '糖', '盖', '横', '符', '私', '努', '堂', '域', '枪', '润', '幅', '哈', '竟', '熟', '虫', '泽', '脑', '壤', '碳', '欧', '遍', '侧', '寨', '敢', '彻', '虑', '斜', '薄', '庭', '纳', '弹', '饲', '伸', '折', '麦', '湿', '暗', '荷', '瓦', '塞', '床', '筑', '恶', '户', '访', '塔', '奇', '透', '梁', '刀', '旋', '迹', '卡', '氯', '遇', '份', '毒', '泥', '退', '洗', '摆', '灰', '彩', '卖', '耗', '夏', '择', '忙', '铜', '献', '硬', '予', '繁', '圈', '雪', '函', '亦', '抽', '篇', '阵', '阴', '丁', '尺', '追', '堆', '雄', '迎', '泛', '爸', '楼', '避', '谋', '吨', '野', '猪', '旗', '累', '偏', '典', '馆', '索', '秦', '脂', '潮', '爷', '豆', '忽', '托', '惊', '塑', '遗', '愈', '朱', '替', '纤', '粗', '倾', '尚', '痛', '楚', '谢', '奋', '购', '磨', '君', '池', '旁', '碎', '骨', '监', '捕', '弟', '暴', '割', '贯', '殊', '释', '词', '亡', '壁', '顿', '宝', '午', '尘', '闻', '揭', '炮', '残', '冬', '桥', '妇', '警', '综', '招', '吴', '付', '浮', '遭', '徐', '您', '摇', '谷', '赞', '箱', '隔', '订', '男', '吹', '园', '纷', '唐', '败', '宋', '玻', '巨', '耕', '坦', '荣', '闭', '湾', '键', '凡', '驻', '锅', '救', '恩', '剥', '凝', '碱', '齿', '截', '炼', '麻', '纺', '禁', '废', '盛', '版', '缓', '净', '睛', '昌', '婚', '涉', '筒', '嘴', '插', '岸', '朗', '庄', '街', '藏', '姑', '贸', '腐', '奴', '啦', '惯', '乘', '伙', '恢', '匀', '纱', '扎', '辩', '耳', '彪', '臣', '亿', '璃', '抵', '脉', '秀', '萨', '俄', '网', '舞', '店', '喷', '纵', '寸', '汗', '挂', '洪', '贺', '闪', '柬', '爆', '烯', '津', '稻', '墙', '软', '勇', '像', '滚', '厘', '蒙', '芳', '肯', '坡', '柱', '荡', '腿', '仪', '旅', '尾', '轧', '冰', '贡', '登', '黎', '削', '钻', '勒', '逃', '障', '氨', '郭', '峰', '币', '港', '伏', '轨', '亩', '毕', '擦', '莫', '刺', '浪', '秘', '援', '株', '健', '售', '股', '岛', '甘', '泡', '睡', '童', '铸', '汤', '阀', '休', '汇', '舍', '牧', '绕', '炸', '哲', '磷', '绩', '朋', '淡', '尖', '启', '陷', '柴', '呈', '徒', '颜', '泪', '稍', '忘', '泵', '蓝', '拖', '洞', '授', '镜', '辛', '壮', '锋', '贫', '虚', '弯', '摩', '泰', '幼', '廷', '尊', '窗', '纲', '弄', '隶', '疑', '氏', '宫', '姐', '震', '瑞', '怪', '尤', '琴', '循', '描', '膜', '违', '夹', '腰', '缘', '珠', '穷', '森', '枝', '竹', '沟', '催', '绳', '忆', '邦', '剩', '幸', '浆', '栏', '拥', '牙', '贮', '礼', '滤', '钠', '纹', '罢', '拍', '咱', '喊', '袖', '埃', '勤', '罚', '焦', '潜', '伍', '墨', '欲', '缝', '姓', '刊', '饱', '仿', '奖', '铝', '鬼', '丽', '跨', '默', '挖', '链', '扫', '喝', '袋', '炭', '污', '幕', '诸', '弧', '励', '梅', '奶', '洁', '灾', '舟', '鉴', '苯', '讼', '抱', '毁', '懂', '寒', '智', '埔', '寄', '届', '跃', '渡', '挑', '丹', '艰', '贝', '碰', '拔', '爹', '戴', '码', '梦', '芽', '熔', '赤', '渔', '哭', '敬', '颗', '奔', '铅', '仲', '虎', '稀', '妹', '乏', '珍', '申', '桌', '遵', '允', '隆', '螺', '仓', '魏', '锐', '晓', '氮', '兼', '隐', '碍', '赫', '拨', '忠', '肃', '缸', '牵', '抢', '博', '巧', '壳', '兄', '杜', '讯', '诚', '碧', '祥', '柯', '页', '巡', '矩', '悲', '灌', '龄', '伦', '票', '寻', '桂', '铺', '圣', '恐', '恰', '郑', '趣', '抬', '荒', '腾', '贴', '柔', '滴', '猛', '阔', '辆', '妻', '填', '撤', '储', '签', '闹', '扰', '紫', '砂', '递', '戏', '吊', '陶', '伐', '喂', '疗', '瓶', '婆', '抚', '臂', '摸', '忍', '虾', '蜡', '邻', '胸', '巩', '挤', '偶', '弃', '槽', '劲', '乳', '邓', '吉', '仁', '烂', '砖', '租', '乌', '舰', '伴', '瓜', '浅', '丙', '暂', '燥', '橡', '柳', '迷', '暖', '牌', '秧', '胆', '详', '簧', '踏', '瓷', '谱', '呆', '宾', '糊', '洛', '辉', '愤', '竞', '隙', '怒', '粘', '乃', '绪', '肩', '籍', '敏', '涂', '熙', '皆', '侦', '悬', '掘', '享', '纠', '醒', '狂', '锁', '淀', '恨', '牲', '霸', '爬', '赏', '逆', '玩', '陵', '祝', '秒', '浙', '貌', '役', '彼', '悉', '鸭', '趋', '凤', '晨', '畜', '辈', '秩', '卵', '署', '梯', '炎', '滩', '棋', '驱', '筛', '峡', '冒', '啥', '寿', '译', '浸', '泉', '帽', '迟', '硅', '疆', '贷', '漏', '稿', '冠', '嫩', '胁', '芯', '牢', '叛', '蚀', '奥', '鸣', '岭', '羊', '凭', '串', '塘', '绘', '酵', '融', '盆', '锡', '庙', '筹', '冻', '辅', '摄', '袭', '筋', '拒', '僚', '旱', '钾', '鸟', '漆', '沈', '眉', '疏', '添', '棒', '穗', '硝', '韩', '逼', '扭', '侨', '凉', '挺', '碗', '栽', '炒', '杯', '患', '馏', '劝', '豪', '辽', '勃', '鸿', '旦', '吏', '拜', '狗', '埋', '辊', '掩', '饮', '搬', '骂', '辞', '勾', '扣', '估', '蒋', '绒', '雾', '丈', '朵', '姆', '拟', '宇', '辑', '陕', '雕', '偿', '蓄', '崇', '剪', '倡', '厅', '咬', '驶', '薯', '刷', '斥', '番', '赋', '奉', '佛', '浇', '漫', '曼', '扇', '钙', '桃', '扶', '仔', '返', '俗', '亏', '腔', '鞋', '棱', '覆', '框', '悄', '叔', '撞', '骗', '勘', '旺', '沸', '孤', '吐', '孟', '渠', '屈', '疾', '妙', '惜', '仰', '狠', '胀', '谐', '抛', '霉', '桑', '岗', '嘛', '衰', '盗', '渗', '脏', '赖', '涌', '甜', '曹', '阅', '肌', '哩', '厉', '烃', '纬', '毅', '昨', '伪', '症', '煮', '叹', '钉', '搭', '茎', '笼', '酷', '偷', '弓', '锥', '恒', '杰', '坑', '鼻', '翼', '纶', '叙', '狱', '逮', '罐', '络', '棚', '抑', '膨', '蔬', '寺', '骤', '穆', '冶', '枯', '册', '尸', '凸', '绅', '坯', '牺', '焰', '轰', '欣', '晋', '瘦', '御', '锭', '锦', '丧', '旬', '锻', '垄', '搜', '扑', '邀', '亭', '酯', '迈', '舒', '脆', '酶', '闲', '忧', '酚', '顽', '羽', '涨', '卸', '仗', '陪', '辟', '惩', '杭', '姚', '肚', '捉', '飘', '漂', '昆', '欺', '吾', '郎', '烷', '汁', '呵', '饰', '萧', '雅', '邮', '迁', '燕', '撒', '姻', '赴', '宴', '烦', '债', '帐', '斑', '铃', '旨', '醇', '董', '饼', '雏', '姿', '拌', '傅', '腹', '妥', '揉', '贤', '拆', '歪', '葡', '胺', '丢', '浩', '徽', '昂', '垫', '挡', '览', '贪', '慰', '缴', '汪', '慌', '冯', '诺', '姜', '谊', '凶', '劣', '诬', '耀', '昏', '躺', '盈', '骑', '乔', '溪', '丛', '卢', '抹', '闷', '咨', '刮', '驾', '缆', '悟', '摘', '铒', '掷', '颇', '幻', '柄', '惠', '惨', '佳', '仇', '腊', '窝', '涤', '剑', '瞧', '堡', '泼', '葱', '罩', '霍', '捞', '胎', '苍', '滨', '俩', '捅', '湘', '砍', '霞', '邵', '萄', '疯', '淮', '遂', '熊', '粪', '烘', '宿', '档', '戈', '驳', '嫂', '裕', '徙', '箭', '捐', '肠', '撑', '晒', '辨', '殿', '莲', '摊', '搅', '酱', '屏', '疫', '哀', '蔡', '堵', '沫', '皱', '畅', '叠', '阁', '莱', '敲', '辖', '钩', '痕', '坝', '巷', '饿', '祸', '丘', '玄', '溜', '曰', '逻', '彭', '尝', '卿', '妨', '艇', '吞', '韦', '怨', '矮', '歇']; @@ -4300,11 +4298,7 @@ module.exports = spanish; var ret = []; for(var i = 0; i < decomp.length; ++i){ var a = recursiveDecomp(cano, UChar.fromCharCode(decomp[i])); - //ret.concat(a); //<-why does not this work? - //following block is a workaround. - for(var j = 0; j < a.length; ++j){ - ret.push(a[j]); - } + ret = ret.concat(a); } return ret; } else { @@ -4432,31 +4426,34 @@ module.exports = spanish; UChar.udata={ 0:{60:[,,{824:8814}],61:[,,{824:8800}],62:[,,{824:8815}],65:[,,{768:192,769:193,770:194,771:195,772:256,774:258,775:550,776:196,777:7842,778:197,780:461,783:512,785:514,803:7840,805:7680,808:260}],66:[,,{775:7682,803:7684,817:7686}],67:[,,{769:262,770:264,775:266,780:268,807:199}],68:[,,{775:7690,780:270,803:7692,807:7696,813:7698,817:7694}],69:[,,{768:200,769:201,770:202,771:7868,772:274,774:276,775:278,776:203,777:7866,780:282,783:516,785:518,803:7864,807:552,808:280,813:7704,816:7706}],70:[,,{775:7710}],71:[,,{769:500,770:284,772:7712,774:286,775:288,780:486,807:290}],72:[,,{770:292,775:7714,776:7718,780:542,803:7716,807:7720,814:7722}],73:[,,{768:204,769:205,770:206,771:296,772:298,774:300,775:304,776:207,777:7880,780:463,783:520,785:522,803:7882,808:302,816:7724}],74:[,,{770:308}],75:[,,{769:7728,780:488,803:7730,807:310,817:7732}],76:[,,{769:313,780:317,803:7734,807:315,813:7740,817:7738}],77:[,,{769:7742,775:7744,803:7746}],78:[,,{768:504,769:323,771:209,775:7748,780:327,803:7750,807:325,813:7754,817:7752}],79:[,,{768:210,769:211,770:212,771:213,772:332,774:334,775:558,776:214,777:7886,779:336,780:465,783:524,785:526,795:416,803:7884,808:490}],80:[,,{769:7764,775:7766}],82:[,,{769:340,775:7768,780:344,783:528,785:530,803:7770,807:342,817:7774}],83:[,,{769:346,770:348,775:7776,780:352,803:7778,806:536,807:350}],84:[,,{775:7786,780:356,803:7788,806:538,807:354,813:7792,817:7790}],85:[,,{768:217,769:218,770:219,771:360,772:362,774:364,776:220,777:7910,778:366,779:368,780:467,783:532,785:534,795:431,803:7908,804:7794,808:370,813:7798,816:7796}],86:[,,{771:7804,803:7806}],87:[,,{768:7808,769:7810,770:372,775:7814,776:7812,803:7816}],88:[,,{775:7818,776:7820}],89:[,,{768:7922,769:221,770:374,771:7928,772:562,775:7822,776:376,777:7926,803:7924}],90:[,,{769:377,770:7824,775:379,780:381,803:7826,817:7828}],97:[,,{768:224,769:225,770:226,771:227,772:257,774:259,775:551,776:228,777:7843,778:229,780:462,783:513,785:515,803:7841,805:7681,808:261}],98:[,,{775:7683,803:7685,817:7687}],99:[,,{769:263,770:265,775:267,780:269,807:231}],100:[,,{775:7691,780:271,803:7693,807:7697,813:7699,817:7695}],101:[,,{768:232,769:233,770:234,771:7869,772:275,774:277,775:279,776:235,777:7867,780:283,783:517,785:519,803:7865,807:553,808:281,813:7705,816:7707}],102:[,,{775:7711}],103:[,,{769:501,770:285,772:7713,774:287,775:289,780:487,807:291}],104:[,,{770:293,775:7715,776:7719,780:543,803:7717,807:7721,814:7723,817:7830}],105:[,,{768:236,769:237,770:238,771:297,772:299,774:301,776:239,777:7881,780:464,783:521,785:523,803:7883,808:303,816:7725}],106:[,,{770:309,780:496}],107:[,,{769:7729,780:489,803:7731,807:311,817:7733}],108:[,,{769:314,780:318,803:7735,807:316,813:7741,817:7739}],109:[,,{769:7743,775:7745,803:7747}],110:[,,{768:505,769:324,771:241,775:7749,780:328,803:7751,807:326,813:7755,817:7753}],111:[,,{768:242,769:243,770:244,771:245,772:333,774:335,775:559,776:246,777:7887,779:337,780:466,783:525,785:527,795:417,803:7885,808:491}],112:[,,{769:7765,775:7767}],114:[,,{769:341,775:7769,780:345,783:529,785:531,803:7771,807:343,817:7775}],115:[,,{769:347,770:349,775:7777,780:353,803:7779,806:537,807:351}],116:[,,{775:7787,776:7831,780:357,803:7789,806:539,807:355,813:7793,817:7791}],117:[,,{768:249,769:250,770:251,771:361,772:363,774:365,776:252,777:7911,778:367,779:369,780:468,783:533,785:535,795:432,803:7909,804:7795,808:371,813:7799,816:7797}],118:[,,{771:7805,803:7807}],119:[,,{768:7809,769:7811,770:373,775:7815,776:7813,778:7832,803:7817}],120:[,,{775:7819,776:7821}],121:[,,{768:7923,769:253,770:375,771:7929,772:563,775:7823,776:255,777:7927,778:7833,803:7925}],122:[,,{769:378,770:7825,775:380,780:382,803:7827,817:7829}],160:[[32],256],168:[[32,776],256,{768:8173,769:901,834:8129}],170:[[97],256],175:[[32,772],256],178:[[50],256],179:[[51],256],180:[[32,769],256],181:[[956],256],184:[[32,807],256],185:[[49],256],186:[[111],256],188:[[49,8260,52],256],189:[[49,8260,50],256],190:[[51,8260,52],256],192:[[65,768]],193:[[65,769]],194:[[65,770],,{768:7846,769:7844,771:7850,777:7848}],195:[[65,771]],196:[[65,776],,{772:478}],197:[[65,778],,{769:506}],198:[,,{769:508,772:482}],199:[[67,807],,{769:7688}],200:[[69,768]],201:[[69,769]],202:[[69,770],,{768:7872,769:7870,771:7876,777:7874}],203:[[69,776]],204:[[73,768]],205:[[73,769]],206:[[73,770]],207:[[73,776],,{769:7726}],209:[[78,771]],210:[[79,768]],211:[[79,769]],212:[[79,770],,{768:7890,769:7888,771:7894,777:7892}],213:[[79,771],,{769:7756,772:556,776:7758}],214:[[79,776],,{772:554}],216:[,,{769:510}],217:[[85,768]],218:[[85,769]],219:[[85,770]],220:[[85,776],,{768:475,769:471,772:469,780:473}],221:[[89,769]],224:[[97,768]],225:[[97,769]],226:[[97,770],,{768:7847,769:7845,771:7851,777:7849}],227:[[97,771]],228:[[97,776],,{772:479}],229:[[97,778],,{769:507}],230:[,,{769:509,772:483}],231:[[99,807],,{769:7689}],232:[[101,768]],233:[[101,769]],234:[[101,770],,{768:7873,769:7871,771:7877,777:7875}],235:[[101,776]],236:[[105,768]],237:[[105,769]],238:[[105,770]],239:[[105,776],,{769:7727}],241:[[110,771]],242:[[111,768]],243:[[111,769]],244:[[111,770],,{768:7891,769:7889,771:7895,777:7893}],245:[[111,771],,{769:7757,772:557,776:7759}],246:[[111,776],,{772:555}],248:[,,{769:511}],249:[[117,768]],250:[[117,769]],251:[[117,770]],252:[[117,776],,{768:476,769:472,772:470,780:474}],253:[[121,769]],255:[[121,776]]}, 256:{256:[[65,772]],257:[[97,772]],258:[[65,774],,{768:7856,769:7854,771:7860,777:7858}],259:[[97,774],,{768:7857,769:7855,771:7861,777:7859}],260:[[65,808]],261:[[97,808]],262:[[67,769]],263:[[99,769]],264:[[67,770]],265:[[99,770]],266:[[67,775]],267:[[99,775]],268:[[67,780]],269:[[99,780]],270:[[68,780]],271:[[100,780]],274:[[69,772],,{768:7700,769:7702}],275:[[101,772],,{768:7701,769:7703}],276:[[69,774]],277:[[101,774]],278:[[69,775]],279:[[101,775]],280:[[69,808]],281:[[101,808]],282:[[69,780]],283:[[101,780]],284:[[71,770]],285:[[103,770]],286:[[71,774]],287:[[103,774]],288:[[71,775]],289:[[103,775]],290:[[71,807]],291:[[103,807]],292:[[72,770]],293:[[104,770]],296:[[73,771]],297:[[105,771]],298:[[73,772]],299:[[105,772]],300:[[73,774]],301:[[105,774]],302:[[73,808]],303:[[105,808]],304:[[73,775]],306:[[73,74],256],307:[[105,106],256],308:[[74,770]],309:[[106,770]],310:[[75,807]],311:[[107,807]],313:[[76,769]],314:[[108,769]],315:[[76,807]],316:[[108,807]],317:[[76,780]],318:[[108,780]],319:[[76,183],256],320:[[108,183],256],323:[[78,769]],324:[[110,769]],325:[[78,807]],326:[[110,807]],327:[[78,780]],328:[[110,780]],329:[[700,110],256],332:[[79,772],,{768:7760,769:7762}],333:[[111,772],,{768:7761,769:7763}],334:[[79,774]],335:[[111,774]],336:[[79,779]],337:[[111,779]],340:[[82,769]],341:[[114,769]],342:[[82,807]],343:[[114,807]],344:[[82,780]],345:[[114,780]],346:[[83,769],,{775:7780}],347:[[115,769],,{775:7781}],348:[[83,770]],349:[[115,770]],350:[[83,807]],351:[[115,807]],352:[[83,780],,{775:7782}],353:[[115,780],,{775:7783}],354:[[84,807]],355:[[116,807]],356:[[84,780]],357:[[116,780]],360:[[85,771],,{769:7800}],361:[[117,771],,{769:7801}],362:[[85,772],,{776:7802}],363:[[117,772],,{776:7803}],364:[[85,774]],365:[[117,774]],366:[[85,778]],367:[[117,778]],368:[[85,779]],369:[[117,779]],370:[[85,808]],371:[[117,808]],372:[[87,770]],373:[[119,770]],374:[[89,770]],375:[[121,770]],376:[[89,776]],377:[[90,769]],378:[[122,769]],379:[[90,775]],380:[[122,775]],381:[[90,780]],382:[[122,780]],383:[[115],256,{775:7835}],416:[[79,795],,{768:7900,769:7898,771:7904,777:7902,803:7906}],417:[[111,795],,{768:7901,769:7899,771:7905,777:7903,803:7907}],431:[[85,795],,{768:7914,769:7912,771:7918,777:7916,803:7920}],432:[[117,795],,{768:7915,769:7913,771:7919,777:7917,803:7921}],439:[,,{780:494}],452:[[68,381],256],453:[[68,382],256],454:[[100,382],256],455:[[76,74],256],456:[[76,106],256],457:[[108,106],256],458:[[78,74],256],459:[[78,106],256],460:[[110,106],256],461:[[65,780]],462:[[97,780]],463:[[73,780]],464:[[105,780]],465:[[79,780]],466:[[111,780]],467:[[85,780]],468:[[117,780]],469:[[220,772]],470:[[252,772]],471:[[220,769]],472:[[252,769]],473:[[220,780]],474:[[252,780]],475:[[220,768]],476:[[252,768]],478:[[196,772]],479:[[228,772]],480:[[550,772]],481:[[551,772]],482:[[198,772]],483:[[230,772]],486:[[71,780]],487:[[103,780]],488:[[75,780]],489:[[107,780]],490:[[79,808],,{772:492}],491:[[111,808],,{772:493}],492:[[490,772]],493:[[491,772]],494:[[439,780]],495:[[658,780]],496:[[106,780]],497:[[68,90],256],498:[[68,122],256],499:[[100,122],256],500:[[71,769]],501:[[103,769]],504:[[78,768]],505:[[110,768]],506:[[197,769]],507:[[229,769]],508:[[198,769]],509:[[230,769]],510:[[216,769]],511:[[248,769]],66045:[,220]}, -512:{512:[[65,783]],513:[[97,783]],514:[[65,785]],515:[[97,785]],516:[[69,783]],517:[[101,783]],518:[[69,785]],519:[[101,785]],520:[[73,783]],521:[[105,783]],522:[[73,785]],523:[[105,785]],524:[[79,783]],525:[[111,783]],526:[[79,785]],527:[[111,785]],528:[[82,783]],529:[[114,783]],530:[[82,785]],531:[[114,785]],532:[[85,783]],533:[[117,783]],534:[[85,785]],535:[[117,785]],536:[[83,806]],537:[[115,806]],538:[[84,806]],539:[[116,806]],542:[[72,780]],543:[[104,780]],550:[[65,775],,{772:480}],551:[[97,775],,{772:481}],552:[[69,807],,{774:7708}],553:[[101,807],,{774:7709}],554:[[214,772]],555:[[246,772]],556:[[213,772]],557:[[245,772]],558:[[79,775],,{772:560}],559:[[111,775],,{772:561}],560:[[558,772]],561:[[559,772]],562:[[89,772]],563:[[121,772]],658:[,,{780:495}],688:[[104],256],689:[[614],256],690:[[106],256],691:[[114],256],692:[[633],256],693:[[635],256],694:[[641],256],695:[[119],256],696:[[121],256],728:[[32,774],256],729:[[32,775],256],730:[[32,778],256],731:[[32,808],256],732:[[32,771],256],733:[[32,779],256],736:[[611],256],737:[[108],256],738:[[115],256],739:[[120],256],740:[[661],256]}, -768:{768:[,230],769:[,230],770:[,230],771:[,230],772:[,230],773:[,230],774:[,230],775:[,230],776:[,230,{769:836}],777:[,230],778:[,230],779:[,230],780:[,230],781:[,230],782:[,230],783:[,230],784:[,230],785:[,230],786:[,230],787:[,230],788:[,230],789:[,232],790:[,220],791:[,220],792:[,220],793:[,220],794:[,232],795:[,216],796:[,220],797:[,220],798:[,220],799:[,220],800:[,220],801:[,202],802:[,202],803:[,220],804:[,220],805:[,220],806:[,220],807:[,202],808:[,202],809:[,220],810:[,220],811:[,220],812:[,220],813:[,220],814:[,220],815:[,220],816:[,220],817:[,220],818:[,220],819:[,220],820:[,1],821:[,1],822:[,1],823:[,1],824:[,1],825:[,220],826:[,220],827:[,220],828:[,220],829:[,230],830:[,230],831:[,230],832:[[768],230],833:[[769],230],834:[,230],835:[[787],230],836:[[776,769],230],837:[,240],838:[,230],839:[,220],840:[,220],841:[,220],842:[,230],843:[,230],844:[,230],845:[,220],846:[,220],848:[,230],849:[,230],850:[,230],851:[,220],852:[,220],853:[,220],854:[,220],855:[,230],856:[,232],857:[,220],858:[,220],859:[,230],860:[,233],861:[,234],862:[,234],863:[,233],864:[,234],865:[,234],866:[,233],867:[,230],868:[,230],869:[,230],870:[,230],871:[,230],872:[,230],873:[,230],874:[,230],875:[,230],876:[,230],877:[,230],878:[,230],879:[,230],884:[[697]],890:[[32,837],256],894:[[59]],900:[[32,769],256],901:[[168,769]],902:[[913,769]],903:[[183]],904:[[917,769]],905:[[919,769]],906:[[921,769]],908:[[927,769]],910:[[933,769]],911:[[937,769]],912:[[970,769]],913:[,,{768:8122,769:902,772:8121,774:8120,787:7944,788:7945,837:8124}],917:[,,{768:8136,769:904,787:7960,788:7961}],919:[,,{768:8138,769:905,787:7976,788:7977,837:8140}],921:[,,{768:8154,769:906,772:8153,774:8152,776:938,787:7992,788:7993}],927:[,,{768:8184,769:908,787:8008,788:8009}],929:[,,{788:8172}],933:[,,{768:8170,769:910,772:8169,774:8168,776:939,788:8025}],937:[,,{768:8186,769:911,787:8040,788:8041,837:8188}],938:[[921,776]],939:[[933,776]],940:[[945,769],,{837:8116}],941:[[949,769]],942:[[951,769],,{837:8132}],943:[[953,769]],944:[[971,769]],945:[,,{768:8048,769:940,772:8113,774:8112,787:7936,788:7937,834:8118,837:8115}],949:[,,{768:8050,769:941,787:7952,788:7953}],951:[,,{768:8052,769:942,787:7968,788:7969,834:8134,837:8131}],953:[,,{768:8054,769:943,772:8145,774:8144,776:970,787:7984,788:7985,834:8150}],959:[,,{768:8056,769:972,787:8000,788:8001}],961:[,,{787:8164,788:8165}],965:[,,{768:8058,769:973,772:8161,774:8160,776:971,787:8016,788:8017,834:8166}],969:[,,{768:8060,769:974,787:8032,788:8033,834:8182,837:8179}],970:[[953,776],,{768:8146,769:912,834:8151}],971:[[965,776],,{768:8162,769:944,834:8167}],972:[[959,769]],973:[[965,769]],974:[[969,769],,{837:8180}],976:[[946],256],977:[[952],256],978:[[933],256,{769:979,776:980}],979:[[978,769]],980:[[978,776]],981:[[966],256],982:[[960],256],1008:[[954],256],1009:[[961],256],1010:[[962],256],1012:[[920],256],1013:[[949],256],1017:[[931],256]}, +512:{512:[[65,783]],513:[[97,783]],514:[[65,785]],515:[[97,785]],516:[[69,783]],517:[[101,783]],518:[[69,785]],519:[[101,785]],520:[[73,783]],521:[[105,783]],522:[[73,785]],523:[[105,785]],524:[[79,783]],525:[[111,783]],526:[[79,785]],527:[[111,785]],528:[[82,783]],529:[[114,783]],530:[[82,785]],531:[[114,785]],532:[[85,783]],533:[[117,783]],534:[[85,785]],535:[[117,785]],536:[[83,806]],537:[[115,806]],538:[[84,806]],539:[[116,806]],542:[[72,780]],543:[[104,780]],550:[[65,775],,{772:480}],551:[[97,775],,{772:481}],552:[[69,807],,{774:7708}],553:[[101,807],,{774:7709}],554:[[214,772]],555:[[246,772]],556:[[213,772]],557:[[245,772]],558:[[79,775],,{772:560}],559:[[111,775],,{772:561}],560:[[558,772]],561:[[559,772]],562:[[89,772]],563:[[121,772]],658:[,,{780:495}],688:[[104],256],689:[[614],256],690:[[106],256],691:[[114],256],692:[[633],256],693:[[635],256],694:[[641],256],695:[[119],256],696:[[121],256],728:[[32,774],256],729:[[32,775],256],730:[[32,778],256],731:[[32,808],256],732:[[32,771],256],733:[[32,779],256],736:[[611],256],737:[[108],256],738:[[115],256],739:[[120],256],740:[[661],256],66272:[,220]}, +768:{768:[,230],769:[,230],770:[,230],771:[,230],772:[,230],773:[,230],774:[,230],775:[,230],776:[,230,{769:836}],777:[,230],778:[,230],779:[,230],780:[,230],781:[,230],782:[,230],783:[,230],784:[,230],785:[,230],786:[,230],787:[,230],788:[,230],789:[,232],790:[,220],791:[,220],792:[,220],793:[,220],794:[,232],795:[,216],796:[,220],797:[,220],798:[,220],799:[,220],800:[,220],801:[,202],802:[,202],803:[,220],804:[,220],805:[,220],806:[,220],807:[,202],808:[,202],809:[,220],810:[,220],811:[,220],812:[,220],813:[,220],814:[,220],815:[,220],816:[,220],817:[,220],818:[,220],819:[,220],820:[,1],821:[,1],822:[,1],823:[,1],824:[,1],825:[,220],826:[,220],827:[,220],828:[,220],829:[,230],830:[,230],831:[,230],832:[[768],230],833:[[769],230],834:[,230],835:[[787],230],836:[[776,769],230],837:[,240],838:[,230],839:[,220],840:[,220],841:[,220],842:[,230],843:[,230],844:[,230],845:[,220],846:[,220],848:[,230],849:[,230],850:[,230],851:[,220],852:[,220],853:[,220],854:[,220],855:[,230],856:[,232],857:[,220],858:[,220],859:[,230],860:[,233],861:[,234],862:[,234],863:[,233],864:[,234],865:[,234],866:[,233],867:[,230],868:[,230],869:[,230],870:[,230],871:[,230],872:[,230],873:[,230],874:[,230],875:[,230],876:[,230],877:[,230],878:[,230],879:[,230],884:[[697]],890:[[32,837],256],894:[[59]],900:[[32,769],256],901:[[168,769]],902:[[913,769]],903:[[183]],904:[[917,769]],905:[[919,769]],906:[[921,769]],908:[[927,769]],910:[[933,769]],911:[[937,769]],912:[[970,769]],913:[,,{768:8122,769:902,772:8121,774:8120,787:7944,788:7945,837:8124}],917:[,,{768:8136,769:904,787:7960,788:7961}],919:[,,{768:8138,769:905,787:7976,788:7977,837:8140}],921:[,,{768:8154,769:906,772:8153,774:8152,776:938,787:7992,788:7993}],927:[,,{768:8184,769:908,787:8008,788:8009}],929:[,,{788:8172}],933:[,,{768:8170,769:910,772:8169,774:8168,776:939,788:8025}],937:[,,{768:8186,769:911,787:8040,788:8041,837:8188}],938:[[921,776]],939:[[933,776]],940:[[945,769],,{837:8116}],941:[[949,769]],942:[[951,769],,{837:8132}],943:[[953,769]],944:[[971,769]],945:[,,{768:8048,769:940,772:8113,774:8112,787:7936,788:7937,834:8118,837:8115}],949:[,,{768:8050,769:941,787:7952,788:7953}],951:[,,{768:8052,769:942,787:7968,788:7969,834:8134,837:8131}],953:[,,{768:8054,769:943,772:8145,774:8144,776:970,787:7984,788:7985,834:8150}],959:[,,{768:8056,769:972,787:8000,788:8001}],961:[,,{787:8164,788:8165}],965:[,,{768:8058,769:973,772:8161,774:8160,776:971,787:8016,788:8017,834:8166}],969:[,,{768:8060,769:974,787:8032,788:8033,834:8182,837:8179}],970:[[953,776],,{768:8146,769:912,834:8151}],971:[[965,776],,{768:8162,769:944,834:8167}],972:[[959,769]],973:[[965,769]],974:[[969,769],,{837:8180}],976:[[946],256],977:[[952],256],978:[[933],256,{769:979,776:980}],979:[[978,769]],980:[[978,776]],981:[[966],256],982:[[960],256],1008:[[954],256],1009:[[961],256],1010:[[962],256],1012:[[920],256],1013:[[949],256],1017:[[931],256],66422:[,230],66423:[,230],66424:[,230],66425:[,230],66426:[,230]}, 1024:{1024:[[1045,768]],1025:[[1045,776]],1027:[[1043,769]],1030:[,,{776:1031}],1031:[[1030,776]],1036:[[1050,769]],1037:[[1048,768]],1038:[[1059,774]],1040:[,,{774:1232,776:1234}],1043:[,,{769:1027}],1045:[,,{768:1024,774:1238,776:1025}],1046:[,,{774:1217,776:1244}],1047:[,,{776:1246}],1048:[,,{768:1037,772:1250,774:1049,776:1252}],1049:[[1048,774]],1050:[,,{769:1036}],1054:[,,{776:1254}],1059:[,,{772:1262,774:1038,776:1264,779:1266}],1063:[,,{776:1268}],1067:[,,{776:1272}],1069:[,,{776:1260}],1072:[,,{774:1233,776:1235}],1075:[,,{769:1107}],1077:[,,{768:1104,774:1239,776:1105}],1078:[,,{774:1218,776:1245}],1079:[,,{776:1247}],1080:[,,{768:1117,772:1251,774:1081,776:1253}],1081:[[1080,774]],1082:[,,{769:1116}],1086:[,,{776:1255}],1091:[,,{772:1263,774:1118,776:1265,779:1267}],1095:[,,{776:1269}],1099:[,,{776:1273}],1101:[,,{776:1261}],1104:[[1077,768]],1105:[[1077,776]],1107:[[1075,769]],1110:[,,{776:1111}],1111:[[1110,776]],1116:[[1082,769]],1117:[[1080,768]],1118:[[1091,774]],1140:[,,{783:1142}],1141:[,,{783:1143}],1142:[[1140,783]],1143:[[1141,783]],1155:[,230],1156:[,230],1157:[,230],1158:[,230],1159:[,230],1217:[[1046,774]],1218:[[1078,774]],1232:[[1040,774]],1233:[[1072,774]],1234:[[1040,776]],1235:[[1072,776]],1238:[[1045,774]],1239:[[1077,774]],1240:[,,{776:1242}],1241:[,,{776:1243}],1242:[[1240,776]],1243:[[1241,776]],1244:[[1046,776]],1245:[[1078,776]],1246:[[1047,776]],1247:[[1079,776]],1250:[[1048,772]],1251:[[1080,772]],1252:[[1048,776]],1253:[[1080,776]],1254:[[1054,776]],1255:[[1086,776]],1256:[,,{776:1258}],1257:[,,{776:1259}],1258:[[1256,776]],1259:[[1257,776]],1260:[[1069,776]],1261:[[1101,776]],1262:[[1059,772]],1263:[[1091,772]],1264:[[1059,776]],1265:[[1091,776]],1266:[[1059,779]],1267:[[1091,779]],1268:[[1063,776]],1269:[[1095,776]],1272:[[1067,776]],1273:[[1099,776]]}, 1280:{1415:[[1381,1410],256],1425:[,220],1426:[,230],1427:[,230],1428:[,230],1429:[,230],1430:[,220],1431:[,230],1432:[,230],1433:[,230],1434:[,222],1435:[,220],1436:[,230],1437:[,230],1438:[,230],1439:[,230],1440:[,230],1441:[,230],1442:[,220],1443:[,220],1444:[,220],1445:[,220],1446:[,220],1447:[,220],1448:[,230],1449:[,230],1450:[,220],1451:[,230],1452:[,230],1453:[,222],1454:[,228],1455:[,230],1456:[,10],1457:[,11],1458:[,12],1459:[,13],1460:[,14],1461:[,15],1462:[,16],1463:[,17],1464:[,18],1465:[,19],1466:[,19],1467:[,20],1468:[,21],1469:[,22],1471:[,23],1473:[,24],1474:[,25],1476:[,230],1477:[,220],1479:[,18]}, 1536:{1552:[,230],1553:[,230],1554:[,230],1555:[,230],1556:[,230],1557:[,230],1558:[,230],1559:[,230],1560:[,30],1561:[,31],1562:[,32],1570:[[1575,1619]],1571:[[1575,1620]],1572:[[1608,1620]],1573:[[1575,1621]],1574:[[1610,1620]],1575:[,,{1619:1570,1620:1571,1621:1573}],1608:[,,{1620:1572}],1610:[,,{1620:1574}],1611:[,27],1612:[,28],1613:[,29],1614:[,30],1615:[,31],1616:[,32],1617:[,33],1618:[,34],1619:[,230],1620:[,230],1621:[,220],1622:[,220],1623:[,230],1624:[,230],1625:[,230],1626:[,230],1627:[,230],1628:[,220],1629:[,230],1630:[,230],1631:[,220],1648:[,35],1653:[[1575,1652],256],1654:[[1608,1652],256],1655:[[1735,1652],256],1656:[[1610,1652],256],1728:[[1749,1620]],1729:[,,{1620:1730}],1730:[[1729,1620]],1746:[,,{1620:1747}],1747:[[1746,1620]],1749:[,,{1620:1728}],1750:[,230],1751:[,230],1752:[,230],1753:[,230],1754:[,230],1755:[,230],1756:[,230],1759:[,230],1760:[,230],1761:[,230],1762:[,230],1763:[,220],1764:[,230],1767:[,230],1768:[,230],1770:[,220],1771:[,230],1772:[,230],1773:[,220]}, 1792:{1809:[,36],1840:[,230],1841:[,220],1842:[,230],1843:[,230],1844:[,220],1845:[,230],1846:[,230],1847:[,220],1848:[,220],1849:[,220],1850:[,230],1851:[,220],1852:[,220],1853:[,230],1854:[,220],1855:[,230],1856:[,230],1857:[,230],1858:[,220],1859:[,230],1860:[,220],1861:[,230],1862:[,220],1863:[,230],1864:[,220],1865:[,230],1866:[,230],2027:[,230],2028:[,230],2029:[,230],2030:[,230],2031:[,230],2032:[,230],2033:[,230],2034:[,220],2035:[,230]}, -2048:{2070:[,230],2071:[,230],2072:[,230],2073:[,230],2075:[,230],2076:[,230],2077:[,230],2078:[,230],2079:[,230],2080:[,230],2081:[,230],2082:[,230],2083:[,230],2085:[,230],2086:[,230],2087:[,230],2089:[,230],2090:[,230],2091:[,230],2092:[,230],2093:[,230],2137:[,220],2138:[,220],2139:[,220],2276:[,230],2277:[,230],2278:[,220],2279:[,230],2280:[,230],2281:[,220],2282:[,230],2283:[,230],2284:[,230],2285:[,220],2286:[,220],2287:[,220],2288:[,27],2289:[,28],2290:[,29],2291:[,230],2292:[,230],2293:[,230],2294:[,220],2295:[,230],2296:[,230],2297:[,220],2298:[,220],2299:[,230],2300:[,230],2301:[,230],2302:[,230]}, +2048:{2070:[,230],2071:[,230],2072:[,230],2073:[,230],2075:[,230],2076:[,230],2077:[,230],2078:[,230],2079:[,230],2080:[,230],2081:[,230],2082:[,230],2083:[,230],2085:[,230],2086:[,230],2087:[,230],2089:[,230],2090:[,230],2091:[,230],2092:[,230],2093:[,230],2137:[,220],2138:[,220],2139:[,220],2276:[,230],2277:[,230],2278:[,220],2279:[,230],2280:[,230],2281:[,220],2282:[,230],2283:[,230],2284:[,230],2285:[,220],2286:[,220],2287:[,220],2288:[,27],2289:[,28],2290:[,29],2291:[,230],2292:[,230],2293:[,230],2294:[,220],2295:[,230],2296:[,230],2297:[,220],2298:[,220],2299:[,230],2300:[,230],2301:[,230],2302:[,230],2303:[,230]}, 2304:{2344:[,,{2364:2345}],2345:[[2344,2364]],2352:[,,{2364:2353}],2353:[[2352,2364]],2355:[,,{2364:2356}],2356:[[2355,2364]],2364:[,7],2381:[,9],2385:[,230],2386:[,220],2387:[,230],2388:[,230],2392:[[2325,2364],512],2393:[[2326,2364],512],2394:[[2327,2364],512],2395:[[2332,2364],512],2396:[[2337,2364],512],2397:[[2338,2364],512],2398:[[2347,2364],512],2399:[[2351,2364],512],2492:[,7],2503:[,,{2494:2507,2519:2508}],2507:[[2503,2494]],2508:[[2503,2519]],2509:[,9],2524:[[2465,2492],512],2525:[[2466,2492],512],2527:[[2479,2492],512]}, -2560:{2611:[[2610,2620],512],2614:[[2616,2620],512],2620:[,7],2637:[,9],2649:[[2582,2620],512],2650:[[2583,2620],512],2651:[[2588,2620],512],2654:[[2603,2620],512],2748:[,7],2765:[,9],68109:[,220],68111:[,230],68152:[,230],68153:[,1],68154:[,220],68159:[,9]}, +2560:{2611:[[2610,2620],512],2614:[[2616,2620],512],2620:[,7],2637:[,9],2649:[[2582,2620],512],2650:[[2583,2620],512],2651:[[2588,2620],512],2654:[[2603,2620],512],2748:[,7],2765:[,9],68109:[,220],68111:[,230],68152:[,230],68153:[,1],68154:[,220],68159:[,9],68325:[,230],68326:[,220]}, 2816:{2876:[,7],2887:[,,{2878:2891,2902:2888,2903:2892}],2888:[[2887,2902]],2891:[[2887,2878]],2892:[[2887,2903]],2893:[,9],2908:[[2849,2876],512],2909:[[2850,2876],512],2962:[,,{3031:2964}],2964:[[2962,3031]],3014:[,,{3006:3018,3031:3020}],3015:[,,{3006:3019}],3018:[[3014,3006]],3019:[[3015,3006]],3020:[[3014,3031]],3021:[,9]}, 3072:{3142:[,,{3158:3144}],3144:[[3142,3158]],3149:[,9],3157:[,84],3158:[,91],3260:[,7],3263:[,,{3285:3264}],3264:[[3263,3285]],3270:[,,{3266:3274,3285:3271,3286:3272}],3271:[[3270,3285]],3272:[[3270,3286]],3274:[[3270,3266],,{3285:3275}],3275:[[3274,3285]],3277:[,9]}, 3328:{3398:[,,{3390:3402,3415:3404}],3399:[,,{3390:3403}],3402:[[3398,3390]],3403:[[3399,3390]],3404:[[3398,3415]],3405:[,9],3530:[,9],3545:[,,{3530:3546,3535:3548,3551:3550}],3546:[[3545,3530]],3548:[[3545,3535],,{3530:3549}],3549:[[3548,3530]],3550:[[3545,3551]]}, 3584:{3635:[[3661,3634],256],3640:[,103],3641:[,103],3642:[,9],3656:[,107],3657:[,107],3658:[,107],3659:[,107],3763:[[3789,3762],256],3768:[,118],3769:[,118],3784:[,122],3785:[,122],3786:[,122],3787:[,122],3804:[[3755,3737],256],3805:[[3755,3745],256]}, 3840:{3852:[[3851],256],3864:[,220],3865:[,220],3893:[,220],3895:[,220],3897:[,216],3907:[[3906,4023],512],3917:[[3916,4023],512],3922:[[3921,4023],512],3927:[[3926,4023],512],3932:[[3931,4023],512],3945:[[3904,4021],512],3953:[,129],3954:[,130],3955:[[3953,3954],512],3956:[,132],3957:[[3953,3956],512],3958:[[4018,3968],512],3959:[[4018,3969],256],3960:[[4019,3968],512],3961:[[4019,3969],256],3962:[,130],3963:[,130],3964:[,130],3965:[,130],3968:[,130],3969:[[3953,3968],512],3970:[,230],3971:[,230],3972:[,9],3974:[,230],3975:[,230],3987:[[3986,4023],512],3997:[[3996,4023],512],4002:[[4001,4023],512],4007:[[4006,4023],512],4012:[[4011,4023],512],4025:[[3984,4021],512],4038:[,220]}, -4096:{4133:[,,{4142:4134}],4134:[[4133,4142]],4151:[,7],4153:[,9],4154:[,9],4237:[,220],4348:[[4316],256],69702:[,9],69785:[,,{69818:69786}],69786:[[69785,69818]],69787:[,,{69818:69788}],69788:[[69787,69818]],69797:[,,{69818:69803}],69803:[[69797,69818]],69817:[,9],69818:[,7]}, -4352:{69888:[,230],69889:[,230],69890:[,230],69934:[[69937,69927]],69935:[[69938,69927]],69937:[,,{69927:69934}],69938:[,,{69927:69935}],69939:[,9],69940:[,9],70080:[,9]}, -4864:{4957:[,230],4958:[,230],4959:[,230]}, -5632:{71350:[,9],71351:[,7]}, +4096:{4133:[,,{4142:4134}],4134:[[4133,4142]],4151:[,7],4153:[,9],4154:[,9],4237:[,220],4348:[[4316],256],69702:[,9],69759:[,9],69785:[,,{69818:69786}],69786:[[69785,69818]],69787:[,,{69818:69788}],69788:[[69787,69818]],69797:[,,{69818:69803}],69803:[[69797,69818]],69817:[,9],69818:[,7]}, +4352:{69888:[,230],69889:[,230],69890:[,230],69934:[[69937,69927]],69935:[[69938,69927]],69937:[,,{69927:69934}],69938:[,,{69927:69935}],69939:[,9],69940:[,9],70003:[,7],70080:[,9]}, +4608:{70197:[,9],70198:[,7],70377:[,7],70378:[,9]}, +4864:{4957:[,230],4958:[,230],4959:[,230],70460:[,7],70471:[,,{70462:70475,70487:70476}],70475:[[70471,70462]],70476:[[70471,70487]],70477:[,9],70502:[,230],70503:[,230],70504:[,230],70505:[,230],70506:[,230],70507:[,230],70508:[,230],70512:[,230],70513:[,230],70514:[,230],70515:[,230],70516:[,230]}, +5120:{70841:[,,{70832:70844,70842:70843,70845:70846}],70843:[[70841,70842]],70844:[[70841,70832]],70846:[[70841,70845]],70850:[,9],70851:[,7]}, +5376:{71096:[,,{71087:71098}],71097:[,,{71087:71099}],71098:[[71096,71087]],71099:[[71097,71087]],71103:[,9],71104:[,7]}, +5632:{71231:[,9],71350:[,9],71351:[,7]}, 5888:{5908:[,9],5940:[,9],6098:[,9],6109:[,230]}, 6144:{6313:[,228]}, 6400:{6457:[,222],6458:[,230],6459:[,220]}, -6656:{6679:[,230],6680:[,220],6752:[,9],6773:[,230],6774:[,230],6775:[,230],6776:[,230],6777:[,230],6778:[,230],6779:[,230],6780:[,230],6783:[,220]}, +6656:{6679:[,230],6680:[,220],6752:[,9],6773:[,230],6774:[,230],6775:[,230],6776:[,230],6777:[,230],6778:[,230],6779:[,230],6780:[,230],6783:[,220],6832:[,230],6833:[,230],6834:[,230],6835:[,230],6836:[,230],6837:[,220],6838:[,220],6839:[,220],6840:[,220],6841:[,220],6842:[,220],6843:[,230],6844:[,230],6845:[,220]}, 6912:{6917:[,,{6965:6918}],6918:[[6917,6965]],6919:[,,{6965:6920}],6920:[[6919,6965]],6921:[,,{6965:6922}],6922:[[6921,6965]],6923:[,,{6965:6924}],6924:[[6923,6965]],6925:[,,{6965:6926}],6926:[[6925,6965]],6929:[,,{6965:6930}],6930:[[6929,6965]],6964:[,7],6970:[,,{6965:6971}],6971:[[6970,6965]],6972:[,,{6965:6973}],6973:[[6972,6965]],6974:[,,{6965:6976}],6975:[,,{6965:6977}],6976:[[6974,6965]],6977:[[6975,6965]],6978:[,,{6965:6979}],6979:[[6978,6965]],6980:[,9],7019:[,230],7020:[,220],7021:[,230],7022:[,230],7023:[,230],7024:[,230],7025:[,230],7026:[,230],7027:[,230],7082:[,9],7083:[,9],7142:[,7],7154:[,9],7155:[,9]}, -7168:{7223:[,7],7376:[,230],7377:[,230],7378:[,230],7380:[,1],7381:[,220],7382:[,220],7383:[,220],7384:[,220],7385:[,220],7386:[,230],7387:[,230],7388:[,220],7389:[,220],7390:[,220],7391:[,220],7392:[,230],7394:[,1],7395:[,1],7396:[,1],7397:[,1],7398:[,1],7399:[,1],7400:[,1],7405:[,220],7412:[,230]}, -7424:{7468:[[65],256],7469:[[198],256],7470:[[66],256],7472:[[68],256],7473:[[69],256],7474:[[398],256],7475:[[71],256],7476:[[72],256],7477:[[73],256],7478:[[74],256],7479:[[75],256],7480:[[76],256],7481:[[77],256],7482:[[78],256],7484:[[79],256],7485:[[546],256],7486:[[80],256],7487:[[82],256],7488:[[84],256],7489:[[85],256],7490:[[87],256],7491:[[97],256],7492:[[592],256],7493:[[593],256],7494:[[7426],256],7495:[[98],256],7496:[[100],256],7497:[[101],256],7498:[[601],256],7499:[[603],256],7500:[[604],256],7501:[[103],256],7503:[[107],256],7504:[[109],256],7505:[[331],256],7506:[[111],256],7507:[[596],256],7508:[[7446],256],7509:[[7447],256],7510:[[112],256],7511:[[116],256],7512:[[117],256],7513:[[7453],256],7514:[[623],256],7515:[[118],256],7516:[[7461],256],7517:[[946],256],7518:[[947],256],7519:[[948],256],7520:[[966],256],7521:[[967],256],7522:[[105],256],7523:[[114],256],7524:[[117],256],7525:[[118],256],7526:[[946],256],7527:[[947],256],7528:[[961],256],7529:[[966],256],7530:[[967],256],7544:[[1085],256],7579:[[594],256],7580:[[99],256],7581:[[597],256],7582:[[240],256],7583:[[604],256],7584:[[102],256],7585:[[607],256],7586:[[609],256],7587:[[613],256],7588:[[616],256],7589:[[617],256],7590:[[618],256],7591:[[7547],256],7592:[[669],256],7593:[[621],256],7594:[[7557],256],7595:[[671],256],7596:[[625],256],7597:[[624],256],7598:[[626],256],7599:[[627],256],7600:[[628],256],7601:[[629],256],7602:[[632],256],7603:[[642],256],7604:[[643],256],7605:[[427],256],7606:[[649],256],7607:[[650],256],7608:[[7452],256],7609:[[651],256],7610:[[652],256],7611:[[122],256],7612:[[656],256],7613:[[657],256],7614:[[658],256],7615:[[952],256],7616:[,230],7617:[,230],7618:[,220],7619:[,230],7620:[,230],7621:[,230],7622:[,230],7623:[,230],7624:[,230],7625:[,230],7626:[,220],7627:[,230],7628:[,230],7629:[,234],7630:[,214],7631:[,220],7632:[,202],7633:[,230],7634:[,230],7635:[,230],7636:[,230],7637:[,230],7638:[,230],7639:[,230],7640:[,230],7641:[,230],7642:[,230],7643:[,230],7644:[,230],7645:[,230],7646:[,230],7647:[,230],7648:[,230],7649:[,230],7650:[,230],7651:[,230],7652:[,230],7653:[,230],7654:[,230],7676:[,233],7677:[,220],7678:[,230],7679:[,220]}, +7168:{7223:[,7],7376:[,230],7377:[,230],7378:[,230],7380:[,1],7381:[,220],7382:[,220],7383:[,220],7384:[,220],7385:[,220],7386:[,230],7387:[,230],7388:[,220],7389:[,220],7390:[,220],7391:[,220],7392:[,230],7394:[,1],7395:[,1],7396:[,1],7397:[,1],7398:[,1],7399:[,1],7400:[,1],7405:[,220],7412:[,230],7416:[,230],7417:[,230]}, +7424:{7468:[[65],256],7469:[[198],256],7470:[[66],256],7472:[[68],256],7473:[[69],256],7474:[[398],256],7475:[[71],256],7476:[[72],256],7477:[[73],256],7478:[[74],256],7479:[[75],256],7480:[[76],256],7481:[[77],256],7482:[[78],256],7484:[[79],256],7485:[[546],256],7486:[[80],256],7487:[[82],256],7488:[[84],256],7489:[[85],256],7490:[[87],256],7491:[[97],256],7492:[[592],256],7493:[[593],256],7494:[[7426],256],7495:[[98],256],7496:[[100],256],7497:[[101],256],7498:[[601],256],7499:[[603],256],7500:[[604],256],7501:[[103],256],7503:[[107],256],7504:[[109],256],7505:[[331],256],7506:[[111],256],7507:[[596],256],7508:[[7446],256],7509:[[7447],256],7510:[[112],256],7511:[[116],256],7512:[[117],256],7513:[[7453],256],7514:[[623],256],7515:[[118],256],7516:[[7461],256],7517:[[946],256],7518:[[947],256],7519:[[948],256],7520:[[966],256],7521:[[967],256],7522:[[105],256],7523:[[114],256],7524:[[117],256],7525:[[118],256],7526:[[946],256],7527:[[947],256],7528:[[961],256],7529:[[966],256],7530:[[967],256],7544:[[1085],256],7579:[[594],256],7580:[[99],256],7581:[[597],256],7582:[[240],256],7583:[[604],256],7584:[[102],256],7585:[[607],256],7586:[[609],256],7587:[[613],256],7588:[[616],256],7589:[[617],256],7590:[[618],256],7591:[[7547],256],7592:[[669],256],7593:[[621],256],7594:[[7557],256],7595:[[671],256],7596:[[625],256],7597:[[624],256],7598:[[626],256],7599:[[627],256],7600:[[628],256],7601:[[629],256],7602:[[632],256],7603:[[642],256],7604:[[643],256],7605:[[427],256],7606:[[649],256],7607:[[650],256],7608:[[7452],256],7609:[[651],256],7610:[[652],256],7611:[[122],256],7612:[[656],256],7613:[[657],256],7614:[[658],256],7615:[[952],256],7616:[,230],7617:[,230],7618:[,220],7619:[,230],7620:[,230],7621:[,230],7622:[,230],7623:[,230],7624:[,230],7625:[,230],7626:[,220],7627:[,230],7628:[,230],7629:[,234],7630:[,214],7631:[,220],7632:[,202],7633:[,230],7634:[,230],7635:[,230],7636:[,230],7637:[,230],7638:[,230],7639:[,230],7640:[,230],7641:[,230],7642:[,230],7643:[,230],7644:[,230],7645:[,230],7646:[,230],7647:[,230],7648:[,230],7649:[,230],7650:[,230],7651:[,230],7652:[,230],7653:[,230],7654:[,230],7655:[,230],7656:[,230],7657:[,230],7658:[,230],7659:[,230],7660:[,230],7661:[,230],7662:[,230],7663:[,230],7664:[,230],7665:[,230],7666:[,230],7667:[,230],7668:[,230],7669:[,230],7676:[,233],7677:[,220],7678:[,230],7679:[,220]}, 7680:{7680:[[65,805]],7681:[[97,805]],7682:[[66,775]],7683:[[98,775]],7684:[[66,803]],7685:[[98,803]],7686:[[66,817]],7687:[[98,817]],7688:[[199,769]],7689:[[231,769]],7690:[[68,775]],7691:[[100,775]],7692:[[68,803]],7693:[[100,803]],7694:[[68,817]],7695:[[100,817]],7696:[[68,807]],7697:[[100,807]],7698:[[68,813]],7699:[[100,813]],7700:[[274,768]],7701:[[275,768]],7702:[[274,769]],7703:[[275,769]],7704:[[69,813]],7705:[[101,813]],7706:[[69,816]],7707:[[101,816]],7708:[[552,774]],7709:[[553,774]],7710:[[70,775]],7711:[[102,775]],7712:[[71,772]],7713:[[103,772]],7714:[[72,775]],7715:[[104,775]],7716:[[72,803]],7717:[[104,803]],7718:[[72,776]],7719:[[104,776]],7720:[[72,807]],7721:[[104,807]],7722:[[72,814]],7723:[[104,814]],7724:[[73,816]],7725:[[105,816]],7726:[[207,769]],7727:[[239,769]],7728:[[75,769]],7729:[[107,769]],7730:[[75,803]],7731:[[107,803]],7732:[[75,817]],7733:[[107,817]],7734:[[76,803],,{772:7736}],7735:[[108,803],,{772:7737}],7736:[[7734,772]],7737:[[7735,772]],7738:[[76,817]],7739:[[108,817]],7740:[[76,813]],7741:[[108,813]],7742:[[77,769]],7743:[[109,769]],7744:[[77,775]],7745:[[109,775]],7746:[[77,803]],7747:[[109,803]],7748:[[78,775]],7749:[[110,775]],7750:[[78,803]],7751:[[110,803]],7752:[[78,817]],7753:[[110,817]],7754:[[78,813]],7755:[[110,813]],7756:[[213,769]],7757:[[245,769]],7758:[[213,776]],7759:[[245,776]],7760:[[332,768]],7761:[[333,768]],7762:[[332,769]],7763:[[333,769]],7764:[[80,769]],7765:[[112,769]],7766:[[80,775]],7767:[[112,775]],7768:[[82,775]],7769:[[114,775]],7770:[[82,803],,{772:7772}],7771:[[114,803],,{772:7773}],7772:[[7770,772]],7773:[[7771,772]],7774:[[82,817]],7775:[[114,817]],7776:[[83,775]],7777:[[115,775]],7778:[[83,803],,{775:7784}],7779:[[115,803],,{775:7785}],7780:[[346,775]],7781:[[347,775]],7782:[[352,775]],7783:[[353,775]],7784:[[7778,775]],7785:[[7779,775]],7786:[[84,775]],7787:[[116,775]],7788:[[84,803]],7789:[[116,803]],7790:[[84,817]],7791:[[116,817]],7792:[[84,813]],7793:[[116,813]],7794:[[85,804]],7795:[[117,804]],7796:[[85,816]],7797:[[117,816]],7798:[[85,813]],7799:[[117,813]],7800:[[360,769]],7801:[[361,769]],7802:[[362,776]],7803:[[363,776]],7804:[[86,771]],7805:[[118,771]],7806:[[86,803]],7807:[[118,803]],7808:[[87,768]],7809:[[119,768]],7810:[[87,769]],7811:[[119,769]],7812:[[87,776]],7813:[[119,776]],7814:[[87,775]],7815:[[119,775]],7816:[[87,803]],7817:[[119,803]],7818:[[88,775]],7819:[[120,775]],7820:[[88,776]],7821:[[120,776]],7822:[[89,775]],7823:[[121,775]],7824:[[90,770]],7825:[[122,770]],7826:[[90,803]],7827:[[122,803]],7828:[[90,817]],7829:[[122,817]],7830:[[104,817]],7831:[[116,776]],7832:[[119,778]],7833:[[121,778]],7834:[[97,702],256],7835:[[383,775]],7840:[[65,803],,{770:7852,774:7862}],7841:[[97,803],,{770:7853,774:7863}],7842:[[65,777]],7843:[[97,777]],7844:[[194,769]],7845:[[226,769]],7846:[[194,768]],7847:[[226,768]],7848:[[194,777]],7849:[[226,777]],7850:[[194,771]],7851:[[226,771]],7852:[[7840,770]],7853:[[7841,770]],7854:[[258,769]],7855:[[259,769]],7856:[[258,768]],7857:[[259,768]],7858:[[258,777]],7859:[[259,777]],7860:[[258,771]],7861:[[259,771]],7862:[[7840,774]],7863:[[7841,774]],7864:[[69,803],,{770:7878}],7865:[[101,803],,{770:7879}],7866:[[69,777]],7867:[[101,777]],7868:[[69,771]],7869:[[101,771]],7870:[[202,769]],7871:[[234,769]],7872:[[202,768]],7873:[[234,768]],7874:[[202,777]],7875:[[234,777]],7876:[[202,771]],7877:[[234,771]],7878:[[7864,770]],7879:[[7865,770]],7880:[[73,777]],7881:[[105,777]],7882:[[73,803]],7883:[[105,803]],7884:[[79,803],,{770:7896}],7885:[[111,803],,{770:7897}],7886:[[79,777]],7887:[[111,777]],7888:[[212,769]],7889:[[244,769]],7890:[[212,768]],7891:[[244,768]],7892:[[212,777]],7893:[[244,777]],7894:[[212,771]],7895:[[244,771]],7896:[[7884,770]],7897:[[7885,770]],7898:[[416,769]],7899:[[417,769]],7900:[[416,768]],7901:[[417,768]],7902:[[416,777]],7903:[[417,777]],7904:[[416,771]],7905:[[417,771]],7906:[[416,803]],7907:[[417,803]],7908:[[85,803]],7909:[[117,803]],7910:[[85,777]],7911:[[117,777]],7912:[[431,769]],7913:[[432,769]],7914:[[431,768]],7915:[[432,768]],7916:[[431,777]],7917:[[432,777]],7918:[[431,771]],7919:[[432,771]],7920:[[431,803]],7921:[[432,803]],7922:[[89,768]],7923:[[121,768]],7924:[[89,803]],7925:[[121,803]],7926:[[89,777]],7927:[[121,777]],7928:[[89,771]],7929:[[121,771]]}, 7936:{7936:[[945,787],,{768:7938,769:7940,834:7942,837:8064}],7937:[[945,788],,{768:7939,769:7941,834:7943,837:8065}],7938:[[7936,768],,{837:8066}],7939:[[7937,768],,{837:8067}],7940:[[7936,769],,{837:8068}],7941:[[7937,769],,{837:8069}],7942:[[7936,834],,{837:8070}],7943:[[7937,834],,{837:8071}],7944:[[913,787],,{768:7946,769:7948,834:7950,837:8072}],7945:[[913,788],,{768:7947,769:7949,834:7951,837:8073}],7946:[[7944,768],,{837:8074}],7947:[[7945,768],,{837:8075}],7948:[[7944,769],,{837:8076}],7949:[[7945,769],,{837:8077}],7950:[[7944,834],,{837:8078}],7951:[[7945,834],,{837:8079}],7952:[[949,787],,{768:7954,769:7956}],7953:[[949,788],,{768:7955,769:7957}],7954:[[7952,768]],7955:[[7953,768]],7956:[[7952,769]],7957:[[7953,769]],7960:[[917,787],,{768:7962,769:7964}],7961:[[917,788],,{768:7963,769:7965}],7962:[[7960,768]],7963:[[7961,768]],7964:[[7960,769]],7965:[[7961,769]],7968:[[951,787],,{768:7970,769:7972,834:7974,837:8080}],7969:[[951,788],,{768:7971,769:7973,834:7975,837:8081}],7970:[[7968,768],,{837:8082}],7971:[[7969,768],,{837:8083}],7972:[[7968,769],,{837:8084}],7973:[[7969,769],,{837:8085}],7974:[[7968,834],,{837:8086}],7975:[[7969,834],,{837:8087}],7976:[[919,787],,{768:7978,769:7980,834:7982,837:8088}],7977:[[919,788],,{768:7979,769:7981,834:7983,837:8089}],7978:[[7976,768],,{837:8090}],7979:[[7977,768],,{837:8091}],7980:[[7976,769],,{837:8092}],7981:[[7977,769],,{837:8093}],7982:[[7976,834],,{837:8094}],7983:[[7977,834],,{837:8095}],7984:[[953,787],,{768:7986,769:7988,834:7990}],7985:[[953,788],,{768:7987,769:7989,834:7991}],7986:[[7984,768]],7987:[[7985,768]],7988:[[7984,769]],7989:[[7985,769]],7990:[[7984,834]],7991:[[7985,834]],7992:[[921,787],,{768:7994,769:7996,834:7998}],7993:[[921,788],,{768:7995,769:7997,834:7999}],7994:[[7992,768]],7995:[[7993,768]],7996:[[7992,769]],7997:[[7993,769]],7998:[[7992,834]],7999:[[7993,834]],8000:[[959,787],,{768:8002,769:8004}],8001:[[959,788],,{768:8003,769:8005}],8002:[[8000,768]],8003:[[8001,768]],8004:[[8000,769]],8005:[[8001,769]],8008:[[927,787],,{768:8010,769:8012}],8009:[[927,788],,{768:8011,769:8013}],8010:[[8008,768]],8011:[[8009,768]],8012:[[8008,769]],8013:[[8009,769]],8016:[[965,787],,{768:8018,769:8020,834:8022}],8017:[[965,788],,{768:8019,769:8021,834:8023}],8018:[[8016,768]],8019:[[8017,768]],8020:[[8016,769]],8021:[[8017,769]],8022:[[8016,834]],8023:[[8017,834]],8025:[[933,788],,{768:8027,769:8029,834:8031}],8027:[[8025,768]],8029:[[8025,769]],8031:[[8025,834]],8032:[[969,787],,{768:8034,769:8036,834:8038,837:8096}],8033:[[969,788],,{768:8035,769:8037,834:8039,837:8097}],8034:[[8032,768],,{837:8098}],8035:[[8033,768],,{837:8099}],8036:[[8032,769],,{837:8100}],8037:[[8033,769],,{837:8101}],8038:[[8032,834],,{837:8102}],8039:[[8033,834],,{837:8103}],8040:[[937,787],,{768:8042,769:8044,834:8046,837:8104}],8041:[[937,788],,{768:8043,769:8045,834:8047,837:8105}],8042:[[8040,768],,{837:8106}],8043:[[8041,768],,{837:8107}],8044:[[8040,769],,{837:8108}],8045:[[8041,769],,{837:8109}],8046:[[8040,834],,{837:8110}],8047:[[8041,834],,{837:8111}],8048:[[945,768],,{837:8114}],8049:[[940]],8050:[[949,768]],8051:[[941]],8052:[[951,768],,{837:8130}],8053:[[942]],8054:[[953,768]],8055:[[943]],8056:[[959,768]],8057:[[972]],8058:[[965,768]],8059:[[973]],8060:[[969,768],,{837:8178}],8061:[[974]],8064:[[7936,837]],8065:[[7937,837]],8066:[[7938,837]],8067:[[7939,837]],8068:[[7940,837]],8069:[[7941,837]],8070:[[7942,837]],8071:[[7943,837]],8072:[[7944,837]],8073:[[7945,837]],8074:[[7946,837]],8075:[[7947,837]],8076:[[7948,837]],8077:[[7949,837]],8078:[[7950,837]],8079:[[7951,837]],8080:[[7968,837]],8081:[[7969,837]],8082:[[7970,837]],8083:[[7971,837]],8084:[[7972,837]],8085:[[7973,837]],8086:[[7974,837]],8087:[[7975,837]],8088:[[7976,837]],8089:[[7977,837]],8090:[[7978,837]],8091:[[7979,837]],8092:[[7980,837]],8093:[[7981,837]],8094:[[7982,837]],8095:[[7983,837]],8096:[[8032,837]],8097:[[8033,837]],8098:[[8034,837]],8099:[[8035,837]],8100:[[8036,837]],8101:[[8037,837]],8102:[[8038,837]],8103:[[8039,837]],8104:[[8040,837]],8105:[[8041,837]],8106:[[8042,837]],8107:[[8043,837]],8108:[[8044,837]],8109:[[8045,837]],8110:[[8046,837]],8111:[[8047,837]],8112:[[945,774]],8113:[[945,772]],8114:[[8048,837]],8115:[[945,837]],8116:[[940,837]],8118:[[945,834],,{837:8119}],8119:[[8118,837]],8120:[[913,774]],8121:[[913,772]],8122:[[913,768]],8123:[[902]],8124:[[913,837]],8125:[[32,787],256],8126:[[953]],8127:[[32,787],256,{768:8141,769:8142,834:8143}],8128:[[32,834],256],8129:[[168,834]],8130:[[8052,837]],8131:[[951,837]],8132:[[942,837]],8134:[[951,834],,{837:8135}],8135:[[8134,837]],8136:[[917,768]],8137:[[904]],8138:[[919,768]],8139:[[905]],8140:[[919,837]],8141:[[8127,768]],8142:[[8127,769]],8143:[[8127,834]],8144:[[953,774]],8145:[[953,772]],8146:[[970,768]],8147:[[912]],8150:[[953,834]],8151:[[970,834]],8152:[[921,774]],8153:[[921,772]],8154:[[921,768]],8155:[[906]],8157:[[8190,768]],8158:[[8190,769]],8159:[[8190,834]],8160:[[965,774]],8161:[[965,772]],8162:[[971,768]],8163:[[944]],8164:[[961,787]],8165:[[961,788]],8166:[[965,834]],8167:[[971,834]],8168:[[933,774]],8169:[[933,772]],8170:[[933,768]],8171:[[910]],8172:[[929,788]],8173:[[168,768]],8174:[[901]],8175:[[96]],8178:[[8060,837]],8179:[[969,837]],8180:[[974,837]],8182:[[969,834],,{837:8183}],8183:[[8182,837]],8184:[[927,768]],8185:[[908]],8186:[[937,768]],8187:[[911]],8188:[[937,837]],8189:[[180]],8190:[[32,788],256,{768:8157,769:8158,834:8159}]}, 8192:{8192:[[8194]],8193:[[8195]],8194:[[32],256],8195:[[32],256],8196:[[32],256],8197:[[32],256],8198:[[32],256],8199:[[32],256],8200:[[32],256],8201:[[32],256],8202:[[32],256],8209:[[8208],256],8215:[[32,819],256],8228:[[46],256],8229:[[46,46],256],8230:[[46,46,46],256],8239:[[32],256],8243:[[8242,8242],256],8244:[[8242,8242,8242],256],8246:[[8245,8245],256],8247:[[8245,8245,8245],256],8252:[[33,33],256],8254:[[32,773],256],8263:[[63,63],256],8264:[[63,33],256],8265:[[33,63],256],8279:[[8242,8242,8242,8242],256],8287:[[32],256],8304:[[48],256],8305:[[105],256],8308:[[52],256],8309:[[53],256],8310:[[54],256],8311:[[55],256],8312:[[56],256],8313:[[57],256],8314:[[43],256],8315:[[8722],256],8316:[[61],256],8317:[[40],256],8318:[[41],256],8319:[[110],256],8320:[[48],256],8321:[[49],256],8322:[[50],256],8323:[[51],256],8324:[[52],256],8325:[[53],256],8326:[[54],256],8327:[[55],256],8328:[[56],256],8329:[[57],256],8330:[[43],256],8331:[[8722],256],8332:[[61],256],8333:[[40],256],8334:[[41],256],8336:[[97],256],8337:[[101],256],8338:[[111],256],8339:[[120],256],8340:[[601],256],8341:[[104],256],8342:[[107],256],8343:[[108],256],8344:[[109],256],8345:[[110],256],8346:[[112],256],8347:[[115],256],8348:[[116],256],8360:[[82,115],256],8400:[,230],8401:[,230],8402:[,1],8403:[,1],8404:[,230],8405:[,230],8406:[,230],8407:[,230],8408:[,1],8409:[,1],8410:[,1],8411:[,230],8412:[,230],8417:[,230],8421:[,1],8422:[,1],8423:[,230],8424:[,220],8425:[,230],8426:[,1],8427:[,1],8428:[,220],8429:[,220],8430:[,220],8431:[,220],8432:[,230]}, @@ -4473,18 +4470,22 @@ UChar.udata={ 12544:{12593:[[4352],256],12594:[[4353],256],12595:[[4522],256],12596:[[4354],256],12597:[[4524],256],12598:[[4525],256],12599:[[4355],256],12600:[[4356],256],12601:[[4357],256],12602:[[4528],256],12603:[[4529],256],12604:[[4530],256],12605:[[4531],256],12606:[[4532],256],12607:[[4533],256],12608:[[4378],256],12609:[[4358],256],12610:[[4359],256],12611:[[4360],256],12612:[[4385],256],12613:[[4361],256],12614:[[4362],256],12615:[[4363],256],12616:[[4364],256],12617:[[4365],256],12618:[[4366],256],12619:[[4367],256],12620:[[4368],256],12621:[[4369],256],12622:[[4370],256],12623:[[4449],256],12624:[[4450],256],12625:[[4451],256],12626:[[4452],256],12627:[[4453],256],12628:[[4454],256],12629:[[4455],256],12630:[[4456],256],12631:[[4457],256],12632:[[4458],256],12633:[[4459],256],12634:[[4460],256],12635:[[4461],256],12636:[[4462],256],12637:[[4463],256],12638:[[4464],256],12639:[[4465],256],12640:[[4466],256],12641:[[4467],256],12642:[[4468],256],12643:[[4469],256],12644:[[4448],256],12645:[[4372],256],12646:[[4373],256],12647:[[4551],256],12648:[[4552],256],12649:[[4556],256],12650:[[4558],256],12651:[[4563],256],12652:[[4567],256],12653:[[4569],256],12654:[[4380],256],12655:[[4573],256],12656:[[4575],256],12657:[[4381],256],12658:[[4382],256],12659:[[4384],256],12660:[[4386],256],12661:[[4387],256],12662:[[4391],256],12663:[[4393],256],12664:[[4395],256],12665:[[4396],256],12666:[[4397],256],12667:[[4398],256],12668:[[4399],256],12669:[[4402],256],12670:[[4406],256],12671:[[4416],256],12672:[[4423],256],12673:[[4428],256],12674:[[4593],256],12675:[[4594],256],12676:[[4439],256],12677:[[4440],256],12678:[[4441],256],12679:[[4484],256],12680:[[4485],256],12681:[[4488],256],12682:[[4497],256],12683:[[4498],256],12684:[[4500],256],12685:[[4510],256],12686:[[4513],256],12690:[[19968],256],12691:[[20108],256],12692:[[19977],256],12693:[[22235],256],12694:[[19978],256],12695:[[20013],256],12696:[[19979],256],12697:[[30002],256],12698:[[20057],256],12699:[[19993],256],12700:[[19969],256],12701:[[22825],256],12702:[[22320],256],12703:[[20154],256]}, 12800:{12800:[[40,4352,41],256],12801:[[40,4354,41],256],12802:[[40,4355,41],256],12803:[[40,4357,41],256],12804:[[40,4358,41],256],12805:[[40,4359,41],256],12806:[[40,4361,41],256],12807:[[40,4363,41],256],12808:[[40,4364,41],256],12809:[[40,4366,41],256],12810:[[40,4367,41],256],12811:[[40,4368,41],256],12812:[[40,4369,41],256],12813:[[40,4370,41],256],12814:[[40,4352,4449,41],256],12815:[[40,4354,4449,41],256],12816:[[40,4355,4449,41],256],12817:[[40,4357,4449,41],256],12818:[[40,4358,4449,41],256],12819:[[40,4359,4449,41],256],12820:[[40,4361,4449,41],256],12821:[[40,4363,4449,41],256],12822:[[40,4364,4449,41],256],12823:[[40,4366,4449,41],256],12824:[[40,4367,4449,41],256],12825:[[40,4368,4449,41],256],12826:[[40,4369,4449,41],256],12827:[[40,4370,4449,41],256],12828:[[40,4364,4462,41],256],12829:[[40,4363,4457,4364,4453,4523,41],256],12830:[[40,4363,4457,4370,4462,41],256],12832:[[40,19968,41],256],12833:[[40,20108,41],256],12834:[[40,19977,41],256],12835:[[40,22235,41],256],12836:[[40,20116,41],256],12837:[[40,20845,41],256],12838:[[40,19971,41],256],12839:[[40,20843,41],256],12840:[[40,20061,41],256],12841:[[40,21313,41],256],12842:[[40,26376,41],256],12843:[[40,28779,41],256],12844:[[40,27700,41],256],12845:[[40,26408,41],256],12846:[[40,37329,41],256],12847:[[40,22303,41],256],12848:[[40,26085,41],256],12849:[[40,26666,41],256],12850:[[40,26377,41],256],12851:[[40,31038,41],256],12852:[[40,21517,41],256],12853:[[40,29305,41],256],12854:[[40,36001,41],256],12855:[[40,31069,41],256],12856:[[40,21172,41],256],12857:[[40,20195,41],256],12858:[[40,21628,41],256],12859:[[40,23398,41],256],12860:[[40,30435,41],256],12861:[[40,20225,41],256],12862:[[40,36039,41],256],12863:[[40,21332,41],256],12864:[[40,31085,41],256],12865:[[40,20241,41],256],12866:[[40,33258,41],256],12867:[[40,33267,41],256],12868:[[21839],256],12869:[[24188],256],12870:[[25991],256],12871:[[31631],256],12880:[[80,84,69],256],12881:[[50,49],256],12882:[[50,50],256],12883:[[50,51],256],12884:[[50,52],256],12885:[[50,53],256],12886:[[50,54],256],12887:[[50,55],256],12888:[[50,56],256],12889:[[50,57],256],12890:[[51,48],256],12891:[[51,49],256],12892:[[51,50],256],12893:[[51,51],256],12894:[[51,52],256],12895:[[51,53],256],12896:[[4352],256],12897:[[4354],256],12898:[[4355],256],12899:[[4357],256],12900:[[4358],256],12901:[[4359],256],12902:[[4361],256],12903:[[4363],256],12904:[[4364],256],12905:[[4366],256],12906:[[4367],256],12907:[[4368],256],12908:[[4369],256],12909:[[4370],256],12910:[[4352,4449],256],12911:[[4354,4449],256],12912:[[4355,4449],256],12913:[[4357,4449],256],12914:[[4358,4449],256],12915:[[4359,4449],256],12916:[[4361,4449],256],12917:[[4363,4449],256],12918:[[4364,4449],256],12919:[[4366,4449],256],12920:[[4367,4449],256],12921:[[4368,4449],256],12922:[[4369,4449],256],12923:[[4370,4449],256],12924:[[4366,4449,4535,4352,4457],256],12925:[[4364,4462,4363,4468],256],12926:[[4363,4462],256],12928:[[19968],256],12929:[[20108],256],12930:[[19977],256],12931:[[22235],256],12932:[[20116],256],12933:[[20845],256],12934:[[19971],256],12935:[[20843],256],12936:[[20061],256],12937:[[21313],256],12938:[[26376],256],12939:[[28779],256],12940:[[27700],256],12941:[[26408],256],12942:[[37329],256],12943:[[22303],256],12944:[[26085],256],12945:[[26666],256],12946:[[26377],256],12947:[[31038],256],12948:[[21517],256],12949:[[29305],256],12950:[[36001],256],12951:[[31069],256],12952:[[21172],256],12953:[[31192],256],12954:[[30007],256],12955:[[22899],256],12956:[[36969],256],12957:[[20778],256],12958:[[21360],256],12959:[[27880],256],12960:[[38917],256],12961:[[20241],256],12962:[[20889],256],12963:[[27491],256],12964:[[19978],256],12965:[[20013],256],12966:[[19979],256],12967:[[24038],256],12968:[[21491],256],12969:[[21307],256],12970:[[23447],256],12971:[[23398],256],12972:[[30435],256],12973:[[20225],256],12974:[[36039],256],12975:[[21332],256],12976:[[22812],256],12977:[[51,54],256],12978:[[51,55],256],12979:[[51,56],256],12980:[[51,57],256],12981:[[52,48],256],12982:[[52,49],256],12983:[[52,50],256],12984:[[52,51],256],12985:[[52,52],256],12986:[[52,53],256],12987:[[52,54],256],12988:[[52,55],256],12989:[[52,56],256],12990:[[52,57],256],12991:[[53,48],256],12992:[[49,26376],256],12993:[[50,26376],256],12994:[[51,26376],256],12995:[[52,26376],256],12996:[[53,26376],256],12997:[[54,26376],256],12998:[[55,26376],256],12999:[[56,26376],256],13000:[[57,26376],256],13001:[[49,48,26376],256],13002:[[49,49,26376],256],13003:[[49,50,26376],256],13004:[[72,103],256],13005:[[101,114,103],256],13006:[[101,86],256],13007:[[76,84,68],256],13008:[[12450],256],13009:[[12452],256],13010:[[12454],256],13011:[[12456],256],13012:[[12458],256],13013:[[12459],256],13014:[[12461],256],13015:[[12463],256],13016:[[12465],256],13017:[[12467],256],13018:[[12469],256],13019:[[12471],256],13020:[[12473],256],13021:[[12475],256],13022:[[12477],256],13023:[[12479],256],13024:[[12481],256],13025:[[12484],256],13026:[[12486],256],13027:[[12488],256],13028:[[12490],256],13029:[[12491],256],13030:[[12492],256],13031:[[12493],256],13032:[[12494],256],13033:[[12495],256],13034:[[12498],256],13035:[[12501],256],13036:[[12504],256],13037:[[12507],256],13038:[[12510],256],13039:[[12511],256],13040:[[12512],256],13041:[[12513],256],13042:[[12514],256],13043:[[12516],256],13044:[[12518],256],13045:[[12520],256],13046:[[12521],256],13047:[[12522],256],13048:[[12523],256],13049:[[12524],256],13050:[[12525],256],13051:[[12527],256],13052:[[12528],256],13053:[[12529],256],13054:[[12530],256]}, 13056:{13056:[[12450,12497,12540,12488],256],13057:[[12450,12523,12501,12449],256],13058:[[12450,12531,12506,12450],256],13059:[[12450,12540,12523],256],13060:[[12452,12491,12531,12464],256],13061:[[12452,12531,12481],256],13062:[[12454,12457,12531],256],13063:[[12456,12473,12463,12540,12489],256],13064:[[12456,12540,12459,12540],256],13065:[[12458,12531,12473],256],13066:[[12458,12540,12512],256],13067:[[12459,12452,12522],256],13068:[[12459,12521,12483,12488],256],13069:[[12459,12525,12522,12540],256],13070:[[12460,12525,12531],256],13071:[[12460,12531,12510],256],13072:[[12462,12460],256],13073:[[12462,12491,12540],256],13074:[[12461,12517,12522,12540],256],13075:[[12462,12523,12480,12540],256],13076:[[12461,12525],256],13077:[[12461,12525,12464,12521,12512],256],13078:[[12461,12525,12513,12540,12488,12523],256],13079:[[12461,12525,12527,12483,12488],256],13080:[[12464,12521,12512],256],13081:[[12464,12521,12512,12488,12531],256],13082:[[12463,12523,12476,12452,12525],256],13083:[[12463,12525,12540,12493],256],13084:[[12465,12540,12473],256],13085:[[12467,12523,12490],256],13086:[[12467,12540,12509],256],13087:[[12469,12452,12463,12523],256],13088:[[12469,12531,12481,12540,12512],256],13089:[[12471,12522,12531,12464],256],13090:[[12475,12531,12481],256],13091:[[12475,12531,12488],256],13092:[[12480,12540,12473],256],13093:[[12487,12471],256],13094:[[12489,12523],256],13095:[[12488,12531],256],13096:[[12490,12494],256],13097:[[12494,12483,12488],256],13098:[[12495,12452,12484],256],13099:[[12497,12540,12475,12531,12488],256],13100:[[12497,12540,12484],256],13101:[[12496,12540,12524,12523],256],13102:[[12500,12450,12473,12488,12523],256],13103:[[12500,12463,12523],256],13104:[[12500,12467],256],13105:[[12499,12523],256],13106:[[12501,12449,12521,12483,12489],256],13107:[[12501,12451,12540,12488],256],13108:[[12502,12483,12471,12455,12523],256],13109:[[12501,12521,12531],256],13110:[[12504,12463,12479,12540,12523],256],13111:[[12506,12477],256],13112:[[12506,12491,12498],256],13113:[[12504,12523,12484],256],13114:[[12506,12531,12473],256],13115:[[12506,12540,12472],256],13116:[[12505,12540,12479],256],13117:[[12509,12452,12531,12488],256],13118:[[12508,12523,12488],256],13119:[[12507,12531],256],13120:[[12509,12531,12489],256],13121:[[12507,12540,12523],256],13122:[[12507,12540,12531],256],13123:[[12510,12452,12463,12525],256],13124:[[12510,12452,12523],256],13125:[[12510,12483,12495],256],13126:[[12510,12523,12463],256],13127:[[12510,12531,12471,12519,12531],256],13128:[[12511,12463,12525,12531],256],13129:[[12511,12522],256],13130:[[12511,12522,12496,12540,12523],256],13131:[[12513,12460],256],13132:[[12513,12460,12488,12531],256],13133:[[12513,12540,12488,12523],256],13134:[[12516,12540,12489],256],13135:[[12516,12540,12523],256],13136:[[12518,12450,12531],256],13137:[[12522,12483,12488,12523],256],13138:[[12522,12521],256],13139:[[12523,12500,12540],256],13140:[[12523,12540,12502,12523],256],13141:[[12524,12512],256],13142:[[12524,12531,12488,12466,12531],256],13143:[[12527,12483,12488],256],13144:[[48,28857],256],13145:[[49,28857],256],13146:[[50,28857],256],13147:[[51,28857],256],13148:[[52,28857],256],13149:[[53,28857],256],13150:[[54,28857],256],13151:[[55,28857],256],13152:[[56,28857],256],13153:[[57,28857],256],13154:[[49,48,28857],256],13155:[[49,49,28857],256],13156:[[49,50,28857],256],13157:[[49,51,28857],256],13158:[[49,52,28857],256],13159:[[49,53,28857],256],13160:[[49,54,28857],256],13161:[[49,55,28857],256],13162:[[49,56,28857],256],13163:[[49,57,28857],256],13164:[[50,48,28857],256],13165:[[50,49,28857],256],13166:[[50,50,28857],256],13167:[[50,51,28857],256],13168:[[50,52,28857],256],13169:[[104,80,97],256],13170:[[100,97],256],13171:[[65,85],256],13172:[[98,97,114],256],13173:[[111,86],256],13174:[[112,99],256],13175:[[100,109],256],13176:[[100,109,178],256],13177:[[100,109,179],256],13178:[[73,85],256],13179:[[24179,25104],256],13180:[[26157,21644],256],13181:[[22823,27491],256],13182:[[26126,27835],256],13183:[[26666,24335,20250,31038],256],13184:[[112,65],256],13185:[[110,65],256],13186:[[956,65],256],13187:[[109,65],256],13188:[[107,65],256],13189:[[75,66],256],13190:[[77,66],256],13191:[[71,66],256],13192:[[99,97,108],256],13193:[[107,99,97,108],256],13194:[[112,70],256],13195:[[110,70],256],13196:[[956,70],256],13197:[[956,103],256],13198:[[109,103],256],13199:[[107,103],256],13200:[[72,122],256],13201:[[107,72,122],256],13202:[[77,72,122],256],13203:[[71,72,122],256],13204:[[84,72,122],256],13205:[[956,8467],256],13206:[[109,8467],256],13207:[[100,8467],256],13208:[[107,8467],256],13209:[[102,109],256],13210:[[110,109],256],13211:[[956,109],256],13212:[[109,109],256],13213:[[99,109],256],13214:[[107,109],256],13215:[[109,109,178],256],13216:[[99,109,178],256],13217:[[109,178],256],13218:[[107,109,178],256],13219:[[109,109,179],256],13220:[[99,109,179],256],13221:[[109,179],256],13222:[[107,109,179],256],13223:[[109,8725,115],256],13224:[[109,8725,115,178],256],13225:[[80,97],256],13226:[[107,80,97],256],13227:[[77,80,97],256],13228:[[71,80,97],256],13229:[[114,97,100],256],13230:[[114,97,100,8725,115],256],13231:[[114,97,100,8725,115,178],256],13232:[[112,115],256],13233:[[110,115],256],13234:[[956,115],256],13235:[[109,115],256],13236:[[112,86],256],13237:[[110,86],256],13238:[[956,86],256],13239:[[109,86],256],13240:[[107,86],256],13241:[[77,86],256],13242:[[112,87],256],13243:[[110,87],256],13244:[[956,87],256],13245:[[109,87],256],13246:[[107,87],256],13247:[[77,87],256],13248:[[107,937],256],13249:[[77,937],256],13250:[[97,46,109,46],256],13251:[[66,113],256],13252:[[99,99],256],13253:[[99,100],256],13254:[[67,8725,107,103],256],13255:[[67,111,46],256],13256:[[100,66],256],13257:[[71,121],256],13258:[[104,97],256],13259:[[72,80],256],13260:[[105,110],256],13261:[[75,75],256],13262:[[75,77],256],13263:[[107,116],256],13264:[[108,109],256],13265:[[108,110],256],13266:[[108,111,103],256],13267:[[108,120],256],13268:[[109,98],256],13269:[[109,105,108],256],13270:[[109,111,108],256],13271:[[80,72],256],13272:[[112,46,109,46],256],13273:[[80,80,77],256],13274:[[80,82],256],13275:[[115,114],256],13276:[[83,118],256],13277:[[87,98],256],13278:[[86,8725,109],256],13279:[[65,8725,109],256],13280:[[49,26085],256],13281:[[50,26085],256],13282:[[51,26085],256],13283:[[52,26085],256],13284:[[53,26085],256],13285:[[54,26085],256],13286:[[55,26085],256],13287:[[56,26085],256],13288:[[57,26085],256],13289:[[49,48,26085],256],13290:[[49,49,26085],256],13291:[[49,50,26085],256],13292:[[49,51,26085],256],13293:[[49,52,26085],256],13294:[[49,53,26085],256],13295:[[49,54,26085],256],13296:[[49,55,26085],256],13297:[[49,56,26085],256],13298:[[49,57,26085],256],13299:[[50,48,26085],256],13300:[[50,49,26085],256],13301:[[50,50,26085],256],13302:[[50,51,26085],256],13303:[[50,52,26085],256],13304:[[50,53,26085],256],13305:[[50,54,26085],256],13306:[[50,55,26085],256],13307:[[50,56,26085],256],13308:[[50,57,26085],256],13309:[[51,48,26085],256],13310:[[51,49,26085],256],13311:[[103,97,108],256]}, -42496:{42607:[,230],42612:[,230],42613:[,230],42614:[,230],42615:[,230],42616:[,230],42617:[,230],42618:[,230],42619:[,230],42620:[,230],42621:[,230],42655:[,230],42736:[,230],42737:[,230]}, +27136:{92912:[,1],92913:[,1],92914:[,1],92915:[,1],92916:[,1]}, +27392:{92976:[,230],92977:[,230],92978:[,230],92979:[,230],92980:[,230],92981:[,230],92982:[,230]}, +42496:{42607:[,230],42612:[,230],42613:[,230],42614:[,230],42615:[,230],42616:[,230],42617:[,230],42618:[,230],42619:[,230],42620:[,230],42621:[,230],42652:[[1098],256],42653:[[1100],256],42655:[,230],42736:[,230],42737:[,230]}, 42752:{42864:[[42863],256],43000:[[294],256],43001:[[339],256]}, 43008:{43014:[,9],43204:[,9],43232:[,230],43233:[,230],43234:[,230],43235:[,230],43236:[,230],43237:[,230],43238:[,230],43239:[,230],43240:[,230],43241:[,230],43242:[,230],43243:[,230],43244:[,230],43245:[,230],43246:[,230],43247:[,230],43248:[,230],43249:[,230]}, 43264:{43307:[,220],43308:[,220],43309:[,220],43347:[,9],43443:[,7],43456:[,9]}, 43520:{43696:[,230],43698:[,230],43699:[,230],43700:[,220],43703:[,230],43704:[,230],43710:[,230],43711:[,230],43713:[,230],43766:[,9]}, -43776:{44013:[,9]}, +43776:{43868:[[42791],256],43869:[[43831],256],43870:[[619],256],43871:[[43858],256],44013:[,9]}, +48128:{113822:[,1]}, 53504:{119134:[[119127,119141],512],119135:[[119128,119141],512],119136:[[119135,119150],512],119137:[[119135,119151],512],119138:[[119135,119152],512],119139:[[119135,119153],512],119140:[[119135,119154],512],119141:[,216],119142:[,216],119143:[,1],119144:[,1],119145:[,1],119149:[,226],119150:[,216],119151:[,216],119152:[,216],119153:[,216],119154:[,216],119163:[,220],119164:[,220],119165:[,220],119166:[,220],119167:[,220],119168:[,220],119169:[,220],119170:[,220],119173:[,230],119174:[,230],119175:[,230],119176:[,230],119177:[,230],119178:[,220],119179:[,220],119210:[,230],119211:[,230],119212:[,230],119213:[,230],119227:[[119225,119141],512],119228:[[119226,119141],512],119229:[[119227,119150],512],119230:[[119228,119150],512],119231:[[119227,119151],512],119232:[[119228,119151],512]}, 53760:{119362:[,230],119363:[,230],119364:[,230]}, 54272:{119808:[[65],256],119809:[[66],256],119810:[[67],256],119811:[[68],256],119812:[[69],256],119813:[[70],256],119814:[[71],256],119815:[[72],256],119816:[[73],256],119817:[[74],256],119818:[[75],256],119819:[[76],256],119820:[[77],256],119821:[[78],256],119822:[[79],256],119823:[[80],256],119824:[[81],256],119825:[[82],256],119826:[[83],256],119827:[[84],256],119828:[[85],256],119829:[[86],256],119830:[[87],256],119831:[[88],256],119832:[[89],256],119833:[[90],256],119834:[[97],256],119835:[[98],256],119836:[[99],256],119837:[[100],256],119838:[[101],256],119839:[[102],256],119840:[[103],256],119841:[[104],256],119842:[[105],256],119843:[[106],256],119844:[[107],256],119845:[[108],256],119846:[[109],256],119847:[[110],256],119848:[[111],256],119849:[[112],256],119850:[[113],256],119851:[[114],256],119852:[[115],256],119853:[[116],256],119854:[[117],256],119855:[[118],256],119856:[[119],256],119857:[[120],256],119858:[[121],256],119859:[[122],256],119860:[[65],256],119861:[[66],256],119862:[[67],256],119863:[[68],256],119864:[[69],256],119865:[[70],256],119866:[[71],256],119867:[[72],256],119868:[[73],256],119869:[[74],256],119870:[[75],256],119871:[[76],256],119872:[[77],256],119873:[[78],256],119874:[[79],256],119875:[[80],256],119876:[[81],256],119877:[[82],256],119878:[[83],256],119879:[[84],256],119880:[[85],256],119881:[[86],256],119882:[[87],256],119883:[[88],256],119884:[[89],256],119885:[[90],256],119886:[[97],256],119887:[[98],256],119888:[[99],256],119889:[[100],256],119890:[[101],256],119891:[[102],256],119892:[[103],256],119894:[[105],256],119895:[[106],256],119896:[[107],256],119897:[[108],256],119898:[[109],256],119899:[[110],256],119900:[[111],256],119901:[[112],256],119902:[[113],256],119903:[[114],256],119904:[[115],256],119905:[[116],256],119906:[[117],256],119907:[[118],256],119908:[[119],256],119909:[[120],256],119910:[[121],256],119911:[[122],256],119912:[[65],256],119913:[[66],256],119914:[[67],256],119915:[[68],256],119916:[[69],256],119917:[[70],256],119918:[[71],256],119919:[[72],256],119920:[[73],256],119921:[[74],256],119922:[[75],256],119923:[[76],256],119924:[[77],256],119925:[[78],256],119926:[[79],256],119927:[[80],256],119928:[[81],256],119929:[[82],256],119930:[[83],256],119931:[[84],256],119932:[[85],256],119933:[[86],256],119934:[[87],256],119935:[[88],256],119936:[[89],256],119937:[[90],256],119938:[[97],256],119939:[[98],256],119940:[[99],256],119941:[[100],256],119942:[[101],256],119943:[[102],256],119944:[[103],256],119945:[[104],256],119946:[[105],256],119947:[[106],256],119948:[[107],256],119949:[[108],256],119950:[[109],256],119951:[[110],256],119952:[[111],256],119953:[[112],256],119954:[[113],256],119955:[[114],256],119956:[[115],256],119957:[[116],256],119958:[[117],256],119959:[[118],256],119960:[[119],256],119961:[[120],256],119962:[[121],256],119963:[[122],256],119964:[[65],256],119966:[[67],256],119967:[[68],256],119970:[[71],256],119973:[[74],256],119974:[[75],256],119977:[[78],256],119978:[[79],256],119979:[[80],256],119980:[[81],256],119982:[[83],256],119983:[[84],256],119984:[[85],256],119985:[[86],256],119986:[[87],256],119987:[[88],256],119988:[[89],256],119989:[[90],256],119990:[[97],256],119991:[[98],256],119992:[[99],256],119993:[[100],256],119995:[[102],256],119997:[[104],256],119998:[[105],256],119999:[[106],256],120000:[[107],256],120001:[[108],256],120002:[[109],256],120003:[[110],256],120005:[[112],256],120006:[[113],256],120007:[[114],256],120008:[[115],256],120009:[[116],256],120010:[[117],256],120011:[[118],256],120012:[[119],256],120013:[[120],256],120014:[[121],256],120015:[[122],256],120016:[[65],256],120017:[[66],256],120018:[[67],256],120019:[[68],256],120020:[[69],256],120021:[[70],256],120022:[[71],256],120023:[[72],256],120024:[[73],256],120025:[[74],256],120026:[[75],256],120027:[[76],256],120028:[[77],256],120029:[[78],256],120030:[[79],256],120031:[[80],256],120032:[[81],256],120033:[[82],256],120034:[[83],256],120035:[[84],256],120036:[[85],256],120037:[[86],256],120038:[[87],256],120039:[[88],256],120040:[[89],256],120041:[[90],256],120042:[[97],256],120043:[[98],256],120044:[[99],256],120045:[[100],256],120046:[[101],256],120047:[[102],256],120048:[[103],256],120049:[[104],256],120050:[[105],256],120051:[[106],256],120052:[[107],256],120053:[[108],256],120054:[[109],256],120055:[[110],256],120056:[[111],256],120057:[[112],256],120058:[[113],256],120059:[[114],256],120060:[[115],256],120061:[[116],256],120062:[[117],256],120063:[[118],256]}, 54528:{120064:[[119],256],120065:[[120],256],120066:[[121],256],120067:[[122],256],120068:[[65],256],120069:[[66],256],120071:[[68],256],120072:[[69],256],120073:[[70],256],120074:[[71],256],120077:[[74],256],120078:[[75],256],120079:[[76],256],120080:[[77],256],120081:[[78],256],120082:[[79],256],120083:[[80],256],120084:[[81],256],120086:[[83],256],120087:[[84],256],120088:[[85],256],120089:[[86],256],120090:[[87],256],120091:[[88],256],120092:[[89],256],120094:[[97],256],120095:[[98],256],120096:[[99],256],120097:[[100],256],120098:[[101],256],120099:[[102],256],120100:[[103],256],120101:[[104],256],120102:[[105],256],120103:[[106],256],120104:[[107],256],120105:[[108],256],120106:[[109],256],120107:[[110],256],120108:[[111],256],120109:[[112],256],120110:[[113],256],120111:[[114],256],120112:[[115],256],120113:[[116],256],120114:[[117],256],120115:[[118],256],120116:[[119],256],120117:[[120],256],120118:[[121],256],120119:[[122],256],120120:[[65],256],120121:[[66],256],120123:[[68],256],120124:[[69],256],120125:[[70],256],120126:[[71],256],120128:[[73],256],120129:[[74],256],120130:[[75],256],120131:[[76],256],120132:[[77],256],120134:[[79],256],120138:[[83],256],120139:[[84],256],120140:[[85],256],120141:[[86],256],120142:[[87],256],120143:[[88],256],120144:[[89],256],120146:[[97],256],120147:[[98],256],120148:[[99],256],120149:[[100],256],120150:[[101],256],120151:[[102],256],120152:[[103],256],120153:[[104],256],120154:[[105],256],120155:[[106],256],120156:[[107],256],120157:[[108],256],120158:[[109],256],120159:[[110],256],120160:[[111],256],120161:[[112],256],120162:[[113],256],120163:[[114],256],120164:[[115],256],120165:[[116],256],120166:[[117],256],120167:[[118],256],120168:[[119],256],120169:[[120],256],120170:[[121],256],120171:[[122],256],120172:[[65],256],120173:[[66],256],120174:[[67],256],120175:[[68],256],120176:[[69],256],120177:[[70],256],120178:[[71],256],120179:[[72],256],120180:[[73],256],120181:[[74],256],120182:[[75],256],120183:[[76],256],120184:[[77],256],120185:[[78],256],120186:[[79],256],120187:[[80],256],120188:[[81],256],120189:[[82],256],120190:[[83],256],120191:[[84],256],120192:[[85],256],120193:[[86],256],120194:[[87],256],120195:[[88],256],120196:[[89],256],120197:[[90],256],120198:[[97],256],120199:[[98],256],120200:[[99],256],120201:[[100],256],120202:[[101],256],120203:[[102],256],120204:[[103],256],120205:[[104],256],120206:[[105],256],120207:[[106],256],120208:[[107],256],120209:[[108],256],120210:[[109],256],120211:[[110],256],120212:[[111],256],120213:[[112],256],120214:[[113],256],120215:[[114],256],120216:[[115],256],120217:[[116],256],120218:[[117],256],120219:[[118],256],120220:[[119],256],120221:[[120],256],120222:[[121],256],120223:[[122],256],120224:[[65],256],120225:[[66],256],120226:[[67],256],120227:[[68],256],120228:[[69],256],120229:[[70],256],120230:[[71],256],120231:[[72],256],120232:[[73],256],120233:[[74],256],120234:[[75],256],120235:[[76],256],120236:[[77],256],120237:[[78],256],120238:[[79],256],120239:[[80],256],120240:[[81],256],120241:[[82],256],120242:[[83],256],120243:[[84],256],120244:[[85],256],120245:[[86],256],120246:[[87],256],120247:[[88],256],120248:[[89],256],120249:[[90],256],120250:[[97],256],120251:[[98],256],120252:[[99],256],120253:[[100],256],120254:[[101],256],120255:[[102],256],120256:[[103],256],120257:[[104],256],120258:[[105],256],120259:[[106],256],120260:[[107],256],120261:[[108],256],120262:[[109],256],120263:[[110],256],120264:[[111],256],120265:[[112],256],120266:[[113],256],120267:[[114],256],120268:[[115],256],120269:[[116],256],120270:[[117],256],120271:[[118],256],120272:[[119],256],120273:[[120],256],120274:[[121],256],120275:[[122],256],120276:[[65],256],120277:[[66],256],120278:[[67],256],120279:[[68],256],120280:[[69],256],120281:[[70],256],120282:[[71],256],120283:[[72],256],120284:[[73],256],120285:[[74],256],120286:[[75],256],120287:[[76],256],120288:[[77],256],120289:[[78],256],120290:[[79],256],120291:[[80],256],120292:[[81],256],120293:[[82],256],120294:[[83],256],120295:[[84],256],120296:[[85],256],120297:[[86],256],120298:[[87],256],120299:[[88],256],120300:[[89],256],120301:[[90],256],120302:[[97],256],120303:[[98],256],120304:[[99],256],120305:[[100],256],120306:[[101],256],120307:[[102],256],120308:[[103],256],120309:[[104],256],120310:[[105],256],120311:[[106],256],120312:[[107],256],120313:[[108],256],120314:[[109],256],120315:[[110],256],120316:[[111],256],120317:[[112],256],120318:[[113],256],120319:[[114],256]}, 54784:{120320:[[115],256],120321:[[116],256],120322:[[117],256],120323:[[118],256],120324:[[119],256],120325:[[120],256],120326:[[121],256],120327:[[122],256],120328:[[65],256],120329:[[66],256],120330:[[67],256],120331:[[68],256],120332:[[69],256],120333:[[70],256],120334:[[71],256],120335:[[72],256],120336:[[73],256],120337:[[74],256],120338:[[75],256],120339:[[76],256],120340:[[77],256],120341:[[78],256],120342:[[79],256],120343:[[80],256],120344:[[81],256],120345:[[82],256],120346:[[83],256],120347:[[84],256],120348:[[85],256],120349:[[86],256],120350:[[87],256],120351:[[88],256],120352:[[89],256],120353:[[90],256],120354:[[97],256],120355:[[98],256],120356:[[99],256],120357:[[100],256],120358:[[101],256],120359:[[102],256],120360:[[103],256],120361:[[104],256],120362:[[105],256],120363:[[106],256],120364:[[107],256],120365:[[108],256],120366:[[109],256],120367:[[110],256],120368:[[111],256],120369:[[112],256],120370:[[113],256],120371:[[114],256],120372:[[115],256],120373:[[116],256],120374:[[117],256],120375:[[118],256],120376:[[119],256],120377:[[120],256],120378:[[121],256],120379:[[122],256],120380:[[65],256],120381:[[66],256],120382:[[67],256],120383:[[68],256],120384:[[69],256],120385:[[70],256],120386:[[71],256],120387:[[72],256],120388:[[73],256],120389:[[74],256],120390:[[75],256],120391:[[76],256],120392:[[77],256],120393:[[78],256],120394:[[79],256],120395:[[80],256],120396:[[81],256],120397:[[82],256],120398:[[83],256],120399:[[84],256],120400:[[85],256],120401:[[86],256],120402:[[87],256],120403:[[88],256],120404:[[89],256],120405:[[90],256],120406:[[97],256],120407:[[98],256],120408:[[99],256],120409:[[100],256],120410:[[101],256],120411:[[102],256],120412:[[103],256],120413:[[104],256],120414:[[105],256],120415:[[106],256],120416:[[107],256],120417:[[108],256],120418:[[109],256],120419:[[110],256],120420:[[111],256],120421:[[112],256],120422:[[113],256],120423:[[114],256],120424:[[115],256],120425:[[116],256],120426:[[117],256],120427:[[118],256],120428:[[119],256],120429:[[120],256],120430:[[121],256],120431:[[122],256],120432:[[65],256],120433:[[66],256],120434:[[67],256],120435:[[68],256],120436:[[69],256],120437:[[70],256],120438:[[71],256],120439:[[72],256],120440:[[73],256],120441:[[74],256],120442:[[75],256],120443:[[76],256],120444:[[77],256],120445:[[78],256],120446:[[79],256],120447:[[80],256],120448:[[81],256],120449:[[82],256],120450:[[83],256],120451:[[84],256],120452:[[85],256],120453:[[86],256],120454:[[87],256],120455:[[88],256],120456:[[89],256],120457:[[90],256],120458:[[97],256],120459:[[98],256],120460:[[99],256],120461:[[100],256],120462:[[101],256],120463:[[102],256],120464:[[103],256],120465:[[104],256],120466:[[105],256],120467:[[106],256],120468:[[107],256],120469:[[108],256],120470:[[109],256],120471:[[110],256],120472:[[111],256],120473:[[112],256],120474:[[113],256],120475:[[114],256],120476:[[115],256],120477:[[116],256],120478:[[117],256],120479:[[118],256],120480:[[119],256],120481:[[120],256],120482:[[121],256],120483:[[122],256],120484:[[305],256],120485:[[567],256],120488:[[913],256],120489:[[914],256],120490:[[915],256],120491:[[916],256],120492:[[917],256],120493:[[918],256],120494:[[919],256],120495:[[920],256],120496:[[921],256],120497:[[922],256],120498:[[923],256],120499:[[924],256],120500:[[925],256],120501:[[926],256],120502:[[927],256],120503:[[928],256],120504:[[929],256],120505:[[1012],256],120506:[[931],256],120507:[[932],256],120508:[[933],256],120509:[[934],256],120510:[[935],256],120511:[[936],256],120512:[[937],256],120513:[[8711],256],120514:[[945],256],120515:[[946],256],120516:[[947],256],120517:[[948],256],120518:[[949],256],120519:[[950],256],120520:[[951],256],120521:[[952],256],120522:[[953],256],120523:[[954],256],120524:[[955],256],120525:[[956],256],120526:[[957],256],120527:[[958],256],120528:[[959],256],120529:[[960],256],120530:[[961],256],120531:[[962],256],120532:[[963],256],120533:[[964],256],120534:[[965],256],120535:[[966],256],120536:[[967],256],120537:[[968],256],120538:[[969],256],120539:[[8706],256],120540:[[1013],256],120541:[[977],256],120542:[[1008],256],120543:[[981],256],120544:[[1009],256],120545:[[982],256],120546:[[913],256],120547:[[914],256],120548:[[915],256],120549:[[916],256],120550:[[917],256],120551:[[918],256],120552:[[919],256],120553:[[920],256],120554:[[921],256],120555:[[922],256],120556:[[923],256],120557:[[924],256],120558:[[925],256],120559:[[926],256],120560:[[927],256],120561:[[928],256],120562:[[929],256],120563:[[1012],256],120564:[[931],256],120565:[[932],256],120566:[[933],256],120567:[[934],256],120568:[[935],256],120569:[[936],256],120570:[[937],256],120571:[[8711],256],120572:[[945],256],120573:[[946],256],120574:[[947],256],120575:[[948],256]}, 55040:{120576:[[949],256],120577:[[950],256],120578:[[951],256],120579:[[952],256],120580:[[953],256],120581:[[954],256],120582:[[955],256],120583:[[956],256],120584:[[957],256],120585:[[958],256],120586:[[959],256],120587:[[960],256],120588:[[961],256],120589:[[962],256],120590:[[963],256],120591:[[964],256],120592:[[965],256],120593:[[966],256],120594:[[967],256],120595:[[968],256],120596:[[969],256],120597:[[8706],256],120598:[[1013],256],120599:[[977],256],120600:[[1008],256],120601:[[981],256],120602:[[1009],256],120603:[[982],256],120604:[[913],256],120605:[[914],256],120606:[[915],256],120607:[[916],256],120608:[[917],256],120609:[[918],256],120610:[[919],256],120611:[[920],256],120612:[[921],256],120613:[[922],256],120614:[[923],256],120615:[[924],256],120616:[[925],256],120617:[[926],256],120618:[[927],256],120619:[[928],256],120620:[[929],256],120621:[[1012],256],120622:[[931],256],120623:[[932],256],120624:[[933],256],120625:[[934],256],120626:[[935],256],120627:[[936],256],120628:[[937],256],120629:[[8711],256],120630:[[945],256],120631:[[946],256],120632:[[947],256],120633:[[948],256],120634:[[949],256],120635:[[950],256],120636:[[951],256],120637:[[952],256],120638:[[953],256],120639:[[954],256],120640:[[955],256],120641:[[956],256],120642:[[957],256],120643:[[958],256],120644:[[959],256],120645:[[960],256],120646:[[961],256],120647:[[962],256],120648:[[963],256],120649:[[964],256],120650:[[965],256],120651:[[966],256],120652:[[967],256],120653:[[968],256],120654:[[969],256],120655:[[8706],256],120656:[[1013],256],120657:[[977],256],120658:[[1008],256],120659:[[981],256],120660:[[1009],256],120661:[[982],256],120662:[[913],256],120663:[[914],256],120664:[[915],256],120665:[[916],256],120666:[[917],256],120667:[[918],256],120668:[[919],256],120669:[[920],256],120670:[[921],256],120671:[[922],256],120672:[[923],256],120673:[[924],256],120674:[[925],256],120675:[[926],256],120676:[[927],256],120677:[[928],256],120678:[[929],256],120679:[[1012],256],120680:[[931],256],120681:[[932],256],120682:[[933],256],120683:[[934],256],120684:[[935],256],120685:[[936],256],120686:[[937],256],120687:[[8711],256],120688:[[945],256],120689:[[946],256],120690:[[947],256],120691:[[948],256],120692:[[949],256],120693:[[950],256],120694:[[951],256],120695:[[952],256],120696:[[953],256],120697:[[954],256],120698:[[955],256],120699:[[956],256],120700:[[957],256],120701:[[958],256],120702:[[959],256],120703:[[960],256],120704:[[961],256],120705:[[962],256],120706:[[963],256],120707:[[964],256],120708:[[965],256],120709:[[966],256],120710:[[967],256],120711:[[968],256],120712:[[969],256],120713:[[8706],256],120714:[[1013],256],120715:[[977],256],120716:[[1008],256],120717:[[981],256],120718:[[1009],256],120719:[[982],256],120720:[[913],256],120721:[[914],256],120722:[[915],256],120723:[[916],256],120724:[[917],256],120725:[[918],256],120726:[[919],256],120727:[[920],256],120728:[[921],256],120729:[[922],256],120730:[[923],256],120731:[[924],256],120732:[[925],256],120733:[[926],256],120734:[[927],256],120735:[[928],256],120736:[[929],256],120737:[[1012],256],120738:[[931],256],120739:[[932],256],120740:[[933],256],120741:[[934],256],120742:[[935],256],120743:[[936],256],120744:[[937],256],120745:[[8711],256],120746:[[945],256],120747:[[946],256],120748:[[947],256],120749:[[948],256],120750:[[949],256],120751:[[950],256],120752:[[951],256],120753:[[952],256],120754:[[953],256],120755:[[954],256],120756:[[955],256],120757:[[956],256],120758:[[957],256],120759:[[958],256],120760:[[959],256],120761:[[960],256],120762:[[961],256],120763:[[962],256],120764:[[963],256],120765:[[964],256],120766:[[965],256],120767:[[966],256],120768:[[967],256],120769:[[968],256],120770:[[969],256],120771:[[8706],256],120772:[[1013],256],120773:[[977],256],120774:[[1008],256],120775:[[981],256],120776:[[1009],256],120777:[[982],256],120778:[[988],256],120779:[[989],256],120782:[[48],256],120783:[[49],256],120784:[[50],256],120785:[[51],256],120786:[[52],256],120787:[[53],256],120788:[[54],256],120789:[[55],256],120790:[[56],256],120791:[[57],256],120792:[[48],256],120793:[[49],256],120794:[[50],256],120795:[[51],256],120796:[[52],256],120797:[[53],256],120798:[[54],256],120799:[[55],256],120800:[[56],256],120801:[[57],256],120802:[[48],256],120803:[[49],256],120804:[[50],256],120805:[[51],256],120806:[[52],256],120807:[[53],256],120808:[[54],256],120809:[[55],256],120810:[[56],256],120811:[[57],256],120812:[[48],256],120813:[[49],256],120814:[[50],256],120815:[[51],256],120816:[[52],256],120817:[[53],256],120818:[[54],256],120819:[[55],256],120820:[[56],256],120821:[[57],256],120822:[[48],256],120823:[[49],256],120824:[[50],256],120825:[[51],256],120826:[[52],256],120827:[[53],256],120828:[[54],256],120829:[[55],256],120830:[[56],256],120831:[[57],256]}, +59392:{125136:[,220],125137:[,220],125138:[,220],125139:[,220],125140:[,220],125141:[,220],125142:[,220]}, 60928:{126464:[[1575],256],126465:[[1576],256],126466:[[1580],256],126467:[[1583],256],126469:[[1608],256],126470:[[1586],256],126471:[[1581],256],126472:[[1591],256],126473:[[1610],256],126474:[[1603],256],126475:[[1604],256],126476:[[1605],256],126477:[[1606],256],126478:[[1587],256],126479:[[1593],256],126480:[[1601],256],126481:[[1589],256],126482:[[1602],256],126483:[[1585],256],126484:[[1588],256],126485:[[1578],256],126486:[[1579],256],126487:[[1582],256],126488:[[1584],256],126489:[[1590],256],126490:[[1592],256],126491:[[1594],256],126492:[[1646],256],126493:[[1722],256],126494:[[1697],256],126495:[[1647],256],126497:[[1576],256],126498:[[1580],256],126500:[[1607],256],126503:[[1581],256],126505:[[1610],256],126506:[[1603],256],126507:[[1604],256],126508:[[1605],256],126509:[[1606],256],126510:[[1587],256],126511:[[1593],256],126512:[[1601],256],126513:[[1589],256],126514:[[1602],256],126516:[[1588],256],126517:[[1578],256],126518:[[1579],256],126519:[[1582],256],126521:[[1590],256],126523:[[1594],256],126530:[[1580],256],126535:[[1581],256],126537:[[1610],256],126539:[[1604],256],126541:[[1606],256],126542:[[1587],256],126543:[[1593],256],126545:[[1589],256],126546:[[1602],256],126548:[[1588],256],126551:[[1582],256],126553:[[1590],256],126555:[[1594],256],126557:[[1722],256],126559:[[1647],256],126561:[[1576],256],126562:[[1580],256],126564:[[1607],256],126567:[[1581],256],126568:[[1591],256],126569:[[1610],256],126570:[[1603],256],126572:[[1605],256],126573:[[1606],256],126574:[[1587],256],126575:[[1593],256],126576:[[1601],256],126577:[[1589],256],126578:[[1602],256],126580:[[1588],256],126581:[[1578],256],126582:[[1579],256],126583:[[1582],256],126585:[[1590],256],126586:[[1592],256],126587:[[1594],256],126588:[[1646],256],126590:[[1697],256],126592:[[1575],256],126593:[[1576],256],126594:[[1580],256],126595:[[1583],256],126596:[[1607],256],126597:[[1608],256],126598:[[1586],256],126599:[[1581],256],126600:[[1591],256],126601:[[1610],256],126603:[[1604],256],126604:[[1605],256],126605:[[1606],256],126606:[[1587],256],126607:[[1593],256],126608:[[1601],256],126609:[[1589],256],126610:[[1602],256],126611:[[1585],256],126612:[[1588],256],126613:[[1578],256],126614:[[1579],256],126615:[[1582],256],126616:[[1584],256],126617:[[1590],256],126618:[[1592],256],126619:[[1594],256],126625:[[1576],256],126626:[[1580],256],126627:[[1583],256],126629:[[1608],256],126630:[[1586],256],126631:[[1581],256],126632:[[1591],256],126633:[[1610],256],126635:[[1604],256],126636:[[1605],256],126637:[[1606],256],126638:[[1587],256],126639:[[1593],256],126640:[[1601],256],126641:[[1589],256],126642:[[1602],256],126643:[[1585],256],126644:[[1588],256],126645:[[1578],256],126646:[[1579],256],126647:[[1582],256],126648:[[1584],256],126649:[[1590],256],126650:[[1592],256],126651:[[1594],256]}, 61696:{127232:[[48,46],256],127233:[[48,44],256],127234:[[49,44],256],127235:[[50,44],256],127236:[[51,44],256],127237:[[52,44],256],127238:[[53,44],256],127239:[[54,44],256],127240:[[55,44],256],127241:[[56,44],256],127242:[[57,44],256],127248:[[40,65,41],256],127249:[[40,66,41],256],127250:[[40,67,41],256],127251:[[40,68,41],256],127252:[[40,69,41],256],127253:[[40,70,41],256],127254:[[40,71,41],256],127255:[[40,72,41],256],127256:[[40,73,41],256],127257:[[40,74,41],256],127258:[[40,75,41],256],127259:[[40,76,41],256],127260:[[40,77,41],256],127261:[[40,78,41],256],127262:[[40,79,41],256],127263:[[40,80,41],256],127264:[[40,81,41],256],127265:[[40,82,41],256],127266:[[40,83,41],256],127267:[[40,84,41],256],127268:[[40,85,41],256],127269:[[40,86,41],256],127270:[[40,87,41],256],127271:[[40,88,41],256],127272:[[40,89,41],256],127273:[[40,90,41],256],127274:[[12308,83,12309],256],127275:[[67],256],127276:[[82],256],127277:[[67,68],256],127278:[[87,90],256],127280:[[65],256],127281:[[66],256],127282:[[67],256],127283:[[68],256],127284:[[69],256],127285:[[70],256],127286:[[71],256],127287:[[72],256],127288:[[73],256],127289:[[74],256],127290:[[75],256],127291:[[76],256],127292:[[77],256],127293:[[78],256],127294:[[79],256],127295:[[80],256],127296:[[81],256],127297:[[82],256],127298:[[83],256],127299:[[84],256],127300:[[85],256],127301:[[86],256],127302:[[87],256],127303:[[88],256],127304:[[89],256],127305:[[90],256],127306:[[72,86],256],127307:[[77,86],256],127308:[[83,68],256],127309:[[83,83],256],127310:[[80,80,86],256],127311:[[87,67],256],127338:[[77,67],256],127339:[[77,68],256],127376:[[68,74],256]}, 61952:{127488:[[12411,12363],256],127489:[[12467,12467],256],127490:[[12469],256],127504:[[25163],256],127505:[[23383],256],127506:[[21452],256],127507:[[12487],256],127508:[[20108],256],127509:[[22810],256],127510:[[35299],256],127511:[[22825],256],127512:[[20132],256],127513:[[26144],256],127514:[[28961],256],127515:[[26009],256],127516:[[21069],256],127517:[[24460],256],127518:[[20877],256],127519:[[26032],256],127520:[[21021],256],127521:[[32066],256],127522:[[29983],256],127523:[[36009],256],127524:[[22768],256],127525:[[21561],256],127526:[[28436],256],127527:[[25237],256],127528:[[25429],256],127529:[[19968],256],127530:[[19977],256],127531:[[36938],256],127532:[[24038],256],127533:[[20013],256],127534:[[21491],256],127535:[[25351],256],127536:[[36208],256],127537:[[25171],256],127538:[[31105],256],127539:[[31354],256],127540:[[21512],256],127541:[[28288],256],127542:[[26377],256],127543:[[26376],256],127544:[[30003],256],127545:[[21106],256],127546:[[21942],256],127552:[[12308,26412,12309],256],127553:[[12308,19977,12309],256],127554:[[12308,20108,12309],256],127555:[[12308,23433,12309],256],127556:[[12308,28857,12309],256],127557:[[12308,25171,12309],256],127558:[[12308,30423,12309],256],127559:[[12308,21213,12309],256],127560:[[12308,25943,12309],256],127568:[[24471],256],127569:[[21487],256]}, @@ -4494,7 +4495,7 @@ UChar.udata={ 64256:{64256:[[102,102],256],64257:[[102,105],256],64258:[[102,108],256],64259:[[102,102,105],256],64260:[[102,102,108],256],64261:[[383,116],256],64262:[[115,116],256],64275:[[1396,1398],256],64276:[[1396,1381],256],64277:[[1396,1387],256],64278:[[1406,1398],256],64279:[[1396,1389],256],64285:[[1497,1460],512],64286:[,26],64287:[[1522,1463],512],64288:[[1506],256],64289:[[1488],256],64290:[[1491],256],64291:[[1492],256],64292:[[1499],256],64293:[[1500],256],64294:[[1501],256],64295:[[1512],256],64296:[[1514],256],64297:[[43],256],64298:[[1513,1473],512],64299:[[1513,1474],512],64300:[[64329,1473],512],64301:[[64329,1474],512],64302:[[1488,1463],512],64303:[[1488,1464],512],64304:[[1488,1468],512],64305:[[1489,1468],512],64306:[[1490,1468],512],64307:[[1491,1468],512],64308:[[1492,1468],512],64309:[[1493,1468],512],64310:[[1494,1468],512],64312:[[1496,1468],512],64313:[[1497,1468],512],64314:[[1498,1468],512],64315:[[1499,1468],512],64316:[[1500,1468],512],64318:[[1502,1468],512],64320:[[1504,1468],512],64321:[[1505,1468],512],64323:[[1507,1468],512],64324:[[1508,1468],512],64326:[[1510,1468],512],64327:[[1511,1468],512],64328:[[1512,1468],512],64329:[[1513,1468],512],64330:[[1514,1468],512],64331:[[1493,1465],512],64332:[[1489,1471],512],64333:[[1499,1471],512],64334:[[1508,1471],512],64335:[[1488,1500],256],64336:[[1649],256],64337:[[1649],256],64338:[[1659],256],64339:[[1659],256],64340:[[1659],256],64341:[[1659],256],64342:[[1662],256],64343:[[1662],256],64344:[[1662],256],64345:[[1662],256],64346:[[1664],256],64347:[[1664],256],64348:[[1664],256],64349:[[1664],256],64350:[[1658],256],64351:[[1658],256],64352:[[1658],256],64353:[[1658],256],64354:[[1663],256],64355:[[1663],256],64356:[[1663],256],64357:[[1663],256],64358:[[1657],256],64359:[[1657],256],64360:[[1657],256],64361:[[1657],256],64362:[[1700],256],64363:[[1700],256],64364:[[1700],256],64365:[[1700],256],64366:[[1702],256],64367:[[1702],256],64368:[[1702],256],64369:[[1702],256],64370:[[1668],256],64371:[[1668],256],64372:[[1668],256],64373:[[1668],256],64374:[[1667],256],64375:[[1667],256],64376:[[1667],256],64377:[[1667],256],64378:[[1670],256],64379:[[1670],256],64380:[[1670],256],64381:[[1670],256],64382:[[1671],256],64383:[[1671],256],64384:[[1671],256],64385:[[1671],256],64386:[[1677],256],64387:[[1677],256],64388:[[1676],256],64389:[[1676],256],64390:[[1678],256],64391:[[1678],256],64392:[[1672],256],64393:[[1672],256],64394:[[1688],256],64395:[[1688],256],64396:[[1681],256],64397:[[1681],256],64398:[[1705],256],64399:[[1705],256],64400:[[1705],256],64401:[[1705],256],64402:[[1711],256],64403:[[1711],256],64404:[[1711],256],64405:[[1711],256],64406:[[1715],256],64407:[[1715],256],64408:[[1715],256],64409:[[1715],256],64410:[[1713],256],64411:[[1713],256],64412:[[1713],256],64413:[[1713],256],64414:[[1722],256],64415:[[1722],256],64416:[[1723],256],64417:[[1723],256],64418:[[1723],256],64419:[[1723],256],64420:[[1728],256],64421:[[1728],256],64422:[[1729],256],64423:[[1729],256],64424:[[1729],256],64425:[[1729],256],64426:[[1726],256],64427:[[1726],256],64428:[[1726],256],64429:[[1726],256],64430:[[1746],256],64431:[[1746],256],64432:[[1747],256],64433:[[1747],256],64467:[[1709],256],64468:[[1709],256],64469:[[1709],256],64470:[[1709],256],64471:[[1735],256],64472:[[1735],256],64473:[[1734],256],64474:[[1734],256],64475:[[1736],256],64476:[[1736],256],64477:[[1655],256],64478:[[1739],256],64479:[[1739],256],64480:[[1733],256],64481:[[1733],256],64482:[[1737],256],64483:[[1737],256],64484:[[1744],256],64485:[[1744],256],64486:[[1744],256],64487:[[1744],256],64488:[[1609],256],64489:[[1609],256],64490:[[1574,1575],256],64491:[[1574,1575],256],64492:[[1574,1749],256],64493:[[1574,1749],256],64494:[[1574,1608],256],64495:[[1574,1608],256],64496:[[1574,1735],256],64497:[[1574,1735],256],64498:[[1574,1734],256],64499:[[1574,1734],256],64500:[[1574,1736],256],64501:[[1574,1736],256],64502:[[1574,1744],256],64503:[[1574,1744],256],64504:[[1574,1744],256],64505:[[1574,1609],256],64506:[[1574,1609],256],64507:[[1574,1609],256],64508:[[1740],256],64509:[[1740],256],64510:[[1740],256],64511:[[1740],256]}, 64512:{64512:[[1574,1580],256],64513:[[1574,1581],256],64514:[[1574,1605],256],64515:[[1574,1609],256],64516:[[1574,1610],256],64517:[[1576,1580],256],64518:[[1576,1581],256],64519:[[1576,1582],256],64520:[[1576,1605],256],64521:[[1576,1609],256],64522:[[1576,1610],256],64523:[[1578,1580],256],64524:[[1578,1581],256],64525:[[1578,1582],256],64526:[[1578,1605],256],64527:[[1578,1609],256],64528:[[1578,1610],256],64529:[[1579,1580],256],64530:[[1579,1605],256],64531:[[1579,1609],256],64532:[[1579,1610],256],64533:[[1580,1581],256],64534:[[1580,1605],256],64535:[[1581,1580],256],64536:[[1581,1605],256],64537:[[1582,1580],256],64538:[[1582,1581],256],64539:[[1582,1605],256],64540:[[1587,1580],256],64541:[[1587,1581],256],64542:[[1587,1582],256],64543:[[1587,1605],256],64544:[[1589,1581],256],64545:[[1589,1605],256],64546:[[1590,1580],256],64547:[[1590,1581],256],64548:[[1590,1582],256],64549:[[1590,1605],256],64550:[[1591,1581],256],64551:[[1591,1605],256],64552:[[1592,1605],256],64553:[[1593,1580],256],64554:[[1593,1605],256],64555:[[1594,1580],256],64556:[[1594,1605],256],64557:[[1601,1580],256],64558:[[1601,1581],256],64559:[[1601,1582],256],64560:[[1601,1605],256],64561:[[1601,1609],256],64562:[[1601,1610],256],64563:[[1602,1581],256],64564:[[1602,1605],256],64565:[[1602,1609],256],64566:[[1602,1610],256],64567:[[1603,1575],256],64568:[[1603,1580],256],64569:[[1603,1581],256],64570:[[1603,1582],256],64571:[[1603,1604],256],64572:[[1603,1605],256],64573:[[1603,1609],256],64574:[[1603,1610],256],64575:[[1604,1580],256],64576:[[1604,1581],256],64577:[[1604,1582],256],64578:[[1604,1605],256],64579:[[1604,1609],256],64580:[[1604,1610],256],64581:[[1605,1580],256],64582:[[1605,1581],256],64583:[[1605,1582],256],64584:[[1605,1605],256],64585:[[1605,1609],256],64586:[[1605,1610],256],64587:[[1606,1580],256],64588:[[1606,1581],256],64589:[[1606,1582],256],64590:[[1606,1605],256],64591:[[1606,1609],256],64592:[[1606,1610],256],64593:[[1607,1580],256],64594:[[1607,1605],256],64595:[[1607,1609],256],64596:[[1607,1610],256],64597:[[1610,1580],256],64598:[[1610,1581],256],64599:[[1610,1582],256],64600:[[1610,1605],256],64601:[[1610,1609],256],64602:[[1610,1610],256],64603:[[1584,1648],256],64604:[[1585,1648],256],64605:[[1609,1648],256],64606:[[32,1612,1617],256],64607:[[32,1613,1617],256],64608:[[32,1614,1617],256],64609:[[32,1615,1617],256],64610:[[32,1616,1617],256],64611:[[32,1617,1648],256],64612:[[1574,1585],256],64613:[[1574,1586],256],64614:[[1574,1605],256],64615:[[1574,1606],256],64616:[[1574,1609],256],64617:[[1574,1610],256],64618:[[1576,1585],256],64619:[[1576,1586],256],64620:[[1576,1605],256],64621:[[1576,1606],256],64622:[[1576,1609],256],64623:[[1576,1610],256],64624:[[1578,1585],256],64625:[[1578,1586],256],64626:[[1578,1605],256],64627:[[1578,1606],256],64628:[[1578,1609],256],64629:[[1578,1610],256],64630:[[1579,1585],256],64631:[[1579,1586],256],64632:[[1579,1605],256],64633:[[1579,1606],256],64634:[[1579,1609],256],64635:[[1579,1610],256],64636:[[1601,1609],256],64637:[[1601,1610],256],64638:[[1602,1609],256],64639:[[1602,1610],256],64640:[[1603,1575],256],64641:[[1603,1604],256],64642:[[1603,1605],256],64643:[[1603,1609],256],64644:[[1603,1610],256],64645:[[1604,1605],256],64646:[[1604,1609],256],64647:[[1604,1610],256],64648:[[1605,1575],256],64649:[[1605,1605],256],64650:[[1606,1585],256],64651:[[1606,1586],256],64652:[[1606,1605],256],64653:[[1606,1606],256],64654:[[1606,1609],256],64655:[[1606,1610],256],64656:[[1609,1648],256],64657:[[1610,1585],256],64658:[[1610,1586],256],64659:[[1610,1605],256],64660:[[1610,1606],256],64661:[[1610,1609],256],64662:[[1610,1610],256],64663:[[1574,1580],256],64664:[[1574,1581],256],64665:[[1574,1582],256],64666:[[1574,1605],256],64667:[[1574,1607],256],64668:[[1576,1580],256],64669:[[1576,1581],256],64670:[[1576,1582],256],64671:[[1576,1605],256],64672:[[1576,1607],256],64673:[[1578,1580],256],64674:[[1578,1581],256],64675:[[1578,1582],256],64676:[[1578,1605],256],64677:[[1578,1607],256],64678:[[1579,1605],256],64679:[[1580,1581],256],64680:[[1580,1605],256],64681:[[1581,1580],256],64682:[[1581,1605],256],64683:[[1582,1580],256],64684:[[1582,1605],256],64685:[[1587,1580],256],64686:[[1587,1581],256],64687:[[1587,1582],256],64688:[[1587,1605],256],64689:[[1589,1581],256],64690:[[1589,1582],256],64691:[[1589,1605],256],64692:[[1590,1580],256],64693:[[1590,1581],256],64694:[[1590,1582],256],64695:[[1590,1605],256],64696:[[1591,1581],256],64697:[[1592,1605],256],64698:[[1593,1580],256],64699:[[1593,1605],256],64700:[[1594,1580],256],64701:[[1594,1605],256],64702:[[1601,1580],256],64703:[[1601,1581],256],64704:[[1601,1582],256],64705:[[1601,1605],256],64706:[[1602,1581],256],64707:[[1602,1605],256],64708:[[1603,1580],256],64709:[[1603,1581],256],64710:[[1603,1582],256],64711:[[1603,1604],256],64712:[[1603,1605],256],64713:[[1604,1580],256],64714:[[1604,1581],256],64715:[[1604,1582],256],64716:[[1604,1605],256],64717:[[1604,1607],256],64718:[[1605,1580],256],64719:[[1605,1581],256],64720:[[1605,1582],256],64721:[[1605,1605],256],64722:[[1606,1580],256],64723:[[1606,1581],256],64724:[[1606,1582],256],64725:[[1606,1605],256],64726:[[1606,1607],256],64727:[[1607,1580],256],64728:[[1607,1605],256],64729:[[1607,1648],256],64730:[[1610,1580],256],64731:[[1610,1581],256],64732:[[1610,1582],256],64733:[[1610,1605],256],64734:[[1610,1607],256],64735:[[1574,1605],256],64736:[[1574,1607],256],64737:[[1576,1605],256],64738:[[1576,1607],256],64739:[[1578,1605],256],64740:[[1578,1607],256],64741:[[1579,1605],256],64742:[[1579,1607],256],64743:[[1587,1605],256],64744:[[1587,1607],256],64745:[[1588,1605],256],64746:[[1588,1607],256],64747:[[1603,1604],256],64748:[[1603,1605],256],64749:[[1604,1605],256],64750:[[1606,1605],256],64751:[[1606,1607],256],64752:[[1610,1605],256],64753:[[1610,1607],256],64754:[[1600,1614,1617],256],64755:[[1600,1615,1617],256],64756:[[1600,1616,1617],256],64757:[[1591,1609],256],64758:[[1591,1610],256],64759:[[1593,1609],256],64760:[[1593,1610],256],64761:[[1594,1609],256],64762:[[1594,1610],256],64763:[[1587,1609],256],64764:[[1587,1610],256],64765:[[1588,1609],256],64766:[[1588,1610],256],64767:[[1581,1609],256]}, 64768:{64768:[[1581,1610],256],64769:[[1580,1609],256],64770:[[1580,1610],256],64771:[[1582,1609],256],64772:[[1582,1610],256],64773:[[1589,1609],256],64774:[[1589,1610],256],64775:[[1590,1609],256],64776:[[1590,1610],256],64777:[[1588,1580],256],64778:[[1588,1581],256],64779:[[1588,1582],256],64780:[[1588,1605],256],64781:[[1588,1585],256],64782:[[1587,1585],256],64783:[[1589,1585],256],64784:[[1590,1585],256],64785:[[1591,1609],256],64786:[[1591,1610],256],64787:[[1593,1609],256],64788:[[1593,1610],256],64789:[[1594,1609],256],64790:[[1594,1610],256],64791:[[1587,1609],256],64792:[[1587,1610],256],64793:[[1588,1609],256],64794:[[1588,1610],256],64795:[[1581,1609],256],64796:[[1581,1610],256],64797:[[1580,1609],256],64798:[[1580,1610],256],64799:[[1582,1609],256],64800:[[1582,1610],256],64801:[[1589,1609],256],64802:[[1589,1610],256],64803:[[1590,1609],256],64804:[[1590,1610],256],64805:[[1588,1580],256],64806:[[1588,1581],256],64807:[[1588,1582],256],64808:[[1588,1605],256],64809:[[1588,1585],256],64810:[[1587,1585],256],64811:[[1589,1585],256],64812:[[1590,1585],256],64813:[[1588,1580],256],64814:[[1588,1581],256],64815:[[1588,1582],256],64816:[[1588,1605],256],64817:[[1587,1607],256],64818:[[1588,1607],256],64819:[[1591,1605],256],64820:[[1587,1580],256],64821:[[1587,1581],256],64822:[[1587,1582],256],64823:[[1588,1580],256],64824:[[1588,1581],256],64825:[[1588,1582],256],64826:[[1591,1605],256],64827:[[1592,1605],256],64828:[[1575,1611],256],64829:[[1575,1611],256],64848:[[1578,1580,1605],256],64849:[[1578,1581,1580],256],64850:[[1578,1581,1580],256],64851:[[1578,1581,1605],256],64852:[[1578,1582,1605],256],64853:[[1578,1605,1580],256],64854:[[1578,1605,1581],256],64855:[[1578,1605,1582],256],64856:[[1580,1605,1581],256],64857:[[1580,1605,1581],256],64858:[[1581,1605,1610],256],64859:[[1581,1605,1609],256],64860:[[1587,1581,1580],256],64861:[[1587,1580,1581],256],64862:[[1587,1580,1609],256],64863:[[1587,1605,1581],256],64864:[[1587,1605,1581],256],64865:[[1587,1605,1580],256],64866:[[1587,1605,1605],256],64867:[[1587,1605,1605],256],64868:[[1589,1581,1581],256],64869:[[1589,1581,1581],256],64870:[[1589,1605,1605],256],64871:[[1588,1581,1605],256],64872:[[1588,1581,1605],256],64873:[[1588,1580,1610],256],64874:[[1588,1605,1582],256],64875:[[1588,1605,1582],256],64876:[[1588,1605,1605],256],64877:[[1588,1605,1605],256],64878:[[1590,1581,1609],256],64879:[[1590,1582,1605],256],64880:[[1590,1582,1605],256],64881:[[1591,1605,1581],256],64882:[[1591,1605,1581],256],64883:[[1591,1605,1605],256],64884:[[1591,1605,1610],256],64885:[[1593,1580,1605],256],64886:[[1593,1605,1605],256],64887:[[1593,1605,1605],256],64888:[[1593,1605,1609],256],64889:[[1594,1605,1605],256],64890:[[1594,1605,1610],256],64891:[[1594,1605,1609],256],64892:[[1601,1582,1605],256],64893:[[1601,1582,1605],256],64894:[[1602,1605,1581],256],64895:[[1602,1605,1605],256],64896:[[1604,1581,1605],256],64897:[[1604,1581,1610],256],64898:[[1604,1581,1609],256],64899:[[1604,1580,1580],256],64900:[[1604,1580,1580],256],64901:[[1604,1582,1605],256],64902:[[1604,1582,1605],256],64903:[[1604,1605,1581],256],64904:[[1604,1605,1581],256],64905:[[1605,1581,1580],256],64906:[[1605,1581,1605],256],64907:[[1605,1581,1610],256],64908:[[1605,1580,1581],256],64909:[[1605,1580,1605],256],64910:[[1605,1582,1580],256],64911:[[1605,1582,1605],256],64914:[[1605,1580,1582],256],64915:[[1607,1605,1580],256],64916:[[1607,1605,1605],256],64917:[[1606,1581,1605],256],64918:[[1606,1581,1609],256],64919:[[1606,1580,1605],256],64920:[[1606,1580,1605],256],64921:[[1606,1580,1609],256],64922:[[1606,1605,1610],256],64923:[[1606,1605,1609],256],64924:[[1610,1605,1605],256],64925:[[1610,1605,1605],256],64926:[[1576,1582,1610],256],64927:[[1578,1580,1610],256],64928:[[1578,1580,1609],256],64929:[[1578,1582,1610],256],64930:[[1578,1582,1609],256],64931:[[1578,1605,1610],256],64932:[[1578,1605,1609],256],64933:[[1580,1605,1610],256],64934:[[1580,1581,1609],256],64935:[[1580,1605,1609],256],64936:[[1587,1582,1609],256],64937:[[1589,1581,1610],256],64938:[[1588,1581,1610],256],64939:[[1590,1581,1610],256],64940:[[1604,1580,1610],256],64941:[[1604,1605,1610],256],64942:[[1610,1581,1610],256],64943:[[1610,1580,1610],256],64944:[[1610,1605,1610],256],64945:[[1605,1605,1610],256],64946:[[1602,1605,1610],256],64947:[[1606,1581,1610],256],64948:[[1602,1605,1581],256],64949:[[1604,1581,1605],256],64950:[[1593,1605,1610],256],64951:[[1603,1605,1610],256],64952:[[1606,1580,1581],256],64953:[[1605,1582,1610],256],64954:[[1604,1580,1605],256],64955:[[1603,1605,1605],256],64956:[[1604,1580,1605],256],64957:[[1606,1580,1581],256],64958:[[1580,1581,1610],256],64959:[[1581,1580,1610],256],64960:[[1605,1580,1610],256],64961:[[1601,1605,1610],256],64962:[[1576,1581,1610],256],64963:[[1603,1605,1605],256],64964:[[1593,1580,1605],256],64965:[[1589,1605,1605],256],64966:[[1587,1582,1610],256],64967:[[1606,1580,1610],256],65008:[[1589,1604,1746],256],65009:[[1602,1604,1746],256],65010:[[1575,1604,1604,1607],256],65011:[[1575,1603,1576,1585],256],65012:[[1605,1581,1605,1583],256],65013:[[1589,1604,1593,1605],256],65014:[[1585,1587,1608,1604],256],65015:[[1593,1604,1610,1607],256],65016:[[1608,1587,1604,1605],256],65017:[[1589,1604,1609],256],65018:[[1589,1604,1609,32,1575,1604,1604,1607,32,1593,1604,1610,1607,32,1608,1587,1604,1605],256],65019:[[1580,1604,32,1580,1604,1575,1604,1607],256],65020:[[1585,1740,1575,1604],256]}, -65024:{65040:[[44],256],65041:[[12289],256],65042:[[12290],256],65043:[[58],256],65044:[[59],256],65045:[[33],256],65046:[[63],256],65047:[[12310],256],65048:[[12311],256],65049:[[8230],256],65056:[,230],65057:[,230],65058:[,230],65059:[,230],65060:[,230],65061:[,230],65062:[,230],65072:[[8229],256],65073:[[8212],256],65074:[[8211],256],65075:[[95],256],65076:[[95],256],65077:[[40],256],65078:[[41],256],65079:[[123],256],65080:[[125],256],65081:[[12308],256],65082:[[12309],256],65083:[[12304],256],65084:[[12305],256],65085:[[12298],256],65086:[[12299],256],65087:[[12296],256],65088:[[12297],256],65089:[[12300],256],65090:[[12301],256],65091:[[12302],256],65092:[[12303],256],65095:[[91],256],65096:[[93],256],65097:[[8254],256],65098:[[8254],256],65099:[[8254],256],65100:[[8254],256],65101:[[95],256],65102:[[95],256],65103:[[95],256],65104:[[44],256],65105:[[12289],256],65106:[[46],256],65108:[[59],256],65109:[[58],256],65110:[[63],256],65111:[[33],256],65112:[[8212],256],65113:[[40],256],65114:[[41],256],65115:[[123],256],65116:[[125],256],65117:[[12308],256],65118:[[12309],256],65119:[[35],256],65120:[[38],256],65121:[[42],256],65122:[[43],256],65123:[[45],256],65124:[[60],256],65125:[[62],256],65126:[[61],256],65128:[[92],256],65129:[[36],256],65130:[[37],256],65131:[[64],256],65136:[[32,1611],256],65137:[[1600,1611],256],65138:[[32,1612],256],65140:[[32,1613],256],65142:[[32,1614],256],65143:[[1600,1614],256],65144:[[32,1615],256],65145:[[1600,1615],256],65146:[[32,1616],256],65147:[[1600,1616],256],65148:[[32,1617],256],65149:[[1600,1617],256],65150:[[32,1618],256],65151:[[1600,1618],256],65152:[[1569],256],65153:[[1570],256],65154:[[1570],256],65155:[[1571],256],65156:[[1571],256],65157:[[1572],256],65158:[[1572],256],65159:[[1573],256],65160:[[1573],256],65161:[[1574],256],65162:[[1574],256],65163:[[1574],256],65164:[[1574],256],65165:[[1575],256],65166:[[1575],256],65167:[[1576],256],65168:[[1576],256],65169:[[1576],256],65170:[[1576],256],65171:[[1577],256],65172:[[1577],256],65173:[[1578],256],65174:[[1578],256],65175:[[1578],256],65176:[[1578],256],65177:[[1579],256],65178:[[1579],256],65179:[[1579],256],65180:[[1579],256],65181:[[1580],256],65182:[[1580],256],65183:[[1580],256],65184:[[1580],256],65185:[[1581],256],65186:[[1581],256],65187:[[1581],256],65188:[[1581],256],65189:[[1582],256],65190:[[1582],256],65191:[[1582],256],65192:[[1582],256],65193:[[1583],256],65194:[[1583],256],65195:[[1584],256],65196:[[1584],256],65197:[[1585],256],65198:[[1585],256],65199:[[1586],256],65200:[[1586],256],65201:[[1587],256],65202:[[1587],256],65203:[[1587],256],65204:[[1587],256],65205:[[1588],256],65206:[[1588],256],65207:[[1588],256],65208:[[1588],256],65209:[[1589],256],65210:[[1589],256],65211:[[1589],256],65212:[[1589],256],65213:[[1590],256],65214:[[1590],256],65215:[[1590],256],65216:[[1590],256],65217:[[1591],256],65218:[[1591],256],65219:[[1591],256],65220:[[1591],256],65221:[[1592],256],65222:[[1592],256],65223:[[1592],256],65224:[[1592],256],65225:[[1593],256],65226:[[1593],256],65227:[[1593],256],65228:[[1593],256],65229:[[1594],256],65230:[[1594],256],65231:[[1594],256],65232:[[1594],256],65233:[[1601],256],65234:[[1601],256],65235:[[1601],256],65236:[[1601],256],65237:[[1602],256],65238:[[1602],256],65239:[[1602],256],65240:[[1602],256],65241:[[1603],256],65242:[[1603],256],65243:[[1603],256],65244:[[1603],256],65245:[[1604],256],65246:[[1604],256],65247:[[1604],256],65248:[[1604],256],65249:[[1605],256],65250:[[1605],256],65251:[[1605],256],65252:[[1605],256],65253:[[1606],256],65254:[[1606],256],65255:[[1606],256],65256:[[1606],256],65257:[[1607],256],65258:[[1607],256],65259:[[1607],256],65260:[[1607],256],65261:[[1608],256],65262:[[1608],256],65263:[[1609],256],65264:[[1609],256],65265:[[1610],256],65266:[[1610],256],65267:[[1610],256],65268:[[1610],256],65269:[[1604,1570],256],65270:[[1604,1570],256],65271:[[1604,1571],256],65272:[[1604,1571],256],65273:[[1604,1573],256],65274:[[1604,1573],256],65275:[[1604,1575],256],65276:[[1604,1575],256]}, +65024:{65040:[[44],256],65041:[[12289],256],65042:[[12290],256],65043:[[58],256],65044:[[59],256],65045:[[33],256],65046:[[63],256],65047:[[12310],256],65048:[[12311],256],65049:[[8230],256],65056:[,230],65057:[,230],65058:[,230],65059:[,230],65060:[,230],65061:[,230],65062:[,230],65063:[,220],65064:[,220],65065:[,220],65066:[,220],65067:[,220],65068:[,220],65069:[,220],65072:[[8229],256],65073:[[8212],256],65074:[[8211],256],65075:[[95],256],65076:[[95],256],65077:[[40],256],65078:[[41],256],65079:[[123],256],65080:[[125],256],65081:[[12308],256],65082:[[12309],256],65083:[[12304],256],65084:[[12305],256],65085:[[12298],256],65086:[[12299],256],65087:[[12296],256],65088:[[12297],256],65089:[[12300],256],65090:[[12301],256],65091:[[12302],256],65092:[[12303],256],65095:[[91],256],65096:[[93],256],65097:[[8254],256],65098:[[8254],256],65099:[[8254],256],65100:[[8254],256],65101:[[95],256],65102:[[95],256],65103:[[95],256],65104:[[44],256],65105:[[12289],256],65106:[[46],256],65108:[[59],256],65109:[[58],256],65110:[[63],256],65111:[[33],256],65112:[[8212],256],65113:[[40],256],65114:[[41],256],65115:[[123],256],65116:[[125],256],65117:[[12308],256],65118:[[12309],256],65119:[[35],256],65120:[[38],256],65121:[[42],256],65122:[[43],256],65123:[[45],256],65124:[[60],256],65125:[[62],256],65126:[[61],256],65128:[[92],256],65129:[[36],256],65130:[[37],256],65131:[[64],256],65136:[[32,1611],256],65137:[[1600,1611],256],65138:[[32,1612],256],65140:[[32,1613],256],65142:[[32,1614],256],65143:[[1600,1614],256],65144:[[32,1615],256],65145:[[1600,1615],256],65146:[[32,1616],256],65147:[[1600,1616],256],65148:[[32,1617],256],65149:[[1600,1617],256],65150:[[32,1618],256],65151:[[1600,1618],256],65152:[[1569],256],65153:[[1570],256],65154:[[1570],256],65155:[[1571],256],65156:[[1571],256],65157:[[1572],256],65158:[[1572],256],65159:[[1573],256],65160:[[1573],256],65161:[[1574],256],65162:[[1574],256],65163:[[1574],256],65164:[[1574],256],65165:[[1575],256],65166:[[1575],256],65167:[[1576],256],65168:[[1576],256],65169:[[1576],256],65170:[[1576],256],65171:[[1577],256],65172:[[1577],256],65173:[[1578],256],65174:[[1578],256],65175:[[1578],256],65176:[[1578],256],65177:[[1579],256],65178:[[1579],256],65179:[[1579],256],65180:[[1579],256],65181:[[1580],256],65182:[[1580],256],65183:[[1580],256],65184:[[1580],256],65185:[[1581],256],65186:[[1581],256],65187:[[1581],256],65188:[[1581],256],65189:[[1582],256],65190:[[1582],256],65191:[[1582],256],65192:[[1582],256],65193:[[1583],256],65194:[[1583],256],65195:[[1584],256],65196:[[1584],256],65197:[[1585],256],65198:[[1585],256],65199:[[1586],256],65200:[[1586],256],65201:[[1587],256],65202:[[1587],256],65203:[[1587],256],65204:[[1587],256],65205:[[1588],256],65206:[[1588],256],65207:[[1588],256],65208:[[1588],256],65209:[[1589],256],65210:[[1589],256],65211:[[1589],256],65212:[[1589],256],65213:[[1590],256],65214:[[1590],256],65215:[[1590],256],65216:[[1590],256],65217:[[1591],256],65218:[[1591],256],65219:[[1591],256],65220:[[1591],256],65221:[[1592],256],65222:[[1592],256],65223:[[1592],256],65224:[[1592],256],65225:[[1593],256],65226:[[1593],256],65227:[[1593],256],65228:[[1593],256],65229:[[1594],256],65230:[[1594],256],65231:[[1594],256],65232:[[1594],256],65233:[[1601],256],65234:[[1601],256],65235:[[1601],256],65236:[[1601],256],65237:[[1602],256],65238:[[1602],256],65239:[[1602],256],65240:[[1602],256],65241:[[1603],256],65242:[[1603],256],65243:[[1603],256],65244:[[1603],256],65245:[[1604],256],65246:[[1604],256],65247:[[1604],256],65248:[[1604],256],65249:[[1605],256],65250:[[1605],256],65251:[[1605],256],65252:[[1605],256],65253:[[1606],256],65254:[[1606],256],65255:[[1606],256],65256:[[1606],256],65257:[[1607],256],65258:[[1607],256],65259:[[1607],256],65260:[[1607],256],65261:[[1608],256],65262:[[1608],256],65263:[[1609],256],65264:[[1609],256],65265:[[1610],256],65266:[[1610],256],65267:[[1610],256],65268:[[1610],256],65269:[[1604,1570],256],65270:[[1604,1570],256],65271:[[1604,1571],256],65272:[[1604,1571],256],65273:[[1604,1573],256],65274:[[1604,1573],256],65275:[[1604,1575],256],65276:[[1604,1575],256]}, 65280:{65281:[[33],256],65282:[[34],256],65283:[[35],256],65284:[[36],256],65285:[[37],256],65286:[[38],256],65287:[[39],256],65288:[[40],256],65289:[[41],256],65290:[[42],256],65291:[[43],256],65292:[[44],256],65293:[[45],256],65294:[[46],256],65295:[[47],256],65296:[[48],256],65297:[[49],256],65298:[[50],256],65299:[[51],256],65300:[[52],256],65301:[[53],256],65302:[[54],256],65303:[[55],256],65304:[[56],256],65305:[[57],256],65306:[[58],256],65307:[[59],256],65308:[[60],256],65309:[[61],256],65310:[[62],256],65311:[[63],256],65312:[[64],256],65313:[[65],256],65314:[[66],256],65315:[[67],256],65316:[[68],256],65317:[[69],256],65318:[[70],256],65319:[[71],256],65320:[[72],256],65321:[[73],256],65322:[[74],256],65323:[[75],256],65324:[[76],256],65325:[[77],256],65326:[[78],256],65327:[[79],256],65328:[[80],256],65329:[[81],256],65330:[[82],256],65331:[[83],256],65332:[[84],256],65333:[[85],256],65334:[[86],256],65335:[[87],256],65336:[[88],256],65337:[[89],256],65338:[[90],256],65339:[[91],256],65340:[[92],256],65341:[[93],256],65342:[[94],256],65343:[[95],256],65344:[[96],256],65345:[[97],256],65346:[[98],256],65347:[[99],256],65348:[[100],256],65349:[[101],256],65350:[[102],256],65351:[[103],256],65352:[[104],256],65353:[[105],256],65354:[[106],256],65355:[[107],256],65356:[[108],256],65357:[[109],256],65358:[[110],256],65359:[[111],256],65360:[[112],256],65361:[[113],256],65362:[[114],256],65363:[[115],256],65364:[[116],256],65365:[[117],256],65366:[[118],256],65367:[[119],256],65368:[[120],256],65369:[[121],256],65370:[[122],256],65371:[[123],256],65372:[[124],256],65373:[[125],256],65374:[[126],256],65375:[[10629],256],65376:[[10630],256],65377:[[12290],256],65378:[[12300],256],65379:[[12301],256],65380:[[12289],256],65381:[[12539],256],65382:[[12530],256],65383:[[12449],256],65384:[[12451],256],65385:[[12453],256],65386:[[12455],256],65387:[[12457],256],65388:[[12515],256],65389:[[12517],256],65390:[[12519],256],65391:[[12483],256],65392:[[12540],256],65393:[[12450],256],65394:[[12452],256],65395:[[12454],256],65396:[[12456],256],65397:[[12458],256],65398:[[12459],256],65399:[[12461],256],65400:[[12463],256],65401:[[12465],256],65402:[[12467],256],65403:[[12469],256],65404:[[12471],256],65405:[[12473],256],65406:[[12475],256],65407:[[12477],256],65408:[[12479],256],65409:[[12481],256],65410:[[12484],256],65411:[[12486],256],65412:[[12488],256],65413:[[12490],256],65414:[[12491],256],65415:[[12492],256],65416:[[12493],256],65417:[[12494],256],65418:[[12495],256],65419:[[12498],256],65420:[[12501],256],65421:[[12504],256],65422:[[12507],256],65423:[[12510],256],65424:[[12511],256],65425:[[12512],256],65426:[[12513],256],65427:[[12514],256],65428:[[12516],256],65429:[[12518],256],65430:[[12520],256],65431:[[12521],256],65432:[[12522],256],65433:[[12523],256],65434:[[12524],256],65435:[[12525],256],65436:[[12527],256],65437:[[12531],256],65438:[[12441],256],65439:[[12442],256],65440:[[12644],256],65441:[[12593],256],65442:[[12594],256],65443:[[12595],256],65444:[[12596],256],65445:[[12597],256],65446:[[12598],256],65447:[[12599],256],65448:[[12600],256],65449:[[12601],256],65450:[[12602],256],65451:[[12603],256],65452:[[12604],256],65453:[[12605],256],65454:[[12606],256],65455:[[12607],256],65456:[[12608],256],65457:[[12609],256],65458:[[12610],256],65459:[[12611],256],65460:[[12612],256],65461:[[12613],256],65462:[[12614],256],65463:[[12615],256],65464:[[12616],256],65465:[[12617],256],65466:[[12618],256],65467:[[12619],256],65468:[[12620],256],65469:[[12621],256],65470:[[12622],256],65474:[[12623],256],65475:[[12624],256],65476:[[12625],256],65477:[[12626],256],65478:[[12627],256],65479:[[12628],256],65482:[[12629],256],65483:[[12630],256],65484:[[12631],256],65485:[[12632],256],65486:[[12633],256],65487:[[12634],256],65490:[[12635],256],65491:[[12636],256],65492:[[12637],256],65493:[[12638],256],65494:[[12639],256],65495:[[12640],256],65498:[[12641],256],65499:[[12642],256],65500:[[12643],256],65504:[[162],256],65505:[[163],256],65506:[[172],256],65507:[[175],256],65508:[[166],256],65509:[[165],256],65510:[[8361],256],65512:[[9474],256],65513:[[8592],256],65514:[[8593],256],65515:[[8594],256],65516:[[8595],256],65517:[[9632],256],65518:[[9675],256]} }; @@ -4504,7 +4505,7 @@ UChar.udata={ nfc: nfc, nfd: nfd, nfkc: nfkc, - nfkd: nfkd, + nfkd: nfkd }; /*globals module:true,define:true*/ @@ -4545,6 +4546,8 @@ UChar.udata={ *NOTE* The normalize function is intentionally generic; it does not require that its this value be a String object. Therefore it can be transferred to other kinds of objects for use as a method. */ + unorm.shimApplied = false; + if (!String.prototype.normalize) { String.prototype.normalize = function(form) { var str = "" + this; @@ -4562,6 +4565,8 @@ UChar.udata={ throw new RangeError("Invalid normalization form: " + form); } }; + + unorm.shimApplied = true; } }(this)); @@ -5541,7 +5546,7 @@ Entity.prototype.encode = function encode(data, enc, /* internal */ reporter) { return this._getEncoder(enc).encode(data, reporter); }; -},{"../asn1":26,"util":321,"vm":322}],28:[function(require,module,exports){ +},{"../asn1":26,"util":319,"vm":320}],28:[function(require,module,exports){ var assert = require('assert'); var util = require('util'); var Reporter = require('../base').Reporter; @@ -5659,7 +5664,7 @@ EncoderBuffer.prototype.join = function join(out, offset) { return out; }; -},{"../base":29,"assert":130,"buffer":145,"util":321}],29:[function(require,module,exports){ +},{"../base":29,"assert":130,"buffer":145,"util":319}],29:[function(require,module,exports){ var base = exports; base.Reporter = require('./reporter').Reporter; @@ -6308,7 +6313,7 @@ ReporterError.prototype.rethrow = function rethrow(msg) { return this; }; -},{"util":321}],32:[function(require,module,exports){ +},{"util":319}],32:[function(require,module,exports){ var constants = require('../constants'); exports.tagClass = { @@ -6671,7 +6676,7 @@ function derDecodeLen(buf, primitive, fail) { return len; } -},{"../../asn1":26,"util":321}],35:[function(require,module,exports){ +},{"../../asn1":26,"util":319}],35:[function(require,module,exports){ var decoders = exports; decoders.der = require('./der'); @@ -6911,7 +6916,7 @@ function encodeTag(tag, primitive, cls, reporter) { return res; } -},{"../../asn1":26,"buffer":145,"util":321}],37:[function(require,module,exports){ +},{"../../asn1":26,"buffer":145,"util":319}],37:[function(require,module,exports){ var encoders = exports; encoders.der = require('./der'); @@ -13284,7 +13289,7 @@ exports.jws = KJUR.jws; })(this); -},{"bytebuffer":42,"fs":129,"path":300}],42:[function(require,module,exports){ +},{"bytebuffer":42,"fs":129,"path":298}],42:[function(require,module,exports){ /* ByteBuffer.js (c) 2013-2014 Daniel Wirtz This version of ByteBuffer.js uses an ArrayBuffer (AB) as its backing buffer and is compatible with modern browsers. @@ -14696,7 +14701,7 @@ WalletUtils.verifyRequestPubKey = function(requestPubKey, signature, xPubKey) { module.exports = WalletUtils; }).call(this,require("buffer").Buffer) -},{"bitcore":51,"buffer":145,"json-stable-stringify":47,"lodash":324,"preconditions":325,"sjcl":421}],47:[function(require,module,exports){ +},{"bitcore":51,"buffer":145,"json-stable-stringify":47,"lodash":322,"preconditions":323,"sjcl":419}],47:[function(require,module,exports){ var json = typeof JSON !== 'undefined' ? JSON : require('jsonify'); module.exports = function (obj, opts) { @@ -17246,7 +17251,7 @@ Hash.sha512hmac = function(data, key) { }; }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer) -},{"../util/buffer":93,"../util/preconditions":95,"buffer":145,"crypto":151,"hash.js":113,"sha512":123}],60:[function(require,module,exports){ +},{"../util/buffer":93,"../util/preconditions":95,"buffer":145,"crypto":149,"hash.js":113,"sha512":123}],60:[function(require,module,exports){ (function (Buffer){ 'use strict'; @@ -17456,7 +17461,7 @@ Random.getPseudoRandomBuffer = function(size) { module.exports = Random; }).call(this,require('_process'),require("buffer").Buffer) -},{"_process":301,"buffer":145,"crypto":151}],62:[function(require,module,exports){ +},{"_process":299,"buffer":145,"crypto":149}],62:[function(require,module,exports){ (function (Buffer){ 'use strict'; @@ -25878,7 +25883,7 @@ URI.prototype.inspect = function() { module.exports = URI; -},{"./address":52,"./unit":91,"lodash":120,"url":319}],93:[function(require,module,exports){ +},{"./address":52,"./unit":91,"lodash":120,"url":317}],93:[function(require,module,exports){ (function (Buffer){ 'use strict'; @@ -31992,7 +31997,7 @@ module.exports={ }, "repository": { "type": "git", - "url": "git@github.com:indutny/elliptic" + "url": "git+ssh://git@github.com/indutny/elliptic.git" }, "keywords": [ "EC", @@ -32026,8 +32031,8 @@ module.exports={ "readmeFilename": "README.md", "_id": "elliptic@3.0.3", "_shasum": "865c9b420bfbe55006b9f969f97a0d2c44966595", - "_from": "https://registry.npmjs.org/elliptic/-/elliptic-3.0.3.tgz", - "_resolved": "https://registry.npmjs.org/elliptic/-/elliptic-3.0.3.tgz" + "_resolved": "https://registry.npmjs.org/elliptic/-/elliptic-3.0.3.tgz", + "_from": "https://registry.npmjs.org/elliptic/-/elliptic-3.0.3.tgz" } },{}],113:[function(require,module,exports){ @@ -40748,7 +40753,7 @@ WordArray.fromBuffer = function(buf) { }).call(this,require('_process'),require("buffer").Buffer) -},{"_process":301,"buffer":145}],126:[function(require,module,exports){ +},{"_process":299,"buffer":145}],126:[function(require,module,exports){ var X32WordArray = require('./word-array') @@ -41779,7 +41784,7 @@ var objectKeys = Object.keys || function (obj) { return keys; }; -},{"util/":321}],131:[function(require,module,exports){ +},{"util/":319}],131:[function(require,module,exports){ arguments[4][129][0].apply(exports,arguments) },{"dup":129}],132:[function(require,module,exports){ 'use strict'; @@ -47426,7 +47431,7 @@ Zlib.prototype._error = function(status) { exports.Zlib = Zlib; }).call(this,require('_process'),require("buffer").Buffer) -},{"_process":301,"buffer":145,"pako/lib/zlib/constants":134,"pako/lib/zlib/deflate.js":136,"pako/lib/zlib/inflate.js":138,"pako/lib/zlib/messages":140,"pako/lib/zlib/zstream":142}],144:[function(require,module,exports){ +},{"_process":299,"buffer":145,"pako/lib/zlib/constants":134,"pako/lib/zlib/deflate.js":136,"pako/lib/zlib/inflate.js":138,"pako/lib/zlib/messages":140,"pako/lib/zlib/zstream":142}],144:[function(require,module,exports){ (function (process,Buffer){ // Copyright Joyent, Inc. and other Node contributors. // @@ -48040,7 +48045,7 @@ util.inherits(InflateRaw, Zlib); util.inherits(Unzip, Zlib); }).call(this,require('_process'),require("buffer").Buffer) -},{"./binding":143,"_process":301,"_stream_transform":315,"assert":130,"buffer":145,"util":321}],145:[function(require,module,exports){ +},{"./binding":143,"_process":299,"_stream_transform":313,"assert":130,"buffer":145,"util":319}],145:[function(require,module,exports){ /*! * The buffer module from node.js, for the browser. * @@ -49823,103 +49828,6 @@ module.exports = isArray || function (val) { }; },{}],149:[function(require,module,exports){ -(function (global){ -/*global window, global*/ -var util = require("util") -var assert = require("assert") -var now = require("date-now") - -var slice = Array.prototype.slice -var console -var times = {} - -if (typeof global !== "undefined" && global.console) { - console = global.console -} else if (typeof window !== "undefined" && window.console) { - console = window.console -} else { - console = {} -} - -var functions = [ - [log, "log"], - [info, "info"], - [warn, "warn"], - [error, "error"], - [time, "time"], - [timeEnd, "timeEnd"], - [trace, "trace"], - [dir, "dir"], - [consoleAssert, "assert"] -] - -for (var i = 0; i < functions.length; i++) { - var tuple = functions[i] - var f = tuple[0] - var name = tuple[1] - - if (!console[name]) { - console[name] = f - } -} - -module.exports = console - -function log() {} - -function info() { - console.log.apply(console, arguments) -} - -function warn() { - console.log.apply(console, arguments) -} - -function error() { - console.warn.apply(console, arguments) -} - -function time(label) { - times[label] = now() -} - -function timeEnd(label) { - var time = times[label] - if (!time) { - throw new Error("No such label: " + label) - } - - var duration = now() - time - console.log(label + ": " + duration + "ms") -} - -function trace() { - var err = new Error() - err.name = "Trace" - err.message = util.format.apply(null, arguments) - console.error(err.stack) -} - -function dir(object) { - console.log(util.inspect(object) + "\n") -} - -function consoleAssert(expression) { - if (!expression) { - var arr = slice.call(arguments, 1) - assert.ok(false, util.format.apply(null, arr)) - } -} - -}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"assert":130,"date-now":150,"util":321}],150:[function(require,module,exports){ -module.exports = now - -function now() { - return new Date().getTime() -} - -},{}],151:[function(require,module,exports){ 'use strict'; exports.randomBytes = exports.rng = exports.pseudoRandomBytes = exports.prng = require('randombytes') @@ -50000,7 +49908,7 @@ var publicEncrypt = require('public-encrypt'); } }) -},{"browserify-aes":155,"browserify-sign":171,"browserify-sign/algos":170,"create-ecdh":219,"create-hash":242,"create-hmac":254,"diffie-hellman":255,"pbkdf2":262,"public-encrypt":263,"randombytes":291}],152:[function(require,module,exports){ +},{"browserify-aes":153,"browserify-sign":169,"browserify-sign/algos":168,"create-ecdh":217,"create-hash":240,"create-hmac":252,"diffie-hellman":253,"pbkdf2":260,"public-encrypt":261,"randombytes":289}],150:[function(require,module,exports){ (function (Buffer){ var md5 = require('create-hash/md5') module.exports = EVP_BytesToKey @@ -50066,7 +49974,7 @@ function EVP_BytesToKey (password, keyLen, ivLen) { } }).call(this,require("buffer").Buffer) -},{"buffer":145,"create-hash/md5":244}],153:[function(require,module,exports){ +},{"buffer":145,"create-hash/md5":242}],151:[function(require,module,exports){ (function (Buffer){ // based on the aes implimentation in triple sec // https://github.com/keybase/triplesec @@ -50247,7 +50155,7 @@ AES.prototype._doCryptBlock = function (M, keySchedule, SUB_MIX, SBOX) { exports.AES = AES }).call(this,require("buffer").Buffer) -},{"buffer":145}],154:[function(require,module,exports){ +},{"buffer":145}],152:[function(require,module,exports){ (function (Buffer){ var aes = require('./aes') var Transform = require('./cipherBase') @@ -50348,7 +50256,7 @@ function xorTest (a, b) { } }).call(this,require("buffer").Buffer) -},{"./aes":153,"./cipherBase":156,"./ghash":159,"buffer":145,"buffer-xor":168,"inherits":298}],155:[function(require,module,exports){ +},{"./aes":151,"./cipherBase":154,"./ghash":157,"buffer":145,"buffer-xor":166,"inherits":296}],153:[function(require,module,exports){ var ciphers = require('./encrypter') exports.createCipher = exports.Cipher = ciphers.createCipher exports.createCipheriv = exports.Cipheriv = ciphers.createCipheriv @@ -50361,7 +50269,7 @@ function getCiphers () { } exports.listCiphers = exports.getCiphers = getCiphers -},{"./decrypter":157,"./encrypter":158,"./modes":160}],156:[function(require,module,exports){ +},{"./decrypter":155,"./encrypter":156,"./modes":158}],154:[function(require,module,exports){ (function (Buffer){ var Transform = require('stream').Transform var inherits = require('inherits') @@ -50431,7 +50339,7 @@ CipherBase.prototype._toString = function (value, enc, final) { } }).call(this,require("buffer").Buffer) -},{"buffer":145,"inherits":298,"stream":317}],157:[function(require,module,exports){ +},{"buffer":145,"inherits":296,"stream":315}],155:[function(require,module,exports){ (function (Buffer){ var aes = require('./aes') var Transform = require('./cipherBase') @@ -50571,7 +50479,7 @@ exports.createDecipher = createDecipher exports.createDecipheriv = createDecipheriv }).call(this,require("buffer").Buffer) -},{"./EVP_BytesToKey":152,"./aes":153,"./authCipher":154,"./cipherBase":156,"./modes":160,"./modes/cbc":161,"./modes/cfb":162,"./modes/cfb1":163,"./modes/cfb8":164,"./modes/ctr":165,"./modes/ecb":166,"./modes/ofb":167,"./streamCipher":169,"buffer":145,"inherits":298}],158:[function(require,module,exports){ +},{"./EVP_BytesToKey":150,"./aes":151,"./authCipher":152,"./cipherBase":154,"./modes":158,"./modes/cbc":159,"./modes/cfb":160,"./modes/cfb1":161,"./modes/cfb8":162,"./modes/ctr":163,"./modes/ecb":164,"./modes/ofb":165,"./streamCipher":167,"buffer":145,"inherits":296}],156:[function(require,module,exports){ (function (Buffer){ var aes = require('./aes') var Transform = require('./cipherBase') @@ -50696,7 +50604,7 @@ exports.createCipheriv = createCipheriv exports.createCipher = createCipher }).call(this,require("buffer").Buffer) -},{"./EVP_BytesToKey":152,"./aes":153,"./authCipher":154,"./cipherBase":156,"./modes":160,"./modes/cbc":161,"./modes/cfb":162,"./modes/cfb1":163,"./modes/cfb8":164,"./modes/ctr":165,"./modes/ecb":166,"./modes/ofb":167,"./streamCipher":169,"buffer":145,"inherits":298}],159:[function(require,module,exports){ +},{"./EVP_BytesToKey":150,"./aes":151,"./authCipher":152,"./cipherBase":154,"./modes":158,"./modes/cbc":159,"./modes/cfb":160,"./modes/cfb1":161,"./modes/cfb8":162,"./modes/ctr":163,"./modes/ecb":164,"./modes/ofb":165,"./streamCipher":167,"buffer":145,"inherits":296}],157:[function(require,module,exports){ (function (Buffer){ var zeros = new Buffer(16) zeros.fill(0) @@ -50798,7 +50706,7 @@ function xor (a, b) { } }).call(this,require("buffer").Buffer) -},{"buffer":145}],160:[function(require,module,exports){ +},{"buffer":145}],158:[function(require,module,exports){ exports['aes-128-ecb'] = { cipher: 'AES', key: 128, @@ -50971,7 +50879,7 @@ exports['aes-256-gcm'] = { type: 'auth' } -},{}],161:[function(require,module,exports){ +},{}],159:[function(require,module,exports){ var xor = require('buffer-xor') exports.encrypt = function (self, block) { @@ -50990,7 +50898,7 @@ exports.decrypt = function (self, block) { return xor(out, pad) } -},{"buffer-xor":168}],162:[function(require,module,exports){ +},{"buffer-xor":166}],160:[function(require,module,exports){ (function (Buffer){ var xor = require('buffer-xor') @@ -51025,7 +50933,7 @@ function encryptStart (self, data, decrypt) { } }).call(this,require("buffer").Buffer) -},{"buffer":145,"buffer-xor":168}],163:[function(require,module,exports){ +},{"buffer":145,"buffer-xor":166}],161:[function(require,module,exports){ (function (Buffer){ function encryptByte (self, byteParam, decrypt) { var pad @@ -51063,7 +50971,7 @@ function shiftIn (buffer, value) { } }).call(this,require("buffer").Buffer) -},{"buffer":145}],164:[function(require,module,exports){ +},{"buffer":145}],162:[function(require,module,exports){ (function (Buffer){ function encryptByte (self, byteParam, decrypt) { var pad = self._cipher.encryptBlock(self._prev) @@ -51082,7 +50990,7 @@ exports.encrypt = function (self, chunk, decrypt) { } }).call(this,require("buffer").Buffer) -},{"buffer":145}],165:[function(require,module,exports){ +},{"buffer":145}],163:[function(require,module,exports){ (function (Buffer){ var xor = require('buffer-xor') @@ -51117,7 +51025,7 @@ exports.encrypt = function (self, chunk) { } }).call(this,require("buffer").Buffer) -},{"buffer":145,"buffer-xor":168}],166:[function(require,module,exports){ +},{"buffer":145,"buffer-xor":166}],164:[function(require,module,exports){ exports.encrypt = function (self, block) { return self._cipher.encryptBlock(block) } @@ -51125,7 +51033,7 @@ exports.decrypt = function (self, block) { return self._cipher.decryptBlock(block) } -},{}],167:[function(require,module,exports){ +},{}],165:[function(require,module,exports){ (function (Buffer){ var xor = require('buffer-xor') @@ -51145,7 +51053,7 @@ exports.encrypt = function (self, chunk) { } }).call(this,require("buffer").Buffer) -},{"buffer":145,"buffer-xor":168}],168:[function(require,module,exports){ +},{"buffer":145,"buffer-xor":166}],166:[function(require,module,exports){ (function (Buffer){ module.exports = function xor (a, b) { var length = Math.min(a.length, b.length) @@ -51159,7 +51067,7 @@ module.exports = function xor (a, b) { } }).call(this,require("buffer").Buffer) -},{"buffer":145}],169:[function(require,module,exports){ +},{"buffer":145}],167:[function(require,module,exports){ (function (Buffer){ var aes = require('./aes') var Transform = require('./cipherBase') @@ -51188,7 +51096,7 @@ StreamCipher.prototype._final = function () { } }).call(this,require("buffer").Buffer) -},{"./aes":153,"./cipherBase":156,"buffer":145,"inherits":298}],170:[function(require,module,exports){ +},{"./aes":151,"./cipherBase":154,"buffer":145,"inherits":296}],168:[function(require,module,exports){ (function (Buffer){ 'use strict' exports['RSA-SHA224'] = exports.sha224WithRSAEncryption = { @@ -51212,14 +51120,14 @@ exports['RSA-SHA512'] = exports.sha512WithRSAEncryption = { id: new Buffer('3051300d060960864801650304020305000440', 'hex') } exports['RSA-SHA1'] = { - sign: 'rsa', - hash: 'sha1', - id: new Buffer('3021300906052b0e03021a05000414', 'hex') + sign: 'rsa', + hash: 'sha1', + id: new Buffer('3021300906052b0e03021a05000414', 'hex') } exports['ecdsa-with-SHA1'] = { - sign: 'ecdsa', - hash: 'sha1', - id: new Buffer('', 'hex') + sign: 'ecdsa', + hash: 'sha1', + id: new Buffer('', 'hex') } exports.DSA = exports['DSA-SHA1'] = exports['DSA-SHA'] = { sign: 'dsa', @@ -51263,45 +51171,34 @@ exports['RSA-MD5'] = exports.md5WithRSAEncryption = { } }).call(this,require("buffer").Buffer) -},{"buffer":145}],171:[function(require,module,exports){ +},{"buffer":145}],169:[function(require,module,exports){ (function (Buffer){ -'use strict' -var sign = require('./sign') -var verify = require('./verify') -var stream = require('stream') -var inherits = require('inherits') var _algos = require('./algos') var createHash = require('create-hash') +var inherits = require('inherits') +var sign = require('./sign') +var stream = require('stream') +var verify = require('./verify') + var algos = {} Object.keys(_algos).forEach(function (key) { algos[key] = algos[key.toLowerCase()] = _algos[key] }) -exports.createSign = exports.Sign = createSign - -function createSign (algorithm) { - return new Sign(algorithm) -} - -exports.createVerify = exports.Verify = createVerify - -function createVerify (algorithm) { - return new Verify(algorithm) -} - -inherits(Sign, stream.Writable) - function Sign (algorithm) { stream.Writable.call(this) + var data = algos[algorithm] - if (!data) + if (!data) { throw new Error('Unknown message digest') + } this._hashType = data.hash this._hash = createHash(data.hash) this._tag = data.id this._signType = data.sign } +inherits(Sign, stream.Writable) Sign.prototype._write = function _write (data, _, done) { this._hash.update(data) @@ -51309,8 +51206,10 @@ Sign.prototype._write = function _write (data, _, done) { } Sign.prototype.update = function update (data, enc) { - if (typeof data === 'string') + if (typeof data === 'string') { data = new Buffer(data, enc) + } + this._hash.update(data) return this } @@ -51319,48 +51218,67 @@ Sign.prototype.sign = function signMethod (key, enc) { this.end() var hash = this._hash.digest() var sig = sign(Buffer.concat([this._tag, hash]), key, this._hashType, this._signType) - if (enc) { - sig = sig.toString(enc) - } - return sig + + return enc ? sig.toString(enc) : sig } -inherits(Verify, stream.Writable) function Verify (algorithm) { stream.Writable.call(this) + var data = algos[algorithm] - if (!data) + if (!data) { throw new Error('Unknown message digest') + } this._hash = createHash(data.hash) this._tag = data.id this._signType = data.sign } +inherits(Verify, stream.Writable) Verify.prototype._write = function _write (data, _, done) { this._hash.update(data) + done() } Verify.prototype.update = function update (data, enc) { - if (typeof data === 'string') + if (typeof data === 'string') { data = new Buffer(data, enc) + } this._hash.update(data) return this } Verify.prototype.verify = function verifyMethod (key, sig, enc) { + if (typeof sig === 'string') { + sig = new Buffer(sig, enc) + } + this.end() var hash = this._hash.digest() - if (typeof sig === 'string') - sig = new Buffer(sig, enc) return verify(sig, Buffer.concat([this._tag, hash]), key, this._signType) } +function createSign (algorithm) { + return new Sign(algorithm) +} + +function createVerify (algorithm) { + return new Verify(algorithm) +} + +module.exports = { + Sign: createSign, + Verify: createVerify, + createSign: createSign, + createVerify: createVerify +} + }).call(this,require("buffer").Buffer) -},{"./algos":170,"./sign":216,"./verify":217,"buffer":145,"create-hash":242,"inherits":298,"stream":317}],172:[function(require,module,exports){ +},{"./algos":168,"./sign":214,"./verify":215,"buffer":145,"create-hash":240,"inherits":296,"stream":315}],170:[function(require,module,exports){ 'use strict' exports['1.3.132.0.10'] = 'secp256k1' @@ -51370,7 +51288,7 @@ exports['1.2.840.10045.3.1.1'] = 'p192' exports['1.2.840.10045.3.1.7'] = 'p256' -},{}],173:[function(require,module,exports){ +},{}],171:[function(require,module,exports){ (function (module, exports) { 'use strict'; @@ -53690,7 +53608,7 @@ Mont.prototype.invm = function invm(a) { })(typeof module === 'undefined' || module, this); -},{}],174:[function(require,module,exports){ +},{}],172:[function(require,module,exports){ (function (Buffer){ var bn = require('bn.js'); var randomBytes = require('randombytes'); @@ -53739,9 +53657,9 @@ function getr(priv) { return r; } }).call(this,require("buffer").Buffer) -},{"bn.js":173,"buffer":145,"randombytes":291}],175:[function(require,module,exports){ +},{"bn.js":171,"buffer":145,"randombytes":289}],173:[function(require,module,exports){ arguments[4][98][0].apply(exports,arguments) -},{"../package.json":195,"./elliptic/curve":178,"./elliptic/curves":181,"./elliptic/ec":182,"./elliptic/hmac-drbg":185,"./elliptic/utils":187,"brorand":188,"dup":98}],176:[function(require,module,exports){ +},{"../package.json":193,"./elliptic/curve":176,"./elliptic/curves":179,"./elliptic/ec":180,"./elliptic/hmac-drbg":183,"./elliptic/utils":185,"brorand":186,"dup":98}],174:[function(require,module,exports){ 'use strict'; var bn = require('bn.js'); @@ -54058,7 +53976,7 @@ BasePoint.prototype.dblp = function dblp(k) { return r; }; -},{"../../elliptic":175,"bn.js":173}],177:[function(require,module,exports){ +},{"../../elliptic":173,"bn.js":171}],175:[function(require,module,exports){ 'use strict'; var curve = require('../curve'); @@ -54431,11 +54349,11 @@ Point.prototype.getY = function getY() { Point.prototype.toP = Point.prototype.normalize; Point.prototype.mixedAdd = Point.prototype.add; -},{"../../elliptic":175,"../curve":178,"bn.js":173,"inherits":298}],178:[function(require,module,exports){ +},{"../../elliptic":173,"../curve":176,"bn.js":171,"inherits":296}],176:[function(require,module,exports){ arguments[4][101][0].apply(exports,arguments) -},{"./base":176,"./edwards":177,"./mont":179,"./short":180,"dup":101}],179:[function(require,module,exports){ +},{"./base":174,"./edwards":175,"./mont":177,"./short":178,"dup":101}],177:[function(require,module,exports){ arguments[4][102][0].apply(exports,arguments) -},{"../curve":178,"bn.js":173,"dup":102,"inherits":298}],180:[function(require,module,exports){ +},{"../curve":176,"bn.js":171,"dup":102,"inherits":296}],178:[function(require,module,exports){ 'use strict'; var curve = require('../curve'); @@ -55344,9 +55262,9 @@ JPoint.prototype.isInfinity = function isInfinity() { return this.z.cmpn(0) === 0; }; -},{"../../elliptic":175,"../curve":178,"bn.js":173,"inherits":298}],181:[function(require,module,exports){ +},{"../../elliptic":173,"../curve":176,"bn.js":171,"inherits":296}],179:[function(require,module,exports){ arguments[4][104][0].apply(exports,arguments) -},{"../elliptic":175,"./precomputed/secp256k1":186,"dup":104,"hash.js":189}],182:[function(require,module,exports){ +},{"../elliptic":173,"./precomputed/secp256k1":184,"dup":104,"hash.js":187}],180:[function(require,module,exports){ 'use strict'; var bn = require('bn.js'); @@ -55557,9 +55475,9 @@ EC.prototype.getKeyRecoveryParam = function(e, signature, Q, enc) { throw new Error('Unable to find valid recovery factor'); }; -},{"../../elliptic":175,"./key":183,"./signature":184,"bn.js":173}],183:[function(require,module,exports){ +},{"../../elliptic":173,"./key":181,"./signature":182,"bn.js":171}],181:[function(require,module,exports){ arguments[4][106][0].apply(exports,arguments) -},{"../../elliptic":175,"bn.js":173,"dup":106}],184:[function(require,module,exports){ +},{"../../elliptic":173,"bn.js":171,"dup":106}],182:[function(require,module,exports){ 'use strict'; var bn = require('bn.js'); @@ -55631,21 +55549,21 @@ Signature.prototype.toDER = function toDER(enc) { return utils.encode(res, enc); }; -},{"../../elliptic":175,"bn.js":173}],185:[function(require,module,exports){ +},{"../../elliptic":173,"bn.js":171}],183:[function(require,module,exports){ arguments[4][108][0].apply(exports,arguments) -},{"../elliptic":175,"dup":108,"hash.js":189}],186:[function(require,module,exports){ +},{"../elliptic":173,"dup":108,"hash.js":187}],184:[function(require,module,exports){ arguments[4][109][0].apply(exports,arguments) -},{"dup":109}],187:[function(require,module,exports){ +},{"dup":109}],185:[function(require,module,exports){ arguments[4][110][0].apply(exports,arguments) -},{"dup":110}],188:[function(require,module,exports){ +},{"dup":110}],186:[function(require,module,exports){ arguments[4][111][0].apply(exports,arguments) -},{"dup":111}],189:[function(require,module,exports){ +},{"dup":111}],187:[function(require,module,exports){ arguments[4][113][0].apply(exports,arguments) -},{"./hash/common":190,"./hash/hmac":191,"./hash/ripemd":192,"./hash/sha":193,"./hash/utils":194,"dup":113}],190:[function(require,module,exports){ +},{"./hash/common":188,"./hash/hmac":189,"./hash/ripemd":190,"./hash/sha":191,"./hash/utils":192,"dup":113}],188:[function(require,module,exports){ arguments[4][114][0].apply(exports,arguments) -},{"../hash":189,"dup":114}],191:[function(require,module,exports){ +},{"../hash":187,"dup":114}],189:[function(require,module,exports){ arguments[4][115][0].apply(exports,arguments) -},{"../hash":189,"dup":115}],192:[function(require,module,exports){ +},{"../hash":187,"dup":115}],190:[function(require,module,exports){ var hash = require('../hash'); var utils = hash.utils; @@ -55791,11 +55709,11 @@ var sh = [ 8, 5, 12, 9, 12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11 ]; -},{"../hash":189}],193:[function(require,module,exports){ +},{"../hash":187}],191:[function(require,module,exports){ arguments[4][117][0].apply(exports,arguments) -},{"../hash":189,"dup":117}],194:[function(require,module,exports){ +},{"../hash":187,"dup":117}],192:[function(require,module,exports){ arguments[4][118][0].apply(exports,arguments) -},{"dup":118,"inherits":298}],195:[function(require,module,exports){ +},{"dup":118,"inherits":296}],193:[function(require,module,exports){ module.exports={ "name": "elliptic", "version": "3.1.0", @@ -55839,7 +55757,7 @@ module.exports={ "gitHead": "d86cd2a8178f7e7cecbd6dd92eea084e2ab44c13", "_id": "elliptic@3.1.0", "_shasum": "c21682ef762769b56a74201609105da11d5f60cc", - "_from": "elliptic@>=3.0.0-0 <4.0.0-0", + "_from": "elliptic@>=3.0.0 <4.0.0", "_npmVersion": "2.11.0", "_nodeVersion": "2.2.1", "_npmUser": { @@ -55861,7 +55779,7 @@ module.exports={ "readme": "ERROR: No README data found!" } -},{}],196:[function(require,module,exports){ +},{}],194:[function(require,module,exports){ (function (Buffer){ var createHash = require('create-hash'); module.exports = function evp(password, salt, keyLen) { @@ -55903,7 +55821,7 @@ module.exports = function evp(password, salt, keyLen) { return key; }; }).call(this,require("buffer").Buffer) -},{"buffer":145,"create-hash":242}],197:[function(require,module,exports){ +},{"buffer":145,"create-hash":240}],195:[function(require,module,exports){ module.exports={"2.16.840.1.101.3.4.1.1": "aes-128-ecb", "2.16.840.1.101.3.4.1.2": "aes-128-cbc", "2.16.840.1.101.3.4.1.3": "aes-128-ofb", @@ -55917,7 +55835,7 @@ module.exports={"2.16.840.1.101.3.4.1.1": "aes-128-ecb", "2.16.840.1.101.3.4.1.43": "aes-256-ofb", "2.16.840.1.101.3.4.1.44": "aes-256-cfb" } -},{}],198:[function(require,module,exports){ +},{}],196:[function(require,module,exports){ // from https://github.com/indutny/self-signed/blob/gh-pages/lib/asn1.js // Fedor, you are amazing. @@ -56036,7 +55954,7 @@ exports.signature = asn1.define('signature', function() { ); }); -},{"asn1.js":201}],199:[function(require,module,exports){ +},{"asn1.js":199}],197:[function(require,module,exports){ (function (Buffer){ // adapted from https://github.com/apatil/pemstrip var findProc = /Proc-Type: 4,ENCRYPTED\r?\nDEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)\r?\n\r?\n([0-9A-z\n\r\+\/\=]+)\r?\n/m; @@ -56080,7 +55998,7 @@ function wrap (str) { } }).call(this,require("buffer").Buffer) -},{"./EVP_BytesToKey":196,"browserify-aes":155,"buffer":145}],200:[function(require,module,exports){ +},{"./EVP_BytesToKey":194,"browserify-aes":153,"buffer":145}],198:[function(require,module,exports){ (function (Buffer){ var asn1 = require('./asn1'); var aesid = require('./aesid.json'); @@ -56185,9 +56103,9 @@ function decrypt(data, password) { } }).call(this,require("buffer").Buffer) -},{"./aesid.json":197,"./asn1":198,"./fixProc":199,"browserify-aes":155,"buffer":145,"pbkdf2":262}],201:[function(require,module,exports){ +},{"./aesid.json":195,"./asn1":196,"./fixProc":197,"browserify-aes":153,"buffer":145,"pbkdf2":260}],199:[function(require,module,exports){ arguments[4][26][0].apply(exports,arguments) -},{"./asn1/api":202,"./asn1/base":204,"./asn1/constants":208,"./asn1/decoders":210,"./asn1/encoders":213,"bn.js":173,"dup":26}],202:[function(require,module,exports){ +},{"./asn1/api":200,"./asn1/base":202,"./asn1/constants":206,"./asn1/decoders":208,"./asn1/encoders":211,"bn.js":171,"dup":26}],200:[function(require,module,exports){ var asn1 = require('../asn1'); var inherits = require('inherits'); @@ -56248,7 +56166,7 @@ Entity.prototype.encode = function encode(data, enc, /* internal */ reporter) { return this._getEncoder(enc).encode(data, reporter); }; -},{"../asn1":201,"inherits":298,"vm":322}],203:[function(require,module,exports){ +},{"../asn1":199,"inherits":296,"vm":320}],201:[function(require,module,exports){ var inherits = require('inherits'); var Reporter = require('../base').Reporter; var Buffer = require('buffer').Buffer; @@ -56366,9 +56284,9 @@ EncoderBuffer.prototype.join = function join(out, offset) { return out; }; -},{"../base":204,"buffer":145,"inherits":298}],204:[function(require,module,exports){ +},{"../base":202,"buffer":145,"inherits":296}],202:[function(require,module,exports){ arguments[4][29][0].apply(exports,arguments) -},{"./buffer":203,"./node":205,"./reporter":206,"dup":29}],205:[function(require,module,exports){ +},{"./buffer":201,"./node":203,"./reporter":204,"dup":29}],203:[function(require,module,exports){ var Reporter = require('../base').Reporter; var EncoderBuffer = require('../base').EncoderBuffer; var assert = require('minimalistic-assert'); @@ -56968,7 +56886,7 @@ Node.prototype._encodePrimitive = function encodePrimitive(tag, data) { throw new Error('Unsupported tag: ' + tag); }; -},{"../base":204,"minimalistic-assert":215}],206:[function(require,module,exports){ +},{"../base":202,"minimalistic-assert":213}],204:[function(require,module,exports){ var inherits = require('inherits'); function Reporter(options) { @@ -57072,11 +56990,11 @@ ReporterError.prototype.rethrow = function rethrow(msg) { return this; }; -},{"inherits":298}],207:[function(require,module,exports){ +},{"inherits":296}],205:[function(require,module,exports){ arguments[4][32][0].apply(exports,arguments) -},{"../constants":208,"dup":32}],208:[function(require,module,exports){ +},{"../constants":206,"dup":32}],206:[function(require,module,exports){ arguments[4][33][0].apply(exports,arguments) -},{"./der":207,"dup":33}],209:[function(require,module,exports){ +},{"./der":205,"dup":33}],207:[function(require,module,exports){ var inherits = require('inherits'); var asn1 = require('../../asn1'); @@ -57367,13 +57285,13 @@ function derDecodeLen(buf, primitive, fail) { return len; } -},{"../../asn1":201,"inherits":298}],210:[function(require,module,exports){ +},{"../../asn1":199,"inherits":296}],208:[function(require,module,exports){ var decoders = exports; decoders.der = require('./der'); decoders.pem = require('./pem'); -},{"./der":209,"./pem":211}],211:[function(require,module,exports){ +},{"./der":207,"./pem":209}],209:[function(require,module,exports){ var inherits = require('inherits'); var Buffer = require('buffer').Buffer; @@ -57425,7 +57343,7 @@ PEMDecoder.prototype.decode = function decode(data, options) { return DERDecoder.prototype.decode.call(this, input, options); }; -},{"../../asn1":201,"./der":209,"buffer":145,"inherits":298}],212:[function(require,module,exports){ +},{"../../asn1":199,"./der":207,"buffer":145,"inherits":296}],210:[function(require,module,exports){ var inherits = require('inherits'); var Buffer = require('buffer').Buffer; @@ -57699,13 +57617,13 @@ function encodeTag(tag, primitive, cls, reporter) { return res; } -},{"../../asn1":201,"buffer":145,"inherits":298}],213:[function(require,module,exports){ +},{"../../asn1":199,"buffer":145,"inherits":296}],211:[function(require,module,exports){ var encoders = exports; encoders.der = require('./der'); encoders.pem = require('./pem'); -},{"./der":212,"./pem":214}],214:[function(require,module,exports){ +},{"./der":210,"./pem":212}],212:[function(require,module,exports){ var inherits = require('inherits'); var Buffer = require('buffer').Buffer; @@ -57730,7 +57648,7 @@ PEMEncoder.prototype.encode = function encode(data, options) { return out.join('\n'); }; -},{"../../asn1":201,"./der":212,"buffer":145,"inherits":298}],215:[function(require,module,exports){ +},{"../../asn1":199,"./der":210,"buffer":145,"inherits":296}],213:[function(require,module,exports){ module.exports = assert; function assert(val, msg) { @@ -57743,34 +57661,33 @@ assert.equal = function assertEqual(l, r, msg) { throw new Error(msg || ('Assertion failed: ' + l + ' != ' + r)); }; -},{}],216:[function(require,module,exports){ +},{}],214:[function(require,module,exports){ (function (Buffer){ // much of this based on https://github.com/indutny/self-signed/blob/gh-pages/lib/rsa.js -var parseKeys = require('parse-asn1') -var BN = require('bn.js') -var elliptic = require('elliptic') -var crt = require('browserify-rsa') var createHmac = require('create-hmac') +var crt = require('browserify-rsa') var curves = require('./curves') +var elliptic = require('elliptic') +var parseKeys = require('parse-asn1') + +var BN = require('bn.js') +var EC = elliptic.ec -module.exports = sign function sign (hash, key, hashType, signType) { var priv = parseKeys(key) if (priv.curve) { - if (signType !== 'ecdsa') { - throw new Error('wrong private key type') - } + if (signType !== 'ecdsa') throw new Error('wrong private key type') + return ecSign(hash, priv) } else if (priv.type === 'dsa') { - return dsaSign(hash, priv, hashType) if (signType !== 'dsa') { throw new Error('wrong private key type') } + return dsaSign(hash, priv, hashType) } else { - if (signType !== 'rsa') { - throw new Error('wrong private key type') - } + if (signType !== 'rsa') throw new Error('wrong private key type') } + var len = priv.modulus.byteLength() var pad = [ 0, 1 ] while (hash.length + pad.length + 1 < len) { @@ -57785,23 +57702,24 @@ function sign (hash, key, hashType, signType) { var out = crt(pad, priv) return out } + function ecSign (hash, priv) { var curveId = curves[priv.curve.join('.')] - if (!curveId) - throw new Error('unknown curve ' + priv.curve.join('.')) - - var curve = new elliptic.ec(curveId) + if (!curveId) throw new Error('unknown curve ' + priv.curve.join('.')) + var curve = new EC(curveId) var key = curve.genKeyPair() + key._importPrivate(priv.privateKey) var out = key.sign(hash) + return new Buffer(out.toDER()) } + function dsaSign (hash, priv, algo) { var x = priv.params.priv_key var p = priv.params.p var q = priv.params.q - var montq = BN.mont(q) var g = priv.params.g var r = new BN(0) var k @@ -57819,23 +57737,26 @@ function dsaSign (hash, priv, algo) { } return toDER(r, s) } + function toDER (r, s) { r = r.toArray() s = s.toArray() // Pad values - if (r[0] & 0x80) + if (r[0] & 0x80) { r = [ 0 ].concat(r) + } // Pad values - if (s[0] & 0x80) + if (s[0] & 0x80) { s = [0].concat(s) + } var total = r.length + s.length + 4 var res = [ 0x30, total, 0x02, r.length ] res = res.concat(r, [ 0x02, s.length ], s) return new Buffer(res) } -module.exports.getKey = getKey + function getKey (x, q, hash, algo) { x = new Buffer(x.toArray()) if (x.length < q.byteLength()) { @@ -57872,6 +57793,7 @@ function getKey (x, q, hash, algo) { v: v } } + function bits2int (obits, q) { var bits = new BN(obits) var shift = (obits.length << 3) - q.bitLength() @@ -57880,6 +57802,7 @@ function bits2int (obits, q) { } return bits } + function bits2octets (bits, q) { bits = bits2int(bits, q) bits = bits.mod(q) @@ -57891,45 +57814,51 @@ function bits2octets (bits, q) { } return out } -module.exports.makeKey = makeKey + function makeKey (q, kv, algo) { - var t - var k - while (true) { + var t, k + + do { t = new Buffer('') + while (t.length * 8 < q.bitLength()) { kv.v = createHmac(algo, kv.k) .update(kv.v) .digest() t = Buffer.concat([t, kv.v]) } + k = bits2int(t, q) - kv.k = createHmac(algo, kv.k) - .update(kv.v) - .update(new Buffer([0])) - .digest() + kv.k = createHmac(algo, kv.k) + .update(kv.v) + .update(new Buffer([0])) + .digest() kv.v = createHmac(algo, kv.k) - .update(kv.v) - .digest() - if (k.cmp(q) === -1) { - return k - } - } + .update(kv.v) + .digest() + } while (k.cmp(q) !== -1) + + return k } + function makeR (g, k, p, q) { return g.toRed(BN.mont(p)).redPow(k).fromRed().mod(q) } +module.exports = sign +module.exports.getKey = getKey +module.exports.makeKey = makeKey + }).call(this,require("buffer").Buffer) -},{"./curves":172,"bn.js":173,"browserify-rsa":174,"buffer":145,"create-hmac":254,"elliptic":175,"parse-asn1":200}],217:[function(require,module,exports){ +},{"./curves":170,"bn.js":171,"browserify-rsa":172,"buffer":145,"create-hmac":252,"elliptic":173,"parse-asn1":198}],215:[function(require,module,exports){ (function (Buffer){ -'use strict' // much of this based on https://github.com/indutny/self-signed/blob/gh-pages/lib/rsa.js -var parseKeys = require('parse-asn1') -var elliptic = require('elliptic') var curves = require('./curves') +var elliptic = require('elliptic') +var parseKeys = require('parse-asn1') + var BN = require('bn.js') -module.exports = verify +var EC = elliptic.ec function verify (sig, hash, key, signType) { var pub = parseKeys(key) @@ -57982,16 +57911,17 @@ function verify (sig, hash, key, signType) { } return out === 0 } + function ecVerify (sig, hash, pub) { var curveId = curves[pub.data.algorithm.curve.join('.')] - if (!curveId) - throw new Error('unknown curve ' + pub.data.algorithm.curve.join('.')) - - var curve = new elliptic.ec(curveId) + if (!curveId) throw new Error('unknown curve ' + pub.data.algorithm.curve.join('.')) + var curve = new EC(curveId) var pubkey = pub.data.subjectPrivateKey.data + return curve.verify(hash, sig, pubkey) } + function dsaVerify (sig, hash, pub) { var p = pub.data.p var q = pub.data.q @@ -58002,19 +57932,19 @@ function dsaVerify (sig, hash, pub) { var r = unpacked.r checkValue(s, q) checkValue(r, q) - var montq = BN.mont(q) var montp = BN.mont(p) - var w = s.invm(q) + var w = s.invm(q) var v = g.toRed(montp) - .redPow(new BN(hash).mul(w).mod(q)) - .fromRed() - .mul( - y.toRed(montp) - .redPow(r.mul(w).mod(q)) + .redPow(new BN(hash).mul(w).mod(q)) .fromRed() + .mul( + y.toRed(montp) + .redPow(r.mul(w).mod(q)) + .fromRed() ).mod(p).mod(q) return !v.cmp(r) } + function checkValue (b, q) { if (b.cmpn(0) <= 0) { throw new Error('invalid sig') @@ -58024,8 +57954,10 @@ function checkValue (b, q) { } } +module.exports = verify + }).call(this,require("buffer").Buffer) -},{"./curves":172,"bn.js":173,"buffer":145,"elliptic":175,"parse-asn1":200}],218:[function(require,module,exports){ +},{"./curves":170,"bn.js":171,"buffer":145,"elliptic":173,"parse-asn1":198}],216:[function(require,module,exports){ (function (Buffer){ var elliptic = require('elliptic'); var BN = require('bn.js'); @@ -58141,55 +58073,55 @@ function formatReturnValue(bn, enc, len) { } }).call(this,require("buffer").Buffer) -},{"bn.js":220,"buffer":145,"elliptic":221}],219:[function(require,module,exports){ +},{"bn.js":218,"buffer":145,"elliptic":219}],217:[function(require,module,exports){ var createECDH = require('crypto').createECDH; module.exports = createECDH || require('./browser'); -},{"./browser":218,"crypto":151}],220:[function(require,module,exports){ -arguments[4][173][0].apply(exports,arguments) -},{"dup":173}],221:[function(require,module,exports){ +},{"./browser":216,"crypto":149}],218:[function(require,module,exports){ +arguments[4][171][0].apply(exports,arguments) +},{"dup":171}],219:[function(require,module,exports){ arguments[4][98][0].apply(exports,arguments) -},{"../package.json":241,"./elliptic/curve":224,"./elliptic/curves":227,"./elliptic/ec":228,"./elliptic/hmac-drbg":231,"./elliptic/utils":233,"brorand":234,"dup":98}],222:[function(require,module,exports){ -arguments[4][176][0].apply(exports,arguments) -},{"../../elliptic":221,"bn.js":220,"dup":176}],223:[function(require,module,exports){ -arguments[4][177][0].apply(exports,arguments) -},{"../../elliptic":221,"../curve":224,"bn.js":220,"dup":177,"inherits":298}],224:[function(require,module,exports){ +},{"../package.json":239,"./elliptic/curve":222,"./elliptic/curves":225,"./elliptic/ec":226,"./elliptic/hmac-drbg":229,"./elliptic/utils":231,"brorand":232,"dup":98}],220:[function(require,module,exports){ +arguments[4][174][0].apply(exports,arguments) +},{"../../elliptic":219,"bn.js":218,"dup":174}],221:[function(require,module,exports){ +arguments[4][175][0].apply(exports,arguments) +},{"../../elliptic":219,"../curve":222,"bn.js":218,"dup":175,"inherits":296}],222:[function(require,module,exports){ arguments[4][101][0].apply(exports,arguments) -},{"./base":222,"./edwards":223,"./mont":225,"./short":226,"dup":101}],225:[function(require,module,exports){ +},{"./base":220,"./edwards":221,"./mont":223,"./short":224,"dup":101}],223:[function(require,module,exports){ arguments[4][102][0].apply(exports,arguments) -},{"../curve":224,"bn.js":220,"dup":102,"inherits":298}],226:[function(require,module,exports){ -arguments[4][180][0].apply(exports,arguments) -},{"../../elliptic":221,"../curve":224,"bn.js":220,"dup":180,"inherits":298}],227:[function(require,module,exports){ +},{"../curve":222,"bn.js":218,"dup":102,"inherits":296}],224:[function(require,module,exports){ +arguments[4][178][0].apply(exports,arguments) +},{"../../elliptic":219,"../curve":222,"bn.js":218,"dup":178,"inherits":296}],225:[function(require,module,exports){ arguments[4][104][0].apply(exports,arguments) -},{"../elliptic":221,"./precomputed/secp256k1":232,"dup":104,"hash.js":235}],228:[function(require,module,exports){ -arguments[4][182][0].apply(exports,arguments) -},{"../../elliptic":221,"./key":229,"./signature":230,"bn.js":220,"dup":182}],229:[function(require,module,exports){ +},{"../elliptic":219,"./precomputed/secp256k1":230,"dup":104,"hash.js":233}],226:[function(require,module,exports){ +arguments[4][180][0].apply(exports,arguments) +},{"../../elliptic":219,"./key":227,"./signature":228,"bn.js":218,"dup":180}],227:[function(require,module,exports){ arguments[4][106][0].apply(exports,arguments) -},{"../../elliptic":221,"bn.js":220,"dup":106}],230:[function(require,module,exports){ -arguments[4][184][0].apply(exports,arguments) -},{"../../elliptic":221,"bn.js":220,"dup":184}],231:[function(require,module,exports){ +},{"../../elliptic":219,"bn.js":218,"dup":106}],228:[function(require,module,exports){ +arguments[4][182][0].apply(exports,arguments) +},{"../../elliptic":219,"bn.js":218,"dup":182}],229:[function(require,module,exports){ arguments[4][108][0].apply(exports,arguments) -},{"../elliptic":221,"dup":108,"hash.js":235}],232:[function(require,module,exports){ +},{"../elliptic":219,"dup":108,"hash.js":233}],230:[function(require,module,exports){ arguments[4][109][0].apply(exports,arguments) -},{"dup":109}],233:[function(require,module,exports){ +},{"dup":109}],231:[function(require,module,exports){ arguments[4][110][0].apply(exports,arguments) -},{"dup":110}],234:[function(require,module,exports){ +},{"dup":110}],232:[function(require,module,exports){ arguments[4][111][0].apply(exports,arguments) -},{"dup":111}],235:[function(require,module,exports){ +},{"dup":111}],233:[function(require,module,exports){ arguments[4][113][0].apply(exports,arguments) -},{"./hash/common":236,"./hash/hmac":237,"./hash/ripemd":238,"./hash/sha":239,"./hash/utils":240,"dup":113}],236:[function(require,module,exports){ +},{"./hash/common":234,"./hash/hmac":235,"./hash/ripemd":236,"./hash/sha":237,"./hash/utils":238,"dup":113}],234:[function(require,module,exports){ arguments[4][114][0].apply(exports,arguments) -},{"../hash":235,"dup":114}],237:[function(require,module,exports){ +},{"../hash":233,"dup":114}],235:[function(require,module,exports){ arguments[4][115][0].apply(exports,arguments) -},{"../hash":235,"dup":115}],238:[function(require,module,exports){ -arguments[4][192][0].apply(exports,arguments) -},{"../hash":235,"dup":192}],239:[function(require,module,exports){ +},{"../hash":233,"dup":115}],236:[function(require,module,exports){ +arguments[4][190][0].apply(exports,arguments) +},{"../hash":233,"dup":190}],237:[function(require,module,exports){ arguments[4][117][0].apply(exports,arguments) -},{"../hash":235,"dup":117}],240:[function(require,module,exports){ +},{"../hash":233,"dup":117}],238:[function(require,module,exports){ arguments[4][118][0].apply(exports,arguments) -},{"dup":118,"inherits":298}],241:[function(require,module,exports){ -arguments[4][195][0].apply(exports,arguments) -},{"dup":195}],242:[function(require,module,exports){ +},{"dup":118,"inherits":296}],239:[function(require,module,exports){ +arguments[4][193][0].apply(exports,arguments) +},{"dup":193}],240:[function(require,module,exports){ (function (Buffer){ 'use strict'; var inherits = require('inherits') @@ -58282,7 +58214,7 @@ module.exports = function createHash (alg) { } }).call(this,require("buffer").Buffer) -},{"./md5":244,"buffer":145,"inherits":298,"ripemd160":245,"sha.js":247,"stream":317}],243:[function(require,module,exports){ +},{"./md5":242,"buffer":145,"inherits":296,"ripemd160":243,"sha.js":245,"stream":315}],241:[function(require,module,exports){ (function (Buffer){ 'use strict'; var intSize = 4; @@ -58319,7 +58251,7 @@ function hash(buf, fn, hashSize, bigEndian) { } exports.hash = hash; }).call(this,require("buffer").Buffer) -},{"buffer":145}],244:[function(require,module,exports){ +},{"buffer":145}],242:[function(require,module,exports){ 'use strict'; /* * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message @@ -58476,7 +58408,7 @@ function bit_rol(num, cnt) module.exports = function md5(buf) { return helpers.hash(buf, core_md5, 16); }; -},{"./helpers":243}],245:[function(require,module,exports){ +},{"./helpers":241}],243:[function(require,module,exports){ (function (Buffer){ /* CryptoJS v3.1.2 @@ -58690,7 +58622,7 @@ function ripemd160 (message) { module.exports = ripemd160 }).call(this,require("buffer").Buffer) -},{"buffer":145}],246:[function(require,module,exports){ +},{"buffer":145}],244:[function(require,module,exports){ (function (Buffer){ // prototype class for hash functions function Hash (blockSize, finalSize) { @@ -58763,7 +58695,7 @@ Hash.prototype._update = function () { module.exports = Hash }).call(this,require("buffer").Buffer) -},{"buffer":145}],247:[function(require,module,exports){ +},{"buffer":145}],245:[function(require,module,exports){ var exports = module.exports = function SHA (algorithm) { algorithm = algorithm.toLowerCase() @@ -58780,7 +58712,7 @@ exports.sha256 = require('./sha256') exports.sha384 = require('./sha384') exports.sha512 = require('./sha512') -},{"./sha":248,"./sha1":249,"./sha224":250,"./sha256":251,"./sha384":252,"./sha512":253}],248:[function(require,module,exports){ +},{"./sha":246,"./sha1":247,"./sha224":248,"./sha256":249,"./sha384":250,"./sha512":251}],246:[function(require,module,exports){ (function (Buffer){ /* * A JavaScript implementation of the Secure Hash Algorithm, SHA-0, as defined @@ -58883,7 +58815,7 @@ module.exports = Sha }).call(this,require("buffer").Buffer) -},{"./hash":246,"buffer":145,"inherits":298}],249:[function(require,module,exports){ +},{"./hash":244,"buffer":145,"inherits":296}],247:[function(require,module,exports){ (function (Buffer){ /* * A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined @@ -58982,7 +58914,7 @@ Sha1.prototype._hash = function () { module.exports = Sha1 }).call(this,require("buffer").Buffer) -},{"./hash":246,"buffer":145,"inherits":298}],250:[function(require,module,exports){ +},{"./hash":244,"buffer":145,"inherits":296}],248:[function(require,module,exports){ (function (Buffer){ /** * A JavaScript implementation of the Secure Hash Algorithm, SHA-256, as defined @@ -59038,7 +58970,7 @@ Sha224.prototype._hash = function () { module.exports = Sha224 }).call(this,require("buffer").Buffer) -},{"./hash":246,"./sha256":251,"buffer":145,"inherits":298}],251:[function(require,module,exports){ +},{"./hash":244,"./sha256":249,"buffer":145,"inherits":296}],249:[function(require,module,exports){ (function (Buffer){ /** * A JavaScript implementation of the Secure Hash Algorithm, SHA-256, as defined @@ -59191,7 +59123,7 @@ Sha256.prototype._hash = function () { module.exports = Sha256 }).call(this,require("buffer").Buffer) -},{"./hash":246,"buffer":145,"inherits":298}],252:[function(require,module,exports){ +},{"./hash":244,"buffer":145,"inherits":296}],250:[function(require,module,exports){ (function (Buffer){ var inherits = require('inherits') var SHA512 = require('./sha512') @@ -59251,7 +59183,7 @@ Sha384.prototype._hash = function () { module.exports = Sha384 }).call(this,require("buffer").Buffer) -},{"./hash":246,"./sha512":253,"buffer":145,"inherits":298}],253:[function(require,module,exports){ +},{"./hash":244,"./sha512":251,"buffer":145,"inherits":296}],251:[function(require,module,exports){ (function (Buffer){ var inherits = require('inherits') var Hash = require('./hash') @@ -59500,7 +59432,7 @@ Sha512.prototype._hash = function () { module.exports = Sha512 }).call(this,require("buffer").Buffer) -},{"./hash":246,"buffer":145,"inherits":298}],254:[function(require,module,exports){ +},{"./hash":244,"buffer":145,"inherits":296}],252:[function(require,module,exports){ (function (Buffer){ 'use strict'; var createHash = require('create-hash/browser'); @@ -59572,7 +59504,7 @@ module.exports = function createHmac(alg, key) { } }).call(this,require("buffer").Buffer) -},{"buffer":145,"create-hash/browser":242,"inherits":298,"stream":317}],255:[function(require,module,exports){ +},{"buffer":145,"create-hash/browser":240,"inherits":296,"stream":315}],253:[function(require,module,exports){ (function (Buffer){ var generatePrime = require('./lib/generatePrime'); var primes = require('./lib/primes'); @@ -59616,7 +59548,7 @@ exports.DiffieHellmanGroup = exports.createDiffieHellmanGroup = exports.getDiffi exports.createDiffieHellman = exports.DiffieHellman = createDiffieHellman; }).call(this,require("buffer").Buffer) -},{"./lib/dh":256,"./lib/generatePrime":257,"./lib/primes":258,"buffer":145}],256:[function(require,module,exports){ +},{"./lib/dh":254,"./lib/generatePrime":255,"./lib/primes":256,"buffer":145}],254:[function(require,module,exports){ (function (Buffer){ var BN = require('bn.js'); var MillerRabin = require('miller-rabin'); @@ -59786,7 +59718,7 @@ function formatReturnValue(bn, enc) { } } }).call(this,require("buffer").Buffer) -},{"./generatePrime":257,"bn.js":259,"buffer":145,"miller-rabin":260,"randombytes":291}],257:[function(require,module,exports){ +},{"./generatePrime":255,"bn.js":257,"buffer":145,"miller-rabin":258,"randombytes":289}],255:[function(require,module,exports){ var randomBytes = require('randombytes'); module.exports = findPrime; findPrime.simpleSieve = simpleSieve; @@ -59919,7 +59851,7 @@ function findPrime(bits, gen) { } } -},{"bn.js":259,"miller-rabin":260,"randombytes":291}],258:[function(require,module,exports){ +},{"bn.js":257,"miller-rabin":258,"randombytes":289}],256:[function(require,module,exports){ module.exports={ "modp1": { "gen": "02", @@ -59954,9 +59886,9 @@ module.exports={ "prime": "ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff" } } -},{}],259:[function(require,module,exports){ -arguments[4][173][0].apply(exports,arguments) -},{"dup":173}],260:[function(require,module,exports){ +},{}],257:[function(require,module,exports){ +arguments[4][171][0].apply(exports,arguments) +},{"dup":171}],258:[function(require,module,exports){ var bn = require('bn.js'); var brorand = require('brorand'); @@ -60071,9 +60003,9 @@ MillerRabin.prototype.getDivisor = function getDivisor(n, k) { return false; }; -},{"bn.js":259,"brorand":261}],261:[function(require,module,exports){ +},{"bn.js":257,"brorand":259}],259:[function(require,module,exports){ arguments[4][111][0].apply(exports,arguments) -},{"dup":111}],262:[function(require,module,exports){ +},{"dup":111}],260:[function(require,module,exports){ (function (Buffer){ var createHmac = require('create-hmac') var MAX_ALLOC = Math.pow(2, 30) - 1 // default in iojs @@ -60157,7 +60089,7 @@ function pbkdf2Sync (password, salt, iterations, keylen, digest) { } }).call(this,require("buffer").Buffer) -},{"buffer":145,"create-hmac":254}],263:[function(require,module,exports){ +},{"buffer":145,"create-hmac":252}],261:[function(require,module,exports){ exports.publicEncrypt = require('./publicEncrypt'); exports.privateDecrypt = require('./privateDecrypt'); @@ -60168,7 +60100,7 @@ exports.privateEncrypt = function privateEncrypt(key, buf) { exports.publicDecrypt = function publicDecrypt(key, buf) { return exports.privateDecrypt(key, buf, true); }; -},{"./privateDecrypt":287,"./publicEncrypt":288}],264:[function(require,module,exports){ +},{"./privateDecrypt":285,"./publicEncrypt":286}],262:[function(require,module,exports){ (function (Buffer){ var createHash = require('create-hash'); module.exports = function (seed, len) { @@ -60187,51 +60119,51 @@ function i2ops(c) { return out; } }).call(this,require("buffer").Buffer) -},{"buffer":145,"create-hash":242}],265:[function(require,module,exports){ -arguments[4][173][0].apply(exports,arguments) -},{"dup":173}],266:[function(require,module,exports){ -arguments[4][174][0].apply(exports,arguments) -},{"bn.js":265,"buffer":145,"dup":174,"randombytes":291}],267:[function(require,module,exports){ +},{"buffer":145,"create-hash":240}],263:[function(require,module,exports){ +arguments[4][171][0].apply(exports,arguments) +},{"dup":171}],264:[function(require,module,exports){ +arguments[4][172][0].apply(exports,arguments) +},{"bn.js":263,"buffer":145,"dup":172,"randombytes":289}],265:[function(require,module,exports){ +arguments[4][194][0].apply(exports,arguments) +},{"buffer":145,"create-hash":240,"dup":194}],266:[function(require,module,exports){ +arguments[4][195][0].apply(exports,arguments) +},{"dup":195}],267:[function(require,module,exports){ arguments[4][196][0].apply(exports,arguments) -},{"buffer":145,"create-hash":242,"dup":196}],268:[function(require,module,exports){ +},{"asn1.js":270,"dup":196}],268:[function(require,module,exports){ arguments[4][197][0].apply(exports,arguments) -},{"dup":197}],269:[function(require,module,exports){ +},{"./EVP_BytesToKey":265,"browserify-aes":153,"buffer":145,"dup":197}],269:[function(require,module,exports){ arguments[4][198][0].apply(exports,arguments) -},{"asn1.js":272,"dup":198}],270:[function(require,module,exports){ -arguments[4][199][0].apply(exports,arguments) -},{"./EVP_BytesToKey":267,"browserify-aes":155,"buffer":145,"dup":199}],271:[function(require,module,exports){ -arguments[4][200][0].apply(exports,arguments) -},{"./aesid.json":268,"./asn1":269,"./fixProc":270,"browserify-aes":155,"buffer":145,"dup":200,"pbkdf2":262}],272:[function(require,module,exports){ +},{"./aesid.json":266,"./asn1":267,"./fixProc":268,"browserify-aes":153,"buffer":145,"dup":198,"pbkdf2":260}],270:[function(require,module,exports){ arguments[4][26][0].apply(exports,arguments) -},{"./asn1/api":273,"./asn1/base":275,"./asn1/constants":279,"./asn1/decoders":281,"./asn1/encoders":284,"bn.js":265,"dup":26}],273:[function(require,module,exports){ -arguments[4][202][0].apply(exports,arguments) -},{"../asn1":272,"dup":202,"inherits":298,"vm":322}],274:[function(require,module,exports){ -arguments[4][203][0].apply(exports,arguments) -},{"../base":275,"buffer":145,"dup":203,"inherits":298}],275:[function(require,module,exports){ +},{"./asn1/api":271,"./asn1/base":273,"./asn1/constants":277,"./asn1/decoders":279,"./asn1/encoders":282,"bn.js":263,"dup":26}],271:[function(require,module,exports){ +arguments[4][200][0].apply(exports,arguments) +},{"../asn1":270,"dup":200,"inherits":296,"vm":320}],272:[function(require,module,exports){ +arguments[4][201][0].apply(exports,arguments) +},{"../base":273,"buffer":145,"dup":201,"inherits":296}],273:[function(require,module,exports){ arguments[4][29][0].apply(exports,arguments) -},{"./buffer":274,"./node":276,"./reporter":277,"dup":29}],276:[function(require,module,exports){ -arguments[4][205][0].apply(exports,arguments) -},{"../base":275,"dup":205,"minimalistic-assert":286}],277:[function(require,module,exports){ -arguments[4][206][0].apply(exports,arguments) -},{"dup":206,"inherits":298}],278:[function(require,module,exports){ +},{"./buffer":272,"./node":274,"./reporter":275,"dup":29}],274:[function(require,module,exports){ +arguments[4][203][0].apply(exports,arguments) +},{"../base":273,"dup":203,"minimalistic-assert":284}],275:[function(require,module,exports){ +arguments[4][204][0].apply(exports,arguments) +},{"dup":204,"inherits":296}],276:[function(require,module,exports){ arguments[4][32][0].apply(exports,arguments) -},{"../constants":279,"dup":32}],279:[function(require,module,exports){ +},{"../constants":277,"dup":32}],277:[function(require,module,exports){ arguments[4][33][0].apply(exports,arguments) -},{"./der":278,"dup":33}],280:[function(require,module,exports){ +},{"./der":276,"dup":33}],278:[function(require,module,exports){ +arguments[4][207][0].apply(exports,arguments) +},{"../../asn1":270,"dup":207,"inherits":296}],279:[function(require,module,exports){ +arguments[4][208][0].apply(exports,arguments) +},{"./der":278,"./pem":280,"dup":208}],280:[function(require,module,exports){ arguments[4][209][0].apply(exports,arguments) -},{"../../asn1":272,"dup":209,"inherits":298}],281:[function(require,module,exports){ +},{"../../asn1":270,"./der":278,"buffer":145,"dup":209,"inherits":296}],281:[function(require,module,exports){ arguments[4][210][0].apply(exports,arguments) -},{"./der":280,"./pem":282,"dup":210}],282:[function(require,module,exports){ +},{"../../asn1":270,"buffer":145,"dup":210,"inherits":296}],282:[function(require,module,exports){ arguments[4][211][0].apply(exports,arguments) -},{"../../asn1":272,"./der":280,"buffer":145,"dup":211,"inherits":298}],283:[function(require,module,exports){ +},{"./der":281,"./pem":283,"dup":211}],283:[function(require,module,exports){ arguments[4][212][0].apply(exports,arguments) -},{"../../asn1":272,"buffer":145,"dup":212,"inherits":298}],284:[function(require,module,exports){ +},{"../../asn1":270,"./der":281,"buffer":145,"dup":212,"inherits":296}],284:[function(require,module,exports){ arguments[4][213][0].apply(exports,arguments) -},{"./der":283,"./pem":285,"dup":213}],285:[function(require,module,exports){ -arguments[4][214][0].apply(exports,arguments) -},{"../../asn1":272,"./der":283,"buffer":145,"dup":214,"inherits":298}],286:[function(require,module,exports){ -arguments[4][215][0].apply(exports,arguments) -},{"dup":215}],287:[function(require,module,exports){ +},{"dup":213}],285:[function(require,module,exports){ (function (Buffer){ var parseKeys = require('parse-asn1'); var mgf = require('./mgf'); @@ -60342,7 +60274,7 @@ function compare(a, b){ return dif; } }).call(this,require("buffer").Buffer) -},{"./mgf":264,"./withPublic":289,"./xor":290,"bn.js":265,"browserify-rsa":266,"buffer":145,"create-hash":242,"parse-asn1":271}],288:[function(require,module,exports){ +},{"./mgf":262,"./withPublic":287,"./xor":288,"bn.js":263,"browserify-rsa":264,"buffer":145,"create-hash":240,"parse-asn1":269}],286:[function(require,module,exports){ (function (Buffer){ var parseKeys = require('parse-asn1'); var randomBytes = require('randombytes'); @@ -60440,7 +60372,7 @@ function nonZero(len, crypto) { return out; } }).call(this,require("buffer").Buffer) -},{"./mgf":264,"./withPublic":289,"./xor":290,"bn.js":265,"browserify-rsa":266,"buffer":145,"create-hash":242,"parse-asn1":271,"randombytes":291}],289:[function(require,module,exports){ +},{"./mgf":262,"./withPublic":287,"./xor":288,"bn.js":263,"browserify-rsa":264,"buffer":145,"create-hash":240,"parse-asn1":269,"randombytes":289}],287:[function(require,module,exports){ (function (Buffer){ var bn = require('bn.js'); function withPublic(paddedMsg, key) { @@ -60453,7 +60385,7 @@ function withPublic(paddedMsg, key) { module.exports = withPublic; }).call(this,require("buffer").Buffer) -},{"bn.js":265,"buffer":145}],290:[function(require,module,exports){ +},{"bn.js":263,"buffer":145}],288:[function(require,module,exports){ module.exports = function xor(a, b) { var len = a.length; var i = -1; @@ -60462,7 +60394,7 @@ module.exports = function xor(a, b) { } return a }; -},{}],291:[function(require,module,exports){ +},{}],289:[function(require,module,exports){ (function (process,global,Buffer){ 'use strict'; @@ -60494,7 +60426,7 @@ function oldBrowser() { } }).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer) -},{"_process":301,"buffer":145}],292:[function(require,module,exports){ +},{"_process":299,"buffer":145}],290:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -60797,7 +60729,7 @@ function isUndefined(arg) { return arg === void 0; } -},{}],293:[function(require,module,exports){ +},{}],291:[function(require,module,exports){ var http = module.exports; var EventEmitter = require('events').EventEmitter; var Request = require('./lib/request'); @@ -60943,7 +60875,7 @@ http.STATUS_CODES = { 510 : 'Not Extended', // RFC 2774 511 : 'Network Authentication Required' // RFC 6585 }; -},{"./lib/request":294,"events":292,"url":319}],294:[function(require,module,exports){ +},{"./lib/request":292,"events":290,"url":317}],292:[function(require,module,exports){ var Stream = require('stream'); var Response = require('./response'); var Base64 = require('Base64'); @@ -61154,7 +61086,7 @@ var isXHR2Compatible = function (obj) { if (typeof FormData !== 'undefined' && obj instanceof FormData) return true; }; -},{"./response":295,"Base64":296,"inherits":298,"stream":317}],295:[function(require,module,exports){ +},{"./response":293,"Base64":294,"inherits":296,"stream":315}],293:[function(require,module,exports){ var Stream = require('stream'); var util = require('util'); @@ -61276,7 +61208,7 @@ var isArray = Array.isArray || function (xs) { return Object.prototype.toString.call(xs) === '[object Array]'; }; -},{"stream":317,"util":321}],296:[function(require,module,exports){ +},{"stream":315,"util":319}],294:[function(require,module,exports){ ;(function () { var object = typeof exports != 'undefined' ? exports : this; // #8: web workers @@ -61338,7 +61270,7 @@ var isArray = Array.isArray || function (xs) { }()); -},{}],297:[function(require,module,exports){ +},{}],295:[function(require,module,exports){ var http = require('http'); var https = module.exports; @@ -61350,17 +61282,18 @@ for (var key in http) { https.request = function (params, cb) { if (!params) params = {}; params.scheme = 'https'; + params.protocol = 'https:'; return http.request.call(this, params, cb); } -},{"http":293}],298:[function(require,module,exports){ +},{"http":291}],296:[function(require,module,exports){ arguments[4][119][0].apply(exports,arguments) -},{"dup":119}],299:[function(require,module,exports){ +},{"dup":119}],297:[function(require,module,exports){ module.exports = Array.isArray || function (arr) { return Object.prototype.toString.call(arr) == '[object Array]'; }; -},{}],300:[function(require,module,exports){ +},{}],298:[function(require,module,exports){ (function (process){ // Copyright Joyent, Inc. and other Node contributors. // @@ -61588,7 +61521,7 @@ var substr = 'ab'.substr(-1) === 'b' ; }).call(this,require('_process')) -},{"_process":301}],301:[function(require,module,exports){ +},{"_process":299}],299:[function(require,module,exports){ // shim for using process in browser var process = module.exports = {}; @@ -61648,7 +61581,7 @@ process.chdir = function (dir) { }; process.umask = function() { return 0; }; -},{}],302:[function(require,module,exports){ +},{}],300:[function(require,module,exports){ (function (global){ /*! http://mths.be/punycode v1.2.4 by @mathias */ ;(function(root) { @@ -62159,7 +62092,7 @@ process.umask = function() { return 0; }; }(this)); }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],303:[function(require,module,exports){ +},{}],301:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -62245,7 +62178,7 @@ var isArray = Array.isArray || function (xs) { return Object.prototype.toString.call(xs) === '[object Array]'; }; -},{}],304:[function(require,module,exports){ +},{}],302:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -62332,16 +62265,16 @@ var objectKeys = Object.keys || function (obj) { return res; }; -},{}],305:[function(require,module,exports){ +},{}],303:[function(require,module,exports){ 'use strict'; exports.decode = exports.parse = require('./decode'); exports.encode = exports.stringify = require('./encode'); -},{"./decode":303,"./encode":304}],306:[function(require,module,exports){ +},{"./decode":301,"./encode":302}],304:[function(require,module,exports){ module.exports = require("./lib/_stream_duplex.js") -},{"./lib/_stream_duplex.js":307}],307:[function(require,module,exports){ +},{"./lib/_stream_duplex.js":305}],305:[function(require,module,exports){ (function (process){ // Copyright Joyent, Inc. and other Node contributors. // @@ -62434,7 +62367,7 @@ function forEach (xs, f) { } }).call(this,require('_process')) -},{"./_stream_readable":309,"./_stream_writable":311,"_process":301,"core-util-is":312,"inherits":298}],308:[function(require,module,exports){ +},{"./_stream_readable":307,"./_stream_writable":309,"_process":299,"core-util-is":310,"inherits":296}],306:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -62482,7 +62415,7 @@ PassThrough.prototype._transform = function(chunk, encoding, cb) { cb(null, chunk); }; -},{"./_stream_transform":310,"core-util-is":312,"inherits":298}],309:[function(require,module,exports){ +},{"./_stream_transform":308,"core-util-is":310,"inherits":296}],307:[function(require,module,exports){ (function (process){ // Copyright Joyent, Inc. and other Node contributors. // @@ -63437,7 +63370,7 @@ function indexOf (xs, x) { } }).call(this,require('_process')) -},{"./_stream_duplex":307,"_process":301,"buffer":145,"core-util-is":312,"events":292,"inherits":298,"isarray":299,"stream":317,"string_decoder/":318,"util":131}],310:[function(require,module,exports){ +},{"./_stream_duplex":305,"_process":299,"buffer":145,"core-util-is":310,"events":290,"inherits":296,"isarray":297,"stream":315,"string_decoder/":316,"util":131}],308:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -63648,7 +63581,7 @@ function done(stream, er) { return stream.push(null); } -},{"./_stream_duplex":307,"core-util-is":312,"inherits":298}],311:[function(require,module,exports){ +},{"./_stream_duplex":305,"core-util-is":310,"inherits":296}],309:[function(require,module,exports){ (function (process){ // Copyright Joyent, Inc. and other Node contributors. // @@ -64129,7 +64062,7 @@ function endWritable(stream, state, cb) { } }).call(this,require('_process')) -},{"./_stream_duplex":307,"_process":301,"buffer":145,"core-util-is":312,"inherits":298,"stream":317}],312:[function(require,module,exports){ +},{"./_stream_duplex":305,"_process":299,"buffer":145,"core-util-is":310,"inherits":296,"stream":315}],310:[function(require,module,exports){ (function (Buffer){ // Copyright Joyent, Inc. and other Node contributors. // @@ -64239,10 +64172,10 @@ function objectToString(o) { return Object.prototype.toString.call(o); } }).call(this,require("buffer").Buffer) -},{"buffer":145}],313:[function(require,module,exports){ +},{"buffer":145}],311:[function(require,module,exports){ module.exports = require("./lib/_stream_passthrough.js") -},{"./lib/_stream_passthrough.js":308}],314:[function(require,module,exports){ +},{"./lib/_stream_passthrough.js":306}],312:[function(require,module,exports){ exports = module.exports = require('./lib/_stream_readable.js'); exports.Stream = require('stream'); exports.Readable = exports; @@ -64251,13 +64184,13 @@ exports.Duplex = require('./lib/_stream_duplex.js'); exports.Transform = require('./lib/_stream_transform.js'); exports.PassThrough = require('./lib/_stream_passthrough.js'); -},{"./lib/_stream_duplex.js":307,"./lib/_stream_passthrough.js":308,"./lib/_stream_readable.js":309,"./lib/_stream_transform.js":310,"./lib/_stream_writable.js":311,"stream":317}],315:[function(require,module,exports){ +},{"./lib/_stream_duplex.js":305,"./lib/_stream_passthrough.js":306,"./lib/_stream_readable.js":307,"./lib/_stream_transform.js":308,"./lib/_stream_writable.js":309,"stream":315}],313:[function(require,module,exports){ module.exports = require("./lib/_stream_transform.js") -},{"./lib/_stream_transform.js":310}],316:[function(require,module,exports){ +},{"./lib/_stream_transform.js":308}],314:[function(require,module,exports){ module.exports = require("./lib/_stream_writable.js") -},{"./lib/_stream_writable.js":311}],317:[function(require,module,exports){ +},{"./lib/_stream_writable.js":309}],315:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -64386,7 +64319,7 @@ Stream.prototype.pipe = function(dest, options) { return dest; }; -},{"events":292,"inherits":298,"readable-stream/duplex.js":306,"readable-stream/passthrough.js":313,"readable-stream/readable.js":314,"readable-stream/transform.js":315,"readable-stream/writable.js":316}],318:[function(require,module,exports){ +},{"events":290,"inherits":296,"readable-stream/duplex.js":304,"readable-stream/passthrough.js":311,"readable-stream/readable.js":312,"readable-stream/transform.js":313,"readable-stream/writable.js":314}],316:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -64609,7 +64542,7 @@ function base64DetectIncompleteChar(buffer) { this.charLength = this.charReceived ? 3 : 0; } -},{"buffer":145}],319:[function(require,module,exports){ +},{"buffer":145}],317:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -65318,14 +65251,14 @@ function isNullOrUndefined(arg) { return arg == null; } -},{"punycode":302,"querystring":305}],320:[function(require,module,exports){ +},{"punycode":300,"querystring":303}],318:[function(require,module,exports){ module.exports = function isBuffer(arg) { return arg && typeof arg === 'object' && typeof arg.copy === 'function' && typeof arg.fill === 'function' && typeof arg.readUInt8 === 'function'; } -},{}],321:[function(require,module,exports){ +},{}],319:[function(require,module,exports){ (function (process,global){ // Copyright Joyent, Inc. and other Node contributors. // @@ -65915,7 +65848,7 @@ function hasOwnProperty(obj, prop) { } }).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"./support/isBuffer":320,"_process":301,"inherits":298}],322:[function(require,module,exports){ +},{"./support/isBuffer":318,"_process":299,"inherits":296}],320:[function(require,module,exports){ var indexOf = require('indexof'); var Object_keys = function (obj) { @@ -66055,7 +65988,7 @@ exports.createContext = Script.createContext = function (context) { return copy; }; -},{"indexof":323}],323:[function(require,module,exports){ +},{"indexof":321}],321:[function(require,module,exports){ var indexOf = [].indexOf; @@ -66066,7 +65999,7 @@ module.exports = function(arr, obj){ } return -1; }; -},{}],324:[function(require,module,exports){ +},{}],322:[function(require,module,exports){ (function (global){ /** * @license @@ -78421,9 +78354,9 @@ module.exports = function(arr, obj){ }.call(this)); }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],325:[function(require,module,exports){ +},{}],323:[function(require,module,exports){ module.exports = require("./src/preconditions"); -},{"./src/preconditions":328}],326:[function(require,module,exports){ +},{"./src/preconditions":326}],324:[function(require,module,exports){ (function (global){ /** * @license @@ -85213,7 +85146,7 @@ module.exports = require("./src/preconditions"); }.call(this)); }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],327:[function(require,module,exports){ +},{}],325:[function(require,module,exports){ exports.ShouldBeDefined = "Variable should be defined."; exports.ShouldBeUndefined = "Variable should be undefined."; @@ -85257,7 +85190,7 @@ exports.ShouldHaveValidIndex = "Index should be between between 0 (inclusive) an exports.ShouldHaveValidPosition = "Index should be between index between 0 (inclusive) and size (inclusive)."; exports.ShouldHaveValidPositions = "Start and End should be between valid sub range between 0 (inclusive) and size (inclusive)."; exports.StartBeforeEnd = "Start value should be less than the end value."; -},{}],328:[function(require,module,exports){ +},{}],326:[function(require,module,exports){ "use strict"; var validatorFunctions = require("./validatorFunctions"), @@ -85525,7 +85458,7 @@ module.exports = { } }; -},{"./validatorFunctions":329,"lodash":326}],329:[function(require,module,exports){ +},{"./validatorFunctions":327,"lodash":324}],327:[function(require,module,exports){ "use strict"; var constants = require("./constants"), @@ -85757,7 +85690,7 @@ var validatorFunctions = { }; module.exports = validatorFunctions; -},{"./constants":327,"lodash":326}],330:[function(require,module,exports){ +},{"./constants":325,"lodash":324}],328:[function(require,module,exports){ // Copyright 2010-2012 Mikeal Rogers // // Licensed under the Apache License, Version 2.0 (the "License"); @@ -85913,7 +85846,7 @@ Object.defineProperty(request, 'debug', { } }) -},{"./lib/cookies":332,"./lib/helpers":335,"./request":420,"extend":356}],331:[function(require,module,exports){ +},{"./lib/cookies":330,"./lib/helpers":333,"./request":418,"extend":354}],329:[function(require,module,exports){ 'use strict' var caseless = require('caseless') @@ -86068,7 +86001,7 @@ Auth.prototype.onResponse = function (response) { exports.Auth = Auth -},{"./helpers":335,"caseless":353,"node-uuid":405}],332:[function(require,module,exports){ +},{"./helpers":333,"caseless":351,"node-uuid":403}],330:[function(require,module,exports){ 'use strict' var tough = require('tough-cookie') @@ -86109,7 +86042,7 @@ exports.jar = function(store) { return new RequestJar(store) } -},{"tough-cookie":412}],333:[function(require,module,exports){ +},{"tough-cookie":410}],331:[function(require,module,exports){ (function (process){ 'use strict' @@ -86192,7 +86125,7 @@ function getProxyFromURI(uri) { module.exports = getProxyFromURI }).call(this,require('_process')) -},{"_process":301}],334:[function(require,module,exports){ +},{"_process":299}],332:[function(require,module,exports){ 'use strict' var fs = require('fs') @@ -86399,7 +86332,7 @@ Har.prototype.options = function (options) { exports.Har = Har -},{"fs":129,"har-validator":360,"querystring":305,"util":321}],335:[function(require,module,exports){ +},{"fs":129,"har-validator":358,"querystring":303,"util":319}],333:[function(require,module,exports){ (function (process,Buffer){ 'use strict' @@ -86477,7 +86410,7 @@ exports.version = version exports.defer = deferMethod() }).call(this,require('_process'),require("buffer").Buffer) -},{"_process":301,"buffer":145,"crypto":151,"json-stringify-safe":401}],336:[function(require,module,exports){ +},{"_process":299,"buffer":145,"crypto":149,"json-stringify-safe":399}],334:[function(require,module,exports){ (function (Buffer){ 'use strict' @@ -86590,7 +86523,7 @@ Multipart.prototype.onRequest = function (options) { exports.Multipart = Multipart }).call(this,require("buffer").Buffer) -},{"buffer":145,"combined-stream":354,"isstream":400,"node-uuid":405}],337:[function(require,module,exports){ +},{"buffer":145,"combined-stream":352,"isstream":398,"node-uuid":403}],335:[function(require,module,exports){ (function (Buffer){ 'use strict' @@ -86741,7 +86674,7 @@ OAuth.prototype.onRequest = function (_oauth) { exports.OAuth = OAuth }).call(this,require("buffer").Buffer) -},{"buffer":145,"caseless":353,"crypto":151,"node-uuid":405,"oauth-sign":406,"qs":407,"url":319}],338:[function(require,module,exports){ +},{"buffer":145,"caseless":351,"crypto":149,"node-uuid":403,"oauth-sign":404,"qs":405,"url":317}],336:[function(require,module,exports){ 'use strict' var qs = require('qs') @@ -86794,7 +86727,7 @@ Querystring.prototype.unescape = querystring.unescape exports.Querystring = Querystring -},{"qs":407,"querystring":305}],339:[function(require,module,exports){ +},{"qs":405,"querystring":303}],337:[function(require,module,exports){ 'use strict' var url = require('url') @@ -86950,7 +86883,7 @@ Redirect.prototype.onResponse = function (response) { exports.Redirect = Redirect -},{"url":319}],340:[function(require,module,exports){ +},{"url":317}],338:[function(require,module,exports){ 'use strict' var url = require('url') @@ -87135,7 +87068,7 @@ Tunnel.defaultProxyHeaderWhiteList = defaultProxyHeaderWhiteList Tunnel.defaultProxyHeaderExclusiveList = defaultProxyHeaderExclusiveList exports.Tunnel = Tunnel -},{"tunnel-agent":419,"url":319}],341:[function(require,module,exports){ +},{"tunnel-agent":417,"url":317}],339:[function(require,module,exports){ /*! * knox - auth @@ -87339,7 +87272,7 @@ function canonicalizeResource (resource) { } module.exports.canonicalizeResource = canonicalizeResource -},{"crypto":151,"url":319}],342:[function(require,module,exports){ +},{"crypto":149,"url":317}],340:[function(require,module,exports){ (function (Buffer){ var DuplexStream = require('readable-stream/duplex') , util = require('util') @@ -87559,9 +87492,9 @@ BufferList.prototype.destroy = function () { module.exports = BufferList }).call(this,require("buffer").Buffer) -},{"buffer":145,"readable-stream/duplex":343,"util":321}],343:[function(require,module,exports){ -arguments[4][306][0].apply(exports,arguments) -},{"./lib/_stream_duplex.js":344,"dup":306}],344:[function(require,module,exports){ +},{"buffer":145,"readable-stream/duplex":341,"util":319}],341:[function(require,module,exports){ +arguments[4][304][0].apply(exports,arguments) +},{"./lib/_stream_duplex.js":342,"dup":304}],342:[function(require,module,exports){ // a duplex stream is just a stream that is both readable and writable. // Since JS doesn't have multiple prototypal inheritance, this class // prototypally inherits from Readable, and then parasitically from @@ -87645,7 +87578,7 @@ function forEach (xs, f) { } } -},{"./_stream_readable":345,"./_stream_writable":346,"core-util-is":347,"inherits":348,"process-nextick-args":350}],345:[function(require,module,exports){ +},{"./_stream_readable":343,"./_stream_writable":344,"core-util-is":345,"inherits":346,"process-nextick-args":348}],343:[function(require,module,exports){ (function (process){ 'use strict'; @@ -88608,7 +88541,7 @@ function indexOf (xs, x) { } }).call(this,require('_process')) -},{"./_stream_duplex":344,"_process":301,"buffer":145,"core-util-is":347,"events":292,"inherits":348,"isarray":349,"process-nextick-args":350,"string_decoder/":351,"util":131}],346:[function(require,module,exports){ +},{"./_stream_duplex":342,"_process":299,"buffer":145,"core-util-is":345,"events":290,"inherits":346,"isarray":347,"process-nextick-args":348,"string_decoder/":349,"util":131}],344:[function(require,module,exports){ // A bit simpler than readable streams. // Implement an async ._write(chunk, cb), and it'll handle all // the drain event emission and buffering. @@ -89130,13 +89063,13 @@ function endWritable(stream, state, cb) { state.ended = true; } -},{"./_stream_duplex":344,"buffer":145,"core-util-is":347,"events":292,"inherits":348,"process-nextick-args":350,"util-deprecate":352}],347:[function(require,module,exports){ -arguments[4][312][0].apply(exports,arguments) -},{"buffer":145,"dup":312}],348:[function(require,module,exports){ +},{"./_stream_duplex":342,"buffer":145,"core-util-is":345,"events":290,"inherits":346,"process-nextick-args":348,"util-deprecate":350}],345:[function(require,module,exports){ +arguments[4][310][0].apply(exports,arguments) +},{"buffer":145,"dup":310}],346:[function(require,module,exports){ arguments[4][119][0].apply(exports,arguments) -},{"dup":119}],349:[function(require,module,exports){ -arguments[4][299][0].apply(exports,arguments) -},{"dup":299}],350:[function(require,module,exports){ +},{"dup":119}],347:[function(require,module,exports){ +arguments[4][297][0].apply(exports,arguments) +},{"dup":297}],348:[function(require,module,exports){ (function (process){ 'use strict'; module.exports = nextTick; @@ -89153,9 +89086,9 @@ function nextTick(fn) { } }).call(this,require('_process')) -},{"_process":301}],351:[function(require,module,exports){ -arguments[4][318][0].apply(exports,arguments) -},{"buffer":145,"dup":318}],352:[function(require,module,exports){ +},{"_process":299}],349:[function(require,module,exports){ +arguments[4][316][0].apply(exports,arguments) +},{"buffer":145,"dup":316}],350:[function(require,module,exports){ (function (global){ /** @@ -89221,7 +89154,7 @@ function config (name) { } }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],353:[function(require,module,exports){ +},{}],351:[function(require,module,exports){ function Caseless (dict) { this.dict = dict || {} } @@ -89289,7 +89222,7 @@ module.exports.httpify = function (resp, headers) { return c } -},{}],354:[function(require,module,exports){ +},{}],352:[function(require,module,exports){ (function (Buffer){ var util = require('util'); var Stream = require('stream').Stream; @@ -89481,7 +89414,7 @@ CombinedStream.prototype._emitError = function(err) { }; }).call(this,require("buffer").Buffer) -},{"buffer":145,"delayed-stream":355,"stream":317,"util":321}],355:[function(require,module,exports){ +},{"buffer":145,"delayed-stream":353,"stream":315,"util":319}],353:[function(require,module,exports){ var Stream = require('stream').Stream; var util = require('util'); @@ -89590,7 +89523,7 @@ DelayedStream.prototype._checkIfMaxDataSizeExceeded = function() { this.emit('error', new Error(message)); }; -},{"stream":317,"util":321}],356:[function(require,module,exports){ +},{"stream":315,"util":319}],354:[function(require,module,exports){ 'use strict'; var hasOwn = Object.prototype.hasOwnProperty; @@ -89678,7 +89611,7 @@ module.exports = function extend() { }; -},{}],357:[function(require,module,exports){ +},{}],355:[function(require,module,exports){ module.exports = ForeverAgent ForeverAgent.SSL = ForeverAgentSSL @@ -89818,9 +89751,9 @@ function createConnectionSSL (port, host, options) { return tls.connect(options); } -},{"http":293,"https":297,"net":129,"tls":129,"util":321}],358:[function(require,module,exports){ +},{"http":291,"https":295,"net":129,"tls":129,"util":319}],356:[function(require,module,exports){ module.exports = FormData; -},{}],359:[function(require,module,exports){ +},{}],357:[function(require,module,exports){ 'use strict' function ValidationError (errors) { @@ -89832,7 +89765,7 @@ ValidationError.prototype = Error.prototype module.exports = ValidationError -},{}],360:[function(require,module,exports){ +},{}],358:[function(require,module,exports){ 'use strict' var schemas = require('./schemas') @@ -89873,7 +89806,7 @@ Object.keys(schemas).map(function (name) { } }) -},{"./error":359,"./schemas":368,"is-my-json-valid":378}],361:[function(require,module,exports){ +},{"./error":357,"./schemas":366,"is-my-json-valid":376}],359:[function(require,module,exports){ module.exports={ "properties": { "beforeRequest": { @@ -89888,7 +89821,7 @@ module.exports={ } } -},{}],362:[function(require,module,exports){ +},{}],360:[function(require,module,exports){ module.exports={ "oneOf": [{ "type": "object", @@ -89921,7 +89854,7 @@ module.exports={ }] } -},{}],363:[function(require,module,exports){ +},{}],361:[function(require,module,exports){ module.exports={ "type": "object", "required": [ @@ -89950,7 +89883,7 @@ module.exports={ } } -},{}],364:[function(require,module,exports){ +},{}],362:[function(require,module,exports){ module.exports={ "type": "object", "required": [ @@ -89986,7 +89919,7 @@ module.exports={ } } -},{}],365:[function(require,module,exports){ +},{}],363:[function(require,module,exports){ module.exports={ "type": "object", "required": [ @@ -90006,7 +89939,7 @@ module.exports={ } } -},{}],366:[function(require,module,exports){ +},{}],364:[function(require,module,exports){ module.exports={ "type": "object", "optional": true, @@ -90059,7 +89992,7 @@ module.exports={ } } -},{}],367:[function(require,module,exports){ +},{}],365:[function(require,module,exports){ module.exports={ "type": "object", "required": [ @@ -90072,7 +90005,7 @@ module.exports={ } } -},{}],368:[function(require,module,exports){ +},{}],366:[function(require,module,exports){ 'use strict' var schemas = { @@ -90123,7 +90056,7 @@ schemas.har.properties.log = schemas.log module.exports = schemas -},{"./cache.json":361,"./cacheEntry.json":362,"./content.json":363,"./cookie.json":364,"./creator.json":365,"./entry.json":366,"./har.json":367,"./log.json":369,"./page.json":370,"./pageTimings.json":371,"./postData.json":372,"./record.json":373,"./request.json":374,"./response.json":375,"./timings.json":376}],369:[function(require,module,exports){ +},{"./cache.json":359,"./cacheEntry.json":360,"./content.json":361,"./cookie.json":362,"./creator.json":363,"./entry.json":364,"./har.json":365,"./log.json":367,"./page.json":368,"./pageTimings.json":369,"./postData.json":370,"./record.json":371,"./request.json":372,"./response.json":373,"./timings.json":374}],367:[function(require,module,exports){ module.exports={ "type": "object", "required": [ @@ -90159,7 +90092,7 @@ module.exports={ } } -},{}],370:[function(require,module,exports){ +},{}],368:[function(require,module,exports){ module.exports={ "type": "object", "optional": true, @@ -90191,7 +90124,7 @@ module.exports={ } } -},{}],371:[function(require,module,exports){ +},{}],369:[function(require,module,exports){ module.exports={ "type": "object", "properties": { @@ -90209,7 +90142,7 @@ module.exports={ } } -},{}],372:[function(require,module,exports){ +},{}],370:[function(require,module,exports){ module.exports={ "type": "object", "optional": true, @@ -90252,7 +90185,7 @@ module.exports={ } } -},{}],373:[function(require,module,exports){ +},{}],371:[function(require,module,exports){ module.exports={ "type": "object", "required": [ @@ -90272,7 +90205,7 @@ module.exports={ } } -},{}],374:[function(require,module,exports){ +},{}],372:[function(require,module,exports){ module.exports={ "type": "object", "required": [ @@ -90329,7 +90262,7 @@ module.exports={ } } -},{}],375:[function(require,module,exports){ +},{}],373:[function(require,module,exports){ module.exports={ "type": "object", "required": [ @@ -90383,7 +90316,7 @@ module.exports={ } } -},{}],376:[function(require,module,exports){ +},{}],374:[function(require,module,exports){ module.exports={ "required": [ "send", @@ -90425,7 +90358,7 @@ module.exports={ } } -},{}],377:[function(require,module,exports){ +},{}],375:[function(require,module,exports){ exports['date-time'] = /^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-[0-9]{2}[tT ]\d{2}:\d{2}:\d{2}(\.\d+)?([zZ]|[+-]\d{2}:\d{2})$/ exports['date'] = /^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-[0-9]{2}$/ exports['time'] = /^\d{2}:\d{2}:\d{2}$/ @@ -90441,7 +90374,7 @@ exports['style'] = /\s*(.+?):\s*([^;]+);?/g exports['phone'] = /^\+(?:[0-9] ?){6,14}[0-9]$/ exports['utc-millisec'] = /^[0-9]+(\.?[0-9]+)?$/ -},{}],378:[function(require,module,exports){ +},{}],376:[function(require,module,exports){ var genobj = require('generate-object-property') var genfun = require('generate-function') var jsonpointer = require('jsonpointer') @@ -91016,7 +90949,7 @@ module.exports.filter = function(schema, opts) { } } -},{"./formats":377,"generate-function":379,"generate-object-property":380,"jsonpointer":382,"xtend":383}],379:[function(require,module,exports){ +},{"./formats":375,"generate-function":377,"generate-object-property":378,"jsonpointer":380,"xtend":381}],377:[function(require,module,exports){ var util = require('util') var INDENT_START = /[\{\[]/ @@ -91079,7 +91012,7 @@ module.exports = function() { return line } -},{"util":321}],380:[function(require,module,exports){ +},{"util":319}],378:[function(require,module,exports){ var isProperty = require('is-property') var gen = function(obj, prop) { @@ -91093,15 +91026,13 @@ gen.property = function (prop) { module.exports = gen -},{"is-property":381}],381:[function(require,module,exports){ +},{"is-property":379}],379:[function(require,module,exports){ "use strict" function isProperty(str) { return /^[$A-Z\_a-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u08a0\u08a2-\u08ac\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa80-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc][$A-Z\_a-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u08a0\u08a2-\u08ac\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa80-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc0-9\u0300-\u036f\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08e4-\u08fe\u0900-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c01-\u0c03\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c82\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d02\u0d03\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d82\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19b0-\u19c0\u19c8\u19c9\u19d0-\u19d9\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf2-\u1cf4\u1dc0-\u1de6\u1dfc-\u1dff\u200c\u200d\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua880\ua881\ua8b4-\ua8c4\ua8d0-\ua8d9\ua8e0-\ua8f1\ua900-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f]*$/.test(str) } module.exports = isProperty -},{}],382:[function(require,module,exports){ -var console = require("console"); - +},{}],380:[function(require,module,exports){ var untilde = function(str) { return str.replace(/~./g, function(m) { switch (m) { @@ -91110,16 +91041,15 @@ var untilde = function(str) { case "~1": return "/"; } - throw("Invalid tilde escape: " + m); + throw new Error("Invalid tilde escape: " + m); }); } var traverse = function(obj, pointer, value) { // assert(isArray(pointer)) var part = untilde(pointer.shift()); - if(typeof obj[part] === "undefined") { - throw("Value for pointer '" + pointer + "' not found."); - return; + if(!obj.hasOwnProperty(part)) { + return null; } if(pointer.length !== 0) { // keep traversin! return traverse(obj[part], pointer, value); @@ -91141,7 +91071,7 @@ var traverse = function(obj, pointer, value) { var validate_input = function(obj, pointer) { if(typeof obj !== "object") { - throw("Invalid input object."); + throw new Error("Invalid input object."); } if(pointer === "") { @@ -91149,13 +91079,13 @@ var validate_input = function(obj, pointer) { } if(!pointer) { - throw("Invalid JSON pointer."); + throw new Error("Invalid JSON pointer."); } pointer = pointer.split("/"); var first = pointer.shift(); if (first !== "") { - throw("Invalid JSON pointer."); + throw new Error("Invalid JSON pointer."); } return pointer; @@ -91172,7 +91102,7 @@ var get = function(obj, pointer) { var set = function(obj, pointer, value) { pointer = validate_input(obj, pointer); if (pointer.length === 0) { - throw("Invalid JSON pointer for set.") + throw new Error("Invalid JSON pointer for set.") } return traverse(obj, pointer, value); } @@ -91180,7 +91110,7 @@ var set = function(obj, pointer, value) { exports.get = get exports.set = set -},{"console":149}],383:[function(require,module,exports){ +},{}],381:[function(require,module,exports){ module.exports = extend function extend() { @@ -91199,7 +91129,7 @@ function extend() { return target } -},{}],384:[function(require,module,exports){ +},{}],382:[function(require,module,exports){ /* HTTP Hawk Authentication Scheme Copyright (c) 2012-2014, Eran Hammer @@ -91844,7 +91774,7 @@ if (typeof module !== 'undefined' && module.exports) { /* eslint-enable */ // $lab:coverage:on$ -},{}],385:[function(require,module,exports){ +},{}],383:[function(require,module,exports){ // Copyright 2015 Joyent, Inc. var parser = require('./parser'); @@ -91873,7 +91803,7 @@ module.exports = { verifyHMAC: verify.verifyHMAC }; -},{"./parser":386,"./signer":387,"./util":388,"./verify":389}],386:[function(require,module,exports){ +},{"./parser":384,"./signer":385,"./util":386,"./verify":387}],384:[function(require,module,exports){ // Copyright 2012 Joyent, Inc. All rights reserved. var assert = require('assert-plus'); @@ -92179,7 +92109,7 @@ module.exports = { }; -},{"assert-plus":396,"util":321}],387:[function(require,module,exports){ +},{"assert-plus":394,"util":319}],385:[function(require,module,exports){ // Copyright 2012 Joyent, Inc. All rights reserved. var assert = require('assert-plus'); @@ -92359,7 +92289,7 @@ module.exports = { }; -},{"assert-plus":396,"crypto":151,"http":293,"util":321}],388:[function(require,module,exports){ +},{"assert-plus":394,"crypto":149,"http":291,"util":319}],386:[function(require,module,exports){ (function (Buffer){ // Copyright 2012 Joyent, Inc. All rights reserved. @@ -92669,7 +92599,7 @@ module.exports = { }; }).call(this,require("buffer").Buffer) -},{"asn1":395,"assert-plus":396,"buffer":145,"crypto":151,"ctype":399}],389:[function(require,module,exports){ +},{"asn1":393,"assert-plus":394,"buffer":145,"crypto":149,"ctype":397}],387:[function(require,module,exports){ // Copyright 2015 Joyent, Inc. var assert = require('assert-plus'); @@ -92727,7 +92657,7 @@ module.exports = { } }; -},{"assert-plus":396,"crypto":151}],390:[function(require,module,exports){ +},{"assert-plus":394,"crypto":149}],388:[function(require,module,exports){ // Copyright 2011 Mark Cavage All rights reserved. @@ -92742,7 +92672,7 @@ module.exports = { }; -},{}],391:[function(require,module,exports){ +},{}],389:[function(require,module,exports){ // Copyright 2011 Mark Cavage All rights reserved. var errors = require('./errors'); @@ -92771,7 +92701,7 @@ for (var e in errors) { module.exports[e] = errors[e]; } -},{"./errors":390,"./reader":392,"./types":393,"./writer":394}],392:[function(require,module,exports){ +},{"./errors":388,"./reader":390,"./types":391,"./writer":392}],390:[function(require,module,exports){ (function (Buffer){ // Copyright 2011 Mark Cavage All rights reserved. @@ -93042,7 +92972,7 @@ Reader.prototype._readTag = function(tag) { module.exports = Reader; }).call(this,require("buffer").Buffer) -},{"./errors":390,"./types":393,"assert":130,"buffer":145}],393:[function(require,module,exports){ +},{"./errors":388,"./types":391,"assert":130,"buffer":145}],391:[function(require,module,exports){ // Copyright 2011 Mark Cavage All rights reserved. @@ -93080,7 +93010,7 @@ module.exports = { Context: 128 }; -},{}],394:[function(require,module,exports){ +},{}],392:[function(require,module,exports){ (function (Buffer){ // Copyright 2011 Mark Cavage All rights reserved. @@ -93401,7 +93331,7 @@ Writer.prototype._ensure = function(len) { module.exports = Writer; }).call(this,require("buffer").Buffer) -},{"./errors":390,"./types":393,"assert":130,"buffer":145}],395:[function(require,module,exports){ +},{"./errors":388,"./types":391,"assert":130,"buffer":145}],393:[function(require,module,exports){ // Copyright 2011 Mark Cavage All rights reserved. // If you have no idea what ASN.1 or BER is, see this: @@ -93423,7 +93353,7 @@ module.exports = { }; -},{"./ber/index":391}],396:[function(require,module,exports){ +},{"./ber/index":389}],394:[function(require,module,exports){ (function (process,Buffer){ // Copyright (c) 2012, Mark Cavage. All rights reserved. @@ -93672,7 +93602,7 @@ Object.keys(assert).forEach(function (k) { }); }).call(this,require('_process'),require("buffer").Buffer) -},{"_process":301,"assert":130,"buffer":145,"stream":317,"util":321}],397:[function(require,module,exports){ +},{"_process":299,"assert":130,"buffer":145,"stream":315,"util":319}],395:[function(require,module,exports){ /* * ctf.js * @@ -93919,7 +93849,7 @@ function ctfParseJson(json, ctype) exports.ctfParseJson = ctfParseJson; -},{"assert":130}],398:[function(require,module,exports){ +},{"assert":130}],396:[function(require,module,exports){ /* * rm - Feb 2011 * ctio.js: @@ -95406,7 +95336,7 @@ exports.rdouble = rdouble; exports.wfloat = wfloat; exports.wdouble = wdouble; -},{"assert":130}],399:[function(require,module,exports){ +},{"assert":130}],397:[function(require,module,exports){ (function (Buffer){ /* * rm - Feb 2011 @@ -96354,7 +96284,7 @@ exports.wfloat = mod_ctio.wfloat; exports.wdouble = mod_ctio.wdouble; }).call(this,require("buffer").Buffer) -},{"./ctf.js":397,"./ctio.js":398,"assert":130,"buffer":145}],400:[function(require,module,exports){ +},{"./ctf.js":395,"./ctio.js":396,"assert":130,"buffer":145}],398:[function(require,module,exports){ var stream = require('stream') @@ -96383,7 +96313,7 @@ module.exports.isReadable = isReadable module.exports.isWritable = isWritable module.exports.isDuplex = isDuplex -},{"stream":317}],401:[function(require,module,exports){ +},{"stream":315}],399:[function(require,module,exports){ exports = module.exports = stringify exports.getSerialize = serializer @@ -96412,7 +96342,7 @@ function serializer(replacer, cycleReplacer) { } } -},{}],402:[function(require,module,exports){ +},{}],400:[function(require,module,exports){ /*! * mime-types * Copyright(c) 2014 Jonathan Ong @@ -96602,7 +96532,7 @@ function populateMaps(extensions, types) { }) } -},{"mime-db":404,"path":300}],403:[function(require,module,exports){ +},{"mime-db":402,"path":298}],401:[function(require,module,exports){ module.exports={ "application/1d-interleaved-parityfec": { "source": "iana" @@ -97373,6 +97303,9 @@ module.exports={ "source": "iana", "extensions": ["p10"] }, + "application/pkcs12": { + "source": "iana" + }, "application/pkcs7-mime": { "source": "iana", "extensions": ["p7m","p7c"] @@ -97753,9 +97686,15 @@ module.exports={ "application/vividence.scriptfile": { "source": "apache" }, + "application/vnd.3gpp-prose+xml": { + "source": "iana" + }, "application/vnd.3gpp.bsf+xml": { "source": "iana" }, + "application/vnd.3gpp.mid-call+xml": { + "source": "iana" + }, "application/vnd.3gpp.pic-bw-large": { "source": "iana", "extensions": ["plb"] @@ -97771,6 +97710,9 @@ module.exports={ "application/vnd.3gpp.sms": { "source": "iana" }, + "application/vnd.3gpp.state-and-event-info+xml": { + "source": "iana" + }, "application/vnd.3gpp.ussd+xml": { "source": "iana" }, @@ -97868,6 +97810,9 @@ module.exports={ "compressible": false, "extensions": ["apk"] }, + "application/vnd.anki": { + "source": "iana" + }, "application/vnd.anser-web-certificate-issue-initiation": { "source": "iana", "extensions": ["cii"] @@ -98421,6 +98366,9 @@ module.exports={ "application/vnd.fints": { "source": "iana" }, + "application/vnd.firemonkeys.cloudcell": { + "source": "iana" + }, "application/vnd.flographit": { "source": "iana", "extensions": ["gph"] @@ -99633,6 +99581,12 @@ module.exports={ "application/vnd.omaloc-supl-init": { "source": "iana" }, + "application/vnd.openblox.game+xml": { + "source": "iana" + }, + "application/vnd.openblox.game-binary": { + "source": "iana" + }, "application/vnd.openeye.oeb": { "source": "iana" }, @@ -103040,7 +102994,7 @@ module.exports={ } } -},{}],404:[function(require,module,exports){ +},{}],402:[function(require,module,exports){ /*! * mime-db * Copyright(c) 2014 Jonathan Ong @@ -103053,7 +103007,7 @@ module.exports={ module.exports = require('./db.json') -},{"./db.json":403}],405:[function(require,module,exports){ +},{"./db.json":401}],403:[function(require,module,exports){ // uuid.js // // Copyright (c) 2010-2012 Robert Kieffer @@ -103302,7 +103256,7 @@ module.exports = require('./db.json') } }).call(this); -},{}],406:[function(require,module,exports){ +},{}],404:[function(require,module,exports){ var crypto = require('crypto') , qs = require('querystring') ; @@ -103438,7 +103392,7 @@ exports.plaintext = plaintext exports.sign = sign exports.rfc3986 = rfc3986 -},{"crypto":151,"querystring":305}],407:[function(require,module,exports){ +},{"crypto":149,"querystring":303}],405:[function(require,module,exports){ // Load modules var Stringify = require('./stringify'); @@ -103455,7 +103409,7 @@ module.exports = { parse: Parse }; -},{"./parse":408,"./stringify":409}],408:[function(require,module,exports){ +},{"./parse":406,"./stringify":407}],406:[function(require,module,exports){ // Load modules var Utils = require('./utils'); @@ -103643,7 +103597,7 @@ module.exports = function (str, options) { return Utils.compact(obj); }; -},{"./utils":410}],409:[function(require,module,exports){ +},{"./utils":408}],407:[function(require,module,exports){ // Load modules var Utils = require('./utils'); @@ -103766,7 +103720,7 @@ module.exports = function (obj, options) { return keys.join(delimiter); }; -},{"./utils":410}],410:[function(require,module,exports){ +},{"./utils":408}],408:[function(require,module,exports){ // Load modules @@ -103958,7 +103912,7 @@ exports.isBuffer = function (obj) { obj.constructor.isBuffer(obj)); }; -},{}],411:[function(require,module,exports){ +},{}],409:[function(require,module,exports){ (function (Buffer){ var util = require('util') var Stream = require('stream') @@ -104064,7 +104018,7 @@ function alignedWrite(buffer) { } }).call(this,require("buffer").Buffer) -},{"buffer":145,"stream":317,"string_decoder":318,"util":321}],412:[function(require,module,exports){ +},{"buffer":145,"stream":315,"string_decoder":316,"util":319}],410:[function(require,module,exports){ /*! * Copyright (c) 2015, Salesforce.com, Inc. * All rights reserved. @@ -105375,7 +105329,7 @@ module.exports = { canonicalDomain: canonicalDomain }; -},{"../package.json":418,"./memstore":413,"./pathMatch":414,"./permuteDomain":415,"./pubsuffix":416,"./store":417,"net":129,"punycode":302,"url":319}],413:[function(require,module,exports){ +},{"../package.json":416,"./memstore":411,"./pathMatch":412,"./permuteDomain":413,"./pubsuffix":414,"./store":415,"net":129,"punycode":300,"url":317}],411:[function(require,module,exports){ /*! * Copyright (c) 2015, Salesforce.com, Inc. * All rights reserved. @@ -105547,7 +105501,7 @@ MemoryCookieStore.prototype.getAllCookies = function(cb) { cb(null, cookies); }; -},{"./pathMatch":414,"./permuteDomain":415,"./store":417,"util":321}],414:[function(require,module,exports){ +},{"./pathMatch":412,"./permuteDomain":413,"./store":415,"util":319}],412:[function(require,module,exports){ /*! * Copyright (c) 2015, Salesforce.com, Inc. * All rights reserved. @@ -105610,7 +105564,7 @@ function pathMatch (reqPath, cookiePath) { exports.pathMatch = pathMatch; -},{}],415:[function(require,module,exports){ +},{}],413:[function(require,module,exports){ /*! * Copyright (c) 2015, Salesforce.com, Inc. * All rights reserved. @@ -105668,7 +105622,7 @@ function permuteDomain (domain) { exports.permuteDomain = permuteDomain; -},{"./pubsuffix":416}],416:[function(require,module,exports){ +},{"./pubsuffix":414}],414:[function(require,module,exports){ /**************************************************** * AUTOMATICALLY GENERATED by generate-pubsuffix.js * * DO NOT EDIT! * @@ -105768,7 +105722,7 @@ var index = module.exports.index = Object.freeze( // END of automatically generated file -},{"punycode":302}],417:[function(require,module,exports){ +},{"punycode":300}],415:[function(require,module,exports){ /*! * Copyright (c) 2015, Salesforce.com, Inc. * All rights reserved. @@ -105841,7 +105795,7 @@ Store.prototype.getAllCookies = function(cb) { throw new Error('getAllCookies is not implemented (therefore jar cannot be serialized)'); }; -},{}],418:[function(require,module,exports){ +},{}],416:[function(require,module,exports){ module.exports={ "author": { "name": "Jeremy Stashewsky", @@ -105909,7 +105863,7 @@ module.exports={ "readme": "ERROR: No README data found!" } -},{}],419:[function(require,module,exports){ +},{}],417:[function(require,module,exports){ (function (process,Buffer){ 'use strict' @@ -106154,7 +106108,7 @@ if (process.env.NODE_DEBUG && /\btunnel\b/.test(process.env.NODE_DEBUG)) { exports.debug = debug // for test }).call(this,require('_process'),require("buffer").Buffer) -},{"_process":301,"assert":130,"buffer":145,"events":292,"http":293,"https":297,"net":129,"tls":129,"util":321}],420:[function(require,module,exports){ +},{"_process":299,"assert":130,"buffer":145,"events":290,"http":291,"https":295,"net":129,"tls":129,"util":319}],418:[function(require,module,exports){ (function (process,Buffer){ 'use strict' @@ -107582,7 +107536,7 @@ Request.prototype.toJSON = requestToJSON module.exports = Request }).call(this,require('_process'),require("buffer").Buffer) -},{"./lib/auth":331,"./lib/cookies":332,"./lib/getProxyFromURI":333,"./lib/har":334,"./lib/helpers":335,"./lib/multipart":336,"./lib/oauth":337,"./lib/querystring":338,"./lib/redirect":339,"./lib/tunnel":340,"_process":301,"aws-sign2":341,"bl":342,"buffer":145,"caseless":353,"forever-agent":357,"form-data":358,"hawk":384,"http":293,"http-signature":385,"https":297,"mime-types":402,"stream":317,"stringstream":411,"url":319,"util":321,"zlib":144}],421:[function(require,module,exports){ +},{"./lib/auth":329,"./lib/cookies":330,"./lib/getProxyFromURI":331,"./lib/har":332,"./lib/helpers":333,"./lib/multipart":334,"./lib/oauth":335,"./lib/querystring":336,"./lib/redirect":337,"./lib/tunnel":338,"_process":299,"aws-sign2":339,"bl":340,"buffer":145,"caseless":351,"forever-agent":355,"form-data":356,"hawk":382,"http":291,"http-signature":383,"https":295,"mime-types":400,"stream":315,"stringstream":409,"url":317,"util":319,"zlib":144}],419:[function(require,module,exports){ "use strict";function q(a){throw a;}var s=void 0,u=!1;var sjcl={cipher:{},hash:{},keyexchange:{},mode:{},misc:{},codec:{},exception:{corrupt:function(a){this.toString=function(){return"CORRUPT: "+this.message};this.message=a},invalid:function(a){this.toString=function(){return"INVALID: "+this.message};this.message=a},bug:function(a){this.toString=function(){return"BUG: "+this.message};this.message=a},notReady:function(a){this.toString=function(){return"NOT READY: "+this.message};this.message=a}}}; "undefined"!==typeof module&&module.exports&&(module.exports=sjcl);"function"===typeof define&&define([],function(){return sjcl}); sjcl.cipher.aes=function(a){this.k[0][0][0]||this.D();var b,c,d,e,f=this.k[0][4],g=this.k[1];b=a.length;var h=1;4!==b&&(6!==b&&8!==b)&&q(new sjcl.exception.invalid("invalid aes key size"));this.b=[d=a.slice(0),e=[]];for(a=b;a<4*b+28;a++){c=d[a-1];if(0===a%b||8===b&&4===a%b)c=f[c>>>24]<<24^f[c>>16&255]<<16^f[c>>8&255]<<8^f[c&255],0===a%b&&(c=c<<8^c>>>24^h<<24,h=h<<1^283*(h>>7));d[a]=d[a-b]^c}for(b=0;a;b++,a--)c=d[b&3?a:a-4],e[b]=4>=a||4>b?c:g[0][f[c>>>24]]^g[1][f[c>>16&255]]^g[2][f[c>>8&255]]^g[3][f[c& @@ -107638,11 +107592,11 @@ a.replace(/\s/g,"");a.match(/^\{.*\}$/)||q(new sjcl.exception.invalid("json deco d[5]);return b},e:function(a,b,c){a===s&&(a={});if(b===s)return a;for(var d in b)b.hasOwnProperty(d)&&(c&&(a[d]!==s&&a[d]!==b[d])&&q(new sjcl.exception.invalid("required parameter overridden")),a[d]=b[d]);return a},fa:function(a,b){var c={},d;for(d in a)a.hasOwnProperty(d)&&a[d]!==b[d]&&(c[d]=a[d]);return c},ea:function(a,b){var c={},d;for(d=0;d"}},d.prototype._processTxps=function(a){var b=this;if(a){var c=b.credentials.sharedEncryptingKey;f.each([].concat(a),function(a){a.encryptedMessage=a.message,a.message=d._decryptMessage(a.message,c)||null,f.each(a.actions,function(a){a.comment=d._decryptMessage(a.comment,c)}),f.each(a.outputs,function(a){a.encryptedMessage=a.message,a.message=d._decryptMessage(a.message,c)||null}),a.hasUnconfirmedInputs=f.any(a.inputs,function(a){return 0==a.confirmations})})}},d._parseError=function(a){if(f.isString(a))try{a=JSON.parse(a)}catch(b){a={error:a}}var c;return c=a&&a.code?new v(a.code,a.message):{code:"ERROR",error:a?a.error:"There was an unknown error processing the request"},r.error(c),c},d._signRequest=function(a,b,c,d){var e=[a.toLowerCase(),b,JSON.stringify(c)].join("|");return k.signMessage(e,d)},d.prototype.seedFromRandom=function(a){this.credentials=s.create(a)},d.prototype.seedFromRandomWithMnemonic=function(a,b,c){this.credentials=s.createWithMnemonic(a,b,c)},d.prototype.getMnemonic=function(){return this.credentials.getMnemonic()},d.prototype.mnemonicHasPassphrase=function(){return this.credentials.mnemonicHasPassphrase},d.prototype.clearMnemonic=function(){return this.credentials.clearMnemonic()},d.prototype.seedFromExtendedPrivateKey=function(a){this.credentials=s.fromExtendedPrivateKey(a)},d.prototype.seedFromMnemonic=function(a,b,c){this.credentials=s.fromMnemonic(a,b,c)},d.prototype.seedFromExtendedPublicKey=function(a,b,c){g.checkArgument(!arguments[3],"DEPRECATED: seedFromExtendedPublicKey should receive only 3 parameters"),this.credentials=s.fromExtendedPublicKey(a,b,c)},d.prototype["export"]=function(a){g.checkState(this.credentials),a=a||{};var b,c=s.fromObj(this.credentials);return a.noSign&&c.setNoSign(),b=JSON.stringify(c.toObj())},d.prototype["import"]=function(a,b){b=b||{};try{var c=s.fromObj(JSON.parse(a));this.credentials=c}catch(d){throw w.INVALID_BACKUP}},d.prototype._import=function(a){g.checkState(this.credentials);var b=this;b.openWallet(function(c,d){return c?"NOT_AUTHORIZED"!=c.code||b.isPrivKeyExternal()?a(c):(r.info("Copayer not found, trying to add access"),void b.addAccess({},function(c){return c||b.openWallet(a),a(w.WALLET_DOES_NOT_EXIST)})):a(null,d)})},d.prototype.importFromMnemonic=function(a,b,c){r.debug("Importing from 12 Words");try{this.credentials=s.fromMnemonic(a,b.passphrase,b.network)}catch(d){return r.info("Mnemonic error:",d),c(w.INVALID_BACKUP)}this._import(c)},d.prototype.importFromExtendedPrivateKey=function(a,b){r.debug("Importing from Extended Private Key");try{this.credentials=s.fromExtendedPrivateKey(a)}catch(c){return r.info("xPriv error:",c),b(w.INVALID_BACKUP)}this._import(b)},d.prototype.importFromExtendedPublicKey=function(a,b,c,d){g.checkArgument(!arguments[4],"DEPRECATED: seedFromExtendedPublicKey should receive only 3 parameters"),r.debug("Importing from Extended Private Key");try{this.credentials=s.fromExtendedPublicKey(a,b,c)}catch(e){return r.info("xPriv error:",e),d(w.INVALID_BACKUP)}this._import(d)},d.prototype.openWallet=function(a){g.checkState(this.credentials);var b=this;return b.credentials.isComplete()&&b.credentials.hasWalletInfo()?a(null,!0):void b._doGetRequest("/v2/wallets/?includeExtendedInfo=1",function(c,e){if(c)return a(c);var g=e.wallet;if("complete"!=g.status)return a();if(b.credentials.walletPrivKey){if(!t.checkCopayers(b.credentials,g.copayers))return a(w.SERVER_COMPROMISED)}else r.warn("Could not verify copayers key (missing wallet Private Key)");if(b.credentials.addPublicKeyRing(d._extractPublicKeyRing(g.copayers)),!b.credentials.hasWalletInfo()){var h=f.find(g.copayers,{id:b.credentials.copayerId});b.credentials.addWalletInfo(g.id,g.name,g.m,g.n,null,h.name)}return b.emit("walletCompleted",g),b._processTxps(e.pendingTxps),b._processCustomData(e),a(null,e)})},d.prototype._doRequest=function(a,b,c,e){g.checkState(this.credentials);var f,i=c._requestPrivKey||this.credentials.requestPrivKey;i&&(delete c._requestPrivKey,f=d._signRequest(a,b,c,i));var j=this.baseUrl+b,c={relUrl:this.basePath+b,headers:{"x-identity":this.credentials.copayerId,"x-signature":f,"x-client-version":"bwc-"+u.version},method:a,url:j,body:c,json:!0,withCredentials:!1,timeout:this.timeout};r.debug("Request Args",h.inspect(c,{depth:10})),this.request(c,function(a,b,c){return r.debug(h.inspect(c,{depth:10})),b?200!=b.statusCode?e(404==b.statusCode?{code:"NOT_FOUND"}:b.statusCode?d._parseError(c):{code:"CONNECTION_ERROR"}):'{"error":"read ECONNRESET"}'===c?e(JSON.parse(c)):e(null,c,b.header):e({code:"CONNECTION_ERROR"})})},d.prototype._doPostRequest=function(a,b,c){return this._doRequest("post",a,b,c)},d.prototype._doPutRequest=function(a,b,c){return this._doRequest("put",a,b,c)},d.prototype._doGetRequest=function(a,b){return a+=a.indexOf("?")>0?"&":"?",a+="r="+f.random(1e4,99999),this._doRequest("get",a,{},b)},d.prototype._doDeleteRequest=function(a,b){return this._doRequest("delete",a,{},b)},d.prototype._doJoinWallet=function(a,b,c,d,e,h,i){g.shouldBeFunction(i),h=h||{},h.customData=h.customData||{},h.customData.walletPrivKey=b.toString();var j=k.encryptMessage(JSON.stringify(h.customData),this.credentials.personalEncryptingKey),l={walletId:a,name:e,xPubKey:c,requestPubKey:d,customData:j};f.isBoolean(h.supportBIP44AndP2PKH)&&(l.supportBIP44AndP2PKH=h.supportBIP44AndP2PKH);var m=k.getCopayerHash(l.name,l.xPubKey,l.requestPubKey);l.copayerSignature=k.signMessage(m,b);var n="/v2/wallets/"+a+"/copayers";this._doPostRequest(n,l,function(a,b){return a?i(a):i(null,b.wallet)})},d.prototype.isComplete=function(){return this.credentials&&this.credentials.isComplete()},d.prototype.isPrivKeyEncrypted=function(){return this.credentials&&this.credentials.isPrivKeyEncrypted()},d.prototype.hasPrivKeyEncrypted=function(){return this.credentials&&this.credentials.hasPrivKeyEncrypted()},d.prototype.isPrivKeyExternal=function(){return this.credentials&&this.credentials.hasExternalSource()},d.prototype.getPrivKeyExternalSourceName=function(){return this.credentials?this.credentials.getExternalSourceName():null},d.prototype.unlock=function(a){try{this.credentials.unlock(a)}catch(b){throw new Error("Could not unlock:"+b)}},d.prototype.canSign=function(){return this.credentials&&this.credentials.canSign()},d._extractPublicKeyRing=function(a){return f.map(a,function(a){var b=f.pick(a,["xPubKey","requestPubKey"]);return b.copayerName=a.name,b})},d.prototype.setPrivateKeyEncryption=function(a,b){this.credentials.setPrivateKeyEncryption(a,b||d.privateKeyEncryptionOpts)},d.prototype.disablePrivateKeyEncryption=function(a,b){return this.credentials.disablePrivateKeyEncryption()},d.prototype.lock=function(){this.credentials.lock()},d.prototype.getFeeLevels=function(a,b){var c=this;g.checkArgument(a||f.contains(["livenet","testnet"],a)),c._doGetRequest("/v1/feelevels/?network="+(a||"livenet"),function(a,c){return a?b(a):b(a,c)})},d.prototype.createWallet=function(a,b,c,d,e,h){var i=this;e&&g.shouldBeObject(e),e=e||{};var j=e.network||"livenet";if(!f.contains(["testnet","livenet"],j))return h(new Error("Invalid network"));if(i.credentials?r.info("Using existing keys"):(r.info("Generating new keys"),i.seedFromRandom(j)),j!=i.credentials.network)return h(new Error("Existing keys were created for a different network"));var m=e.walletPrivKey||new l.PrivateKey,n={name:a,m:c,n:d,pubKey:new l.PrivateKey(m).toPublicKey().toString(),network:j,id:e.id};i._doPostRequest("/v2/wallets/",n,function(e,f){if(e)return h(e);var g=f.walletId,l=k.toSecret(g,m,j);i.credentials.addWalletInfo(g,a,c,d,m.toString(),b),i._doJoinWallet(g,m,i.credentials.xPubKey,i.credentials.requestPubKey,b,{},function(a,b){return a?h(a):h(null,d>1?l:null)})})},d.prototype.joinWallet=function(a,b,c){var d=this;try{var e=k.fromSecret(a)}catch(f){return c(f)}d.credentials||d.seedFromRandom(e.network),d._doJoinWallet(e.walletId,e.walletPrivKey,d.credentials.xPubKey,d.credentials.requestPubKey,b,{},function(a,f){return a?c(a):(d.credentials.addWalletInfo(f.id,f.name,f.m,f.n,e.walletPrivKey.toString(),b),c(null,f))})},d.prototype.recreateWallet=function(a){g.checkState(this.credentials),g.checkState(this.credentials.isComplete()),g.checkState(this.credentials.walletPrivKey);var b=this;this.getStatus({includeExtendedInfo:!0},function(c){if(!c)return r.info("Wallet is already created"),a();var d=l.PrivateKey.fromString(b.credentials.walletPrivKey),e=b.credentials.walletId,f=b.credentials.derivationStrategy==k.DERIVATION_STRATEGIES.BIP44,g={name:b.credentials.walletName||"recovered wallet",m:b.credentials.m,n:b.credentials.n,pubKey:d.toPublicKey().toString(),network:b.credentials.network,id:e,supportBIP44AndP2PKH:f};b._doPostRequest("/v2/wallets/",g,function(c,g){if(c)return"WALLET_ALREADY_EXISTS"!=c.code?a(c):b.addAccess({},function(c){return c?a(c):void b.openWallet(function(b){return a(b)})});e||(e=g.walletId);var h=1;i.each(b.credentials.publicKeyRing,function(a,c){var g=a.copayerName||"copayer "+h++;b._doJoinWallet(e,d,a.xPubKey,a.requestPubKey,g,{supportBIP44AndP2PKH:f},function(a){return a&&"COPAYER_IN_WALLET"==a.code?c():c(a)})},a)})})},d.prototype._processCustomData=function(a){var b=a.wallet.copayers;if(b){var c=f.find(b,{id:this.credentials.copayerId});if(c&&c.customData){var d;try{d=JSON.parse(k.decryptMessage(c.customData,this.credentials.personalEncryptingKey))}catch(e){r.warn("Could not decrypt customData:",c.customData)}d&&(a.customData=d,!this.credentials.walletPrivKey&&d.walletPrivKey&&this.credentials.addWalletPrivateKey(d.walletPrivKey))}}},d.prototype.getStatus=function(a,b){g.checkState(this.credentials),b||(b=a,a={},r.warn("DEPRECATED WARN: getStatus should receive 2 parameters."));var c=this;a=a||{},c._doGetRequest("/v2/wallets/?includeExtendedInfo="+(a.includeExtendedInfo?"1":"0"),function(a,d){if(a)return b(a);if("pending"==d.wallet.status){var e=c.credentials;d.wallet.secret=k.toSecret(e.walletId,e.walletPrivKey,e.network)}return c._processTxps(d.pendingTxps),c._processCustomData(d),b(a,d)})},d.prototype.getPreferences=function(a){g.checkState(this.credentials&&this.credentials.isComplete()),g.checkArgument(a);var b=this;b._doGetRequest("/v1/preferences/",function(b,c){return b?a(b):a(null,c)})},d.prototype.savePreferences=function(a,b){g.checkState(this.credentials&&this.credentials.isComplete()),g.checkArgument(b);var c=this;c._doPutRequest("/v1/preferences/",a,b)},d.prototype._computeProposalSignature=function(a){var b;if(a.outputs){g.shouldBeArray(a.outputs);var c={outputs:f.map(a.outputs,function(a){return g.shouldBeNumber(a.amount),f.pick(a,["toAddress","amount","message"])}),message:a.message||null,payProUrl:a.payProUrl};b=k.getProposalHash(c)}else g.shouldBeNumber(a.amount),b=k.getProposalHash(a.toAddress,a.amount,a.message||null,a.payProUrl);return k.signMessage(b,this.credentials.requestPrivKey)},d.prototype.fetchPayPro=function(a,b){g.checkArgument(a).checkArgument(a.payProUrl),q.get({url:a.payProUrl,http:this.payProHttp},function(a,c){return a?b(a||"Could not fetch PayPro request"):b(null,c)})},d.prototype.getUtxos=function(a,b){g.checkState(this.credentials&&this.credentials.isComplete()),a=a||{};var c="/v1/utxos/";a.addresses&&(c+="?"+p.stringify({addresses:[].concat(a.addresses).join(",")})),this._doGetRequest(c,b)},d.prototype.sendTxProposal=function(a,b){g.checkState(this.credentials&&this.credentials.isComplete()),g.checkArgument(!a.message||this.credentials.sharedEncryptingKey,"Cannot create transaction with message without shared Encrypting key"),g.checkArgument(a);var c=this,e={toAddress:a.toAddress,amount:a.amount,message:d._encryptMessage(a.message,this.credentials.sharedEncryptingKey)||null,feePerKb:a.feePerKb,payProUrl:a.payProUrl,excludeUnconfirmedUtxos:!!a.excludeUnconfirmedUtxos,type:a.type,outputs:f.cloneDeep(a.outputs),customData:a.customData};e.outputs&&f.each(e.outputs,function(a){a.message=d._encryptMessage(a.message,c.credentials.sharedEncryptingKey)||null}),r.debug("Generating & signing tx proposal:",JSON.stringify(e)),e.proposalSignature=this._computeProposalSignature(e),this._doPostRequest("/v1/txproposals/",e,function(a,c){return a?b(a):b(null,c)})},d.prototype.createAddress=function(a){g.checkState(this.credentials&&this.credentials.isComplete());var b=this;b._doPostRequest("/v1/addresses/",{},function(c,d){return c?a(c):t.checkAddress(b.credentials,d)?a(null,d):a(w.SERVER_COMPROMISED)})},d.prototype.getMainAddresses=function(a,b){g.checkState(this.credentials&&this.credentials.isComplete());var c=this;c._doGetRequest("/v1/addresses/",function(d,e){if(d)return b(d);if(!a.doNotVerify){var g=f.any(e,function(a){return!t.checkAddress(c.credentials,a)});if(g)return b(w.SERVER_COMPROMISED)}return b(null,e)})},d.prototype.getBalance=function(a){g.checkState(this.credentials&&this.credentials.isComplete()),this._doGetRequest("/v1/balance/",a)},d.prototype.getTxProposals=function(a,b){g.checkState(this.credentials&&this.credentials.isComplete());var c=this;c._doGetRequest("/v1/txproposals/",function(d,e){return d?b(d):(c._processTxps(e),void i.every(e,function(b,d){return a.doNotVerify?d(!0):void c.getPayPro(b,function(a,e){var f=t.checkTxProposal(c.credentials,b,{paypro:e});return d(f)})},function(d){if(!d)return b(w.SERVER_COMPROMISED);var f;return f=a.forAirGapped?{txps:JSON.parse(JSON.stringify(e)),encryptedPkr:k.encryptMessage(JSON.stringify(c.credentials.publicKeyRing),c.credentials.personalEncryptingKey),m:c.credentials.m,n:c.credentials.n}:e,b(null,f)}))})},d.prototype.getPayPro=function(a,b){var c=this;return!a.payProUrl||this.doNotVerifyPayPro?b():void q.get({url:a.payProUrl,http:c.payProHttp},function(a,c){return a?b(new Error("Cannot check transaction now:"+a)):b(null,c)})},d.prototype.signTxProposal=function(a,b){g.checkState(this.credentials&&this.credentials.isComplete()),g.checkArgument(a.creatorId);var c=this;return c.canSign()||a.signatures?c.isPrivKeyEncrypted()?b(new Error("Private Key is encrypted, cannot sign")):void c.getPayPro(a,function(d,e){if(d)return b(d);var f=t.checkTxProposal(c.credentials,a,{paypro:e});if(!f)return b(w.SERVER_COMPROMISED);var g=a.signatures||k.signTxp(a,c.credentials.xPrivKey),h="/v1/txproposals/"+a.id+"/signatures/",i={signatures:g};c._doPostRequest(h,i,function(a,d){return a?b(a):(c._processTxps([d]),b(null,d))})}):b(new Error("You do not have the required keys to sign transactions"))},d.prototype.signTxProposalFromAirGapped=function(a,b,c,d){g.checkState(this.credentials);var e=this;if(!e.canSign())throw w.MISSING_PRIVATE_KEY;if(e.isPrivKeyEncrypted())throw w.ENCRYPTED_PRIVATE_KEY;var h;try{h=JSON.parse(k.decryptMessage(b,e.credentials.personalEncryptingKey))}catch(i){throw new Error("Could not decrypt public key ring")}if(!f.isArray(h)||h.length!=d)throw new Error("Invalid public key ring");if(e.credentials.m=c,e.credentials.n=d,e.derivationStrategy=a.derivationStrategy,e.addressType=a.addressType,e.credentials.addPublicKeyRing(h),!t.checkTxProposalBody(e.credentials,a))throw new Error("Fake transaction proposal");return k.signTxp(a,e.credentials.xPrivKey)},d.prototype.rejectTxProposal=function(a,b,c){g.checkState(this.credentials&&this.credentials.isComplete()),g.checkArgument(c);var e=this,f="/v1/txproposals/"+a.id+"/rejections/",h={reason:d._encryptMessage(b,e.credentials.sharedEncryptingKey)||""};e._doPostRequest(f,h,function(a,b){return a?c(a):(e._processTxps([b]),c(null,b))})},d.prototype.broadcastRawTx=function(a,b){g.checkState(this.credentials),g.checkArgument(b);var c=this;a=a||{};var d="/v1/broadcast_raw/";c._doPostRequest(d,a,function(a,c){return a?b(a):b(null,c)})},d.prototype._doBroadcast=function(a,b){var c=this,d="/v1/txproposals/"+a.id+"/broadcast/";c._doPostRequest(d,{},function(a,c){return a?b(a):b(null,c)})},d.prototype.broadcastTxProposal=function(a,b){g.checkState(this.credentials&&this.credentials.isComplete());var c=this;c.getPayPro(a,function(d,e){if(e){var f=k.buildTx(a);c.createAddress(function(d,g){return d?b(d):void q.send({http:c.payProHttp,url:a.payProUrl,amountSat:a.amount,refundAddr:g.address,merchant_data:e.merchant_data,rawTx:f.uncheckedSerialize()},function(d,e,f){return d?b(d):void c._doBroadcast(a,function(a,c){return b(a,c,f)})})})}else c._doBroadcast(a,b)})},d.prototype.removeTxProposal=function(a,b){g.checkState(this.credentials&&this.credentials.isComplete());var c=this,d="/v1/txproposals/"+a.id;c._doDeleteRequest(d,function(a){return b(a)})},d.prototype.getTxHistory=function(a,b){g.checkState(this.credentials&&this.credentials.isComplete());var c=this,d=[];a&&(a.skip&&d.push("skip="+a.skip),a.limit&&d.push("limit="+a.limit));var e="";d.length>0&&(e="?"+d.join("&"));var f="/v1/txhistory/"+e;c._doGetRequest(f,function(a,d){return a?b(a):(c._processTxps(d),b(null,d))})},d.prototype.getTx=function(a,b){g.checkState(this.credentials&&this.credentials.isComplete());var c=this,d="/v1/txproposals/"+a;this._doGetRequest(d,function(a,d){return a?b(a):(c._processTxps([d]),b(null,d))})},d.prototype.startScan=function(a,b){g.checkState(this.credentials&&this.credentials.isComplete());var c=this,d={includeCopayerBranches:a.includeCopayerBranches};c._doPostRequest("/v1/addresses/scan",d,function(a){return b(a)})},d.prototype._oldCopayDecrypt=function(a,b,c){var d,e="@#$",f="%^#@";try{var g=a+e+b;d=m.decrypt(g,c)}catch(h){g=a+f+b;try{d=m.decrypt(g,c)}catch(h){r.debug(h)}}if(!d)return null;var i;try{i=JSON.parse(d)}catch(h){}return i},d.prototype.getWalletIdsFromOldCopay=function(a,b,c){var d=this._oldCopayDecrypt(a,b,c);if(!d)return null;var e=d.walletIds.concat(f.keys(d.focusedTimestamps));return f.uniq(e)},d.prototype.createWalletFromOldCopay=function(a,b,c,d){var e=this._oldCopayDecrypt(a,b,c);return e?e.publicKeyRing.copayersExtPubKeys.length!=e.opts.totalCopayers?d("Wallet is incomplete, cannot be imported"):(this.credentials=s.fromOldCopayWallet(e),void this.recreateWallet(d)):d("Could not decrypt")},d.prototype.addAccess=function(a,b){g.checkState(this.credentials&&this.credentials.canSign());var c=new l.PrivateKey(a.generateNewKey?null:this.credentials.requestPrivKey),d=c.toPublicKey().toString(),e=new l.HDPrivateKey(this.credentials.xPrivKey).derive(k.PATHS.BASE_ADDRESS_DERIVATION[this.credentials.derivationStrategy][this.credentials.network]),f=k.signRequestPubKey(d,e),h=this.credentials.copayerId,a={copayerId:h,requestPubKey:d,signature:f,name:a.name,restrictions:a.restrictions};this._doPutRequest("/v1/copayers/"+h+"/",a,function(a,d){return a?b(a):b(null,d.wallet,c)})},b.exports=d}).call(this,a("_process"))},{"../package.json":472,"./credentials":3,"./errors/clienterror":4,"./errors/errordefinitions":5,"./log":7,"./paypro":8,"./verifier":9,_process:301,async:10,"bitcore-wallet-utils":45,"browser-request":128,events:292,lodash:324,preconditions:325,querystring:305,request:330,sjcl:421,"socket.io-client":422,url:319,util:321}],3:[function(a,b,c){(function(c){"use strict";function d(){this.version="1.0.0",this.derivationStrategy=g.DERIVATION_STRATEGIES.BIP44}var e=a("preconditions").singleton(),f=a("lodash"),g=a("bitcore-wallet-utils"),h=g.Bitcore,i=a("bitcore-mnemonic"),j=a("sjcl"),k=["network","xPrivKey","xPrivKeyEncrypted","xPubKey","requestPrivKey","requestPubKey","copayerId","publicKeyRing","walletId","walletName","m","n","walletPrivKey","personalEncryptingKey","sharedEncryptingKey","copayerName","externalSource","mnemonic","mnemonicEncrypted","entropySource","mnemonicHasPassphrase","derivationStrategy","addressType"];d.create=function(a){var b=new d;return b.network=a,b.xPrivKey=new h.HDPrivateKey(a).toString(),b._expand(),b};var l={en:i.Words.ENGLISH,es:i.Words.SPANISH,ja:i.Words.JAPANESE,zh:i.Words.CHINESE,fr:i.Words.FRENCH};d.createWithMnemonic=function(a,b,c){if(c||(c="en"),!l[c])throw new Error("Unsupported language");var e=new i(l[c]),f=new d;return f.network=a,f.xPrivKey=e.toHDPrivateKey(b,a).toString(),f._expand(),f.mnemonic=e.phrase,f.mnemonicHasPassphrase=!!b,f},d.fromExtendedPrivateKey=function(a){var b=new d;return b.xPrivKey=a,b._expand(),b},d.fromMnemonic=function(a,b,c){var e=new i(a),f=new d;return f.xPrivKey=e.toHDPrivateKey(b,c).toString(),f.mnemonicHasPassphrase=!!b,f._expand(),f},d.fromExtendedPublicKey=function(a,b,f,g){e.checkArgument(f);var i=new c(f,"hex");e.checkArgument(i.length>=14,"At least 112 bits of entropy are needed");var j=new d;return j.xPubKey=a,j.entropySource=h.crypto.Hash.sha256sha256(i).toString("hex"),j.externalSource=b,j._expand(),j},d.prototype._hashFromEntropy=function(a,b){e.checkState(a);var d=new c(this.entropySource,"hex"),f=h.crypto.Hash.sha256hmac(d,new c(a));return f.slice(0,b)},d.prototype._expand=function(){e.checkState(this.xPrivKey||this.xPubKey&&this.entropySource);var a=g.getNetworkFromExtendedKey(this.xPrivKey||this.xPubKey);if(this.network?e.checkState(this.network==a):this.network=a,this.xPrivKey){var b=new h.HDPrivateKey.fromString(this.xPrivKey),c=b.derive(g.PATHS.BASE_ADDRESS_DERIVATION[this.derivationStrategy][this.network]);this.xPubKey=new h.HDPublicKey(c).toString();var d=b.derive(g.PATHS.REQUEST_KEY);this.requestPrivKey=d.privateKey.toString();var f=d.publicKey;this.requestPubKey=f.toString(),this.entropySource=h.crypto.Hash.sha256(d.privateKey.toBuffer()).toString("hex")}else{var i=this._hashFromEntropy("reqPrivKey",32),j=new h.PrivateKey(i.toString("hex"),a);this.requestPrivKey=j.toString(),this.requestPubKey=j.toPublicKey().toString()}this.personalEncryptingKey=this._hashFromEntropy("personalKey",16).toString("base64"),this.copayerId=g.xPubToCopayerId(this.xPubKey),this.publicKeyRing=[{xPubKey:this.xPubKey,requestPubKey:this.requestPubKey}]},d.fromObj=function(a){var b=new d;return f.each(k,function(c){b[c]=a[c]}),b.derivationStrategy=b.derivationStrategy||g.DERIVATION_STRATEGIES.BIP45,e.checkState(b.xPrivKey||b.xPubKey||b.xPrivKeyEncrypted,"invalid input"),b},d.prototype.toObj=function(){var a=this,b={};return f.each(k,function(c){b[c]=a[c]}),b},d.prototype.addWalletPrivateKey=function(a){this.walletPrivKey=a,this.sharedEncryptingKey=g.privateKeyToAESKey(a)},d.prototype.addWalletInfo=function(a,b,c,d,e,f){this.walletId=a,this.walletName=b,this.m=c,this.n=d,e&&this.addWalletPrivateKey(e),f&&(this.copayerName=f),this.addressType=1==d?g.SCRIPT_TYPES.P2PKH:g.SCRIPT_TYPES.P2SH,1==d&&this.addPublicKeyRing([{xPubKey:this.xPubKey,requestPubKey:this.requestPubKey}])},d.prototype.hasWalletInfo=function(){return!!this.walletId},d.prototype.isPrivKeyEncrypted=function(){return!!this.xPrivKeyEncrypted&&!this.xPrivKey},d.prototype.hasPrivKeyEncrypted=function(){return!!this.xPrivKeyEncrypted},d.prototype.setPrivateKeyEncryption=function(a,b){if(this.xPrivKeyEncrypted)throw new Error("Encrypted Privkey Already exists");if(!this.xPrivKey)throw new Error("No private key to encrypt");if(this.xPrivKeyEncrypted=j.encrypt(a,this.xPrivKey,b),!this.xPrivKeyEncrypted)throw new Error("Could not encrypt");this.mnemonic&&(this.mnemonicEncrypted=j.encrypt(a,this.mnemonic,b))},d.prototype.disablePrivateKeyEncryption=function(){if(!this.xPrivKeyEncrypted)throw new Error("Private Key is not encrypted");if(!this.xPrivKey)throw new Error("Wallet is locked, cannot disable encryption");this.xPrivKeyEncrypted=null,this.mnemonicEncrypted=null},d.prototype.lock=function(){if(!this.xPrivKeyEncrypted)throw new Error("Could not lock, no encrypted private key");delete this.xPrivKey,delete this.mnemonic},d.prototype.unlock=function(a){this.xPrivKeyEncrypted&&(this.xPrivKey=j.decrypt(a,this.xPrivKeyEncrypted),this.mnemonicEncrypted&&(this.mnemonic=j.decrypt(a,this.mnemonicEncrypted)))},d.prototype.addPublicKeyRing=function(a){this.publicKeyRing=f.clone(a)},d.prototype.canSign=function(){return!!this.xPrivKey||!!this.xPrivKeyEncrypted},d.prototype.setNoSign=function(){delete this.xPrivKey,delete this.xPrivKeyEncrypted,delete this.mnemonic,delete this.mnemonicEncrypted},d.prototype.isComplete=function(){return this.m&&this.n&&this.publicKeyRing&&this.publicKeyRing.length==this.n?!0:!1},d.prototype.hasExternalSource=function(){return"string"==typeof this.externalSource},d.prototype.getExternalSourceName=function(){return this.externalSource},d.prototype.getMnemonic=function(){if(this.mnemonicEncrypted&&!this.mnemonic)throw new Error("Credentials are encrypted");return this.mnemonic},d.prototype.clearMnemonic=function(){delete this.mnemonic,delete this.mnemonicEncrypted},d.fromOldCopayWallet=function(a){function b(a){var b=a.publicKeyRing.copayersExtPubKeys.sort().join(""),d=new c(b),e=new h.PrivateKey.fromBuffer(h.crypto.Hash.sha256(d));return e.toString()}var e=new d;e.derivationStrategy=g.DERIVATION_STRATEGIES.BIP45,e.xPrivKey=a.privateKey.extendedPrivateKeyString,e._expand(),e.addWalletInfo(a.opts.id,a.opts.name,a.opts.requiredCopayers,a.opts.totalCopayers,b(a));var i=f.map(a.publicKeyRing.copayersExtPubKeys,function(b){var c,d=b===e.xPubKey;if(d){var f=g.PATHS.REQUEST_KEY;c=new h.HDPrivateKey(e.xPrivKey).derive(f).hdPublicKey}else{var f=g.PATHS.REQUEST_KEY_AUTH;c=new h.HDPublicKey(b).derive(f)}var i=new h.HDPublicKey(b).derive("m/2147483646/0/0"),j=i.publicKey.toString("hex"),k=a.publicKeyRing.nicknameFor[j];return d&&(e.copayerName=k),{xPubKey:b,requestPubKey:c.publicKey.toString(),copayerName:k}});return e.addPublicKeyRing(i),e},b.exports=d}).call(this,a("buffer").Buffer)},{"bitcore-mnemonic":11,"bitcore-wallet-utils":45,buffer:145,lodash:324,preconditions:325,sjcl:421}],4:[function(a,b,c){"use strict";function d(a,b){this.code=a,this.message=b}d.prototype.toString=function(){return""},b.exports=d},{}],5:[function(a,b,c){"use strict";var d=a("lodash"),e=a("./clienterror"),f={INVALID_BACKUP:"Invalid Backup",WALLET_DOES_NOT_EXIST:"Wallet does not exist. Need to recreate",MISSING_PRIVATE_KEY:"Missing private keys to sign",ENCRYPTED_PRIVATE_KEY:"Private key is encrypted, cannot sign",SERVER_COMPROMISED:"Server response could not be verified"},g=d.zipObject(d.map(f,function(a,b){return[b,new e(b,a)]}));g.codes=d.mapValues(f,function(a,b){return b}),b.exports=g},{"./clienterror":4,lodash:324}],6:[function(a,b,c){var d=b.exports=a("./api");d.Verifier=a("./verifier"),d.Utils=a("bitcore-wallet-utils"),d.sjcl=a("sjcl"),d.Bitcore=a("bitcore-wallet-utils").Bitcore},{"./api":2,"./verifier":9,"bitcore-wallet-utils":45,sjcl:421}],7:[function(a,b,c){var d=a("lodash"),e=function(a){this.name=a||"log",this.level=2};e.prototype.getLevels=function(){return f};var f={debug:0,info:1,log:2,warn:3,error:4,fatal:5};d.each(f,function(a,b){e.prototype[b]=function(){if(a>=f[this.level]){if(Error.stackTraceLimit&&"debug"==this.level){var c=Error.stackTraceLimit;Error.stackTraceLimit=2;var d;try{anerror()}catch(e){d=e.stack}var g=d.split("\n"),h=g[2];h=":"+h.substr(6),Error.stackTraceLimit=c}var i,j="["+b+(h||"")+"] "+arguments[0],i=[].slice.call(arguments,1);console[b]?(i.unshift(j),console[b].apply(console,i)):(i.length&&(j+=JSON.stringify(i)),console.log(j))}}}),e.prototype.setLevel=function(a){this.level=a};var g=new e("copay");new Error;g.setLevel("info"),b.exports=g},{lodash:324}],8:[function(a,b,c){(function(c,d){var e=a("preconditions").singleton(),f=a("bitcore-wallet-utils"),g=f.Bitcore,h=a("bitcore-payment-protocol"),i={};i._nodeRequest=function(b,c){b.agent=!1;var e=b.httpNode||a("http"===b.proto?"http":"https"),f="POST"==b.method?"post":"get";e[f](b,function(a){if(200!=a.statusCode)return c("HTTP Request Error");var b=[];a.on("data",function(a){b.push(a)}),a.on("end",function(){return b=d.concat(b),c(null,b)})})},i._browserRequest=function(a,b){var c=(a.method||"GET").toUpperCase(),d=a.url,e=a;e.headers=e.headers||{},e.body=e.body||e.data||"";var f=a.xhr||new XMLHttpRequest;f.open(c,d,!0),Object.keys(e.headers).forEach(function(a){var b=e.headers[a];"Content-Length"!==a&&"Content-Transfer-Encoding"!==a&&f.setRequestHeader(a,b)}),f.responseType="arraybuffer",f.onload=function(a){var c=f.response;return b(null,new Uint8Array(c))},f.onerror=function(a){var c;return c=0!==f.status&&f.statusText?f.statusText:"HTTP Request Error",b(c)},e.body?f.send(e.body):f.send(null)};var j=function(a){a.url.match(/^((http[s]?):\/)?\/?([^:\/\s]+)((\/\w+)*\/)([\w\-\.]+[^#?\s]+)(.*)?(#[\w\-]+)?$/);if(a.proto=RegExp.$2,a.host=RegExp.$3,a.path=RegExp.$4+RegExp.$6,a.http)return a.http;var b=a.env;return b||(b=c&&!c.browser?"node":"browser"),"node"==b?i._nodeRequest:http=i._browserRequest};i.get=function(a,b){e.checkArgument(a&&a.url);var c=j(a);a.headers=a.headers||{Accept:h.PAYMENT_REQUEST_CONTENT_TYPE,"Content-Type":"application/octet-stream"},c(a,function(c,e){if(c)return b(c);var f;try{var i=h.PaymentRequest.decode(e);f=(new h).makePaymentRequest(i)}catch(j){return b("Could not parse payment protocol:"+j)}var k=(f.get("signature"),f.get("serialized_payment_details")),l=f.verify(!0),m=h.PaymentDetails.decode(k),n=new h;n=n.makePaymentDetails(m);var o=n.get("outputs");if(o.length>1)return b(new Error("Payment Protocol Error: Requests with more that one output are not supported"));var p=o[0],q=p.get("amount");q=q.low+4294967296*q.high;var r="test"==n.get("network")?"testnet":"livenet",s=p.get("script").offset,t=p.get("script").limit,u=new d(new Uint8Array(p.get("script").buffer)),v=u.slice(s,t),w=new g.Address.fromScript(new g.Script(v),r),x=n.get("merchant_data");return x&&(x=x.toString()),b(null,{verified:l.verified,verifyData:{caName:l.caName,selfSigned:l.selfSigned},expires:n.get("expires"),memo:n.get("memo"),time:n.get("time"),merchant_data:x,toAddress:w.toString(),amount:q,network:r,domain:a.host,url:a.url})})},i._getPayProRefundOutputs=function(a,b){b=b.toString(10);var c=new h.Output,e=new g.Address(a),f=e.toObject().hash,i=new g.Script;return i.add(g.Opcode.OP_HASH160).add(new d(f,"hex")).add(g.Opcode.OP_EQUAL), -c.set("script",i.toBuffer()),c.set("amount",b),[c]},i._createPayment=function(a,b,c,e){var f=new h;f=f.makePayment(),a&&(a=new d(a),f.set("merchant_data",a));var g=new d(b,"hex");f.set("transactions",[g]);var i=this._getPayProRefundOutputs(c,e);i&&f.set("refund_to",i),f=f.serialize();for(var j=new ArrayBuffer(f.length),k=new Uint8Array(j),l=0;l Hash: ",j," Signature: ",b.proposalSignature),g.verifyMessage(j,b.proposalSignature,h)&&d.checkAddress(a,b.changeAddress)?!0:!1},d.checkTxProposal=function(a,b,c){return c=c||{},this.checkTxProposalBody(a,b)&&(!c.paypro||b.toAddress==c.paypro.toAddress&&b.amount==c.paypro.amount)?!0:!1},b.exports=d},{"./log":7,"bitcore-wallet-utils":45,lodash:324,preconditions:325}],10:[function(a,b,c){(function(a){!function(){function c(a){var b=!1;return function(){if(b)throw new Error("Callback was already called.");b=!0,a.apply(d,arguments)}}var d,e,f={};d=this,null!=d&&(e=d.async),f.noConflict=function(){return d.async=e,f};var g=Object.prototype.toString,h=Array.isArray||function(a){return"[object Array]"===g.call(a)},i=function(a,b){for(var c=0;c=a.length&&d())}if(d=d||function(){},!a.length)return d();var f=0;i(a,function(a){b(a,c(e))})},f.forEach=f.each,f.eachSeries=function(a,b,c){if(c=c||function(){},!a.length)return c();var d=0,e=function(){b(a[d],function(b){b?(c(b),c=function(){}):(d+=1,d>=a.length?c():e())})};e()},f.forEachSeries=f.eachSeries,f.eachLimit=function(a,b,c,d){var e=m(b);e.apply(null,[a,c,d])},f.forEachLimit=f.eachLimit;var m=function(a){return function(b,c,d){if(d=d||function(){},!b.length||0>=a)return d();var e=0,f=0,g=0;!function h(){if(e>=b.length)return d();for(;a>g&&f=b.length?d():h())})}()}},n=function(a){return function(){var b=Array.prototype.slice.call(arguments);return a.apply(null,[f.each].concat(b))}},o=function(a,b){return function(){var c=Array.prototype.slice.call(arguments);return b.apply(null,[m(a)].concat(c))}},p=function(a){return function(){var b=Array.prototype.slice.call(arguments);return a.apply(null,[f.eachSeries].concat(b))}},q=function(a,b,c,d){if(b=j(b,function(a,b){return{index:b,value:a}}),d){var e=[];a(b,function(a,b){c(a.value,function(c,d){e[a.index]=d,b(c)})},function(a){d(a,e)})}else a(b,function(a,b){c(a.value,function(a){b(a)})})};f.map=n(q),f.mapSeries=p(q),f.mapLimit=function(a,b,c,d){return r(b)(a,c,d)};var r=function(a){return o(a,q)};f.reduce=function(a,b,c,d){f.eachSeries(a,function(a,d){c(b,a,function(a,c){b=c,d(a)})},function(a){d(a,b)})},f.inject=f.reduce,f.foldl=f.reduce,f.reduceRight=function(a,b,c,d){var e=j(a,function(a){return a}).reverse();f.reduce(e,b,c,d)},f.foldr=f.reduceRight;var s=function(a,b,c,d){var e=[];b=j(b,function(a,b){return{index:b,value:a}}),a(b,function(a,b){c(a.value,function(c){c&&e.push(a),b()})},function(a){d(j(e.sort(function(a,b){return a.index-b.index}),function(a){return a.value}))})};f.filter=n(s),f.filterSeries=p(s),f.select=f.filter,f.selectSeries=f.filterSeries;var t=function(a,b,c,d){var e=[];b=j(b,function(a,b){return{index:b,value:a}}),a(b,function(a,b){c(a.value,function(c){c||e.push(a),b()})},function(a){d(j(e.sort(function(a,b){return a.index-b.index}),function(a){return a.value}))})};f.reject=n(t),f.rejectSeries=p(t);var u=function(a,b,c,d){a(b,function(a,b){c(a,function(c){c?(d(a),d=function(){}):b()})},function(a){d()})};f.detect=n(u),f.detectSeries=p(u),f.some=function(a,b,c){f.each(a,function(a,d){b(a,function(a){a&&(c(!0),c=function(){}),d()})},function(a){c(!1)})},f.any=f.some,f.every=function(a,b,c){f.each(a,function(a,d){b(a,function(a){a||(c(!1),c=function(){}),d()})},function(a){c(!0)})},f.all=f.every,f.sortBy=function(a,b,c){f.map(a,function(a,c){b(a,function(b,d){b?c(b):c(null,{value:a,criteria:d})})},function(a,b){if(a)return c(a);var d=function(a,b){var c=a.criteria,d=b.criteria;return d>c?-1:c>d?1:0};c(null,j(b.sort(d),function(a){return a.value}))})},f.auto=function(a,b){b=b||function(){};var c=l(a),d=c.length;if(!d)return b();var e={},g=[],j=function(a){g.unshift(a)},m=function(a){for(var b=0;bd;){var f=d+(e-d+1>>>1);c(b,a[f])>=0?d=f:e=f-1}return d}function e(a,b,e,g){return a.started||(a.started=!0),h(b)||(b=[b]),0==b.length?f.setImmediate(function(){a.drain&&a.drain()}):void i(b,function(b){var h={data:b,priority:e,callback:"function"==typeof g?g:null};a.tasks.splice(d(a.tasks,h,c)+1,0,h),a.saturated&&a.tasks.length===a.concurrency&&a.saturated(),f.setImmediate(a.process)})}var g=f.queue(a,b);return g.push=function(a,b,c){e(g,a,b,c)},delete g.unshift,g},f.cargo=function(a,b){var c=!1,d=[],e={tasks:d,payload:b,saturated:null,empty:null,drain:null,drained:!0,push:function(a,c){h(a)||(a=[a]),i(a,function(a){d.push({data:a,callback:"function"==typeof c?c:null}),e.drained=!1,e.saturated&&d.length===b&&e.saturated()}),f.setImmediate(e.process)},process:function g(){if(!c){if(0===d.length)return e.drain&&!e.drained&&e.drain(),void(e.drained=!0);var f="number"==typeof b?d.splice(0,b):d.splice(0,d.length),h=j(f,function(a){return a.data});e.empty&&e.empty(),c=!0,a(h,function(){c=!1;var a=arguments;i(f,function(b){b.callback&&b.callback.apply(null,a)}),g()})}},length:function(){return d.length},running:function(){return c}};return e};var x=function(a){return function(b){var c=Array.prototype.slice.call(arguments,1);b.apply(null,c.concat([function(b){var c=Array.prototype.slice.call(arguments,1);"undefined"!=typeof console&&(b?console.error&&console.error(b):console[a]&&i(c,function(b){console[a](b)}))}]))}};f.log=x("log"),f.dir=x("dir"),f.memoize=function(a,b){var c={},d={};b=b||function(a){return a};var e=function(){var e=Array.prototype.slice.call(arguments),g=e.pop(),h=b.apply(null,e);h in c?f.nextTick(function(){g.apply(null,c[h])}):h in d?d[h].push(g):(d[h]=[g],a.apply(null,e.concat([function(){c[h]=arguments;var a=d[h];delete d[h];for(var b=0,e=a.length;e>b;b++)a[b].apply(null,arguments)}])))};return e.memo=c,e.unmemoized=a,e},f.unmemoize=function(a){return function(){return(a.unmemoized||a).apply(null,arguments)}},f.times=function(a,b,c){for(var d=[],e=0;a>e;e++)d.push(e);return f.map(d,b,c)},f.timesSeries=function(a,b,c){for(var d=[],e=0;a>e;e++)d.push(e);return f.mapSeries(d,b,c)},f.seq=function(){var a=arguments;return function(){var b=this,c=Array.prototype.slice.call(arguments),d=c.pop();f.reduce(a,c,function(a,c,d){c.apply(b,a.concat([function(){var a=arguments[0],b=Array.prototype.slice.call(arguments,1);d(a,b)}]))},function(a,c){d.apply(b,[a].concat(c))})}},f.compose=function(){return f.seq.apply(null,Array.prototype.reverse.call(arguments))};var y=function(a,b){var c=function(){var c=this,d=Array.prototype.slice.call(arguments),e=d.pop();return a(b,function(a,b){a.apply(c,d.concat([b]))},e)};if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);return c.apply(this,d)}return c};f.applyEach=n(y),f.applyEachSeries=p(y),f.forever=function(a,b){function c(d){if(d){if(b)return b(d);throw d}a(c)}c()},"undefined"!=typeof b&&b.exports?b.exports=f:"undefined"!=typeof define&&define.amd?define([],function(){return f}):d.async=f}()}).call(this,a("_process"))},{_process:301}],11:[function(a,b,c){b.exports=a("./lib/mnemonic")},{"./lib/mnemonic":13}],12:[function(a,b,c){"use strict";var d={name:"Mnemonic",message:"Internal Error on bitcore-mnemonic module {0}",errors:[{name:"InvalidEntropy",message:"Entropy length must be an even multiple of 11 bits: {0}"},{name:"UnknownWordlist",message:"Could not detect the used word list: {0}"},{name:"InvalidMnemonic",message:"Mnemonic string is invalid: {0}"}]};b.exports=a("bitcore").errors.extend(d)},{bitcore:51}],13:[function(a,b,c){(function(c){"use strict";var d=a("bitcore"),e=d.crypto.BN,f=a("unorm"),g=d.deps._,h=a("./pbkdf2"),i=a("./errors"),j=d.crypto.Hash,k=d.crypto.Random,l=d.util.preconditions,m=function(a,b){if(!(this instanceof m))return new m(a,b);g.isArray(a)&&(b=a,a=null);var e,h,j;if(c.isBuffer(a))j=a;else if(g.isString(a))h=f.nfkd(a);else if(g.isNumber(a))e=a;else if(a)throw new d.errors.InvalidArgument("data","Must be a Buffer, a string or an integer");if(e=e||128,b=b||m._getDictionary(h),h&&!b)throw new i.UnknownWordlist(h);if(b=b||m.Words.ENGLISH,j&&(h=m._entropy2mnemonic(j,b)),h&&!m.isValid(h,b))throw new i.InvalidMnemonic(h);if(e%32!==0||128>e)throw new d.errors.InvalidArgument("ENT","Values must be ENT > 128 and ENT % 32 == 0");h=h||m._mnemonic(e,b),Object.defineProperty(this,"wordlist",{configurable:!1,value:b}),Object.defineProperty(this,"phrase",{configurable:!1,value:h})};m.Words=a("./words"),m.isValid=function(a,b){if(a=f.nfkd(a),b=b||m._getDictionary(a),!b)return!1;for(var d=a.split(" "),e="",g=0;gh)return!1;e+=("00000000000"+h.toString(2)).slice(-11)}var i=e.length/33,j=e.slice(-i),k=e.slice(0,e.length-i),l=new c(k.length/8);for(g=0;ge)return!1}return!0},m._getDictionary=function(a){if(!a)return null;for(var b=Object.keys(m.Words),c=0;c"},m._mnemonic=function(a,b){var c=k.getRandomBuffer(a/8);return m._entropy2mnemonic(c,b)},m._entropy2mnemonic=function(a,b){for(var c="",d=0;d(Math.pow(2,32)-1)*g)throw Error("Requested key length too long");if("string"!=typeof a&&!c.isBuffer(a))throw new TypeError("key must a string or Buffer");if("string"!=typeof b&&!c.isBuffer(b))throw new TypeError("salt must a string or Buffer");"string"==typeof b&&(b=new c(b));var h=new c(f),i=new c(g),j=new c(g),k=new c(b.length+4),l=Math.ceil(f/g),m=f-(l-1)*g;b.copy(k,0,0,b.length);for(var n=1;l>=n;n++){k[b.length+0]=n>>24&255,k[b.length+1]=n>>16&255,k[b.length+2]=n>>8&255,k[b.length+3]=n>>0&255,i=e.createHmac("sha512",a).update(k).digest(),i.copy(j,0,0,g);for(var o=1;d>o;o++){i=e.createHmac("sha512",a).update(i).digest();for(var p=0;g>p;p++)j[p]^=i[p]}var q=(n-1)*g,r=n===l?m:g;j.copy(h,q,0,r)}return h}var e=a("crypto");b.exports=d}).call(this,a("buffer").Buffer)},{buffer:145,crypto:151}],15:[function(a,b,c){"use strict";var d=["的","一","是","在","不","了","有","和","人","这","中","大","为","上","个","国","我","以","要","他","时","来","用","们","生","到","作","地","于","出","就","分","对","成","会","可","主","发","年","动","同","工","也","能","下","过","子","说","产","种","面","而","方","后","多","定","行","学","法","所","民","得","经","十","三","之","进","着","等","部","度","家","电","力","里","如","水","化","高","自","二","理","起","小","物","现","实","加","量","都","两","体","制","机","当","使","点","从","业","本","去","把","性","好","应","开","它","合","还","因","由","其","些","然","前","外","天","政","四","日","那","社","义","事","平","形","相","全","表","间","样","与","关","各","重","新","线","内","数","正","心","反","你","明","看","原","又","么","利","比","或","但","质","气","第","向","道","命","此","变","条","只","没","结","解","问","意","建","月","公","无","系","军","很","情","者","最","立","代","想","已","通","并","提","直","题","党","程","展","五","果","料","象","员","革","位","入","常","文","总","次","品","式","活","设","及","管","特","件","长","求","老","头","基","资","边","流","路","级","少","图","山","统","接","知","较","将","组","见","计","别","她","手","角","期","根","论","运","农","指","几","九","区","强","放","决","西","被","干","做","必","战","先","回","则","任","取","据","处","队","南","给","色","光","门","即","保","治","北","造","百","规","热","领","七","海","口","东","导","器","压","志","世","金","增","争","济","阶","油","思","术","极","交","受","联","什","认","六","共","权","收","证","改","清","美","再","采","转","更","单","风","切","打","白","教","速","花","带","安","场","身","车","例","真","务","具","万","每","目","至","达","走","积","示","议","声","报","斗","完","类","八","离","华","名","确","才","科","张","信","马","节","话","米","整","空","元","况","今","集","温","传","土","许","步","群","广","石","记","需","段","研","界","拉","林","律","叫","且","究","观","越","织","装","影","算","低","持","音","众","书","布","复","容","儿","须","际","商","非","验","连","断","深","难","近","矿","千","周","委","素","技","备","半","办","青","省","列","习","响","约","支","般","史","感","劳","便","团","往","酸","历","市","克","何","除","消","构","府","称","太","准","精","值","号","率","族","维","划","选","标","写","存","候","毛","亲","快","效","斯","院","查","江","型","眼","王","按","格","养","易","置","派","层","片","始","却","专","状","育","厂","京","识","适","属","圆","包","火","住","调","满","县","局","照","参","红","细","引","听","该","铁","价","严","首","底","液","官","德","随","病","苏","失","尔","死","讲","配","女","黄","推","显","谈","罪","神","艺","呢","席","含","企","望","密","批","营","项","防","举","球","英","氧","势","告","李","台","落","木","帮","轮","破","亚","师","围","注","远","字","材","排","供","河","态","封","另","施","减","树","溶","怎","止","案","言","士","均","武","固","叶","鱼","波","视","仅","费","紧","爱","左","章","早","朝","害","续","轻","服","试","食","充","兵","源","判","护","司","足","某","练","差","致","板","田","降","黑","犯","负","击","范","继","兴","似","余","坚","曲","输","修","故","城","夫","够","送","笔","船","占","右","财","吃","富","春","职","觉","汉","画","功","巴","跟","虽","杂","飞","检","吸","助","升","阳","互","初","创","抗","考","投","坏","策","古","径","换","未","跑","留","钢","曾","端","责","站","简","述","钱","副","尽","帝","射","草","冲","承","独","令","限","阿","宣","环","双","请","超","微","让","控","州","良","轴","找","否","纪","益","依","优","顶","础","载","倒","房","突","坐","粉","敌","略","客","袁","冷","胜","绝","析","块","剂","测","丝","协","诉","念","陈","仍","罗","盐","友","洋","错","苦","夜","刑","移","频","逐","靠","混","母","短","皮","终","聚","汽","村","云","哪","既","距","卫","停","烈","央","察","烧","迅","境","若","印","洲","刻","括","激","孔","搞","甚","室","待","核","校","散","侵","吧","甲","游","久","菜","味","旧","模","湖","货","损","预","阻","毫","普","稳","乙","妈","植","息","扩","银","语","挥","酒","守","拿","序","纸","医","缺","雨","吗","针","刘","啊","急","唱","误","训","愿","审","附","获","茶","鲜","粮","斤","孩","脱","硫","肥","善","龙","演","父","渐","血","欢","械","掌","歌","沙","刚","攻","谓","盾","讨","晚","粒","乱","燃","矛","乎","杀","药","宁","鲁","贵","钟","煤","读","班","伯","香","介","迫","句","丰","培","握","兰","担","弦","蛋","沉","假","穿","执","答","乐","谁","顺","烟","缩","征","脸","喜","松","脚","困","异","免","背","星","福","买","染","井","概","慢","怕","磁","倍","祖","皇","促","静","补","评","翻","肉","践","尼","衣","宽","扬","棉","希","伤","操","垂","秋","宜","氢","套","督","振","架","亮","末","宪","庆","编","牛","触","映","雷","销","诗","座","居","抓","裂","胞","呼","娘","景","威","绿","晶","厚","盟","衡","鸡","孙","延","危","胶","屋","乡","临","陆","顾","掉","呀","灯","岁","措","束","耐","剧","玉","赵","跳","哥","季","课","凯","胡","额","款","绍","卷","齐","伟","蒸","殖","永","宗","苗","川","炉","岩","弱","零","杨","奏","沿","露","杆","探","滑","镇","饭","浓","航","怀","赶","库","夺","伊","灵","税","途","灭","赛","归","召","鼓","播","盘","裁","险","康","唯","录","菌","纯","借","糖","盖","横","符","私","努","堂","域","枪","润","幅","哈","竟","熟","虫","泽","脑","壤","碳","欧","遍","侧","寨","敢","彻","虑","斜","薄","庭","纳","弹","饲","伸","折","麦","湿","暗","荷","瓦","塞","床","筑","恶","户","访","塔","奇","透","梁","刀","旋","迹","卡","氯","遇","份","毒","泥","退","洗","摆","灰","彩","卖","耗","夏","择","忙","铜","献","硬","予","繁","圈","雪","函","亦","抽","篇","阵","阴","丁","尺","追","堆","雄","迎","泛","爸","楼","避","谋","吨","野","猪","旗","累","偏","典","馆","索","秦","脂","潮","爷","豆","忽","托","惊","塑","遗","愈","朱","替","纤","粗","倾","尚","痛","楚","谢","奋","购","磨","君","池","旁","碎","骨","监","捕","弟","暴","割","贯","殊","释","词","亡","壁","顿","宝","午","尘","闻","揭","炮","残","冬","桥","妇","警","综","招","吴","付","浮","遭","徐","您","摇","谷","赞","箱","隔","订","男","吹","园","纷","唐","败","宋","玻","巨","耕","坦","荣","闭","湾","键","凡","驻","锅","救","恩","剥","凝","碱","齿","截","炼","麻","纺","禁","废","盛","版","缓","净","睛","昌","婚","涉","筒","嘴","插","岸","朗","庄","街","藏","姑","贸","腐","奴","啦","惯","乘","伙","恢","匀","纱","扎","辩","耳","彪","臣","亿","璃","抵","脉","秀","萨","俄","网","舞","店","喷","纵","寸","汗","挂","洪","贺","闪","柬","爆","烯","津","稻","墙","软","勇","像","滚","厘","蒙","芳","肯","坡","柱","荡","腿","仪","旅","尾","轧","冰","贡","登","黎","削","钻","勒","逃","障","氨","郭","峰","币","港","伏","轨","亩","毕","擦","莫","刺","浪","秘","援","株","健","售","股","岛","甘","泡","睡","童","铸","汤","阀","休","汇","舍","牧","绕","炸","哲","磷","绩","朋","淡","尖","启","陷","柴","呈","徒","颜","泪","稍","忘","泵","蓝","拖","洞","授","镜","辛","壮","锋","贫","虚","弯","摩","泰","幼","廷","尊","窗","纲","弄","隶","疑","氏","宫","姐","震","瑞","怪","尤","琴","循","描","膜","违","夹","腰","缘","珠","穷","森","枝","竹","沟","催","绳","忆","邦","剩","幸","浆","栏","拥","牙","贮","礼","滤","钠","纹","罢","拍","咱","喊","袖","埃","勤","罚","焦","潜","伍","墨","欲","缝","姓","刊","饱","仿","奖","铝","鬼","丽","跨","默","挖","链","扫","喝","袋","炭","污","幕","诸","弧","励","梅","奶","洁","灾","舟","鉴","苯","讼","抱","毁","懂","寒","智","埔","寄","届","跃","渡","挑","丹","艰","贝","碰","拔","爹","戴","码","梦","芽","熔","赤","渔","哭","敬","颗","奔","铅","仲","虎","稀","妹","乏","珍","申","桌","遵","允","隆","螺","仓","魏","锐","晓","氮","兼","隐","碍","赫","拨","忠","肃","缸","牵","抢","博","巧","壳","兄","杜","讯","诚","碧","祥","柯","页","巡","矩","悲","灌","龄","伦","票","寻","桂","铺","圣","恐","恰","郑","趣","抬","荒","腾","贴","柔","滴","猛","阔","辆","妻","填","撤","储","签","闹","扰","紫","砂","递","戏","吊","陶","伐","喂","疗","瓶","婆","抚","臂","摸","忍","虾","蜡","邻","胸","巩","挤","偶","弃","槽","劲","乳","邓","吉","仁","烂","砖","租","乌","舰","伴","瓜","浅","丙","暂","燥","橡","柳","迷","暖","牌","秧","胆","详","簧","踏","瓷","谱","呆","宾","糊","洛","辉","愤","竞","隙","怒","粘","乃","绪","肩","籍","敏","涂","熙","皆","侦","悬","掘","享","纠","醒","狂","锁","淀","恨","牲","霸","爬","赏","逆","玩","陵","祝","秒","浙","貌","役","彼","悉","鸭","趋","凤","晨","畜","辈","秩","卵","署","梯","炎","滩","棋","驱","筛","峡","冒","啥","寿","译","浸","泉","帽","迟","硅","疆","贷","漏","稿","冠","嫩","胁","芯","牢","叛","蚀","奥","鸣","岭","羊","凭","串","塘","绘","酵","融","盆","锡","庙","筹","冻","辅","摄","袭","筋","拒","僚","旱","钾","鸟","漆","沈","眉","疏","添","棒","穗","硝","韩","逼","扭","侨","凉","挺","碗","栽","炒","杯","患","馏","劝","豪","辽","勃","鸿","旦","吏","拜","狗","埋","辊","掩","饮","搬","骂","辞","勾","扣","估","蒋","绒","雾","丈","朵","姆","拟","宇","辑","陕","雕","偿","蓄","崇","剪","倡","厅","咬","驶","薯","刷","斥","番","赋","奉","佛","浇","漫","曼","扇","钙","桃","扶","仔","返","俗","亏","腔","鞋","棱","覆","框","悄","叔","撞","骗","勘","旺","沸","孤","吐","孟","渠","屈","疾","妙","惜","仰","狠","胀","谐","抛","霉","桑","岗","嘛","衰","盗","渗","脏","赖","涌","甜","曹","阅","肌","哩","厉","烃","纬","毅","昨","伪","症","煮","叹","钉","搭","茎","笼","酷","偷","弓","锥","恒","杰","坑","鼻","翼","纶","叙","狱","逮","罐","络","棚","抑","膨","蔬","寺","骤","穆","冶","枯","册","尸","凸","绅","坯","牺","焰","轰","欣","晋","瘦","御","锭","锦","丧","旬","锻","垄","搜","扑","邀","亭","酯","迈","舒","脆","酶","闲","忧","酚","顽","羽","涨","卸","仗","陪","辟","惩","杭","姚","肚","捉","飘","漂","昆","欺","吾","郎","烷","汁","呵","饰","萧","雅","邮","迁","燕","撒","姻","赴","宴","烦","债","帐","斑","铃","旨","醇","董","饼","雏","姿","拌","傅","腹","妥","揉","贤","拆","歪","葡","胺","丢","浩","徽","昂","垫","挡","览","贪","慰","缴","汪","慌","冯","诺","姜","谊","凶","劣","诬","耀","昏","躺","盈","骑","乔","溪","丛","卢","抹","闷","咨","刮","驾","缆","悟","摘","铒","掷","颇","幻","柄","惠","惨","佳","仇","腊","窝","涤","剑","瞧","堡","泼","葱","罩","霍","捞","胎","苍","滨","俩","捅","湘","砍","霞","邵","萄","疯","淮","遂","熊","粪","烘","宿","档","戈","驳","嫂","裕","徙","箭","捐","肠","撑","晒","辨","殿","莲","摊","搅","酱","屏","疫","哀","蔡","堵","沫","皱","畅","叠","阁","莱","敲","辖","钩","痕","坝","巷","饿","祸","丘","玄","溜","曰","逻","彭","尝","卿","妨","艇","吞","韦","怨","矮","歇"];b.exports=d},{}],16:[function(a,b,c){"use strict";var d=["abandon","ability","able","about","above","absent","absorb","abstract","absurd","abuse","access","accident","account","accuse","achieve","acid","acoustic","acquire","across","act","action","actor","actress","actual","adapt","add","addict","address","adjust","admit","adult","advance","advice","aerobic","affair","afford","afraid","again","age","agent","agree","ahead","aim","air","airport","aisle","alarm","album","alcohol","alert","alien","all","alley","allow","almost","alone","alpha","already","also","alter","always","amateur","amazing","among","amount","amused","analyst","anchor","ancient","anger","angle","angry","animal","ankle","announce","annual","another","answer","antenna","antique","anxiety","any","apart","apology","appear","apple","approve","april","arch","arctic","area","arena","argue","arm","armed","armor","army","around","arrange","arrest","arrive","arrow","art","artefact","artist","artwork","ask","aspect","assault","asset","assist","assume","asthma","athlete","atom","attack","attend","attitude","attract","auction","audit","august","aunt","author","auto","autumn","average","avocado","avoid","awake","aware","away","awesome","awful","awkward","axis","baby","bachelor","bacon","badge","bag","balance","balcony","ball","bamboo","banana","banner","bar","barely","bargain","barrel","base","basic","basket","battle","beach","bean","beauty","because","become","beef","before","begin","behave","behind","believe","below","belt","bench","benefit","best","betray","better","between","beyond","bicycle","bid","bike","bind","biology","bird","birth","bitter","black","blade","blame","blanket","blast","bleak","bless","blind","blood","blossom","blouse","blue","blur","blush","board","boat","body","boil","bomb","bone","bonus","book","boost","border","boring","borrow","boss","bottom","bounce","box","boy","bracket","brain","brand","brass","brave","bread","breeze","brick","bridge","brief","bright","bring","brisk","broccoli","broken","bronze","broom","brother","brown","brush","bubble","buddy","budget","buffalo","build","bulb","bulk","bullet","bundle","bunker","burden","burger","burst","bus","business","busy","butter","buyer","buzz","cabbage","cabin","cable","cactus","cage","cake","call","calm","camera","camp","can","canal","cancel","candy","cannon","canoe","canvas","canyon","capable","capital","captain","car","carbon","card","cargo","carpet","carry","cart","case","cash","casino","castle","casual","cat","catalog","catch","category","cattle","caught","cause","caution","cave","ceiling","celery","cement","census","century","cereal","certain","chair","chalk","champion","change","chaos","chapter","charge","chase","chat","cheap","check","cheese","chef","cherry","chest","chicken","chief","child","chimney","choice","choose","chronic","chuckle","chunk","churn","cigar","cinnamon","circle","citizen","city","civil","claim","clap","clarify","claw","clay","clean","clerk","clever","click","client","cliff","climb","clinic","clip","clock","clog","close","cloth","cloud","clown","club","clump","cluster","clutch","coach","coast","coconut","code","coffee","coil","coin","collect","color","column","combine","come","comfort","comic","common","company","concert","conduct","confirm","congress","connect","consider","control","convince","cook","cool","copper","copy","coral","core","corn","correct","cost","cotton","couch","country","couple","course","cousin","cover","coyote","crack","cradle","craft","cram","crane","crash","crater","crawl","crazy","cream","credit","creek","crew","cricket","crime","crisp","critic","crop","cross","crouch","crowd","crucial","cruel","cruise","crumble","crunch","crush","cry","crystal","cube","culture","cup","cupboard","curious","current","curtain","curve","cushion","custom","cute","cycle","dad","damage","damp","dance","danger","daring","dash","daughter","dawn","day","deal","debate","debris","decade","december","decide","decline","decorate","decrease","deer","defense","define","defy","degree","delay","deliver","demand","demise","denial","dentist","deny","depart","depend","deposit","depth","deputy","derive","describe","desert","design","desk","despair","destroy","detail","detect","develop","device","devote","diagram","dial","diamond","diary","dice","diesel","diet","differ","digital","dignity","dilemma","dinner","dinosaur","direct","dirt","disagree","discover","disease","dish","dismiss","disorder","display","distance","divert","divide","divorce","dizzy","doctor","document","dog","doll","dolphin","domain","donate","donkey","donor","door","dose","double","dove","draft","dragon","drama","drastic","draw","dream","dress","drift","drill","drink","drip","drive","drop","drum","dry","duck","dumb","dune","during","dust","dutch","duty","dwarf","dynamic","eager","eagle","early","earn","earth","easily","east","easy","echo","ecology","economy","edge","edit","educate","effort","egg","eight","either","elbow","elder","electric","elegant","element","elephant","elevator","elite","else","embark","embody","embrace","emerge","emotion","employ","empower","empty","enable","enact","end","endless","endorse","enemy","energy","enforce","engage","engine","enhance","enjoy","enlist","enough","enrich","enroll","ensure","enter","entire","entry","envelope","episode","equal","equip","era","erase","erode","erosion","error","erupt","escape","essay","essence","estate","eternal","ethics","evidence","evil","evoke","evolve","exact","example","excess","exchange","excite","exclude","excuse","execute","exercise","exhaust","exhibit","exile","exist","exit","exotic","expand","expect","expire","explain","expose","express","extend","extra","eye","eyebrow","fabric","face","faculty","fade","faint","faith","fall","false","fame","family","famous","fan","fancy","fantasy","farm","fashion","fat","fatal","father","fatigue","fault","favorite","feature","february","federal","fee","feed","feel","female","fence","festival","fetch","fever","few","fiber","fiction","field","figure","file","film","filter","final","find","fine","finger","finish","fire","firm","first","fiscal","fish","fit","fitness","fix","flag","flame","flash","flat","flavor","flee","flight","flip","float","flock","floor","flower","fluid","flush","fly","foam","focus","fog","foil","fold","follow","food","foot","force","forest","forget","fork","fortune","forum","forward","fossil","foster","found","fox","fragile","frame","frequent","fresh","friend","fringe","frog","front","frost","frown","frozen","fruit","fuel","fun","funny","furnace","fury","future","gadget","gain","galaxy","gallery","game","gap","garage","garbage","garden","garlic","garment","gas","gasp","gate","gather","gauge","gaze","general","genius","genre","gentle","genuine","gesture","ghost","giant","gift","giggle","ginger","giraffe","girl","give","glad","glance","glare","glass","glide","glimpse","globe","gloom","glory","glove","glow","glue","goat","goddess","gold","good","goose","gorilla","gospel","gossip","govern","gown","grab","grace","grain","grant","grape","grass","gravity","great","green","grid","grief","grit","grocery","group","grow","grunt","guard","guess","guide","guilt","guitar","gun","gym","habit","hair","half","hammer","hamster","hand","happy","harbor","hard","harsh","harvest","hat","have","hawk","hazard","head","health","heart","heavy","hedgehog","height","hello","helmet","help","hen","hero","hidden","high","hill","hint","hip","hire","history","hobby","hockey","hold","hole","holiday","hollow","home","honey","hood","hope","horn","horror","horse","hospital","host","hotel","hour","hover","hub","huge","human","humble","humor","hundred","hungry","hunt","hurdle","hurry","hurt","husband","hybrid","ice","icon","idea","identify","idle","ignore","ill","illegal","illness","image","imitate","immense","immune","impact","impose","improve","impulse","inch","include","income","increase","index","indicate","indoor","industry","infant","inflict","inform","inhale","inherit","initial","inject","injury","inmate","inner","innocent","input","inquiry","insane","insect","inside","inspire","install","intact","interest","into","invest","invite","involve","iron","island","isolate","issue","item","ivory","jacket","jaguar","jar","jazz","jealous","jeans","jelly","jewel","job","join","joke","journey","joy","judge","juice","jump","jungle","junior","junk","just","kangaroo","keen","keep","ketchup","key","kick","kid","kidney","kind","kingdom","kiss","kit","kitchen","kite","kitten","kiwi","knee","knife","knock","know","lab","label","labor","ladder","lady","lake","lamp","language","laptop","large","later","latin","laugh","laundry","lava","law","lawn","lawsuit","layer","lazy","leader","leaf","learn","leave","lecture","left","leg","legal","legend","leisure","lemon","lend","length","lens","leopard","lesson","letter","level","liar","liberty","library","license","life","lift","light","like","limb","limit","link","lion","liquid","list","little","live","lizard","load","loan","lobster","local","lock","logic","lonely","long","loop","lottery","loud","lounge","love","loyal","lucky","luggage","lumber","lunar","lunch","luxury","lyrics","machine","mad","magic","magnet","maid","mail","main","major","make","mammal","man","manage","mandate","mango","mansion","manual","maple","marble","march","margin","marine","market","marriage","mask","mass","master","match","material","math","matrix","matter","maximum","maze","meadow","mean","measure","meat","mechanic","medal","media","melody","melt","member","memory","mention","menu","mercy","merge","merit","merry","mesh","message","metal","method","middle","midnight","milk","million","mimic","mind","minimum","minor","minute","miracle","mirror","misery","miss","mistake","mix","mixed","mixture","mobile","model","modify","mom","moment","monitor","monkey","monster","month","moon","moral","more","morning","mosquito","mother","motion","motor","mountain","mouse","move","movie","much","muffin","mule","multiply","muscle","museum","mushroom","music","must","mutual","myself","mystery","myth","naive","name","napkin","narrow","nasty","nation","nature","near","neck","need","negative","neglect","neither","nephew","nerve","nest","net","network","neutral","never","news","next","nice","night","noble","noise","nominee","noodle","normal","north","nose","notable","note","nothing","notice","novel","now","nuclear","number","nurse","nut","oak","obey","object","oblige","obscure","observe","obtain","obvious","occur","ocean","october","odor","off","offer","office","often","oil","okay","old","olive","olympic","omit","once","one","onion","online","only","open","opera","opinion","oppose","option","orange","orbit","orchard","order","ordinary","organ","orient","original","orphan","ostrich","other","outdoor","outer","output","outside","oval","oven","over","own","owner","oxygen","oyster","ozone","pact","paddle","page","pair","palace","palm","panda","panel","panic","panther","paper","parade","parent","park","parrot","party","pass","patch","path","patient","patrol","pattern","pause","pave","payment","peace","peanut","pear","peasant","pelican","pen","penalty","pencil","people","pepper","perfect","permit","person","pet","phone","photo","phrase","physical","piano","picnic","picture","piece","pig","pigeon","pill","pilot","pink","pioneer","pipe","pistol","pitch","pizza","place","planet","plastic","plate","play","please","pledge","pluck","plug","plunge","poem","poet","point","polar","pole","police","pond","pony","pool","popular","portion","position","possible","post","potato","pottery","poverty","powder","power","practice","praise","predict","prefer","prepare","present","pretty","prevent","price","pride","primary","print","priority","prison","private","prize","problem","process","produce","profit","program","project","promote","proof","property","prosper","protect","proud","provide","public","pudding","pull","pulp","pulse","pumpkin","punch","pupil","puppy","purchase","purity","purpose","purse","push","put","puzzle","pyramid","quality","quantum","quarter","question","quick","quit","quiz","quote","rabbit","raccoon","race","rack","radar","radio","rail","rain","raise","rally","ramp","ranch","random","range","rapid","rare","rate","rather","raven","raw","razor","ready","real","reason","rebel","rebuild","recall","receive","recipe","record","recycle","reduce","reflect","reform","refuse","region","regret","regular","reject","relax","release","relief","rely","remain","remember","remind","remove","render","renew","rent","reopen","repair","repeat","replace","report","require","rescue","resemble","resist","resource","response","result","retire","retreat","return","reunion","reveal","review","reward","rhythm","rib","ribbon","rice","rich","ride","ridge","rifle","right","rigid","ring","riot","ripple","risk","ritual","rival","river","road","roast","robot","robust","rocket","romance","roof","rookie","room","rose","rotate","rough","round","route","royal","rubber","rude","rug","rule","run","runway","rural","sad","saddle","sadness","safe","sail","salad","salmon","salon","salt","salute","same","sample","sand","satisfy","satoshi","sauce","sausage","save","say","scale","scan","scare","scatter","scene","scheme","school","science","scissors","scorpion","scout","scrap","screen","script","scrub","sea","search","season","seat","second","secret","section","security","seed","seek","segment","select","sell","seminar","senior","sense","sentence","series","service","session","settle","setup","seven","shadow","shaft","shallow","share","shed","shell","sheriff","shield","shift","shine","ship","shiver","shock","shoe","shoot","shop","short","shoulder","shove","shrimp","shrug","shuffle","shy","sibling","sick","side","siege","sight","sign","silent","silk","silly","silver","similar","simple","since","sing","siren","sister","situate","six","size","skate","sketch","ski","skill","skin","skirt","skull","slab","slam","sleep","slender","slice","slide","slight","slim","slogan","slot","slow","slush","small","smart","smile","smoke","smooth","snack","snake","snap","sniff","snow","soap","soccer","social","sock","soda","soft","solar","soldier","solid","solution","solve","someone","song","soon","sorry","sort","soul","sound","soup","source","south","space","spare","spatial","spawn","speak","special","speed","spell","spend","sphere","spice","spider","spike","spin","spirit","split","spoil","sponsor","spoon","sport","spot","spray","spread","spring","spy","square","squeeze","squirrel","stable","stadium","staff","stage","stairs","stamp","stand","start","state","stay","steak","steel","stem","step","stereo","stick","still","sting","stock","stomach","stone","stool","story","stove","strategy","street","strike","strong","struggle","student","stuff","stumble","style","subject","submit","subway","success","such","sudden","suffer","sugar","suggest","suit","summer","sun","sunny","sunset","super","supply","supreme","sure","surface","surge","surprise","surround","survey","suspect","sustain","swallow","swamp","swap","swarm","swear","sweet","swift","swim","swing","switch","sword","symbol","symptom","syrup","system","table","tackle","tag","tail","talent","talk","tank","tape","target","task","taste","tattoo","taxi","teach","team","tell","ten","tenant","tennis","tent","term","test","text","thank","that","theme","then","theory","there","they","thing","this","thought","three","thrive","throw","thumb","thunder","ticket","tide","tiger","tilt","timber","time","tiny","tip","tired","tissue","title","toast","tobacco","today","toddler","toe","together","toilet","token","tomato","tomorrow","tone","tongue","tonight","tool","tooth","top","topic","topple","torch","tornado","tortoise","toss","total","tourist","toward","tower","town","toy","track","trade","traffic","tragic","train","transfer","trap","trash","travel","tray","treat","tree","trend","trial","tribe","trick","trigger","trim","trip","trophy","trouble","truck","true","truly","trumpet","trust","truth","try","tube","tuition","tumble","tuna","tunnel","turkey","turn","turtle","twelve","twenty","twice","twin","twist","two","type","typical","ugly","umbrella","unable","unaware","uncle","uncover","under","undo","unfair","unfold","unhappy","uniform","unique","unit","universe","unknown","unlock","until","unusual","unveil","update","upgrade","uphold","upon","upper","upset","urban","urge","usage","use","used","useful","useless","usual","utility","vacant","vacuum","vague","valid","valley","valve","van","vanish","vapor","various","vast","vault","vehicle","velvet","vendor","venture","venue","verb","verify","version","very","vessel","veteran","viable","vibrant","vicious","victory","video","view","village","vintage","violin","virtual","virus","visa","visit","visual","vital","vivid","vocal","voice","void","volcano","volume","vote","voyage","wage","wagon","wait","walk","wall","walnut","want","warfare","warm","warrior","wash","wasp","waste","water","wave","way","wealth","weapon","wear","weasel","weather","web","wedding","weekend","weird","welcome","west","wet","whale","what","wheat","wheel","when","where","whip","whisper","wide","width","wife","wild","will","win","window","wine","wing","wink","winner","winter","wire","wisdom","wise","wish","witness","wolf","woman","wonder","wood","wool","word","work","world","worry","worth","wrap","wreck","wrestle","wrist","write","wrong","yard","year","yellow","you","young","youth","zebra","zero","zone","zoo"]; +!function b(a,c,d){function e(g,h){if(!c[g]){if(!a[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};a[g][0].call(k.exports,function(b){var c=a[g][1][b];return e(c?c:b)},k,k.exports,b,a,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g"}},d.prototype._processTxps=function(a){var b=this;if(a){var c=b.credentials.sharedEncryptingKey;f.each([].concat(a),function(a){a.encryptedMessage=a.message,a.message=d._decryptMessage(a.message,c)||null,f.each(a.actions,function(a){a.comment=d._decryptMessage(a.comment,c)}),f.each(a.outputs,function(a){a.encryptedMessage=a.message,a.message=d._decryptMessage(a.message,c)||null}),a.hasUnconfirmedInputs=f.any(a.inputs,function(a){return 0==a.confirmations})})}},d._parseError=function(a){if(f.isString(a))try{a=JSON.parse(a)}catch(b){a={error:a}}var c;return c=a&&a.code?new v(a.code,a.message):{code:"ERROR",error:a?a.error:"There was an unknown error processing the request"},r.error(c),c},d._signRequest=function(a,b,c,d){var e=[a.toLowerCase(),b,JSON.stringify(c)].join("|");return k.signMessage(e,d)},d.prototype.seedFromRandom=function(a){this.credentials=s.create(a)},d.prototype.seedFromRandomWithMnemonic=function(a,b,c){this.credentials=s.createWithMnemonic(a,b,c)},d.prototype.getMnemonic=function(){return this.credentials.getMnemonic()},d.prototype.mnemonicHasPassphrase=function(){return this.credentials.mnemonicHasPassphrase},d.prototype.clearMnemonic=function(){return this.credentials.clearMnemonic()},d.prototype.seedFromExtendedPrivateKey=function(a){this.credentials=s.fromExtendedPrivateKey(a)},d.prototype.seedFromMnemonic=function(a,b,c){this.credentials=s.fromMnemonic(a,b,c)},d.prototype.seedFromExtendedPublicKey=function(a,b,c){g.checkArgument(!arguments[3],"DEPRECATED: seedFromExtendedPublicKey should receive only 3 parameters"),this.credentials=s.fromExtendedPublicKey(a,b,c)},d.prototype["export"]=function(a){g.checkState(this.credentials),a=a||{};var b,c=s.fromObj(this.credentials);return a.noSign&&c.setNoSign(),b=JSON.stringify(c.toObj())},d.prototype["import"]=function(a,b){b=b||{};try{var c=s.fromObj(JSON.parse(a));this.credentials=c}catch(d){throw w.INVALID_BACKUP}},d.prototype._import=function(a){g.checkState(this.credentials);var b=this;b.openWallet(function(c,d){return c?"NOT_AUTHORIZED"!=c.code||b.isPrivKeyExternal()?a(c):(r.info("Copayer not found, trying to add access"),void b.addAccess({},function(c){return c||b.openWallet(a),a(w.WALLET_DOES_NOT_EXIST)})):a(null,d)})},d.prototype.importFromMnemonic=function(a,b,c){r.debug("Importing from 12 Words");try{this.credentials=s.fromMnemonic(a,b.passphrase,b.network)}catch(d){return r.info("Mnemonic error:",d),c(w.INVALID_BACKUP)}this._import(c)},d.prototype.importFromExtendedPrivateKey=function(a,b){r.debug("Importing from Extended Private Key");try{this.credentials=s.fromExtendedPrivateKey(a)}catch(c){return r.info("xPriv error:",c),b(w.INVALID_BACKUP)}this._import(b)},d.prototype.importFromExtendedPublicKey=function(a,b,c,d){g.checkArgument(!arguments[4],"DEPRECATED: seedFromExtendedPublicKey should receive only 3 parameters"),r.debug("Importing from Extended Private Key");try{this.credentials=s.fromExtendedPublicKey(a,b,c)}catch(e){return r.info("xPriv error:",e),d(w.INVALID_BACKUP)}this._import(d)},d.prototype.openWallet=function(a){g.checkState(this.credentials);var b=this;return b.credentials.isComplete()&&b.credentials.hasWalletInfo()?a(null,!0):void b._doGetRequest("/v2/wallets/?includeExtendedInfo=1",function(c,e){if(c)return a(c);var g=e.wallet;if("complete"!=g.status)return a();if(b.credentials.walletPrivKey){if(!t.checkCopayers(b.credentials,g.copayers))return a(w.SERVER_COMPROMISED)}else r.warn("Could not verify copayers key (missing wallet Private Key)");if(b.credentials.addPublicKeyRing(d._extractPublicKeyRing(g.copayers)),!b.credentials.hasWalletInfo()){var h=f.find(g.copayers,{id:b.credentials.copayerId});b.credentials.addWalletInfo(g.id,g.name,g.m,g.n,null,h.name)}return b.emit("walletCompleted",g),b._processTxps(e.pendingTxps),b._processCustomData(e),a(null,e)})},d.prototype._doRequest=function(a,b,c,e){g.checkState(this.credentials);var f,i=c._requestPrivKey||this.credentials.requestPrivKey;i&&(delete c._requestPrivKey,f=d._signRequest(a,b,c,i));var j=this.baseUrl+b,c={relUrl:this.basePath+b,headers:{"x-identity":this.credentials.copayerId,"x-signature":f,"x-client-version":"bwc-"+u.version},method:a,url:j,body:c,json:!0,withCredentials:!1,timeout:this.timeout};r.debug("Request Args",h.inspect(c,{depth:10})),this.request(c,function(a,b,c){return r.debug(h.inspect(c,{depth:10})),b?200!=b.statusCode?e(404==b.statusCode?{code:"NOT_FOUND"}:b.statusCode?d._parseError(c):{code:"CONNECTION_ERROR"}):'{"error":"read ECONNRESET"}'===c?e(JSON.parse(c)):e(null,c,b.header):e({code:"CONNECTION_ERROR"})})},d.prototype._doPostRequest=function(a,b,c){return this._doRequest("post",a,b,c)},d.prototype._doPutRequest=function(a,b,c){return this._doRequest("put",a,b,c)},d.prototype._doGetRequest=function(a,b){return a+=a.indexOf("?")>0?"&":"?",a+="r="+f.random(1e4,99999),this._doRequest("get",a,{},b)},d.prototype._doDeleteRequest=function(a,b){return this._doRequest("delete",a,{},b)},d.prototype._doJoinWallet=function(a,b,c,d,e,h,i){g.shouldBeFunction(i),h=h||{},h.customData=h.customData||{},h.customData.walletPrivKey=b.toString();var j=k.encryptMessage(JSON.stringify(h.customData),this.credentials.personalEncryptingKey),l={walletId:a,name:e,xPubKey:c,requestPubKey:d,customData:j};f.isBoolean(h.supportBIP44AndP2PKH)&&(l.supportBIP44AndP2PKH=h.supportBIP44AndP2PKH);var m=k.getCopayerHash(l.name,l.xPubKey,l.requestPubKey);l.copayerSignature=k.signMessage(m,b);var n="/v2/wallets/"+a+"/copayers";this._doPostRequest(n,l,function(a,b){return a?i(a):i(null,b.wallet)})},d.prototype.isComplete=function(){return this.credentials&&this.credentials.isComplete()},d.prototype.isPrivKeyEncrypted=function(){return this.credentials&&this.credentials.isPrivKeyEncrypted()},d.prototype.hasPrivKeyEncrypted=function(){return this.credentials&&this.credentials.hasPrivKeyEncrypted()},d.prototype.isPrivKeyExternal=function(){return this.credentials&&this.credentials.hasExternalSource()},d.prototype.getPrivKeyExternalSourceName=function(){return this.credentials?this.credentials.getExternalSourceName():null},d.prototype.unlock=function(a){try{this.credentials.unlock(a)}catch(b){throw new Error("Could not unlock:"+b)}},d.prototype.canSign=function(){return this.credentials&&this.credentials.canSign()},d._extractPublicKeyRing=function(a){return f.map(a,function(a){var b=f.pick(a,["xPubKey","requestPubKey"]);return b.copayerName=a.name,b})},d.prototype.setPrivateKeyEncryption=function(a,b){this.credentials.setPrivateKeyEncryption(a,b||d.privateKeyEncryptionOpts)},d.prototype.disablePrivateKeyEncryption=function(a,b){return this.credentials.disablePrivateKeyEncryption()},d.prototype.lock=function(){this.credentials.lock()},d.prototype.getFeeLevels=function(a,b){var c=this;g.checkArgument(a||f.contains(["livenet","testnet"],a)),c._doGetRequest("/v1/feelevels/?network="+(a||"livenet"),function(a,c){return a?b(a):b(a,c)})},d.prototype.createWallet=function(a,b,c,d,e,h){var i=this;e&&g.shouldBeObject(e),e=e||{};var j=e.network||"livenet";if(!f.contains(["testnet","livenet"],j))return h(new Error("Invalid network"));if(i.credentials?r.info("Using existing keys"):(r.info("Generating new keys"),i.seedFromRandom(j)),j!=i.credentials.network)return h(new Error("Existing keys were created for a different network"));var m=e.walletPrivKey||new l.PrivateKey,n={name:a,m:c,n:d,pubKey:new l.PrivateKey(m).toPublicKey().toString(),network:j,id:e.id};i._doPostRequest("/v2/wallets/",n,function(e,f){if(e)return h(e);var g=f.walletId,l=k.toSecret(g,m,j);i.credentials.addWalletInfo(g,a,c,d,m.toString(),b),i._doJoinWallet(g,m,i.credentials.xPubKey,i.credentials.requestPubKey,b,{},function(a,b){return a?h(a):h(null,d>1?l:null)})})},d.prototype.joinWallet=function(a,b,c){var d=this;try{var e=k.fromSecret(a)}catch(f){return c(f)}d.credentials||d.seedFromRandom(e.network),d._doJoinWallet(e.walletId,e.walletPrivKey,d.credentials.xPubKey,d.credentials.requestPubKey,b,{},function(a,f){return a?c(a):(d.credentials.addWalletInfo(f.id,f.name,f.m,f.n,e.walletPrivKey.toString(),b),c(null,f))})},d.prototype.recreateWallet=function(a){g.checkState(this.credentials),g.checkState(this.credentials.isComplete()),g.checkState(this.credentials.walletPrivKey);var b=this;this.getStatus({includeExtendedInfo:!0},function(c){if(!c)return r.info("Wallet is already created"),a();var d=l.PrivateKey.fromString(b.credentials.walletPrivKey),e=b.credentials.walletId,f=b.credentials.derivationStrategy==k.DERIVATION_STRATEGIES.BIP44,g={name:b.credentials.walletName||"recovered wallet",m:b.credentials.m,n:b.credentials.n,pubKey:d.toPublicKey().toString(),network:b.credentials.network,id:e,supportBIP44AndP2PKH:f};b._doPostRequest("/v2/wallets/",g,function(c,g){if(c)return"WALLET_ALREADY_EXISTS"!=c.code?a(c):b.addAccess({},function(c){return c?a(c):void b.openWallet(function(b){return a(b)})});e||(e=g.walletId);var h=1;i.each(b.credentials.publicKeyRing,function(a,c){var g=a.copayerName||"copayer "+h++;b._doJoinWallet(e,d,a.xPubKey,a.requestPubKey,g,{supportBIP44AndP2PKH:f},function(a){return a&&"COPAYER_IN_WALLET"==a.code?c():c(a)})},a)})})},d.prototype._processCustomData=function(a){var b=a.wallet.copayers;if(b){var c=f.find(b,{id:this.credentials.copayerId});if(c&&c.customData){var d;try{d=JSON.parse(k.decryptMessage(c.customData,this.credentials.personalEncryptingKey))}catch(e){r.warn("Could not decrypt customData:",c.customData)}d&&(a.customData=d,!this.credentials.walletPrivKey&&d.walletPrivKey&&this.credentials.addWalletPrivateKey(d.walletPrivKey))}}},d.prototype.getStatus=function(a,b){g.checkState(this.credentials),b||(b=a,a={},r.warn("DEPRECATED WARN: getStatus should receive 2 parameters."));var c=this;a=a||{},c._doGetRequest("/v2/wallets/?includeExtendedInfo="+(a.includeExtendedInfo?"1":"0"),function(a,d){if(a)return b(a);if("pending"==d.wallet.status){var e=c.credentials;d.wallet.secret=k.toSecret(e.walletId,e.walletPrivKey,e.network)}return c._processTxps(d.pendingTxps),c._processCustomData(d),b(a,d)})},d.prototype.getPreferences=function(a){g.checkState(this.credentials&&this.credentials.isComplete()),g.checkArgument(a);var b=this;b._doGetRequest("/v1/preferences/",function(b,c){return b?a(b):a(null,c)})},d.prototype.savePreferences=function(a,b){g.checkState(this.credentials&&this.credentials.isComplete()),g.checkArgument(b);var c=this;c._doPutRequest("/v1/preferences/",a,b)},d.prototype._computeProposalSignature=function(a){var b;if(a.outputs){g.shouldBeArray(a.outputs);var c={outputs:f.map(a.outputs,function(a){return g.shouldBeNumber(a.amount),f.pick(a,["toAddress","amount","message"])}),message:a.message||null,payProUrl:a.payProUrl};b=k.getProposalHash(c)}else g.shouldBeNumber(a.amount),b=k.getProposalHash(a.toAddress,a.amount,a.message||null,a.payProUrl);return k.signMessage(b,this.credentials.requestPrivKey)},d.prototype.fetchPayPro=function(a,b){g.checkArgument(a).checkArgument(a.payProUrl),q.get({url:a.payProUrl,http:this.payProHttp},function(a,c){return a?b(a||"Could not fetch PayPro request"):b(null,c)})},d.prototype.getUtxos=function(a,b){g.checkState(this.credentials&&this.credentials.isComplete()),a=a||{};var c="/v1/utxos/";a.addresses&&(c+="?"+p.stringify({addresses:[].concat(a.addresses).join(",")})),this._doGetRequest(c,b)},d.prototype.sendTxProposal=function(a,b){g.checkState(this.credentials&&this.credentials.isComplete()),g.checkArgument(!a.message||this.credentials.sharedEncryptingKey,"Cannot create transaction with message without shared Encrypting key"),g.checkArgument(a);var c=this,e={toAddress:a.toAddress,amount:a.amount,message:d._encryptMessage(a.message,this.credentials.sharedEncryptingKey)||null,feePerKb:a.feePerKb,payProUrl:a.payProUrl,excludeUnconfirmedUtxos:!!a.excludeUnconfirmedUtxos,type:a.type,outputs:f.cloneDeep(a.outputs),customData:a.customData};e.outputs&&f.each(e.outputs,function(a){a.message=d._encryptMessage(a.message,c.credentials.sharedEncryptingKey)||null}),r.debug("Generating & signing tx proposal:",JSON.stringify(e)),e.proposalSignature=this._computeProposalSignature(e),this._doPostRequest("/v1/txproposals/",e,function(a,c){return a?b(a):b(null,c)})},d.prototype.createAddress=function(a){g.checkState(this.credentials&&this.credentials.isComplete());var b=this;b._doPostRequest("/v1/addresses/",{},function(c,d){return c?a(c):t.checkAddress(b.credentials,d)?a(null,d):a(w.SERVER_COMPROMISED)})},d.prototype.getMainAddresses=function(a,b){g.checkState(this.credentials&&this.credentials.isComplete());var c=this;c._doGetRequest("/v1/addresses/",function(d,e){if(d)return b(d);if(!a.doNotVerify){var g=f.any(e,function(a){return!t.checkAddress(c.credentials,a)});if(g)return b(w.SERVER_COMPROMISED)}return b(null,e)})},d.prototype.getBalance=function(a){g.checkState(this.credentials&&this.credentials.isComplete()),this._doGetRequest("/v1/balance/",a)},d.prototype.getTxProposals=function(a,b){g.checkState(this.credentials&&this.credentials.isComplete());var c=this;c._doGetRequest("/v1/txproposals/",function(d,e){return d?b(d):(c._processTxps(e),void i.every(e,function(b,d){return a.doNotVerify?d(!0):void c.getPayPro(b,function(a,e){var f=t.checkTxProposal(c.credentials,b,{paypro:e});return d(f)})},function(d){if(!d)return b(w.SERVER_COMPROMISED);var f;return f=a.forAirGapped?{txps:JSON.parse(JSON.stringify(e)),encryptedPkr:k.encryptMessage(JSON.stringify(c.credentials.publicKeyRing),c.credentials.personalEncryptingKey),m:c.credentials.m,n:c.credentials.n}:e,b(null,f)}))})},d.prototype.getPayPro=function(a,b){var c=this;return!a.payProUrl||this.doNotVerifyPayPro?b():void q.get({url:a.payProUrl,http:c.payProHttp},function(a,c){return a?b(new Error("Cannot check transaction now:"+a)):b(null,c)})},d.prototype.signTxProposal=function(a,b){g.checkState(this.credentials&&this.credentials.isComplete()),g.checkArgument(a.creatorId);var c=this;return c.canSign()||a.signatures?c.isPrivKeyEncrypted()?b(new Error("Private Key is encrypted, cannot sign")):void c.getPayPro(a,function(d,e){if(d)return b(d);var f=t.checkTxProposal(c.credentials,a,{paypro:e});if(!f)return b(w.SERVER_COMPROMISED);var g=a.signatures||k.signTxp(a,c.credentials.xPrivKey),h="/v1/txproposals/"+a.id+"/signatures/",i={signatures:g};c._doPostRequest(h,i,function(a,d){return a?b(a):(c._processTxps([d]),b(null,d))})}):b(new Error("You do not have the required keys to sign transactions"))},d.prototype.signTxProposalFromAirGapped=function(a,b,c,d){g.checkState(this.credentials);var e=this;if(!e.canSign())throw w.MISSING_PRIVATE_KEY;if(e.isPrivKeyEncrypted())throw w.ENCRYPTED_PRIVATE_KEY;var h;try{h=JSON.parse(k.decryptMessage(b,e.credentials.personalEncryptingKey))}catch(i){throw new Error("Could not decrypt public key ring")}if(!f.isArray(h)||h.length!=d)throw new Error("Invalid public key ring");if(e.credentials.m=c,e.credentials.n=d,e.derivationStrategy=a.derivationStrategy,e.addressType=a.addressType,e.credentials.addPublicKeyRing(h),!t.checkTxProposalBody(e.credentials,a))throw new Error("Fake transaction proposal");return k.signTxp(a,e.credentials.xPrivKey)},d.prototype.rejectTxProposal=function(a,b,c){g.checkState(this.credentials&&this.credentials.isComplete()),g.checkArgument(c);var e=this,f="/v1/txproposals/"+a.id+"/rejections/",h={reason:d._encryptMessage(b,e.credentials.sharedEncryptingKey)||""};e._doPostRequest(f,h,function(a,b){return a?c(a):(e._processTxps([b]),c(null,b))})},d.prototype.broadcastRawTx=function(a,b){g.checkState(this.credentials),g.checkArgument(b);var c=this;a=a||{};var d="/v1/broadcast_raw/";c._doPostRequest(d,a,function(a,c){return a?b(a):b(null,c)})},d.prototype._doBroadcast=function(a,b){var c=this,d="/v1/txproposals/"+a.id+"/broadcast/";c._doPostRequest(d,{},function(a,c){return a?b(a):b(null,c)})},d.prototype.broadcastTxProposal=function(a,b){g.checkState(this.credentials&&this.credentials.isComplete());var c=this;c.getPayPro(a,function(d,e){if(e){var f=k.buildTx(a);c.createAddress(function(d,g){return d?b(d):void q.send({http:c.payProHttp,url:a.payProUrl,amountSat:a.amount,refundAddr:g.address,merchant_data:e.merchant_data,rawTx:f.uncheckedSerialize()},function(d,e,f){return d?b(d):void c._doBroadcast(a,function(a,c){return b(a,c,f)})})})}else c._doBroadcast(a,b)})},d.prototype.removeTxProposal=function(a,b){g.checkState(this.credentials&&this.credentials.isComplete());var c=this,d="/v1/txproposals/"+a.id;c._doDeleteRequest(d,function(a){return b(a)})},d.prototype.getTxHistory=function(a,b){g.checkState(this.credentials&&this.credentials.isComplete());var c=this,d=[];a&&(a.skip&&d.push("skip="+a.skip),a.limit&&d.push("limit="+a.limit));var e="";d.length>0&&(e="?"+d.join("&"));var f="/v1/txhistory/"+e;c._doGetRequest(f,function(a,d){return a?b(a):(c._processTxps(d),b(null,d))})},d.prototype.getTx=function(a,b){g.checkState(this.credentials&&this.credentials.isComplete());var c=this,d="/v1/txproposals/"+a;this._doGetRequest(d,function(a,d){return a?b(a):(c._processTxps([d]),b(null,d))})},d.prototype.startScan=function(a,b){g.checkState(this.credentials&&this.credentials.isComplete());var c=this,d={includeCopayerBranches:a.includeCopayerBranches};c._doPostRequest("/v1/addresses/scan",d,function(a){return b(a)})},d.prototype._oldCopayDecrypt=function(a,b,c){var d,e="@#$",f="%^#@";try{var g=a+e+b;d=m.decrypt(g,c)}catch(h){g=a+f+b;try{d=m.decrypt(g,c)}catch(h){r.debug(h)}}if(!d)return null;var i;try{i=JSON.parse(d)}catch(h){}return i},d.prototype.getWalletIdsFromOldCopay=function(a,b,c){var d=this._oldCopayDecrypt(a,b,c);if(!d)return null;var e=d.walletIds.concat(f.keys(d.focusedTimestamps));return f.uniq(e)},d.prototype.createWalletFromOldCopay=function(a,b,c,d){var e=this._oldCopayDecrypt(a,b,c);return e?e.publicKeyRing.copayersExtPubKeys.length!=e.opts.totalCopayers?d("Wallet is incomplete, cannot be imported"):(this.credentials=s.fromOldCopayWallet(e),void this.recreateWallet(d)):d("Could not decrypt")},d.prototype.addAccess=function(a,b){g.checkState(this.credentials&&this.credentials.canSign());var c=new l.PrivateKey(a.generateNewKey?null:this.credentials.requestPrivKey),d=c.toPublicKey().toString(),e=new l.HDPrivateKey(this.credentials.xPrivKey).derive(k.PATHS.BASE_ADDRESS_DERIVATION[this.credentials.derivationStrategy][this.credentials.network]),f=k.signRequestPubKey(d,e),h=this.credentials.copayerId,a={copayerId:h,requestPubKey:d,signature:f,name:a.name,restrictions:a.restrictions};this._doPutRequest("/v1/copayers/"+h+"/",a,function(a,d){return a?b(a):b(null,d.wallet,c)})},b.exports=d}).call(this,a("_process"))},{"../package.json":470,"./credentials":3,"./errors/clienterror":4,"./errors/errordefinitions":5,"./log":7,"./paypro":8,"./verifier":9,_process:299,async:10,"bitcore-wallet-utils":45,"browser-request":128,events:290,lodash:322,preconditions:323,querystring:303,request:328,sjcl:419,"socket.io-client":420,url:317,util:319}],3:[function(a,b,c){(function(c){"use strict";function d(){this.version="1.0.0",this.derivationStrategy=g.DERIVATION_STRATEGIES.BIP44}var e=a("preconditions").singleton(),f=a("lodash"),g=a("bitcore-wallet-utils"),h=g.Bitcore,i=a("bitcore-mnemonic"),j=a("sjcl"),k=["network","xPrivKey","xPrivKeyEncrypted","xPubKey","requestPrivKey","requestPubKey","copayerId","publicKeyRing","walletId","walletName","m","n","walletPrivKey","personalEncryptingKey","sharedEncryptingKey","copayerName","externalSource","mnemonic","mnemonicEncrypted","entropySource","mnemonicHasPassphrase","derivationStrategy","addressType"];d.create=function(a){var b=new d;return b.network=a,b.xPrivKey=new h.HDPrivateKey(a).toString(),b._expand(),b};var l={en:i.Words.ENGLISH,es:i.Words.SPANISH,ja:i.Words.JAPANESE,zh:i.Words.CHINESE,fr:i.Words.FRENCH};d.createWithMnemonic=function(a,b,c){if(c||(c="en"),!l[c])throw new Error("Unsupported language");var e=new i(l[c]),f=new d;return f.network=a,f.xPrivKey=e.toHDPrivateKey(b,a).toString(),f._expand(),f.mnemonic=e.phrase,f.mnemonicHasPassphrase=!!b,f},d.fromExtendedPrivateKey=function(a){var b=new d;return b.xPrivKey=a,b._expand(),b},d.fromMnemonic=function(a,b,c){var e=new i(a),f=new d;return f.xPrivKey=e.toHDPrivateKey(b,c).toString(),f.mnemonicHasPassphrase=!!b,f._expand(),f},d.fromExtendedPublicKey=function(a,b,f,g){e.checkArgument(f);var i=new c(f,"hex");e.checkArgument(i.length>=14,"At least 112 bits of entropy are needed");var j=new d;return j.xPubKey=a,j.entropySource=h.crypto.Hash.sha256sha256(i).toString("hex"),j.externalSource=b,j._expand(),j},d.prototype._hashFromEntropy=function(a,b){e.checkState(a);var d=new c(this.entropySource,"hex"),f=h.crypto.Hash.sha256hmac(d,new c(a));return f.slice(0,b)},d.prototype._expand=function(){e.checkState(this.xPrivKey||this.xPubKey&&this.entropySource);var a=g.getNetworkFromExtendedKey(this.xPrivKey||this.xPubKey);if(this.network?e.checkState(this.network==a):this.network=a,this.xPrivKey){var b=new h.HDPrivateKey.fromString(this.xPrivKey),c=b.derive(g.PATHS.BASE_ADDRESS_DERIVATION[this.derivationStrategy][this.network]);this.xPubKey=new h.HDPublicKey(c).toString();var d=b.derive(g.PATHS.REQUEST_KEY);this.requestPrivKey=d.privateKey.toString();var f=d.publicKey;this.requestPubKey=f.toString(),this.entropySource=h.crypto.Hash.sha256(d.privateKey.toBuffer()).toString("hex")}else{var i=this._hashFromEntropy("reqPrivKey",32),j=new h.PrivateKey(i.toString("hex"),a);this.requestPrivKey=j.toString(),this.requestPubKey=j.toPublicKey().toString()}this.personalEncryptingKey=this._hashFromEntropy("personalKey",16).toString("base64"),this.copayerId=g.xPubToCopayerId(this.xPubKey),this.publicKeyRing=[{xPubKey:this.xPubKey,requestPubKey:this.requestPubKey}]},d.fromObj=function(a){var b=new d;return f.each(k,function(c){b[c]=a[c]}),b.derivationStrategy=b.derivationStrategy||g.DERIVATION_STRATEGIES.BIP45,e.checkState(b.xPrivKey||b.xPubKey||b.xPrivKeyEncrypted,"invalid input"),b},d.prototype.toObj=function(){var a=this,b={};return f.each(k,function(c){b[c]=a[c]}),b},d.prototype.addWalletPrivateKey=function(a){this.walletPrivKey=a,this.sharedEncryptingKey=g.privateKeyToAESKey(a)},d.prototype.addWalletInfo=function(a,b,c,d,e,f){this.walletId=a,this.walletName=b,this.m=c,this.n=d,e&&this.addWalletPrivateKey(e),f&&(this.copayerName=f),this.addressType=1==d?g.SCRIPT_TYPES.P2PKH:g.SCRIPT_TYPES.P2SH,1==d&&this.addPublicKeyRing([{xPubKey:this.xPubKey,requestPubKey:this.requestPubKey}])},d.prototype.hasWalletInfo=function(){return!!this.walletId},d.prototype.isPrivKeyEncrypted=function(){return!!this.xPrivKeyEncrypted&&!this.xPrivKey},d.prototype.hasPrivKeyEncrypted=function(){return!!this.xPrivKeyEncrypted},d.prototype.setPrivateKeyEncryption=function(a,b){if(this.xPrivKeyEncrypted)throw new Error("Encrypted Privkey Already exists");if(!this.xPrivKey)throw new Error("No private key to encrypt");if(this.xPrivKeyEncrypted=j.encrypt(a,this.xPrivKey,b),!this.xPrivKeyEncrypted)throw new Error("Could not encrypt");this.mnemonic&&(this.mnemonicEncrypted=j.encrypt(a,this.mnemonic,b))},d.prototype.disablePrivateKeyEncryption=function(){if(!this.xPrivKeyEncrypted)throw new Error("Private Key is not encrypted");if(!this.xPrivKey)throw new Error("Wallet is locked, cannot disable encryption");this.xPrivKeyEncrypted=null,this.mnemonicEncrypted=null},d.prototype.lock=function(){if(!this.xPrivKeyEncrypted)throw new Error("Could not lock, no encrypted private key");delete this.xPrivKey,delete this.mnemonic},d.prototype.unlock=function(a){this.xPrivKeyEncrypted&&(this.xPrivKey=j.decrypt(a,this.xPrivKeyEncrypted),this.mnemonicEncrypted&&(this.mnemonic=j.decrypt(a,this.mnemonicEncrypted)))},d.prototype.addPublicKeyRing=function(a){this.publicKeyRing=f.clone(a)},d.prototype.canSign=function(){return!!this.xPrivKey||!!this.xPrivKeyEncrypted},d.prototype.setNoSign=function(){delete this.xPrivKey,delete this.xPrivKeyEncrypted,delete this.mnemonic,delete this.mnemonicEncrypted},d.prototype.isComplete=function(){return this.m&&this.n&&this.publicKeyRing&&this.publicKeyRing.length==this.n?!0:!1},d.prototype.hasExternalSource=function(){return"string"==typeof this.externalSource},d.prototype.getExternalSourceName=function(){return this.externalSource},d.prototype.getMnemonic=function(){if(this.mnemonicEncrypted&&!this.mnemonic)throw new Error("Credentials are encrypted");return this.mnemonic},d.prototype.clearMnemonic=function(){delete this.mnemonic,delete this.mnemonicEncrypted},d.fromOldCopayWallet=function(a){function b(a){var b=a.publicKeyRing.copayersExtPubKeys.sort().join(""),d=new c(b),e=new h.PrivateKey.fromBuffer(h.crypto.Hash.sha256(d));return e.toString()}var e=new d;e.derivationStrategy=g.DERIVATION_STRATEGIES.BIP45,e.xPrivKey=a.privateKey.extendedPrivateKeyString,e._expand(),e.addWalletInfo(a.opts.id,a.opts.name,a.opts.requiredCopayers,a.opts.totalCopayers,b(a));var i=f.map(a.publicKeyRing.copayersExtPubKeys,function(b){var c,d=b===e.xPubKey;if(d){var f=g.PATHS.REQUEST_KEY;c=new h.HDPrivateKey(e.xPrivKey).derive(f).hdPublicKey}else{var f=g.PATHS.REQUEST_KEY_AUTH;c=new h.HDPublicKey(b).derive(f)}var i=new h.HDPublicKey(b).derive("m/2147483646/0/0"),j=i.publicKey.toString("hex"),k=a.publicKeyRing.nicknameFor[j];return d&&(e.copayerName=k),{xPubKey:b,requestPubKey:c.publicKey.toString(),copayerName:k}});return e.addPublicKeyRing(i),e},b.exports=d}).call(this,a("buffer").Buffer)},{"bitcore-mnemonic":11,"bitcore-wallet-utils":45,buffer:145,lodash:322,preconditions:323,sjcl:419}],4:[function(a,b,c){"use strict";function d(a,b){this.code=a,this.message=b}d.prototype.toString=function(){return""},b.exports=d},{}],5:[function(a,b,c){"use strict";var d=a("lodash"),e=a("./clienterror"),f={INVALID_BACKUP:"Invalid Backup",WALLET_DOES_NOT_EXIST:"Wallet does not exist. Need to recreate",MISSING_PRIVATE_KEY:"Missing private keys to sign",ENCRYPTED_PRIVATE_KEY:"Private key is encrypted, cannot sign",SERVER_COMPROMISED:"Server response could not be verified"},g=d.zipObject(d.map(f,function(a,b){return[b,new e(b,a)]}));g.codes=d.mapValues(f,function(a,b){return b}),b.exports=g},{"./clienterror":4,lodash:322}],6:[function(a,b,c){var d=b.exports=a("./api");d.Verifier=a("./verifier"),d.Utils=a("bitcore-wallet-utils"),d.sjcl=a("sjcl"),d.Bitcore=a("bitcore-wallet-utils").Bitcore},{"./api":2,"./verifier":9,"bitcore-wallet-utils":45,sjcl:419}],7:[function(a,b,c){var d=a("lodash"),e=function(a){this.name=a||"log",this.level=2};e.prototype.getLevels=function(){return f};var f={debug:0,info:1,log:2,warn:3,error:4,fatal:5};d.each(f,function(a,b){e.prototype[b]=function(){if(a>=f[this.level]){if(Error.stackTraceLimit&&"debug"==this.level){var c=Error.stackTraceLimit;Error.stackTraceLimit=2;var d;try{anerror()}catch(e){d=e.stack}var g=d.split("\n"),h=g[2];h=":"+h.substr(6),Error.stackTraceLimit=c}var i,j="["+b+(h||"")+"] "+arguments[0],i=[].slice.call(arguments,1);console[b]?(i.unshift(j),console[b].apply(console,i)):(i.length&&(j+=JSON.stringify(i)),console.log(j))}}}),e.prototype.setLevel=function(a){this.level=a};var g=new e("copay");new Error;g.setLevel("info"),b.exports=g},{lodash:322}],8:[function(a,b,c){(function(c,d){var e=a("preconditions").singleton(),f=a("bitcore-wallet-utils"),g=f.Bitcore,h=a("bitcore-payment-protocol"),i={};i._nodeRequest=function(b,c){b.agent=!1;var e=b.httpNode||a("http"===b.proto?"http":"https"),f="POST"==b.method?"post":"get";e[f](b,function(a){if(200!=a.statusCode)return c("HTTP Request Error");var b=[];a.on("data",function(a){b.push(a)}),a.on("end",function(){return b=d.concat(b),c(null,b)})})},i._browserRequest=function(a,b){var c=(a.method||"GET").toUpperCase(),d=a.url,e=a;e.headers=e.headers||{},e.body=e.body||e.data||"";var f=a.xhr||new XMLHttpRequest;f.open(c,d,!0),Object.keys(e.headers).forEach(function(a){var b=e.headers[a];"Content-Length"!==a&&"Content-Transfer-Encoding"!==a&&f.setRequestHeader(a,b)}),f.responseType="arraybuffer",f.onload=function(a){var c=f.response;return b(null,new Uint8Array(c))},f.onerror=function(a){var c;return c=0!==f.status&&f.statusText?f.statusText:"HTTP Request Error",b(c)},e.body?f.send(e.body):f.send(null)};var j=function(a){a.url.match(/^((http[s]?):\/)?\/?([^:\/\s]+)((\/\w+)*\/)([\w\-\.]+[^#?\s]+)(.*)?(#[\w\-]+)?$/);if(a.proto=RegExp.$2,a.host=RegExp.$3,a.path=RegExp.$4+RegExp.$6,a.http)return a.http;var b=a.env;return b||(b=c&&!c.browser?"node":"browser"),"node"==b?i._nodeRequest:http=i._browserRequest};i.get=function(a,b){e.checkArgument(a&&a.url);var c=j(a);a.headers=a.headers||{Accept:h.PAYMENT_REQUEST_CONTENT_TYPE,"Content-Type":"application/octet-stream"},c(a,function(c,e){if(c)return b(c);var f,i,j,k;try{var l=h.PaymentRequest.decode(e);f=(new h).makePaymentRequest(l),j=f.get("signature"),k=f.get("serialized_payment_details"),i=f.verify(!0)}catch(m){return b("Could not parse payment protocol: "+m)}var n=h.PaymentDetails.decode(k),o=new h;o=o.makePaymentDetails(n);var p=o.get("outputs");if(p.length>1)return b(new Error("Payment Protocol Error: Requests with more that one output are not supported"));var q=p[0],r=q.get("amount");r=r.low+4294967296*r.high;var s="test"==o.get("network")?"testnet":"livenet",t=q.get("script").offset,u=q.get("script").limit,v=new d(new Uint8Array(q.get("script").buffer)),w=v.slice(t,u),x=new g.Address.fromScript(new g.Script(w),s),y=o.get("merchant_data");return y&&(y=y.toString()),b(null,{verified:i.verified,verifyData:{caName:i.caName,selfSigned:i.selfSigned},expires:o.get("expires"),memo:o.get("memo"),time:o.get("time"),merchant_data:y,toAddress:x.toString(),amount:r,network:s,domain:a.host,url:a.url})})},i._getPayProRefundOutputs=function(a,b){b=b.toString(10);var c=new h.Output,e=new g.Address(a),f=e.toObject().hash,i=new g.Script;return i.add(g.Opcode.OP_HASH160).add(new d(f,"hex")).add(g.Opcode.OP_EQUAL), +c.set("script",i.toBuffer()),c.set("amount",b),[c]},i._createPayment=function(a,b,c,e){var f=new h;f=f.makePayment(),a&&(a=new d(a),f.set("merchant_data",a));var g=new d(b,"hex");f.set("transactions",[g]);var i=this._getPayProRefundOutputs(c,e);i&&f.set("refund_to",i),f=f.serialize();for(var j=new ArrayBuffer(f.length),k=new Uint8Array(j),l=0;l Hash: ",j," Signature: ",b.proposalSignature),g.verifyMessage(j,b.proposalSignature,h)&&d.checkAddress(a,b.changeAddress)?!0:!1},d.checkTxProposal=function(a,b,c){return c=c||{},this.checkTxProposalBody(a,b)&&(!c.paypro||b.toAddress==c.paypro.toAddress&&b.amount==c.paypro.amount)?!0:!1},b.exports=d},{"./log":7,"bitcore-wallet-utils":45,lodash:322,preconditions:323}],10:[function(a,b,c){(function(a){!function(){function c(a){var b=!1;return function(){if(b)throw new Error("Callback was already called.");b=!0,a.apply(d,arguments)}}var d,e,f={};d=this,null!=d&&(e=d.async),f.noConflict=function(){return d.async=e,f};var g=Object.prototype.toString,h=Array.isArray||function(a){return"[object Array]"===g.call(a)},i=function(a,b){for(var c=0;c=a.length&&d())}if(d=d||function(){},!a.length)return d();var f=0;i(a,function(a){b(a,c(e))})},f.forEach=f.each,f.eachSeries=function(a,b,c){if(c=c||function(){},!a.length)return c();var d=0,e=function(){b(a[d],function(b){b?(c(b),c=function(){}):(d+=1,d>=a.length?c():e())})};e()},f.forEachSeries=f.eachSeries,f.eachLimit=function(a,b,c,d){var e=m(b);e.apply(null,[a,c,d])},f.forEachLimit=f.eachLimit;var m=function(a){return function(b,c,d){if(d=d||function(){},!b.length||0>=a)return d();var e=0,f=0,g=0;!function h(){if(e>=b.length)return d();for(;a>g&&f=b.length?d():h())})}()}},n=function(a){return function(){var b=Array.prototype.slice.call(arguments);return a.apply(null,[f.each].concat(b))}},o=function(a,b){return function(){var c=Array.prototype.slice.call(arguments);return b.apply(null,[m(a)].concat(c))}},p=function(a){return function(){var b=Array.prototype.slice.call(arguments);return a.apply(null,[f.eachSeries].concat(b))}},q=function(a,b,c,d){if(b=j(b,function(a,b){return{index:b,value:a}}),d){var e=[];a(b,function(a,b){c(a.value,function(c,d){e[a.index]=d,b(c)})},function(a){d(a,e)})}else a(b,function(a,b){c(a.value,function(a){b(a)})})};f.map=n(q),f.mapSeries=p(q),f.mapLimit=function(a,b,c,d){return r(b)(a,c,d)};var r=function(a){return o(a,q)};f.reduce=function(a,b,c,d){f.eachSeries(a,function(a,d){c(b,a,function(a,c){b=c,d(a)})},function(a){d(a,b)})},f.inject=f.reduce,f.foldl=f.reduce,f.reduceRight=function(a,b,c,d){var e=j(a,function(a){return a}).reverse();f.reduce(e,b,c,d)},f.foldr=f.reduceRight;var s=function(a,b,c,d){var e=[];b=j(b,function(a,b){return{index:b,value:a}}),a(b,function(a,b){c(a.value,function(c){c&&e.push(a),b()})},function(a){d(j(e.sort(function(a,b){return a.index-b.index}),function(a){return a.value}))})};f.filter=n(s),f.filterSeries=p(s),f.select=f.filter,f.selectSeries=f.filterSeries;var t=function(a,b,c,d){var e=[];b=j(b,function(a,b){return{index:b,value:a}}),a(b,function(a,b){c(a.value,function(c){c||e.push(a),b()})},function(a){d(j(e.sort(function(a,b){return a.index-b.index}),function(a){return a.value}))})};f.reject=n(t),f.rejectSeries=p(t);var u=function(a,b,c,d){a(b,function(a,b){c(a,function(c){c?(d(a),d=function(){}):b()})},function(a){d()})};f.detect=n(u),f.detectSeries=p(u),f.some=function(a,b,c){f.each(a,function(a,d){b(a,function(a){a&&(c(!0),c=function(){}),d()})},function(a){c(!1)})},f.any=f.some,f.every=function(a,b,c){f.each(a,function(a,d){b(a,function(a){a||(c(!1),c=function(){}),d()})},function(a){c(!0)})},f.all=f.every,f.sortBy=function(a,b,c){f.map(a,function(a,c){b(a,function(b,d){b?c(b):c(null,{value:a,criteria:d})})},function(a,b){if(a)return c(a);var d=function(a,b){var c=a.criteria,d=b.criteria;return d>c?-1:c>d?1:0};c(null,j(b.sort(d),function(a){return a.value}))})},f.auto=function(a,b){b=b||function(){};var c=l(a),d=c.length;if(!d)return b();var e={},g=[],j=function(a){g.unshift(a)},m=function(a){for(var b=0;bd;){var f=d+(e-d+1>>>1);c(b,a[f])>=0?d=f:e=f-1}return d}function e(a,b,e,g){return a.started||(a.started=!0),h(b)||(b=[b]),0==b.length?f.setImmediate(function(){a.drain&&a.drain()}):void i(b,function(b){var h={data:b,priority:e,callback:"function"==typeof g?g:null};a.tasks.splice(d(a.tasks,h,c)+1,0,h),a.saturated&&a.tasks.length===a.concurrency&&a.saturated(),f.setImmediate(a.process)})}var g=f.queue(a,b);return g.push=function(a,b,c){e(g,a,b,c)},delete g.unshift,g},f.cargo=function(a,b){var c=!1,d=[],e={tasks:d,payload:b,saturated:null,empty:null,drain:null,drained:!0,push:function(a,c){h(a)||(a=[a]),i(a,function(a){d.push({data:a,callback:"function"==typeof c?c:null}),e.drained=!1,e.saturated&&d.length===b&&e.saturated()}),f.setImmediate(e.process)},process:function g(){if(!c){if(0===d.length)return e.drain&&!e.drained&&e.drain(),void(e.drained=!0);var f="number"==typeof b?d.splice(0,b):d.splice(0,d.length),h=j(f,function(a){return a.data});e.empty&&e.empty(),c=!0,a(h,function(){c=!1;var a=arguments;i(f,function(b){b.callback&&b.callback.apply(null,a)}),g()})}},length:function(){return d.length},running:function(){return c}};return e};var x=function(a){return function(b){var c=Array.prototype.slice.call(arguments,1);b.apply(null,c.concat([function(b){var c=Array.prototype.slice.call(arguments,1);"undefined"!=typeof console&&(b?console.error&&console.error(b):console[a]&&i(c,function(b){console[a](b)}))}]))}};f.log=x("log"),f.dir=x("dir"),f.memoize=function(a,b){var c={},d={};b=b||function(a){return a};var e=function(){var e=Array.prototype.slice.call(arguments),g=e.pop(),h=b.apply(null,e);h in c?f.nextTick(function(){g.apply(null,c[h])}):h in d?d[h].push(g):(d[h]=[g],a.apply(null,e.concat([function(){c[h]=arguments;var a=d[h];delete d[h];for(var b=0,e=a.length;e>b;b++)a[b].apply(null,arguments)}])))};return e.memo=c,e.unmemoized=a,e},f.unmemoize=function(a){return function(){return(a.unmemoized||a).apply(null,arguments)}},f.times=function(a,b,c){for(var d=[],e=0;a>e;e++)d.push(e);return f.map(d,b,c)},f.timesSeries=function(a,b,c){for(var d=[],e=0;a>e;e++)d.push(e);return f.mapSeries(d,b,c)},f.seq=function(){var a=arguments;return function(){var b=this,c=Array.prototype.slice.call(arguments),d=c.pop();f.reduce(a,c,function(a,c,d){c.apply(b,a.concat([function(){var a=arguments[0],b=Array.prototype.slice.call(arguments,1);d(a,b)}]))},function(a,c){d.apply(b,[a].concat(c))})}},f.compose=function(){return f.seq.apply(null,Array.prototype.reverse.call(arguments))};var y=function(a,b){var c=function(){var c=this,d=Array.prototype.slice.call(arguments),e=d.pop();return a(b,function(a,b){a.apply(c,d.concat([b]))},e)};if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);return c.apply(this,d)}return c};f.applyEach=n(y),f.applyEachSeries=p(y),f.forever=function(a,b){function c(d){if(d){if(b)return b(d);throw d}a(c)}c()},"undefined"!=typeof b&&b.exports?b.exports=f:"undefined"!=typeof define&&define.amd?define([],function(){return f}):d.async=f}()}).call(this,a("_process"))},{_process:299}],11:[function(a,b,c){b.exports=a("./lib/mnemonic")},{"./lib/mnemonic":13}],12:[function(a,b,c){"use strict";var d={name:"Mnemonic",message:"Internal Error on bitcore-mnemonic module {0}",errors:[{name:"InvalidEntropy",message:"Entropy length must be an even multiple of 11 bits: {0}"},{name:"UnknownWordlist",message:"Could not detect the used word list: {0}"},{name:"InvalidMnemonic",message:"Mnemonic string is invalid: {0}"}]};b.exports=a("bitcore").errors.extend(d)},{bitcore:51}],13:[function(a,b,c){(function(c){"use strict";var d=a("bitcore"),e=d.crypto.BN,f=a("unorm"),g=d.deps._,h=a("./pbkdf2"),i=a("./errors"),j=d.crypto.Hash,k=d.crypto.Random,l=d.util.preconditions,m=function(a,b){if(!(this instanceof m))return new m(a,b);g.isArray(a)&&(b=a,a=null);var e,h,j;if(c.isBuffer(a))j=a;else if(g.isString(a))h=f.nfkd(a);else if(g.isNumber(a))e=a;else if(a)throw new d.errors.InvalidArgument("data","Must be a Buffer, a string or an integer");if(e=e||128,b=b||m._getDictionary(h),h&&!b)throw new i.UnknownWordlist(h);if(b=b||m.Words.ENGLISH,j&&(h=m._entropy2mnemonic(j,b)),h&&!m.isValid(h,b))throw new i.InvalidMnemonic(h);if(e%32!==0||128>e)throw new d.errors.InvalidArgument("ENT","Values must be ENT > 128 and ENT % 32 == 0");h=h||m._mnemonic(e,b),Object.defineProperty(this,"wordlist",{configurable:!1,value:b}),Object.defineProperty(this,"phrase",{configurable:!1,value:h})};m.Words=a("./words"),m.isValid=function(a,b){if(a=f.nfkd(a),b=b||m._getDictionary(a),!b)return!1;for(var d=a.split(" "),e="",g=0;gh)return!1;e+=("00000000000"+h.toString(2)).slice(-11)}var i=e.length/33,j=e.slice(-i),k=e.slice(0,e.length-i),l=new c(k.length/8);for(g=0;ge)return!1}return!0},m._getDictionary=function(a){if(!a)return null;for(var b=Object.keys(m.Words),c=0;c"},m._mnemonic=function(a,b){var c=k.getRandomBuffer(a/8);return m._entropy2mnemonic(c,b)},m._entropy2mnemonic=function(a,b){for(var c="",d=0;d(Math.pow(2,32)-1)*g)throw Error("Requested key length too long");if("string"!=typeof a&&!c.isBuffer(a))throw new TypeError("key must a string or Buffer");if("string"!=typeof b&&!c.isBuffer(b))throw new TypeError("salt must a string or Buffer");"string"==typeof b&&(b=new c(b));var h=new c(f),i=new c(g),j=new c(g),k=new c(b.length+4),l=Math.ceil(f/g),m=f-(l-1)*g;b.copy(k,0,0,b.length);for(var n=1;l>=n;n++){k[b.length+0]=n>>24&255,k[b.length+1]=n>>16&255,k[b.length+2]=n>>8&255,k[b.length+3]=n>>0&255,i=e.createHmac("sha512",a).update(k).digest(),i.copy(j,0,0,g);for(var o=1;d>o;o++){i=e.createHmac("sha512",a).update(i).digest();for(var p=0;g>p;p++)j[p]^=i[p]}var q=(n-1)*g,r=n===l?m:g;j.copy(h,q,0,r)}return h}var e=a("crypto");b.exports=d}).call(this,a("buffer").Buffer)},{buffer:145,crypto:149}],15:[function(a,b,c){"use strict";var d=["的","一","是","在","不","了","有","和","人","这","中","大","为","上","个","国","我","以","要","他","时","来","用","们","生","到","作","地","于","出","就","分","对","成","会","可","主","发","年","动","同","工","也","能","下","过","子","说","产","种","面","而","方","后","多","定","行","学","法","所","民","得","经","十","三","之","进","着","等","部","度","家","电","力","里","如","水","化","高","自","二","理","起","小","物","现","实","加","量","都","两","体","制","机","当","使","点","从","业","本","去","把","性","好","应","开","它","合","还","因","由","其","些","然","前","外","天","政","四","日","那","社","义","事","平","形","相","全","表","间","样","与","关","各","重","新","线","内","数","正","心","反","你","明","看","原","又","么","利","比","或","但","质","气","第","向","道","命","此","变","条","只","没","结","解","问","意","建","月","公","无","系","军","很","情","者","最","立","代","想","已","通","并","提","直","题","党","程","展","五","果","料","象","员","革","位","入","常","文","总","次","品","式","活","设","及","管","特","件","长","求","老","头","基","资","边","流","路","级","少","图","山","统","接","知","较","将","组","见","计","别","她","手","角","期","根","论","运","农","指","几","九","区","强","放","决","西","被","干","做","必","战","先","回","则","任","取","据","处","队","南","给","色","光","门","即","保","治","北","造","百","规","热","领","七","海","口","东","导","器","压","志","世","金","增","争","济","阶","油","思","术","极","交","受","联","什","认","六","共","权","收","证","改","清","美","再","采","转","更","单","风","切","打","白","教","速","花","带","安","场","身","车","例","真","务","具","万","每","目","至","达","走","积","示","议","声","报","斗","完","类","八","离","华","名","确","才","科","张","信","马","节","话","米","整","空","元","况","今","集","温","传","土","许","步","群","广","石","记","需","段","研","界","拉","林","律","叫","且","究","观","越","织","装","影","算","低","持","音","众","书","布","复","容","儿","须","际","商","非","验","连","断","深","难","近","矿","千","周","委","素","技","备","半","办","青","省","列","习","响","约","支","般","史","感","劳","便","团","往","酸","历","市","克","何","除","消","构","府","称","太","准","精","值","号","率","族","维","划","选","标","写","存","候","毛","亲","快","效","斯","院","查","江","型","眼","王","按","格","养","易","置","派","层","片","始","却","专","状","育","厂","京","识","适","属","圆","包","火","住","调","满","县","局","照","参","红","细","引","听","该","铁","价","严","首","底","液","官","德","随","病","苏","失","尔","死","讲","配","女","黄","推","显","谈","罪","神","艺","呢","席","含","企","望","密","批","营","项","防","举","球","英","氧","势","告","李","台","落","木","帮","轮","破","亚","师","围","注","远","字","材","排","供","河","态","封","另","施","减","树","溶","怎","止","案","言","士","均","武","固","叶","鱼","波","视","仅","费","紧","爱","左","章","早","朝","害","续","轻","服","试","食","充","兵","源","判","护","司","足","某","练","差","致","板","田","降","黑","犯","负","击","范","继","兴","似","余","坚","曲","输","修","故","城","夫","够","送","笔","船","占","右","财","吃","富","春","职","觉","汉","画","功","巴","跟","虽","杂","飞","检","吸","助","升","阳","互","初","创","抗","考","投","坏","策","古","径","换","未","跑","留","钢","曾","端","责","站","简","述","钱","副","尽","帝","射","草","冲","承","独","令","限","阿","宣","环","双","请","超","微","让","控","州","良","轴","找","否","纪","益","依","优","顶","础","载","倒","房","突","坐","粉","敌","略","客","袁","冷","胜","绝","析","块","剂","测","丝","协","诉","念","陈","仍","罗","盐","友","洋","错","苦","夜","刑","移","频","逐","靠","混","母","短","皮","终","聚","汽","村","云","哪","既","距","卫","停","烈","央","察","烧","迅","境","若","印","洲","刻","括","激","孔","搞","甚","室","待","核","校","散","侵","吧","甲","游","久","菜","味","旧","模","湖","货","损","预","阻","毫","普","稳","乙","妈","植","息","扩","银","语","挥","酒","守","拿","序","纸","医","缺","雨","吗","针","刘","啊","急","唱","误","训","愿","审","附","获","茶","鲜","粮","斤","孩","脱","硫","肥","善","龙","演","父","渐","血","欢","械","掌","歌","沙","刚","攻","谓","盾","讨","晚","粒","乱","燃","矛","乎","杀","药","宁","鲁","贵","钟","煤","读","班","伯","香","介","迫","句","丰","培","握","兰","担","弦","蛋","沉","假","穿","执","答","乐","谁","顺","烟","缩","征","脸","喜","松","脚","困","异","免","背","星","福","买","染","井","概","慢","怕","磁","倍","祖","皇","促","静","补","评","翻","肉","践","尼","衣","宽","扬","棉","希","伤","操","垂","秋","宜","氢","套","督","振","架","亮","末","宪","庆","编","牛","触","映","雷","销","诗","座","居","抓","裂","胞","呼","娘","景","威","绿","晶","厚","盟","衡","鸡","孙","延","危","胶","屋","乡","临","陆","顾","掉","呀","灯","岁","措","束","耐","剧","玉","赵","跳","哥","季","课","凯","胡","额","款","绍","卷","齐","伟","蒸","殖","永","宗","苗","川","炉","岩","弱","零","杨","奏","沿","露","杆","探","滑","镇","饭","浓","航","怀","赶","库","夺","伊","灵","税","途","灭","赛","归","召","鼓","播","盘","裁","险","康","唯","录","菌","纯","借","糖","盖","横","符","私","努","堂","域","枪","润","幅","哈","竟","熟","虫","泽","脑","壤","碳","欧","遍","侧","寨","敢","彻","虑","斜","薄","庭","纳","弹","饲","伸","折","麦","湿","暗","荷","瓦","塞","床","筑","恶","户","访","塔","奇","透","梁","刀","旋","迹","卡","氯","遇","份","毒","泥","退","洗","摆","灰","彩","卖","耗","夏","择","忙","铜","献","硬","予","繁","圈","雪","函","亦","抽","篇","阵","阴","丁","尺","追","堆","雄","迎","泛","爸","楼","避","谋","吨","野","猪","旗","累","偏","典","馆","索","秦","脂","潮","爷","豆","忽","托","惊","塑","遗","愈","朱","替","纤","粗","倾","尚","痛","楚","谢","奋","购","磨","君","池","旁","碎","骨","监","捕","弟","暴","割","贯","殊","释","词","亡","壁","顿","宝","午","尘","闻","揭","炮","残","冬","桥","妇","警","综","招","吴","付","浮","遭","徐","您","摇","谷","赞","箱","隔","订","男","吹","园","纷","唐","败","宋","玻","巨","耕","坦","荣","闭","湾","键","凡","驻","锅","救","恩","剥","凝","碱","齿","截","炼","麻","纺","禁","废","盛","版","缓","净","睛","昌","婚","涉","筒","嘴","插","岸","朗","庄","街","藏","姑","贸","腐","奴","啦","惯","乘","伙","恢","匀","纱","扎","辩","耳","彪","臣","亿","璃","抵","脉","秀","萨","俄","网","舞","店","喷","纵","寸","汗","挂","洪","贺","闪","柬","爆","烯","津","稻","墙","软","勇","像","滚","厘","蒙","芳","肯","坡","柱","荡","腿","仪","旅","尾","轧","冰","贡","登","黎","削","钻","勒","逃","障","氨","郭","峰","币","港","伏","轨","亩","毕","擦","莫","刺","浪","秘","援","株","健","售","股","岛","甘","泡","睡","童","铸","汤","阀","休","汇","舍","牧","绕","炸","哲","磷","绩","朋","淡","尖","启","陷","柴","呈","徒","颜","泪","稍","忘","泵","蓝","拖","洞","授","镜","辛","壮","锋","贫","虚","弯","摩","泰","幼","廷","尊","窗","纲","弄","隶","疑","氏","宫","姐","震","瑞","怪","尤","琴","循","描","膜","违","夹","腰","缘","珠","穷","森","枝","竹","沟","催","绳","忆","邦","剩","幸","浆","栏","拥","牙","贮","礼","滤","钠","纹","罢","拍","咱","喊","袖","埃","勤","罚","焦","潜","伍","墨","欲","缝","姓","刊","饱","仿","奖","铝","鬼","丽","跨","默","挖","链","扫","喝","袋","炭","污","幕","诸","弧","励","梅","奶","洁","灾","舟","鉴","苯","讼","抱","毁","懂","寒","智","埔","寄","届","跃","渡","挑","丹","艰","贝","碰","拔","爹","戴","码","梦","芽","熔","赤","渔","哭","敬","颗","奔","铅","仲","虎","稀","妹","乏","珍","申","桌","遵","允","隆","螺","仓","魏","锐","晓","氮","兼","隐","碍","赫","拨","忠","肃","缸","牵","抢","博","巧","壳","兄","杜","讯","诚","碧","祥","柯","页","巡","矩","悲","灌","龄","伦","票","寻","桂","铺","圣","恐","恰","郑","趣","抬","荒","腾","贴","柔","滴","猛","阔","辆","妻","填","撤","储","签","闹","扰","紫","砂","递","戏","吊","陶","伐","喂","疗","瓶","婆","抚","臂","摸","忍","虾","蜡","邻","胸","巩","挤","偶","弃","槽","劲","乳","邓","吉","仁","烂","砖","租","乌","舰","伴","瓜","浅","丙","暂","燥","橡","柳","迷","暖","牌","秧","胆","详","簧","踏","瓷","谱","呆","宾","糊","洛","辉","愤","竞","隙","怒","粘","乃","绪","肩","籍","敏","涂","熙","皆","侦","悬","掘","享","纠","醒","狂","锁","淀","恨","牲","霸","爬","赏","逆","玩","陵","祝","秒","浙","貌","役","彼","悉","鸭","趋","凤","晨","畜","辈","秩","卵","署","梯","炎","滩","棋","驱","筛","峡","冒","啥","寿","译","浸","泉","帽","迟","硅","疆","贷","漏","稿","冠","嫩","胁","芯","牢","叛","蚀","奥","鸣","岭","羊","凭","串","塘","绘","酵","融","盆","锡","庙","筹","冻","辅","摄","袭","筋","拒","僚","旱","钾","鸟","漆","沈","眉","疏","添","棒","穗","硝","韩","逼","扭","侨","凉","挺","碗","栽","炒","杯","患","馏","劝","豪","辽","勃","鸿","旦","吏","拜","狗","埋","辊","掩","饮","搬","骂","辞","勾","扣","估","蒋","绒","雾","丈","朵","姆","拟","宇","辑","陕","雕","偿","蓄","崇","剪","倡","厅","咬","驶","薯","刷","斥","番","赋","奉","佛","浇","漫","曼","扇","钙","桃","扶","仔","返","俗","亏","腔","鞋","棱","覆","框","悄","叔","撞","骗","勘","旺","沸","孤","吐","孟","渠","屈","疾","妙","惜","仰","狠","胀","谐","抛","霉","桑","岗","嘛","衰","盗","渗","脏","赖","涌","甜","曹","阅","肌","哩","厉","烃","纬","毅","昨","伪","症","煮","叹","钉","搭","茎","笼","酷","偷","弓","锥","恒","杰","坑","鼻","翼","纶","叙","狱","逮","罐","络","棚","抑","膨","蔬","寺","骤","穆","冶","枯","册","尸","凸","绅","坯","牺","焰","轰","欣","晋","瘦","御","锭","锦","丧","旬","锻","垄","搜","扑","邀","亭","酯","迈","舒","脆","酶","闲","忧","酚","顽","羽","涨","卸","仗","陪","辟","惩","杭","姚","肚","捉","飘","漂","昆","欺","吾","郎","烷","汁","呵","饰","萧","雅","邮","迁","燕","撒","姻","赴","宴","烦","债","帐","斑","铃","旨","醇","董","饼","雏","姿","拌","傅","腹","妥","揉","贤","拆","歪","葡","胺","丢","浩","徽","昂","垫","挡","览","贪","慰","缴","汪","慌","冯","诺","姜","谊","凶","劣","诬","耀","昏","躺","盈","骑","乔","溪","丛","卢","抹","闷","咨","刮","驾","缆","悟","摘","铒","掷","颇","幻","柄","惠","惨","佳","仇","腊","窝","涤","剑","瞧","堡","泼","葱","罩","霍","捞","胎","苍","滨","俩","捅","湘","砍","霞","邵","萄","疯","淮","遂","熊","粪","烘","宿","档","戈","驳","嫂","裕","徙","箭","捐","肠","撑","晒","辨","殿","莲","摊","搅","酱","屏","疫","哀","蔡","堵","沫","皱","畅","叠","阁","莱","敲","辖","钩","痕","坝","巷","饿","祸","丘","玄","溜","曰","逻","彭","尝","卿","妨","艇","吞","韦","怨","矮","歇"];b.exports=d},{}],16:[function(a,b,c){"use strict";var d=["abandon","ability","able","about","above","absent","absorb","abstract","absurd","abuse","access","accident","account","accuse","achieve","acid","acoustic","acquire","across","act","action","actor","actress","actual","adapt","add","addict","address","adjust","admit","adult","advance","advice","aerobic","affair","afford","afraid","again","age","agent","agree","ahead","aim","air","airport","aisle","alarm","album","alcohol","alert","alien","all","alley","allow","almost","alone","alpha","already","also","alter","always","amateur","amazing","among","amount","amused","analyst","anchor","ancient","anger","angle","angry","animal","ankle","announce","annual","another","answer","antenna","antique","anxiety","any","apart","apology","appear","apple","approve","april","arch","arctic","area","arena","argue","arm","armed","armor","army","around","arrange","arrest","arrive","arrow","art","artefact","artist","artwork","ask","aspect","assault","asset","assist","assume","asthma","athlete","atom","attack","attend","attitude","attract","auction","audit","august","aunt","author","auto","autumn","average","avocado","avoid","awake","aware","away","awesome","awful","awkward","axis","baby","bachelor","bacon","badge","bag","balance","balcony","ball","bamboo","banana","banner","bar","barely","bargain","barrel","base","basic","basket","battle","beach","bean","beauty","because","become","beef","before","begin","behave","behind","believe","below","belt","bench","benefit","best","betray","better","between","beyond","bicycle","bid","bike","bind","biology","bird","birth","bitter","black","blade","blame","blanket","blast","bleak","bless","blind","blood","blossom","blouse","blue","blur","blush","board","boat","body","boil","bomb","bone","bonus","book","boost","border","boring","borrow","boss","bottom","bounce","box","boy","bracket","brain","brand","brass","brave","bread","breeze","brick","bridge","brief","bright","bring","brisk","broccoli","broken","bronze","broom","brother","brown","brush","bubble","buddy","budget","buffalo","build","bulb","bulk","bullet","bundle","bunker","burden","burger","burst","bus","business","busy","butter","buyer","buzz","cabbage","cabin","cable","cactus","cage","cake","call","calm","camera","camp","can","canal","cancel","candy","cannon","canoe","canvas","canyon","capable","capital","captain","car","carbon","card","cargo","carpet","carry","cart","case","cash","casino","castle","casual","cat","catalog","catch","category","cattle","caught","cause","caution","cave","ceiling","celery","cement","census","century","cereal","certain","chair","chalk","champion","change","chaos","chapter","charge","chase","chat","cheap","check","cheese","chef","cherry","chest","chicken","chief","child","chimney","choice","choose","chronic","chuckle","chunk","churn","cigar","cinnamon","circle","citizen","city","civil","claim","clap","clarify","claw","clay","clean","clerk","clever","click","client","cliff","climb","clinic","clip","clock","clog","close","cloth","cloud","clown","club","clump","cluster","clutch","coach","coast","coconut","code","coffee","coil","coin","collect","color","column","combine","come","comfort","comic","common","company","concert","conduct","confirm","congress","connect","consider","control","convince","cook","cool","copper","copy","coral","core","corn","correct","cost","cotton","couch","country","couple","course","cousin","cover","coyote","crack","cradle","craft","cram","crane","crash","crater","crawl","crazy","cream","credit","creek","crew","cricket","crime","crisp","critic","crop","cross","crouch","crowd","crucial","cruel","cruise","crumble","crunch","crush","cry","crystal","cube","culture","cup","cupboard","curious","current","curtain","curve","cushion","custom","cute","cycle","dad","damage","damp","dance","danger","daring","dash","daughter","dawn","day","deal","debate","debris","decade","december","decide","decline","decorate","decrease","deer","defense","define","defy","degree","delay","deliver","demand","demise","denial","dentist","deny","depart","depend","deposit","depth","deputy","derive","describe","desert","design","desk","despair","destroy","detail","detect","develop","device","devote","diagram","dial","diamond","diary","dice","diesel","diet","differ","digital","dignity","dilemma","dinner","dinosaur","direct","dirt","disagree","discover","disease","dish","dismiss","disorder","display","distance","divert","divide","divorce","dizzy","doctor","document","dog","doll","dolphin","domain","donate","donkey","donor","door","dose","double","dove","draft","dragon","drama","drastic","draw","dream","dress","drift","drill","drink","drip","drive","drop","drum","dry","duck","dumb","dune","during","dust","dutch","duty","dwarf","dynamic","eager","eagle","early","earn","earth","easily","east","easy","echo","ecology","economy","edge","edit","educate","effort","egg","eight","either","elbow","elder","electric","elegant","element","elephant","elevator","elite","else","embark","embody","embrace","emerge","emotion","employ","empower","empty","enable","enact","end","endless","endorse","enemy","energy","enforce","engage","engine","enhance","enjoy","enlist","enough","enrich","enroll","ensure","enter","entire","entry","envelope","episode","equal","equip","era","erase","erode","erosion","error","erupt","escape","essay","essence","estate","eternal","ethics","evidence","evil","evoke","evolve","exact","example","excess","exchange","excite","exclude","excuse","execute","exercise","exhaust","exhibit","exile","exist","exit","exotic","expand","expect","expire","explain","expose","express","extend","extra","eye","eyebrow","fabric","face","faculty","fade","faint","faith","fall","false","fame","family","famous","fan","fancy","fantasy","farm","fashion","fat","fatal","father","fatigue","fault","favorite","feature","february","federal","fee","feed","feel","female","fence","festival","fetch","fever","few","fiber","fiction","field","figure","file","film","filter","final","find","fine","finger","finish","fire","firm","first","fiscal","fish","fit","fitness","fix","flag","flame","flash","flat","flavor","flee","flight","flip","float","flock","floor","flower","fluid","flush","fly","foam","focus","fog","foil","fold","follow","food","foot","force","forest","forget","fork","fortune","forum","forward","fossil","foster","found","fox","fragile","frame","frequent","fresh","friend","fringe","frog","front","frost","frown","frozen","fruit","fuel","fun","funny","furnace","fury","future","gadget","gain","galaxy","gallery","game","gap","garage","garbage","garden","garlic","garment","gas","gasp","gate","gather","gauge","gaze","general","genius","genre","gentle","genuine","gesture","ghost","giant","gift","giggle","ginger","giraffe","girl","give","glad","glance","glare","glass","glide","glimpse","globe","gloom","glory","glove","glow","glue","goat","goddess","gold","good","goose","gorilla","gospel","gossip","govern","gown","grab","grace","grain","grant","grape","grass","gravity","great","green","grid","grief","grit","grocery","group","grow","grunt","guard","guess","guide","guilt","guitar","gun","gym","habit","hair","half","hammer","hamster","hand","happy","harbor","hard","harsh","harvest","hat","have","hawk","hazard","head","health","heart","heavy","hedgehog","height","hello","helmet","help","hen","hero","hidden","high","hill","hint","hip","hire","history","hobby","hockey","hold","hole","holiday","hollow","home","honey","hood","hope","horn","horror","horse","hospital","host","hotel","hour","hover","hub","huge","human","humble","humor","hundred","hungry","hunt","hurdle","hurry","hurt","husband","hybrid","ice","icon","idea","identify","idle","ignore","ill","illegal","illness","image","imitate","immense","immune","impact","impose","improve","impulse","inch","include","income","increase","index","indicate","indoor","industry","infant","inflict","inform","inhale","inherit","initial","inject","injury","inmate","inner","innocent","input","inquiry","insane","insect","inside","inspire","install","intact","interest","into","invest","invite","involve","iron","island","isolate","issue","item","ivory","jacket","jaguar","jar","jazz","jealous","jeans","jelly","jewel","job","join","joke","journey","joy","judge","juice","jump","jungle","junior","junk","just","kangaroo","keen","keep","ketchup","key","kick","kid","kidney","kind","kingdom","kiss","kit","kitchen","kite","kitten","kiwi","knee","knife","knock","know","lab","label","labor","ladder","lady","lake","lamp","language","laptop","large","later","latin","laugh","laundry","lava","law","lawn","lawsuit","layer","lazy","leader","leaf","learn","leave","lecture","left","leg","legal","legend","leisure","lemon","lend","length","lens","leopard","lesson","letter","level","liar","liberty","library","license","life","lift","light","like","limb","limit","link","lion","liquid","list","little","live","lizard","load","loan","lobster","local","lock","logic","lonely","long","loop","lottery","loud","lounge","love","loyal","lucky","luggage","lumber","lunar","lunch","luxury","lyrics","machine","mad","magic","magnet","maid","mail","main","major","make","mammal","man","manage","mandate","mango","mansion","manual","maple","marble","march","margin","marine","market","marriage","mask","mass","master","match","material","math","matrix","matter","maximum","maze","meadow","mean","measure","meat","mechanic","medal","media","melody","melt","member","memory","mention","menu","mercy","merge","merit","merry","mesh","message","metal","method","middle","midnight","milk","million","mimic","mind","minimum","minor","minute","miracle","mirror","misery","miss","mistake","mix","mixed","mixture","mobile","model","modify","mom","moment","monitor","monkey","monster","month","moon","moral","more","morning","mosquito","mother","motion","motor","mountain","mouse","move","movie","much","muffin","mule","multiply","muscle","museum","mushroom","music","must","mutual","myself","mystery","myth","naive","name","napkin","narrow","nasty","nation","nature","near","neck","need","negative","neglect","neither","nephew","nerve","nest","net","network","neutral","never","news","next","nice","night","noble","noise","nominee","noodle","normal","north","nose","notable","note","nothing","notice","novel","now","nuclear","number","nurse","nut","oak","obey","object","oblige","obscure","observe","obtain","obvious","occur","ocean","october","odor","off","offer","office","often","oil","okay","old","olive","olympic","omit","once","one","onion","online","only","open","opera","opinion","oppose","option","orange","orbit","orchard","order","ordinary","organ","orient","original","orphan","ostrich","other","outdoor","outer","output","outside","oval","oven","over","own","owner","oxygen","oyster","ozone","pact","paddle","page","pair","palace","palm","panda","panel","panic","panther","paper","parade","parent","park","parrot","party","pass","patch","path","patient","patrol","pattern","pause","pave","payment","peace","peanut","pear","peasant","pelican","pen","penalty","pencil","people","pepper","perfect","permit","person","pet","phone","photo","phrase","physical","piano","picnic","picture","piece","pig","pigeon","pill","pilot","pink","pioneer","pipe","pistol","pitch","pizza","place","planet","plastic","plate","play","please","pledge","pluck","plug","plunge","poem","poet","point","polar","pole","police","pond","pony","pool","popular","portion","position","possible","post","potato","pottery","poverty","powder","power","practice","praise","predict","prefer","prepare","present","pretty","prevent","price","pride","primary","print","priority","prison","private","prize","problem","process","produce","profit","program","project","promote","proof","property","prosper","protect","proud","provide","public","pudding","pull","pulp","pulse","pumpkin","punch","pupil","puppy","purchase","purity","purpose","purse","push","put","puzzle","pyramid","quality","quantum","quarter","question","quick","quit","quiz","quote","rabbit","raccoon","race","rack","radar","radio","rail","rain","raise","rally","ramp","ranch","random","range","rapid","rare","rate","rather","raven","raw","razor","ready","real","reason","rebel","rebuild","recall","receive","recipe","record","recycle","reduce","reflect","reform","refuse","region","regret","regular","reject","relax","release","relief","rely","remain","remember","remind","remove","render","renew","rent","reopen","repair","repeat","replace","report","require","rescue","resemble","resist","resource","response","result","retire","retreat","return","reunion","reveal","review","reward","rhythm","rib","ribbon","rice","rich","ride","ridge","rifle","right","rigid","ring","riot","ripple","risk","ritual","rival","river","road","roast","robot","robust","rocket","romance","roof","rookie","room","rose","rotate","rough","round","route","royal","rubber","rude","rug","rule","run","runway","rural","sad","saddle","sadness","safe","sail","salad","salmon","salon","salt","salute","same","sample","sand","satisfy","satoshi","sauce","sausage","save","say","scale","scan","scare","scatter","scene","scheme","school","science","scissors","scorpion","scout","scrap","screen","script","scrub","sea","search","season","seat","second","secret","section","security","seed","seek","segment","select","sell","seminar","senior","sense","sentence","series","service","session","settle","setup","seven","shadow","shaft","shallow","share","shed","shell","sheriff","shield","shift","shine","ship","shiver","shock","shoe","shoot","shop","short","shoulder","shove","shrimp","shrug","shuffle","shy","sibling","sick","side","siege","sight","sign","silent","silk","silly","silver","similar","simple","since","sing","siren","sister","situate","six","size","skate","sketch","ski","skill","skin","skirt","skull","slab","slam","sleep","slender","slice","slide","slight","slim","slogan","slot","slow","slush","small","smart","smile","smoke","smooth","snack","snake","snap","sniff","snow","soap","soccer","social","sock","soda","soft","solar","soldier","solid","solution","solve","someone","song","soon","sorry","sort","soul","sound","soup","source","south","space","spare","spatial","spawn","speak","special","speed","spell","spend","sphere","spice","spider","spike","spin","spirit","split","spoil","sponsor","spoon","sport","spot","spray","spread","spring","spy","square","squeeze","squirrel","stable","stadium","staff","stage","stairs","stamp","stand","start","state","stay","steak","steel","stem","step","stereo","stick","still","sting","stock","stomach","stone","stool","story","stove","strategy","street","strike","strong","struggle","student","stuff","stumble","style","subject","submit","subway","success","such","sudden","suffer","sugar","suggest","suit","summer","sun","sunny","sunset","super","supply","supreme","sure","surface","surge","surprise","surround","survey","suspect","sustain","swallow","swamp","swap","swarm","swear","sweet","swift","swim","swing","switch","sword","symbol","symptom","syrup","system","table","tackle","tag","tail","talent","talk","tank","tape","target","task","taste","tattoo","taxi","teach","team","tell","ten","tenant","tennis","tent","term","test","text","thank","that","theme","then","theory","there","they","thing","this","thought","three","thrive","throw","thumb","thunder","ticket","tide","tiger","tilt","timber","time","tiny","tip","tired","tissue","title","toast","tobacco","today","toddler","toe","together","toilet","token","tomato","tomorrow","tone","tongue","tonight","tool","tooth","top","topic","topple","torch","tornado","tortoise","toss","total","tourist","toward","tower","town","toy","track","trade","traffic","tragic","train","transfer","trap","trash","travel","tray","treat","tree","trend","trial","tribe","trick","trigger","trim","trip","trophy","trouble","truck","true","truly","trumpet","trust","truth","try","tube","tuition","tumble","tuna","tunnel","turkey","turn","turtle","twelve","twenty","twice","twin","twist","two","type","typical","ugly","umbrella","unable","unaware","uncle","uncover","under","undo","unfair","unfold","unhappy","uniform","unique","unit","universe","unknown","unlock","until","unusual","unveil","update","upgrade","uphold","upon","upper","upset","urban","urge","usage","use","used","useful","useless","usual","utility","vacant","vacuum","vague","valid","valley","valve","van","vanish","vapor","various","vast","vault","vehicle","velvet","vendor","venture","venue","verb","verify","version","very","vessel","veteran","viable","vibrant","vicious","victory","video","view","village","vintage","violin","virtual","virus","visa","visit","visual","vital","vivid","vocal","voice","void","volcano","volume","vote","voyage","wage","wagon","wait","walk","wall","walnut","want","warfare","warm","warrior","wash","wasp","waste","water","wave","way","wealth","weapon","wear","weasel","weather","web","wedding","weekend","weird","welcome","west","wet","whale","what","wheat","wheel","when","where","whip","whisper","wide","width","wife","wild","will","win","window","wine","wing","wink","winner","winter","wire","wisdom","wise","wish","witness","wolf","woman","wonder","wood","wool","word","work","world","worry","worth","wrap","wreck","wrestle","wrist","write","wrong","yard","year","yellow","you","young","youth","zebra","zero","zone","zoo"]; b.exports=d},{}],17:[function(a,b,c){"use string";var d=["abaisser","abandon","abdiquer","abeille","abolir","aborder","aboutir","aboyer","abrasif","abreuver","abriter","abroger","abrupt","absence","absolu","absurde","abusif","abyssal","académie","acajou","acarien","accabler","accepter","acclamer","accolade","accroche","accuser","acerbe","achat","acheter","aciduler","acier","acompte","acquérir","acronyme","acteur","actif","actuel","adepte","adéquat","adhésif","adjectif","adjuger","admettre","admirer","adopter","adorer","adoucir","adresse","adroit","adulte","adverbe","aérer","aéronef","affaire","affecter","affiche","affreux","affubler","agacer","agencer","agile","agiter","agrafer","agréable","agrume","aider","aiguille","ailier","aimable","aisance","ajouter","ajuster","alarmer","alchimie","alerte","algèbre","algue","aliéner","aliment","alléger","alliage","allouer","allumer","alourdir","alpaga","altesse","alvéole","amateur","ambigu","ambre","aménager","amertume","amidon","amiral","amorcer","amour","amovible","amphibie","ampleur","amusant","analyse","anaphore","anarchie","anatomie","ancien","anéantir","angle","angoisse","anguleux","animal","annexer","annonce","annuel","anodin","anomalie","anonyme","anormal","antenne","antidote","anxieux","apaiser","apéritif","aplanir","apologie","appareil","appeler","apporter","appuyer","aquarium","aqueduc","arbitre","arbuste","ardeur","ardoise","argent","arlequin","armature","armement","armoire","armure","arpenter","arracher","arriver","arroser","arsenic","artériel","article","aspect","asphalte","aspirer","assaut","asservir","assiette","associer","assurer","asticot","astre","astuce","atelier","atome","atrium","atroce","attaque","attentif","attirer","attraper","aubaine","auberge","audace","audible","augurer","aurore","automne","autruche","avaler","avancer","avarice","avenir","averse","aveugle","aviateur","avide","avion","aviser","avoine","avouer","avril","axial","axiome","badge","bafouer","bagage","baguette","baignade","balancer","balcon","baleine","balisage","bambin","bancaire","bandage","banlieue","bannière","banquier","barbier","baril","baron","barque","barrage","bassin","bastion","bataille","bateau","batterie","baudrier","bavarder","belette","bélier","belote","bénéfice","berceau","berger","berline","bermuda","besace","besogne","bétail","beurre","biberon","bicycle","bidule","bijou","bilan","bilingue","billard","binaire","biologie","biopsie","biotype","biscuit","bison","bistouri","bitume","bizarre","blafard","blague","blanchir","blessant","blinder","blond","bloquer","blouson","bobard","bobine","boire","boiser","bolide","bonbon","bondir","bonheur","bonifier","bonus","bordure","borne","botte","boucle","boueux","bougie","boulon","bouquin","bourse","boussole","boutique","boxeur","branche","brasier","brave","brebis","brèche","breuvage","bricoler","brigade","brillant","brioche","brique","brochure","broder","bronzer","brousse","broyeur","brume","brusque","brutal","bruyant","buffle","buisson","bulletin","bureau","burin","bustier","butiner","butoir","buvable","buvette","cabanon","cabine","cachette","cadeau","cadre","caféine","caillou","caisson","calculer","calepin","calibre","calmer","calomnie","calvaire","camarade","caméra","camion","campagne","canal","caneton","canon","cantine","canular","capable","caporal","caprice","capsule","capter","capuche","carabine","carbone","caresser","caribou","carnage","carotte","carreau","carton","cascade","casier","casque","cassure","causer","caution","cavalier","caverne","caviar","cédille","ceinture","céleste","cellule","cendrier","censurer","central","cercle","cérébral","cerise","cerner","cerveau","cesser","chagrin","chaise","chaleur","chambre","chance","chapitre","charbon","chasseur","chaton","chausson","chavirer","chemise","chenille","chéquier","chercher","cheval","chien","chiffre","chignon","chimère","chiot","chlorure","chocolat","choisir","chose","chouette","chrome","chute","cigare","cigogne","cimenter","cinéma","cintrer","circuler","cirer","cirque","citerne","citoyen","citron","civil","clairon","clameur","claquer","classe","clavier","client","cligner","climat","clivage","cloche","clonage","cloporte","cobalt","cobra","cocasse","cocotier","coder","codifier","coffre","cogner","cohésion","coiffer","coincer","colère","colibri","colline","colmater","colonel","combat","comédie","commande","compact","concert","conduire","confier","congeler","connoter","consonne","contact","convexe","copain","copie","corail","corbeau","cordage","corniche","corpus","correct","cortège","cosmique","costume","coton","coude","coupure","courage","couteau","couvrir","coyote","crabe","crainte","cravate","crayon","créature","créditer","crémeux","creuser","crevette","cribler","crier","cristal","critère","croire","croquer","crotale","crucial","cruel","crypter","cubique","cueillir","cuillère","cuisine","cuivre","culminer","cultiver","cumuler","cupide","curatif","curseur","cyanure","cycle","cylindre","cynique","daigner","damier","danger","danseur","dauphin","débattre","débiter","déborder","débrider","débutant","décaler","décembre","déchirer","décider","déclarer","décorer","décrire","décupler","dédale","déductif","déesse","défensif","défiler","défrayer","dégager","dégivrer","déglutir","dégrafer","déjeuner","délice","déloger","demander","demeurer","démolir","dénicher","dénouer","dentelle","dénuder","départ","dépenser","déphaser","déplacer","déposer","déranger","dérober","désastre","descente","désert","désigner","désobéir","dessiner","destrier","détacher","détester","détourer","détresse","devancer","devenir","deviner","devoir","diable","dialogue","diamant","dicter","différer","digérer","digital","digne","diluer","dimanche","diminuer","dioxyde","directif","diriger","discuter","disposer","dissiper","distance","divertir","diviser","docile","docteur","dogme","doigt","domaine","domicile","dompter","donateur","donjon","donner","dopamine","dortoir","dorure","dosage","doseur","dossier","dotation","douanier","double","douceur","douter","doyen","dragon","draper","dresser","dribbler","droiture","duperie","duplexe","durable","durcir","dynastie","éblouir","écarter","écharpe","échelle","éclairer","éclipse","éclore","écluse","école","économie","écorce","écouter","écraser","écrémer","écrivain","écrou","écume","écureuil","édifier","éduquer","effacer","effectif","effigie","effort","effrayer","effusion","égaliser","égarer","éjecter","élaborer","élargir","électron","élégant","éléphant","élève","éligible","élitisme","éloge","élucider","éluder","emballer","embellir","embryon","émeraude","émission","emmener","émotion","émouvoir","empereur","employer","emporter","emprise","émulsion","encadrer","enchère","enclave","encoche","endiguer","endosser","endroit","enduire","énergie","enfance","enfermer","enfouir","engager","engin","englober","énigme","enjamber","enjeu","enlever","ennemi","ennuyeux","enrichir","enrobage","enseigne","entasser","entendre","entier","entourer","entraver","énumérer","envahir","enviable","envoyer","enzyme","éolien","épaissir","épargne","épatant","épaule","épicerie","épidémie","épier","épilogue","épine","épisode","épitaphe","époque","épreuve","éprouver","épuisant","équerre","équipe","ériger","érosion","erreur","éruption","escalier","espadon","espèce","espiègle","espoir","esprit","esquiver","essayer","essence","essieu","essorer","estime","estomac","estrade","étagère","étaler","étanche","étatique","éteindre","étendoir","éternel","éthanol","éthique","ethnie","étirer","étoffer","étoile","étonnant","étourdir","étrange","étroit","étude","euphorie","évaluer","évasion","éventail","évidence","éviter","évolutif","évoquer","exact","exagérer","exaucer","exceller","excitant","exclusif","excuse","exécuter","exemple","exercer","exhaler","exhorter","exigence","exiler","exister","exotique","expédier","explorer","exposer","exprimer","exquis","extensif","extraire","exulter","fable","fabuleux","facette","facile","facture","faiblir","falaise","fameux","famille","farceur","farfelu","farine","farouche","fasciner","fatal","fatigue","faucon","fautif","faveur","favori","fébrile","féconder","fédérer","félin","femme","fémur","fendoir","féodal","fermer","féroce","ferveur","festival","feuille","feutre","février","fiasco","ficeler","fictif","fidèle","figure","filature","filetage","filière","filleul","filmer","filou","filtrer","financer","finir","fiole","firme","fissure","fixer","flairer","flamme","flasque","flatteur","fléau","flèche","fleur","flexion","flocon","flore","fluctuer","fluide","fluvial","folie","fonderie","fongible","fontaine","forcer","forgeron","formuler","fortune","fossile","foudre","fougère","fouiller","foulure","fourmi","fragile","fraise","franchir","frapper","frayeur","frégate","freiner","frelon","frémir","frénésie","frère","friable","friction","frisson","frivole","froid","fromage","frontal","frotter","fruit","fugitif","fuite","fureur","furieux","furtif","fusion","futur","gagner","galaxie","galerie","gambader","garantir","gardien","garnir","garrigue","gazelle","gazon","géant","gélatine","gélule","gendarme","général","génie","genou","gentil","géologie","géomètre","géranium","germe","gestuel","geyser","gibier","gicler","girafe","givre","glace","glaive","glisser","globe","gloire","glorieux","golfeur","gomme","gonfler","gorge","gorille","goudron","gouffre","goulot","goupille","gourmand","goutte","graduel","graffiti","graine","grand","grappin","gratuit","gravir","grenat","griffure","griller","grimper","grogner","gronder","grotte","groupe","gruger","grutier","gruyère","guépard","guerrier","guide","guimauve","guitare","gustatif","gymnaste","gyrostat","habitude","hachoir","halte","hameau","hangar","hanneton","haricot","harmonie","harpon","hasard","hélium","hématome","herbe","hérisson","hermine","héron","hésiter","heureux","hiberner","hibou","hilarant","histoire","hiver","homard","hommage","homogène","honneur","honorer","honteux","horde","horizon","horloge","hormone","horrible","houleux","housse","hublot","huileux","humain","humble","humide","humour","hurler","hydromel","hygiène","hymne","hypnose","idylle","ignorer","iguane","illicite","illusion","image","imbiber","imiter","immense","immobile","immuable","impact","impérial","implorer","imposer","imprimer","imputer","incarner","incendie","incident","incliner","incolore","indexer","indice","inductif","inédit","ineptie","inexact","infini","infliger","informer","infusion","ingérer","inhaler","inhiber","injecter","injure","innocent","inoculer","inonder","inscrire","insecte","insigne","insolite","inspirer","instinct","insulter","intact","intense","intime","intrigue","intuitif","inutile","invasion","inventer","inviter","invoquer","ironique","irradier","irréel","irriter","isoler","ivoire","ivresse","jaguar","jaillir","jambe","janvier","jardin","jauger","jaune","javelot","jetable","jeton","jeudi","jeunesse","joindre","joncher","jongler","joueur","jouissif","journal","jovial","joyau","joyeux","jubiler","jugement","junior","jupon","juriste","justice","juteux","juvénile","kayak","kimono","kiosque","label","labial","labourer","lacérer","lactose","lagune","laine","laisser","laitier","lambeau","lamelle","lampe","lanceur","langage","lanterne","lapin","largeur","larme","laurier","lavabo","lavoir","lecture","légal","léger","légume","lessive","lettre","levier","lexique","lézard","liasse","libérer","libre","licence","licorne","liège","lièvre","ligature","ligoter","ligue","limer","limite","limonade","limpide","linéaire","lingot","lionceau","liquide","lisière","lister","lithium","litige","littoral","livreur","logique","lointain","loisir","lombric","loterie","louer","lourd","loutre","louve","loyal","lubie","lucide","lucratif","lueur","lugubre","luisant","lumière","lunaire","lundi","luron","lutter","luxueux","machine","magasin","magenta","magique","maigre","maillon","maintien","mairie","maison","majorer","malaxer","maléfice","malheur","malice","mallette","mammouth","mandater","maniable","manquant","manteau","manuel","marathon","marbre","marchand","mardi","maritime","marqueur","marron","marteler","mascotte","massif","matériel","matière","matraque","maudire","maussade","mauve","maximal","méchant","méconnu","médaille","médecin","méditer","méduse","meilleur","mélange","mélodie","membre","mémoire","menacer","mener","menhir","mensonge","mentor","mercredi","mérite","merle","messager","mesure","métal","météore","méthode","métier","meuble","miauler","microbe","miette","mignon","migrer","milieu","million","mimique","mince","minéral","minimal","minorer","minute","miracle","miroiter","missile","mixte","mobile","moderne","moelleux","mondial","moniteur","monnaie","monotone","monstre","montagne","monument","moqueur","morceau","morsure","mortier","moteur","motif","mouche","moufle","moulin","mousson","mouton","mouvant","multiple","munition","muraille","murène","murmure","muscle","muséum","musicien","mutation","muter","mutuel","myriade","myrtille","mystère","mythique","nageur","nappe","narquois","narrer","natation","nation","nature","naufrage","nautique","navire","nébuleux","nectar","néfaste","négation","négliger","négocier","neige","nerveux","nettoyer","neurone","neutron","neveu","niche","nickel","nitrate","niveau","noble","nocif","nocturne","noirceur","noisette","nomade","nombreux","nommer","normatif","notable","notifier","notoire","nourrir","nouveau","novateur","novembre","novice","nuage","nuancer","nuire","nuisible","numéro","nuptial","nuque","nutritif","obéir","objectif","obliger","obscur","observer","obstacle","obtenir","obturer","occasion","occuper","océan","octobre","octroyer","octupler","oculaire","odeur","odorant","offenser","officier","offrir","ogive","oiseau","oisillon","olfactif","olivier","ombrage","omettre","onctueux","onduler","onéreux","onirique","opale","opaque","opérer","opinion","opportun","opprimer","opter","optique","orageux","orange","orbite","ordonner","oreille","organe","orgueil","orifice","ornement","orque","ortie","osciller","osmose","ossature","otarie","ouragan","ourson","outil","outrager","ouvrage","ovation","oxyde","oxygène","ozone","paisible","palace","palmarès","palourde","palper","panache","panda","pangolin","paniquer","panneau","panorama","pantalon","papaye","papier","papoter","papyrus","paradoxe","parcelle","paresse","parfumer","parler","parole","parrain","parsemer","partager","parure","parvenir","passion","pastèque","paternel","patience","patron","pavillon","pavoiser","payer","paysage","peigne","peintre","pelage","pélican","pelle","pelouse","peluche","pendule","pénétrer","pénible","pensif","pénurie","pépite","péplum","perdrix","perforer","période","permuter","perplexe","persil","perte","peser","pétale","petit","pétrir","peuple","pharaon","phobie","phoque","photon","phrase","physique","piano","pictural","pièce","pierre","pieuvre","pilote","pinceau","pipette","piquer","pirogue","piscine","piston","pivoter","pixel","pizza","placard","plafond","plaisir","planer","plaque","plastron","plateau","pleurer","plexus","pliage","plomb","plonger","pluie","plumage","pochette","poésie","poète","pointe","poirier","poisson","poivre","polaire","policier","pollen","polygone","pommade","pompier","ponctuel","pondérer","poney","portique","position","posséder","posture","potager","poteau","potion","pouce","poulain","poumon","pourpre","poussin","pouvoir","prairie","pratique","précieux","prédire","préfixe","prélude","prénom","présence","prétexte","prévoir","primitif","prince","prison","priver","problème","procéder","prodige","profond","progrès","proie","projeter","prologue","promener","propre","prospère","protéger","prouesse","proverbe","prudence","pruneau","psychose","public","puceron","puiser","pulpe","pulsar","punaise","punitif","pupitre","purifier","puzzle","pyramide","quasar","querelle","question","quiétude","quitter","quotient","racine","raconter","radieux","ragondin","raideur","raisin","ralentir","rallonge","ramasser","rapide","rasage","ratisser","ravager","ravin","rayonner","réactif","réagir","réaliser","réanimer","recevoir","réciter","réclamer","récolter","recruter","reculer","recycler","rédiger","redouter","refaire","réflexe","réformer","refrain","refuge","régalien","région","réglage","régulier","réitérer","rejeter","rejouer","relatif","relever","relief","remarque","remède","remise","remonter","remplir","remuer","renard","renfort","renifler","renoncer","rentrer","renvoi","replier","reporter","reprise","reptile","requin","réserve","résineux","résoudre","respect","rester","résultat","rétablir","retenir","réticule","retomber","retracer","réunion","réussir","revanche","revivre","révolte","révulsif","richesse","rideau","rieur","rigide","rigoler","rincer","riposter","risible","risque","rituel","rival","rivière","rocheux","romance","rompre","ronce","rondin","roseau","rosier","rotatif","rotor","rotule","rouge","rouille","rouleau","routine","royaume","ruban","rubis","ruche","ruelle","rugueux","ruiner","ruisseau","ruser","rustique","rythme","sabler","saboter","sabre","sacoche","safari","sagesse","saisir","salade","salive","salon","saluer","samedi","sanction","sanglier","sarcasme","sardine","saturer","saugrenu","saumon","sauter","sauvage","savant","savonner","scalpel","scandale","scélérat","scénario","sceptre","schéma","science","scinder","score","scrutin","sculpter","séance","sécable","sécher","secouer","sécréter","sédatif","séduire","seigneur","séjour","sélectif","semaine","sembler","semence","séminal","sénateur","sensible","sentence","séparer","séquence","serein","sergent","sérieux","serrure","sérum","service","sésame","sévir","sevrage","sextuple","sidéral","siècle","siéger","siffler","sigle","signal","silence","silicium","simple","sincère","sinistre","siphon","sirop","sismique","situer","skier","social","socle","sodium","soigneux","soldat","soleil","solitude","soluble","sombre","sommeil","somnoler","sonde","songeur","sonnette","sonore","sorcier","sortir","sosie","sottise","soucieux","soudure","souffle","soulever","soupape","source","soutirer","souvenir","spacieux","spatial","spécial","sphère","spiral","stable","station","sternum","stimulus","stipuler","strict","studieux","stupeur","styliste","sublime","substrat","subtil","subvenir","succès","sucre","suffixe","suggérer","suiveur","sulfate","superbe","supplier","surface","suricate","surmener","surprise","sursaut","survie","suspect","syllabe","symbole","symétrie","synapse","syntaxe","système","tabac","tablier","tactile","tailler","talent","talisman","talonner","tambour","tamiser","tangible","tapis","taquiner","tarder","tarif","tartine","tasse","tatami","tatouage","taupe","taureau","taxer","témoin","temporel","tenaille","tendre","teneur","tenir","tension","terminer","terne","terrible","tétine","texte","thème","théorie","thérapie","thorax","tibia","tiède","timide","tirelire","tiroir","tissu","titane","titre","tituber","toboggan","tolérant","tomate","tonique","tonneau","toponyme","torche","tordre","tornade","torpille","torrent","torse","tortue","totem","toucher","tournage","tousser","toxine","traction","trafic","tragique","trahir","train","trancher","travail","trèfle","tremper","trésor","treuil","triage","tribunal","tricoter","trilogie","triomphe","tripler","triturer","trivial","trombone","tronc","tropical","troupeau","tuile","tulipe","tumulte","tunnel","turbine","tuteur","tutoyer","tuyau","tympan","typhon","typique","tyran","ubuesque","ultime","ultrason","unanime","unifier","union","unique","unitaire","univers","uranium","urbain","urticant","usage","usine","usuel","usure","utile","utopie","vacarme","vaccin","vagabond","vague","vaillant","vaincre","vaisseau","valable","valise","vallon","valve","vampire","vanille","vapeur","varier","vaseux","vassal","vaste","vecteur","vedette","végétal","véhicule","veinard","véloce","vendredi","vénérer","venger","venimeux","ventouse","verdure","vérin","vernir","verrou","verser","vertu","veston","vétéran","vétuste","vexant","vexer","viaduc","viande","victoire","vidange","vidéo","vignette","vigueur","vilain","village","vinaigre","violon","vipère","virement","virtuose","virus","visage","viseur","vision","visqueux","visuel","vital","vitesse","viticole","vitrine","vivace","vivipare","vocation","voguer","voile","voisin","voiture","volaille","volcan","voltiger","volume","vorace","vortex","voter","vouloir","voyage","voyelle","wagon","xénon","yacht","zèbre","zénith","zeste","zoologie"];b.exports=d},{}],18:[function(a,b,c){b.exports={CHINESE:a("./chinese"),ENGLISH:a("./english"),FRENCH:a("./french"),JAPANESE:a("./japanese"),SPANISH:a("./spanish")}},{"./chinese":15,"./english":16,"./french":17,"./japanese":19,"./spanish":20}],19:[function(a,b,c){"use strict";var d=["あいこくしん","あいさつ","あいだ","あおぞら","あかちゃん","あきる","あけがた","あける","あこがれる","あさい","あさひ","あしあと","あじわう","あずかる","あずき","あそぶ","あたえる","あたためる","あたりまえ","あたる","あつい","あつかう","あっしゅく","あつまり","あつめる","あてな","あてはまる","あひる","あぶら","あぶる","あふれる","あまい","あまど","あまやかす","あまり","あみもの","あめりか","あやまる","あゆむ","あらいぐま","あらし","あらすじ","あらためる","あらゆる","あらわす","ありがとう","あわせる","あわてる","あんい","あんがい","あんこ","あんぜん","あんてい","あんない","あんまり","いいだす","いおん","いがい","いがく","いきおい","いきなり","いきもの","いきる","いくじ","いくぶん","いけばな","いけん","いこう","いこく","いこつ","いさましい","いさん","いしき","いじゅう","いじょう","いじわる","いずみ","いずれ","いせい","いせえび","いせかい","いせき","いぜん","いそうろう","いそがしい","いだい","いだく","いたずら","いたみ","いたりあ","いちおう","いちじ","いちど","いちば","いちぶ","いちりゅう","いつか","いっしゅん","いっせい","いっそう","いったん","いっち","いってい","いっぽう","いてざ","いてん","いどう","いとこ","いない","いなか","いねむり","いのち","いのる","いはつ","いばる","いはん","いびき","いひん","いふく","いへん","いほう","いみん","いもうと","いもたれ","いもり","いやがる","いやす","いよかん","いよく","いらい","いらすと","いりぐち","いりょう","いれい","いれもの","いれる","いろえんぴつ","いわい","いわう","いわかん","いわば","いわゆる","いんげんまめ","いんさつ","いんしょう","いんよう","うえき","うえる","うおざ","うがい","うかぶ","うかべる","うきわ","うくらいな","うくれれ","うけたまわる","うけつけ","うけとる","うけもつ","うける","うごかす","うごく","うこん","うさぎ","うしなう","うしろがみ","うすい","うすぎ","うすぐらい","うすめる","うせつ","うちあわせ","うちがわ","うちき","うちゅう","うっかり","うつくしい","うったえる","うつる","うどん","うなぎ","うなじ","うなずく","うなる","うねる","うのう","うぶげ","うぶごえ","うまれる","うめる","うもう","うやまう","うよく","うらがえす","うらぐち","うらない","うりあげ","うりきれ","うるさい","うれしい","うれゆき","うれる","うろこ","うわき","うわさ","うんこう","うんちん","うんてん","うんどう","えいえん","えいが","えいきょう","えいご","えいせい","えいぶん","えいよう","えいわ","えおり","えがお","えがく","えきたい","えくせる","えしゃく","えすて","えつらん","えのぐ","えほうまき","えほん","えまき","えもじ","えもの","えらい","えらぶ","えりあ","えんえん","えんかい","えんぎ","えんげき","えんしゅう","えんぜつ","えんそく","えんちょう","えんとつ","おいかける","おいこす","おいしい","おいつく","おうえん","おうさま","おうじ","おうせつ","おうたい","おうふく","おうべい","おうよう","おえる","おおい","おおう","おおどおり","おおや","おおよそ","おかえり","おかず","おがむ","おかわり","おぎなう","おきる","おくさま","おくじょう","おくりがな","おくる","おくれる","おこす","おこなう","おこる","おさえる","おさない","おさめる","おしいれ","おしえる","おじぎ","おじさん","おしゃれ","おそらく","おそわる","おたがい","おたく","おだやか","おちつく","おっと","おつり","おでかけ","おとしもの","おとなしい","おどり","おどろかす","おばさん","おまいり","おめでとう","おもいで","おもう","おもたい","おもちゃ","おやつ","おやゆび","およぼす","おらんだ","おろす","おんがく","おんけい","おんしゃ","おんせん","おんだん","おんちゅう","おんどけい","かあつ","かいが","がいき","がいけん","がいこう","かいさつ","かいしゃ","かいすいよく","かいぜん","かいぞうど","かいつう","かいてん","かいとう","かいふく","がいへき","かいほう","かいよう","がいらい","かいわ","かえる","かおり","かかえる","かがく","かがし","かがみ","かくご","かくとく","かざる","がぞう","かたい","かたち","がちょう","がっきゅう","がっこう","がっさん","がっしょう","かなざわし","かのう","がはく","かぶか","かほう","かほご","かまう","かまぼこ","かめれおん","かゆい","かようび","からい","かるい","かろう","かわく","かわら","がんか","かんけい","かんこう","かんしゃ","かんそう","かんたん","かんち","がんばる","きあい","きあつ","きいろ","ぎいん","きうい","きうん","きえる","きおう","きおく","きおち","きおん","きかい","きかく","きかんしゃ","ききて","きくばり","きくらげ","きけんせい","きこう","きこえる","きこく","きさい","きさく","きさま","きさらぎ","ぎじかがく","ぎしき","ぎじたいけん","ぎじにってい","ぎじゅつしゃ","きすう","きせい","きせき","きせつ","きそう","きぞく","きぞん","きたえる","きちょう","きつえん","ぎっちり","きつつき","きつね","きてい","きどう","きどく","きない","きなが","きなこ","きぬごし","きねん","きのう","きのした","きはく","きびしい","きひん","きふく","きぶん","きぼう","きほん","きまる","きみつ","きむずかしい","きめる","きもだめし","きもち","きもの","きゃく","きやく","ぎゅうにく","きよう","きょうりゅう","きらい","きらく","きりん","きれい","きれつ","きろく","ぎろん","きわめる","ぎんいろ","きんかくじ","きんじょ","きんようび","ぐあい","くいず","くうかん","くうき","くうぐん","くうこう","ぐうせい","くうそう","ぐうたら","くうふく","くうぼ","くかん","くきょう","くげん","ぐこう","くさい","くさき","くさばな","くさる","くしゃみ","くしょう","くすのき","くすりゆび","くせげ","くせん","ぐたいてき","くださる","くたびれる","くちこみ","くちさき","くつした","ぐっすり","くつろぐ","くとうてん","くどく","くなん","くねくね","くのう","くふう","くみあわせ","くみたてる","くめる","くやくしょ","くらす","くらべる","くるま","くれる","くろう","くわしい","ぐんかん","ぐんしょく","ぐんたい","ぐんて","けあな","けいかく","けいけん","けいこ","けいさつ","げいじゅつ","けいたい","げいのうじん","けいれき","けいろ","けおとす","けおりもの","げきか","げきげん","げきだん","げきちん","げきとつ","げきは","げきやく","げこう","げこくじょう","げざい","けさき","げざん","けしき","けしごむ","けしょう","げすと","けたば","けちゃっぷ","けちらす","けつあつ","けつい","けつえき","けっこん","けつじょ","けっせき","けってい","けつまつ","げつようび","げつれい","けつろん","げどく","けとばす","けとる","けなげ","けなす","けなみ","けぬき","げねつ","けねん","けはい","げひん","けぶかい","げぼく","けまり","けみかる","けむし","けむり","けもの","けらい","けろけろ","けわしい","けんい","けんえつ","けんお","けんか","げんき","けんげん","けんこう","けんさく","けんしゅう","けんすう","げんそう","けんちく","けんてい","けんとう","けんない","けんにん","げんぶつ","けんま","けんみん","けんめい","けんらん","けんり","こあくま","こいぬ","こいびと","ごうい","こうえん","こうおん","こうかん","ごうきゅう","ごうけい","こうこう","こうさい","こうじ","こうすい","ごうせい","こうそく","こうたい","こうちゃ","こうつう","こうてい","こうどう","こうない","こうはい","ごうほう","ごうまん","こうもく","こうりつ","こえる","こおり","ごかい","ごがつ","ごかん","こくご","こくさい","こくとう","こくない","こくはく","こぐま","こけい","こける","ここのか","こころ","こさめ","こしつ","こすう","こせい","こせき","こぜん","こそだて","こたい","こたえる","こたつ","こちょう","こっか","こつこつ","こつばん","こつぶ","こてい","こてん","ことがら","ことし","ことば","ことり","こなごな","こねこね","このまま","このみ","このよ","ごはん","こひつじ","こふう","こふん","こぼれる","ごまあぶら","こまかい","ごますり","こまつな","こまる","こむぎこ","こもじ","こもち","こもの","こもん","こやく","こやま","こゆう","こゆび","こよい","こよう","こりる","これくしょん","ころっけ","こわもて","こわれる","こんいん","こんかい","こんき","こんしゅう","こんすい","こんだて","こんとん","こんなん","こんびに","こんぽん","こんまけ","こんや","こんれい","こんわく","ざいえき","さいかい","さいきん","ざいげん","ざいこ","さいしょ","さいせい","ざいたく","ざいちゅう","さいてき","ざいりょう","さうな","さかいし","さがす","さかな","さかみち","さがる","さぎょう","さくし","さくひん","さくら","さこく","さこつ","さずかる","ざせき","さたん","さつえい","ざつおん","ざっか","ざつがく","さっきょく","ざっし","さつじん","ざっそう","さつたば","さつまいも","さてい","さといも","さとう","さとおや","さとし","さとる","さのう","さばく","さびしい","さべつ","さほう","さほど","さます","さみしい","さみだれ","さむけ","さめる","さやえんどう","さゆう","さよう","さよく","さらだ","ざるそば","さわやか","さわる","さんいん","さんか","さんきゃく","さんこう","さんさい","ざんしょ","さんすう","さんせい","さんそ","さんち","さんま","さんみ","さんらん","しあい","しあげ","しあさって","しあわせ","しいく","しいん","しうち","しえい","しおけ","しかい","しかく","じかん","しごと","しすう","じだい","したうけ","したぎ","したて","したみ","しちょう","しちりん","しっかり","しつじ","しつもん","してい","してき","してつ","じてん","じどう","しなぎれ","しなもの","しなん","しねま","しねん","しのぐ","しのぶ","しはい","しばかり","しはつ","しはらい","しはん","しひょう","しふく","じぶん","しへい","しほう","しほん","しまう","しまる","しみん","しむける","じむしょ","しめい","しめる","しもん","しゃいん","しゃうん","しゃおん","じゃがいも","しやくしょ","しゃくほう","しゃけん","しゃこ","しゃざい","しゃしん","しゃせん","しゃそう","しゃたい","しゃちょう","しゃっきん","じゃま","しゃりん","しゃれい","じゆう","じゅうしょ","しゅくはく","じゅしん","しゅっせき","しゅみ","しゅらば","じゅんばん","しょうかい","しょくたく","しょっけん","しょどう","しょもつ","しらせる","しらべる","しんか","しんこう","じんじゃ","しんせいじ","しんちく","しんりん","すあげ","すあし","すあな","ずあん","すいえい","すいか","すいとう","ずいぶん","すいようび","すうがく","すうじつ","すうせん","すおどり","すきま","すくう","すくない","すける","すごい","すこし","ずさん","すずしい","すすむ","すすめる","すっかり","ずっしり","ずっと","すてき","すてる","すねる","すのこ","すはだ","すばらしい","ずひょう","ずぶぬれ","すぶり","すふれ","すべて","すべる","ずほう","すぼん","すまい","すめし","すもう","すやき","すらすら","するめ","すれちがう","すろっと","すわる","すんぜん","すんぽう","せあぶら","せいかつ","せいげん","せいじ","せいよう","せおう","せかいかん","せきにん","せきむ","せきゆ","せきらんうん","せけん","せこう","せすじ","せたい","せたけ","せっかく","せっきゃく","ぜっく","せっけん","せっこつ","せっさたくま","せつぞく","せつだん","せつでん","せっぱん","せつび","せつぶん","せつめい","せつりつ","せなか","せのび","せはば","せびろ","せぼね","せまい","せまる","せめる","せもたれ","せりふ","ぜんあく","せんい","せんえい","せんか","せんきょ","せんく","せんげん","ぜんご","せんさい","せんしゅ","せんすい","せんせい","せんぞ","せんたく","せんちょう","せんてい","せんとう","せんぬき","せんねん","せんぱい","ぜんぶ","ぜんぽう","せんむ","せんめんじょ","せんもん","せんやく","せんゆう","せんよう","ぜんら","ぜんりゃく","せんれい","せんろ","そあく","そいとげる","そいね","そうがんきょう","そうき","そうご","そうしん","そうだん","そうなん","そうび","そうめん","そうり","そえもの","そえん","そがい","そげき","そこう","そこそこ","そざい","そしな","そせい","そせん","そそぐ","そだてる","そつう","そつえん","そっかん","そつぎょう","そっけつ","そっこう","そっせん","そっと","そとがわ","そとづら","そなえる","そなた","そふぼ","そぼく","そぼろ","そまつ","そまる","そむく","そむりえ","そめる","そもそも","そよかぜ","そらまめ","そろう","そんかい","そんけい","そんざい","そんしつ","そんぞく","そんちょう","ぞんび","ぞんぶん","そんみん","たあい","たいいん","たいうん","たいえき","たいおう","だいがく","たいき","たいぐう","たいけん","たいこ","たいざい","だいじょうぶ","だいすき","たいせつ","たいそう","だいたい","たいちょう","たいてい","だいどころ","たいない","たいねつ","たいのう","たいはん","だいひょう","たいふう","たいへん","たいほ","たいまつばな","たいみんぐ","たいむ","たいめん","たいやき","たいよう","たいら","たいりょく","たいる","たいわん","たうえ","たえる","たおす","たおる","たおれる","たかい","たかね","たきび","たくさん","たこく","たこやき","たさい","たしざん","だじゃれ","たすける","たずさわる","たそがれ","たたかう","たたく","ただしい","たたみ","たちばな","だっかい","だっきゃく","だっこ","だっしゅつ","だったい","たてる","たとえる","たなばた","たにん","たぬき","たのしみ","たはつ","たぶん","たべる","たぼう","たまご","たまる","だむる","ためいき","ためす","ためる","たもつ","たやすい","たよる","たらす","たりきほんがん","たりょう","たりる","たると","たれる","たれんと","たろっと","たわむれる","だんあつ","たんい","たんおん","たんか","たんき","たんけん","たんご","たんさん","たんじょうび","だんせい","たんそく","たんたい","だんち","たんてい","たんとう","だんな","たんにん","だんねつ","たんのう","たんぴん","だんぼう","たんまつ","たんめい","だんれつ","だんろ","だんわ","ちあい","ちあん","ちいき","ちいさい","ちえん","ちかい","ちから","ちきゅう","ちきん","ちけいず","ちけん","ちこく","ちさい","ちしき","ちしりょう","ちせい","ちそう","ちたい","ちたん","ちちおや","ちつじょ","ちてき","ちてん","ちぬき","ちぬり","ちのう","ちひょう","ちへいせん","ちほう","ちまた","ちみつ","ちみどろ","ちめいど","ちゃんこなべ","ちゅうい","ちゆりょく","ちょうし","ちょさくけん","ちらし","ちらみ","ちりがみ","ちりょう","ちるど","ちわわ","ちんたい","ちんもく","ついか","ついたち","つうか","つうじょう","つうはん","つうわ","つかう","つかれる","つくね","つくる","つけね","つける","つごう","つたえる","つづく","つつじ","つつむ","つとめる","つながる","つなみ","つねづね","つのる","つぶす","つまらない","つまる","つみき","つめたい","つもり","つもる","つよい","つるぼ","つるみく","つわもの","つわり","てあし","てあて","てあみ","ていおん","ていか","ていき","ていけい","ていこく","ていさつ","ていし","ていせい","ていたい","ていど","ていねい","ていひょう","ていへん","ていぼう","てうち","ておくれ","てきとう","てくび","でこぼこ","てさぎょう","てさげ","てすり","てそう","てちがい","てちょう","てつがく","てつづき","でっぱ","てつぼう","てつや","でぬかえ","てぬき","てぬぐい","てのひら","てはい","てぶくろ","てふだ","てほどき","てほん","てまえ","てまきずし","てみじか","てみやげ","てらす","てれび","てわけ","てわたし","でんあつ","てんいん","てんかい","てんき","てんぐ","てんけん","てんごく","てんさい","てんし","てんすう","でんち","てんてき","てんとう","てんない","てんぷら","てんぼうだい","てんめつ","てんらんかい","でんりょく","でんわ","どあい","といれ","どうかん","とうきゅう","どうぐ","とうし","とうむぎ","とおい","とおか","とおく","とおす","とおる","とかい","とかす","ときおり","ときどき","とくい","とくしゅう","とくてん","とくに","とくべつ","とけい","とける","とこや","とさか","としょかん","とそう","とたん","とちゅう","とっきゅう","とっくん","とつぜん","とつにゅう","とどける","ととのえる","とない","となえる","となり","とのさま","とばす","どぶがわ","とほう","とまる","とめる","ともだち","ともる","どようび","とらえる","とんかつ","どんぶり","ないかく","ないこう","ないしょ","ないす","ないせん","ないそう","なおす","ながい","なくす","なげる","なこうど","なさけ","なたでここ","なっとう","なつやすみ","ななおし","なにごと","なにもの","なにわ","なのか","なふだ","なまいき","なまえ","なまみ","なみだ","なめらか","なめる","なやむ","ならう","ならび","ならぶ","なれる","なわとび","なわばり","にあう","にいがた","にうけ","におい","にかい","にがて","にきび","にくしみ","にくまん","にげる","にさんかたんそ","にしき","にせもの","にちじょう","にちようび","にっか","にっき","にっけい","にっこう","にっさん","にっしょく","にっすう","にっせき","にってい","になう","にほん","にまめ","にもつ","にやり","にゅういん","にりんしゃ","にわとり","にんい","にんか","にんき","にんげん","にんしき","にんずう","にんそう","にんたい","にんち","にんてい","にんにく","にんぷ","にんまり","にんむ","にんめい","にんよう","ぬいくぎ","ぬかす","ぬぐいとる","ぬぐう","ぬくもり","ぬすむ","ぬまえび","ぬめり","ぬらす","ぬんちゃく","ねあげ","ねいき","ねいる","ねいろ","ねぐせ","ねくたい","ねくら","ねこぜ","ねこむ","ねさげ","ねすごす","ねそべる","ねだん","ねつい","ねっしん","ねつぞう","ねったいぎょ","ねぶそく","ねふだ","ねぼう","ねほりはほり","ねまき","ねまわし","ねみみ","ねむい","ねむたい","ねもと","ねらう","ねわざ","ねんいり","ねんおし","ねんかん","ねんきん","ねんぐ","ねんざ","ねんし","ねんちゃく","ねんど","ねんぴ","ねんぶつ","ねんまつ","ねんりょう","ねんれい","のいず","のおづま","のがす","のきなみ","のこぎり","のこす","のこる","のせる","のぞく","のぞむ","のたまう","のちほど","のっく","のばす","のはら","のべる","のぼる","のみもの","のやま","のらいぬ","のらねこ","のりもの","のりゆき","のれん","のんき","ばあい","はあく","ばあさん","ばいか","ばいく","はいけん","はいご","はいしん","はいすい","はいせん","はいそう","はいち","ばいばい","はいれつ","はえる","はおる","はかい","ばかり","はかる","はくしゅ","はけん","はこぶ","はさみ","はさん","はしご","ばしょ","はしる","はせる","ぱそこん","はそん","はたん","はちみつ","はつおん","はっかく","はづき","はっきり","はっくつ","はっけん","はっこう","はっさん","はっしん","はったつ","はっちゅう","はってん","はっぴょう","はっぽう","はなす","はなび","はにかむ","はぶらし","はみがき","はむかう","はめつ","はやい","はやし","はらう","はろうぃん","はわい","はんい","はんえい","はんおん","はんかく","はんきょう","ばんぐみ","はんこ","はんしゃ","はんすう","はんだん","ぱんち","ぱんつ","はんてい","はんとし","はんのう","はんぱ","はんぶん","はんぺん","はんぼうき","はんめい","はんらん","はんろん","ひいき","ひうん","ひえる","ひかく","ひかり","ひかる","ひかん","ひくい","ひけつ","ひこうき","ひこく","ひさい","ひさしぶり","ひさん","びじゅつかん","ひしょ","ひそか","ひそむ","ひたむき","ひだり","ひたる","ひつぎ","ひっこし","ひっし","ひつじゅひん","ひっす","ひつぜん","ぴったり","ぴっちり","ひつよう","ひてい","ひとごみ","ひなまつり","ひなん","ひねる","ひはん","ひびく","ひひょう","ひほう","ひまわり","ひまん","ひみつ","ひめい","ひめじし","ひやけ","ひやす","ひよう","びょうき","ひらがな","ひらく","ひりつ","ひりょう","ひるま","ひるやすみ","ひれい","ひろい","ひろう","ひろき","ひろゆき","ひんかく","ひんけつ","ひんこん","ひんしゅ","ひんそう","ぴんち","ひんぱん","びんぼう","ふあん","ふいうち","ふうけい","ふうせん","ぷうたろう","ふうとう","ふうふ","ふえる","ふおん","ふかい","ふきん","ふくざつ","ふくぶくろ","ふこう","ふさい","ふしぎ","ふじみ","ふすま","ふせい","ふせぐ","ふそく","ぶたにく","ふたん","ふちょう","ふつう","ふつか","ふっかつ","ふっき","ふっこく","ぶどう","ふとる","ふとん","ふのう","ふはい","ふひょう","ふへん","ふまん","ふみん","ふめつ","ふめん","ふよう","ふりこ","ふりる","ふるい","ふんいき","ぶんがく","ぶんぐ","ふんしつ","ぶんせき","ふんそう","ぶんぽう","へいあん","へいおん","へいがい","へいき","へいげん","へいこう","へいさ","へいしゃ","へいせつ","へいそ","へいたく","へいてん","へいねつ","へいわ","へきが","へこむ","べにいろ","べにしょうが","へらす","へんかん","べんきょう","べんごし","へんさい","へんたい","べんり","ほあん","ほいく","ぼうぎょ","ほうこく","ほうそう","ほうほう","ほうもん","ほうりつ","ほえる","ほおん","ほかん","ほきょう","ぼきん","ほくろ","ほけつ","ほけん","ほこう","ほこる","ほしい","ほしつ","ほしゅ","ほしょう","ほせい","ほそい","ほそく","ほたて","ほたる","ぽちぶくろ","ほっきょく","ほっさ","ほったん","ほとんど","ほめる","ほんい","ほんき","ほんけ","ほんしつ","ほんやく","まいにち","まかい","まかせる","まがる","まける","まこと","まさつ","まじめ","ますく","まぜる","まつり","まとめ","まなぶ","まぬけ","まねく","まほう","まもる","まゆげ","まよう","まろやか","まわす","まわり","まわる","まんが","まんきつ","まんぞく","まんなか","みいら","みうち","みえる","みがく","みかた","みかん","みけん","みこん","みじかい","みすい","みすえる","みせる","みっか","みつかる","みつける","みてい","みとめる","みなと","みなみかさい","みねらる","みのう","みのがす","みほん","みもと","みやげ","みらい","みりょく","みわく","みんか","みんぞく","むいか","むえき","むえん","むかい","むかう","むかえ","むかし","むぎちゃ","むける","むげん","むさぼる","むしあつい","むしば","むじゅん","むしろ","むすう","むすこ","むすぶ","むすめ","むせる","むせん","むちゅう","むなしい","むのう","むやみ","むよう","むらさき","むりょう","むろん","めいあん","めいうん","めいえん","めいかく","めいきょく","めいさい","めいし","めいそう","めいぶつ","めいれい","めいわく","めぐまれる","めざす","めした","めずらしい","めだつ","めまい","めやす","めんきょ","めんせき","めんどう","もうしあげる","もうどうけん","もえる","もくし","もくてき","もくようび","もちろん","もどる","もらう","もんく","もんだい","やおや","やける","やさい","やさしい","やすい","やすたろう","やすみ","やせる","やそう","やたい","やちん","やっと","やっぱり","やぶる","やめる","ややこしい","やよい","やわらかい","ゆうき","ゆうびんきょく","ゆうべ","ゆうめい","ゆけつ","ゆしゅつ","ゆせん","ゆそう","ゆたか","ゆちゃく","ゆでる","ゆにゅう","ゆびわ","ゆらい","ゆれる","ようい","ようか","ようきゅう","ようじ","ようす","ようちえん","よかぜ","よかん","よきん","よくせい","よくぼう","よけい","よごれる","よさん","よしゅう","よそう","よそく","よっか","よてい","よどがわく","よねつ","よやく","よゆう","よろこぶ","よろしい","らいう","らくがき","らくご","らくさつ","らくだ","らしんばん","らせん","らぞく","らたい","らっか","られつ","りえき","りかい","りきさく","りきせつ","りくぐん","りくつ","りけん","りこう","りせい","りそう","りそく","りてん","りねん","りゆう","りゅうがく","りよう","りょうり","りょかん","りょくちゃ","りょこう","りりく","りれき","りろん","りんご","るいけい","るいさい","るいじ","るいせき","るすばん","るりがわら","れいかん","れいぎ","れいせい","れいぞうこ","れいとう","れいぼう","れきし","れきだい","れんあい","れんけい","れんこん","れんさい","れんしゅう","れんぞく","れんらく","ろうか","ろうご","ろうじん","ろうそく","ろくが","ろこつ","ろじうら","ろしゅつ","ろせん","ろてん","ろめん","ろれつ","ろんぎ","ろんぱ","ろんぶん","ろんり","わかす","わかめ","わかやま","わかれる","わしつ","わじまし","わすれもの","わらう","われる"]; -b.exports=d},{}],20:[function(a,b,c){"use strict";var d=["ábaco","abdomen","abeja","abierto","abogado","abono","aborto","abrazo","abrir","abuelo","abuso","acabar","academia","acceso","acción","aceite","acelga","acento","aceptar","ácido","aclarar","acné","acoger","acoso","activo","acto","actriz","actuar","acudir","acuerdo","acusar","adicto","admitir","adoptar","adorno","aduana","adulto","aéreo","afectar","afición","afinar","afirmar","ágil","agitar","agonía","agosto","agotar","agregar","agrio","agua","agudo","águila","aguja","ahogo","ahorro","aire","aislar","ajedrez","ajeno","ajuste","alacrán","alambre","alarma","alba","álbum","alcalde","aldea","alegre","alejar","alerta","aleta","alfiler","alga","algodón","aliado","aliento","alivio","alma","almeja","almíbar","altar","alteza","altivo","alto","altura","alumno","alzar","amable","amante","amapola","amargo","amasar","ámbar","ámbito","ameno","amigo","amistad","amor","amparo","amplio","ancho","anciano","ancla","andar","andén","anemia","ángulo","anillo","ánimo","anís","anotar","antena","antiguo","antojo","anual","anular","anuncio","añadir","añejo","año","apagar","aparato","apetito","apio","aplicar","apodo","aporte","apoyo","aprender","aprobar","apuesta","apuro","arado","araña","arar","árbitro","árbol","arbusto","archivo","arco","arder","ardilla","arduo","área","árido","aries","armonía","arnés","aroma","arpa","arpón","arreglo","arroz","arruga","arte","artista","asa","asado","asalto","ascenso","asegurar","aseo","asesor","asiento","asilo","asistir","asno","asombro","áspero","astilla","astro","astuto","asumir","asunto","atajo","ataque","atar","atento","ateo","ático","atleta","átomo","atraer","atroz","atún","audaz","audio","auge","aula","aumento","ausente","autor","aval","avance","avaro","ave","avellana","avena","avestruz","avión","aviso","ayer","ayuda","ayuno","azafrán","azar","azote","azúcar","azufre","azul","baba","babor","bache","bahía","baile","bajar","balanza","balcón","balde","bambú","banco","banda","baño","barba","barco","barniz","barro","báscula","bastón","basura","batalla","batería","batir","batuta","baúl","bazar","bebé","bebida","bello","besar","beso","bestia","bicho","bien","bingo","blanco","bloque","blusa","boa","bobina","bobo","boca","bocina","boda","bodega","boina","bola","bolero","bolsa","bomba","bondad","bonito","bono","bonsái","borde","borrar","bosque","bote","botín","bóveda","bozal","bravo","brazo","brecha","breve","brillo","brinco","brisa","broca","broma","bronce","brote","bruja","brusco","bruto","buceo","bucle","bueno","buey","bufanda","bufón","búho","buitre","bulto","burbuja","burla","burro","buscar","butaca","buzón","caballo","cabeza","cabina","cabra","cacao","cadáver","cadena","caer","café","caída","caimán","caja","cajón","cal","calamar","calcio","caldo","calidad","calle","calma","calor","calvo","cama","cambio","camello","camino","campo","cáncer","candil","canela","canguro","canica","canto","caña","cañón","caoba","caos","capaz","capitán","capote","captar","capucha","cara","carbón","cárcel","careta","carga","cariño","carne","carpeta","carro","carta","casa","casco","casero","caspa","castor","catorce","catre","caudal","causa","cazo","cebolla","ceder","cedro","celda","célebre","celoso","célula","cemento","ceniza","centro","cerca","cerdo","cereza","cero","cerrar","certeza","césped","cetro","chacal","chaleco","champú","chancla","chapa","charla","chico","chiste","chivo","choque","choza","chuleta","chupar","ciclón","ciego","cielo","cien","cierto","cifra","cigarro","cima","cinco","cine","cinta","ciprés","circo","ciruela","cisne","cita","ciudad","clamor","clan","claro","clase","clave","cliente","clima","clínica","cobre","cocción","cochino","cocina","coco","código","codo","cofre","coger","cohete","cojín","cojo","cola","colcha","colegio","colgar","colina","collar","colmo","columna","combate","comer","comida","cómodo","compra","conde","conejo","conga","conocer","consejo","contar","copa","copia","corazón","corbata","corcho","cordón","corona","correr","coser","cosmos","costa","cráneo","cráter","crear","crecer","creído","crema","cría","crimen","cripta","crisis","cromo","crónica","croqueta","crudo","cruz","cuadro","cuarto","cuatro","cubo","cubrir","cuchara","cuello","cuento","cuerda","cuesta","cueva","cuidar","culebra","culpa","culto","cumbre","cumplir","cuna","cuneta","cuota","cupón","cúpula","curar","curioso","curso","curva","cutis","dama","danza","dar","dardo","dátil","deber","débil","década","decir","dedo","defensa","definir","dejar","delfín","delgado","delito","demora","denso","dental","deporte","derecho","derrota","desayuno","deseo","desfile","desnudo","destino","desvío","detalle","detener","deuda","día","diablo","diadema","diamante","diana","diario","dibujo","dictar","diente","dieta","diez","difícil","digno","dilema","diluir","dinero","directo","dirigir","disco","diseño","disfraz","diva","divino","doble","doce","dolor","domingo","don","donar","dorado","dormir","dorso","dos","dosis","dragón","droga","ducha","duda","duelo","dueño","dulce","dúo","duque","durar","dureza","duro","ébano","ebrio","echar","eco","ecuador","edad","edición","edificio","editor","educar","efecto","eficaz","eje","ejemplo","elefante","elegir","elemento","elevar","elipse","élite","elixir","elogio","eludir","embudo","emitir","emoción","empate","empeño","empleo","empresa","enano","encargo","enchufe","encía","enemigo","enero","enfado","enfermo","engaño","enigma","enlace","enorme","enredo","ensayo","enseñar","entero","entrar","envase","envío","época","equipo","erizo","escala","escena","escolar","escribir","escudo","esencia","esfera","esfuerzo","espada","espejo","espía","esposa","espuma","esquí","estar","este","estilo","estufa","etapa","eterno","ética","etnia","evadir","evaluar","evento","evitar","exacto","examen","exceso","excusa","exento","exigir","exilio","existir","éxito","experto","explicar","exponer","extremo","fábrica","fábula","fachada","fácil","factor","faena","faja","falda","fallo","falso","faltar","fama","familia","famoso","faraón","farmacia","farol","farsa","fase","fatiga","fauna","favor","fax","febrero","fecha","feliz","feo","feria","feroz","fértil","fervor","festín","fiable","fianza","fiar","fibra","ficción","ficha","fideo","fiebre","fiel","fiera","fiesta","figura","fijar","fijo","fila","filete","filial","filtro","fin","finca","fingir","finito","firma","flaco","flauta","flecha","flor","flota","fluir","flujo","flúor","fobia","foca","fogata","fogón","folio","folleto","fondo","forma","forro","fortuna","forzar","fosa","foto","fracaso","frágil","franja","frase","fraude","freír","freno","fresa","frío","frito","fruta","fuego","fuente","fuerza","fuga","fumar","función","funda","furgón","furia","fusil","fútbol","futuro","gacela","gafas","gaita","gajo","gala","galería","gallo","gamba","ganar","gancho","ganga","ganso","garaje","garza","gasolina","gastar","gato","gavilán","gemelo","gemir","gen","género","genio","gente","geranio","gerente","germen","gesto","gigante","gimnasio","girar","giro","glaciar","globo","gloria","gol","golfo","goloso","golpe","goma","gordo","gorila","gorra","gota","goteo","gozar","grada","gráfico","grano","grasa","gratis","grave","grieta","grillo","gripe","gris","grito","grosor","grúa","grueso","grumo","grupo","guante","guapo","guardia","guerra","guía","guiño","guion","guiso","guitarra","gusano","gustar","haber","hábil","hablar","hacer","hacha","hada","hallar","hamaca","harina","haz","hazaña","hebilla","hebra","hecho","helado","helio","hembra","herir","hermano","héroe","hervir","hielo","hierro","hígado","higiene","hijo","himno","historia","hocico","hogar","hoguera","hoja","hombre","hongo","honor","honra","hora","hormiga","horno","hostil","hoyo","hueco","huelga","huerta","hueso","huevo","huida","huir","humano","húmedo","humilde","humo","hundir","huracán","hurto","icono","ideal","idioma","ídolo","iglesia","iglú","igual","ilegal","ilusión","imagen","imán","imitar","impar","imperio","imponer","impulso","incapaz","índice","inerte","infiel","informe","ingenio","inicio","inmenso","inmune","innato","insecto","instante","interés","íntimo","intuir","inútil","invierno","ira","iris","ironía","isla","islote","jabalí","jabón","jamón","jarabe","jardín","jarra","jaula","jazmín","jefe","jeringa","jinete","jornada","joroba","joven","joya","juerga","jueves","juez","jugador","jugo","juguete","juicio","junco","jungla","junio","juntar","júpiter","jurar","justo","juvenil","juzgar","kilo","koala","labio","lacio","lacra","lado","ladrón","lagarto","lágrima","laguna","laico","lamer","lámina","lámpara","lana","lancha","langosta","lanza","lápiz","largo","larva","lástima","lata","látex","latir","laurel","lavar","lazo","leal","lección","leche","lector","leer","legión","legumbre","lejano","lengua","lento","leña","león","leopardo","lesión","letal","letra","leve","leyenda","libertad","libro","licor","líder","lidiar","lienzo","liga","ligero","lima","límite","limón","limpio","lince","lindo","línea","lingote","lino","linterna","líquido","liso","lista","litera","litio","litro","llaga","llama","llanto","llave","llegar","llenar","llevar","llorar","llover","lluvia","lobo","loción","loco","locura","lógica","logro","lombriz","lomo","lonja","lote","lucha","lucir","lugar","lujo","luna","lunes","lupa","lustro","luto","luz","maceta","macho","madera","madre","maduro","maestro","mafia","magia","mago","maíz","maldad","maleta","malla","malo","mamá","mambo","mamut","manco","mando","manejar","manga","maniquí","manjar","mano","manso","manta","mañana","mapa","máquina","mar","marco","marea","marfil","margen","marido","mármol","marrón","martes","marzo","masa","máscara","masivo","matar","materia","matiz","matriz","máximo","mayor","mazorca","mecha","medalla","medio","médula","mejilla","mejor","melena","melón","memoria","menor","mensaje","mente","menú","mercado","merengue","mérito","mes","mesón","meta","meter","método","metro","mezcla","miedo","miel","miembro","miga","mil","milagro","militar","millón","mimo","mina","minero","mínimo","minuto","miope","mirar","misa","miseria","misil","mismo","mitad","mito","mochila","moción","moda","modelo","moho","mojar","molde","moler","molino","momento","momia","monarca","moneda","monja","monto","moño","morada","morder","moreno","morir","morro","morsa","mortal","mosca","mostrar","motivo","mover","móvil","mozo","mucho","mudar","mueble","muela","muerte","muestra","mugre","mujer","mula","muleta","multa","mundo","muñeca","mural","muro","músculo","museo","musgo","música","muslo","nácar","nación","nadar","naipe","naranja","nariz","narrar","nasal","natal","nativo","natural","náusea","naval","nave","navidad","necio","néctar","negar","negocio","negro","neón","nervio","neto","neutro","nevar","nevera","nicho","nido","niebla","nieto","niñez","niño","nítido","nivel","nobleza","noche","nómina","noria","norma","norte","nota","noticia","novato","novela","novio","nube","nuca","núcleo","nudillo","nudo","nuera","nueve","nuez","nulo","número","nutria","oasis","obeso","obispo","objeto","obra","obrero","observar","obtener","obvio","oca","ocaso","océano","ochenta","ocho","ocio","ocre","octavo","octubre","oculto","ocupar","ocurrir","odiar","odio","odisea","oeste","ofensa","oferta","oficio","ofrecer","ogro","oído","oír","ojo","ola","oleada","olfato","olivo","olla","olmo","olor","olvido","ombligo","onda","onza","opaco","opción","ópera","opinar","oponer","optar","óptica","opuesto","oración","orador","oral","órbita","orca","orden","oreja","órgano","orgía","orgullo","oriente","origen","orilla","oro","orquesta","oruga","osadía","oscuro","osezno","oso","ostra","otoño","otro","oveja","óvulo","óxido","oxígeno","oyente","ozono","pacto","padre","paella","página","pago","país","pájaro","palabra","palco","paleta","pálido","palma","paloma","palpar","pan","panal","pánico","pantera","pañuelo","papá","papel","papilla","paquete","parar","parcela","pared","parir","paro","párpado","parque","párrafo","parte","pasar","paseo","pasión","paso","pasta","pata","patio","patria","pausa","pauta","pavo","payaso","peatón","pecado","pecera","pecho","pedal","pedir","pegar","peine","pelar","peldaño","pelea","peligro","pellejo","pelo","peluca","pena","pensar","peñón","peón","peor","pepino","pequeño","pera","percha","perder","pereza","perfil","perico","perla","permiso","perro","persona","pesa","pesca","pésimo","pestaña","pétalo","petróleo","pez","pezuña","picar","pichón","pie","piedra","pierna","pieza","pijama","pilar","piloto","pimienta","pino","pintor","pinza","piña","piojo","pipa","pirata","pisar","piscina","piso","pista","pitón","pizca","placa","plan","plata","playa","plaza","pleito","pleno","plomo","pluma","plural","pobre","poco","poder","podio","poema","poesía","poeta","polen","policía","pollo","polvo","pomada","pomelo","pomo","pompa","poner","porción","portal","posada","poseer","posible","poste","potencia","potro","pozo","prado","precoz","pregunta","premio","prensa","preso","previo","primo","príncipe","prisión","privar","proa","probar","proceso","producto","proeza","profesor","programa","prole","promesa","pronto","propio","próximo","prueba","público","puchero","pudor","pueblo","puerta","puesto","pulga","pulir","pulmón","pulpo","pulso","puma","punto","puñal","puño","pupa","pupila","puré","quedar","queja","quemar","querer","queso","quieto","química","quince","quitar","rábano","rabia","rabo","ración","radical","raíz","rama","rampa","rancho","rango","rapaz","rápido","rapto","rasgo","raspa","rato","rayo","raza","razón","reacción","realidad","rebaño","rebote","recaer","receta","rechazo","recoger","recreo","recto","recurso","red","redondo","reducir","reflejo","reforma","refrán","refugio","regalo","regir","regla","regreso","rehén","reino","reír","reja","relato","relevo","relieve","relleno","reloj","remar","remedio","remo","rencor","rendir","renta","reparto","repetir","reposo","reptil","res","rescate","resina","respeto","resto","resumen","retiro","retorno","retrato","reunir","revés","revista","rey","rezar","rico","riego","rienda","riesgo","rifa","rígido","rigor","rincón","riñón","río","riqueza","risa","ritmo","rito","rizo","roble","roce","rociar","rodar","rodeo","rodilla","roer","rojizo","rojo","romero","romper","ron","ronco","ronda","ropa","ropero","rosa","rosca","rostro","rotar","rubí","rubor","rudo","rueda","rugir","ruido","ruina","ruleta","rulo","rumbo","rumor","ruptura","ruta","rutina","sábado","saber","sabio","sable","sacar","sagaz","sagrado","sala","saldo","salero","salir","salmón","salón","salsa","salto","salud","salvar","samba","sanción","sandía","sanear","sangre","sanidad","sano","santo","sapo","saque","sardina","sartén","sastre","satán","sauna","saxofón","sección","seco","secreto","secta","sed","seguir","seis","sello","selva","semana","semilla","senda","sensor","señal","señor","separar","sepia","sequía","ser","serie","sermón","servir","sesenta","sesión","seta","setenta","severo","sexo","sexto","sidra","siesta","siete","siglo","signo","sílaba","silbar","silencio","silla","símbolo","simio","sirena","sistema","sitio","situar","sobre","socio","sodio","sol","solapa","soldado","soledad","sólido","soltar","solución","sombra","sondeo","sonido","sonoro","sonrisa","sopa","soplar","soporte","sordo","sorpresa","sorteo","sostén","sótano","suave","subir","suceso","sudor","suegra","suelo","sueño","suerte","sufrir","sujeto","sultán","sumar","superar","suplir","suponer","supremo","sur","surco","sureño","surgir","susto","sutil","tabaco","tabique","tabla","tabú","taco","tacto","tajo","talar","talco","talento","talla","talón","tamaño","tambor","tango","tanque","tapa","tapete","tapia","tapón","taquilla","tarde","tarea","tarifa","tarjeta","tarot","tarro","tarta","tatuaje","tauro","taza","tazón","teatro","techo","tecla","técnica","tejado","tejer","tejido","tela","teléfono","tema","temor","templo","tenaz","tender","tener","tenis","tenso","teoría","terapia","terco","término","ternura","terror","tesis","tesoro","testigo","tetera","texto","tez","tibio","tiburón","tiempo","tienda","tierra","tieso","tigre","tijera","tilde","timbre","tímido","timo","tinta","tío","típico","tipo","tira","tirón","titán","títere","título","tiza","toalla","tobillo","tocar","tocino","todo","toga","toldo","tomar","tono","tonto","topar","tope","toque","tórax","torero","tormenta","torneo","toro","torpedo","torre","torso","tortuga","tos","tosco","toser","tóxico","trabajo","tractor","traer","tráfico","trago","traje","tramo","trance","trato","trauma","trazar","trébol","tregua","treinta","tren","trepar","tres","tribu","trigo","tripa","triste","triunfo","trofeo","trompa","tronco","tropa","trote","trozo","truco","trueno","trufa","tubería","tubo","tuerto","tumba","tumor","túnel","túnica","turbina","turismo","turno","tutor","ubicar","úlcera","umbral","unidad","unir","universo","uno","untar","uña","urbano","urbe","urgente","urna","usar","usuario","útil","utopía","uva","vaca","vacío","vacuna","vagar","vago","vaina","vajilla","vale","válido","valle","valor","válvula","vampiro","vara","variar","varón","vaso","vecino","vector","vehículo","veinte","vejez","vela","velero","veloz","vena","vencer","venda","veneno","vengar","venir","venta","venus","ver","verano","verbo","verde","vereda","verja","verso","verter","vía","viaje","vibrar","vicio","víctima","vida","vídeo","vidrio","viejo","viernes","vigor","vil","villa","vinagre","vino","viñedo","violín","viral","virgo","virtud","visor","víspera","vista","vitamina","viudo","vivaz","vivero","vivir","vivo","volcán","volumen","volver","voraz","votar","voto","voz","vuelo","vulgar","yacer","yate","yegua","yema","yerno","yeso","yodo","yoga","yogur","zafiro","zanja","zapato","zarza","zona","zorro","zumo","zurdo"];b.exports=d},{}],21:[function(a,b,c){!function(a){"use strict";function c(a,b,c){var d=x[b];return d||(d=a(b,c),d.feature&&++y[b>>8&255]>m&&(x[b]=d)),d}function d(a,b,c){var d=65280&b,e=w.udata[d]||{},f=e[b];return f?new w(b,f):new w(b,l)}function e(a,b,c){return c?a(b,c):new w(b,null)}function f(a,b,c){var d;if(o>b||b>=o+r&&n>b||b>n+v)return a(b,c);if(b>=o&&o+r>b){var e={},f=(b-o)*s;for(d=0;s>d;++d)e[p+d]=n+t*(d+f);return new w(b,[,,e])}var g=b-n,h=g%t,i=[];if(0!==h)i[0]=[n+g-h,q+h];else for(i[0]=[o+Math.floor(g/u),p+Math.floor(g%u/t)],i[2]={},d=1;t>d;++d)i[2][q+d]=b+d;return new w(b,i)}function g(a,b,c){return 60>b||b>13311&&42607>b?new w(b,l):a(b,c)}function h(a){return G("NFD",a)}function i(a){return G("NFKD",a)}function j(a){return G("NFC",a)}function k(a){return G("NFKC",a)}for(var l=[null,0,{}],m=10,n=44032,o=4352,p=4449,q=4519,r=19,s=21,t=28,u=s*t,v=r*u,w=function(a,b){this.codepoint=a,this.feature=b},x={},y=[],z=0;255>=z;++z)y[z]=0;var A=[g,c,e,f,d];w.fromCharCode=A.reduceRight(function(a,b){return function(c,d){return b(a,c,d)}},null),w.isHighSurrogate=function(a){return a>=55296&&56319>=a},w.isLowSurrogate=function(a){return a>=56320&&57343>=a},w.prototype.prepFeature=function(){this.feature||(this.feature=w.fromCharCode(this.codepoint,!0).feature)},w.prototype.toString=function(){if(this.codepoint<65536)return String.fromCharCode(this.codepoint);var a=this.codepoint-65536;return String.fromCharCode(Math.floor(a/1024)+55296,a%1024+56320)},w.prototype.getDecomp=function(){return this.prepFeature(),this.feature[0]||null},w.prototype.isCompatibility=function(){return this.prepFeature(),!!this.feature[1]&&256&this.feature[1]},w.prototype.isExclude=function(){return this.prepFeature(),!!this.feature[1]&&512&this.feature[1]},w.prototype.getCanonicalClass=function(){return this.prepFeature(),this.feature[1]?255&this.feature[1]:0},w.prototype.getComposite=function(a){if(this.prepFeature(),!this.feature[2])return null;var b=this.feature[2][a.codepoint];return b?w.fromCharCode(b):null};var B=function(a){this.str=a,this.cursor=0};B.prototype.next=function(){if(this.str&&this.cursor0;--c){var d=this.resBuf[c-1],e=d.getCanonicalClass();if(a>=e)break}this.resBuf.splice(c,0,b)}while(0!==a);return this.resBuf.shift()};var E=function(a){this.it=a,this.procBuf=[],this.resBuf=[],this.lastClass=null};E.prototype.next=function(){for(;0===this.resBuf.length;){var a=this.it.next();if(!a){this.resBuf=this.procBuf,this.procBuf=[];break}if(0===this.procBuf.length)this.lastClass=a.getCanonicalClass(),this.procBuf.push(a);else{var b=this.procBuf[0],c=b.getComposite(a),d=a.getCanonicalClass();c&&(this.lastClass1?-1:1),{selfSigned:r,isChain:h.length>1,signature:l,caTrusted:!!q,caName:q||null}}return l},e.prototype.x509Verify=function(a){var b=this.get("signature"),c=this.get("pki_type"),g=this.get("pki_data");g=e.X509Certificates.decode(g),g=g.certificate;var h,i,j,k=this.serializeForSig(),l="none"!==c?c.split("+")[1].toUpperCase():c;if("none"!==l){var m=new d.crypto.Signature({alg:l+"withRSA",prov:"cryptojs/jsrsa"}),n=g[0];h=n.toString("hex"),i=d.asn1.ASN1Util.getPEMStringFromHex(h,"CERTIFICATE"),m.initVerifyByCertificatePEM(i),m.updateHex(k.toString("hex")),j=m.verify(b.toString("hex"))}else j=!0;var o=g,p=o[o.length-1];h=p.toString("hex"),i=d.asn1.ASN1Util.getPEMStringFromHex(h,"CERTIFICATE");var q=f.getTrusted(i);if(1===o.length&&!q)return a?{selfSigned:1,isChain:!1,verified:j,caTrusted:!1,caName:null,chainVerified:!1}:j;if(!q)return a?{selfSigned:-1,isChain:o.length>1,verified:j,caTrusted:!1,caName:null,chainVerified:!1}:j;var r=e.verifyCertChain(o,l);return a?{selfSigned:0,isChain:!0,verified:j,caTrusted:!!q,caName:q||null,chainVerified:r}:j&&r},e.verifyCertChain=function(a,b){return"none"===b?!0:a.every(function(h,i){var j=h.toString("hex"),k=d.asn1.ASN1Util.getPEMStringFromHex(j,"CERTIFICATE"),l=f.getTrusted(k),m=a[i+1];if(!m||l)return l?(a.length=0,!0):!1;var n,o=m.toString("hex"),p=d.asn1.ASN1Util.getPEMStringFromHex(o,"CERTIFICATE"),q=new c(o,"hex"),r=g.Certificate.decode(q,"der");if("none"!==b){var s=new d.crypto.Signature({alg:b+"withRSA",prov:"cryptojs/jsrsa"});s.initVerifyByCertificatePEM(p),n=s.pubKey}var t,u=new c(j,"hex"),v=g.Certificate.decode(u,"der"),w=v.signature.data,x=e.validateCertTime(v,r),y=e.validateCertIssuer(v,r);if("none"!==b){var z=new d.crypto.Signature({alg:b+"withRSA",prov:"cryptojs/jsrsa"});z.initVerifyByPublicKey(n);var A=e.getTBSCertificate(u,w);z.updateHex(A.toString("hex")),t=z.verify(w.toString("hex"))}else t=!0;return x&&y&&t})},b.exports=e}).call(this,a("buffer").Buffer)},{"./common":23,"./rootcerts":25,"asn1.js/rfc/3280":39,buffer:145,jsrsasign:40}],23:[function(a,b,c){(function(c){"use strict";function d(){this.messageType=null,this.message=null}function e(a){var b=new c("Bitcoin Signed Message:\n"),d=o(b.length),e=new c(a),f=o(e.length),g=c.concat([d,b,f,e]),h=n(g);return h}var f=a("bitcore"),g=a("protobufjs/dist/ProtoBuf"),h=a("./rootcerts"),i=a("asn1.js/rfc/3280"),j=f.PublicKey,k=f.PrivateKey,l=f.crypto.Signature,m=f.crypto.ECDSA,n=f.crypto.Hash.sha256sha256,o=f.encoding.BufferWriter.varintBufNum;d.PAYMENT_REQUEST_MAX_SIZE=5e4,d.PAYMENT_MAX_SIZE=5e4,d.PAYMENT_ACK_MAX_SIZE=6e4,d.PAYMENT_REQUEST_CONTENT_TYPE="application/bitcoin-paymentrequest",d.PAYMENT_CONTENT_TYPE="application/bitcoin-payment",d.PAYMENT_ACK_CONTENT_TYPE="application/bitcoin-paymentack",d.X509_ALGORITHM={"1.2.840.113549.1.1.1":"RSA","1.2.840.113549.1.1.2":"RSA_MD2","1.2.840.113549.1.1.4":"RSA_MD5","1.2.840.113549.1.1.5":"RSA_SHA1","1.2.840.113549.1.1.11":"RSA_SHA256","1.2.840.113549.1.1.12":"RSA_SHA384","1.2.840.113549.1.1.13":"RSA_SHA512","1.2.840.10045.4.3.2":"ECDSA_SHA256","1.2.840.10045.4.3.3":"ECDSA_SHA384","1.2.840.10045.4.3.4":"ECDSA_SHA512"},d.getAlgorithm=function(a,b){return Array.isArray(a)&&(a=a.join(".")),a=d.X509_ALGORITHM[a],"undefined"!=typeof b?(a=a.split("_"),b===!0?{cipher:a[0],hash:a[1]}:a[b]):a},d.getTBSCertificate=function(a,b){null==b&&(b=i.Certificate.decode(a,"der").signature.data);var c=0,d=0;for(c=0;cd&&48===a[c]&&d++;var e=0,f=0;for(e=a.length-1-b.length;e>0&&(2!==f||48!==a[e]);e--)2>f&&0===a[e]&&f++;return a.slice(c,e)},d.validateCertTime=function(a,b){var c=!0,d=Date.now(),e=a.tbsCertificate.validity.notBefore.value,f=a.tbsCertificate.validity.notAfter.value,g=b.tbsCertificate.validity.notBefore.value,h=b.tbsCertificate.validity.notAfter.value;return(e>d||d>f||g>d||d>h)&&(c=!1),c},d.validateCertIssuer=function(a,b){var c=a.tbsCertificate.issuer,d=b.tbsCertificate.subject,e=c.type===d.type&&c.value.every(function(a,b){var c=d.value[b];return a.every(function(a,b){var d=c[b],e=a.type.join("."),f=d.type.join("."),g=a.value.toString("hex"),h=d.value.toString("hex");return e===f&&g===h})});return e},d.RootCerts=h,d.proto={},d.proto.Output="message Output { optional uint64 amount = 1 [default = 0]; optional bytes script = 2;}\n",d.proto.PaymentDetails='message PaymentDetails { optional string network = 1 [default = "main"]; repeated Output outputs = 2; required uint64 time = 3; optional uint64 expires = 4; optional string memo = 5; optional string payment_url = 6; optional bytes merchant_data = 7;}\n',d.proto.PaymentRequest='message PaymentRequest { optional uint32 payment_details_version = 1 [default = 1]; optional string pki_type = 2 [default = "none"]; optional bytes pki_data = 3; required bytes serialized_payment_details = 4; optional bytes signature = 5;}\n',d.proto.Payment="message Payment { optional bytes merchant_data = 1; repeated bytes transactions = 2; repeated Output refund_to = 3; optional string memo = 4;}\n",d.proto.PaymentACK="message PaymentACK { required Payment payment = 1; optional string memo = 2;}\n",d.proto.X509Certificates="message X509Certificates { repeated bytes certificate = 1;}\n",d.proto.all="",d.proto.all=d.proto.all+d.proto.Output,d.proto.all=d.proto.all+d.proto.PaymentDetails,d.proto.all=d.proto.all+d.proto.PaymentRequest,d.proto.all=d.proto.all+d.proto.Payment,d.proto.all=d.proto.all+d.proto.PaymentACK,d.proto.all=d.proto.all+d.proto.X509Certificates,d.builder=g.loadProto(d.proto.all),d.Output=d.builder.build("Output"),d.PaymentDetails=d.builder.build("PaymentDetails"),d.PaymentRequest=d.builder.build("PaymentRequest"),d.Payment=d.builder.build("Payment"),d.PaymentACK=d.builder.build("PaymentACK"),d.X509Certificates=d.builder.build("X509Certificates"),d.prototype.makeOutput=function(a){return this.messageType="Output",this.message=new d.Output,this.setObj(a),this},d.prototype.makePaymentDetails=function(a){return this.messageType="PaymentDetails",this.message=new d.PaymentDetails,this.setObj(a),this},d.prototype.makePaymentRequest=function(a){return this.messageType="PaymentRequest",this.message=new d.PaymentRequest,this.setObj(a),this},d.prototype.makePayment=function(a){return this.messageType="Payment",this.message=new d.Payment,this.setObj(a),this},d.prototype.makePaymentACK=function(a){return this.messageType="PaymentACK",this.message=new d.PaymentACK,this.setObj(a),this},d.prototype.makeX509Certificates=function(a){return this.messageType="X509Certificates",this.message=new d.X509Certificates,this.setObj(a), -this},d.prototype.isValidSize=function(){var a=this.serialize();return"PaymentRequest"===this.messageType?a.length>8&255]>m&&(x[b]=d)),d}function d(a,b,c){var d=65280&b,e=w.udata[d]||{},f=e[b];return f?new w(b,f):new w(b,l)}function e(a,b,c){return c?a(b,c):new w(b,null)}function f(a,b,c){var d;if(o>b||b>=o+r&&n>b||b>n+v)return a(b,c);if(b>=o&&o+r>b){var e={},f=(b-o)*s;for(d=0;s>d;++d)e[p+d]=n+t*(d+f);return new w(b,[,,e])}var g=b-n,h=g%t,i=[];if(0!==h)i[0]=[n+g-h,q+h];else for(i[0]=[o+Math.floor(g/u),p+Math.floor(g%u/t)],i[2]={},d=1;t>d;++d)i[2][q+d]=b+d;return new w(b,i)}function g(a,b,c){return 60>b||b>13311&&42607>b?new w(b,l):a(b,c)}function h(a){return G("NFD",a)}function i(a){return G("NFKD",a)}function j(a){return G("NFC",a)}function k(a){return G("NFKC",a)}for(var l=[null,0,{}],m=10,n=44032,o=4352,p=4449,q=4519,r=19,s=21,t=28,u=s*t,v=r*u,w=function(a,b){this.codepoint=a,this.feature=b},x={},y=[],z=0;255>=z;++z)y[z]=0;var A=[g,c,e,f,d];w.fromCharCode=A.reduceRight(function(a,b){return function(c,d){return b(a,c,d)}},null),w.isHighSurrogate=function(a){return a>=55296&&56319>=a},w.isLowSurrogate=function(a){return a>=56320&&57343>=a},w.prototype.prepFeature=function(){this.feature||(this.feature=w.fromCharCode(this.codepoint,!0).feature)},w.prototype.toString=function(){if(this.codepoint<65536)return String.fromCharCode(this.codepoint);var a=this.codepoint-65536;return String.fromCharCode(Math.floor(a/1024)+55296,a%1024+56320)},w.prototype.getDecomp=function(){return this.prepFeature(),this.feature[0]||null},w.prototype.isCompatibility=function(){return this.prepFeature(),!!this.feature[1]&&256&this.feature[1]},w.prototype.isExclude=function(){return this.prepFeature(),!!this.feature[1]&&512&this.feature[1]},w.prototype.getCanonicalClass=function(){return this.prepFeature(),this.feature[1]?255&this.feature[1]:0},w.prototype.getComposite=function(a){if(this.prepFeature(),!this.feature[2])return null;var b=this.feature[2][a.codepoint];return b?w.fromCharCode(b):null};var B=function(a){this.str=a,this.cursor=0};B.prototype.next=function(){if(this.str&&this.cursor0;--c){var d=this.resBuf[c-1],e=d.getCanonicalClass();if(a>=e)break}this.resBuf.splice(c,0,b)}while(0!==a);return this.resBuf.shift()};var E=function(a){this.it=a,this.procBuf=[],this.resBuf=[],this.lastClass=null};E.prototype.next=function(){for(;0===this.resBuf.length;){var a=this.it.next();if(!a){this.resBuf=this.procBuf,this.procBuf=[];break}if(0===this.procBuf.length)this.lastClass=a.getCanonicalClass(),this.procBuf.push(a);else{var b=this.procBuf[0],c=b.getComposite(a),d=a.getCanonicalClass();c&&(this.lastClass1?-1:1),{selfSigned:r,isChain:h.length>1,signature:l,caTrusted:!!q,caName:q||null}}return l},e.prototype.x509Verify=function(a){var b=this.get("signature"),c=this.get("pki_type"),g=this.get("pki_data");g=e.X509Certificates.decode(g),g=g.certificate;var h,i,j,k=this.serializeForSig(),l="none"!==c?c.split("+")[1].toUpperCase():c;if("none"!==l){var m=new d.crypto.Signature({alg:l+"withRSA",prov:"cryptojs/jsrsa"}),n=g[0];h=n.toString("hex"),i=d.asn1.ASN1Util.getPEMStringFromHex(h,"CERTIFICATE"),m.initVerifyByCertificatePEM(i),m.updateHex(k.toString("hex")),j=m.verify(b.toString("hex"))}else j=!0;var o=g,p=o[o.length-1];h=p.toString("hex"),i=d.asn1.ASN1Util.getPEMStringFromHex(h,"CERTIFICATE");var q=f.getTrusted(i);if(1===o.length&&!q)return a?{selfSigned:1,isChain:!1,verified:j,caTrusted:!1,caName:null,chainVerified:!1}:j;if(!q)return a?{selfSigned:-1,isChain:o.length>1,verified:j,caTrusted:!1,caName:null,chainVerified:!1}:j;var r=e.verifyCertChain(o,l);return a?{selfSigned:0,isChain:!0,verified:j,caTrusted:!!q,caName:q||null,chainVerified:r}:j&&r},e.verifyCertChain=function(a,b){return"none"===b?!0:a.every(function(h,i){var j=h.toString("hex"),k=d.asn1.ASN1Util.getPEMStringFromHex(j,"CERTIFICATE"),l=f.getTrusted(k),m=a[i+1];if(!m||l)return l?(a.length=0,!0):!1;var n,o=m.toString("hex"),p=d.asn1.ASN1Util.getPEMStringFromHex(o,"CERTIFICATE"),q=new c(o,"hex"),r=g.Certificate.decode(q,"der");if("none"!==b){var s=new d.crypto.Signature({alg:b+"withRSA",prov:"cryptojs/jsrsa"});s.initVerifyByCertificatePEM(p),n=s.pubKey}var t,u=new c(j,"hex"),v=g.Certificate.decode(u,"der"),w=v.signature.data,x=e.validateCertTime(v,r),y=e.validateCertIssuer(v,r);if("none"!==b){var z=new d.crypto.Signature({alg:b+"withRSA",prov:"cryptojs/jsrsa"});z.initVerifyByPublicKey(n);var A=e.getTBSCertificate(u,w);z.updateHex(A.toString("hex")),t=z.verify(w.toString("hex"))}else t=!0;return x&&y&&t})},b.exports=e}).call(this,a("buffer").Buffer)},{"./common":23,"./rootcerts":25,"asn1.js/rfc/3280":39,buffer:145,jsrsasign:40}],23:[function(a,b,c){(function(c){"use strict";function d(){this.messageType=null,this.message=null}function e(a){var b=new c("Bitcoin Signed Message:\n"),d=o(b.length),e=new c(a),f=o(e.length),g=c.concat([d,b,f,e]),h=n(g);return h}var f=a("bitcore"),g=a("protobufjs/dist/ProtoBuf"),h=a("./rootcerts"),i=a("asn1.js/rfc/3280"),j=f.PublicKey,k=f.PrivateKey,l=f.crypto.Signature,m=f.crypto.ECDSA,n=f.crypto.Hash.sha256sha256,o=f.encoding.BufferWriter.varintBufNum;d.PAYMENT_REQUEST_MAX_SIZE=5e4,d.PAYMENT_MAX_SIZE=5e4,d.PAYMENT_ACK_MAX_SIZE=6e4,d.PAYMENT_REQUEST_CONTENT_TYPE="application/bitcoin-paymentrequest",d.PAYMENT_CONTENT_TYPE="application/bitcoin-payment",d.PAYMENT_ACK_CONTENT_TYPE="application/bitcoin-paymentack",d.X509_ALGORITHM={"1.2.840.113549.1.1.1":"RSA","1.2.840.113549.1.1.2":"RSA_MD2","1.2.840.113549.1.1.4":"RSA_MD5","1.2.840.113549.1.1.5":"RSA_SHA1","1.2.840.113549.1.1.11":"RSA_SHA256","1.2.840.113549.1.1.12":"RSA_SHA384","1.2.840.113549.1.1.13":"RSA_SHA512","1.2.840.10045.4.3.2":"ECDSA_SHA256","1.2.840.10045.4.3.3":"ECDSA_SHA384","1.2.840.10045.4.3.4":"ECDSA_SHA512"},d.getAlgorithm=function(a,b){return Array.isArray(a)&&(a=a.join(".")),a=d.X509_ALGORITHM[a],"undefined"!=typeof b?(a=a.split("_"),b===!0?{cipher:a[0],hash:a[1]}:a[b]):a},d.getTBSCertificate=function(a,b){null==b&&(b=i.Certificate.decode(a,"der").signature.data);var c=0,d=0;for(c=0;cd&&48===a[c]&&d++;var e=0,f=0;for(e=a.length-1-b.length;e>0&&(2!==f||48!==a[e]);e--)2>f&&0===a[e]&&f++;return a.slice(c,e)},d.validateCertTime=function(a,b){var c=!0,d=Date.now(),e=a.tbsCertificate.validity.notBefore.value,f=a.tbsCertificate.validity.notAfter.value,g=b.tbsCertificate.validity.notBefore.value,h=b.tbsCertificate.validity.notAfter.value;return(e>d||d>f||g>d||d>h)&&(c=!1),c},d.validateCertIssuer=function(a,b){var c=a.tbsCertificate.issuer,d=b.tbsCertificate.subject,e=c.type===d.type&&c.value.every(function(a,b){var c=d.value[b];return a.every(function(a,b){var d=c[b],e=a.type.join("."),f=d.type.join("."),g=a.value.toString("hex"),h=d.value.toString("hex");return e===f&&g===h})});return e},d.RootCerts=h,d.proto={},d.proto.Output="message Output { optional uint64 amount = 1 [default = 0]; optional bytes script = 2;}\n",d.proto.PaymentDetails='message PaymentDetails { optional string network = 1 [default = "main"]; repeated Output outputs = 2; required uint64 time = 3; optional uint64 expires = 4; optional string memo = 5; optional string payment_url = 6; optional bytes merchant_data = 7;}\n',d.proto.PaymentRequest='message PaymentRequest { optional uint32 payment_details_version = 1 [default = 1]; optional string pki_type = 2 [default = "none"]; optional bytes pki_data = 3; required bytes serialized_payment_details = 4; optional bytes signature = 5;}\n',d.proto.Payment="message Payment { optional bytes merchant_data = 1; repeated bytes transactions = 2; repeated Output refund_to = 3; optional string memo = 4;}\n", +d.proto.PaymentACK="message PaymentACK { required Payment payment = 1; optional string memo = 2;}\n",d.proto.X509Certificates="message X509Certificates { repeated bytes certificate = 1;}\n",d.proto.all="",d.proto.all=d.proto.all+d.proto.Output,d.proto.all=d.proto.all+d.proto.PaymentDetails,d.proto.all=d.proto.all+d.proto.PaymentRequest,d.proto.all=d.proto.all+d.proto.Payment,d.proto.all=d.proto.all+d.proto.PaymentACK,d.proto.all=d.proto.all+d.proto.X509Certificates,d.builder=g.loadProto(d.proto.all),d.Output=d.builder.build("Output"),d.PaymentDetails=d.builder.build("PaymentDetails"),d.PaymentRequest=d.builder.build("PaymentRequest"),d.Payment=d.builder.build("Payment"),d.PaymentACK=d.builder.build("PaymentACK"),d.X509Certificates=d.builder.build("X509Certificates"),d.prototype.makeOutput=function(a){return this.messageType="Output",this.message=new d.Output,this.setObj(a),this},d.prototype.makePaymentDetails=function(a){return this.messageType="PaymentDetails",this.message=new d.PaymentDetails,this.setObj(a),this},d.prototype.makePaymentRequest=function(a){return this.messageType="PaymentRequest",this.message=new d.PaymentRequest,this.setObj(a),this},d.prototype.makePayment=function(a){return this.messageType="Payment",this.message=new d.Payment,this.setObj(a),this},d.prototype.makePaymentACK=function(a){return this.messageType="PaymentACK",this.message=new d.PaymentACK,this.setObj(a),this},d.prototype.makeX509Certificates=function(a){return this.messageType="X509Certificates",this.message=new d.X509Certificates,this.setObj(a),this},d.prototype.isValidSize=function(){var a=this.serialize();return"PaymentRequest"===this.messageType?a.length2)return c.reduce(function(a,b){return b?(b=d.parsePEM(b)[0].pem,b&&a.push(b),a):a},[]);var e=/-----BEGIN ([^\-\r\n]+)-----/.exec(a)[1];a=a.replace(/-----BEGIN [^\-\r\n]+-----/,""),a=a.replace(/-----END [^\-\r\n]+-----/,"");var f=a.trim().split(/(?:\r?\n){2,}/),g={};f.length>1&&(g=f[0].trim().split(/[\r\n]/).reduce(function(a,b){var c=b.split(/:[ \t]+/),d=c[0].trim().toLowerCase(),e=(c.slice(1).join("")||"").trim();return a[d]=e,a},{}),a=f.slice(1).join("")),a=a.replace(/\s+/g,""); -var h=a?new b(a,"base64"):null;return[{type:e,headers:g,pem:a,der:h,body:h||new b([0])}]},d.certs=e,d.trusted=f}).call(this,a("buffer").Buffer)},{"./rootcerts.json":24,buffer:145}],26:[function(a,b,c){var d=c;d.bignum=a("bn.js"),d.define=a("./asn1/api").define,d.base=a("./asn1/base"),d.constants=a("./asn1/constants"),d.decoders=a("./asn1/decoders"),d.encoders=a("./asn1/encoders")},{"./asn1/api":27,"./asn1/base":29,"./asn1/constants":33,"./asn1/decoders":35,"./asn1/encoders":37,"bn.js":38}],27:[function(a,b,c){function d(a,b){this.name=a,this.body=b,this.decoders={},this.encoders={}}var e=a("../asn1"),f=a("util"),g=a("vm"),h=c;h.define=function(a,b){return new d(a,b)},d.prototype._createNamed=function(a){var b=g.runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})");return f.inherits(b,a),b.prototype._initNamed=function(b){a.call(this,b)},new b(this)},d.prototype._getDecoder=function(a){return this.decoders.hasOwnProperty(a)||(this.decoders[a]=this._createNamed(e.decoders[a])),this.decoders[a]},d.prototype.decode=function(a,b,c){return this._getDecoder(b).decode(a,c)},d.prototype._getEncoder=function(a){return this.encoders.hasOwnProperty(a)||(this.encoders[a]=this._createNamed(e.encoders[a])),this.encoders[a]},d.prototype.encode=function(a,b,c){return this._getEncoder(b).encode(a,c)}},{"../asn1":26,util:321,vm:322}],28:[function(a,b,c){function d(a,b){return g.call(this,b),h.isBuffer(a)?(this.base=a,this.offset=0,void(this.length=a.length)):void this.error("Input not Buffer")}function e(a,b){if(Array.isArray(a))this.length=0,this.value=a.map(function(a){return a instanceof e||(a=new e(a)),this.length+=a.length,a},this);else if("number"==typeof a){if(!(a>=0&&255>=a))return b.error("non-byte EncoderBuffer value");this.value=a,this.length=1}else if("string"==typeof a)this.value=a,this.length=h.byteLength(a);else{if(!h.isBuffer(a))return b.error("Unsupporter type: "+typeof a);this.value=a,this.length=a.length}}var f=(a("assert"),a("util")),g=a("../base").Reporter,h=a("buffer").Buffer;f.inherits(d,g),c.DecoderBuffer=d,d.prototype.save=function(){return{offset:this.offset}},d.prototype.restore=function(a){var b=new d(this.base);return b.offset=a.offset,b.length=this.offset,this.offset=a.offset,b},d.prototype.isEmpty=function(){return this.offset===this.length},d.prototype.readUInt8=function(a){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(a||"DecoderBuffer overrun")},d.prototype.skip=function(a,b){if(!(this.offset+a<=this.length))return this.error(b||"DecoderBuffer overrun");var c=new d(this.base);return c._reporterState=this._reporterState,c.offset=this.offset,c.length=this.offset+a,this.offset+=a,c},d.prototype.raw=function(a){return this.base.slice(a?a.offset:this.offset,this.length)},c.EncoderBuffer=e,e.prototype.join=function(a,b){return a||(a=new h(this.length)),b||(b=0),0===this.length?a:(Array.isArray(this.value)?this.value.forEach(function(c){c.join(a,b),b+=c.length}):("number"==typeof this.value?a[b]=this.value:"string"==typeof this.value?a.write(this.value,b):h.isBuffer(this.value)&&this.value.copy(a,b),b+=this.length),a)}},{"../base":29,assert:130,buffer:145,util:321}],29:[function(a,b,c){var d=c;d.Reporter=a("./reporter").Reporter,d.DecoderBuffer=a("./buffer").DecoderBuffer,d.EncoderBuffer=a("./buffer").EncoderBuffer,d.Node=a("./node")},{"./buffer":28,"./node":30,"./reporter":31}],30:[function(a,b,c){function d(a,b){var c={};this._baseState=c,c.enc=a,c.parent=b||null,c.children=null,c.tag=null,c.args=null,c.reverseArgs=null,c.choice=null,c.optional=!1,c.any=!1,c.obj=!1,c.use=null,c.useDecoder=null,c.key=null,c["default"]=null,c.explicit=null,c.implicit=null,c.parent||(c.children=[],this._wrap())}var e=a("assert"),f=a("../base").Reporter,g=a("../base").EncoderBuffer,h=["seq","seqof","set","setof","octstr","bitstr","objid","bool","gentime","utctime","null_","enum","int"],i=["key","obj","use","optional","explicit","implicit","def","choice","any"].concat(h),j=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];b.exports=d;var k=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit"];d.prototype.clone=function(){var a=this._baseState,b={};k.forEach(function(c){b[c]=a[c]});var c=new this.constructor(b.parent);return c._baseState=b,c},d.prototype._wrap=function(){var a=this._baseState;i.forEach(function(b){this[b]=function(){var c=new this.constructor(this);return a.children.push(c),c[b].apply(c,arguments)}},this)},d.prototype._init=function(a){var b=this._baseState;e(null===b.parent),a.call(this),b.children=b.children.filter(function(a){return a._baseState.parent===this},this),e.equal(b.children.length,1,"Root node can have only one child")},d.prototype._useArgs=function(a){var b=this._baseState,c=a.filter(function(a){return a instanceof this.constructor},this);a=a.filter(function(a){return!(a instanceof this.constructor)},this),0!==c.length&&(e(null===b.children),b.children=c,c.forEach(function(a){a._baseState.parent=this},this)),0!==a.length&&(e(null===b.args),b.args=a,b.reverseArgs=a.map(function(a){if("object"!=typeof a||a.constructor!==Object)return a;var b={};return Object.keys(a).forEach(function(c){c==(0|c)&&(c|=0);var d=a[c];b[d]=c}),b}))},j.forEach(function(a){d.prototype[a]=function(){var b=this._baseState;throw new Error(a+" not implemented for encoding: "+b.enc)}}),h.forEach(function(a){d.prototype[a]=function(){var b=this._baseState,c=Array.prototype.slice.call(arguments);return e(null===b.tag),b.tag=a,this._useArgs(c),this}}),d.prototype.use=function(a){var b=this._baseState;return e(null===b.use),b.use=a,this},d.prototype.optional=function(){var a=this._baseState;return a.optional=!0,this},d.prototype.def=function(a){var b=this._baseState;return e(null===b["default"]),b["default"]=a,b.optional=!0,this},d.prototype.explicit=function(a){var b=this._baseState;return e(null===b.explicit&&null===b.implicit),b.explicit=a,this},d.prototype.implicit=function(a){var b=this._baseState;return e(null===b.explicit&&null===b.implicit),b.implicit=a,this},d.prototype.obj=function(){var a=this._baseState,b=Array.prototype.slice.call(arguments);return a.obj=!0,0!==b.length&&this._useArgs(b),this},d.prototype.key=function l(l){var a=this._baseState;return e(null===a.key),a.key=l,this},d.prototype.any=function(){var a=this._baseState;return a.any=!0,this},d.prototype.choice=function(a){var b=this._baseState;return e(null===b.choice),b.choice=a,this._useArgs(Object.keys(a).map(function(b){return a[b]})),this},d.prototype._decode=function(a){var b=this._baseState;if(null===b.parent)return a.wrapResult(b.children[0]._decode(a));var c,d=b["default"],e=!0;if(null!==b.key&&(c=a.enterKey(b.key)),b.optional&&(e=this._peekTag(a,null!==b.explicit?b.explicit:null!==b.implicit?b.implicit:b.tag||0),a.isError(e)))return e;var f;if(b.obj&&e&&(f=a.enterObject()),e){if(null!==b.explicit){var g=this._decodeTag(a,b.explicit);if(a.isError(g))return g;a=g}if(null===b.use&&null===b.choice){if(b.any)var h=a.save();var i=this._decodeTag(a,null!==b.implicit?b.implicit:b.tag,b.any);if(a.isError(i))return i;b.any?d=a.raw(h):a=i}if(d=b.any?d:null===b.choice?this._decodeGeneric(b.tag,a):this._decodeChoice(a),a.isError(d))return d;if(!b.any&&null===b.choice&&null!==b.children){var j=b.children.some(function(b){b._decode(a)});if(j)return err}}return b.obj&&e&&(d=a.leaveObject(f)),null===b.key||null===d&&e!==!0||a.leaveKey(c,b.key,d),d},d.prototype._decodeGeneric=function(a,b){var c=this._baseState;return"seq"===a||"set"===a?null:"seqof"===a||"setof"===a?this._decodeList(b,a,c.args[0]):"octstr"===a||"bitstr"===a?this._decodeStr(b,a):"objid"===a&&c.args?this._decodeObjid(b,c.args[0],c.args[1]):"objid"===a?this._decodeObjid(b,null,null):"gentime"===a||"utctime"===a?this._decodeTime(b,a):"null_"===a?this._decodeNull(b):"bool"===a?this._decodeBool(b):"int"===a||"enum"===a?this._decodeInt(b,c.args&&c.args[0]):null!==c.use?this._getUse(c.use)._decode(b):b.error("unknown tag: "+a)},d.prototype._getUse=function(a){var b=this._baseState;return b.useDecoder||(b.useDecoder=this._use(a),e(null===b.useDecoder._baseState.parent),b.useDecoder=b.useDecoder._baseState.children[0],null!==b.implicit&&(b.useDecoder=b.useDecoder.clone(),b.useDecoder._baseState.implicit=b.implicit)),b.useDecoder},d.prototype._decodeChoice=function(a){var b=this._baseState,c=null,d=!1;return Object.keys(b.choice).some(function(e){var f=a.save(),g=b.choice[e];try{var h=g._decode(a);if(a.isError(h))return!1;c={type:e,value:h},d=!0}catch(i){return a.restore(f),!1}return!0},this),d?c:a.error("Choice not matched")},d.prototype._createEncoderBuffer=function(a){return new g(a,this.reporter)},d.prototype._encode=function(a,b){var c=this._baseState;if(null===c.parent)return c.children[0]._encode(a,b||new f);var d=null;if(this.reporter=b,c.optional&&void 0===a){if(null===c["default"])return;a=c["default"]}var e=null,g=!1;if(c.any)d=this._createEncoderBuffer(a);else if(c.choice)d=this._encodeChoice(a,b);else if(c.children)e=c.children.map(function(c){if(null===c._baseState.key)return b.error("Child should have a key");var d=b.enterKey(c._baseState.key);if("object"!=typeof a)return b.error("Child expected, but input is not object");var e=c._encode(a[c._baseState.key],b);return b.leaveKey(d),e},this).filter(function(a){return a}),e=this._createEncoderBuffer(e);else if("seqof"===c.tag||"setof"===c.tag){if(!c.args||1!==c.args.length)return b.error("Too many args for : "+c.tag);if(!Array.isArray(a))return b.error("seqof/setof, but data is not Array");e=this._createEncoderBuffer(a.map(function(a){return this._getUse(c.args[0])._encode(a,b)},this))}else null!==c.use?d=this._getUse(c.use)._encode(a,b):(e=this._encodePrimitive(c.tag,a),g=!0);var d;if(!c.any&&null===c.choice){var h=null!==c.implicit?c.implicit:c.tag,i=null===c.implicit?"universal":"context";null===h?null===c.use&&b.error("Tag could be ommited only for .use()"):null===c.use&&(d=this._encodeComposite(h,g,i,e))}return null!==c.explicit&&(d=this._encodeComposite(c.explicit,!1,"context",d)),d},d.prototype._encodeChoice=function(a,b){var c=this._baseState,d=c.choice[a.type];return d._encode(a.value,b)},d.prototype._encodePrimitive=function(a,b){var c=this._baseState;if("octstr"===a||"bitstr"===a)return this._encodeStr(b,a);if("objid"===a&&c.args)return this._encodeObjid(b,c.reverseArgs[0],c.args[1]);if("objid"===a)return this._encodeObjid(b,null,null);if("gentime"===a||"utctime"===a)return this._encodeTime(b,a);if("null_"===a)return this._encodeNull();if("int"===a||"enum"===a)return this._encodeInt(b,c.args&&c.reverseArgs[0]);if("bool"===a)return this._encodeBool(b);throw new Error("Unsupported tag: "+a)}},{"../base":29,assert:130}],31:[function(a,b,c){function d(a){this._reporterState={obj:null,path:[],options:a||{},errors:[]}}function e(a,b){this.path=a,this.rethrow(b)}var f=a("util");c.Reporter=d,d.prototype.isError=function(a){return a instanceof e},d.prototype.enterKey=function(a){return this._reporterState.path.push(a)},d.prototype.leaveKey=function(a,b,c){var d=this._reporterState;d.path=d.path.slice(0,a-1),null!==d.obj&&(d.obj[b]=c)},d.prototype.enterObject=function(){var a=this._reporterState,b=a.obj;return a.obj={},b},d.prototype.leaveObject=function(a){var b=this._reporterState,c=b.obj;return b.obj=a,c},d.prototype.error=function(a){var b,c=this._reporterState,d=a instanceof e;if(b=d?a:new e(c.path.map(function(a){return"["+JSON.stringify(a)+"]"}).join(""),a.message||a,a.stack),!c.options.partial)throw b;return d||c.errors.push(b),b},d.prototype.wrapResult=function(a){var b=this._reporterState;return b.options.partial?{result:this.isError(a)?null:a,errors:b.errors}:a},f.inherits(e,Error),e.prototype.rethrow=function(a){return this.message=a+" at: "+(this.path||"(shallow)"),Error.captureStackTrace(this,e),this}},{util:321}],32:[function(a,b,c){var d=a("../constants");c.tagClass={0:"universal",1:"application",2:"context",3:"private"},c.tagClassByName=d._reverse(c.tagClass),c.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},c.tagByName=d._reverse(c.tag)},{"../constants":33}],33:[function(a,b,c){var d=c;d._reverse=function(a){var b={};return Object.keys(a).forEach(function(c){(0|c)==c&&(c=0|c);var d=a[c];b[d]=c}),b},d.der=a("./der")},{"./der":32}],34:[function(a,b,c){function d(a){this.enc="der",this.name=a.name,this.entity=a,this.tree=new e,this.tree._init(a.body)}function e(a){j.Node.call(this,"der",a)}function f(a,b){var c=a.readUInt8(b);if(a.isError(c))return c;var d=l.tagClass[c>>6],e=0===(32&c);if(31===(31&c)){var f=c;for(c=0;128===(128&f);){if(f=a.readUInt8(b),a.isError(f))return f;c<<=7,c|=127&f}}else c&=31;var g=l.tag[c];return{cls:d,primitive:e,tag:c,tagStr:g}}function g(a,b,c){var d=a.readUInt8(c);if(a.isError(d))return d;if(!b&&128===d)return null;if(0===(128&d))return d;var e=127&d;if(e>=4)return a.error("length octect is too long");d=0;for(var f=0;e>f;f++){d<<=8;var g=a.readUInt8(c);if(a.isError(g))return g;d|=g}return d}var h=a("util"),i=a("../../asn1"),j=i.base,k=i.bignum,l=i.constants.der;b.exports=d,d.prototype.decode=function(a,b){return a instanceof j.DecoderBuffer||(a=new j.DecoderBuffer(a,b)),this.tree._decode(a,b)},h.inherits(e,j.Node),e.prototype._peekTag=function(a,b){if(a.isEmpty())return!1;var c=a.save(),d=f(a,'Failed to peek tag: "'+b+'"');return a.isError(d)?d:(a.restore(c),d.tag===b||d.tagStr===b)},e.prototype._decodeTag=function(a,b,c){var d=f(a,'Failed to decode tag of "'+b+'"');if(a.isError(d))return d;var e=g(a,d.primitive,'Failed to get length of "'+b+'"');if(a.isError(e))return e;if(!c&&d.tag!==b&&d.tagStr!==b&&d.tagStr+"of"!==b)return a.error('Failed to match tag: "'+b+'"');if(d.primitive||null!==e)return a.skip(e,'Failed to match body of: "'+b+'"');var h=a.start(),i=this._skipUntilEnd(a,'Failed to skip indefinite length body: "'+this.tag+'"');return a.isError(i)?i:a.cut(h)},e.prototype._skipUntilEnd=function(a,b){for(;;){var c=f(a,b);if(a.isError(c))return c;var d=g(a,c.primitive,b);if(a.isError(d))return d;var e;if(e=c.primitive||null!==d?a.skip(d):this._skipUntilEnd(a,b),a.isError(e))return e;if("end"===c.tagStr)break}},e.prototype._decodeList=function(a,b,c){for(var d=[];!a.isEmpty();){var e=this._peekTag(a,"end");if(a.isError(e))return e;var f=c.decode(a,"der");if(a.isError(f)&&e)break;d.push(f)}return d},e.prototype._decodeStr=function(a,b){if("octstr"===b)return a.raw();if("bitstr"===b){var c=a.readUInt8();return a.isError(c)?c:{unused:c,data:a.raw()}}return this.error("Decoding of string type: "+b+" unsupported")},e.prototype._decodeObjid=function(a,b,c){for(var d=[],e=0;!a.isEmpty();){var f=a.readUInt8();e<<=7,e|=127&f,0===(128&f)&&(d.push(e),e=0)}128&f&&d.push(e);var g=d[0]/40|0,h=d[0]%40;return c?result=d:result=[g,h].concat(d.slice(1)),b&&(result=b[result.join(" ")]),result},e.prototype._decodeTime=function(a,b){var c=a.raw().toString();if("gentime"===b)var d=0|c.slice(0,4),e=0|c.slice(4,6),f=0|c.slice(6,8),g=0|c.slice(8,10),h=0|c.slice(10,12),i=0|c.slice(12,14);else{if("utctime"!==b)return this.error("Decoding "+b+" time is not supported yet");var d=0|c.slice(0,2),e=0|c.slice(2,4),f=0|c.slice(4,6),g=0|c.slice(6,8),h=0|c.slice(8,10),i=0|c.slice(10,12);d=70>d?2e3+d:1900+d}return Date.UTC(d,e-1,f,g,h,i,0)},e.prototype._decodeNull=function(a){return null},e.prototype._decodeBool=function(a){var b=a.readUInt8();return a.isError(b)?b:0!==b},e.prototype._decodeInt=function(a,b){var c=0,d=a.raw();if(d.length>3)return new k(d);for(;!a.isEmpty();){c<<=8;var e=a.readUInt8();if(a.isError(e))return e;c|=e}return b&&(c=b[c]||c),c},e.prototype._use=function(a){return a._getDecoder("der").tree}},{"../../asn1":26,util:321}],35:[function(a,b,c){var d=c;d.der=a("./der")},{"./der":34}],36:[function(a,b,c){function d(a){this.enc="der",this.name=a.name,this.entity=a,this.tree=new e,this.tree._init(a.body)}function e(a){k.Node.call(this,"der",a)}function f(a){return 10>=a?"0"+a:a}function g(a,b,c,d){var e;if("seqof"===a?a="seq":"setof"===a&&(a="set"),m.tagByName.hasOwnProperty(a))e=m.tagByName[a];else{if("number"!=typeof a||(0|a)!==a)return d.error("Unknown tag: "+a);e=a}return e>=31?d.error("Multi-octet tag encoding unsupported"):(b||(e|=32),e|=m.tagClassByName[c||"universal"]<<6)}var h=a("util"),i=a("buffer").Buffer,j=a("../../asn1"),k=j.base,l=j.bignum,m=j.constants.der;b.exports=d,d.prototype.encode=function(a,b){return this.tree._encode(a,b).join()},h.inherits(e,k.Node),e.prototype._encodeComposite=function(a,b,c,d){var e=g(a,b,c,this.reporter);if(d.length<128){var f=new i(2);return f[0]=e,f[1]=d.length,this._createEncoderBuffer([f,d])}for(var h=1,j=d.length;j>=256;j>>=8)h++;var f=new i(2+h);f[0]=e,f[1]=128|h;for(var j=1+h,k=d.length;k>0;j--,k>>=8)f[j]=255&k;return this._createEncoderBuffer([f,d])},e.prototype._encodeStr=function(a,b){return"octstr"===b?this._createEncoderBuffer(a):"bitstr"===b?this._createEncoderBuffer([0|a.unused,a.data]):this.reporter.error("Encoding of string type: "+b+" unsupported")},e.prototype._encodeObjid=function(a,b,c){if("string"==typeof a){if(!b)return this.reporter.error("string objid given, but no values map found");if(!b.hasOwnProperty(a))return this.reporter.error("objid not found in values map");a=b[a].split(/\s+/g);for(var d=0;d=40)return this.reporter.error("Second objid identifier OOB");a.splice(0,2,40*a[0]+a[1])}for(var e=0,d=0;d=128;f>>=7)e++}for(var g=new i(e),h=g.length-1,d=a.length-1;d>=0;d--){var f=a[d];for(g[h--]=127&f;(f>>=7)>0;)g[h--]=128|127&f}return this._createEncoderBuffer(g)},e.prototype._encodeTime=function(a,b){var c,d=new Date(a);return"gentime"===b?c=[d.getFullYear(),f(d.getUTCMonth()+1),f(d.getUTCDate()),f(d.getUTCHours()),f(d.getUTCMinutes()),f(d.getUTCSeconds()),"Z"].join(""):"utctime"===b?c=[d.getFullYear()%100,f(d.getUTCMonth()+1),f(d.getUTCDate()),f(d.getUTCHours()),f(d.getUTCMinutes()),f(d.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+b+" time is not supported yet"),this._encodeStr(c,"octstr")},e.prototype._encodeNull=function(){return this._createEncoderBuffer("")},e.prototype._encodeInt=function(a,b){if("string"==typeof a){if(!b)return this.reporter.error("String int or enum given, but no values map");if(!b.hasOwnProperty(a))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(a));a=b[a]}if(null!==l&&a instanceof l&&(a=new i(a.toArray())),i.isBuffer(a)){var c=a.length;0===a.length&&c++;var d=new i(c);return a.copy(d),0===a.length&&(d[0]=0),this._createEncoderBuffer(d)}if(256>a)return this._createEncoderBuffer(a);for(var c=1,e=a;e>=256;e>>=8)c++;for(var d=new i(c),e=d.length-1;e>=0;e--)d[e]=255&a,a>>=8;return this._createEncoderBuffer(d)},e.prototype._encodeBool=function(a){return this._createEncoderBuffer(a?255:0)},e.prototype._use=function(a){return a._getEncoder("der").tree}},{"../../asn1":26,buffer:145,util:321}],37:[function(a,b,c){var d=c;d.der=a("./der")},{"./der":36}],38:[function(a,b,c){function d(a,b){if(!a)throw new Error(b||"Assertion failed")}function e(a,b){a.super_=b;var c=function(){};c.prototype=b.prototype,a.prototype=new c,a.prototype.constructor=a}function f(a,b){return null!==a&&"object"==typeof a&&Array.isArray(a.words)?a:(this.sign=!1,this.words=null,this.length=0,this.red=null,void(null!==a&&this._init(a||0,b||10)))}function g(a){return 5===a.length?"0"+a:4===a.length?"00"+a:3===a.length?"000"+a:2===a.length?"0000"+a:1===a.length?"00000"+a:a}function h(a,b){this.name=a,this.p=new f(b,16),this.n=this.p.bitLength(),this.k=new f(1).ishln(this.n).isub(this.p),this.tmp=this._tmp()}function i(){h.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function j(){h.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function k(){h.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function l(){h.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function m(a){if("string"==typeof a){var b=f._prime(a);this.m=b.p,this.prime=b}else this.m=a,this.prime=null}function n(a){m.call(this,a),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new f(1).ishln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r.invm(this.m),this.minv=this.rinv.mul(this.r).sub(new f(1)).div(this.m).neg().mod(this.r)}"object"==typeof b&&(b.exports=f),f.BN=f,f.wordSize=26,f.prototype._init=function(a,b){if("number"==typeof a)return 0>a&&(this.sign=!0,a=-a),void(67108864>a?(this.words=[67108863&a],this.length=1):(this.words=[67108863&a,a/67108864&67108863],this.length=2));if("object"==typeof a){d("number"==typeof a.length),this.length=Math.ceil(a.length/3),this.words=new Array(this.length);for(var c=0;c=0;c-=3){var g=a[c]|a[c-1]<<8|a[c-2]<<16;this.words[f]|=g<>>26-e&67108863,e+=24,e>=26&&(e-=26,f++)}return this.strip()}"hex"===b&&(b=16),d(16>=b),a=a.toString().replace(/\s+/g,"");var h=0;"-"===a[0]&&h++,16===b?this._parseHex(a,h):this._parseBase(a,b,h),"-"===a[0]&&(this.sign=!0),this.strip()},f.prototype._parseHex=function(a,b){this.length=Math.ceil((a.length-b)/6),this.words=new Array(this.length);for(var c=0;c=b;c-=6){var f=parseInt(a.slice(c,c+6),16);this.words[e]|=f<>>26-d&4194303,d+=24,d>=26&&(d-=26,e++)}if(c+6!==b){var f=parseInt(a.slice(b,c+6),16);this.words[e]|=f<>>26-d&4194303}this.strip()},f.prototype._parseBase=function(a,b,c){this.words=[0],this.length=1;for(var e=0,g=1,h=0,i=null,j=c;j=l?0|l:l>="a"?l.charCodeAt(0)-97+10:l.charCodeAt(0)-65+10,e*=b,e+=k,g*=b,h++,g>1048575&&(d(67108863>=g),i||(i=new f(g)),this.mul(i).copy(this),this.iadd(new f(e)),e=0,g=1,h=0)}0!==h&&(this.mul(new f(g)).copy(this),this.iadd(new f(e)))},f.prototype.copy=function(a){a.words=new Array(this.length);for(var b=0;b1&&0===this.words[this.length-1];)this.length--;return this._normSign()},f.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.sign=!1),this},f.prototype.inspect=function(){return(this.red?""};var o=new f(null);o.words=[8011776,1490116],o.length=2,f.prototype.toString=function(a){if(a=a||10,16===a||"hex"===a){for(var b="",c=0,e=0,f=0;f>>24-c&16777215,b=0!==e||f!==this.length-1?g(i)+b:i+b,c+=2,c>=26&&(c-=26,f--)}return 0!==e&&(b=e.toString(16)+b),this.sign&&(b="-"+b),b}if(10===a){var b="",j=this.clone();for(j.sign=!1;0!==j.cmpn(0);){var k=j.modn(1e6);j=j.idivn(1e6),b=0!==j.cmpn(0)?g(k+"")+b:k+b}return 0===this.cmpn(0)&&(b="0"+b),this.sign&&(b="-"+b),b}d(!1,"Only 16 and 10 base are supported")},f.prototype.toJSON=function(){return this.toString(16)},f.prototype.toArray=function(){this.strip();var a=new Array(this.byteLength());a[0]=0;for(var b=this.clone(),c=0;0!==b.cmpn(0);c++){var d=b.andln(255);b.ishrn(8),a[a.length-c-1]=d}return a},f.prototype._countBits=function(a){return a>=33554432?26:a>=16777216?25:a>=8388608?24:a>=4194304?23:a>=2097152?22:a>=1048576?21:a>=524288?20:a>=262144?19:a>=131072?18:a>=65536?17:a>=32768?16:a>=16384?15:a>=8192?14:a>=4096?13:a>=2048?12:a>=1024?11:a>=512?10:a>=256?9:a>=128?8:a>=64?7:a>=32?6:a>=16?5:a>=8?4:a>=4?3:a>=2?2:a>=1?1:0},f.prototype.bitLength=function(){var a=0,b=this.words[this.length-1],a=this._countBits(b);return 26*(this.length-1)+a},f.prototype.byteLength=function(){this.words[this.length-1];return Math.ceil(this.bitLength()/8)},f.prototype.neg=function(){if(0===this.cmpn(0))return this.clone();var a=this.clone();return a.sign=!this.sign,a},f.prototype.iadd=function(a){if(this.sign&&!a.sign){this.sign=!1;var b=this.isub(a);return this.sign=!this.sign,this._normSign()}if(!this.sign&&a.sign){a.sign=!1;var b=this.isub(a);return a.sign=!0,b._normSign()}var c,d;this.length>a.length?(c=this,d=a):(c=a,d=this);for(var e=0,f=0;f>>26}for(;0!==e&&f>>26}if(this.length=c.length,0!==e)this.words[this.length]=e,this.length++;else if(c!==this)for(;fa.length?this.clone().iadd(a):a.clone().iadd(this)},f.prototype.isub=function(a){if(a.sign){a.sign=!1;var b=this.iadd(a);return a.sign=!0,b._normSign()}if(this.sign)return this.sign=!1,this.iadd(a),this.sign=!0,this._normSign();var c=this.cmp(a);if(0===c)return this.sign=!1,this.length=1,this.words[0]=0,this;if(c>0)var d=this,e=a;else var d=a,e=this;for(var f=0,g=0;gb?(b+=67108864,f=1):f=0,this.words[g]=b}for(;0!==f&&gb?(b+=67108864,f=1):f=0,this.words[g]=b}if(0===f&&g>>26,f=67108863&c,g=Math.min(d,a.length-1),h=Math.max(0,d-this.length+1);g>=h;h++){var i=d-h,j=this.words[i],k=a.words[h],l=j*k,m=67108863&l;e+=l/67108864|0,m+=f,f=67108863&m,e+=m>>>26}b.words[d]=f,c=e}return 0!==c?b.words[d]=c:b.length--,b.strip()},f.prototype.mul=function(a){var b=new f(null);return b.words=new Array(this.length+a.length),this.mulTo(a,b)},f.prototype.imul=function(a){if(0===this.cmpn(0)||0===a.cmpn(0))return this.words[0]=0,this.length=1,this;var b=this.length,c=a.length;this.sign=a.sign!==this.sign,this.length=this.length+a.length,this.words[this.length-1]=0;for(var d=this.length-2;d>=0;d--){for(var e=0,f=0,g=Math.min(d,c-1),h=Math.max(0,d-b+1);g>=h;h++){var i=d-h,j=this.words[i],k=a.words[h],l=j*k,m=67108863&l;e+=l/67108864|0,m+=f,f=67108863&m,e+=m>>>26}this.words[d]=f,this.words[d+1]+=e,e=0}for(var e=0,i=1;i>>26}return this.strip()},f.prototype.sqr=function(){return this.mul(this)},f.prototype.isqr=function(){return this.mul(this)},f.prototype.ishln=function(a){d("number"==typeof a&&a>=0);var b=a%26,c=(a-b)/26,e=67108863>>>26-b<<26-b;this.clone();if(0!==b){for(var f=0,g=0;g>>26-b}f&&(this.words[g]=f,this.length++)}if(0!==c){for(var g=this.length-1;g>=0;g--)this.words[g+c]=this.words[g];for(var g=0;c>g;g++)this.words[g]=0;this.length+=c}return this.strip()},f.prototype.ishrn=function(a,b,c){d("number"==typeof a&&a>=0),b=b?(b-b%26)/26:0;var e=a%26,f=Math.min((a-e)/26,this.length),g=67108863^67108863>>>e<i;i++)h.words[i]=this.words[i];h.length=f}if(0===f);else if(this.length>f){this.length-=f;for(var i=0;i=0&&(0!==j||i>=b);i--){var k=this.words[i];this.words[i]=j<<26-e|k>>>e,j=k&g}return h&&0!==j&&(h.words[h.length++]=j),0===this.length&&(this.words[0]=0,this.length=1),this.strip(),c?{hi:this,lo:h}:this},f.prototype.shln=function(a){return this.clone().ishln(a)},f.prototype.shrn=function(a){return this.clone().ishrn(a)},f.prototype.testn=function(a){d("number"==typeof a&&a>=0);var b=a%26,c=(a-b)/26,e=1<=0);var b=a%26,c=(a-b)/26;if(d(!this.sign,"imaskn works only with positive numbers"),0!==b&&c++,this.length=Math.min(c,this.length),0!==b){var e=67108863^67108863>>>b<a)return this.isubn(a);this.words[0]+=a;for(var b=0;b=67108864;b++)this.words[b]-=67108864,b===this.length-1?this.words[b+1]=1:this.words[b+1]++;return this.length=Math.max(this.length,b+1),this},f.prototype.isubn=function(a){if(d("number"==typeof a),d(this.cmpn(a)>=0,"Sign change is not supported in isubn"),0>a)return this.iaddn(-a);this.words[0]-=a;for(var b=0;be.length;){var h=67108864*d.words[d.length-1]+d.words[d.length-2],i=h/e.words[e.length-1],j=i/67108864|0,k=67108863&i;i=new f(null),i.words=[k,j],i.length=2;var c=26*(d.length-e.length-1);if(g){var l=i.shln(c);d.sign?g.isub(l):g.iadd(l)}i=i.mul(e).ishln(c),d.sign?d.iadd(i):d.isub(i)}for(;d.ucmp(e)>=0;){var h=d.words[d.length-1],i=new f(h/e.words[e.length-1]|0),c=26*(d.length-e.length);if(g){var l=i.shln(c);d.sign?g.isub(l):g.iadd(l)}i=i.mul(e).ishln(c),d.sign?d.iadd(i):d.isub(i)}return d.sign&&(g&&g.isubn(1),d.iadd(e)),{div:g?g:null,mod:d}},f.prototype.divmod=function(a,b){if(d(0!==a.cmpn(0)),this.sign&&!a.sign){var c,e,g=this.neg().divmod(a,b);return"mod"!==b&&(c=g.div.neg()),"div"!==b&&(e=0===g.mod.cmpn(0)?g.mod:a.sub(g.mod)),{div:c,mod:e}}if(!this.sign&&a.sign){var c,g=this.divmod(a.neg(),b);return"mod"!==b&&(c=g.div.neg()),{div:c,mod:g.mod}}return this.sign&&a.sign?this.neg().divmod(a.neg(),b):a.length>this.length||this.cmp(a)<0?{div:new f(0),mod:this}:1===a.length?"div"===b?{div:this.divn(a.words[0]),mod:null}:"mod"===b?{div:null,mod:new f(this.modn(a.words[0]))}:{div:this.divn(a.words[0]),mod:new f(this.modn(a.words[0]))}:this._wordDiv(a,b)},f.prototype.div=function(a){return this.divmod(a,"div").div},f.prototype.mod=function(a){return this.divmod(a,"mod").mod},f.prototype.divRound=function(a){var b=this.divmod(a);if(0===b.mod.cmpn(0))return b.div;var c=b.div.sign?b.mod.isub(a):b.mod,d=a.shrn(1),e=a.andln(1),f=c.cmp(d);return 0>f||1===e&&0===f?b.div:b.div.sign?b.div.isubn(1):b.div.iaddn(1)},f.prototype.modn=function(a){d(67108863>=a);for(var b=(1<<26)%a,c=0,e=this.length-1;e>=0;e--)c=(b*c+this.words[e])%a;return c},f.prototype.idivn=function(a){d(67108863>=a);for(var b=0,c=this.length-1;c>=0;c--){var e=this.words[c]+67108864*b;this.words[c]=e/a|0,b=e%a}return this.strip()},f.prototype.divn=function(a){return this.clone().idivn(a)},f.prototype._egcd=function(a,b){d(!b.sign),d(0!==b.cmpn(0));var c=this,e=b.clone();c=c.sign?c.mod(b):c.clone();for(var g=new f(0);c.cmpn(1)>0&&e.cmpn(1)>0;){for(;c.isEven();)c.ishrn(1),a.isEven()?a.ishrn(1):a.iadd(b).ishrn(1);for(;e.isEven();)e.ishrn(1),g.isEven()?g.ishrn(1):g.iadd(b).ishrn(1); +var h=a?new b(a,"base64"):null;return[{type:e,headers:g,pem:a,der:h,body:h||new b([0])}]},d.certs=e,d.trusted=f}).call(this,a("buffer").Buffer)},{"./rootcerts.json":24,buffer:145}],26:[function(a,b,c){var d=c;d.bignum=a("bn.js"),d.define=a("./asn1/api").define,d.base=a("./asn1/base"),d.constants=a("./asn1/constants"),d.decoders=a("./asn1/decoders"),d.encoders=a("./asn1/encoders")},{"./asn1/api":27,"./asn1/base":29,"./asn1/constants":33,"./asn1/decoders":35,"./asn1/encoders":37,"bn.js":38}],27:[function(a,b,c){function d(a,b){this.name=a,this.body=b,this.decoders={},this.encoders={}}var e=a("../asn1"),f=a("util"),g=a("vm"),h=c;h.define=function(a,b){return new d(a,b)},d.prototype._createNamed=function(a){var b=g.runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})");return f.inherits(b,a),b.prototype._initNamed=function(b){a.call(this,b)},new b(this)},d.prototype._getDecoder=function(a){return this.decoders.hasOwnProperty(a)||(this.decoders[a]=this._createNamed(e.decoders[a])),this.decoders[a]},d.prototype.decode=function(a,b,c){return this._getDecoder(b).decode(a,c)},d.prototype._getEncoder=function(a){return this.encoders.hasOwnProperty(a)||(this.encoders[a]=this._createNamed(e.encoders[a])),this.encoders[a]},d.prototype.encode=function(a,b,c){return this._getEncoder(b).encode(a,c)}},{"../asn1":26,util:319,vm:320}],28:[function(a,b,c){function d(a,b){return g.call(this,b),h.isBuffer(a)?(this.base=a,this.offset=0,void(this.length=a.length)):void this.error("Input not Buffer")}function e(a,b){if(Array.isArray(a))this.length=0,this.value=a.map(function(a){return a instanceof e||(a=new e(a)),this.length+=a.length,a},this);else if("number"==typeof a){if(!(a>=0&&255>=a))return b.error("non-byte EncoderBuffer value");this.value=a,this.length=1}else if("string"==typeof a)this.value=a,this.length=h.byteLength(a);else{if(!h.isBuffer(a))return b.error("Unsupporter type: "+typeof a);this.value=a,this.length=a.length}}var f=(a("assert"),a("util")),g=a("../base").Reporter,h=a("buffer").Buffer;f.inherits(d,g),c.DecoderBuffer=d,d.prototype.save=function(){return{offset:this.offset}},d.prototype.restore=function(a){var b=new d(this.base);return b.offset=a.offset,b.length=this.offset,this.offset=a.offset,b},d.prototype.isEmpty=function(){return this.offset===this.length},d.prototype.readUInt8=function(a){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(a||"DecoderBuffer overrun")},d.prototype.skip=function(a,b){if(!(this.offset+a<=this.length))return this.error(b||"DecoderBuffer overrun");var c=new d(this.base);return c._reporterState=this._reporterState,c.offset=this.offset,c.length=this.offset+a,this.offset+=a,c},d.prototype.raw=function(a){return this.base.slice(a?a.offset:this.offset,this.length)},c.EncoderBuffer=e,e.prototype.join=function(a,b){return a||(a=new h(this.length)),b||(b=0),0===this.length?a:(Array.isArray(this.value)?this.value.forEach(function(c){c.join(a,b),b+=c.length}):("number"==typeof this.value?a[b]=this.value:"string"==typeof this.value?a.write(this.value,b):h.isBuffer(this.value)&&this.value.copy(a,b),b+=this.length),a)}},{"../base":29,assert:130,buffer:145,util:319}],29:[function(a,b,c){var d=c;d.Reporter=a("./reporter").Reporter,d.DecoderBuffer=a("./buffer").DecoderBuffer,d.EncoderBuffer=a("./buffer").EncoderBuffer,d.Node=a("./node")},{"./buffer":28,"./node":30,"./reporter":31}],30:[function(a,b,c){function d(a,b){var c={};this._baseState=c,c.enc=a,c.parent=b||null,c.children=null,c.tag=null,c.args=null,c.reverseArgs=null,c.choice=null,c.optional=!1,c.any=!1,c.obj=!1,c.use=null,c.useDecoder=null,c.key=null,c["default"]=null,c.explicit=null,c.implicit=null,c.parent||(c.children=[],this._wrap())}var e=a("assert"),f=a("../base").Reporter,g=a("../base").EncoderBuffer,h=["seq","seqof","set","setof","octstr","bitstr","objid","bool","gentime","utctime","null_","enum","int"],i=["key","obj","use","optional","explicit","implicit","def","choice","any"].concat(h),j=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];b.exports=d;var k=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit"];d.prototype.clone=function(){var a=this._baseState,b={};k.forEach(function(c){b[c]=a[c]});var c=new this.constructor(b.parent);return c._baseState=b,c},d.prototype._wrap=function(){var a=this._baseState;i.forEach(function(b){this[b]=function(){var c=new this.constructor(this);return a.children.push(c),c[b].apply(c,arguments)}},this)},d.prototype._init=function(a){var b=this._baseState;e(null===b.parent),a.call(this),b.children=b.children.filter(function(a){return a._baseState.parent===this},this),e.equal(b.children.length,1,"Root node can have only one child")},d.prototype._useArgs=function(a){var b=this._baseState,c=a.filter(function(a){return a instanceof this.constructor},this);a=a.filter(function(a){return!(a instanceof this.constructor)},this),0!==c.length&&(e(null===b.children),b.children=c,c.forEach(function(a){a._baseState.parent=this},this)),0!==a.length&&(e(null===b.args),b.args=a,b.reverseArgs=a.map(function(a){if("object"!=typeof a||a.constructor!==Object)return a;var b={};return Object.keys(a).forEach(function(c){c==(0|c)&&(c|=0);var d=a[c];b[d]=c}),b}))},j.forEach(function(a){d.prototype[a]=function(){var b=this._baseState;throw new Error(a+" not implemented for encoding: "+b.enc)}}),h.forEach(function(a){d.prototype[a]=function(){var b=this._baseState,c=Array.prototype.slice.call(arguments);return e(null===b.tag),b.tag=a,this._useArgs(c),this}}),d.prototype.use=function(a){var b=this._baseState;return e(null===b.use),b.use=a,this},d.prototype.optional=function(){var a=this._baseState;return a.optional=!0,this},d.prototype.def=function(a){var b=this._baseState;return e(null===b["default"]),b["default"]=a,b.optional=!0,this},d.prototype.explicit=function(a){var b=this._baseState;return e(null===b.explicit&&null===b.implicit),b.explicit=a,this},d.prototype.implicit=function(a){var b=this._baseState;return e(null===b.explicit&&null===b.implicit),b.implicit=a,this},d.prototype.obj=function(){var a=this._baseState,b=Array.prototype.slice.call(arguments);return a.obj=!0,0!==b.length&&this._useArgs(b),this},d.prototype.key=function l(l){var a=this._baseState;return e(null===a.key),a.key=l,this},d.prototype.any=function(){var a=this._baseState;return a.any=!0,this},d.prototype.choice=function(a){var b=this._baseState;return e(null===b.choice),b.choice=a,this._useArgs(Object.keys(a).map(function(b){return a[b]})),this},d.prototype._decode=function(a){var b=this._baseState;if(null===b.parent)return a.wrapResult(b.children[0]._decode(a));var c,d=b["default"],e=!0;if(null!==b.key&&(c=a.enterKey(b.key)),b.optional&&(e=this._peekTag(a,null!==b.explicit?b.explicit:null!==b.implicit?b.implicit:b.tag||0),a.isError(e)))return e;var f;if(b.obj&&e&&(f=a.enterObject()),e){if(null!==b.explicit){var g=this._decodeTag(a,b.explicit);if(a.isError(g))return g;a=g}if(null===b.use&&null===b.choice){if(b.any)var h=a.save();var i=this._decodeTag(a,null!==b.implicit?b.implicit:b.tag,b.any);if(a.isError(i))return i;b.any?d=a.raw(h):a=i}if(d=b.any?d:null===b.choice?this._decodeGeneric(b.tag,a):this._decodeChoice(a),a.isError(d))return d;if(!b.any&&null===b.choice&&null!==b.children){var j=b.children.some(function(b){b._decode(a)});if(j)return err}}return b.obj&&e&&(d=a.leaveObject(f)),null===b.key||null===d&&e!==!0||a.leaveKey(c,b.key,d),d},d.prototype._decodeGeneric=function(a,b){var c=this._baseState;return"seq"===a||"set"===a?null:"seqof"===a||"setof"===a?this._decodeList(b,a,c.args[0]):"octstr"===a||"bitstr"===a?this._decodeStr(b,a):"objid"===a&&c.args?this._decodeObjid(b,c.args[0],c.args[1]):"objid"===a?this._decodeObjid(b,null,null):"gentime"===a||"utctime"===a?this._decodeTime(b,a):"null_"===a?this._decodeNull(b):"bool"===a?this._decodeBool(b):"int"===a||"enum"===a?this._decodeInt(b,c.args&&c.args[0]):null!==c.use?this._getUse(c.use)._decode(b):b.error("unknown tag: "+a)},d.prototype._getUse=function(a){var b=this._baseState;return b.useDecoder||(b.useDecoder=this._use(a),e(null===b.useDecoder._baseState.parent),b.useDecoder=b.useDecoder._baseState.children[0],null!==b.implicit&&(b.useDecoder=b.useDecoder.clone(),b.useDecoder._baseState.implicit=b.implicit)),b.useDecoder},d.prototype._decodeChoice=function(a){var b=this._baseState,c=null,d=!1;return Object.keys(b.choice).some(function(e){var f=a.save(),g=b.choice[e];try{var h=g._decode(a);if(a.isError(h))return!1;c={type:e,value:h},d=!0}catch(i){return a.restore(f),!1}return!0},this),d?c:a.error("Choice not matched")},d.prototype._createEncoderBuffer=function(a){return new g(a,this.reporter)},d.prototype._encode=function(a,b){var c=this._baseState;if(null===c.parent)return c.children[0]._encode(a,b||new f);var d=null;if(this.reporter=b,c.optional&&void 0===a){if(null===c["default"])return;a=c["default"]}var e=null,g=!1;if(c.any)d=this._createEncoderBuffer(a);else if(c.choice)d=this._encodeChoice(a,b);else if(c.children)e=c.children.map(function(c){if(null===c._baseState.key)return b.error("Child should have a key");var d=b.enterKey(c._baseState.key);if("object"!=typeof a)return b.error("Child expected, but input is not object");var e=c._encode(a[c._baseState.key],b);return b.leaveKey(d),e},this).filter(function(a){return a}),e=this._createEncoderBuffer(e);else if("seqof"===c.tag||"setof"===c.tag){if(!c.args||1!==c.args.length)return b.error("Too many args for : "+c.tag);if(!Array.isArray(a))return b.error("seqof/setof, but data is not Array");e=this._createEncoderBuffer(a.map(function(a){return this._getUse(c.args[0])._encode(a,b)},this))}else null!==c.use?d=this._getUse(c.use)._encode(a,b):(e=this._encodePrimitive(c.tag,a),g=!0);var d;if(!c.any&&null===c.choice){var h=null!==c.implicit?c.implicit:c.tag,i=null===c.implicit?"universal":"context";null===h?null===c.use&&b.error("Tag could be ommited only for .use()"):null===c.use&&(d=this._encodeComposite(h,g,i,e))}return null!==c.explicit&&(d=this._encodeComposite(c.explicit,!1,"context",d)),d},d.prototype._encodeChoice=function(a,b){var c=this._baseState,d=c.choice[a.type];return d._encode(a.value,b)},d.prototype._encodePrimitive=function(a,b){var c=this._baseState;if("octstr"===a||"bitstr"===a)return this._encodeStr(b,a);if("objid"===a&&c.args)return this._encodeObjid(b,c.reverseArgs[0],c.args[1]);if("objid"===a)return this._encodeObjid(b,null,null);if("gentime"===a||"utctime"===a)return this._encodeTime(b,a);if("null_"===a)return this._encodeNull();if("int"===a||"enum"===a)return this._encodeInt(b,c.args&&c.reverseArgs[0]);if("bool"===a)return this._encodeBool(b);throw new Error("Unsupported tag: "+a)}},{"../base":29,assert:130}],31:[function(a,b,c){function d(a){this._reporterState={obj:null,path:[],options:a||{},errors:[]}}function e(a,b){this.path=a,this.rethrow(b)}var f=a("util");c.Reporter=d,d.prototype.isError=function(a){return a instanceof e},d.prototype.enterKey=function(a){return this._reporterState.path.push(a)},d.prototype.leaveKey=function(a,b,c){var d=this._reporterState;d.path=d.path.slice(0,a-1),null!==d.obj&&(d.obj[b]=c)},d.prototype.enterObject=function(){var a=this._reporterState,b=a.obj;return a.obj={},b},d.prototype.leaveObject=function(a){var b=this._reporterState,c=b.obj;return b.obj=a,c},d.prototype.error=function(a){var b,c=this._reporterState,d=a instanceof e;if(b=d?a:new e(c.path.map(function(a){return"["+JSON.stringify(a)+"]"}).join(""),a.message||a,a.stack),!c.options.partial)throw b;return d||c.errors.push(b),b},d.prototype.wrapResult=function(a){var b=this._reporterState;return b.options.partial?{result:this.isError(a)?null:a,errors:b.errors}:a},f.inherits(e,Error),e.prototype.rethrow=function(a){return this.message=a+" at: "+(this.path||"(shallow)"),Error.captureStackTrace(this,e),this}},{util:319}],32:[function(a,b,c){var d=a("../constants");c.tagClass={0:"universal",1:"application",2:"context",3:"private"},c.tagClassByName=d._reverse(c.tagClass),c.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},c.tagByName=d._reverse(c.tag)},{"../constants":33}],33:[function(a,b,c){var d=c;d._reverse=function(a){var b={};return Object.keys(a).forEach(function(c){(0|c)==c&&(c=0|c);var d=a[c];b[d]=c}),b},d.der=a("./der")},{"./der":32}],34:[function(a,b,c){function d(a){this.enc="der",this.name=a.name,this.entity=a,this.tree=new e,this.tree._init(a.body)}function e(a){j.Node.call(this,"der",a)}function f(a,b){var c=a.readUInt8(b);if(a.isError(c))return c;var d=l.tagClass[c>>6],e=0===(32&c);if(31===(31&c)){var f=c;for(c=0;128===(128&f);){if(f=a.readUInt8(b),a.isError(f))return f;c<<=7,c|=127&f}}else c&=31;var g=l.tag[c];return{cls:d,primitive:e,tag:c,tagStr:g}}function g(a,b,c){var d=a.readUInt8(c);if(a.isError(d))return d;if(!b&&128===d)return null;if(0===(128&d))return d;var e=127&d;if(e>=4)return a.error("length octect is too long");d=0;for(var f=0;e>f;f++){d<<=8;var g=a.readUInt8(c);if(a.isError(g))return g;d|=g}return d}var h=a("util"),i=a("../../asn1"),j=i.base,k=i.bignum,l=i.constants.der;b.exports=d,d.prototype.decode=function(a,b){return a instanceof j.DecoderBuffer||(a=new j.DecoderBuffer(a,b)),this.tree._decode(a,b)},h.inherits(e,j.Node),e.prototype._peekTag=function(a,b){if(a.isEmpty())return!1;var c=a.save(),d=f(a,'Failed to peek tag: "'+b+'"');return a.isError(d)?d:(a.restore(c),d.tag===b||d.tagStr===b)},e.prototype._decodeTag=function(a,b,c){var d=f(a,'Failed to decode tag of "'+b+'"');if(a.isError(d))return d;var e=g(a,d.primitive,'Failed to get length of "'+b+'"');if(a.isError(e))return e;if(!c&&d.tag!==b&&d.tagStr!==b&&d.tagStr+"of"!==b)return a.error('Failed to match tag: "'+b+'"');if(d.primitive||null!==e)return a.skip(e,'Failed to match body of: "'+b+'"');var h=a.start(),i=this._skipUntilEnd(a,'Failed to skip indefinite length body: "'+this.tag+'"');return a.isError(i)?i:a.cut(h)},e.prototype._skipUntilEnd=function(a,b){for(;;){var c=f(a,b);if(a.isError(c))return c;var d=g(a,c.primitive,b);if(a.isError(d))return d;var e;if(e=c.primitive||null!==d?a.skip(d):this._skipUntilEnd(a,b),a.isError(e))return e;if("end"===c.tagStr)break}},e.prototype._decodeList=function(a,b,c){for(var d=[];!a.isEmpty();){var e=this._peekTag(a,"end");if(a.isError(e))return e;var f=c.decode(a,"der");if(a.isError(f)&&e)break;d.push(f)}return d},e.prototype._decodeStr=function(a,b){if("octstr"===b)return a.raw();if("bitstr"===b){var c=a.readUInt8();return a.isError(c)?c:{unused:c,data:a.raw()}}return this.error("Decoding of string type: "+b+" unsupported")},e.prototype._decodeObjid=function(a,b,c){for(var d=[],e=0;!a.isEmpty();){var f=a.readUInt8();e<<=7,e|=127&f,0===(128&f)&&(d.push(e),e=0)}128&f&&d.push(e);var g=d[0]/40|0,h=d[0]%40;return c?result=d:result=[g,h].concat(d.slice(1)),b&&(result=b[result.join(" ")]),result},e.prototype._decodeTime=function(a,b){var c=a.raw().toString();if("gentime"===b)var d=0|c.slice(0,4),e=0|c.slice(4,6),f=0|c.slice(6,8),g=0|c.slice(8,10),h=0|c.slice(10,12),i=0|c.slice(12,14);else{if("utctime"!==b)return this.error("Decoding "+b+" time is not supported yet");var d=0|c.slice(0,2),e=0|c.slice(2,4),f=0|c.slice(4,6),g=0|c.slice(6,8),h=0|c.slice(8,10),i=0|c.slice(10,12);d=70>d?2e3+d:1900+d}return Date.UTC(d,e-1,f,g,h,i,0)},e.prototype._decodeNull=function(a){return null},e.prototype._decodeBool=function(a){var b=a.readUInt8();return a.isError(b)?b:0!==b},e.prototype._decodeInt=function(a,b){var c=0,d=a.raw();if(d.length>3)return new k(d);for(;!a.isEmpty();){c<<=8;var e=a.readUInt8();if(a.isError(e))return e;c|=e}return b&&(c=b[c]||c),c},e.prototype._use=function(a){return a._getDecoder("der").tree}},{"../../asn1":26,util:319}],35:[function(a,b,c){var d=c;d.der=a("./der")},{"./der":34}],36:[function(a,b,c){function d(a){this.enc="der",this.name=a.name,this.entity=a,this.tree=new e,this.tree._init(a.body)}function e(a){k.Node.call(this,"der",a)}function f(a){return 10>=a?"0"+a:a}function g(a,b,c,d){var e;if("seqof"===a?a="seq":"setof"===a&&(a="set"),m.tagByName.hasOwnProperty(a))e=m.tagByName[a];else{if("number"!=typeof a||(0|a)!==a)return d.error("Unknown tag: "+a);e=a}return e>=31?d.error("Multi-octet tag encoding unsupported"):(b||(e|=32),e|=m.tagClassByName[c||"universal"]<<6)}var h=a("util"),i=a("buffer").Buffer,j=a("../../asn1"),k=j.base,l=j.bignum,m=j.constants.der;b.exports=d,d.prototype.encode=function(a,b){return this.tree._encode(a,b).join()},h.inherits(e,k.Node),e.prototype._encodeComposite=function(a,b,c,d){var e=g(a,b,c,this.reporter);if(d.length<128){var f=new i(2);return f[0]=e,f[1]=d.length,this._createEncoderBuffer([f,d])}for(var h=1,j=d.length;j>=256;j>>=8)h++;var f=new i(2+h);f[0]=e,f[1]=128|h;for(var j=1+h,k=d.length;k>0;j--,k>>=8)f[j]=255&k;return this._createEncoderBuffer([f,d])},e.prototype._encodeStr=function(a,b){return"octstr"===b?this._createEncoderBuffer(a):"bitstr"===b?this._createEncoderBuffer([0|a.unused,a.data]):this.reporter.error("Encoding of string type: "+b+" unsupported")},e.prototype._encodeObjid=function(a,b,c){if("string"==typeof a){if(!b)return this.reporter.error("string objid given, but no values map found");if(!b.hasOwnProperty(a))return this.reporter.error("objid not found in values map");a=b[a].split(/\s+/g);for(var d=0;d=40)return this.reporter.error("Second objid identifier OOB");a.splice(0,2,40*a[0]+a[1])}for(var e=0,d=0;d=128;f>>=7)e++}for(var g=new i(e),h=g.length-1,d=a.length-1;d>=0;d--){var f=a[d];for(g[h--]=127&f;(f>>=7)>0;)g[h--]=128|127&f}return this._createEncoderBuffer(g)},e.prototype._encodeTime=function(a,b){var c,d=new Date(a);return"gentime"===b?c=[d.getFullYear(),f(d.getUTCMonth()+1),f(d.getUTCDate()),f(d.getUTCHours()),f(d.getUTCMinutes()),f(d.getUTCSeconds()),"Z"].join(""):"utctime"===b?c=[d.getFullYear()%100,f(d.getUTCMonth()+1),f(d.getUTCDate()),f(d.getUTCHours()),f(d.getUTCMinutes()),f(d.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+b+" time is not supported yet"),this._encodeStr(c,"octstr")},e.prototype._encodeNull=function(){return this._createEncoderBuffer("")},e.prototype._encodeInt=function(a,b){if("string"==typeof a){if(!b)return this.reporter.error("String int or enum given, but no values map");if(!b.hasOwnProperty(a))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(a));a=b[a]}if(null!==l&&a instanceof l&&(a=new i(a.toArray())),i.isBuffer(a)){var c=a.length;0===a.length&&c++;var d=new i(c);return a.copy(d),0===a.length&&(d[0]=0),this._createEncoderBuffer(d)}if(256>a)return this._createEncoderBuffer(a);for(var c=1,e=a;e>=256;e>>=8)c++;for(var d=new i(c),e=d.length-1;e>=0;e--)d[e]=255&a,a>>=8;return this._createEncoderBuffer(d)},e.prototype._encodeBool=function(a){return this._createEncoderBuffer(a?255:0)},e.prototype._use=function(a){return a._getEncoder("der").tree}},{"../../asn1":26,buffer:145,util:319}],37:[function(a,b,c){var d=c;d.der=a("./der")},{"./der":36}],38:[function(a,b,c){function d(a,b){if(!a)throw new Error(b||"Assertion failed")}function e(a,b){a.super_=b;var c=function(){};c.prototype=b.prototype,a.prototype=new c,a.prototype.constructor=a}function f(a,b){return null!==a&&"object"==typeof a&&Array.isArray(a.words)?a:(this.sign=!1,this.words=null,this.length=0,this.red=null,void(null!==a&&this._init(a||0,b||10)))}function g(a){return 5===a.length?"0"+a:4===a.length?"00"+a:3===a.length?"000"+a:2===a.length?"0000"+a:1===a.length?"00000"+a:a}function h(a,b){this.name=a,this.p=new f(b,16),this.n=this.p.bitLength(),this.k=new f(1).ishln(this.n).isub(this.p),this.tmp=this._tmp()}function i(){h.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function j(){h.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function k(){h.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function l(){h.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function m(a){if("string"==typeof a){var b=f._prime(a);this.m=b.p,this.prime=b}else this.m=a,this.prime=null}function n(a){m.call(this,a),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new f(1).ishln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r.invm(this.m),this.minv=this.rinv.mul(this.r).sub(new f(1)).div(this.m).neg().mod(this.r)}"object"==typeof b&&(b.exports=f),f.BN=f,f.wordSize=26,f.prototype._init=function(a,b){if("number"==typeof a)return 0>a&&(this.sign=!0,a=-a),void(67108864>a?(this.words=[67108863&a],this.length=1):(this.words=[67108863&a,a/67108864&67108863],this.length=2));if("object"==typeof a){d("number"==typeof a.length),this.length=Math.ceil(a.length/3),this.words=new Array(this.length);for(var c=0;c=0;c-=3){var g=a[c]|a[c-1]<<8|a[c-2]<<16;this.words[f]|=g<>>26-e&67108863,e+=24,e>=26&&(e-=26,f++)}return this.strip()}"hex"===b&&(b=16),d(16>=b),a=a.toString().replace(/\s+/g,"");var h=0;"-"===a[0]&&h++,16===b?this._parseHex(a,h):this._parseBase(a,b,h),"-"===a[0]&&(this.sign=!0),this.strip()},f.prototype._parseHex=function(a,b){this.length=Math.ceil((a.length-b)/6),this.words=new Array(this.length);for(var c=0;c=b;c-=6){var f=parseInt(a.slice(c,c+6),16);this.words[e]|=f<>>26-d&4194303,d+=24,d>=26&&(d-=26,e++)}if(c+6!==b){var f=parseInt(a.slice(b,c+6),16);this.words[e]|=f<>>26-d&4194303}this.strip()},f.prototype._parseBase=function(a,b,c){this.words=[0],this.length=1;for(var e=0,g=1,h=0,i=null,j=c;j=l?0|l:l>="a"?l.charCodeAt(0)-97+10:l.charCodeAt(0)-65+10,e*=b,e+=k,g*=b,h++,g>1048575&&(d(67108863>=g),i||(i=new f(g)),this.mul(i).copy(this),this.iadd(new f(e)),e=0,g=1,h=0)}0!==h&&(this.mul(new f(g)).copy(this),this.iadd(new f(e)))},f.prototype.copy=function(a){a.words=new Array(this.length);for(var b=0;b1&&0===this.words[this.length-1];)this.length--;return this._normSign()},f.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.sign=!1),this},f.prototype.inspect=function(){return(this.red?""};var o=new f(null);o.words=[8011776,1490116],o.length=2,f.prototype.toString=function(a){if(a=a||10,16===a||"hex"===a){for(var b="",c=0,e=0,f=0;f>>24-c&16777215,b=0!==e||f!==this.length-1?g(i)+b:i+b,c+=2,c>=26&&(c-=26,f--)}return 0!==e&&(b=e.toString(16)+b),this.sign&&(b="-"+b),b}if(10===a){var b="",j=this.clone();for(j.sign=!1;0!==j.cmpn(0);){var k=j.modn(1e6);j=j.idivn(1e6),b=0!==j.cmpn(0)?g(k+"")+b:k+b}return 0===this.cmpn(0)&&(b="0"+b),this.sign&&(b="-"+b),b}d(!1,"Only 16 and 10 base are supported")},f.prototype.toJSON=function(){return this.toString(16)},f.prototype.toArray=function(){this.strip();var a=new Array(this.byteLength());a[0]=0;for(var b=this.clone(),c=0;0!==b.cmpn(0);c++){var d=b.andln(255);b.ishrn(8),a[a.length-c-1]=d}return a},f.prototype._countBits=function(a){return a>=33554432?26:a>=16777216?25:a>=8388608?24:a>=4194304?23:a>=2097152?22:a>=1048576?21:a>=524288?20:a>=262144?19:a>=131072?18:a>=65536?17:a>=32768?16:a>=16384?15:a>=8192?14:a>=4096?13:a>=2048?12:a>=1024?11:a>=512?10:a>=256?9:a>=128?8:a>=64?7:a>=32?6:a>=16?5:a>=8?4:a>=4?3:a>=2?2:a>=1?1:0},f.prototype.bitLength=function(){var a=0,b=this.words[this.length-1],a=this._countBits(b);return 26*(this.length-1)+a},f.prototype.byteLength=function(){this.words[this.length-1];return Math.ceil(this.bitLength()/8)},f.prototype.neg=function(){if(0===this.cmpn(0))return this.clone();var a=this.clone();return a.sign=!this.sign,a},f.prototype.iadd=function(a){if(this.sign&&!a.sign){this.sign=!1;var b=this.isub(a);return this.sign=!this.sign,this._normSign()}if(!this.sign&&a.sign){a.sign=!1;var b=this.isub(a);return a.sign=!0,b._normSign()}var c,d;this.length>a.length?(c=this,d=a):(c=a,d=this);for(var e=0,f=0;f>>26}for(;0!==e&&f>>26}if(this.length=c.length,0!==e)this.words[this.length]=e,this.length++;else if(c!==this)for(;fa.length?this.clone().iadd(a):a.clone().iadd(this)},f.prototype.isub=function(a){if(a.sign){a.sign=!1;var b=this.iadd(a);return a.sign=!0,b._normSign()}if(this.sign)return this.sign=!1,this.iadd(a),this.sign=!0,this._normSign();var c=this.cmp(a);if(0===c)return this.sign=!1,this.length=1,this.words[0]=0,this;if(c>0)var d=this,e=a;else var d=a,e=this;for(var f=0,g=0;gb?(b+=67108864,f=1):f=0,this.words[g]=b}for(;0!==f&&gb?(b+=67108864,f=1):f=0,this.words[g]=b}if(0===f&&g>>26,f=67108863&c,g=Math.min(d,a.length-1),h=Math.max(0,d-this.length+1);g>=h;h++){var i=d-h,j=this.words[i],k=a.words[h],l=j*k,m=67108863&l;e+=l/67108864|0,m+=f,f=67108863&m,e+=m>>>26}b.words[d]=f,c=e}return 0!==c?b.words[d]=c:b.length--,b.strip()},f.prototype.mul=function(a){var b=new f(null);return b.words=new Array(this.length+a.length),this.mulTo(a,b)},f.prototype.imul=function(a){if(0===this.cmpn(0)||0===a.cmpn(0))return this.words[0]=0,this.length=1,this;var b=this.length,c=a.length;this.sign=a.sign!==this.sign,this.length=this.length+a.length,this.words[this.length-1]=0;for(var d=this.length-2;d>=0;d--){for(var e=0,f=0,g=Math.min(d,c-1),h=Math.max(0,d-b+1);g>=h;h++){var i=d-h,j=this.words[i],k=a.words[h],l=j*k,m=67108863&l;e+=l/67108864|0,m+=f,f=67108863&m,e+=m>>>26}this.words[d]=f,this.words[d+1]+=e,e=0}for(var e=0,i=1;i>>26}return this.strip()},f.prototype.sqr=function(){return this.mul(this)},f.prototype.isqr=function(){return this.mul(this)},f.prototype.ishln=function(a){d("number"==typeof a&&a>=0);var b=a%26,c=(a-b)/26,e=67108863>>>26-b<<26-b;this.clone();if(0!==b){for(var f=0,g=0;g>>26-b}f&&(this.words[g]=f,this.length++)}if(0!==c){for(var g=this.length-1;g>=0;g--)this.words[g+c]=this.words[g];for(var g=0;c>g;g++)this.words[g]=0;this.length+=c}return this.strip()},f.prototype.ishrn=function(a,b,c){d("number"==typeof a&&a>=0),b=b?(b-b%26)/26:0;var e=a%26,f=Math.min((a-e)/26,this.length),g=67108863^67108863>>>e<i;i++)h.words[i]=this.words[i];h.length=f}if(0===f);else if(this.length>f){this.length-=f;for(var i=0;i=0&&(0!==j||i>=b);i--){var k=this.words[i];this.words[i]=j<<26-e|k>>>e,j=k&g}return h&&0!==j&&(h.words[h.length++]=j),0===this.length&&(this.words[0]=0,this.length=1),this.strip(),c?{hi:this,lo:h}:this},f.prototype.shln=function(a){return this.clone().ishln(a)},f.prototype.shrn=function(a){return this.clone().ishrn(a)},f.prototype.testn=function(a){d("number"==typeof a&&a>=0);var b=a%26,c=(a-b)/26,e=1<=0);var b=a%26,c=(a-b)/26;if(d(!this.sign,"imaskn works only with positive numbers"),0!==b&&c++,this.length=Math.min(c,this.length),0!==b){var e=67108863^67108863>>>b<a)return this.isubn(a);this.words[0]+=a;for(var b=0;b=67108864;b++)this.words[b]-=67108864,b===this.length-1?this.words[b+1]=1:this.words[b+1]++;return this.length=Math.max(this.length,b+1),this},f.prototype.isubn=function(a){if(d("number"==typeof a),d(this.cmpn(a)>=0,"Sign change is not supported in isubn"),0>a)return this.iaddn(-a);this.words[0]-=a;for(var b=0;be.length;){var h=67108864*d.words[d.length-1]+d.words[d.length-2],i=h/e.words[e.length-1],j=i/67108864|0,k=67108863&i;i=new f(null),i.words=[k,j],i.length=2;var c=26*(d.length-e.length-1);if(g){var l=i.shln(c);d.sign?g.isub(l):g.iadd(l)}i=i.mul(e).ishln(c),d.sign?d.iadd(i):d.isub(i)}for(;d.ucmp(e)>=0;){var h=d.words[d.length-1],i=new f(h/e.words[e.length-1]|0),c=26*(d.length-e.length);if(g){var l=i.shln(c);d.sign?g.isub(l):g.iadd(l)}i=i.mul(e).ishln(c),d.sign?d.iadd(i):d.isub(i)}return d.sign&&(g&&g.isubn(1),d.iadd(e)),{div:g?g:null,mod:d}},f.prototype.divmod=function(a,b){if(d(0!==a.cmpn(0)),this.sign&&!a.sign){var c,e,g=this.neg().divmod(a,b);return"mod"!==b&&(c=g.div.neg()),"div"!==b&&(e=0===g.mod.cmpn(0)?g.mod:a.sub(g.mod)),{div:c,mod:e}}if(!this.sign&&a.sign){var c,g=this.divmod(a.neg(),b);return"mod"!==b&&(c=g.div.neg()),{div:c,mod:g.mod}}return this.sign&&a.sign?this.neg().divmod(a.neg(),b):a.length>this.length||this.cmp(a)<0?{div:new f(0),mod:this}:1===a.length?"div"===b?{div:this.divn(a.words[0]),mod:null}:"mod"===b?{div:null,mod:new f(this.modn(a.words[0]))}:{div:this.divn(a.words[0]),mod:new f(this.modn(a.words[0]))}:this._wordDiv(a,b)},f.prototype.div=function(a){return this.divmod(a,"div").div},f.prototype.mod=function(a){return this.divmod(a,"mod").mod},f.prototype.divRound=function(a){var b=this.divmod(a);if(0===b.mod.cmpn(0))return b.div;var c=b.div.sign?b.mod.isub(a):b.mod,d=a.shrn(1),e=a.andln(1),f=c.cmp(d);return 0>f||1===e&&0===f?b.div:b.div.sign?b.div.isubn(1):b.div.iaddn(1)},f.prototype.modn=function(a){d(67108863>=a);for(var b=(1<<26)%a,c=0,e=this.length-1;e>=0;e--)c=(b*c+this.words[e])%a;return c},f.prototype.idivn=function(a){d(67108863>=a);for(var b=0,c=this.length-1;c>=0;c--){var e=this.words[c]+67108864*b;this.words[c]=e/a|0,b=e%a}return this.strip()},f.prototype.divn=function(a){return this.clone().idivn(a)},f.prototype._egcd=function(a,b){d(!b.sign),d(0!==b.cmpn(0));var c=this,e=b.clone();c=c.sign?c.mod(b):c.clone();for(var g=new f(0);c.cmpn(1)>0&&e.cmpn(1)>0;){for(;c.isEven();)c.ishrn(1),a.isEven()?a.ishrn(1):a.iadd(b).ishrn(1);for(;e.isEven();)e.ishrn(1),g.isEven()?g.ishrn(1):g.iadd(b).ishrn(1); c.cmp(e)>=0?(c.isub(e),a.isub(g)):(e.isub(c),g.isub(a))}return 0===c.cmpn(1)?a:g},f.prototype.gcd=function(a){if(0===this.cmpn(0))return a.clone();if(0===a.cmpn(0))return this.clone();var b=this.clone(),c=a.clone();b.sign=!1,c.sign=!1;for(var d=0;b.isEven()&&c.isEven();d++)b.ishrn(1),c.ishrn(1);for(;b.isEven();)b.ishrn(1);do{for(;c.isEven();)c.ishrn(1);if(b.cmp(c)<0){var e=b;b=c,c=e}b.isub(b.div(c).mul(c))}while(0!==b.cmpn(0)&&0!==c.cmpn(0));return 0===b.cmpn(0)?c.ishln(d):b.ishln(d)},f.prototype.invm=function(a){return this._egcd(new f(1),a).mod(a)},f.prototype.isEven=function(a){return 0===(1&this.words[0])},f.prototype.isOdd=function(a){return 1===(1&this.words[0])},f.prototype.andln=function(a){return this.words[0]&a},f.prototype.bincn=function(a){d("number"==typeof a);var b=a%26,c=(a-b)/26,e=1<f;f++)this.words[f]=0;return this.words[c]|=e,this.length=c+1,this}for(var g=e,f=c;0!==g&&f>>26,h&=67108863,this.words[f]=h}return 0!==g&&(this.words[f]=g,this.length++),this},f.prototype.cmpn=function(a){var b=0>a;if(b&&(a=-a),this.sign&&!b)return-1;if(!this.sign&&b)return 1;a&=67108863,this.strip();var c;if(this.length>1)c=1;else{var d=this.words[0];c=d===a?0:a>d?-1:1}return this.sign&&(c=-c),c},f.prototype.cmp=function(a){if(this.sign&&!a.sign)return-1;if(!this.sign&&a.sign)return 1;var b=this.ucmp(a);return this.sign?-b:b},f.prototype.ucmp=function(a){if(this.length>a.length)return 1;if(this.length=0;c--){var d=this.words[c],e=a.words[c];if(d!==e){e>d?b=-1:d>e&&(b=1);break}}return b},f.red=function(a){return new m(a)},f.prototype.toRed=function(a){return d(!this.red,"Already a number in reduction context"),d(!this.sign,"red works only with positives"),a.convertTo(this)._forceRed(a)},f.prototype.fromRed=function(){return d(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},f.prototype._forceRed=function(a){return this.red=a,this},f.prototype.forceRed=function(a){return d(!this.red,"Already a number in reduction context"),this._forceRed(a)},f.prototype.redAdd=function(a){return d(this.red,"redAdd works only with red numbers"),this.red.add(this,a)},f.prototype.redIAdd=function(a){return d(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,a)},f.prototype.redSub=function(a){return d(this.red,"redSub works only with red numbers"),this.red.sub(this,a)},f.prototype.redISub=function(a){return d(this.red,"redISub works only with red numbers"),this.red.isub(this,a)},f.prototype.redShl=function(a){return d(this.red,"redShl works only with red numbers"),this.red.shl(this,a)},f.prototype.redMul=function(a){return d(this.red,"redMul works only with red numbers"),this.red._verify2(this,a),this.red.mul(this,a)},f.prototype.redIMul=function(a){return d(this.red,"redMul works only with red numbers"),this.red._verify2(this,a),this.red.imul(this,a)},f.prototype.redSqr=function(){return d(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},f.prototype.redISqr=function(){return d(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},f.prototype.redSqrt=function(){return d(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},f.prototype.redInvm=function(){return d(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},f.prototype.redNeg=function(){return d(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},f.prototype.redPow=function(a){return d(this.red&&!a.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,a)};var p={k256:null,p224:null,p192:null,p25519:null};h.prototype._tmp=function(){var a=new f(null);return a.words=new Array(Math.ceil(this.n/13)),a},h.prototype.ireduce=function(a){var b,c=a;do{var d=c.ishrn(this.n,0,this.tmp);c=this.imulK(d.hi),c=c.iadd(d.lo),b=c.bitLength()}while(b>this.n);var e=b0?c.isub(this.p):c.strip(),c},h.prototype.imulK=function(a){return a.imul(this.k)},e(i,h),i.prototype.imulK=function(a){a.words[a.length]=0,a.words[a.length+1]=0,a.length+=2;for(var b=a.length-3;b>=0;b--){var c=a.words[b],d=64*c,e=977*c;d+=e/67108864|0;var f=d/67108864|0;d&=67108863,e&=67108863,a.words[b+2]+=f,a.words[b+1]+=d,a.words[b]=e}var c=a.words[a.length-2];return c>=67108864&&(a.words[a.length-1]+=c>>>26,a.words[a.length-2]=67108863&c),0===a.words[a.length-1]&&a.length--,0===a.words[a.length-1]&&a.length--,a},e(j,h),e(k,h),e(l,h),l.prototype.imulK=function(a){for(var b=0,c=0;c>>=26,a.words[c]=e,b=d}return 0!==b&&(a.words[a.length++]=b),a},f._prime=function q(a){if(p[a])return p[a];var q;if("k256"===a)q=new i;else if("p224"===a)q=new j;else if("p192"===a)q=new k;else{if("p25519"!==a)throw new Error("Unknown prime "+a);q=new l}return p[a]=q,q},m.prototype._verify1=function(a){d(!a.sign,"red works only with positives"),d(a.red,"red works only with red numbers")},m.prototype._verify2=function(a,b){d(!a.sign&&!b.sign,"red works only with positives"),d(a.red&&a.red===b.red,"red works only with red numbers")},m.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):a.mod(this.m)._forceRed(this)},m.prototype.neg=function(a){var b=a.clone();return b.sign=!b.sign,b.iadd(this.m)._forceRed(this)},m.prototype.add=function(a,b){this._verify2(a,b);var c=a.add(b);return c.cmp(this.m)>=0&&c.isub(this.m),c._forceRed(this)},m.prototype.iadd=function(a,b){this._verify2(a,b);var c=a.iadd(b);return c.cmp(this.m)>=0&&c.isub(this.m),c},m.prototype.sub=function(a,b){this._verify2(a,b);var c=a.sub(b);return c.cmpn(0)<0&&c.iadd(this.m),c._forceRed(this)},m.prototype.isub=function(a,b){this._verify2(a,b);var c=a.isub(b);return c.cmpn(0)<0&&c.iadd(this.m),c},m.prototype.shl=function(a,b){return this._verify1(a),this.imod(a.shln(b))},m.prototype.imul=function(a,b){return this._verify2(a,b),this.imod(a.imul(b))},m.prototype.mul=function(a,b){return this._verify2(a,b),this.imod(a.mul(b))},m.prototype.isqr=function(a){return this.imul(a,a)},m.prototype.sqr=function(a){return this.mul(a,a)},m.prototype.sqrt=function(a){if(0===a.cmpn(0))return a.clone();var b=this.m.andln(3);if(d(b%2===1),3===b){var c=this.m.add(new f(1)).ishrn(2),e=this.pow(a,c);return e}for(var g=this.m.subn(1),h=0;0!==g.cmpn(0)&&0===g.andln(1);)h++,g.ishrn(1);d(0!==g.cmpn(0));var i=new f(1).toRed(this),j=i.redNeg(),k=this.m.subn(1).ishrn(1),l=this.m.bitLength();for(l=new f(2*l*l).toRed(this);0!==this.pow(l,k).cmp(j);)l.redIAdd(j);for(var m=this.pow(l,g),e=this.pow(a,g.addn(1).ishrn(1)),n=this.pow(a,g),o=h;0!==n.cmp(i);){for(var p=n,q=0;0!==p.cmp(i);q++)p=p.redSqr();d(o>q);var r=this.pow(m,new f(1).ishln(o-q-1));e=e.redMul(r),m=r.redSqr(),n=n.redMul(m),o=q}return e},m.prototype.invm=function(a){var b=a._egcd(new f(1),this.m);return b.sign?(b.sign=!1,this.imod(b).redNeg()):this.imod(b)},m.prototype.pow=function(a,b){for(var c=[],d=b.clone();0!==d.cmpn(0);)c.push(d.andln(1)),d.ishrn(1);for(var e=a,f=0;f=0?f=e.isub(this.m):e.cmpn(0)<0&&(f=e.iadd(this.m)),f._forceRed(this)},n.prototype.mul=function(a,b){if(0===a.cmpn(0)||0===b.cmpn(0))return new f(0)._forceRed(this);var c=a.mul(b),d=c.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),e=c.isub(d).ishrn(this.shift),g=e;return e.cmp(this.m)>=0?g=e.isub(this.m):e.cmpn(0)<0&&(g=e.iadd(this.m)),g._forceRed(this)},n.prototype.invm=function(a){var b=this.imod(a.invm(this.m).mul(this.r2));return b._forceRed(this)}},{}],39:[function(a,b,c){try{var d=a("asn1.js")}catch(e){var d=a("../..")}var f=d.define("CRLReason",function(){this["enum"]({0:"unspecified",1:"keyCompromise",2:"CACompromise",3:"affiliationChanged",4:"superseded",5:"cessationOfOperation",6:"certificateHold",8:"removeFromCRL",9:"privilegeWithdrawn",10:"AACompromise"})});c.CRLReason=f;var g=d.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional().any())});c.AlgorithmIdentifier=g;var h=d.define("Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(i),this.key("signatureAlgorithm").use(g),this.key("signature").bitstr())});c.Certificate=h;var i=d.define("TBSCertificate",function(){this.seq().obj(this.key("version").def("v1").explicit(0).use(j),this.key("serialNumber").use(k),this.key("signature").use(g),this.key("issuer").use(r),this.key("validity").use(l),this.key("subject").use(r),this.key("subjectPublicKeyInfo").use(o),this.key("issuerUniqueID").optional().explicit(1).use(n),this.key("subjectUniqueID").optional().explicit(2).use(n),this.key("extensions").optional().explicit(3).use(p))});c.TBSCertificate=i;var j=d.define("Version",function(){this["int"]({0:"v1",1:"v2",2:"v3"})});c.Version=j;var k=d.define("CertificateSerialNumber",function(){this["int"]()});c.CertificateSerialNumber=k;var l=d.define("Validity",function(){this.seq().obj(this.key("notBefore").use(m),this.key("notAfter").use(m))});c.Validity=l;var m=d.define("Time",function(){this.choice({utcTime:this.utctime(),genTime:this.gentime()})});c.Time=m;var n=d.define("UniqueIdentifier",function(){this.bitstr()});c.UniqueIdentifier=n;var o=d.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(g),this.key("subjectPublicKey").bitstr())});c.SubjectPublicKeyInfo=o;var p=d.define("Extensions",function(){this.seqof(q)});c.Extensions=p;var q=d.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())});c.Extension=q;var r=d.define("Name",function(){this.choice({rdn:this.use(s)})});c.Name=r;var s=d.define("RDNSequence",function(){this.seqof(t)});c.RDNSequence=s;var t=d.define("RelativeDistinguishedName",function(){this.setof(u)});c.RelativeDistinguishedName=t;var u=d.define("AttributeTypeAndValue",function(){this.seq().obj(this.key("type").use(v),this.key("value").use(w))});c.AttributeTypeAndValue=u;var v=d.define("AttributeType",function(){this.objid()});c.AttributeType=v;var w=d.define("AttributeValue",function(){this.any()});c.AttributeValue=w},{"../..":26,"asn1.js":26}],40:[function(require,module,exports){(function(Buffer){function hex2b64(a){var b,c,d="";for(b=0;b+3<=a.length;b+=3)c=parseInt(a.substring(b,b+3),16),d+=b64map.charAt(c>>6)+b64map.charAt(63&c);if(b+1==a.length?(c=parseInt(a.substring(b,b+1),16),d+=b64map.charAt(c<<2)):b+2==a.length&&(c=parseInt(a.substring(b,b+2),16),d+=b64map.charAt(c>>2)+b64map.charAt((3&c)<<4)),b64pad)for(;(3&d.length)>0;)d+=b64pad;return d}function b64tohex(a){var b,c,d,e="",f=0;for(b=0;bd||(0==f?(e+=int2char(d>>2),c=3&d,f=1):1==f?(e+=int2char(c<<2|d>>4),c=15&d,f=2):2==f?(e+=int2char(c),e+=int2char(d>>2),c=3&d,f=3):(e+=int2char(c<<2|d>>4),e+=int2char(15&d),f=0));return 1==f&&(e+=int2char(c<<2)),e}function b64toBA(a){var b,c=b64tohex(a),d=new Array;for(b=0;2*b=0;){var g=b*this[a++]+c[d]+e;e=Math.floor(g/67108864),c[d++]=67108863&g}return e}function am2(a,b,c,d,e,f){for(var g=32767&b,h=b>>15;--f>=0;){var i=32767&this[a],j=this[a++]>>15,k=h*i+j*g;i=g*i+((32767&k)<<15)+c[d]+(1073741823&e),e=(i>>>30)+(k>>>15)+h*j+(e>>>30),c[d++]=1073741823&i}return e}function am3(a,b,c,d,e,f){for(var g=16383&b,h=b>>14;--f>=0;){var i=16383&this[a],j=this[a++]>>14,k=h*i+j*g;i=g*i+((16383&k)<<14)+c[d]+e,e=(i>>28)+(k>>14)+h*j,c[d++]=268435455&i}return e}function int2char(a){return BI_RM.charAt(a)}function intAt(a,b){var c=BI_RC[a.charCodeAt(b)];return null==c?-1:c}function bnpCopyTo(a){for(var b=this.t-1;b>=0;--b)a[b]=this[b];a.t=this.t,a.s=this.s}function bnpFromInt(a){this.t=1,this.s=0>a?-1:0,a>0?this[0]=a:-1>a?this[0]=a+this.DV:this.t=0}function nbv(a){var b=nbi();return b.fromInt(a),b}function bnpFromString(a,b){var c;if(16==b)c=4;else if(8==b)c=3;else if(256==b)c=8;else if(2==b)c=1;else if(32==b)c=5;else{if(4!=b)return void this.fromRadix(a,b);c=2}this.t=0,this.s=0;for(var d=a.length,e=!1,f=0;--d>=0;){var g=8==c?255&a[d]:intAt(a,d);0>g?"-"==a.charAt(d)&&(e=!0):(e=!1,0==f?this[this.t++]=g:f+c>this.DB?(this[this.t-1]|=(g&(1<>this.DB-f):this[this.t-1]|=g<=this.DB&&(f-=this.DB))}8==c&&0!=(128&a[0])&&(this.s=-1,f>0&&(this[this.t-1]|=(1<0&&this[this.t-1]==a;)--this.t}function bnToString(a){if(this.s<0)return"-"+this.negate().toString(a);var b;if(16==a)b=4;else if(8==a)b=3;else if(2==a)b=1;else if(32==a)b=5;else{if(4!=a)return this.toRadix(a);b=2}var c,d=(1<0)for(h>h)>0&&(e=!0,f=int2char(c));g>=0;)b>h?(c=(this[g]&(1<>(h+=this.DB-b)):(c=this[g]>>(h-=b)&d,0>=h&&(h+=this.DB,--g)),c>0&&(e=!0),e&&(f+=int2char(c));return e?f:"0"}function bnNegate(){var a=nbi();return BigInteger.ZERO.subTo(this,a),a}function bnAbs(){return this.s<0?this.negate():this}function bnCompareTo(a){var b=this.s-a.s;if(0!=b)return b;var c=this.t;if(b=c-a.t,0!=b)return this.s<0?-b:b;for(;--c>=0;)if(0!=(b=this[c]-a[c]))return b;return 0}function nbits(a){var b,c=1;return 0!=(b=a>>>16)&&(a=b,c+=16),0!=(b=a>>8)&&(a=b,c+=8),0!=(b=a>>4)&&(a=b,c+=4),0!=(b=a>>2)&&(a=b,c+=2),0!=(b=a>>1)&&(a=b,c+=1),c}function bnBitLength(){return this.t<=0?0:this.DB*(this.t-1)+nbits(this[this.t-1]^this.s&this.DM)}function bnpDLShiftTo(a,b){var c;for(c=this.t-1;c>=0;--c)b[c+a]=this[c];for(c=a-1;c>=0;--c)b[c]=0;b.t=this.t+a,b.s=this.s}function bnpDRShiftTo(a,b){for(var c=a;c=0;--c)b[c+g+1]=this[c]>>e|h,h=(this[c]&f)<=0;--c)b[c]=0;b[g]=h,b.t=this.t+g+1,b.s=this.s,b.clamp()}function bnpRShiftTo(a,b){b.s=this.s;var c=Math.floor(a/this.DB);if(c>=this.t)return void(b.t=0);var d=a%this.DB,e=this.DB-d,f=(1<>d;for(var g=c+1;g>d;d>0&&(b[this.t-c-1]|=(this.s&f)<c;)d+=this[c]-a[c],b[c++]=d&this.DM,d>>=this.DB;if(a.t>=this.DB;d+=this.s}else{for(d+=this.s;c>=this.DB;d-=a.s}b.s=0>d?-1:0,-1>d?b[c++]=this.DV+d:d>0&&(b[c++]=d),b.t=c,b.clamp()}function bnpMultiplyTo(a,b){var c=this.abs(),d=a.abs(),e=c.t;for(b.t=e+d.t;--e>=0;)b[e]=0;for(e=0;e=0;)a[c]=0;for(c=0;c=b.DV&&(a[c+b.t]-=b.DV,a[c+b.t+1]=1)}a.t>0&&(a[a.t-1]+=b.am(c,b[c],a,2*c,0,1)),a.s=0,a.clamp()}function bnpDivRemTo(a,b,c){var d=a.abs();if(!(d.t<=0)){var e=this.abs();if(e.t0?(d.lShiftTo(i,f),e.lShiftTo(i,c)):(d.copyTo(f),e.copyTo(c));var j=f.t,k=f[j-1];if(0!=k){var l=k*(1<1?f[j-2]>>this.F2:0),m=this.FV/l,n=(1<=0&&(c[c.t++]=1,c.subTo(r,c)),BigInteger.ONE.dlShiftTo(j,r),r.subTo(f,f);f.t=0;){var s=c[--p]==k?this.DM:Math.floor(c[p]*m+(c[p-1]+o)*n);if((c[p]+=f.am(0,s,c,q,0,j))0&&c.rShiftTo(i,c),0>g&&BigInteger.ZERO.subTo(c,c)}}}function bnMod(a){var b=nbi();return this.abs().divRemTo(a,null,b),this.s<0&&b.compareTo(BigInteger.ZERO)>0&&a.subTo(b,b),b}function Classic(a){this.m=a}function cConvert(a){return a.s<0||a.compareTo(this.m)>=0?a.mod(this.m):a}function cRevert(a){return a}function cReduce(a){a.divRemTo(this.m,null,a)}function cMulTo(a,b,c){a.multiplyTo(b,c),this.reduce(c)}function cSqrTo(a,b){a.squareTo(b),this.reduce(b)}function bnpInvDigit(){if(this.t<1)return 0;var a=this[0];if(0==(1&a))return 0;var b=3&a;return b=b*(2-(15&a)*b)&15,b=b*(2-(255&a)*b)&255,b=b*(2-((65535&a)*b&65535))&65535,b=b*(2-a*b%this.DV)%this.DV,b>0?this.DV-b:-b}function Montgomery(a){this.m=a,this.mp=a.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<0&&this.m.subTo(b,b),b}function montRevert(a){var b=nbi();return a.copyTo(b),this.reduce(b),b}function montReduce(a){for(;a.t<=this.mt2;)a[a.t++]=0;for(var b=0;b>15)*this.mpl&this.um)<<15)&a.DM;for(c=b+this.m.t,a[c]+=this.m.am(0,d,a,b,0,this.m.t);a[c]>=a.DV;)a[c]-=a.DV,a[++c]++}a.clamp(),a.drShiftTo(this.m.t,a),a.compareTo(this.m)>=0&&a.subTo(this.m,a)}function montSqrTo(a,b){a.squareTo(b),this.reduce(b)}function montMulTo(a,b,c){a.multiplyTo(b,c),this.reduce(c)}function bnpIsEven(){return 0==(this.t>0?1&this[0]:this.s)}function bnpExp(a,b){if(a>4294967295||1>a)return BigInteger.ONE;var c=nbi(),d=nbi(),e=b.convert(this),f=nbits(a)-1;for(e.copyTo(c);--f>=0;)if(b.sqrTo(c,d),(a&1<0)b.mulTo(d,e,c);else{var g=c;c=d,d=g}return b.revert(c)}function bnModPowInt(a,b){var c;return c=256>a||b.isEven()?new Classic(b):new Montgomery(b),this.exp(a,c)}function bnClone(){var a=nbi();return this.copyTo(a),a}function bnIntValue(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<>24}function bnShortValue(){return 0==this.t?this.s:this[0]<<16>>16}function bnpChunkSize(a){return Math.floor(Math.LN2*this.DB/Math.log(a))}function bnSigNum(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1}function bnpToRadix(a){if(null==a&&(a=10),0==this.signum()||2>a||a>36)return"0";var b=this.chunkSize(a),c=Math.pow(a,b),d=nbv(c),e=nbi(),f=nbi(),g="";for(this.divRemTo(d,e,f);e.signum()>0;)g=(c+f.intValue()).toString(a).substr(1)+g,e.divRemTo(d,e,f);return f.intValue().toString(a)+g}function bnpFromRadix(a,b){this.fromInt(0),null==b&&(b=10);for(var c=this.chunkSize(b),d=Math.pow(b,c),e=!1,f=0,g=0,h=0;hi?"-"==a.charAt(h)&&0==this.signum()&&(e=!0):(g=b*g+i,++f>=c&&(this.dMultiply(d),this.dAddOffset(g,0),f=0,g=0))}f>0&&(this.dMultiply(Math.pow(b,f)),this.dAddOffset(g,0)),e&&BigInteger.ZERO.subTo(this,this)}function bnpFromNumber(a,b,c){if("number"==typeof b)if(2>a)this.fromInt(1);else for(this.fromNumber(a,c),this.testBit(a-1)||this.bitwiseTo(BigInteger.ONE.shiftLeft(a-1),op_or,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(b);)this.dAddOffset(2,0),this.bitLength()>a&&this.subTo(BigInteger.ONE.shiftLeft(a-1),this);else{var d=new Array,e=7&a;d.length=(a>>3)+1,b.nextBytes(d),e>0?d[0]&=(1<0)for(d>d)!=(this.s&this.DM)>>d&&(b[e++]=c|this.s<=0;)8>d?(c=(this[a]&(1<>(d+=this.DB-8)):(c=this[a]>>(d-=8)&255,0>=d&&(d+=this.DB,--a)),0!=(128&c)&&(c|=-256),0==e&&(128&this.s)!=(128&c)&&++e,(e>0||c!=this.s)&&(b[e++]=c);return b}function bnEquals(a){return 0==this.compareTo(a)}function bnMin(a){return this.compareTo(a)<0?this:a}function bnMax(a){return this.compareTo(a)>0?this:a}function bnpBitwiseTo(a,b,c){var d,e,f=Math.min(a.t,this.t);for(d=0;f>d;++d)c[d]=b(this[d],a[d]);if(a.ta?this.rShiftTo(-a,b):this.lShiftTo(a,b),b}function bnShiftRight(a){var b=nbi();return 0>a?this.lShiftTo(-a,b):this.rShiftTo(a,b),b}function lbit(a){if(0==a)return-1;var b=0;return 0==(65535&a)&&(a>>=16,b+=16),0==(255&a)&&(a>>=8,b+=8),0==(15&a)&&(a>>=4,b+=4),0==(3&a)&&(a>>=2,b+=2),0==(1&a)&&++b,b}function bnGetLowestSetBit(){for(var a=0;a=this.t?0!=this.s:0!=(this[b]&1<c;)d+=this[c]+a[c],b[c++]=d&this.DM,d>>=this.DB;if(a.t>=this.DB;d+=this.s}else{for(d+=this.s;c>=this.DB;d+=a.s}b.s=0>d?-1:0,d>0?b[c++]=d:-1>d&&(b[c++]=this.DV+d),b.t=c,b.clamp()}function bnAdd(a){var b=nbi();return this.addTo(a,b),b}function bnSubtract(a){var b=nbi();return this.subTo(a,b),b}function bnMultiply(a){var b=nbi();return this.multiplyTo(a,b),b}function bnSquare(){var a=nbi();return this.squareTo(a),a}function bnDivide(a){var b=nbi();return this.divRemTo(a,b,null),b}function bnRemainder(a){var b=nbi();return this.divRemTo(a,null,b),b}function bnDivideAndRemainder(a){var b=nbi(),c=nbi();return this.divRemTo(a,b,c),new Array(b,c)}function bnpDMultiply(a){this[this.t]=this.am(0,a-1,this,0,0,this.t),++this.t,this.clamp()}function bnpDAddOffset(a,b){if(0!=a){for(;this.t<=b;)this[this.t++]=0;for(this[b]+=a;this[b]>=this.DV;)this[b]-=this.DV,++b>=this.t&&(this[this.t++]=0),++this[b]}}function NullExp(){}function nNop(a){return a}function nMulTo(a,b,c){a.multiplyTo(b,c)}function nSqrTo(a,b){a.squareTo(b)}function bnPow(a){return this.exp(a,new NullExp)}function bnpMultiplyLowerTo(a,b,c){var d=Math.min(this.t+a.t,b);for(c.s=0,c.t=d;d>0;)c[--d]=0;var e;for(e=c.t-this.t;e>d;++d)c[d+this.t]=this.am(0,a[d],c,d,0,this.t);for(e=Math.min(a.t,b);e>d;++d)this.am(0,a[d],c,d,0,b-d);c.clamp()}function bnpMultiplyUpperTo(a,b,c){--b;var d=c.t=this.t+a.t-b;for(c.s=0;--d>=0;)c[d]=0;for(d=Math.max(b-this.t,0);d2*this.m.t)return a.mod(this.m);if(a.compareTo(this.m)<0)return a;var b=nbi();return a.copyTo(b),this.reduce(b),b}function barrettRevert(a){return a}function barrettReduce(a){for(a.drShiftTo(this.m.t-1,this.r2),a.t>this.m.t+1&&(a.t=this.m.t+1,a.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);a.compareTo(this.r2)<0;)a.dAddOffset(1,this.m.t+1);for(a.subTo(this.r2,a);a.compareTo(this.m)>=0;)a.subTo(this.m,a)}function barrettSqrTo(a,b){a.squareTo(b),this.reduce(b)}function barrettMulTo(a,b,c){a.multiplyTo(b,c),this.reduce(c)}function bnModPow(a,b){var c,d,e=a.bitLength(),f=nbv(1);if(0>=e)return f;c=18>e?1:48>e?3:144>e?4:768>e?5:6,d=8>e?new Classic(b):b.isEven()?new Barrett(b):new Montgomery(b);var g=new Array,h=3,i=c-1,j=(1<1){var k=nbi();for(d.sqrTo(g[1],k);j>=h;)g[h]=nbi(),d.mulTo(k,g[h-2],g[h]),h+=2}var l,m,n=a.t-1,o=!0,p=nbi();for(e=nbits(a[n])-1;n>=0;){for(e>=i?l=a[n]>>e-i&j:(l=(a[n]&(1<0&&(l|=a[n-1]>>this.DB+e-i)),h=c;0==(1&l);)l>>=1,--h;if((e-=h)<0&&(e+=this.DB,--n),o)g[l].copyTo(f),o=!1;else{for(;h>1;)d.sqrTo(f,p),d.sqrTo(p,f),h-=2;h>0?d.sqrTo(f,p):(m=f,f=p,p=m),d.mulTo(p,g[l],f)}for(;n>=0&&0==(a[n]&1<f)return b;for(f>e&&(f=e),f>0&&(b.rShiftTo(f,b),c.rShiftTo(f,c));b.signum()>0;)(e=b.getLowestSetBit())>0&&b.rShiftTo(e,b),(e=c.getLowestSetBit())>0&&c.rShiftTo(e,c),b.compareTo(c)>=0?(b.subTo(c,b),b.rShiftTo(1,b)):(c.subTo(b,c),c.rShiftTo(1,c));return f>0&&c.lShiftTo(f,c),c}function bnpModInt(a){if(0>=a)return 0;var b=this.DV%a,c=this.s<0?a-1:0;if(this.t>0)if(0==b)c=this[0]%a;else for(var d=this.t-1;d>=0;--d)c=(b*c+this[d])%a;return c}function bnModInverse(a){var b=a.isEven();if(this.isEven()&&b||0==a.signum())return BigInteger.ZERO;for(var c=a.clone(),d=this.clone(),e=nbv(1),f=nbv(0),g=nbv(0),h=nbv(1);0!=c.signum();){for(;c.isEven();)c.rShiftTo(1,c),b?(e.isEven()&&f.isEven()||(e.addTo(this,e),f.subTo(a,f)),e.rShiftTo(1,e)):f.isEven()||f.subTo(a,f),f.rShiftTo(1,f);for(;d.isEven();)d.rShiftTo(1,d),b?(g.isEven()&&h.isEven()||(g.addTo(this,g),h.subTo(a,h)),g.rShiftTo(1,g)):h.isEven()||h.subTo(a,h),h.rShiftTo(1,h);c.compareTo(d)>=0?(c.subTo(d,c),b&&e.subTo(g,e),f.subTo(h,f)):(d.subTo(c,d),b&&g.subTo(e,g),h.subTo(f,h))}return 0!=d.compareTo(BigInteger.ONE)?BigInteger.ZERO:h.compareTo(a)>=0?h.subtract(a):h.signum()<0?(h.addTo(a,h),h.signum()<0?h.add(a):h):h}function bnIsProbablePrime(a){var b,c=this.abs();if(1==c.t&&c[0]<=lowprimes[lowprimes.length-1]){for(b=0;bd;)d*=lowprimes[e++];for(d=c.modInt(d);e>b;)if(d%lowprimes[b++]==0)return!1}return c.millerRabin(a)}function bnpMillerRabin(a){var b=this.subtract(BigInteger.ONE),c=b.getLowestSetBit();if(0>=c)return!1;var d=b.shiftRight(c);a=a+1>>1,a>lowprimes.length&&(a=lowprimes.length);for(var e=nbi(),f=0;a>f;++f){e.fromInt(lowprimes[Math.floor(Math.random()*lowprimes.length)]);var g=e.modPow(d,this);if(0!=g.compareTo(BigInteger.ONE)&&0!=g.compareTo(b)){for(var h=1;h++b;++b)this.S[b]=b;for(c=0,b=0;256>b;++b)c=c+this.S[b]+a[b%a.length]&255,d=this.S[b],this.S[b]=this.S[c],this.S[c]=d;this.i=0,this.j=0}function ARC4next(){var a;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,a=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=a,this.S[a+this.S[this.i]&255]}function prng_newstate(){return new Arcfour}function rng_seed_int(a){rng_pool[rng_pptr++]^=255&a,rng_pool[rng_pptr++]^=a>>8&255,rng_pool[rng_pptr++]^=a>>16&255,rng_pool[rng_pptr++]^=a>>24&255,rng_pptr>=rng_psize&&(rng_pptr-=rng_psize)}function rng_seed_time(){rng_seed_int((new Date).getTime())}function rng_get_byte(){if(null==rng_state){for(rng_seed_time(),rng_state=prng_newstate(),rng_state.init(rng_pool),rng_pptr=0;rng_pptra?"0"+a.toString(16):a.toString(16)}function pkcs1pad2(a,b){if(b=0&&b>0;){var e=a.charCodeAt(d--);128>e?c[--b]=e:e>127&&2048>e?(c[--b]=63&e|128,c[--b]=e>>6|192):(c[--b]=63&e|128,c[--b]=e>>6&63|128,c[--b]=e>>12|224)}c[--b]=0;for(var f=new SecureRandom,g=new Array;b>2;){for(g[0]=0;0==g[0];)f.nextBytes(g);c[--b]=g[0]}return c[--b]=2,c[--b]=0,new BigInteger(c)}function oaep_mgf1_arr(a,b,c){for(var d="",e=0;d.length>24,(16711680&e)>>16,(65280&e)>>8,255&e]))),e+=1;return d}function oaep_pad(a,b,c){if(a.length+2*SHA1_SIZE+2>b)throw"Message too long for RSA";var d,e="";for(d=0;d0&&b.length>0?(this.n=parseBigInt(a,16),this.e=parseInt(b,16)):alert("Invalid RSA public key")}function RSADoPublic(a){return a.modPowInt(this.e,this.n)}function RSAEncrypt(a){var b=pkcs1pad2(a,this.n.bitLength()+7>>3);if(null==b)return null;var c=this.doPublic(b);if(null==c)return null;var d=c.toString(16);return 0==(1&d.length)?d:"0"+d}function RSAEncryptOAEP(a,b){var c=oaep_pad(a,this.n.bitLength()+7>>3,b);if(null==c)return null;var d=this.doPublic(c);if(null==d)return null;var e=d.toString(16);return 0==(1&e.length)?e:"0"+e}function pkcs1unpad2(a,b){for(var c=a.toByteArray(),d=0;d=c.length)return null;for(var e="";++df?e+=String.fromCharCode(f):f>191&&224>f?(e+=String.fromCharCode((31&f)<<6|63&c[d+1]),++d):(e+=String.fromCharCode((15&f)<<12|(63&c[d+1])<<6|63&c[d+2]),d+=2)}return e}function oaep_mgf1_str(a,b,c){for(var d="",e=0;d.length>24,(16711680&e)>>16,(65280&e)>>8,255&e])),e+=1;return d}function oaep_unpad(a,b,c){a=a.toByteArray();var d;for(d=0;d0&&b.length>0?(this.n=parseBigInt(a,16),this.e=parseInt(b,16),this.d=parseBigInt(c,16)):alert("Invalid RSA private key")}function RSASetPrivateEx(a,b,c,d,e,f,g,h){if(this.isPrivate=!0,null==a)throw"RSASetPrivateEx N == null";if(null==b)throw"RSASetPrivateEx E == null";if(0==a.length)throw"RSASetPrivateEx N.length == 0";if(0==b.length)throw"RSASetPrivateEx E.length == 0";null!=a&&null!=b&&a.length>0&&b.length>0?(this.n=parseBigInt(a,16),this.e=parseInt(b,16),this.d=parseBigInt(c,16),this.p=parseBigInt(d,16),this.q=parseBigInt(e,16),this.dmp1=parseBigInt(f,16),this.dmq1=parseBigInt(g,16),this.coeff=parseBigInt(h,16)):alert("Invalid RSA private key in RSASetPrivateEx")}function RSAGenerate(a,b){var c=new SecureRandom,d=a>>1;this.e=parseInt(b,16);for(var e=new BigInteger(b,16);;){for(;this.p=new BigInteger(a-d,1,c),0!=this.p.subtract(BigInteger.ONE).gcd(e).compareTo(BigInteger.ONE)||!this.p.isProbablePrime(10););for(;this.q=new BigInteger(d,1,c),0!=this.q.subtract(BigInteger.ONE).gcd(e).compareTo(BigInteger.ONE)||!this.q.isProbablePrime(10););if(this.p.compareTo(this.q)<=0){var f=this.p;this.p=this.q,this.q=f}var g=this.p.subtract(BigInteger.ONE),h=this.q.subtract(BigInteger.ONE),i=g.multiply(h);if(0==i.gcd(e).compareTo(BigInteger.ONE)){this.n=this.p.multiply(this.q),this.d=e.modInverse(i),this.dmp1=this.d.mod(g),this.dmq1=this.d.mod(h),this.coeff=this.q.modInverse(this.p);break}}}function RSADoPrivate(a){if(null==this.p||null==this.q)return a.modPow(this.d,this.n);for(var b=a.mod(this.p).modPow(this.dmp1,this.p),c=a.mod(this.q).modPow(this.dmq1,this.q);b.compareTo(c)<0;)b=b.add(this.p);return b.subtract(c).multiply(this.coeff).mod(this.p).multiply(this.q).add(c)}function RSADecrypt(a){var b=parseBigInt(a,16),c=this.doPrivate(b);return null==c?null:pkcs1unpad2(c,this.n.bitLength()+7>>3)}function RSADecryptOAEP(a,b){var c=parseBigInt(a,16),d=this.doPrivate(c);return null==d?null:oaep_unpad(d,this.n.bitLength()+7>>3,b)}function ECFieldElementFp(a,b){this.x=b,this.q=a}function feFpEquals(a){return a==this?!0:this.q.equals(a.q)&&this.x.equals(a.x)}function feFpToBigInteger(){return this.x}function feFpNegate(){return new ECFieldElementFp(this.q,this.x.negate().mod(this.q))}function feFpAdd(a){return new ECFieldElementFp(this.q,this.x.add(a.toBigInteger()).mod(this.q))}function feFpSubtract(a){return new ECFieldElementFp(this.q,this.x.subtract(a.toBigInteger()).mod(this.q))}function feFpMultiply(a){return new ECFieldElementFp(this.q,this.x.multiply(a.toBigInteger()).mod(this.q))}function feFpSquare(){return new ECFieldElementFp(this.q,this.x.square().mod(this.q))}function feFpDivide(a){return new ECFieldElementFp(this.q,this.x.multiply(a.toBigInteger().modInverse(this.q)).mod(this.q))}function ECPointFp(a,b,c,d){this.curve=a,this.x=b,this.y=c,null==d?this.z=BigInteger.ONE:this.z=d,this.zinv=null}function pointFpGetX(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.x.toBigInteger().multiply(this.zinv).mod(this.curve.q))}function pointFpGetY(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.y.toBigInteger().multiply(this.zinv).mod(this.curve.q))}function pointFpEquals(a){if(a==this)return!0;if(this.isInfinity())return a.isInfinity();if(a.isInfinity())return this.isInfinity();var b,c;return b=a.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(a.z)).mod(this.curve.q),b.equals(BigInteger.ZERO)?(c=a.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(a.z)).mod(this.curve.q),c.equals(BigInteger.ZERO)):!1}function pointFpIsInfinity(){return null==this.x&&null==this.y?!0:this.z.equals(BigInteger.ZERO)&&!this.y.toBigInteger().equals(BigInteger.ZERO)}function pointFpNegate(){return new ECPointFp(this.curve,this.x,this.y.negate(),this.z)}function pointFpAdd(a){if(this.isInfinity())return a;if(a.isInfinity())return this;var b=a.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(a.z)).mod(this.curve.q),c=a.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(a.z)).mod(this.curve.q);if(BigInteger.ZERO.equals(c))return BigInteger.ZERO.equals(b)?this.twice():this.curve.getInfinity();var d=new BigInteger("3"),e=this.x.toBigInteger(),f=this.y.toBigInteger(),g=(a.x.toBigInteger(),a.y.toBigInteger(),c.square()),h=g.multiply(c),i=e.multiply(g),j=b.square().multiply(this.z),k=j.subtract(i.shiftLeft(1)).multiply(a.z).subtract(h).multiply(c).mod(this.curve.q),l=i.multiply(d).multiply(b).subtract(f.multiply(h)).subtract(j.multiply(b)).multiply(a.z).add(b.multiply(h)).mod(this.curve.q),m=h.multiply(this.z).multiply(a.z).mod(this.curve.q);return new ECPointFp(this.curve,this.curve.fromBigInteger(k),this.curve.fromBigInteger(l),m)}function pointFpTwice(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var a=new BigInteger("3"),b=this.x.toBigInteger(),c=this.y.toBigInteger(),d=c.multiply(this.z),e=d.multiply(c).mod(this.curve.q),f=this.curve.a.toBigInteger(),g=b.square().multiply(a);BigInteger.ZERO.equals(f)||(g=g.add(this.z.square().multiply(f))),g=g.mod(this.curve.q);var h=g.square().subtract(b.shiftLeft(3).multiply(e)).shiftLeft(1).multiply(d).mod(this.curve.q),i=g.multiply(a).multiply(b).subtract(e.shiftLeft(1)).shiftLeft(2).multiply(e).subtract(g.square().multiply(g)).mod(this.curve.q),j=d.square().multiply(d).shiftLeft(3).mod(this.curve.q);return new ECPointFp(this.curve,this.curve.fromBigInteger(h),this.curve.fromBigInteger(i),j)}function pointFpMultiply(a){if(this.isInfinity())return this;if(0==a.signum())return this.curve.getInfinity();var b,c=a,d=c.multiply(new BigInteger("3")),e=this.negate(),f=this;for(b=d.bitLength()-2;b>0;--b){f=f.twice();var g=d.testBit(b),h=c.testBit(b);g!=h&&(f=f.add(g?this:e))}return f}function pointFpMultiplyTwo(a,b,c){var d;d=a.bitLength()>c.bitLength()?a.bitLength()-1:c.bitLength()-1;for(var e=this.curve.getInfinity(),f=this.add(b);d>=0;)e=e.twice(),a.testBit(d)?e=c.testBit(d)?e.add(f):e.add(this):c.testBit(d)&&(e=e.add(b)),--d;return e}function ECCurveFp(a,b,c){this.q=a,this.a=this.fromBigInteger(b),this.b=this.fromBigInteger(c),this.infinity=new ECPointFp(this,null,null)}function curveFpGetQ(){return this.q}function curveFpGetA(){return this.a}function curveFpGetB(){return this.b}function curveFpEquals(a){return a==this?!0:this.q.equals(a.q)&&this.a.equals(a.a)&&this.b.equals(a.b)}function curveFpGetInfinity(){return this.infinity}function curveFpFromBigInteger(a){return new ECFieldElementFp(this.q,a)}function curveFpDecodePointHex(a){switch(parseInt(a.substr(0,2),16)){case 0:return this.infinity;case 2:case 3:return null;case 4:case 6:case 7:var b=(a.length-2)/2,c=a.substr(2,b),d=a.substr(b+2,b);return new ECPointFp(this,this.fromBigInteger(new BigInteger(c,16)),this.fromBigInteger(new BigInteger(d,16)));default:return null}}function Base64x(){}function stoBA(a){for(var b=new Array,c=0;ce;e++)c+="0";return c+a}function _rsasign_signString(a,b){var c=function(a){return KJUR.crypto.Util.hashString(a,b)},d=c(a);return this.signWithMessageHash(d,b)}function _rsasign_signWithMessageHash(a,b){var c=KJUR.crypto.Util.getPaddedDigestInfoHex(a,b,this.n.bitLength()),d=parseBigInt(c,16),e=this.doPrivate(d),f=e.toString(16);return _zeroPaddingOfSignature(f,this.n.bitLength())}function _rsasign_signStringWithSHA1(a){return _rsasign_signString.call(this,a,"sha1")}function _rsasign_signStringWithSHA256(a){return _rsasign_signString.call(this,a,"sha256")}function pss_mgf1_str(a,b,c){for(var d="",e=0;d.length>24,(16711680&e)>>16,(65280&e)>>8,255&e])))),e+=1;return d}function _rsasign_signStringPSS(a,b,c){var d=function(a){return KJUR.crypto.Util.hashHex(a,b)},e=d(rstrtohex(a));return void 0===c&&(c=-1),this.signWithMessageHashPSS(e,b,c)}function _rsasign_signWithMessageHashPSS(a,b,c){var d,e=hextorstr(a),f=e.length,g=this.n.bitLength()-1,h=Math.ceil(g/8),i=function(a){return KJUR.crypto.Util.hashHex(a,b)};if(-1===c||void 0===c)c=f;else if(-2===c)c=h-f-2;else if(-2>c)throw"invalid salt length";if(f+c+2>h)throw"data too long";var j="";c>0&&(j=new Array(c),(new SecureRandom).nextBytes(j),j=String.fromCharCode.apply(String,j));var k=hextorstr(i(rstrtohex("\x00\x00\x00\x00\x00\x00\x00\x00"+e+j))),l=[];for(d=0;h-c-f-2>d;d+=1)l[d]=0;var m=String.fromCharCode.apply(String,l)+""+j,n=pss_mgf1_str(k,m.length,i),o=[];for(d=0;d>8*h-g&255;for(o[0]&=~p,d=0;f>d;d++)o.push(k.charCodeAt(d));return o.push(188),_zeroPaddingOfSignature(this.doPrivate(new BigInteger(o)).toString(16),this.n.bitLength())}function _rsasign_getDecryptSignatureBI(a,b,c){var d=new RSAKey;d.setPublic(b,c);var e=d.doPublic(a);return e}function _rsasign_getHexDigestInfoFromSig(a,b,c){var d=_rsasign_getDecryptSignatureBI(a,b,c),e=d.toString(16).replace(/^1f+00/,"");return e}function _rsasign_getAlgNameAndHashFromHexDisgestInfo(a){for(var b in KJUR.crypto.Util.DIGESTINFOHEAD){var c=KJUR.crypto.Util.DIGESTINFOHEAD[b],d=c.length;if(a.substring(0,d)==c){var e=[b,a.substring(d)];return e}}return[]}function _rsasign_verifySignatureWithArgs(a,b,c,d){var e=_rsasign_getHexDigestInfoFromSig(b,c,d),f=_rsasign_getAlgNameAndHashFromHexDisgestInfo(e);if(0==f.length)return!1;var g=f[0],h=f[1],i=function(a){return KJUR.crypto.Util.hashString(a,g)},j=i(a);return h==j}function _rsasign_verifyHexSignatureForMessage(a,b){var c=parseBigInt(a,16),d=_rsasign_verifySignatureWithArgs(b,c,this.n.toString(16),this.e.toString(16));return d}function _rsasign_verifyString(a,b){b=b.replace(_RE_HEXDECONLY,""),b=b.replace(/[ \n]+/g,"");var c=parseBigInt(b,16);if(c.bitLength()>this.n.bitLength())return 0;var d=this.doPublic(c),e=d.toString(16).replace(/^1f+00/,""),f=_rsasign_getAlgNameAndHashFromHexDisgestInfo(e);if(0==f.length)return!1;var g=f[0],h=f[1],i=function(a){return KJUR.crypto.Util.hashString(a,g)},j=i(a);return h==j}function _rsasign_verifyWithMessageHash(a,b){b=b.replace(_RE_HEXDECONLY,""),b=b.replace(/[ \n]+/g,"");var c=parseBigInt(b,16);if(c.bitLength()>this.n.bitLength())return 0;var d=this.doPublic(c),e=d.toString(16).replace(/^1f+00/,""),f=_rsasign_getAlgNameAndHashFromHexDisgestInfo(e);if(0==f.length)return!1;var g=(f[0],f[1]);return g==a}function _rsasign_verifyStringPSS(a,b,c,d){var e=function(a){return KJUR.crypto.Util.hashHex(a,c)},f=e(rstrtohex(a));return void 0===d&&(d=-1),this.verifyWithMessageHashPSS(f,b,c,d)}function _rsasign_verifyWithMessageHashPSS(a,b,c,d){var e=new BigInteger(b,16);if(e.bitLength()>this.n.bitLength())return!1;var f,g=function(a){return KJUR.crypto.Util.hashHex(a,c)},h=hextorstr(a),i=h.length,j=this.n.bitLength()-1,k=Math.ceil(j/8);if(-1===d||void 0===d)d=i;else if(-2===d)d=k-i-2;else if(-2>d)throw"invalid salt length";if(i+d+2>k)throw"data too long";var l=this.doPublic(e).toByteArray();for(f=0;f>8*k-j&255;if(0!==(m.charCodeAt(0)&o))throw"bits beyond keysize not zero";var p=pss_mgf1_str(n,m.length,g),q=[];for(f=0;ff;f+=1)if(0!==q[f])throw"leftmost octets not zero";if(1!==q[r])throw"0x01 marker not found";return n===hextorstr(g(rstrtohex("\x00\x00\x00\x00\x00\x00\x00\x00"+h+String.fromCharCode.apply(String,q.slice(-d)))))}function X509(){this.subjectPublicKeyRSA=null,this.subjectPublicKeyRSA_hN=null,this.subjectPublicKeyRSA_hE=null,this.hex=null,this.getSerialNumberHex=function(){return ASN1HEX.getDecendantHexVByNthList(this.hex,0,[0,1])},this.getIssuerHex=function(){return ASN1HEX.getDecendantHexTLVByNthList(this.hex,0,[0,3])},this.getIssuerString=function(){return X509.hex2dn(ASN1HEX.getDecendantHexTLVByNthList(this.hex,0,[0,3]))},this.getSubjectHex=function(){return ASN1HEX.getDecendantHexTLVByNthList(this.hex,0,[0,5])},this.getSubjectString=function(){return X509.hex2dn(ASN1HEX.getDecendantHexTLVByNthList(this.hex,0,[0,5]))},this.getNotBefore=function(){var a=ASN1HEX.getDecendantHexVByNthList(this.hex,0,[0,4,0]);return a=a.replace(/(..)/g,"%$1"),a=decodeURIComponent(a)},this.getNotAfter=function(){var a=ASN1HEX.getDecendantHexVByNthList(this.hex,0,[0,4,1]);return a=a.replace(/(..)/g,"%$1"),a=decodeURIComponent(a)},this.readCertPEM=function(a){var b=X509.pemToHex(a),c=X509.getPublicKeyHexArrayFromCertHex(b),d=new RSAKey;d.setPublic(c[0],c[1]),this.subjectPublicKeyRSA=d,this.subjectPublicKeyRSA_hN=c[0],this.subjectPublicKeyRSA_hE=c[1],this.hex=b},this.readCertPEMWithoutRSAInit=function(a){var b=X509.pemToHex(a),c=X509.getPublicKeyHexArrayFromCertHex(b);this.subjectPublicKeyRSA.setPublic(c[0],c[1]),this.subjectPublicKeyRSA_hN=c[0],this.subjectPublicKeyRSA_hE=c[1],this.hex=b}}var navigator={};navigator.uesrAgent=!1;var window={};if("undefined"==typeof YAHOO||!YAHOO)var YAHOO={};YAHOO.namespace=function(){var a,b,c,d=arguments,e=null;for(a=0;a":">",'"':""","'":"'","/":"/","`":"`"},h=["toString","valueOf"],i={isArray:function(a){return b.toString.apply(a)===c},isBoolean:function(a){return"boolean"==typeof a},isFunction:function(a){return"function"==typeof a||b.toString.apply(a)===d},isNull:function(a){return null===a},isNumber:function(a){return"number"==typeof a&&isFinite(a)},isObject:function(b){return b&&("object"==typeof b||a.isFunction(b))||!1},isString:function(a){return"string"==typeof a},isUndefined:function(a){return"undefined"==typeof a},_IEEnumFix:YAHOO.env.ua.ie?function(c,d){var e,f,g;for(e=0;e"'\/`]/g,function(a){return g[a]})},extend:function(c,d,e){if(!d||!c)throw new Error("extend failed, please check that all dependencies are included.");var f,g=function(){};if(g.prototype=d.prototype,c.prototype=new g,c.prototype.constructor=c,c.superclass=d.prototype,d.prototype.constructor==b.constructor&&(d.prototype.constructor=d),e){for(f in e)a.hasOwnProperty(e,f)&&(c.prototype[f]=e[f]);a._IEEnumFix(c.prototype,e)}},augmentObject:function(b,c){if(!c||!b)throw new Error("Absorb failed, verify dependencies.");var d,e,f=arguments,g=f[2];if(g&&g!==!0)for(d=2;dd;d+=1)a.isObject(b[d])?f.push(c>0?a.dump(b[d],c-1):g):f.push(b[d]),f.push(i);f.length>1&&f.pop(),f.push("]")}else{f.push("{");for(d in b)a.hasOwnProperty(b,d)&&(f.push(d+j),a.isObject(b[d])?f.push(c>0?a.dump(b[d],c-1):g):f.push(b[d]),f.push(i));f.length>1&&f.pop(),f.push("}")}return f.join("")},substitute:function(b,c,d,f){for(var g,h,i,j,k,l,m,n,o,p=[],q=b.length,r="dump",s=" ",t="{",u="}";(g=b.lastIndexOf(t,q),!(0>g))&&(h=b.indexOf(u,g),!(g+1>h));)m=b.substring(g+1,h),j=m,l=null,i=j.indexOf(s),i>-1&&(l=j.substring(i+1),j=j.substring(0,i)),k=c[j],d&&(k=d(j,k,l)),a.isObject(k)?a.isArray(k)?k=a.dump(k,parseInt(l,10)):(l=l||"",n=l.indexOf(r),n>-1&&(l=l.substring(4)),o=k.toString(),k=o===e||n>-1?a.dump(k,parseInt(l,10)):o):a.isString(k)||a.isNumber(k)||(k="~-"+p.length+"-~",p[p.length]=m),b=b.substring(0,g)+k+b.substring(h+1),f===!1&&(q=g-1);for(g=p.length-1;g>=0;g-=1)b=b.replace(new RegExp("~-"+g+"-~"),"{"+p[g]+"}","g");return b},trim:function(a){try{return a.replace(/^\s+|\s+$/g,"")}catch(b){return a}},merge:function(){var b,c={},d=arguments,e=d.length;for(b=0;e>b;b+=1)a.augmentObject(c,d[b],!0);return c},later:function(b,c,d,e,g){b=b||0,c=c||{};var h,i,j=d,k=e;if(a.isString(d)&&(j=c[d]),!j)throw new TypeError("method undefined");return a.isUndefined(e)||a.isArray(k)||(k=[e]),h=function(){j.apply(c,k||f)},i=g?setInterval(h,b):setTimeout(h,b),{interval:g,cancel:function(){this.interval?clearInterval(i):clearTimeout(i)}}},isValue:function(b){return a.isObject(b)||a.isString(b)||a.isNumber(b)||a.isBoolean(b)}};a.hasOwnProperty=b.hasOwnProperty?function(a,b){return a&&a.hasOwnProperty&&a.hasOwnProperty(b)}:function(b,c){return!a.isUndefined(b[c])&&b.constructor.prototype[c]!==b[c]},i.augmentObject(a,i,!0),YAHOO.util.Lang=a,a.augment=a.augmentProto,YAHOO.augment=a.augmentProto,YAHOO.extend=a.extend}(),YAHOO.register("yahoo",YAHOO,{version:"2.9.0",build:"2800"});var CryptoJS=CryptoJS||function(a,b){var c={},d=c.lib={},e=d.Base=function(){function a(){}return{extend:function(b){a.prototype=this;var c=new a;return b&&c.mixIn(b),c.hasOwnProperty("init")||(c.init=function(){c.$super.init.apply(this,arguments)}),c.init.prototype=c,c.$super=this,c},create:function(){var a=this.extend();return a.init.apply(a,arguments),a},init:function(){},mixIn:function(a){for(var b in a)a.hasOwnProperty(b)&&(this[b]=a[b]);a.hasOwnProperty("toString")&&(this.toString=a.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=d.WordArray=e.extend({init:function(a,c){a=this.words=a||[],c!=b?this.sigBytes=c:this.sigBytes=4*a.length},toString:function(a){return(a||h).stringify(this)},concat:function(a){var b=this.words,c=a.words,d=this.sigBytes,e=a.sigBytes;if(this.clamp(),d%4)for(var f=0;e>f;f++){var g=c[f>>>2]>>>24-f%4*8&255;b[d+f>>>2]|=g<<24-(d+f)%4*8}else for(var f=0;e>f;f+=4)b[d+f>>>2]=c[f>>>2];return this.sigBytes+=e,this},clamp:function(){var b=this.words,c=this.sigBytes;b[c>>>2]&=4294967295<<32-c%4*8,b.length=a.ceil(c/4)},clone:function(){var a=e.clone.call(this);return a.words=this.words.slice(0),a},random:function(b){for(var c=[],d=0;b>d;d+=4)c.push(4294967296*a.random()|0);return new f.init(c,b)}}),g=c.enc={},h=g.Hex={stringify:function(a){for(var b=a.words,c=a.sigBytes,d=[],e=0;c>e;e++){var f=b[e>>>2]>>>24-e%4*8&255;d.push((f>>>4).toString(16)),d.push((15&f).toString(16))}return d.join("")},parse:function(a){for(var b=a.length,c=[],d=0;b>d;d+=2)c[d>>>3]|=parseInt(a.substr(d,2),16)<<24-d%8*4;return new f.init(c,b/2)}},i=g.Latin1={stringify:function(a){for(var b=a.words,c=a.sigBytes,d=[],e=0;c>e;e++){var f=b[e>>>2]>>>24-e%4*8&255;d.push(String.fromCharCode(f))}return d.join("")},parse:function(a){for(var b=a.length,c=[],d=0;b>d;d++)c[d>>>2]|=(255&a.charCodeAt(d))<<24-d%4*8;return new f.init(c,b)}},j=g.Utf8={stringify:function(a){try{return decodeURIComponent(escape(i.stringify(a)))}catch(b){throw new Error("Malformed UTF-8 data")}},parse:function(a){return i.parse(unescape(encodeURIComponent(a)))}},k=d.BufferedBlockAlgorithm=e.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(a){"string"==typeof a&&(a=j.parse(a)),this._data.concat(a),this._nDataBytes+=a.sigBytes},_process:function(b){var c=this._data,d=c.words,e=c.sigBytes,g=this.blockSize,h=4*g,i=e/h;i=b?a.ceil(i):a.max((0|i)-this._minBufferSize,0);var j=i*g,k=a.min(4*j,e);if(j){for(var l=0;j>l;l+=g)this._doProcessBlock(d,l);var m=d.splice(0,j);c.sigBytes-=k}return new f.init(m,k)},clone:function(){var a=e.clone.call(this);return a._data=this._data.clone(),a},_minBufferSize:0}),l=(d.Hasher=k.extend({cfg:e.extend(),init:function(a){this.cfg=this.cfg.extend(a),this.reset()},reset:function(){k.reset.call(this),this._doReset()},update:function(a){return this._append(a),this._process(),this},finalize:function(a){a&&this._append(a);var b=this._doFinalize();return b},blockSize:16,_createHelper:function(a){return function(b,c){return new a.init(c).finalize(b)}},_createHmacHelper:function(a){return function(b,c){return new l.HMAC.init(a,c).finalize(b)}}}),c.algo={});return c}(Math);!function(a){var b=CryptoJS,c=b.lib,d=c.Base,e=c.WordArray,b=b.x64={};b.Word=d.extend({init:function(a,b){this.high=a,this.low=b}}),b.WordArray=d.extend({init:function(b,c){b=this.words=b||[],this.sigBytes=c!=a?c:8*b.length},toX32:function(){for(var a=this.words,b=a.length,c=[],d=0;b>d;d++){var f=a[d];c.push(f.high),c.push(f.low)}return e.create(c,this.sigBytes)},clone:function(){for(var a=d.clone.call(this),b=a.words=this.words.slice(0),c=b.length,e=0;c>e;e++)b[e]=b[e].clone();return a}})}(),function(){var a=CryptoJS,b=a.enc.Utf8;a.algo.HMAC=a.lib.Base.extend({init:function(a,c){a=this._hasher=new a.init,"string"==typeof c&&(c=b.parse(c));var d=a.blockSize,e=4*d;c.sigBytes>e&&(c=a.finalize(c)),c.clamp();for(var f=this._oKey=c.clone(),g=this._iKey=c.clone(),h=f.words,i=g.words,j=0;d>j;j++)h[j]^=1549556828,i[j]^=909522486;f.sigBytes=g.sigBytes=e,this.reset()},reset:function(){var a=this._hasher;a.reset(),a.update(this._iKey)},update:function(a){return this._hasher.update(a),this},finalize:function(a){var b=this._hasher;return a=b.finalize(a),b.reset(),b.finalize(this._oKey.clone().concat(a))}})}(),function(a){for(var b=CryptoJS,c=b.lib,d=c.WordArray,e=c.Hasher,c=b.algo,f=[],g=[],h=function(a){return 4294967296*(a-(0|a))|0},i=2,j=0;64>j;){var k;a:{k=i;for(var l=a.sqrt(k),m=2;l>=m;m++)if(!(k%m)){k=!1;break a}k=!0}k&&(8>j&&(f[j]=h(a.pow(i,.5))),g[j]=h(a.pow(i,1/3)),j++),i++}var n=[],c=c.SHA256=e.extend({_doReset:function(){this._hash=new d.init(f.slice(0))},_doProcessBlock:function(a,b){for(var c=this._hash.words,d=c[0],e=c[1],f=c[2],h=c[3],i=c[4],j=c[5],k=c[6],l=c[7],m=0;64>m;m++){if(16>m)n[m]=0|a[b+m];else{var o=n[m-15],p=n[m-2];n[m]=((o<<25|o>>>7)^(o<<14|o>>>18)^o>>>3)+n[m-7]+((p<<15|p>>>17)^(p<<13|p>>>19)^p>>>10)+n[m-16]}o=l+((i<<26|i>>>6)^(i<<21|i>>>11)^(i<<7|i>>>25))+(i&j^~i&k)+g[m]+n[m],p=((d<<30|d>>>2)^(d<<19|d>>>13)^(d<<10|d>>>22))+(d&e^d&f^e&f),l=k,k=j,j=i,i=h+o|0,h=f,f=e,e=d,d=o+p|0}c[0]=c[0]+d|0,c[1]=c[1]+e|0,c[2]=c[2]+f|0,c[3]=c[3]+h|0,c[4]=c[4]+i|0,c[5]=c[5]+j|0,c[6]=c[6]+k|0,c[7]=c[7]+l|0},_doFinalize:function(){var b=this._data,c=b.words,d=8*this._nDataBytes,e=8*b.sigBytes;return c[e>>>5]|=128<<24-e%32,c[(e+64>>>9<<4)+14]=a.floor(d/4294967296),c[(e+64>>>9<<4)+15]=d,b.sigBytes=4*c.length,this._process(),this._hash},clone:function(){var a=e.clone.call(this);return a._hash=this._hash.clone(),a}});b.SHA256=e._createHelper(c),b.HmacSHA256=e._createHmacHelper(c)}(Math),function(){var a=CryptoJS,b=a.lib.WordArray,c=a.algo,d=c.SHA256,c=c.SHA224=d.extend({_doReset:function(){this._hash=new b.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var a=d._doFinalize.call(this);return a.sigBytes-=4,a}});a.SHA224=d._createHelper(c),a.HmacSHA224=d._createHmacHelper(c)}(),function(){function a(){return e.create.apply(e,arguments)}for(var b=CryptoJS,c=b.lib.Hasher,d=b.x64,e=d.Word,f=d.WordArray,d=b.algo,g=[a(1116352408,3609767458),a(1899447441,602891725),a(3049323471,3964484399),a(3921009573,2173295548),a(961987163,4081628472),a(1508970993,3053834265),a(2453635748,2937671579),a(2870763221,3664609560),a(3624381080,2734883394),a(310598401,1164996542),a(607225278,1323610764),a(1426881987,3590304994),a(1925078388,4068182383),a(2162078206,991336113),a(2614888103,633803317),a(3248222580,3479774868),a(3835390401,2666613458),a(4022224774,944711139),a(264347078,2341262773),a(604807628,2007800933),a(770255983,1495990901),a(1249150122,1856431235),a(1555081692,3175218132),a(1996064986,2198950837),a(2554220882,3999719339),a(2821834349,766784016),a(2952996808,2566594879),a(3210313671,3203337956),a(3336571891,1034457026),a(3584528711,2466948901),a(113926993,3758326383),a(338241895,168717936),a(666307205,1188179964),a(773529912,1546045734),a(1294757372,1522805485),a(1396182291,2643833823),a(1695183700,2343527390),a(1986661051,1014477480),a(2177026350,1206759142),a(2456956037,344077627),a(2730485921,1290863460),a(2820302411,3158454273),a(3259730800,3505952657),a(3345764771,106217008),a(3516065817,3606008344),a(3600352804,1432725776),a(4094571909,1467031594),a(275423344,851169720),a(430227734,3100823752),a(506948616,1363258195),a(659060556,3750685593),a(883997877,3785050280),a(958139571,3318307427),a(1322822218,3812723403),a(1537002063,2003034995),a(1747873779,3602036899),a(1955562222,1575990012),a(2024104815,1125592928),a(2227730452,2716904306),a(2361852424,442776044),a(2428436474,593698344),a(2756734187,3733110249),a(3204031479,2999351573),a(3329325298,3815920427),a(3391569614,3928383900),a(3515267271,566280711),a(3940187606,3454069534),a(4118630271,4000239992),a(116418474,1914138554),a(174292421,2731055270),a(289380356,3203993006),a(460393269,320620315),a(685471733,587496836),a(852142971,1086792851),a(1017036298,365543100),a(1126000580,2618297676),a(1288033470,3409855158),a(1501505948,4234509866),a(1607167915,987167468),a(1816402316,1246189591)],h=[],i=0;80>i;i++)h[i]=a();d=d.SHA512=c.extend({_doReset:function(){this._hash=new f.init([new e.init(1779033703,4089235720),new e.init(3144134277,2227873595),new e.init(1013904242,4271175723),new e.init(2773480762,1595750129),new e.init(1359893119,2917565137),new e.init(2600822924,725511199),new e.init(528734635,4215389547),new e.init(1541459225,327033209)])},_doProcessBlock:function(a,b){for(var c=this._hash.words,d=c[0],e=c[1],f=c[2],i=c[3],j=c[4],k=c[5],l=c[6],c=c[7],m=d.high,n=d.low,o=e.high,p=e.low,q=f.high,r=f.low,s=i.high,t=i.low,u=j.high,v=j.low,w=k.high,x=k.low,y=l.high,z=l.low,A=c.high,B=c.low,C=m,D=n,E=o,F=p,G=q,H=r,I=s,J=t,K=u,L=v,M=w,N=x,O=y,P=z,Q=A,R=B,S=0;80>S;S++){ var T=h[S];if(16>S)var U=T.high=0|a[b+2*S],V=T.low=0|a[b+2*S+1];else{var U=h[S-15],V=U.high,W=U.low,U=(V>>>1|W<<31)^(V>>>8|W<<24)^V>>>7,W=(W>>>1|V<<31)^(W>>>8|V<<24)^(W>>>7|V<<25),X=h[S-2],V=X.high,Y=X.low,X=(V>>>19|Y<<13)^(V<<3|Y>>>29)^V>>>6,Y=(Y>>>19|V<<13)^(Y<<3|V>>>29)^(Y>>>6|V<<26),V=h[S-7],Z=V.high,$=h[S-16],_=$.high,$=$.low,V=W+V.low,U=U+Z+(W>>>0>V>>>0?1:0),V=V+Y,U=U+X+(Y>>>0>V>>>0?1:0),V=V+$,U=U+_+($>>>0>V>>>0?1:0);T.high=U,T.low=V}var Z=K&M^~K&O,$=L&N^~L&P,T=C&E^C&G^E&G,aa=D&F^D&H^F&H,W=(C>>>28|D<<4)^(C<<30|D>>>2)^(C<<25|D>>>7),X=(D>>>28|C<<4)^(D<<30|C>>>2)^(D<<25|C>>>7),Y=g[S],ba=Y.high,ca=Y.low,Y=R+((L>>>14|K<<18)^(L>>>18|K<<14)^(L<<23|K>>>9)),_=Q+((K>>>14|L<<18)^(K>>>18|L<<14)^(K<<23|L>>>9))+(R>>>0>Y>>>0?1:0),Y=Y+$,_=_+Z+($>>>0>Y>>>0?1:0),Y=Y+ca,_=_+ba+(ca>>>0>Y>>>0?1:0),Y=Y+V,_=_+U+(V>>>0>Y>>>0?1:0),V=X+aa,T=W+T+(X>>>0>V>>>0?1:0),Q=O,R=P,O=M,P=N,M=K,N=L,L=J+Y|0,K=I+_+(J>>>0>L>>>0?1:0)|0,I=G,J=H,G=E,H=F,E=C,F=D,D=Y+V|0,C=_+T+(Y>>>0>D>>>0?1:0)|0}n=d.low=n+D,d.high=m+C+(D>>>0>n>>>0?1:0),p=e.low=p+F,e.high=o+E+(F>>>0>p>>>0?1:0),r=f.low=r+H,f.high=q+G+(H>>>0>r>>>0?1:0),t=i.low=t+J,i.high=s+I+(J>>>0>t>>>0?1:0),v=j.low=v+L,j.high=u+K+(L>>>0>v>>>0?1:0),x=k.low=x+N,k.high=w+M+(N>>>0>x>>>0?1:0),z=l.low=z+P,l.high=y+O+(P>>>0>z>>>0?1:0),B=c.low=B+R,c.high=A+Q+(R>>>0>B>>>0?1:0)},_doFinalize:function(){var a=this._data,b=a.words,c=8*this._nDataBytes,d=8*a.sigBytes;return b[d>>>5]|=128<<24-d%32,b[(d+128>>>10<<5)+30]=Math.floor(c/4294967296),b[(d+128>>>10<<5)+31]=c,a.sigBytes=4*b.length,this._process(),this._hash.toX32()},clone:function(){var a=c.clone.call(this);return a._hash=this._hash.clone(),a},blockSize:32}),b.SHA512=c._createHelper(d),b.HmacSHA512=c._createHmacHelper(d)}(),function(){var a=CryptoJS,b=a.x64,c=b.Word,d=b.WordArray,b=a.algo,e=b.SHA512,b=b.SHA384=e.extend({_doReset:function(){this._hash=new d.init([new c.init(3418070365,3238371032),new c.init(1654270250,914150663),new c.init(2438529370,812702999),new c.init(355462360,4144912697),new c.init(1731405415,4290775857),new c.init(2394180231,1750603025),new c.init(3675008525,1694076839),new c.init(1203062813,3204075428)])},_doFinalize:function(){var a=e._doFinalize.call(this);return a.sigBytes-=16,a}});a.SHA384=e._createHelper(b),a.HmacSHA384=e._createHmacHelper(b)}(),function(a){function b(a,b,c,d,e,f,g){return a=a+(b&c|~b&d)+e+g,(a<>>32-f)+b}function c(a,b,c,d,e,f,g){return a=a+(b&d|c&~d)+e+g,(a<>>32-f)+b}function d(a,b,c,d,e,f,g){return a=a+(b^c^d)+e+g,(a<>>32-f)+b}function e(a,b,c,d,e,f,g){return a=a+(c^(b|~d))+e+g,(a<>>32-f)+b}for(var f=CryptoJS,g=f.lib,h=g.WordArray,i=g.Hasher,g=f.algo,j=[],k=0;64>k;k++)j[k]=4294967296*a.abs(a.sin(k+1))|0;g=g.MD5=i.extend({_doReset:function(){this._hash=new h.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(a,f){for(var g=0;16>g;g++){var h=f+g,i=a[h];a[h]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var g=this._hash.words,h=a[f+0],i=a[f+1],k=a[f+2],l=a[f+3],m=a[f+4],n=a[f+5],o=a[f+6],p=a[f+7],q=a[f+8],r=a[f+9],s=a[f+10],t=a[f+11],u=a[f+12],v=a[f+13],w=a[f+14],x=a[f+15],y=g[0],z=g[1],A=g[2],B=g[3],y=b(y,z,A,B,h,7,j[0]),B=b(B,y,z,A,i,12,j[1]),A=b(A,B,y,z,k,17,j[2]),z=b(z,A,B,y,l,22,j[3]),y=b(y,z,A,B,m,7,j[4]),B=b(B,y,z,A,n,12,j[5]),A=b(A,B,y,z,o,17,j[6]),z=b(z,A,B,y,p,22,j[7]),y=b(y,z,A,B,q,7,j[8]),B=b(B,y,z,A,r,12,j[9]),A=b(A,B,y,z,s,17,j[10]),z=b(z,A,B,y,t,22,j[11]),y=b(y,z,A,B,u,7,j[12]),B=b(B,y,z,A,v,12,j[13]),A=b(A,B,y,z,w,17,j[14]),z=b(z,A,B,y,x,22,j[15]),y=c(y,z,A,B,i,5,j[16]),B=c(B,y,z,A,o,9,j[17]),A=c(A,B,y,z,t,14,j[18]),z=c(z,A,B,y,h,20,j[19]),y=c(y,z,A,B,n,5,j[20]),B=c(B,y,z,A,s,9,j[21]),A=c(A,B,y,z,x,14,j[22]),z=c(z,A,B,y,m,20,j[23]),y=c(y,z,A,B,r,5,j[24]),B=c(B,y,z,A,w,9,j[25]),A=c(A,B,y,z,l,14,j[26]),z=c(z,A,B,y,q,20,j[27]),y=c(y,z,A,B,v,5,j[28]),B=c(B,y,z,A,k,9,j[29]),A=c(A,B,y,z,p,14,j[30]),z=c(z,A,B,y,u,20,j[31]),y=d(y,z,A,B,n,4,j[32]),B=d(B,y,z,A,q,11,j[33]),A=d(A,B,y,z,t,16,j[34]),z=d(z,A,B,y,w,23,j[35]),y=d(y,z,A,B,i,4,j[36]),B=d(B,y,z,A,m,11,j[37]),A=d(A,B,y,z,p,16,j[38]),z=d(z,A,B,y,s,23,j[39]),y=d(y,z,A,B,v,4,j[40]),B=d(B,y,z,A,h,11,j[41]),A=d(A,B,y,z,l,16,j[42]),z=d(z,A,B,y,o,23,j[43]),y=d(y,z,A,B,r,4,j[44]),B=d(B,y,z,A,u,11,j[45]),A=d(A,B,y,z,x,16,j[46]),z=d(z,A,B,y,k,23,j[47]),y=e(y,z,A,B,h,6,j[48]),B=e(B,y,z,A,p,10,j[49]),A=e(A,B,y,z,w,15,j[50]),z=e(z,A,B,y,n,21,j[51]),y=e(y,z,A,B,u,6,j[52]),B=e(B,y,z,A,l,10,j[53]),A=e(A,B,y,z,s,15,j[54]),z=e(z,A,B,y,i,21,j[55]),y=e(y,z,A,B,q,6,j[56]),B=e(B,y,z,A,x,10,j[57]),A=e(A,B,y,z,o,15,j[58]),z=e(z,A,B,y,v,21,j[59]),y=e(y,z,A,B,m,6,j[60]),B=e(B,y,z,A,t,10,j[61]),A=e(A,B,y,z,k,15,j[62]),z=e(z,A,B,y,r,21,j[63]);g[0]=g[0]+y|0,g[1]=g[1]+z|0,g[2]=g[2]+A|0,g[3]=g[3]+B|0},_doFinalize:function(){var b=this._data,c=b.words,d=8*this._nDataBytes,e=8*b.sigBytes;c[e>>>5]|=128<<24-e%32;var f=a.floor(d/4294967296);for(c[(e+64>>>9<<4)+15]=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),c[(e+64>>>9<<4)+14]=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),b.sigBytes=4*(c.length+1),this._process(),b=this._hash,c=b.words,d=0;4>d;d++)e=c[d],c[d]=16711935&(e<<8|e>>>24)|4278255360&(e<<24|e>>>8);return b},clone:function(){var a=i.clone.call(this);return a._hash=this._hash.clone(),a}}),f.MD5=i._createHelper(g),f.HmacMD5=i._createHmacHelper(g)}(Math),function(){var a=CryptoJS,b=a.lib.WordArray;a.enc.Base64={stringify:function(a){var b=a.words,c=a.sigBytes,d=this._map;a.clamp(),a=[];for(var e=0;c>e;e+=3)for(var f=(b[e>>>2]>>>24-8*(e%4)&255)<<16|(b[e+1>>>2]>>>24-8*((e+1)%4)&255)<<8|b[e+2>>>2]>>>24-8*((e+2)%4)&255,g=0;4>g&&c>e+.75*g;g++)a.push(d.charAt(f>>>6*(3-g)&63));if(b=d.charAt(64))for(;a.length%4;)a.push(b);return a.join("")},parse:function(a){var c=a.length,d=this._map,e=d.charAt(64);e&&(e=a.indexOf(e),-1!=e&&(c=e));for(var e=[],f=0,g=0;c>g;g++)if(g%4){var h=d.indexOf(a.charAt(g-1))<<2*(g%4),i=d.indexOf(a.charAt(g))>>>6-2*(g%4);e[f>>>2]|=(h|i)<<24-8*(f%4),f++}return b.create(e,f)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),CryptoJS.lib.Cipher||function(a){var b=CryptoJS,c=b.lib,d=c.Base,e=c.WordArray,f=c.BufferedBlockAlgorithm,g=b.enc.Base64,h=b.algo.EvpKDF,i=c.Cipher=f.extend({cfg:d.extend(),createEncryptor:function(a,b){return this.create(this._ENC_XFORM_MODE,a,b)},createDecryptor:function(a,b){return this.create(this._DEC_XFORM_MODE,a,b)},init:function(a,b,c){this.cfg=this.cfg.extend(c),this._xformMode=a,this._key=b,this.reset()},reset:function(){f.reset.call(this),this._doReset()},process:function(a){return this._append(a),this._process()},finalize:function(a){return a&&this._append(a),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(a){return{encrypt:function(b,c,d){return("string"==typeof c?o:n).encrypt(a,b,c,d)},decrypt:function(b,c,d){return("string"==typeof c?o:n).decrypt(a,b,c,d)}}}});c.StreamCipher=i.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var j=b.mode={},k=function(b,c,d){var e=this._iv;e?this._iv=a:e=this._prevBlock;for(var f=0;d>f;f++)b[c+f]^=e[f]},l=(c.BlockCipherMode=d.extend({createEncryptor:function(a,b){return this.Encryptor.create(a,b)},createDecryptor:function(a,b){return this.Decryptor.create(a,b)},init:function(a,b){this._cipher=a,this._iv=b}})).extend();l.Encryptor=l.extend({processBlock:function(a,b){var c=this._cipher,d=c.blockSize;k.call(this,a,b,d),c.encryptBlock(a,b),this._prevBlock=a.slice(b,b+d)}}),l.Decryptor=l.extend({processBlock:function(a,b){var c=this._cipher,d=c.blockSize,e=a.slice(b,b+d);c.decryptBlock(a,b),k.call(this,a,b,d),this._prevBlock=e}}),j=j.CBC=l,l=(b.pad={}).Pkcs7={pad:function(a,b){for(var c=4*b,c=c-a.sigBytes%c,d=c<<24|c<<16|c<<8|c,f=[],g=0;c>g;g+=4)f.push(d);c=e.create(f,c),a.concat(c)},unpad:function(a){a.sigBytes-=255&a.words[a.sigBytes-1>>>2]}},c.BlockCipher=i.extend({cfg:i.cfg.extend({mode:j,padding:l}),reset:function(){i.reset.call(this);var a=this.cfg,b=a.iv,a=a.mode;if(this._xformMode==this._ENC_XFORM_MODE)var c=a.createEncryptor;else c=a.createDecryptor,this._minBufferSize=1;this._mode=c.call(a,this,b&&b.words)},_doProcessBlock:function(a,b){this._mode.processBlock(a,b)},_doFinalize:function(){var a=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){a.pad(this._data,this.blockSize);var b=this._process(!0)}else b=this._process(!0),a.unpad(b);return b},blockSize:4});var m=c.CipherParams=d.extend({init:function(a){this.mixIn(a)},toString:function(a){return(a||this.formatter).stringify(this)}}),j=(b.format={}).OpenSSL={stringify:function(a){var b=a.ciphertext;return a=a.salt,(a?e.create([1398893684,1701076831]).concat(a).concat(b):b).toString(g)},parse:function(a){a=g.parse(a);var b=a.words;if(1398893684==b[0]&&1701076831==b[1]){var c=e.create(b.slice(2,4));b.splice(0,4),a.sigBytes-=16}return m.create({ciphertext:a,salt:c})}},n=c.SerializableCipher=d.extend({cfg:d.extend({format:j}),encrypt:function(a,b,c,d){d=this.cfg.extend(d);var e=a.createEncryptor(c,d);return b=e.finalize(b),e=e.cfg,m.create({ciphertext:b,key:c,iv:e.iv,algorithm:a,mode:e.mode,padding:e.padding,blockSize:a.blockSize,formatter:d.format})},decrypt:function(a,b,c,d){return d=this.cfg.extend(d),b=this._parse(b,d.format),a.createDecryptor(c,d).finalize(b.ciphertext)},_parse:function(a,b){return"string"==typeof a?b.parse(a,this):a}}),b=(b.kdf={}).OpenSSL={execute:function(a,b,c,d){return d||(d=e.random(8)),a=h.create({keySize:b+c}).compute(a,d),c=e.create(a.words.slice(b),4*c),a.sigBytes=4*b,m.create({key:a,iv:c,salt:d})}},o=c.PasswordBasedCipher=n.extend({cfg:n.cfg.extend({kdf:b}),encrypt:function(a,b,c,d){return d=this.cfg.extend(d),c=d.kdf.execute(c,a.keySize,a.ivSize),d.iv=c.iv,a=n.encrypt.call(this,a,b,c.key,d),a.mixIn(c),a},decrypt:function(a,b,c,d){return d=this.cfg.extend(d),b=this._parse(b,d.format),c=d.kdf.execute(c,a.keySize,a.ivSize,b.salt),d.iv=c.iv,n.decrypt.call(this,a,b,c.key,d)}})}(),function(){for(var a=CryptoJS,b=a.lib.BlockCipher,c=a.algo,d=[],e=[],f=[],g=[],h=[],i=[],j=[],k=[],l=[],m=[],n=[],o=0;256>o;o++)n[o]=128>o?o<<1:o<<1^283;for(var p=0,q=0,o=0;256>o;o++){var r=q^q<<1^q<<2^q<<3^q<<4,r=r>>>8^255&r^99;d[p]=r,e[r]=p;var s=n[p],t=n[s],u=n[t],v=257*n[r]^16843008*r;f[p]=v<<24|v>>>8,g[p]=v<<16|v>>>16,h[p]=v<<8|v>>>24,i[p]=v,v=16843009*u^65537*t^257*s^16843008*p,j[r]=v<<24|v>>>8,k[r]=v<<16|v>>>16,l[r]=v<<8|v>>>24,m[r]=v,p?(p=s^n[n[n[u^s]]],q^=n[n[q]]):p=q=1}var w=[0,1,2,4,8,16,32,64,128,27,54],c=c.AES=b.extend({_doReset:function(){for(var a=this._key,b=a.words,c=a.sigBytes/4,a=4*((this._nRounds=c+6)+1),e=this._keySchedule=[],f=0;a>f;f++)if(c>f)e[f]=b[f];else{var g=e[f-1];f%c?c>6&&4==f%c&&(g=d[g>>>24]<<24|d[g>>>16&255]<<16|d[g>>>8&255]<<8|d[255&g]):(g=g<<8|g>>>24,g=d[g>>>24]<<24|d[g>>>16&255]<<16|d[g>>>8&255]<<8|d[255&g],g^=w[f/c|0]<<24),e[f]=e[f-c]^g}for(b=this._invKeySchedule=[],c=0;a>c;c++)f=a-c,g=c%4?e[f]:e[f-4],b[c]=4>c||4>=f?g:j[d[g>>>24]]^k[d[g>>>16&255]]^l[d[g>>>8&255]]^m[d[255&g]]},encryptBlock:function(a,b){this._doCryptBlock(a,b,this._keySchedule,f,g,h,i,d)},decryptBlock:function(a,b){var c=a[b+1];a[b+1]=a[b+3],a[b+3]=c,this._doCryptBlock(a,b,this._invKeySchedule,j,k,l,m,e),c=a[b+1],a[b+1]=a[b+3],a[b+3]=c},_doCryptBlock:function(a,b,c,d,e,f,g,h){for(var i=this._nRounds,j=a[b]^c[0],k=a[b+1]^c[1],l=a[b+2]^c[2],m=a[b+3]^c[3],n=4,o=1;i>o;o++)var p=d[j>>>24]^e[k>>>16&255]^f[l>>>8&255]^g[255&m]^c[n++],q=d[k>>>24]^e[l>>>16&255]^f[m>>>8&255]^g[255&j]^c[n++],r=d[l>>>24]^e[m>>>16&255]^f[j>>>8&255]^g[255&k]^c[n++],m=d[m>>>24]^e[j>>>16&255]^f[k>>>8&255]^g[255&l]^c[n++],j=p,k=q,l=r;p=(h[j>>>24]<<24|h[k>>>16&255]<<16|h[l>>>8&255]<<8|h[255&m])^c[n++],q=(h[k>>>24]<<24|h[l>>>16&255]<<16|h[m>>>8&255]<<8|h[255&j])^c[n++],r=(h[l>>>24]<<24|h[m>>>16&255]<<16|h[j>>>8&255]<<8|h[255&k])^c[n++],m=(h[m>>>24]<<24|h[j>>>16&255]<<16|h[k>>>8&255]<<8|h[255&l])^c[n++],a[b]=p,a[b+1]=q,a[b+2]=r,a[b+3]=m},keySize:8});a.AES=b._createHelper(c)}(),function(){function a(a,b){var c=(this._lBlock>>>a^this._rBlock)&b;this._rBlock^=c,this._lBlock^=c<>>a^this._lBlock)&b;this._lBlock^=c,this._rBlock^=c<c;c++){var d=g[c]-1;b[c]=a[d>>>5]>>>31-d%32&1}for(a=this._subKeys=[],d=0;16>d;d++){for(var e=a[d]=[],f=i[d],c=0;24>c;c++)e[c/6|0]|=b[(h[c]-1+f)%28]<<31-c%6,e[4+(c/6|0)]|=b[28+(h[c+24]-1+f)%28]<<31-c%6;for(e[0]=e[0]<<1|e[0]>>>31,c=1;7>c;c++)e[c]>>>=4*(c-1)+3;e[7]=e[7]<<5|e[7]>>>27}for(b=this._invSubKeys=[],c=0;16>c;c++)b[c]=a[15-c]},encryptBlock:function(a,b){this._doCryptBlock(a,b,this._subKeys)},decryptBlock:function(a,b){this._doCryptBlock(a,b,this._invSubKeys)},_doCryptBlock:function(c,d,e){this._lBlock=c[d],this._rBlock=c[d+1],a.call(this,4,252645135),a.call(this,16,65535),b.call(this,2,858993459),b.call(this,8,16711935),a.call(this,1,1431655765);for(var f=0;16>f;f++){for(var g=e[f],h=this._lBlock,i=this._rBlock,l=0,m=0;8>m;m++)l|=j[m][((i^g[m])&k[m])>>>0];this._lBlock=i,this._rBlock=h^l}e=this._lBlock,this._lBlock=this._rBlock,this._rBlock=e,a.call(this,1,1431655765),b.call(this,8,16711935),b.call(this,2,858993459),a.call(this,16,65535),a.call(this,4,252645135),c[d]=this._lBlock,c[d+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});c.DES=d._createHelper(l),f=f.TripleDES=d.extend({_doReset:function(){var a=this._key.words;this._des1=l.createEncryptor(e.create(a.slice(0,2))),this._des2=l.createEncryptor(e.create(a.slice(2,4))),this._des3=l.createEncryptor(e.create(a.slice(4,6)))},encryptBlock:function(a,b){this._des1.encryptBlock(a,b),this._des2.decryptBlock(a,b),this._des3.encryptBlock(a,b)},decryptBlock:function(a,b){this._des3.decryptBlock(a,b),this._des2.encryptBlock(a,b),this._des1.decryptBlock(a,b)},keySize:6,ivSize:2,blockSize:2}),c.TripleDES=d._createHelper(f)}(),function(){var a=CryptoJS,b=a.lib,c=b.WordArray,d=b.Hasher,e=[],b=a.algo.SHA1=d.extend({_doReset:function(){this._hash=new c.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(a,b){for(var c=this._hash.words,d=c[0],f=c[1],g=c[2],h=c[3],i=c[4],j=0;80>j;j++){if(16>j)e[j]=0|a[b+j];else{var k=e[j-3]^e[j-8]^e[j-14]^e[j-16];e[j]=k<<1|k>>>31}k=(d<<5|d>>>27)+i+e[j],k=20>j?k+((f&g|~f&h)+1518500249):40>j?k+((f^g^h)+1859775393):60>j?k+((f&g|f&h|g&h)-1894007588):k+((f^g^h)-899497514),i=h,h=g,g=f<<30|f>>>2,f=d,d=k}c[0]=c[0]+d|0,c[1]=c[1]+f|0,c[2]=c[2]+g|0,c[3]=c[3]+h|0,c[4]=c[4]+i|0},_doFinalize:function(){var a=this._data,b=a.words,c=8*this._nDataBytes,d=8*a.sigBytes;return b[d>>>5]|=128<<24-d%32,b[(d+64>>>9<<4)+14]=Math.floor(c/4294967296),b[(d+64>>>9<<4)+15]=c,a.sigBytes=4*b.length,this._process(),this._hash},clone:function(){var a=d.clone.call(this);return a._hash=this._hash.clone(),a}});a.SHA1=d._createHelper(b),a.HmacSHA1=d._createHmacHelper(b)}(),function(){var a=CryptoJS,b=a.lib,c=b.WordArray,d=b.Hasher,b=a.algo,e=c.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),f=c.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),g=c.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),h=c.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),i=c.create([0,1518500249,1859775393,2400959708,2840853838]),j=c.create([1352829926,1548603684,1836072691,2053994217,0]),b=b.RIPEMD160=d.extend({_doReset:function(){this._hash=c.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(a,b){for(var c=0;16>c;c++){var d=b+c,k=a[d];a[d]=16711935&(k<<8|k>>>24)|4278255360&(k<<24|k>>>8)}var l,m,n,o,p,q,r,s,t,u,d=this._hash.words,k=i.words,v=j.words,w=e.words,x=f.words,y=g.words,z=h.words;q=l=d[0],r=m=d[1],s=n=d[2],t=o=d[3],u=p=d[4];for(var A,c=0;80>c;c+=1)A=l+a[b+w[c]]|0,A=16>c?A+((m^n^o)+k[0]):32>c?A+((m&n|~m&o)+k[1]):48>c?A+(((m|~n)^o)+k[2]):64>c?A+((m&o|n&~o)+k[3]):A+((m^(n|~o))+k[4]),A|=0,A=A<>>32-y[c],A=A+p|0,l=p,p=o,o=n<<10|n>>>22,n=m,m=A,A=q+a[b+x[c]]|0,A=16>c?A+((r^(s|~t))+v[0]):32>c?A+((r&t|s&~t)+v[1]):48>c?A+(((r|~s)^t)+v[2]):64>c?A+((r&s|~r&t)+v[3]):A+((r^s^t)+v[4]),A|=0,A=A<>>32-z[c],A=A+u|0,q=u,u=t,t=s<<10|s>>>22,s=r,r=A;A=d[1]+n+t|0,d[1]=d[2]+o+u|0,d[2]=d[3]+p+q|0,d[3]=d[4]+l+r|0,d[4]=d[0]+m+s|0,d[0]=A},_doFinalize:function(){var a=this._data,b=a.words,c=8*this._nDataBytes,d=8*a.sigBytes;for(b[d>>>5]|=128<<24-d%32,b[(d+64>>>9<<4)+14]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),a.sigBytes=4*(b.length+1),this._process(),a=this._hash,b=a.words,c=0;5>c;c++)d=b[c],b[c]=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8);return a},clone:function(){var a=d.clone.call(this);return a._hash=this._hash.clone(),a}});a.RIPEMD160=d._createHelper(b),a.HmacRIPEMD160=d._createHmacHelper(b)}(Math),function(){var a=CryptoJS,b=a.lib,c=b.Base,d=b.WordArray,b=a.algo,e=b.HMAC,f=b.PBKDF2=c.extend({cfg:c.extend({keySize:4,hasher:b.SHA1,iterations:1}),init:function(a){this.cfg=this.cfg.extend(a)},compute:function(a,b){for(var c=this.cfg,f=e.create(c.hasher,a),g=d.create(),h=d.create([1]),i=g.words,j=h.words,k=c.keySize,c=c.iterations;i.lengthp;p++){o=f.finalize(o),f.reset();for(var q=o.words,r=0;n>r;r++)m[r]^=q[r]}g.concat(l),j[0]++}return g.sigBytes=4*k,g}});a.PBKDF2=function(a,b,c){return f.create(c).compute(a,b)}}();var b64map="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b64pad="=",dbits,canary=0xdeadbeefcafe,j_lm=15715070==(16777215&canary);j_lm&&"Microsoft Internet Explorer"==navigator.appName?(BigInteger.prototype.am=am2,dbits=30):j_lm&&"Netscape"!=navigator.appName?(BigInteger.prototype.am=am1,dbits=26):(BigInteger.prototype.am=am3,dbits=28),BigInteger.prototype.DB=dbits,BigInteger.prototype.DM=(1<=vv;++vv)BI_RC[rr++]=vv;for(rr="a".charCodeAt(0),vv=10;36>vv;++vv)BI_RC[rr++]=vv;for(rr="A".charCodeAt(0),vv=10;36>vv;++vv)BI_RC[rr++]=vv;Classic.prototype.convert=cConvert,Classic.prototype.revert=cRevert,Classic.prototype.reduce=cReduce,Classic.prototype.mulTo=cMulTo,Classic.prototype.sqrTo=cSqrTo,Montgomery.prototype.convert=montConvert,Montgomery.prototype.revert=montRevert,Montgomery.prototype.reduce=montReduce,Montgomery.prototype.mulTo=montMulTo,Montgomery.prototype.sqrTo=montSqrTo,BigInteger.prototype.copyTo=bnpCopyTo,BigInteger.prototype.fromInt=bnpFromInt,BigInteger.prototype.fromString=bnpFromString,BigInteger.prototype.clamp=bnpClamp,BigInteger.prototype.dlShiftTo=bnpDLShiftTo,BigInteger.prototype.drShiftTo=bnpDRShiftTo,BigInteger.prototype.lShiftTo=bnpLShiftTo,BigInteger.prototype.rShiftTo=bnpRShiftTo,BigInteger.prototype.subTo=bnpSubTo,BigInteger.prototype.multiplyTo=bnpMultiplyTo,BigInteger.prototype.squareTo=bnpSquareTo,BigInteger.prototype.divRemTo=bnpDivRemTo,BigInteger.prototype.invDigit=bnpInvDigit,BigInteger.prototype.isEven=bnpIsEven,BigInteger.prototype.exp=bnpExp,BigInteger.prototype.toString=bnToString,BigInteger.prototype.negate=bnNegate,BigInteger.prototype.abs=bnAbs,BigInteger.prototype.compareTo=bnCompareTo,BigInteger.prototype.bitLength=bnBitLength,BigInteger.prototype.mod=bnMod,BigInteger.prototype.modPowInt=bnModPowInt,BigInteger.ZERO=nbv(0),BigInteger.ONE=nbv(1),NullExp.prototype.convert=nNop,NullExp.prototype.revert=nNop,NullExp.prototype.mulTo=nMulTo,NullExp.prototype.sqrTo=nSqrTo,Barrett.prototype.convert=barrettConvert,Barrett.prototype.revert=barrettRevert,Barrett.prototype.reduce=barrettReduce,Barrett.prototype.mulTo=barrettMulTo,Barrett.prototype.sqrTo=barrettSqrTo;var lowprimes=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],lplim=(1<<26)/lowprimes[lowprimes.length-1];BigInteger.prototype.chunkSize=bnpChunkSize,BigInteger.prototype.toRadix=bnpToRadix,BigInteger.prototype.fromRadix=bnpFromRadix,BigInteger.prototype.fromNumber=bnpFromNumber,BigInteger.prototype.bitwiseTo=bnpBitwiseTo,BigInteger.prototype.changeBit=bnpChangeBit,BigInteger.prototype.addTo=bnpAddTo,BigInteger.prototype.dMultiply=bnpDMultiply,BigInteger.prototype.dAddOffset=bnpDAddOffset,BigInteger.prototype.multiplyLowerTo=bnpMultiplyLowerTo,BigInteger.prototype.multiplyUpperTo=bnpMultiplyUpperTo,BigInteger.prototype.modInt=bnpModInt,BigInteger.prototype.millerRabin=bnpMillerRabin,BigInteger.prototype.clone=bnClone,BigInteger.prototype.intValue=bnIntValue,BigInteger.prototype.byteValue=bnByteValue,BigInteger.prototype.shortValue=bnShortValue,BigInteger.prototype.signum=bnSigNum,BigInteger.prototype.toByteArray=bnToByteArray,BigInteger.prototype.equals=bnEquals,BigInteger.prototype.min=bnMin,BigInteger.prototype.max=bnMax,BigInteger.prototype.and=bnAnd,BigInteger.prototype.or=bnOr,BigInteger.prototype.xor=bnXor,BigInteger.prototype.andNot=bnAndNot,BigInteger.prototype.not=bnNot,BigInteger.prototype.shiftLeft=bnShiftLeft,BigInteger.prototype.shiftRight=bnShiftRight,BigInteger.prototype.getLowestSetBit=bnGetLowestSetBit,BigInteger.prototype.bitCount=bnBitCount,BigInteger.prototype.testBit=bnTestBit,BigInteger.prototype.setBit=bnSetBit,BigInteger.prototype.clearBit=bnClearBit,BigInteger.prototype.flipBit=bnFlipBit,BigInteger.prototype.add=bnAdd,BigInteger.prototype.subtract=bnSubtract,BigInteger.prototype.multiply=bnMultiply,BigInteger.prototype.divide=bnDivide,BigInteger.prototype.remainder=bnRemainder,BigInteger.prototype.divideAndRemainder=bnDivideAndRemainder,BigInteger.prototype.modPow=bnModPow,BigInteger.prototype.modInverse=bnModInverse,BigInteger.prototype.pow=bnPow,BigInteger.prototype.gcd=bnGCD,BigInteger.prototype.isProbablePrime=bnIsProbablePrime,BigInteger.prototype.square=bnSquare,Arcfour.prototype.init=ARC4init,Arcfour.prototype.next=ARC4next;var rng_psize=256,rng_state,rng_pool,rng_pptr;if(null==rng_pool){rng_pool=new Array,rng_pptr=0;var t;if("Netscape"==navigator.appName&&navigator.appVersion<"5"&&window.crypto){var z=window.crypto.random(32);for(t=0;trng_pptr;)t=Math.floor(65536*Math.random()),rng_pool[rng_pptr++]=t>>>8,rng_pool[rng_pptr++]=255&t;rng_pptr=0,rng_seed_time()}SecureRandom.prototype.nextBytes=rng_get_bytes;var SHA1_SIZE=20;RSAKey.prototype.doPublic=RSADoPublic,RSAKey.prototype.setPublic=RSASetPublic,RSAKey.prototype.encrypt=RSAEncrypt,RSAKey.prototype.encryptOAEP=RSAEncryptOAEP,RSAKey.prototype.type="RSA";var SHA1_SIZE=20;RSAKey.prototype.doPrivate=RSADoPrivate,RSAKey.prototype.setPrivate=RSASetPrivate,RSAKey.prototype.setPrivateEx=RSASetPrivateEx,RSAKey.prototype.generate=RSAGenerate,RSAKey.prototype.decrypt=RSADecrypt,RSAKey.prototype.decryptOAEP=RSADecryptOAEP,ECFieldElementFp.prototype.equals=feFpEquals,ECFieldElementFp.prototype.toBigInteger=feFpToBigInteger,ECFieldElementFp.prototype.negate=feFpNegate,ECFieldElementFp.prototype.add=feFpAdd, @@ -22,42 +22,42 @@ j.setPublic(i[0],i[1]),this.setRSAKey(j)},this.getASN1Object=function(){if(null= "undefined"!=typeof KJUR&&KJUR||(KJUR={}),"undefined"!=typeof KJUR.crypto&&KJUR.crypto||(KJUR.crypto={}),KJUR.crypto.DSA=function(){function a(a,b,c,e,f,g){var h=KJUR.crypto.Util.hashString(b,a.toLowerCase()),h=h.substr(0,f.bitLength()/4),i=new BigInteger(h,16),j=d(BigInteger.ONE.add(BigInteger.ONE),f.subtract(BigInteger.ONE)),k=c.modPow(j,e).mod(f),l=j.modInverse(f).multiply(i.add(g.multiply(k))).mod(f),m=new Array;return m[0]=k,m[1]=l,m}function b(a){var b=openpgp.config.config.prefer_hash_algorithm;switch(Math.round(a.bitLength()/8)){case 20:return 2!=b&&b>11&&10!=b&&8>b?2:b;case 28:return b>11&&8>b?11:b;case 32:return b>10&&8>b?8:b;default:return util.print_debug("DSA select hash algorithm: returning null for an unknown length of q"),null}}function c(a,b,c,d,e,f,g,h){var i=KJUR.crypto.Util.hashString(d,a.toLowerCase()),i=i.substr(0,f.bitLength()/4),j=new BigInteger(i,16);if(BigInteger.ZERO.compareTo(b)>0||b.compareTo(f)>0||BigInteger.ZERO.compareTo(c)>0||c.compareTo(f)>0)return util.print_error("invalid DSA Signature"),null;var k=c.modInverse(f),l=j.multiply(k).mod(f),m=b.multiply(k).mod(f),n=g.modPow(l,e).multiply(h.modPow(m,e)).mod(e).mod(f);return 0==n.compareTo(b)}function d(a,b){if(!(b.compareTo(a)<=0)){for(var c=b.subtract(a),d=e(c.bitLength());d>c;)d=e(c.bitLength());return a.add(d)}}function e(a){if(0>a)return null;var b=Math.floor((a+7)/8),c=f(b);return a%8>0&&(c=String.fromCharCode(Math.pow(2,a%8)-1&c.charCodeAt(0))+c.substring(1)),new BigInteger(h(c),16)}function f(a){for(var b="",c=0;a>c;c++)b+=String.fromCharCode(g());return b}function g(){var a=new Uint32Array(1);return window.crypto.getRandomValues(a),255&a[0]}function h(a){if(null==a)return"";for(var b,c=[],d=a.length,e=0;d>e;){for(b=a[e++].charCodeAt().toString(16);b.length<2;)b="0"+b;c.push(""+b)}return c.join("")}this.p=null,this.q=null,this.g=null,this.y=null,this.x=null,this.type="DSA",this.setPrivate=function(a,b,c,d,e){this.isPrivate=!0,this.p=a,this.q=b,this.g=c,this.y=d,this.x=e},this.setPublic=function(a,b,c,d){this.isPublic=!0,this.p=a,this.q=b,this.g=c,this.y=d,this.x=null},this.signWithMessageHash=function(a){var b=this.p,c=this.q,e=this.g,f=(this.y,this.x),g=(a.substr(0,c.bitLength()/4),new BigInteger(a,16)),h=d(BigInteger.ONE.add(BigInteger.ONE),c.subtract(BigInteger.ONE)),i=e.modPow(h,b).mod(c),j=h.modInverse(c).multiply(g.add(f.multiply(i))).mod(c),k=KJUR.asn1.ASN1Util.jsonToASN1HEX({seq:[{"int":{bigint:i}},{"int":{bigint:j}}]});return k},this.verifyWithMessageHash=function(a,b){var c=this.p,d=this.q,e=this.g,f=this.y,g=this.parseASN1Signature(b),h=g[0],i=g[1],a=a.substr(0,d.bitLength()/4),j=new BigInteger(a,16);if(BigInteger.ZERO.compareTo(h)>0||h.compareTo(d)>0||BigInteger.ZERO.compareTo(i)>0||i.compareTo(d)>0)throw"invalid DSA signature";var k=i.modInverse(d),l=j.multiply(k).mod(d),m=h.multiply(k).mod(d),n=e.modPow(l,c).multiply(f.modPow(m,c)).mod(c).mod(d);return 0==n.compareTo(h)},this.parseASN1Signature=function(a){try{var b=new BigInteger(ASN1HEX.getVbyList(a,0,[0],"02"),16),c=new BigInteger(ASN1HEX.getVbyList(a,0,[1],"02"),16);return[b,c]}catch(d){throw"malformed DSA signature"}},this.select_hash_algorithm=b,this.sign=a,this.verify=c,this.getRandomBigIntegerInRange=d,this.getRandomBigInteger=e,this.getRandomBytes=f};var PKCS5PKEY=function(){var a=function(a,b,d){return c(CryptoJS.AES,a,b,d)},b=function(a,b,d){return c(CryptoJS.TripleDES,a,b,d)},c=function(a,b,c,d){var e=CryptoJS.enc.Hex.parse(b),f=CryptoJS.enc.Hex.parse(c),g=CryptoJS.enc.Hex.parse(d),h={};h.key=f,h.iv=g,h.ciphertext=e;var i=a.decrypt(h,f,{iv:g});return CryptoJS.enc.Hex.stringify(i)},d=function(a,b,c){return f(CryptoJS.AES,a,b,c)},e=function(a,b,c){return f(CryptoJS.TripleDES,a,b,c)},f=function(a,b,c,d){var e=CryptoJS.enc.Hex.parse(b),f=CryptoJS.enc.Hex.parse(c),g=CryptoJS.enc.Hex.parse(d),h=a.encrypt(e,f,{iv:g}),i=CryptoJS.enc.Hex.parse(h.toString()),j=CryptoJS.enc.Base64.stringify(i);return j},g={"AES-256-CBC":{proc:a,eproc:d,keylen:32,ivlen:16},"AES-192-CBC":{proc:a,eproc:d,keylen:24,ivlen:16},"AES-128-CBC":{proc:a,eproc:d,keylen:16,ivlen:16},"DES-EDE3-CBC":{proc:b,eproc:e,keylen:24,ivlen:8}},h=function(a){return g[a].proc},i=function(a){var b=CryptoJS.lib.WordArray.random(a),c=CryptoJS.enc.Hex.stringify(b);return c},j=function(a){var b={};a.match(new RegExp("DEK-Info: ([^,]+),([0-9A-Fa-f]+)","m"))&&(b.cipher=RegExp.$1,b.ivsalt=RegExp.$2),a.match(new RegExp("-----BEGIN ([A-Z]+) PRIVATE KEY-----"))&&(b.type=RegExp.$1);var c=-1,d=0;-1!=a.indexOf("\r\n\r\n")&&(c=a.indexOf("\r\n\r\n"),d=2),-1!=a.indexOf("\n\n")&&(c=a.indexOf("\n\n"),d=1);var e=a.indexOf("-----END");if(-1!=c&&-1!=e){var f=a.substring(c+2*d,e-d);f=f.replace(/\s+/g,""),b.data=f}return b},k=function(a,b,c){for(var d=c.substring(0,16),e=CryptoJS.enc.Hex.parse(d),f=CryptoJS.enc.Utf8.parse(b),h=g[a].keylen+g[a].ivlen,i="",j=null;;){var k=CryptoJS.algo.MD5.create();if(null!=j&&k.update(j),k.update(f),k.update(e),j=k.finalize(),i+=CryptoJS.enc.Hex.stringify(j),i.length>=2*h)break}var l={};return l.keyhex=i.substr(0,2*g[a].keylen),l.ivhex=i.substr(2*g[a].keylen,2*g[a].ivlen),l},l=function(a,b,c,d){var e=CryptoJS.enc.Base64.parse(a),f=CryptoJS.enc.Hex.stringify(e),h=g[b].proc,i=h(f,c,d);return i},m=function(a,b,c,d){var e=g[b].eproc,f=e(a,c,d);return f};return{version:"1.0.5",getHexFromPEM:function(a,b){var c=a;if(-1==c.indexOf("BEGIN "+b))throw"can't find PEM header: "+b;c=c.replace("-----BEGIN "+b+"-----",""),c=c.replace("-----END "+b+"-----","");var d=c.replace(/\s+/g,""),e=b64tohex(d);return e},getDecryptedKeyHexByKeyIV:function(a,b,c,d){var e=h(b);return e(a,c,d)},parsePKCS5PEM:function(a){return j(a)},getKeyAndUnusedIvByPasscodeAndIvsalt:function(a,b,c){return k(a,b,c)},decryptKeyB64:function(a,b,c,d){return l(a,b,c,d)},getDecryptedKeyHex:function(a,b){var c=j(a),d=(c.type,c.cipher),e=c.ivsalt,f=c.data,g=k(d,b,e),h=g.keyhex,i=l(f,d,h,e);return i},getRSAKeyFromEncryptedPKCS5PEM:function(a,b){var c=this.getDecryptedKeyHex(a,b),d=new RSAKey;return d.readPrivateKeyFromASN1HexString(c),d},getEryptedPKCS5PEMFromPrvKeyHex:function(a,b,c,d){var e="";if(("undefined"==typeof c||null==c)&&(c="AES-256-CBC"),"undefined"==typeof g[c])throw"PKCS5PKEY unsupported algorithm: "+c;if("undefined"==typeof d||null==d){var f=g[c].ivlen,h=i(f);d=h.toUpperCase()}var j=k(c,b,d),l=j.keyhex,n=m(a,c,l,d),o=n.replace(/(.{64})/g,"$1\r\n"),e="-----BEGIN RSA PRIVATE KEY-----\r\n";return e+="Proc-Type: 4,ENCRYPTED\r\n",e+="DEK-Info: "+c+","+d+"\r\n",e+="\r\n",e+=o,e+="\r\n-----END RSA PRIVATE KEY-----\r\n"},getEryptedPKCS5PEMFromRSAKey:function(a,b,c,d){var e=new KJUR.asn1.DERInteger({"int":0}),f=new KJUR.asn1.DERInteger({bigint:a.n}),g=new KJUR.asn1.DERInteger({"int":a.e}),h=new KJUR.asn1.DERInteger({bigint:a.d}),i=new KJUR.asn1.DERInteger({bigint:a.p}),j=new KJUR.asn1.DERInteger({bigint:a.q}),k=new KJUR.asn1.DERInteger({bigint:a.dmp1}),l=new KJUR.asn1.DERInteger({bigint:a.dmq1}),m=new KJUR.asn1.DERInteger({bigint:a.coeff}),n=new KJUR.asn1.DERSequence({array:[e,f,g,h,i,j,k,l,m]}),o=n.getEncodedHex();return this.getEryptedPKCS5PEMFromPrvKeyHex(o,b,c,d)},newEncryptedPKCS5PEM:function(a,b,c,d){("undefined"==typeof b||null==b)&&(b=1024),("undefined"==typeof c||null==c)&&(c="10001");var e=new RSAKey;e.generate(b,c);var f=null;return f="undefined"==typeof d||null==d?this.getEncryptedPKCS5PEMFromRSAKey(pkey,a):this.getEncryptedPKCS5PEMFromRSAKey(pkey,a,d)},getRSAKeyFromPlainPKCS8PEM:function(a){if(a.match(/ENCRYPTED/))throw"pem shall be not ENCRYPTED";var b=this.getHexFromPEM(a,"PRIVATE KEY"),c=this.getRSAKeyFromPlainPKCS8Hex(b);return c},getRSAKeyFromPlainPKCS8Hex:function(a){var b=ASN1HEX.getPosArrayOfChildren_AtObj(a,0);if(3!=b.length)throw"outer DERSequence shall have 3 elements: "+b.length;var c=ASN1HEX.getHexOfTLV_AtObj(a,b[1]);if("300d06092a864886f70d0101010500"!=c)throw"PKCS8 AlgorithmIdentifier is not rsaEnc: "+c;var c=ASN1HEX.getHexOfTLV_AtObj(a,b[1]),d=ASN1HEX.getHexOfTLV_AtObj(a,b[2]),e=ASN1HEX.getHexOfV_AtObj(d,0),f=new RSAKey;return f.readPrivateKeyFromASN1HexString(e),f},parseHexOfEncryptedPKCS8:function(a){var b={},c=ASN1HEX.getPosArrayOfChildren_AtObj(a,0);if(2!=c.length)throw"malformed format: SEQUENCE(0).items != 2: "+c.length;b.ciphertext=ASN1HEX.getHexOfV_AtObj(a,c[1]);var d=ASN1HEX.getPosArrayOfChildren_AtObj(a,c[0]);if(2!=d.length)throw"malformed format: SEQUENCE(0.0).items != 2: "+d.length;if("2a864886f70d01050d"!=ASN1HEX.getHexOfV_AtObj(a,d[0]))throw"this only supports pkcs5PBES2";var e=ASN1HEX.getPosArrayOfChildren_AtObj(a,d[1]);if(2!=d.length)throw"malformed format: SEQUENCE(0.0.1).items != 2: "+e.length;var f=ASN1HEX.getPosArrayOfChildren_AtObj(a,e[1]);if(2!=f.length)throw"malformed format: SEQUENCE(0.0.1.1).items != 2: "+f.length;if("2a864886f70d0307"!=ASN1HEX.getHexOfV_AtObj(a,f[0]))throw"this only supports TripleDES";b.encryptionSchemeAlg="TripleDES",b.encryptionSchemeIV=ASN1HEX.getHexOfV_AtObj(a,f[1]);var g=ASN1HEX.getPosArrayOfChildren_AtObj(a,e[0]);if(2!=g.length)throw"malformed format: SEQUENCE(0.0.1.0).items != 2: "+g.length;if("2a864886f70d01050c"!=ASN1HEX.getHexOfV_AtObj(a,g[0]))throw"this only supports pkcs5PBKDF2";var h=ASN1HEX.getPosArrayOfChildren_AtObj(a,g[1]);if(h.length<2)throw"malformed format: SEQUENCE(0.0.1.0.1).items < 2: "+h.length;b.pbkdf2Salt=ASN1HEX.getHexOfV_AtObj(a,h[0]);var i=ASN1HEX.getHexOfV_AtObj(a,h[1]);try{b.pbkdf2Iter=parseInt(i,16)}catch(j){throw"malformed format pbkdf2Iter: "+i}return b},getPBKDF2KeyHexFromParam:function(a,b){var c=CryptoJS.enc.Hex.parse(a.pbkdf2Salt),d=a.pbkdf2Iter,e=CryptoJS.PBKDF2(b,c,{keySize:6,iterations:d}),f=CryptoJS.enc.Hex.stringify(e);return f},getPlainPKCS8HexFromEncryptedPKCS8PEM:function(a,b){var c=this.getHexFromPEM(a,"ENCRYPTED PRIVATE KEY"),d=this.parseHexOfEncryptedPKCS8(c),e=PKCS5PKEY.getPBKDF2KeyHexFromParam(d,b),f={};f.ciphertext=CryptoJS.enc.Hex.parse(d.ciphertext);var g=CryptoJS.enc.Hex.parse(e),h=CryptoJS.enc.Hex.parse(d.encryptionSchemeIV),i=CryptoJS.TripleDES.decrypt(f,g,{iv:h}),j=CryptoJS.enc.Hex.stringify(i);return j},getRSAKeyFromEncryptedPKCS8PEM:function(a,b){var c=this.getPlainPKCS8HexFromEncryptedPKCS8PEM(a,b),d=this.getRSAKeyFromPlainPKCS8Hex(c);return d},getKeyFromEncryptedPKCS8PEM:function(a,b){var c=this.getPlainPKCS8HexFromEncryptedPKCS8PEM(a,b),d=this.getKeyFromPlainPrivatePKCS8Hex(c);return d},parsePlainPrivatePKCS8Hex:function(a){var b={};if(b.algparam=null,"30"!=a.substr(0,2))throw"malformed plain PKCS8 private key(code:001)";var c=ASN1HEX.getPosArrayOfChildren_AtObj(a,0);if(3!=c.length)throw"malformed plain PKCS8 private key(code:002)";if("30"!=a.substr(c[1],2))throw"malformed PKCS8 private key(code:003)";var d=ASN1HEX.getPosArrayOfChildren_AtObj(a,c[1]);if(2!=d.length)throw"malformed PKCS8 private key(code:004)";if("06"!=a.substr(d[0],2))throw"malformed PKCS8 private key(code:005)";if(b.algoid=ASN1HEX.getHexOfV_AtObj(a,d[0]),"06"==a.substr(d[1],2)&&(b.algparam=ASN1HEX.getHexOfV_AtObj(a,d[1])),"04"!=a.substr(c[2],2))throw"malformed PKCS8 private key(code:006)";return b.keyidx=ASN1HEX.getStartPosOfV_AtObj(a,c[2]),b},getKeyFromPlainPrivatePKCS8PEM:function(a){var b=this.getHexFromPEM(a,"PRIVATE KEY"),c=this.getKeyFromPlainPrivatePKCS8Hex(b);return c},getKeyFromPlainPrivatePKCS8Hex:function(a){var b=this.parsePlainPrivatePKCS8Hex(a);if("2a864886f70d010101"==b.algoid){this.parsePrivateRawRSAKeyHexAtObj(a,b);var c=b.key,d=new RSAKey;return d.setPrivateEx(c.n,c.e,c.d,c.p,c.q,c.dp,c.dq,c.co),d}if("2a8648ce3d0201"==b.algoid){if(this.parsePrivateRawECKeyHexAtObj(a,b),void 0===KJUR.crypto.OID.oidhex2name[b.algparam])throw"KJUR.crypto.OID.oidhex2name undefined: "+b.algparam;var e=KJUR.crypto.OID.oidhex2name[b.algparam],d=new KJUR.crypto.ECDSA({curve:e,prv:b.key});return d}throw"unsupported private key algorithm"},getRSAKeyFromPublicPKCS8PEM:function(a){var b=this.getHexFromPEM(a,"PUBLIC KEY"),c=this.getRSAKeyFromPublicPKCS8Hex(b);return c},getKeyFromPublicPKCS8PEM:function(a){var b=this.getHexFromPEM(a,"PUBLIC KEY"),c=this.getKeyFromPublicPKCS8Hex(b);return c},getKeyFromPublicPKCS8Hex:function(a){var b=this.parsePublicPKCS8Hex(a);if("2a864886f70d010101"==b.algoid){var c=this.parsePublicRawRSAKeyHex(b.key),d=new RSAKey;return d.setPublic(c.n,c.e),d}if("2a8648ce3d0201"==b.algoid){if(void 0===KJUR.crypto.OID.oidhex2name[b.algparam])throw"KJUR.crypto.OID.oidhex2name undefined: "+b.algparam;var e=KJUR.crypto.OID.oidhex2name[b.algparam],d=new KJUR.crypto.ECDSA({curve:e,pub:b.key});return d}throw"unsupported public key algorithm"},parsePublicRawRSAKeyHex:function(a){var b={};if("30"!=a.substr(0,2))throw"malformed RSA key(code:001)";var c=ASN1HEX.getPosArrayOfChildren_AtObj(a,0);if(2!=c.length)throw"malformed RSA key(code:002)";if("02"!=a.substr(c[0],2))throw"malformed RSA key(code:003)";if(b.n=ASN1HEX.getHexOfV_AtObj(a,c[0]),"02"!=a.substr(c[1],2))throw"malformed RSA key(code:004)";return b.e=ASN1HEX.getHexOfV_AtObj(a,c[1]),b},parsePrivateRawRSAKeyHexAtObj:function(a,b){var c=b.keyidx;if("30"!=a.substr(c,2))throw"malformed RSA private key(code:001)";var d=ASN1HEX.getPosArrayOfChildren_AtObj(a,c);if(9!=d.length)throw"malformed RSA private key(code:002)";b.key={},b.key.n=ASN1HEX.getHexOfV_AtObj(a,d[1]),b.key.e=ASN1HEX.getHexOfV_AtObj(a,d[2]),b.key.d=ASN1HEX.getHexOfV_AtObj(a,d[3]),b.key.p=ASN1HEX.getHexOfV_AtObj(a,d[4]),b.key.q=ASN1HEX.getHexOfV_AtObj(a,d[5]),b.key.dp=ASN1HEX.getHexOfV_AtObj(a,d[6]),b.key.dq=ASN1HEX.getHexOfV_AtObj(a,d[7]),b.key.co=ASN1HEX.getHexOfV_AtObj(a,d[8])},parsePrivateRawECKeyHexAtObj:function(a,b){var c=b.keyidx;if("30"!=a.substr(c,2))throw"malformed ECC private key(code:001)";var d=ASN1HEX.getPosArrayOfChildren_AtObj(a,c);if(3!=d.length)throw"malformed ECC private key(code:002)";if("04"!=a.substr(d[1],2))throw"malformed ECC private key(code:003)";b.key=ASN1HEX.getHexOfV_AtObj(a,d[1])},parsePublicPKCS8Hex:function(a){var b={};b.algparam=null;var c=ASN1HEX.getPosArrayOfChildren_AtObj(a,0);if(2!=c.length)throw"outer DERSequence shall have 2 elements: "+c.length;var d=c[0];if("30"!=a.substr(d,2))throw"malformed PKCS8 public key(code:001)";var e=ASN1HEX.getPosArrayOfChildren_AtObj(a,d);if(2!=e.length)throw"malformed PKCS8 public key(code:002)";if("06"!=a.substr(e[0],2))throw"malformed PKCS8 public key(code:003)";if(b.algoid=ASN1HEX.getHexOfV_AtObj(a,e[0]),"06"==a.substr(e[1],2)&&(b.algparam=ASN1HEX.getHexOfV_AtObj(a,e[1])),"03"!=a.substr(c[1],2))throw"malformed PKCS8 public key(code:004)";return b.key=ASN1HEX.getHexOfV_AtObj(a,c[1]).substr(2),b},getRSAKeyFromPublicPKCS8Hex:function(a){var b=ASN1HEX.getPosArrayOfChildren_AtObj(a,0);if(2!=b.length)throw"outer DERSequence shall have 2 elements: "+b.length;var c=ASN1HEX.getHexOfTLV_AtObj(a,b[0]);if("300d06092a864886f70d0101010500"!=c)throw"PKCS8 AlgorithmId is not rsaEncryption";if("03"!=a.substr(b[1],2))throw"PKCS8 Public Key is not BITSTRING encapslated.";var d=ASN1HEX.getStartPosOfV_AtObj(a,b[1])+2;if("30"!=a.substr(d,2))throw"PKCS8 Public Key is not SEQUENCE.";var e=ASN1HEX.getPosArrayOfChildren_AtObj(a,d);if(2!=e.length)throw"inner DERSequence shall have 2 elements: "+e.length;if("02"!=a.substr(e[0],2))throw"N is not ASN.1 INTEGER";if("02"!=a.substr(e[1],2))throw"E is not ASN.1 INTEGER";var f=ASN1HEX.getHexOfV_AtObj(a,e[0]),g=ASN1HEX.getHexOfV_AtObj(a,e[1]),h=new RSAKey;return h.setPublic(f,g),h}}}(),KEYUTIL=function(){var a=function(a,b,c){return d(CryptoJS.AES,a,b,c)},b=function(a,b,c){return d(CryptoJS.TripleDES,a,b,c)},c=function(a,b,c){return d(CryptoJS.DES,a,b,c)},d=function(a,b,c,d){var e=CryptoJS.enc.Hex.parse(b),f=CryptoJS.enc.Hex.parse(c),g=CryptoJS.enc.Hex.parse(d),h={};h.key=f,h.iv=g,h.ciphertext=e;var i=a.decrypt(h,f,{iv:g});return CryptoJS.enc.Hex.stringify(i)},e=function(a,b,c){return h(CryptoJS.AES,a,b,c)},f=function(a,b,c){return h(CryptoJS.TripleDES,a,b,c)},g=function(a,b,c){return h(CryptoJS.DES,a,b,c)},h=function(a,b,c,d){var e=CryptoJS.enc.Hex.parse(b),f=CryptoJS.enc.Hex.parse(c),g=CryptoJS.enc.Hex.parse(d),h=a.encrypt(e,f,{iv:g}),i=CryptoJS.enc.Hex.parse(h.toString()),j=CryptoJS.enc.Base64.stringify(i);return j},i={"AES-256-CBC":{proc:a,eproc:e,keylen:32,ivlen:16},"AES-192-CBC":{proc:a,eproc:e,keylen:24,ivlen:16},"AES-128-CBC":{proc:a,eproc:e,keylen:16,ivlen:16},"DES-EDE3-CBC":{proc:b,eproc:f,keylen:24,ivlen:8},"DES-CBC":{proc:c,eproc:g,keylen:8,ivlen:8}},j=function(a){return i[a].proc},k=function(a){var b=CryptoJS.lib.WordArray.random(a),c=CryptoJS.enc.Hex.stringify(b);return c},l=function(a){var b={};a.match(new RegExp("DEK-Info: ([^,]+),([0-9A-Fa-f]+)","m"))&&(b.cipher=RegExp.$1,b.ivsalt=RegExp.$2),a.match(new RegExp("-----BEGIN ([A-Z]+) PRIVATE KEY-----"))&&(b.type=RegExp.$1);var c=-1,d=0;-1!=a.indexOf("\r\n\r\n")&&(c=a.indexOf("\r\n\r\n"),d=2),-1!=a.indexOf("\n\n")&&(c=a.indexOf("\n\n"),d=1);var e=a.indexOf("-----END");if(-1!=c&&-1!=e){var f=a.substring(c+2*d,e-d);f=f.replace(/\s+/g,""),b.data=f}return b},m=function(a,b,c){for(var d=c.substring(0,16),e=CryptoJS.enc.Hex.parse(d),f=CryptoJS.enc.Utf8.parse(b),g=i[a].keylen+i[a].ivlen,h="",j=null;;){var k=CryptoJS.algo.MD5.create();if(null!=j&&k.update(j),k.update(f),k.update(e),j=k.finalize(),h+=CryptoJS.enc.Hex.stringify(j),h.length>=2*g)break}var l={};return l.keyhex=h.substr(0,2*i[a].keylen),l.ivhex=h.substr(2*i[a].keylen,2*i[a].ivlen),l},n=function(a,b,c,d){var e=CryptoJS.enc.Base64.parse(a),f=CryptoJS.enc.Hex.stringify(e),g=i[b].proc,h=g(f,c,d);return h},o=function(a,b,c,d){var e=i[b].eproc,f=e(a,c,d);return f};return{version:"1.0.0",getHexFromPEM:function(a,b){var c=a;if(-1==c.indexOf("BEGIN "+b))throw"can't find PEM header: "+b;c=c.replace("-----BEGIN "+b+"-----",""),c=c.replace("-----END "+b+"-----","");var d=c.replace(/\s+/g,""),e=b64tohex(d);return e},getDecryptedKeyHexByKeyIV:function(a,b,c,d){var e=j(b);return e(a,c,d)},parsePKCS5PEM:function(a){return l(a)},getKeyAndUnusedIvByPasscodeAndIvsalt:function(a,b,c){return m(a,b,c)},decryptKeyB64:function(a,b,c,d){return n(a,b,c,d)},getDecryptedKeyHex:function(a,b){var c=l(a),d=(c.type,c.cipher),e=c.ivsalt,f=c.data,g=m(d,b,e),h=g.keyhex,i=n(f,d,h,e);return i},getRSAKeyFromEncryptedPKCS5PEM:function(a,b){var c=this.getDecryptedKeyHex(a,b),d=new RSAKey;return d.readPrivateKeyFromASN1HexString(c),d},getEncryptedPKCS5PEMFromPrvKeyHex:function(a,b,c,d,e){var f="";if(("undefined"==typeof d||null==d)&&(d="AES-256-CBC"),"undefined"==typeof i[d])throw"KEYUTIL unsupported algorithm: "+d;if("undefined"==typeof e||null==e){var g=i[d].ivlen,h=k(g);e=h.toUpperCase()}var j=m(d,c,e),l=j.keyhex,n=o(b,d,l,e),p=n.replace(/(.{64})/g,"$1\r\n"),f="-----BEGIN "+a+" PRIVATE KEY-----\r\n";return f+="Proc-Type: 4,ENCRYPTED\r\n",f+="DEK-Info: "+d+","+e+"\r\n",f+="\r\n",f+=p,f+="\r\n-----END "+a+" PRIVATE KEY-----\r\n"},getEncryptedPKCS5PEMFromRSAKey:function(a,b,c,d){var e=new KJUR.asn1.DERInteger({"int":0}),f=new KJUR.asn1.DERInteger({bigint:a.n}),g=new KJUR.asn1.DERInteger({"int":a.e}),h=new KJUR.asn1.DERInteger({bigint:a.d}),i=new KJUR.asn1.DERInteger({bigint:a.p}),j=new KJUR.asn1.DERInteger({bigint:a.q}),k=new KJUR.asn1.DERInteger({bigint:a.dmp1}),l=new KJUR.asn1.DERInteger({bigint:a.dmq1}),m=new KJUR.asn1.DERInteger({bigint:a.coeff}),n=new KJUR.asn1.DERSequence({array:[e,f,g,h,i,j,k,l,m]}),o=n.getEncodedHex();return this.getEncryptedPKCS5PEMFromPrvKeyHex("RSA",o,b,c,d)},newEncryptedPKCS5PEM:function(a,b,c,d){("undefined"==typeof b||null==b)&&(b=1024),("undefined"==typeof c||null==c)&&(c="10001");var e=new RSAKey;e.generate(b,c);var f=null;return f="undefined"==typeof d||null==d?this.getEncryptedPKCS5PEMFromRSAKey(e,a):this.getEncryptedPKCS5PEMFromRSAKey(e,a,d)},getRSAKeyFromPlainPKCS8PEM:function(a){if(a.match(/ENCRYPTED/))throw"pem shall be not ENCRYPTED";var b=this.getHexFromPEM(a,"PRIVATE KEY"),c=this.getRSAKeyFromPlainPKCS8Hex(b);return c},getRSAKeyFromPlainPKCS8Hex:function(a){var b=ASN1HEX.getPosArrayOfChildren_AtObj(a,0);if(3!=b.length)throw"outer DERSequence shall have 3 elements: "+b.length;var c=ASN1HEX.getHexOfTLV_AtObj(a,b[1]);if("300d06092a864886f70d0101010500"!=c)throw"PKCS8 AlgorithmIdentifier is not rsaEnc: "+c;var c=ASN1HEX.getHexOfTLV_AtObj(a,b[1]),d=ASN1HEX.getHexOfTLV_AtObj(a,b[2]),e=ASN1HEX.getHexOfV_AtObj(d,0),f=new RSAKey;return f.readPrivateKeyFromASN1HexString(e),f},parseHexOfEncryptedPKCS8:function(a){var b={},c=ASN1HEX.getPosArrayOfChildren_AtObj(a,0);if(2!=c.length)throw"malformed format: SEQUENCE(0).items != 2: "+c.length;b.ciphertext=ASN1HEX.getHexOfV_AtObj(a,c[1]);var d=ASN1HEX.getPosArrayOfChildren_AtObj(a,c[0]);if(2!=d.length)throw"malformed format: SEQUENCE(0.0).items != 2: "+d.length;if("2a864886f70d01050d"!=ASN1HEX.getHexOfV_AtObj(a,d[0]))throw"this only supports pkcs5PBES2";var e=ASN1HEX.getPosArrayOfChildren_AtObj(a,d[1]);if(2!=d.length)throw"malformed format: SEQUENCE(0.0.1).items != 2: "+e.length;var f=ASN1HEX.getPosArrayOfChildren_AtObj(a,e[1]);if(2!=f.length)throw"malformed format: SEQUENCE(0.0.1.1).items != 2: "+f.length;if("2a864886f70d0307"!=ASN1HEX.getHexOfV_AtObj(a,f[0]))throw"this only supports TripleDES";b.encryptionSchemeAlg="TripleDES",b.encryptionSchemeIV=ASN1HEX.getHexOfV_AtObj(a,f[1]);var g=ASN1HEX.getPosArrayOfChildren_AtObj(a,e[0]);if(2!=g.length)throw"malformed format: SEQUENCE(0.0.1.0).items != 2: "+g.length;if("2a864886f70d01050c"!=ASN1HEX.getHexOfV_AtObj(a,g[0]))throw"this only supports pkcs5PBKDF2";var h=ASN1HEX.getPosArrayOfChildren_AtObj(a,g[1]);if(h.length<2)throw"malformed format: SEQUENCE(0.0.1.0.1).items < 2: "+h.length;b.pbkdf2Salt=ASN1HEX.getHexOfV_AtObj(a,h[0]);var i=ASN1HEX.getHexOfV_AtObj(a,h[1]);try{b.pbkdf2Iter=parseInt(i,16)}catch(j){throw"malformed format pbkdf2Iter: "+i}return b},getPBKDF2KeyHexFromParam:function(a,b){var c=CryptoJS.enc.Hex.parse(a.pbkdf2Salt),d=a.pbkdf2Iter,e=CryptoJS.PBKDF2(b,c,{keySize:6,iterations:d}),f=CryptoJS.enc.Hex.stringify(e);return f},getPlainPKCS8HexFromEncryptedPKCS8PEM:function(a,b){var c=this.getHexFromPEM(a,"ENCRYPTED PRIVATE KEY"),d=this.parseHexOfEncryptedPKCS8(c),e=KEYUTIL.getPBKDF2KeyHexFromParam(d,b),f={};f.ciphertext=CryptoJS.enc.Hex.parse(d.ciphertext);var g=CryptoJS.enc.Hex.parse(e),h=CryptoJS.enc.Hex.parse(d.encryptionSchemeIV),i=CryptoJS.TripleDES.decrypt(f,g,{iv:h}),j=CryptoJS.enc.Hex.stringify(i);return j},getRSAKeyFromEncryptedPKCS8PEM:function(a,b){var c=this.getPlainPKCS8HexFromEncryptedPKCS8PEM(a,b),d=this.getRSAKeyFromPlainPKCS8Hex(c);return d},getKeyFromEncryptedPKCS8PEM:function(a,b){var c=this.getPlainPKCS8HexFromEncryptedPKCS8PEM(a,b),d=this.getKeyFromPlainPrivatePKCS8Hex(c);return d},parsePlainPrivatePKCS8Hex:function(a){var b={};if(b.algparam=null,"30"!=a.substr(0,2))throw"malformed plain PKCS8 private key(code:001)";var c=ASN1HEX.getPosArrayOfChildren_AtObj(a,0);if(3!=c.length)throw"malformed plain PKCS8 private key(code:002)";if("30"!=a.substr(c[1],2))throw"malformed PKCS8 private key(code:003)";var d=ASN1HEX.getPosArrayOfChildren_AtObj(a,c[1]);if(2!=d.length)throw"malformed PKCS8 private key(code:004)";if("06"!=a.substr(d[0],2))throw"malformed PKCS8 private key(code:005)";if(b.algoid=ASN1HEX.getHexOfV_AtObj(a,d[0]),"06"==a.substr(d[1],2)&&(b.algparam=ASN1HEX.getHexOfV_AtObj(a,d[1])),"04"!=a.substr(c[2],2))throw"malformed PKCS8 private key(code:006)";return b.keyidx=ASN1HEX.getStartPosOfV_AtObj(a,c[2]),b},getKeyFromPlainPrivatePKCS8PEM:function(a){var b=this.getHexFromPEM(a,"PRIVATE KEY"),c=this.getKeyFromPlainPrivatePKCS8Hex(b);return c},getKeyFromPlainPrivatePKCS8Hex:function(a){var b=this.parsePlainPrivatePKCS8Hex(a);if("2a864886f70d010101"==b.algoid){this.parsePrivateRawRSAKeyHexAtObj(a,b);var c=b.key,d=new RSAKey;return d.setPrivateEx(c.n,c.e,c.d,c.p,c.q,c.dp,c.dq,c.co),d}if("2a8648ce3d0201"==b.algoid){if(this.parsePrivateRawECKeyHexAtObj(a,b),void 0===KJUR.crypto.OID.oidhex2name[b.algparam])throw"KJUR.crypto.OID.oidhex2name undefined: "+b.algparam;var e=KJUR.crypto.OID.oidhex2name[b.algparam],d=new KJUR.crypto.ECDSA({curve:e});return d.setPublicKeyHex(b.pubkey),d.setPrivateKeyHex(b.key),d.isPublic=!1,d}if("2a8648ce380401"==b.algoid){var f=ASN1HEX.getVbyList(a,0,[1,1,0],"02"),g=ASN1HEX.getVbyList(a,0,[1,1,1],"02"),h=ASN1HEX.getVbyList(a,0,[1,1,2],"02"),i=ASN1HEX.getVbyList(a,0,[2,0],"02"),j=new BigInteger(f,16),k=new BigInteger(g,16),l=new BigInteger(h,16),m=new BigInteger(i,16),d=new KJUR.crypto.DSA;return d.setPrivate(j,k,l,null,m),d}throw"unsupported private key algorithm"},getRSAKeyFromPublicPKCS8PEM:function(a){var b=this.getHexFromPEM(a,"PUBLIC KEY"),c=this.getRSAKeyFromPublicPKCS8Hex(b);return c},getKeyFromPublicPKCS8PEM:function(a){var b=this.getHexFromPEM(a,"PUBLIC KEY"),c=this.getKeyFromPublicPKCS8Hex(b);return c},getKeyFromPublicPKCS8Hex:function(a){var b=this.parsePublicPKCS8Hex(a);if("2a864886f70d010101"==b.algoid){var c=this.parsePublicRawRSAKeyHex(b.key),d=new RSAKey;return d.setPublic(c.n,c.e),d}if("2a8648ce3d0201"==b.algoid){if(void 0===KJUR.crypto.OID.oidhex2name[b.algparam])throw"KJUR.crypto.OID.oidhex2name undefined: "+b.algparam;var e=KJUR.crypto.OID.oidhex2name[b.algparam],d=new KJUR.crypto.ECDSA({curve:e,pub:b.key});return d}if("2a8648ce380401"==b.algoid){var f=b.algparam,g=ASN1HEX.getHexOfV_AtObj(b.key,0),d=new KJUR.crypto.DSA;return d.setPublic(new BigInteger(f.p,16),new BigInteger(f.q,16),new BigInteger(f.g,16),new BigInteger(g,16)),d}throw"unsupported public key algorithm"},parsePublicRawRSAKeyHex:function(a){var b={};if("30"!=a.substr(0,2))throw"malformed RSA key(code:001)";var c=ASN1HEX.getPosArrayOfChildren_AtObj(a,0);if(2!=c.length)throw"malformed RSA key(code:002)";if("02"!=a.substr(c[0],2))throw"malformed RSA key(code:003)";if(b.n=ASN1HEX.getHexOfV_AtObj(a,c[0]),"02"!=a.substr(c[1],2))throw"malformed RSA key(code:004)";return b.e=ASN1HEX.getHexOfV_AtObj(a,c[1]),b},parsePrivateRawRSAKeyHexAtObj:function(a,b){var c=b.keyidx;if("30"!=a.substr(c,2))throw"malformed RSA private key(code:001)";var d=ASN1HEX.getPosArrayOfChildren_AtObj(a,c);if(9!=d.length)throw"malformed RSA private key(code:002)";b.key={},b.key.n=ASN1HEX.getHexOfV_AtObj(a,d[1]),b.key.e=ASN1HEX.getHexOfV_AtObj(a,d[2]),b.key.d=ASN1HEX.getHexOfV_AtObj(a,d[3]),b.key.p=ASN1HEX.getHexOfV_AtObj(a,d[4]),b.key.q=ASN1HEX.getHexOfV_AtObj(a,d[5]),b.key.dp=ASN1HEX.getHexOfV_AtObj(a,d[6]),b.key.dq=ASN1HEX.getHexOfV_AtObj(a,d[7]),b.key.co=ASN1HEX.getHexOfV_AtObj(a,d[8])},parsePrivateRawECKeyHexAtObj:function(a,b){var c=b.keyidx,d=ASN1HEX.getVbyList(a,c,[1],"04"),e=ASN1HEX.getVbyList(a,c,[2,0],"03").substr(2);b.key=d,b.pubkey=e},parsePublicPKCS8Hex:function(a){var b={};b.algparam=null;var c=ASN1HEX.getPosArrayOfChildren_AtObj(a,0);if(2!=c.length)throw"outer DERSequence shall have 2 elements: "+c.length;var d=c[0];if("30"!=a.substr(d,2))throw"malformed PKCS8 public key(code:001)";var e=ASN1HEX.getPosArrayOfChildren_AtObj(a,d);if(2!=e.length)throw"malformed PKCS8 public key(code:002)";if("06"!=a.substr(e[0],2))throw"malformed PKCS8 public key(code:003)";if(b.algoid=ASN1HEX.getHexOfV_AtObj(a,e[0]),"06"==a.substr(e[1],2)?b.algparam=ASN1HEX.getHexOfV_AtObj(a,e[1]):"30"==a.substr(e[1],2)&&(b.algparam={},b.algparam.p=ASN1HEX.getVbyList(a,e[1],[0],"02"),b.algparam.q=ASN1HEX.getVbyList(a,e[1],[1],"02"),b.algparam.g=ASN1HEX.getVbyList(a,e[1],[2],"02")),"03"!=a.substr(c[1],2))throw"malformed PKCS8 public key(code:004)";return b.key=ASN1HEX.getHexOfV_AtObj(a,c[1]).substr(2),b},getRSAKeyFromPublicPKCS8Hex:function(a){var b=ASN1HEX.getPosArrayOfChildren_AtObj(a,0);if(2!=b.length)throw"outer DERSequence shall have 2 elements: "+b.length;var c=ASN1HEX.getHexOfTLV_AtObj(a,b[0]);if("300d06092a864886f70d0101010500"!=c)throw"PKCS8 AlgorithmId is not rsaEncryption";if("03"!=a.substr(b[1],2))throw"PKCS8 Public Key is not BITSTRING encapslated.";var d=ASN1HEX.getStartPosOfV_AtObj(a,b[1])+2;if("30"!=a.substr(d,2))throw"PKCS8 Public Key is not SEQUENCE.";var e=ASN1HEX.getPosArrayOfChildren_AtObj(a,d);if(2!=e.length)throw"inner DERSequence shall have 2 elements: "+e.length;if("02"!=a.substr(e[0],2))throw"N is not ASN.1 INTEGER";if("02"!=a.substr(e[1],2))throw"E is not ASN.1 INTEGER";var f=ASN1HEX.getHexOfV_AtObj(a,e[0]),g=ASN1HEX.getHexOfV_AtObj(a,e[1]),h=new RSAKey;return h.setPublic(f,g),h}}}();KEYUTIL.getKey=function(a,b,c){if("undefined"!=typeof RSAKey&&a instanceof RSAKey)return a;if("undefined"!=typeof KJUR.crypto.ECDSA&&a instanceof KJUR.crypto.ECDSA)return a;if("undefined"!=typeof KJUR.crypto.DSA&&a instanceof KJUR.crypto.DSA)return a;if(void 0!==a.xy&&void 0!==a.curve)return new KJUR.crypto.ECDSA({prv:a.xy,curve:a.curve});if(void 0!==a.n&&void 0!==a.e&&void 0!==a.d&&void 0!==a.p&&void 0!==a.q&&void 0!==a.dp&&void 0!==a.dq&&void 0!==a.co){var d=new RSAKey;return d.setPrivateEx(a.n,a.e,a.d,a.p,a.q,a.dp,a.dq,a.co),d}if(void 0!==a.p&&void 0!==a.q&&void 0!==a.g&&void 0!==a.y&&void 0!==a.x){var d=new KJUR.crypto.DSA;return d.setPrivate(a.p,a.q,a.g,a.y,a.x),d}if(void 0!==a.d&&void 0!==a.curve)return new KJUR.crypto.ECDSA({pub:a.d,curve:a.curve});if(void 0!==a.n&&a.e){var d=new RSAKey;return d.setPublic(a.n,a.e),d}if(void 0!==a.p&&void 0!==a.q&&void 0!==a.g&&void 0!==a.y&&void 0===a.x){var d=new KJUR.crypto.DSA;return d.setPublic(a.p,a.q,a.g,a.y),d}if(-1!=a.indexOf("-END CERTIFICATE-",0)||-1!=a.indexOf("-END X509 CERTIFICATE-",0)||-1!=a.indexOf("-END TRUSTED CERTIFICATE-",0))return X509.getPublicKeyFromCertPEM(a);if("pkcs8pub"===c)return KEYUTIL.getKeyFromPublicPKCS8Hex(a);if(-1!=a.indexOf("-END PUBLIC KEY-"))return KEYUTIL.getKeyFromPublicPKCS8PEM(a);if("pkcs5prv"===c){var d=new RSAKey;return d.readPrivateKeyFromASN1HexString(a),d}if("pkcs5prv"===c){var d=new RSAKey;return d.readPrivateKeyFromASN1HexString(a),d}if(-1!=a.indexOf("-END RSA PRIVATE KEY-")&&-1==a.indexOf("4,ENCRYPTED")){var d=new RSAKey;return d.readPrivateKeyFromPEMString(a),d}if(-1!=a.indexOf("-END DSA PRIVATE KEY-")&&-1==a.indexOf("4,ENCRYPTED")){var e=this.getHexFromPEM(a,"DSA PRIVATE KEY"),f=ASN1HEX.getVbyList(e,0,[1],"02"),g=ASN1HEX.getVbyList(e,0,[2],"02"),h=ASN1HEX.getVbyList(e,0,[3],"02"),i=ASN1HEX.getVbyList(e,0,[4],"02"),j=ASN1HEX.getVbyList(e,0,[5],"02"),d=new KJUR.crypto.DSA;return d.setPrivate(new BigInteger(f,16),new BigInteger(g,16),new BigInteger(h,16),new BigInteger(i,16),new BigInteger(j,16)),d}if(-1!=a.indexOf("-END PRIVATE KEY-"))return KEYUTIL.getKeyFromPlainPrivatePKCS8PEM(a);if(-1!=a.indexOf("-END RSA PRIVATE KEY-")&&-1!=a.indexOf("4,ENCRYPTED"))return KEYUTIL.getRSAKeyFromEncryptedPKCS5PEM(a,b);if(-1!=a.indexOf("-END EC PRIVATE KEY-")&&-1!=a.indexOf("4,ENCRYPTED")){var e=KEYUTIL.getDecryptedKeyHex(a,b),d=ASN1HEX.getVbyList(e,0,[1],"04"),k=ASN1HEX.getVbyList(e,0,[2,0],"06"),l=ASN1HEX.getVbyList(e,0,[3,0],"03").substr(2),m="";if(void 0===KJUR.crypto.OID.oidhex2name[k])throw"undefined OID(hex) in KJUR.crypto.OID: "+k;m=KJUR.crypto.OID.oidhex2name[k];var n=new KJUR.crypto.ECDSA({name:m});return n.setPublicKeyHex(l),n.setPrivateKeyHex(d),n.isPublic=!1,n}if(-1!=a.indexOf("-END DSA PRIVATE KEY-")&&-1!=a.indexOf("4,ENCRYPTED")){var e=KEYUTIL.getDecryptedKeyHex(a,b),f=ASN1HEX.getVbyList(e,0,[1],"02"),g=ASN1HEX.getVbyList(e,0,[2],"02"),h=ASN1HEX.getVbyList(e,0,[3],"02"),i=ASN1HEX.getVbyList(e,0,[4],"02"),j=ASN1HEX.getVbyList(e,0,[5],"02"),d=new KJUR.crypto.DSA;return d.setPrivate(new BigInteger(f,16),new BigInteger(g,16),new BigInteger(h,16),new BigInteger(i,16),new BigInteger(j,16)),d}if(-1!=a.indexOf("-END ENCRYPTED PRIVATE KEY-"))return KEYUTIL.getKeyFromEncryptedPKCS8PEM(a,b);throw"not supported argument"},KEYUTIL.generateKeypair=function(a,b){if("RSA"==a){var c=b,d=new RSAKey;d.generate(c,"10001");var e=new RSAKey,f=d.n.toString(16),g=d.e.toString(16);e.setPublic(f,g);var h={};return h.prvKeyObj=d,h.pubKeyObj=e,h}if("EC"==a){var i=b,j=new KJUR.crypto.ECDSA({curve:i}),k=j.generateKeyPairHex(),d=new KJUR.crypto.ECDSA({curve:i});d.setPrivateKeyHex(k.ecprvhex);var e=new KJUR.crypto.ECDSA({curve:i});e.setPublicKeyHex(k.ecpubhex);var h={};return h.prvKeyObj=d,h.pubKeyObj=e,h}throw"unknown algorithm: "+a},KEYUTIL.getPEM=function(a,b,c,d,e){function f(a){var b=KJUR.asn1.ASN1Util.newObject({seq:[{"int":0},{"int":{bigint:a.n}},{"int":a.e},{"int":{bigint:a.d}},{"int":{bigint:a.p}},{"int":{bigint:a.q}},{"int":{bigint:a.dmp1}},{"int":{bigint:a.dmq1}},{"int":{ bigint:a.coeff}}]});return b}function g(a){var b=KJUR.asn1.ASN1Util.newObject({seq:[{"int":1},{octstr:{hex:a.prvKeyHex}},{tag:["a0",!0,{oid:{name:a.curveName}}]},{tag:["a1",!0,{bitstr:{hex:"00"+a.pubKeyHex}}]}]});return b}function h(a){var b=KJUR.asn1.ASN1Util.newObject({seq:[{"int":0},{"int":{bigint:a.p}},{"int":{bigint:a.q}},{"int":{bigint:a.g}},{"int":{bigint:a.y}},{"int":{bigint:a.x}}]});return b}var i=KJUR.asn1,j=KJUR.crypto;if(("undefined"!=typeof RSAKey&&a instanceof RSAKey||"undefined"!=typeof j.DSA&&a instanceof j.DSA||"undefined"!=typeof j.ECDSA&&a instanceof j.ECDSA)&&1==a.isPublic&&(void 0===b||"PKCS8PUB"==b)){var k=new KJUR.asn1.x509.SubjectPublicKeyInfo(a),l=k.getEncodedHex();return i.ASN1Util.getPEMStringFromHex(l,"PUBLIC KEY")}if("PKCS1PRV"==b&&"undefined"!=typeof RSAKey&&a instanceof RSAKey&&(void 0===c||null==c)&&1==a.isPrivate){var k=f(a),l=k.getEncodedHex();return i.ASN1Util.getPEMStringFromHex(l,"RSA PRIVATE KEY")}if("PKCS1PRV"==b&&"undefined"!=typeof RSAKey&&a instanceof KJUR.crypto.ECDSA&&(void 0===c||null==c)&&1==a.isPrivate){var m=new KJUR.asn1.DERObjectIdentifier({name:a.curveName}),n=m.getEncodedHex(),o=g(a),p=o.getEncodedHex(),q="";return q+=i.ASN1Util.getPEMStringFromHex(n,"EC PARAMETERS"),q+=i.ASN1Util.getPEMStringFromHex(p,"EC PRIVATE KEY")}if("PKCS1PRV"==b&&"undefined"!=typeof KJUR.crypto.DSA&&a instanceof KJUR.crypto.DSA&&(void 0===c||null==c)&&1==a.isPrivate){var k=h(a),l=k.getEncodedHex();return i.ASN1Util.getPEMStringFromHex(l,"DSA PRIVATE KEY")}if("PKCS5PRV"==b&&"undefined"!=typeof RSAKey&&a instanceof RSAKey&&void 0!==c&&null!=c&&1==a.isPrivate){var k=f(a),l=k.getEncodedHex();return void 0===d&&(d="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("RSA",l,c,d)}if("PKCS5PRV"==b&&"undefined"!=typeof KJUR.crypto.ECDSA&&a instanceof KJUR.crypto.ECDSA&&void 0!==c&&null!=c&&1==a.isPrivate){var k=g(a),l=k.getEncodedHex();return void 0===d&&(d="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("EC",l,c,d)}if("PKCS5PRV"==b&&"undefined"!=typeof KJUR.crypto.DSA&&a instanceof KJUR.crypto.DSA&&void 0!==c&&null!=c&&1==a.isPrivate){var k=h(a),l=k.getEncodedHex();return void 0===d&&(d="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("DSA",l,c,d)}var r=function(a,b){var c=s(a,b),d=new KJUR.asn1.ASN1Util.newObject({seq:[{seq:[{oid:{name:"pkcs5PBES2"}},{seq:[{seq:[{oid:{name:"pkcs5PBKDF2"}},{seq:[{octstr:{hex:c.pbkdf2Salt}},{"int":c.pbkdf2Iter}]}]},{seq:[{oid:{name:"des-EDE3-CBC"}},{octstr:{hex:c.encryptionSchemeIV}}]}]}]},{octstr:{hex:c.ciphertext}}]});return d.getEncodedHex()},s=function(a,b){var c=100,d=CryptoJS.lib.WordArray.random(8),e="DES-EDE3-CBC",f=CryptoJS.lib.WordArray.random(8),g=CryptoJS.PBKDF2(b,d,{keySize:6,iterations:c}),h=CryptoJS.enc.Hex.parse(a),i=CryptoJS.TripleDES.encrypt(h,g,{iv:f})+"",j={};return j.ciphertext=i,j.pbkdf2Salt=CryptoJS.enc.Hex.stringify(d),j.pbkdf2Iter=c,j.encryptionSchemeAlg=e,j.encryptionSchemeIV=CryptoJS.enc.Hex.stringify(f),j};if("PKCS8PRV"==b&&"undefined"!=typeof RSAKey&&a instanceof RSAKey&&1==a.isPrivate){var t=f(a),u=t.getEncodedHex(),k=KJUR.asn1.ASN1Util.newObject({seq:[{"int":0},{seq:[{oid:{name:"rsaEncryption"}},{"null":!0}]},{octstr:{hex:u}}]}),l=k.getEncodedHex();if(void 0===c||null==c)return i.ASN1Util.getPEMStringFromHex(l,"PRIVATE KEY");var p=r(l,c);return i.ASN1Util.getPEMStringFromHex(p,"ENCRYPTED PRIVATE KEY")}if("PKCS8PRV"==b&&"undefined"!=typeof KJUR.crypto.ECDSA&&a instanceof KJUR.crypto.ECDSA&&1==a.isPrivate){var t=new KJUR.asn1.ASN1Util.newObject({seq:[{"int":1},{octstr:{hex:a.prvKeyHex}},{tag:["a1",!0,{bitstr:{hex:"00"+a.pubKeyHex}}]}]}),u=t.getEncodedHex(),k=KJUR.asn1.ASN1Util.newObject({seq:[{"int":0},{seq:[{oid:{name:"ecPublicKey"}},{oid:{name:a.curveName}}]},{octstr:{hex:u}}]}),l=k.getEncodedHex();if(void 0===c||null==c)return i.ASN1Util.getPEMStringFromHex(l,"PRIVATE KEY");var p=r(l,c);return i.ASN1Util.getPEMStringFromHex(p,"ENCRYPTED PRIVATE KEY")}if("PKCS8PRV"==b&&"undefined"!=typeof KJUR.crypto.DSA&&a instanceof KJUR.crypto.DSA&&1==a.isPrivate){var t=new KJUR.asn1.DERInteger({bigint:a.x}),u=t.getEncodedHex(),k=KJUR.asn1.ASN1Util.newObject({seq:[{"int":0},{seq:[{oid:{name:"dsa"}},{seq:[{"int":{bigint:a.p}},{"int":{bigint:a.q}},{"int":{bigint:a.g}}]}]},{octstr:{hex:u}}]}),l=k.getEncodedHex();if(void 0===c||null==c)return i.ASN1Util.getPEMStringFromHex(l,"PRIVATE KEY");var p=r(l,c);return i.ASN1Util.getPEMStringFromHex(p,"ENCRYPTED PRIVATE KEY")}throw"unsupported object nor format"},RSAKey.prototype.readPrivateKeyFromPEMString=_rsapem_readPrivateKeyFromPEMString,RSAKey.prototype.readPrivateKeyFromASN1HexString=_rsapem_readPrivateKeyFromASN1HexString;var _RE_HEXDECONLY=new RegExp("");_RE_HEXDECONLY.compile("[^0-9a-f]","gi"),RSAKey.prototype.signWithMessageHash=_rsasign_signWithMessageHash,RSAKey.prototype.signString=_rsasign_signString,RSAKey.prototype.signStringWithSHA1=_rsasign_signStringWithSHA1,RSAKey.prototype.signStringWithSHA256=_rsasign_signStringWithSHA256,RSAKey.prototype.sign=_rsasign_signString,RSAKey.prototype.signWithSHA1=_rsasign_signStringWithSHA1,RSAKey.prototype.signWithSHA256=_rsasign_signStringWithSHA256,RSAKey.prototype.signWithMessageHashPSS=_rsasign_signWithMessageHashPSS,RSAKey.prototype.signStringPSS=_rsasign_signStringPSS,RSAKey.prototype.signPSS=_rsasign_signStringPSS,RSAKey.SALT_LEN_HLEN=-1,RSAKey.SALT_LEN_MAX=-2,RSAKey.prototype.verifyWithMessageHash=_rsasign_verifyWithMessageHash,RSAKey.prototype.verifyString=_rsasign_verifyString,RSAKey.prototype.verifyHexSignatureForMessage=_rsasign_verifyHexSignatureForMessage,RSAKey.prototype.verify=_rsasign_verifyString,RSAKey.prototype.verifyHexSignatureForByteArrayMessage=_rsasign_verifyHexSignatureForMessage,RSAKey.prototype.verifyWithMessageHashPSS=_rsasign_verifyWithMessageHashPSS,RSAKey.prototype.verifyStringPSS=_rsasign_verifyStringPSS,RSAKey.prototype.verifyPSS=_rsasign_verifyStringPSS,RSAKey.SALT_LEN_RECOVER=-2,X509.pemToBase64=function(a){var b=a;return b=b.replace("-----BEGIN CERTIFICATE-----",""),b=b.replace("-----END CERTIFICATE-----",""),b=b.replace(/[ \n]+/g,"")},X509.pemToHex=function(a){var b=X509.pemToBase64(a),c=b64tohex(b);return c},X509.getSubjectPublicKeyPosFromCertHex=function(a){var b=X509.getSubjectPublicKeyInfoPosFromCertHex(a);if(-1==b)return-1;var c=ASN1HEX.getPosArrayOfChildren_AtObj(a,b);if(2!=c.length)return-1;var d=c[1];if("03"!=a.substring(d,d+2))return-1;var e=ASN1HEX.getStartPosOfV_AtObj(a,d);return"00"!=a.substring(e,e+2)?-1:e+2},X509.getSubjectPublicKeyInfoPosFromCertHex=function(a){var b=ASN1HEX.getStartPosOfV_AtObj(a,0),c=ASN1HEX.getPosArrayOfChildren_AtObj(a,b);return c.length<1?-1:"a003020102"==a.substring(c[0],c[0]+10)?c.length<6?-1:c[6]:c.length<5?-1:c[5]},X509.getPublicKeyHexArrayFromCertHex=function(a){var b=X509.getSubjectPublicKeyPosFromCertHex(a),c=ASN1HEX.getPosArrayOfChildren_AtObj(a,b);if(2!=c.length)return[];var d=ASN1HEX.getHexOfV_AtObj(a,c[0]),e=ASN1HEX.getHexOfV_AtObj(a,c[1]);return null!=d&&null!=e?[d,e]:[]},X509.getHexTbsCertificateFromCert=function(a){var b=ASN1HEX.getStartPosOfV_AtObj(a,0);return b},X509.getPublicKeyHexArrayFromCertPEM=function(a){var b=X509.pemToHex(a),c=X509.getPublicKeyHexArrayFromCertHex(b);return c},X509.hex2dn=function(a){for(var b="",c=ASN1HEX.getPosArrayOfChildren_AtObj(a,0),d=0;do;++o){k=g[o];var q;switch(k.charCodeAt(0)){default:q=n[0],q[m||q.length]=+k,m=void 0;break;case 34:if(k=k.substring(1,k.length-1),-1!==k.indexOf(i)&&(k=k.replace(f,a)),q=n[0],!m){if(!(q instanceof Array)){m=k||h;break}m=q.length}q[m]=k,m=void 0;break;case 91:q=n[0],n.unshift(q[m||q.length]=[]),m=void 0;break;case 93:n.shift();break;case 102:q=n[0],q[m||q.length]=!1,m=void 0;break;case 110:q=n[0],q[m||q.length]=null,m=void 0;break;case 116:q=n[0],q[m||q.length]=!0,m=void 0;break;case 123:q=n[0],n.unshift(q[m||q.length]={}),m=void 0;break;case 125:n.shift()}}if(l){if(1!==n.length)throw new Error;d=d[0]}else if(n.length)throw new Error;if(c){var r=function(a,b){var d=a[b];if(d&&"object"==typeof d){var e=null;for(var f in d)if(j.call(d,f)&&d!==a){var g=r(d,f);void 0!==g?d[f]=g:(e||(e=[]),e.push(f))}if(e)for(var h=e.length;--h>=0;)delete d[e[h]]}return c.call(a,b,d)};d=r({"":d},"")}return d}}();"undefined"!=typeof KJUR&&KJUR||(KJUR={}),"undefined"!=typeof KJUR.jws&&KJUR.jws||(KJUR.jws={}),KJUR.jws.JWS=function(){function a(a,b){return utf8tob64u(a)+"."+utf8tob64u(b)}function b(a){var b=a.alg,c="";if("RS256"!=b&&"RS512"!=b&&"PS256"!=b&&"PS512"!=b)throw"JWS signature algorithm not supported: "+b;return"256"==b.substr(2)&&(c="sha256"),"512"==b.substr(2)&&(c="sha512"),c}function c(a){return b(jsonParse(a))}function d(a,b,d,e,f,g){var h=new RSAKey;h.setPrivate(e,f,g);var i=c(a),j=h.signString(d,i);return j}function e(a,d,e,f,g){var h=null;h="undefined"==typeof g?c(a):b(g);var i="PS"==g.alg.substr(0,2);return f.hashAndSign?b64tob64u(f.hashAndSign(h,e,"binary","base64",i)):hextob64u(i?f.signStringPSS(e,h):f.signString(e,h))}function f(a,b,d,e){var f=new RSAKey;f.readPrivateKeyFromPEMString(e);var g=c(a),h=f.signString(d,g);return h}this.parseJWS=function(a,b){if(void 0===this.parsedJWS||!b&&void 0===this.parsedJWS.sigvalH){if(null==a.match(/^([^.]+)\.([^.]+)\.([^.]+)$/))throw"JWS signature is not a form of 'Head.Payload.SigValue'.";var c=RegExp.$1,d=RegExp.$2,e=RegExp.$3,f=c+"."+d;if(this.parsedJWS={},this.parsedJWS.headB64U=c,this.parsedJWS.payloadB64U=d,this.parsedJWS.sigvalB64U=e,this.parsedJWS.si=f,!b){var g=b64utohex(e),h=parseBigInt(g,16);this.parsedJWS.sigvalH=g,this.parsedJWS.sigvalBI=h}var i=b64utoutf8(c),j=b64utoutf8(d);if(this.parsedJWS.headS=i,this.parsedJWS.payloadS=j,!this.isSafeJSONString(i,this.parsedJWS,"headP"))throw"malformed JSON string for JWS Head: "+i}},this.verifyJWSByNE=function(a,b,c){return this.parseJWS(a),_rsasign_verifySignatureWithArgs(this.parsedJWS.si,this.parsedJWS.sigvalBI,b,c)},this.verifyJWSByKey=function(a,c){this.parseJWS(a);var d=b(this.parsedJWS.headP),e="PS"==this.parsedJWS.headP.alg.substr(0,2);return c.hashAndVerify?c.hashAndVerify(d,new Buffer(this.parsedJWS.si,"utf8").toString("base64"),b64utob64(this.parsedJWS.sigvalB64U),"base64",e):e?c.verifyStringPSS(this.parsedJWS.si,this.parsedJWS.sigvalH,d):c.verifyString(this.parsedJWS.si,this.parsedJWS.sigvalH)},this.verifyJWSByPemX509Cert=function(a,b){this.parseJWS(a);var c=new X509;return c.readCertPEM(b),c.subjectPublicKeyRSA.verifyString(this.parsedJWS.si,this.parsedJWS.sigvalH)},this.generateJWSByNED=function(b,c,e,f,g){if(!this.isSafeJSONString(b))throw"JWS Head is not safe JSON string: "+b;var h=a(b,c),i=d(b,c,h,e,f,g),j=hextob64u(i);return this.parsedJWS={},this.parsedJWS.headB64U=h.split(".")[0],this.parsedJWS.payloadB64U=h.split(".")[1],this.parsedJWS.sigvalB64U=j,h+"."+j},this.generateJWSByKey=function(b,c,d){var f={};if(!this.isSafeJSONString(b,f,"headP"))throw"JWS Head is not safe JSON string: "+b;var g=a(b,c),h=e(b,c,g,d,f.headP);return this.parsedJWS={},this.parsedJWS.headB64U=g.split(".")[0],this.parsedJWS.payloadB64U=g.split(".")[1],this.parsedJWS.sigvalB64U=h,g+"."+h},this.generateJWSByP1PrvKey=function(b,c,d){if(!this.isSafeJSONString(b))throw"JWS Head is not safe JSON string: "+b;var e=a(b,c),g=f(b,c,e,d),h=hextob64u(g);return this.parsedJWS={},this.parsedJWS.headB64U=e.split(".")[0],this.parsedJWS.payloadB64U=e.split(".")[1],this.parsedJWS.sigvalB64U=h,e+"."+h}},KJUR.jws.JWS.sign=function(a,b,c,d,e){var f=KJUR.jws.JWS;if(!f.isSafeJSONString(b))throw"JWS Head is not safe JSON string: "+sHead;var g=f.readSafeJSONString(b);""!=a&&null!=a||void 0===g.alg||(a=g.alg),""!=a&&null!=a&&void 0===g.alg&&(g.alg=a,b=JSON.stringify(g));var h=null;if(void 0===f.jwsalg2sigalg[a])throw"unsupported alg name: "+a;h=f.jwsalg2sigalg[a];var i=utf8tob64u(b),j=utf8tob64u(c),k=i+"."+j,l="";if("Hmac"==h.substr(0,4)){if(void 0===d)throw"hexadecimal key shall be specified for HMAC";var m=new KJUR.crypto.Mac({alg:h,pass:hextorstr(d)});m.updateString(k),l=m.doFinal()}else if(-1!=h.indexOf("withECDSA")){var n=new KJUR.crypto.Signature({alg:h});n.init(d,e),n.updateString(k),hASN1Sig=n.sign(),l=KJUR.crypto.ECDSA.asn1SigToConcatSig(hASN1Sig)}else if("none"!=h){var n=new KJUR.crypto.Signature({alg:h});n.init(d,e),n.updateString(k),l=n.sign()}var o=hextob64u(l);return k+"."+o},KJUR.jws.JWS.verify=function(a,b){var c=KJUR.jws.JWS,d=a.split("."),e=d[0],f=d[1],g=e+"."+f,h=b64utohex(d[2]),i=c.readSafeJSONString(b64utoutf8(d[0])),j=null;if(void 0===i.alg)throw"algorithm not specified in header";j=i.alg;var k=null;if(void 0===c.jwsalg2sigalg[i.alg])throw"unsupported alg name: "+j;if(k=c.jwsalg2sigalg[j],"none"==k)return!0;if("Hmac"==k.substr(0,4)){if(void 0===b)throw"hexadecimal key shall be specified for HMAC";var l=new KJUR.crypto.Mac({alg:k,pass:hextorstr(b)});return l.updateString(g),hSig2=l.doFinal(),h==hSig2}if(-1!=k.indexOf("withECDSA")){var m=null;try{m=KJUR.crypto.ECDSA.concatSigToASN1Sig(h)}catch(n){return!1}var o=new KJUR.crypto.Signature({alg:k});return o.init(b),o.updateString(g),o.verify(m)}var o=new KJUR.crypto.Signature({alg:k});return o.init(b),o.updateString(g),o.verify(h)},KJUR.jws.JWS.jwsalg2sigalg={HS256:"HmacSHA256",HS512:"HmacSHA512",RS256:"SHA256withRSA",RS384:"SHA384withRSA",RS512:"SHA512withRSA",ES256:"SHA256withECDSA",ES384:"SHA384withECDSA",PS256:"SHA256withRSAandMGF1",PS384:"SHA384withRSAandMGF1",PS512:"SHA512withRSAandMGF1",none:"none"},KJUR.jws.JWS.isSafeJSONString=function(a,b,c){var d=null;try{return d=jsonParse(a),"object"!=typeof d?0:d.constructor===Array?0:(b&&(b[c]=d),1)}catch(e){return 0}},KJUR.jws.JWS.readSafeJSONString=function(a){var b=null;try{return b=jsonParse(a),"object"!=typeof b?null:b.constructor===Array?null:b}catch(c){return null}},KJUR.jws.JWS.getEncodedSignatureValueFromJWS=function(a){if(null==a.match(/^[^.]+\.[^.]+\.([^.]+)$/))throw"JWS signature is not a form of 'Head.Payload.SigValue'.";return RegExp.$1},KJUR.jws.IntDate=function(){},KJUR.jws.IntDate.get=function(a){if("now"==a)return KJUR.jws.IntDate.getNow();if("now + 1hour"==a)return KJUR.jws.IntDate.getNow()+3600;if("now + 1day"==a)return KJUR.jws.IntDate.getNow()+86400;if("now + 1month"==a)return KJUR.jws.IntDate.getNow()+2592e3;if("now + 1year"==a)return KJUR.jws.IntDate.getNow()+31536e3;if(a.match(/Z$/))return KJUR.jws.IntDate.getZulu(a);if(a.match(/^[0-9]+$/))return parseInt(a);throw"unsupported format: "+a},KJUR.jws.IntDate.getZulu=function(b){if(a=b.match(/(\d{4})(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)Z/)){var c=parseInt(RegExp.$1),d=parseInt(RegExp.$2)-1,e=parseInt(RegExp.$3),f=parseInt(RegExp.$4),g=parseInt(RegExp.$5),h=parseInt(RegExp.$6),i=new Date(Date.UTC(c,d,e,f,g,h));return~~(i/1e3)}throw"unsupported format: "+b},KJUR.jws.IntDate.getNow=function(){var a=~~(new Date/1e3);return a},KJUR.jws.IntDate.intDate2UTCString=function(a){var b=new Date(1e3*a);return b.toUTCString()},KJUR.jws.IntDate.intDate2Zulu=function(a){var b=new Date(1e3*a),c=("0000"+b.getUTCFullYear()).slice(-4),d=("00"+(b.getUTCMonth()+1)).slice(-2),e=("00"+b.getUTCDate()).slice(-2),f=("00"+b.getUTCHours()).slice(-2),g=("00"+b.getUTCMinutes()).slice(-2),h=("00"+b.getUTCSeconds()).slice(-2);return c+d+e+f+g+h+"Z"},"undefined"!=typeof KJUR&&KJUR||(KJUR={}),"undefined"!=typeof KJUR.jws&&KJUR.jws||(KJUR.jws={}),KJUR.jws.JWSJS=function(){this.aHeader=[],this.sPayload="",this.aSignature=[],this.init=function(){this.aHeader=[],this.sPayload="",this.aSignature=[]},this.initWithJWS=function(a){this.init();var b=new KJUR.jws.JWS;b.parseJWS(a),this.aHeader.push(b.parsedJWS.headB64U),this.sPayload=b.parsedJWS.payloadB64U,this.aSignature.push(b.parsedJWS.sigvalB64U)},this.addSignatureByHeaderKey=function(a,b){var c=b64utoutf8(this.sPayload),d=new KJUR.jws.JWS;d.generateJWSByP1PrvKey(a,c,b);this.aHeader.push(d.parsedJWS.headB64U),this.aSignature.push(d.parsedJWS.sigvalB64U)},this.addSignatureByHeaderPayloadKey=function(a,b,c){var d=new KJUR.jws.JWS;d.generateJWSByP1PrvKey(a,b,c);this.aHeader.push(d.parsedJWS.headB64U),this.sPayload=d.parsedJWS.payloadB64U,this.aSignature.push(d.parsedJWS.sigvalB64U)},this.verifyWithCerts=function(a){if(this.aHeader.length!=a.length)throw"num headers does not match with num certs";if(this.aSignature.length!=a.length)throw"num signatures does not match with num certs";for(var b=this.sPayload,c="",d=0;d=3");var c={};return c.VERSION="3.0.0",c.WIRE_TYPES={},c.WIRE_TYPES.VARINT=0,c.WIRE_TYPES.BITS64=1,c.WIRE_TYPES.LDELIM=2,c.WIRE_TYPES.STARTGROUP=3,c.WIRE_TYPES.ENDGROUP=4,c.WIRE_TYPES.BITS32=5,c.PACKABLE_WIRE_TYPES=[c.WIRE_TYPES.VARINT,c.WIRE_TYPES.BITS64,c.WIRE_TYPES.BITS32],c.TYPES={int32:{name:"int32",wireType:c.WIRE_TYPES.VARINT},uint32:{name:"uint32",wireType:c.WIRE_TYPES.VARINT},sint32:{name:"sint32",wireType:c.WIRE_TYPES.VARINT},int64:{name:"int64",wireType:c.WIRE_TYPES.VARINT},uint64:{name:"uint64",wireType:c.WIRE_TYPES.VARINT},sint64:{name:"sint64",wireType:c.WIRE_TYPES.VARINT},bool:{name:"bool",wireType:c.WIRE_TYPES.VARINT},"double":{name:"double",wireType:c.WIRE_TYPES.BITS64},string:{name:"string",wireType:c.WIRE_TYPES.LDELIM},bytes:{name:"bytes",wireType:c.WIRE_TYPES.LDELIM},fixed32:{name:"fixed32",wireType:c.WIRE_TYPES.BITS32},sfixed32:{name:"sfixed32",wireType:c.WIRE_TYPES.BITS32},fixed64:{name:"fixed64",wireType:c.WIRE_TYPES.BITS64},sfixed64:{name:"sfixed64",wireType:c.WIRE_TYPES.BITS64},"float":{name:"float",wireType:c.WIRE_TYPES.BITS32},"enum":{name:"enum",wireType:c.WIRE_TYPES.VARINT},message:{name:"message",wireType:c.WIRE_TYPES.LDELIM},group:{name:"group",wireType:c.WIRE_TYPES.STARTGROUP}},c.ID_MIN=1,c.ID_MAX=536870911,c.ByteBuffer=b,c.Long=b.Long||null,c.convertFieldsToCamelCase=!1,c.Util=function(){Object.create||(Object.create=function(a){function b(){}if(arguments.length>1)throw new Error("Object.create implementation only accepts the first parameter.");return b.prototype=a,new b});var b={};b.IS_NODE=!1;try{b.IS_NODE="function"==typeof a&&"function"==typeof a("fs").readFileSync&&"function"==typeof a("path").resolve}catch(c){}return b.XHR=function(){for(var a=[function(){return new XMLHttpRequest},function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new ActiveXObject("Msxml3.XMLHTTP")},function(){return new ActiveXObject("Microsoft.XMLHTTP")}],b=null,c=0;c0)return this.stack.shift();if(this.index>=this.source.length)return null;if(this.readingString)return this.readingString=!1,this._readString();var a,c;do{for(a=!1;b.WHITESPACE.test(c=this.source.charAt(this.index));)if(this.index++,"\n"===c&&this.line++,this.index===this.source.length)return null;if("/"===this.source.charAt(this.index))if("/"===this.source.charAt(++this.index)){for(;"\n"!==this.source.charAt(this.index);)if(this.index++,this.index==this.source.length)return null;this.index++,this.line++,a=!0}else{if("*"!==this.source.charAt(this.index))throw new Error("Invalid comment at line "+this.line+": /"+this.source.charAt(this.index)+" ('/' or '*' expected)");for(c="";c+(c=this.source.charAt(this.index))!=="*/";)if(this.index++,"\n"===c&&this.line++,this.index===this.source.length)return null;this.index++,a=!0}}while(a);if(this.index===this.source.length)return null;var d=this.index;b.DELIM.lastIndex=0;var e=b.DELIM.test(this.source.charAt(d));if(e)d++;else for(d++;dc?"-":"")+a)},e.prototype._parseId=function(a,c){var d=-1,e=1;if("-"==a.charAt(0)&&(e=-1,a=a.substring(1)),b.NUMBER_DEC.test(a))d=parseInt(a);else if(b.NUMBER_HEX.test(a))d=parseInt(a.substring(2),16);else{if(!b.NUMBER_OCT.test(a))throw new Error("Illegal ID value at line "+this.tn.line+": "+(0>e?"-":"")+a);d=parseInt(a.substring(1),8)}if(d=e*d|0,!c&&0>d)throw new Error("Illegal ID range at line "+this.tn.line+": "+(0>e?"-":"")+a);return d},e.prototype._parsePackage=function(a){if(a=this.tn.next(),!b.TYPEREF.test(a))throw new Error("Illegal package name at line "+this.tn.line+": "+a);var c=a;if(a=this.tn.next(),a!=b.END)throw new Error("Illegal end of package definition at line "+this.tn.line+": "+a+" ('"+b.END+"' expected)");return c},e.prototype._parseImport=function(a){if(a=this.tn.next(),"public"===a&&(a=this.tn.next()),a!==b.STRINGOPEN&&a!==b.STRINGOPEN_SQ)throw new Error("Illegal begin of import value at line "+this.tn.line+": "+a+" ('"+b.STRINGOPEN+"' or '"+b.STRINGOPEN_SQ+"' expected)");var c=this.tn.next();if(a=this.tn.next(),a!==this.tn.stringEndsWith)throw new Error("Illegal end of import value at line "+this.tn.line+": "+a+" ('"+this.tn.stringEndsWith+"' expected)");if(a=this.tn.next(),a!==b.END)throw new Error("Illegal end of import definition at line "+this.tn.line+": "+a+" ('"+b.END+"' expected)");return c},e.prototype._parseOption=function(a,c){c=this.tn.next();var d=!1;if(c==b.COPTOPEN&&(d=!0,c=this.tn.next()),!b.TYPEREF.test(c)&&!/google\.protobuf\./.test(c))throw new Error("Illegal option name in message "+a.name+" at line "+this.tn.line+": "+c);var e=c;if(c=this.tn.next(),d){if(c!==b.COPTCLOSE)throw new Error("Illegal custom option name delimiter in message "+a.name+", option "+e+" at line "+this.tn.line+": "+c+" ('"+b.COPTCLOSE+"' expected)");e="("+e+")",c=this.tn.next(),b.FQTYPEREF.test(c)&&(e+=c,c=this.tn.next())}if(c!==b.EQUAL)throw new Error("Illegal option operator in message "+a.name+", option "+e+" at line "+this.tn.line+": "+c+" ('"+b.EQUAL+"' expected)");var f;if(c=this.tn.next(),c===b.STRINGOPEN||c===b.STRINGOPEN_SQ){if(f=this.tn.next(),c=this.tn.next(),c!==this.tn.stringEndsWith)throw new Error("Illegal end of option value in message "+a.name+", option "+e+" at line "+this.tn.line+": "+c+" ('"+this.tn.stringEndsWith+"' expected)")}else if(b.NUMBER.test(c))f=this._parseNumber(c,!0);else{if(!b.TYPEREF.test(c))throw new Error("Illegal option value in message "+a.name+", option "+e+" at line "+this.tn.line+": "+c);f=c}if(c=this.tn.next(),c!==b.END)throw new Error("Illegal end of option in message "+a.name+", option "+e+" at line "+this.tn.line+": "+c+" ('"+b.END+"' expected)");a.options[e]=f},e.prototype._parseIgnoredStatement=function(a,c){for(var d;;){if(d=this.tn.next(),null===d)throw new Error("Unexpected EOF in "+a.name+", "+c+" (ignored) at line "+this.tn.line);if(d===b.END)break}},e.prototype._parseService=function(a,c){var d=this.tn.next();if(!b.NAME.test(d))throw new Error("Illegal service name at line "+this.tn.line+": "+d);var e=d,f={name:e,rpc:{},options:{}};if(d=this.tn.next(),d!==b.OPEN)throw new Error("Illegal OPEN after service "+e+" at line "+this.tn.line+": "+d+" ('"+b.OPEN+"' expected)");do if(d=this.tn.next(),"option"===d)this._parseOption(f,d);else if("rpc"===d)this._parseServiceRPC(f,d);else if(d!==b.CLOSE)throw new Error("Illegal type for service "+e+" at line "+this.tn.line+": "+d);while(d!==b.CLOSE);a.services.push(f)},e.prototype._parseServiceRPC=function(a,c){var d=c;if(c=this.tn.next(),!b.NAME.test(c))throw new Error("Illegal RPC method name in service "+a.name+" at line "+this.tn.line+": "+c);var e=c,f={request:null,response:null,options:{}};if(c=this.tn.next(),c!==b.COPTOPEN)throw new Error("Illegal start of request type in RPC service "+a.name+"#"+e+" at line "+this.tn.line+": "+c+" ('"+b.COPTOPEN+"' expected)");if(c=this.tn.next(), !b.TYPEREF.test(c))throw new Error("Illegal request type in RPC service "+a.name+"#"+e+" at line "+this.tn.line+": "+c);if(f.request=c,c=this.tn.next(),c!=b.COPTCLOSE)throw new Error("Illegal end of request type in RPC service "+a.name+"#"+e+" at line "+this.tn.line+": "+c+" ('"+b.COPTCLOSE+"' expected)");if(c=this.tn.next(),"returns"!==c.toLowerCase())throw new Error("Illegal request/response delimiter in RPC service "+a.name+"#"+e+" at line "+this.tn.line+": "+c+" ('returns' expected)");if(c=this.tn.next(),c!=b.COPTOPEN)throw new Error("Illegal start of response type in RPC service "+a.name+"#"+e+" at line "+this.tn.line+": "+c+" ('"+b.COPTOPEN+"' expected)");if(c=this.tn.next(),f.response=c,c=this.tn.next(),c!==b.COPTCLOSE)throw new Error("Illegal end of response type in RPC service "+a.name+"#"+e+" at line "+this.tn.line+": "+c+" ('"+b.COPTCLOSE+"' expected)");if(c=this.tn.next(),c===b.OPEN){do if(c=this.tn.next(),"option"===c)this._parseOption(f,c);else if(c!==b.CLOSE)throw new Error("Illegal start of option in RPC service "+a.name+"#"+e+" at line "+this.tn.line+": "+c+" ('option' expected)");while(c!==b.CLOSE);this.tn.peek()===b.END&&this.tn.next()}else if(c!==b.END)throw new Error("Illegal method delimiter in RPC service "+a.name+"#"+e+" at line "+this.tn.line+": "+c+" ('"+b.END+"' or '"+b.OPEN+"' expected)");"undefined"==typeof a[d]&&(a[d]={}),a[d][e]=f},e.prototype._parseMessage=function(a,c,d){var e={},f="group"===d;if(d=this.tn.next(),!b.NAME.test(d))throw new Error("Illegal "+(f?"group":"message")+" name"+(a?" in message "+a.name:"")+" at line "+this.tn.line+": "+d);if(e.name=d,f){if(d=this.tn.next(),d!==b.EQUAL)throw new Error("Illegal id assignment after group "+e.name+" at line "+this.tn.line+": "+d+" ('"+b.EQUAL+"' expected)");d=this.tn.next();try{c.id=this._parseId(d)}catch(g){throw new Error("Illegal field id value for group "+e.name+"#"+c.name+" at line "+this.tn.line+": "+d)}e.isGroup=!0}if(e.fields=[],e.enums=[],e.messages=[],e.options={},d=this.tn.next(),d===b.OPTOPEN&&c&&(this._parseFieldOptions(e,c,d),d=this.tn.next()),d!==b.OPEN)throw new Error("Illegal OPEN after "+(f?"group":"message")+" "+e.name+" at line "+this.tn.line+": "+d+" ('"+b.OPEN+"' expected)");for(;;){if(d=this.tn.next(),d===b.CLOSE){d=this.tn.peek(),d===b.END&&this.tn.next();break}if(b.RULE.test(d))this._parseMessageField(e,d);else if("enum"===d)this._parseEnum(e,d);else if("message"===d)this._parseMessage(e,null,d);else if("option"===d)this._parseOption(e,d);else if("extensions"===d)e.extensions=this._parseExtensions(e,d);else{if("extend"!==d)throw new Error("Illegal token in message "+e.name+" at line "+this.tn.line+": "+d+" (type or '"+b.CLOSE+"' expected)");this._parseExtend(e,d)}}return a.messages.push(e),e},e.prototype._parseMessageField=function(a,c){var d={},e=null;if(d.rule=c,d.options={},c=this.tn.next(),"group"===c){if(e=this._parseMessage(a,d,c),!/^[A-Z]/.test(e.name))throw new Error("Group names must start with a capital letter");d.type=e.name,d.name=e.name.toLowerCase(),c=this.tn.peek(),c===b.END&&this.tn.next()}else{if(!b.TYPE.test(c)&&!b.TYPEREF.test(c))throw new Error("Illegal field type in message "+a.name+" at line "+this.tn.line+": "+c);if(d.type=c,c=this.tn.next(),!b.NAME.test(c))throw new Error("Illegal field name in message "+a.name+" at line "+this.tn.line+": "+c);if(d.name=c,c=this.tn.next(),c!==b.EQUAL)throw new Error("Illegal field id assignment in message "+a.name+"#"+d.name+" at line "+this.tn.line+": "+c+" ('"+b.EQUAL+"' expected)");c=this.tn.next();try{d.id=this._parseId(c)}catch(f){throw new Error("Illegal field id value in message "+a.name+"#"+d.name+" at line "+this.tn.line+": "+c)}if(c=this.tn.next(),c===b.OPTOPEN&&(this._parseFieldOptions(a,d,c),c=this.tn.next()),c!==b.END)throw new Error("Illegal field delimiter in message "+a.name+"#"+d.name+" at line "+this.tn.line+": "+c+" ('"+b.END+"' expected)")}a.fields.push(d)},e.prototype._parseFieldOptions=function(a,c,d){for(var e=!0;;){if(d=this.tn.next(),d===b.OPTCLOSE)break;if(d===b.OPTEND){if(e)throw new Error("Illegal start of message field options in message "+a.name+"#"+c.name+" at line "+this.tn.line+": "+d);d=this.tn.next()}this._parseFieldOption(a,c,d),e=!1}},e.prototype._parseFieldOption=function(a,c,d){var e=!1;if(d===b.COPTOPEN&&(d=this.tn.next(),e=!0),!b.TYPEREF.test(d))throw new Error("Illegal field option in message "+a.name+"#"+c.name+" at line "+this.tn.line+": "+d);var f=d;if(d=this.tn.next(),e){if(d!==b.COPTCLOSE)throw new Error("Illegal custom field option name delimiter in message "+a.name+"#"+c.name+" at line "+this.tn.line+": "+d+" (')' expected)");f="("+f+")",d=this.tn.next(),b.FQTYPEREF.test(d)&&(f+=d,d=this.tn.next())}if(d!==b.EQUAL)throw new Error("Illegal field option operation in message "+a.name+"#"+c.name+" at line "+this.tn.line+": "+d+" ('=' expected)");var g;if(d=this.tn.next(),d===b.STRINGOPEN||d===b.STRINGOPEN_SQ){if(g=this.tn.next(),d=this.tn.next(),d!=this.tn.stringEndsWith)throw new Error("Illegal end of field value in message "+a.name+"#"+c.name+", option "+f+" at line "+this.tn.line+": "+d+" ('"+this.tn.stringEndsWith+"' expected)")}else if(b.NUMBER.test(d,!0))g=this._parseNumber(d,!0);else if(b.BOOL.test(d))g="true"===d.toLowerCase();else{if(!b.TYPEREF.test(d))throw new Error("Illegal field option value in message "+a.name+"#"+c.name+", option "+f+" at line "+this.tn.line+": "+d);g=d}c.options[f]=g},e.prototype._parseEnum=function(a,c){var d={};if(c=this.tn.next(),!b.NAME.test(c))throw new Error("Illegal enum name in message "+a.name+" at line "+this.tn.line+": "+c);if(d.name=c,c=this.tn.next(),c!==b.OPEN)throw new Error("Illegal OPEN after enum "+d.name+" at line "+this.tn.line+": "+c);for(d.values=[],d.options={};;){if(c=this.tn.next(),c===b.CLOSE){c=this.tn.peek(),c===b.END&&this.tn.next();break}if("option"==c)this._parseOption(d,c);else{if(!b.NAME.test(c))throw new Error("Illegal enum value name in enum "+d.name+" at line "+this.tn.line+": "+c);this._parseEnumValue(d,c)}}a.enums.push(d)},e.prototype._parseEnumValue=function(a,c){var d={};if(d.name=c,c=this.tn.next(),c!==b.EQUAL)throw new Error("Illegal enum value operator in enum "+a.name+" at line "+this.tn.line+": "+c+" ('"+b.EQUAL+"' expected)");c=this.tn.next();try{d.id=this._parseId(c,!0)}catch(e){throw new Error("Illegal enum value id in enum "+a.name+" at line "+this.tn.line+": "+c)}if(a.values.push(d),c=this.tn.next(),c===b.OPTOPEN){var f={options:{}};this._parseFieldOptions(a,f,c),c=this.tn.next()}if(c!==b.END)throw new Error("Illegal enum value delimiter in enum "+a.name+" at line "+this.tn.line+": "+c+" ('"+b.END+"' expected)")},e.prototype._parseExtensions=function(c,d){var e=[];if(d=this.tn.next(),"min"===d?e.push(a.ID_MIN):"max"===d?e.push(a.ID_MAX):e.push(this._parseNumber(d)),d=this.tn.next(),"to"!==d)throw"Illegal extensions delimiter in message "+c.name+" at line "+this.tn.line+" ('to' expected)";if(d=this.tn.next(),"min"===d?e.push(a.ID_MIN):"max"===d?e.push(a.ID_MAX):e.push(this._parseNumber(d)),d=this.tn.next(),d!==b.END)throw new Error("Illegal extension delimiter in message "+c.name+" at line "+this.tn.line+": "+d+" ('"+b.END+"' expected)");return e},e.prototype._parseExtend=function(a,c){if(c=this.tn.next(),!b.TYPEREF.test(c))throw new Error("Illegal extended message name at line "+this.tn.line+": "+c);var d={};if(d.ref=c,d.fields=[],c=this.tn.next(),c!==b.OPEN)throw new Error("Illegal OPEN in extend "+d.name+" at line "+this.tn.line+": "+c+" ('"+b.OPEN+"' expected)");for(;;){if(c=this.tn.next(),c===b.CLOSE){c=this.tn.peek(),c==b.END&&this.tn.next();break}if(!b.RULE.test(c))throw new Error("Illegal token in extend "+d.name+" at line "+this.tn.line+": "+c+" (rule or '"+b.CLOSE+"' expected)");this._parseMessageField(d,c)}return a.messages.push(d),d},e.prototype.toString=function(){return"Parser"},c.Parser=e,c}(c,c.Lang),c.Reflect=function(a){function c(b,d){var e=d.readVarint32(),f=7&e,g=e>>3;switch(f){case a.WIRE_TYPES.VARINT:do e=d.readUint8();while(128===(128&e));break;case a.WIRE_TYPES.BITS64:d.offset+=8;break;case a.WIRE_TYPES.LDELIM:e=d.readVarint32(),d.offset+=e;break;case a.WIRE_TYPES.STARTGROUP:c(g,d);break;case a.WIRE_TYPES.ENDGROUP:if(g===b)return!1;throw new Error("Illegal GROUPEND after unknown group: "+g+" ("+b+" expected)");case a.WIRE_TYPES.BITS32:d.offset+=4;break;default:throw new Error("Illegal wire type in unknown group "+b+": "+f)}return!0}function d(b,c){if(b&&"number"==typeof b.low&&"number"==typeof b.high&&"boolean"==typeof b.unsigned)return new a.Long(b.low,b.high,"undefined"==typeof c?b.unsigned:c);if("string"==typeof b)return a.Long.fromString(b,c||!1,10);if("number"==typeof b)return a.Long.fromNumber(b,c||!1);throw new Error("not convertible to Long")}var e={},f=function(a,b){this.parent=a,this.name=b,this.className};f.prototype.fqn=function(){for(var a=this.name,b=this;;){if(b=b.parent,null==b)break;a=b.name+"."+a}return a},f.prototype.toString=function(a){var b=a?this.className+" ":"";return b+this.fqn()},f.prototype.build=function(){throw new Error(this.toString(!0)+" cannot be built directly")},e.T=f;var g=function(a,b,c){f.call(this,a,b),this.className="Namespace",this.children=[],this.options=c||{}};g.prototype=Object.create(f.prototype),g.prototype.getChildren=function(a){if(a=a||null,null==a)return this.children.slice();for(var b=[],c=0;c-1},g.prototype.getChild=function(a){var b=this._indexOf(a);return b>-1?this.children[b]:null},g.prototype._indexOf=function(a){for(var b="number"==typeof a?"id":"name",c=0;c0;){if(f=b.readVarint32(),g=7&f,h=f>>3,g===a.WIRE_TYPES.ENDGROUP){if(h!==e)throw new Error("Illegal group end indicator for "+this.toString(!0)+": "+h+" ("+(e?e+" expected":"not a group")+")");break}var k=this.getChild(h);if(k)k.repeated&&!k.options.packed?j.$add(k.name,k.decode(g,b),!0):j.$set(k.name,k.decode(g,b),!0);else switch(g){case a.WIRE_TYPES.VARINT:b.readVarint32();break;case a.WIRE_TYPES.BITS32:b.offset+=4;break;case a.WIRE_TYPES.BITS64:b.offset+=8;break;case a.WIRE_TYPES.LDELIM:var l=b.readVarint32();b.offset+=l;break;case a.WIRE_TYPES.STARTGROUP:for(;c(h,b););break;default:throw new Error("Illegal wire type for unknown field "+h+" in "+this.toString(!0)+"#decode: "+g)}}for(var m=this.getChildren(a.Reflect.Field),n=0;n>>0;case a.TYPES.int64:case a.TYPES.sint64:case a.TYPES.sfixed64:if(a.Long)try{return d(c,!1)}catch(h){throw new Error("Illegal value for "+this.toString(!0)+": "+c+" ("+h.message+")")}case a.TYPES.uint64:case a.TYPES.fixed64:if(a.Long)try{return d(c,!0)}catch(h){throw new Error("Illegal value for "+this.toString(!0)+": "+c+" ("+h.message+")")}case a.TYPES.bool:return"string"==typeof c?"true"===c:!!c;case a.TYPES["float"]:case a.TYPES["double"]:return parseFloat(c);case a.TYPES.string:return""+c;case a.TYPES.bytes:return c&&c instanceof b?c:b.wrap(c);case a.TYPES["enum"]:var i=this.resolvedType.getChildren(j.Value);for(f=0;f=0){d.writeVarint32(this.id<<3|a.WIRE_TYPES.LDELIM),d.ensureCapacity(d.offset+=1);var f=d.offset;for(e=0;e1){var i=d.slice(f,d.offset);f+=h-1,d.offset=f,d.append(i)}d.writeVarint32(g,f-h)}else for(e=0;ec?d.writeVarint64(c):d.writeVarint32(c);break;case a.TYPES.uint32:d.writeVarint32(c);break;case a.TYPES.sint32:d.writeVarint32ZigZag(c);break;case a.TYPES.fixed32:d.writeUint32(c);break;case a.TYPES.sfixed32:d.writeInt32(c);break;case a.TYPES.int64:case a.TYPES.uint64:d.writeVarint64(c);break;case a.TYPES.sint64:d.writeVarint64ZigZag(c);break;case a.TYPES.fixed64:d.writeUint64(c);break;case a.TYPES.sfixed64:d.writeInt64(c);break;case a.TYPES.bool:"string"==typeof c?d.writeVarint32("false"===c.toLowerCase()?0:!!c):d.writeVarint32(c?1:0);break;case a.TYPES["enum"]:d.writeVarint32(c);break;case a.TYPES["float"]:d.writeFloat32(c);break;case a.TYPES["double"]:d.writeFloat64(c);break;case a.TYPES.string:d.writeVString(c);break;case a.TYPES.bytes:c.offset>c.length&&(d=d.clone().flip());var e=c.offset;d.writeVarint32(c.remaining()),d.append(c),c.offset=e;break;case a.TYPES.message:var f=(new b).LE();this.resolvedType.encode(c,f),d.writeVarint32(f.offset),d.append(f.flip());break;case a.TYPES.group:this.resolvedType.encode(c,d),d.writeVarint32(this.id<<3|a.WIRE_TYPES.ENDGROUP);break;default:throw new Error("[INTERNAL] Illegal value to encode in "+this.toString(!0)+": "+c+" (unknown type)")}return d}},i.prototype.decode=function(b,c,d){var e,f;if(b!=this.type.wireType&&(d||b!=a.WIRE_TYPES.LDELIM||!this.repeated))throw new Error("Illegal wire type for field "+this.toString(!0)+": "+b+" ("+this.type.wireType+" expected)");if(b==a.WIRE_TYPES.LDELIM&&this.repeated&&this.options.packed&&!d){f=c.readVarint32(),f=c.offset+f;for(var g=[];c.offset>>0;case a.TYPES.sint32:return 0|c.readVarint32ZigZag();case a.TYPES.fixed32:return c.readUint32()>>>0;case a.TYPES.sfixed32:return 0|c.readInt32();case a.TYPES.int64:return c.readVarint64();case a.TYPES.uint64:return c.readVarint64().toUnsigned();case a.TYPES.sint64:return c.readVarint64ZigZag();case a.TYPES.fixed64:return c.readUint64();case a.TYPES.sfixed64:return c.readInt64();case a.TYPES.bool:return!!c.readVarint32();case a.TYPES["enum"]:return c.readVarint32();case a.TYPES["float"]:return c.readFloat();case a.TYPES["double"]:return c.readDouble();case a.TYPES.string:return c.readVString();case a.TYPES.bytes:if(f=c.readVarint32(),c.remaining()=0)return!1;g.push(f)}g=null}if("undefined"!=typeof a.enums){if(!b.Util.isArray(a.enums))return!1;for(d=0;d0;){if(a=j.pop(),!b.Util.isArray(a))throw new Error("Not a valid namespace definition: "+JSON.stringify(a));for(;a.length>0;){if(c=a.shift(),e.isValidMessage(c)){if(f=new d.Message(this.ptr,c.name,c.options,c.isGroup),c.fields&&c.fields.length>0)for(h=0;h0)for(h=0;h0)for(h=0;hb.ID_MAX&&(f.extensions[1]=b.ID_MAX)),this.ptr.addChild(f),g.length>0){j.push(a),a=g,g=null,this.ptr=f,f=null;continue}g=null,f=null}else if(e.isValidEnum(c)){for(f=new d.Enum(this.ptr,c.name,c.options),h=0;hf.extensions[1])throw new Error("Illegal extended field id in message "+f.name+": "+c.fields[h].id+" ("+f.extensions.join(" to ")+" expected)");f.addChild(new d.Message.Field(f,c.fields[h].rule,c.fields[h].type,c.fields[h].name,c.fields[h].id,c.fields[h].options))}else if(!/\.?google\.protobuf\./.test(c.ref))throw new Error("Extended message "+c.ref+" is not defined")}c=null}a=null,this.ptr=this.ptr.parent}return this.resolved=!1,this.result=null,this}},e.isValidImport=function(a){return!/google\/protobuf\//.test(a)},e.prototype["import"]=function(c,d){if("string"==typeof d){if(b.Util.IS_NODE){var f=a("path");d=f.resolve(d)}if(this.files[d])return this.reset(),this;this.files[d]=!0}if(c.imports&&c.imports.length>0){var g,h="/",i=!1;"object"==typeof d?(this.importRoot=d.root,i=!0,g=this.importRoot,d=d.file,(g.indexOf("\\")>=0||d.indexOf("\\")>=0)&&(h="\\")):"string"==typeof d?this.importRoot?g=this.importRoot:d.indexOf("/")>=0?(g=d.replace(/\/[^\/]*$/,""),""===g&&(g="/")):d.indexOf("\\")>=0?(g=d.replace(/\\[^\\]*$/,""),h="\\"):g=".":g=null;for(var j=0;j=0)return!1;g.push(f)}g=null}return!0},e.prototype.resolveAll=function(){var a;if(null!=this.ptr&&"object"!=typeof this.ptr.type){if(this.ptr instanceof d.Namespace)for(var e=this.ptr.getChildren(),f=0;fa)throw new RangeError("Illegal capacity: 0 <= "+a);if("boolean"!=typeof d)throw new TypeError("Illegal littleEndian: Not a boolean");if("boolean"!=typeof e)throw new TypeError("Illegal noAssert: Not a boolean")}this.buffer=0===a?c:new ArrayBuffer(a),this.view=0===a?null:new DataView(this.buffer),this.offset=0,this.markedOffset=-1,this.limit=a,this.littleEndian="undefined"!=typeof d?!!d:!1,this.noAssert=!!e}b.VERSION="3.1.1",b.LITTLE_ENDIAN=!0,b.BIG_ENDIAN=!1,b.DEFAULT_CAPACITY=16,b.DEFAULT_ENDIAN=b.BIG_ENDIAN,b.DEFAULT_NOASSERT=!1,b.Long=a||null;var c=new ArrayBuffer(0);b.allocate=function(a,c,d){return new b(a,c,d)},b.concat=function(a,c,d,e){("boolean"==typeof c||"string"!=typeof c)&&(e=d,d=c,c=void 0);for(var f,g=0,h=0,i=a.length;i>h;++h)b.isByteBuffer(a[h])||(a[h]=b.wrap(a[h],c)),f=a[h].limit-a[h].offset,f>0&&(g+=f);if(0===g)return new b(0,d,e);for(c=new b(g,d,e),e=new Uint8Array(c.buffer),h=0;i>h;)d=a[h++],f=d.limit-d.offset,0>=f||(e.set(new Uint8Array(d.buffer).subarray(d.offset,d.limit),c.offset),c.offset+=f);return c.limit=c.offset,c.offset=0,c},b.isByteBuffer=function(a){return a&&a instanceof b},b.type=function(){return ArrayBuffer},b.wrap=function(a,c,d,e){if("string"!=typeof c&&(e=d,d=c,c=void 0),"string"==typeof a)switch("undefined"==typeof c&&(c="utf8"),c){case"base64":return b.fromBase64(a,d);case"hex":return b.fromHex(a,d);case"binary":return b.fromBinary(a,d);case"utf8":return b.fromUTF8(a,d);case"debug":return b.fromDebug(a,d);default:throw new TypeError("Unsupported encoding: "+c)}if(null===a||"object"!=typeof a)throw new TypeError("Illegal buffer: null or non-object");if(b.isByteBuffer(a))return c=b.prototype.clone.call(a),c.markedOffset=-1,c;if(a instanceof Uint8Array)c=new b(0,d,e),0>>=0,0>b||b+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+b+" (+0) <= "+this.buffer.byteLength)}b+=1;var d=this.buffer.byteLength;return b>d&&this.resize((d*=2)>b?d:b),this.view.setInt8(b-1,a),c&&(this.offset+=1),this},b.prototype.writeByte=b.prototype.writeInt8,b.prototype.readInt8=function(a){var b="undefined"==typeof a;if(b&&(a=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal offset: "+a+" (not an integer)");if(a>>>=0,0>a||a+1>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+a+" (+1) <= "+this.buffer.byteLength)}return a=this.view.getInt8(a),b&&(this.offset+=1),a},b.prototype.readByte=b.prototype.readInt8,b.prototype.writeUint8=function(a,b){var c="undefined"==typeof b;if(c&&(b=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal value: "+a+" (not an integer)");if(a>>>=0,"number"!=typeof b||0!==b%1)throw new TypeError("Illegal offset: "+b+" (not an integer)");if(b>>>=0,0>b||b+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+b+" (+0) <= "+this.buffer.byteLength)}b+=1;var d=this.buffer.byteLength;return b>d&&this.resize((d*=2)>b?d:b),this.view.setUint8(b-1,a),c&&(this.offset+=1),this},b.prototype.readUint8=function(a){var b="undefined"==typeof a;if(b&&(a=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal offset: "+a+" (not an integer)");if(a>>>=0,0>a||a+1>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+a+" (+1) <= "+this.buffer.byteLength)}return a=this.view.getUint8(a),b&&(this.offset+=1),a},b.prototype.writeInt16=function(a,b){var c="undefined"==typeof b;if(c&&(b=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal value: "+a+" (not an integer)");if(a|=0,"number"!=typeof b||0!==b%1)throw new TypeError("Illegal offset: "+b+" (not an integer)");if(b>>>=0,0>b||b+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+b+" (+0) <= "+this.buffer.byteLength)}b+=2;var d=this.buffer.byteLength;return b>d&&this.resize((d*=2)>b?d:b),this.view.setInt16(b-2,a,this.littleEndian),c&&(this.offset+=2),this},b.prototype.writeShort=b.prototype.writeInt16,b.prototype.readInt16=function(a){var b="undefined"==typeof a;if(b&&(a=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal offset: "+a+" (not an integer)");if(a>>>=0,0>a||a+2>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+a+" (+2) <= "+this.buffer.byteLength)}return a=this.view.getInt16(a,this.littleEndian),b&&(this.offset+=2),a},b.prototype.readShort=b.prototype.readInt16,b.prototype.writeUint16=function(a,b){var c="undefined"==typeof b;if(c&&(b=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal value: "+a+" (not an integer)");if(a>>>=0,"number"!=typeof b||0!==b%1)throw new TypeError("Illegal offset: "+b+" (not an integer)");if(b>>>=0,0>b||b+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+b+" (+0) <= "+this.buffer.byteLength)}b+=2;var d=this.buffer.byteLength;return b>d&&this.resize((d*=2)>b?d:b),this.view.setUint16(b-2,a,this.littleEndian),c&&(this.offset+=2),this},b.prototype.readUint16=function(a){var b="undefined"==typeof a;if(b&&(a=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal offset: "+a+" (not an integer)");if(a>>>=0,0>a||a+2>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+a+" (+2) <= "+this.buffer.byteLength)}return a=this.view.getUint16(a,this.littleEndian),b&&(this.offset+=2),a},b.prototype.writeInt32=function(a,b){var c="undefined"==typeof b;if(c&&(b=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal value: "+a+" (not an integer)");if(a|=0,"number"!=typeof b||0!==b%1)throw new TypeError("Illegal offset: "+b+" (not an integer)");if(b>>>=0,0>b||b+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+b+" (+0) <= "+this.buffer.byteLength)}b+=4;var d=this.buffer.byteLength;return b>d&&this.resize((d*=2)>b?d:b),this.view.setInt32(b-4,a,this.littleEndian),c&&(this.offset+=4),this},b.prototype.writeInt=b.prototype.writeInt32,b.prototype.readInt32=function(a){var b="undefined"==typeof a;if(b&&(a=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal offset: "+a+" (not an integer)");if(a>>>=0,0>a||a+4>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+a+" (+4) <= "+this.buffer.byteLength)}return a=this.view.getInt32(a,this.littleEndian),b&&(this.offset+=4),a},b.prototype.readInt=b.prototype.readInt32,b.prototype.writeUint32=function(a,b){var c="undefined"==typeof b;if(c&&(b=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal value: "+a+" (not an integer)");if(a>>>=0,"number"!=typeof b||0!==b%1)throw new TypeError("Illegal offset: "+b+" (not an integer)");if(b>>>=0,0>b||b+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+b+" (+0) <= "+this.buffer.byteLength)}b+=4;var d=this.buffer.byteLength;return b>d&&this.resize((d*=2)>b?d:b),this.view.setUint32(b-4,a,this.littleEndian),c&&(this.offset+=4),this},b.prototype.readUint32=function(a){var b="undefined"==typeof a;if(b&&(a=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal offset: "+a+" (not an integer)");if(a>>>=0,0>a||a+4>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+a+" (+4) <= "+this.buffer.byteLength)}return a=this.view.getUint32(a,this.littleEndian),b&&(this.offset+=4),a},a&&(b.prototype.writeInt64=function(b,c){var d="undefined"==typeof c;if(d&&(c=this.offset),!this.noAssert){if("number"==typeof b)b=a.fromNumber(b);else if(!(b&&b instanceof a))throw new TypeError("Illegal value: "+b+" (not an integer or Long)");if("number"!=typeof c||0!==c%1)throw new TypeError("Illegal offset: "+c+" (not an integer)");if(c>>>=0,0>c||c+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+c+" (+0) <= "+this.buffer.byteLength)}"number"==typeof b&&(b=a.fromNumber(b)),c+=8;var e=this.buffer.byteLength;return c>e&&this.resize((e*=2)>c?e:c),c-=8,this.littleEndian?(this.view.setInt32(c,b.low,!0),this.view.setInt32(c+4,b.high,!0)):(this.view.setInt32(c,b.high,!1),this.view.setInt32(c+4,b.low,!1)),d&&(this.offset+=8),this},b.prototype.writeLong=b.prototype.writeInt64,b.prototype.readInt64=function(b){var c="undefined"==typeof b;if(c&&(b=this.offset),!this.noAssert){if("number"!=typeof b||0!==b%1)throw new TypeError("Illegal offset: "+b+" (not an integer)");if(b>>>=0,0>b||b+8>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+b+" (+8) <= "+this.buffer.byteLength)}return b=this.littleEndian?new a(this.view.getInt32(b,!0),this.view.getInt32(b+4,!0),!1):new a(this.view.getInt32(b+4,!1),this.view.getInt32(b,!1),!1),c&&(this.offset+=8),b},b.prototype.readLong=b.prototype.readInt64,b.prototype.writeUint64=function(b,c){var d="undefined"==typeof c;if(d&&(c=this.offset),!this.noAssert){if("number"==typeof b)b=a.fromNumber(b);else if(!(b&&b instanceof a))throw new TypeError("Illegal value: "+b+" (not an integer or Long)");if("number"!=typeof c||0!==c%1)throw new TypeError("Illegal offset: "+c+" (not an integer)");if(c>>>=0,0>c||c+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+c+" (+0) <= "+this.buffer.byteLength)}"number"==typeof b&&(b=a.fromNumber(b)),c+=8;var e=this.buffer.byteLength;return c>e&&this.resize((e*=2)>c?e:c),c-=8,this.littleEndian?(this.view.setInt32(c,b.low,!0),this.view.setInt32(c+4,b.high,!0)):(this.view.setInt32(c,b.high,!1),this.view.setInt32(c+4,b.low,!1)),d&&(this.offset+=8),this},b.prototype.readUint64=function(b){var c="undefined"==typeof b;if(c&&(b=this.offset),!this.noAssert){if("number"!=typeof b||0!==b%1)throw new TypeError("Illegal offset: "+b+" (not an integer)");if(b>>>=0,0>b||b+8>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+b+" (+8) <= "+this.buffer.byteLength)}return b=this.littleEndian?new a(this.view.getInt32(b,!0),this.view.getInt32(b+4,!0),!0):new a(this.view.getInt32(b+4,!1),this.view.getInt32(b,!1),!0),c&&(this.offset+=8),b}),b.prototype.writeFloat32=function(a,b){var c="undefined"==typeof b;if(c&&(b=this.offset),!this.noAssert){if("number"!=typeof a)throw new TypeError("Illegal value: "+a+" (not a number)");if("number"!=typeof b||0!==b%1)throw new TypeError("Illegal offset: "+b+" (not an integer)");if(b>>>=0,0>b||b+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+b+" (+0) <= "+this.buffer.byteLength)}b+=4;var d=this.buffer.byteLength;return b>d&&this.resize((d*=2)>b?d:b),this.view.setFloat32(b-4,a,this.littleEndian),c&&(this.offset+=4),this},b.prototype.writeFloat=b.prototype.writeFloat32,b.prototype.readFloat32=function(a){var b="undefined"==typeof a;if(b&&(a=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal offset: "+a+" (not an integer)");if(a>>>=0,0>a||a+4>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+a+" (+4) <= "+this.buffer.byteLength)}return a=this.view.getFloat32(a,this.littleEndian),b&&(this.offset+=4),a},b.prototype.readFloat=b.prototype.readFloat32,b.prototype.writeFloat64=function(a,b){var c="undefined"==typeof b;if(c&&(b=this.offset),!this.noAssert){if("number"!=typeof a)throw new TypeError("Illegal value: "+a+" (not a number)");if("number"!=typeof b||0!==b%1)throw new TypeError("Illegal offset: "+b+" (not an integer)");if(b>>>=0,0>b||b+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+b+" (+0) <= "+this.buffer.byteLength)}b+=8;var d=this.buffer.byteLength;return b>d&&this.resize((d*=2)>b?d:b),this.view.setFloat64(b-8,a,this.littleEndian),c&&(this.offset+=8),this},b.prototype.writeDouble=b.prototype.writeFloat64,b.prototype.readFloat64=function(a){var b="undefined"==typeof a;if(b&&(a=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal offset: "+a+" (not an integer)");if(a>>>=0,0>a||a+8>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+a+" (+8) <= "+this.buffer.byteLength)}return a=this.view.getFloat64(a,this.littleEndian),b&&(this.offset+=8),a},b.prototype.readDouble=b.prototype.readFloat64,b.MAX_VARINT32_BYTES=5,b.calculateVarint32=function(a){return a>>>=0,128>a?1:16384>a?2:2097152>a?3:268435456>a?4:5},b.zigZagEncode32=function(a){return((a|=0)<<1^a>>31)>>>0},b.zigZagDecode32=function(a){return a>>>1^-(1&a)|0},b.prototype.writeVarint32=function(a,c){var d="undefined"==typeof c;if(d&&(c=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal value: "+a+" (not an integer)");if(a|=0,"number"!=typeof c||0!==c%1)throw new TypeError("Illegal offset: "+c+" (not an integer)");if(c>>>=0,0>c||c+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+c+" (+0) <= "+this.buffer.byteLength)}var e=b.calculateVarint32(a);c+=e;var f=this.buffer.byteLength;return c>f&&this.resize((f*=2)>c?f:c),c-=e,this.view.setUint8(c,e=128|a),a>>>=0,a>=128?(e=a>>7|128,this.view.setUint8(c+1,e),a>=16384?(e=a>>14|128,this.view.setUint8(c+2,e),a>=2097152?(e=a>>21|128,this.view.setUint8(c+3,e),a>=268435456?(this.view.setUint8(c+4,a>>28&15),e=5):(this.view.setUint8(c+3,127&e),e=4)):(this.view.setUint8(c+2,127&e),e=3)):(this.view.setUint8(c+1,127&e),e=2)):(this.view.setUint8(c,127&e),e=1),d?(this.offset+=e,this):e},b.prototype.writeVarint32ZigZag=function(a,c){return this.writeVarint32(b.zigZagEncode32(a),c)},b.prototype.readVarint32=function(a){var b="undefined"==typeof a;if(b&&(a=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal offset: "+a+" (not an integer)");if(a>>>=0,0>a||a+1>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+a+" (+1) <= "+this.buffer.byteLength)}var c,d=0,e=0;do c=this.view.getUint8(a+d),5>d&&(e|=(127&c)<<7*d>>>0),++d;while(128===(128&c));return e|=0,b?(this.offset+=d,e):{value:e,length:d}},b.prototype.readVarint32ZigZag=function(a){return a=this.readVarint32(a),"object"==typeof a?a.value=b.zigZagDecode32(a.value):a=b.zigZagDecode32(a),a},a&&(b.MAX_VARINT64_BYTES=10,b.calculateVarint64=function(b){"number"==typeof b&&(b=a.fromNumber(b));var c=b.toInt()>>>0,d=b.shiftRightUnsigned(28).toInt()>>>0;return b=b.shiftRightUnsigned(56).toInt()>>>0,0==b?0==d?16384>c?128>c?1:2:2097152>c?3:4:16384>d?128>d?5:6:2097152>d?7:8:128>b?9:10},b.zigZagEncode64=function(b){return"number"==typeof b?b=a.fromNumber(b,!1):!1!==b.unsigned&&(b=b.toSigned()),b.shiftLeft(1).xor(b.shiftRight(63)).toUnsigned()},b.zigZagDecode64=function(b){return"number"==typeof b?b=a.fromNumber(b,!1):!1!==b.unsigned&&(b=b.toSigned()),b.shiftRightUnsigned(1).xor(b.and(a.ONE).toSigned().negate()).toSigned()},b.prototype.writeVarint64=function(c,d){var e="undefined"==typeof d;if(e&&(d=this.offset),!this.noAssert){if("number"==typeof c)c=a.fromNumber(c);else if(!(c&&c instanceof a))throw new TypeError("Illegal value: "+c+" (not an integer or Long)");if("number"!=typeof d||0!==d%1)throw new TypeError("Illegal offset: "+d+" (not an integer)");if(d>>>=0,0>d||d+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+d+" (+0) <= "+this.buffer.byteLength)}"number"==typeof c?c=a.fromNumber(c,!1):!1!==c.unsigned&&(c=c.toSigned());var f=b.calculateVarint64(c),g=c.toInt()>>>0,h=c.shiftRightUnsigned(28).toInt()>>>0,i=c.shiftRightUnsigned(56).toInt()>>>0;d+=f;var j=this.buffer.byteLength;switch(d>j&&this.resize((j*=2)>d?j:d),d-=f,f){case 10:this.view.setUint8(d+9,i>>>7&1);case 9:this.view.setUint8(d+8,9!==f?128|i:127&i);case 8:this.view.setUint8(d+7,8!==f?h>>>21|128:h>>>21&127);case 7:this.view.setUint8(d+6,7!==f?h>>>14|128:h>>>14&127);case 6:this.view.setUint8(d+5,6!==f?h>>>7|128:h>>>7&127);case 5:this.view.setUint8(d+4,5!==f?128|h:127&h);case 4:this.view.setUint8(d+3,4!==f?g>>>21|128:g>>>21&127);case 3:this.view.setUint8(d+2,3!==f?g>>>14|128:g>>>14&127);case 2:this.view.setUint8(d+1,2!==f?g>>>7|128:g>>>7&127);case 1:this.view.setUint8(d,1!==f?128|g:127&g)}return e?(this.offset+=f,this):f},b.prototype.writeVarint64ZigZag=function(a,c){return this.writeVarint64(b.zigZagEncode64(a),c)},b.prototype.readVarint64=function(b){var c="undefined"==typeof b;if(c&&(b=this.offset),!this.noAssert){if("number"!=typeof b||0!==b%1)throw new TypeError("Illegal offset: "+b+" (not an integer)");if(b>>>=0,0>b||b+1>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+b+" (+1) <= "+this.buffer.byteLength)}var d=b,e=0,f=0,g=0,h=0,h=this.view.getUint8(b++),e=127&h;if(128&h&&(h=this.view.getUint8(b++),e|=(127&h)<<7,128&h&&(h=this.view.getUint8(b++),e|=(127&h)<<14,128&h&&(h=this.view.getUint8(b++),e|=(127&h)<<21,128&h&&(h=this.view.getUint8(b++),f=127&h,128&h&&(h=this.view.getUint8(b++),f|=(127&h)<<7,128&h&&(h=this.view.getUint8(b++),f|=(127&h)<<14,128&h&&(h=this.view.getUint8(b++),f|=(127&h)<<21,128&h&&(h=this.view.getUint8(b++),g=127&h,128&h&&(h=this.view.getUint8(b++),g|=(127&h)<<7,128&h))))))))))throw Error("Data must be corrupt: Buffer overrun");return e=a.fromBits(e|f<<28,f>>>4|g<<24,!1),c?(this.offset=b,e):{value:e,length:b-d}},b.prototype.readVarint64ZigZag=function(c){return(c=this.readVarint64(c))&&c.value instanceof a?c.value=b.zigZagDecode64(c.value):c=b.zigZagDecode64(c),c}),b.prototype.writeCString=function(a,b){var c="undefined"==typeof b;c&&(b=this.offset);var d,f=a.length;if(!this.noAssert){if("string"!=typeof a)throw new TypeError("Illegal str: Not a string");for(d=0;f>d;++d)if(0===a.charCodeAt(d))throw new RangeError("Illegal str: Contains NULL-characters");if("number"!=typeof b||0!==b%1)throw new TypeError("Illegal offset: "+b+" (not an integer)");if(b>>>=0,0>b||b+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+b+" (+0) <= "+this.buffer.byteLength)}d=b,f=e.b(e.a(a))[1],b+=f+1;var g=this.buffer.byteLength;return b>g&&this.resize((g*=2)>b?g:b),b-=f+1,e.e(e.a(a),function(a){this.view.setUint8(b++,a)}.bind(this)),this.view.setUint8(b++,0),c?(this.offset=b-d,this):f},b.prototype.readCString=function(a){var b="undefined"==typeof a;if(b&&(a=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal offset: "+a+" (not an integer)");if(a>>>=0,0>a||a+1>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+a+" (+1) <= "+this.buffer.byteLength)}var c,d=a,f=-1;return e.d(function(){if(0===f)return null;if(a>=this.limit)throw RangeError("Illegal range: Truncated data, "+a+" < "+this.limit);return 0===(f=this.view.getUint8(a++))?null:f}.bind(this),c=e.c(),!0),b?(this.offset=a,c()):{string:c(),length:a-d}},b.prototype.writeIString=function(a,b){var c="undefined"==typeof b;if(c&&(b=this.offset),!this.noAssert){if("string"!=typeof a)throw new TypeError("Illegal str: Not a string");if("number"!=typeof b||0!==b%1)throw new TypeError("Illegal offset: "+b+" (not an integer)");if(b>>>=0,0>b||b+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+b+" (+0) <= "+this.buffer.byteLength)}var d,f=b;d=e.b(e.a(a),this.noAssert)[1],b+=4+d;var g=this.buffer.byteLength;if(b>g&&this.resize((g*=2)>b?g:b),b-=4+d,this.view.setUint32(b,d,this.littleEndian),b+=4,e.e(e.a(a),function(a){this.view.setUint8(b++,a)}.bind(this)),b!==f+4+d)throw new RangeError("Illegal range: Truncated data, "+b+" == "+(b+4+d));return c?(this.offset=b,this):b-f},b.prototype.readIString=function(a){var b="undefined"==typeof a;if(b&&(a=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal offset: "+a+" (not an integer)");if(a>>>=0,0>a||a+4>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+a+" (+4) <= "+this.buffer.byteLength)}var c=0,d=a,c=this.view.getUint32(a,this.littleEndian);a+=4;var f=a+c;return e.d(function(){return f>a?this.view.getUint8(a++):null}.bind(this),c=e.c(),this.noAssert),c=c(),b?(this.offset=a,c):{string:c,length:a-d}},b.METRICS_CHARS="c",b.METRICS_BYTES="b",b.prototype.writeUTF8String=function(a,b){var c="undefined"==typeof b;if(c&&(b=this.offset),!this.noAssert){if("number"!=typeof b||0!==b%1)throw new TypeError("Illegal offset: "+b+" (not an integer)");if(b>>>=0,0>b||b+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+b+" (+0) <= "+this.buffer.byteLength)}var d,f=b;d=e.b(e.a(a))[1],b+=d;var g=this.buffer.byteLength;return b>g&&this.resize((g*=2)>b?g:b),b-=d,e.e(e.a(a),function(a){this.view.setUint8(b++,a)}.bind(this)),c?(this.offset=b,this):b-f},b.prototype.writeString=b.prototype.writeUTF8String,b.calculateUTF8Chars=function(a){return e.b(e.a(a))[0]},b.calculateUTF8Bytes=function(a){return e.b(e.a(a))[1]},b.prototype.readUTF8String=function(a,c,d){"number"==typeof c&&(d=c,c=void 0);var f="undefined"==typeof d;if(f&&(d=this.offset),"undefined"==typeof c&&(c=b.METRICS_CHARS),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal length: "+a+" (not an integer)");if(a|=0,"number"!=typeof d||0!==d%1)throw new TypeError("Illegal offset: "+d+" (not an integer)");if(d>>>=0,0>d||d+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+d+" (+0) <= "+this.buffer.byteLength)}var g,h=0,i=d;if(c===b.METRICS_CHARS){if(g=e.c(),e.i(function(){return a>h&&d>>=0,0>d||d+a>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+d+" (+"+a+") <= "+this.buffer.byteLength)}var j=d+a;if(e.d(function(){return j>d?this.view.getUint8(d++):null}.bind(this),g=e.c(),this.noAssert),d!==j)throw new RangeError("Illegal range: Truncated data, "+d+" == "+j);return f?(this.offset=d,g()):{string:g(),length:d-i}}throw new TypeError("Unsupported metrics: "+c)},b.prototype.readString=b.prototype.readUTF8String,b.prototype.writeVString=function(a,c){var d="undefined"==typeof c;if(d&&(c=this.offset),!this.noAssert){if("string"!=typeof a)throw new TypeError("Illegal str: Not a string");if("number"!=typeof c||0!==c%1)throw new TypeError("Illegal offset: "+c+" (not an integer)");if(c>>>=0,0>c||c+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+c+" (+0) <= "+this.buffer.byteLength)}var f,g,h=c;f=e.b(e.a(a),this.noAssert)[1],g=b.calculateVarint32(f),c+=g+f;var i=this.buffer.byteLength;if(c>i&&this.resize((i*=2)>c?i:c),c-=g+f,c+=this.writeVarint32(f,c),e.e(e.a(a),function(a){this.view.setUint8(c++,a)}.bind(this)),c!==h+f+g)throw new RangeError("Illegal range: Truncated data, "+c+" == "+(c+f+g));return d?(this.offset=c,this):c-h},b.prototype.readVString=function(a){var b="undefined"==typeof a;if(b&&(a=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal offset: "+a+" (not an integer)");if(a>>>=0,0>a||a+1>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+a+" (+1) <= "+this.buffer.byteLength)}var c=this.readVarint32(a),d=a;a+=c.length;var c=c.value,f=a+c,c=e.c();return e.d(function(){return f>a?this.view.getUint8(a++):null}.bind(this),c,this.noAssert),c=c(),b?(this.offset=a,c):{string:c,length:a-d}},b.prototype.append=function(a,c,d){("number"==typeof c||"string"!=typeof c)&&(d=c,c=void 0);var e="undefined"==typeof d;if(e&&(d=this.offset),!this.noAssert){if("number"!=typeof d||0!==d%1)throw new TypeError("Illegal offset: "+d+" (not an integer)");if(d>>>=0,0>d||d+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+d+" (+0) <= "+this.buffer.byteLength)}if(a instanceof b||(a=b.wrap(a,c)),c=a.limit-a.offset,0>=c)return this;d+=c;var f=this.buffer.byteLength;return d>f&&this.resize((f*=2)>d?f:d),new Uint8Array(this.buffer,d-c).set(new Uint8Array(a.buffer).subarray(a.offset,a.limit)),a.offset+=c,e&&(this.offset+=c),this},b.prototype.appendTo=function(a,b){return a.append(this,b),this},b.prototype.assert=function(a){return this.noAssert=!a,this},b.prototype.capacity=function(){return this.buffer.byteLength},b.prototype.clear=function(){return this.offset=0,this.limit=this.buffer.byteLength,this.markedOffset=-1,this},b.prototype.clone=function(a){var c=new b(0,this.littleEndian,this.noAssert);return a?(a=new ArrayBuffer(this.buffer.byteLength),new Uint8Array(a).set(this.buffer),c.buffer=a,c.view=new DataView(a)):(c.buffer=this.buffer,c.view=this.view),c.offset=this.offset,c.markedOffset=this.markedOffset,c.limit=this.limit,c},b.prototype.compact=function(a,b){if("undefined"==typeof a&&(a=this.offset),"undefined"==typeof b&&(b=this.limit),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal begin: Not an integer");if(a>>>=0,"number"!=typeof b||0!==b%1)throw new TypeError("Illegal end: Not an integer");if(b>>>=0,0>a||a>b||b>this.buffer.byteLength)throw new RangeError("Illegal range: 0 <= "+a+" <= "+b+" <= "+this.buffer.byteLength)}if(0===a&&b===this.buffer.byteLength)return this;var d=b-a;if(0===d)return this.buffer=c,this.view=null,0<=this.markedOffset&&(this.markedOffset-=a),this.limit=this.offset=0,this;var e=new ArrayBuffer(d);return new Uint8Array(e).set(new Uint8Array(this.buffer).subarray(a,b)),this.buffer=e,this.view=new DataView(e),0<=this.markedOffset&&(this.markedOffset-=a),this.offset=0,this.limit=d,this},b.prototype.copy=function(a,c){if("undefined"==typeof a&&(a=this.offset),"undefined"==typeof c&&(c=this.limit),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal begin: Not an integer");if(a>>>=0,"number"!=typeof c||0!==c%1)throw new TypeError("Illegal end: Not an integer");if(c>>>=0,0>a||a>c||c>this.buffer.byteLength)throw new RangeError("Illegal range: 0 <= "+a+" <= "+c+" <= "+this.buffer.byteLength)}if(a===c)return new b(0,this.littleEndian,this.noAssert);var d=c-a,e=new b(d,this.littleEndian,this.noAssert);return e.offset=0,e.limit=d,0<=e.markedOffset&&(e.markedOffset-=a),this.copyTo(e,0,a,c),e},b.prototype.copyTo=function(a,c,d,e){var f,g;if(!this.noAssert&&!b.isByteBuffer(a))throw new TypeError("Illegal target: Not a ByteBuffer");if(c=(g="undefined"==typeof c)?a.offset:0|c,d=(f="undefined"==typeof d)?this.offset:0|d,e="undefined"==typeof e?this.limit:0|e,0>c||c>a.buffer.byteLength)throw new RangeError("Illegal target range: 0 <= "+c+" <= "+a.buffer.byteLength);if(0>d||e>this.buffer.byteLength)throw new RangeError("Illegal source range: 0 <= "+d+" <= "+this.buffer.byteLength);var h=e-d;return 0===h?a:(a.ensureCapacity(c+h),new Uint8Array(a.buffer).set(new Uint8Array(this.buffer).subarray(d,e),c),f&&(this.offset+=h),g&&(a.offset+=h), -this)},b.prototype.ensureCapacity=function(a){var b=this.buffer.byteLength;return a>b?this.resize((b*=2)>a?b:a):this},b.prototype.fill=function(a,b,c){var d="undefined"==typeof b;if(d&&(b=this.offset),"string"==typeof a&&0>>=0,"number"!=typeof c||0!==c%1)throw new TypeError("Illegal end: Not an integer");if(c>>>=0,0>b||b>c||c>this.buffer.byteLength)throw new RangeError("Illegal range: 0 <= "+b+" <= "+c+" <= "+this.buffer.byteLength)}if(b>=c)return this;for(;c>b;)this.view.setUint8(b++,a);return d&&(this.offset=b),this},b.prototype.flip=function(){return this.limit=this.offset,this.offset=0,this},b.prototype.mark=function(a){if(a="undefined"==typeof a?this.offset:a,!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal offset: "+a+" (not an integer)");if(a>>>=0,0>a||a+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+a+" (+0) <= "+this.buffer.byteLength)}return this.markedOffset=a,this},b.prototype.order=function(a){if(!this.noAssert&&"boolean"!=typeof a)throw new TypeError("Illegal littleEndian: Not a boolean");return this.littleEndian=!!a,this},b.prototype.LE=function(a){return this.littleEndian="undefined"!=typeof a?!!a:!0,this},b.prototype.BE=function(a){return this.littleEndian="undefined"!=typeof a?!a:!1,this},b.prototype.prepend=function(a,c,d){("number"==typeof c||"string"!=typeof c)&&(d=c,c=void 0);var e="undefined"==typeof d;if(e&&(d=this.offset),!this.noAssert){if("number"!=typeof d||0!==d%1)throw new TypeError("Illegal offset: "+d+" (not an integer)");if(d>>>=0,0>d||d+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+d+" (+0) <= "+this.buffer.byteLength)}if(a instanceof b||(a=b.wrap(a,c)),c=a.limit-a.offset,0>=c)return this;var f,g=c-d;if(g>0){var h=new ArrayBuffer(this.buffer.byteLength+g);f=new Uint8Array(h),f.set(new Uint8Array(this.buffer).subarray(d,this.buffer.byteLength),c),this.buffer=h,this.view=new DataView(h),this.offset+=g,0<=this.markedOffset&&(this.markedOffset+=g),this.limit+=g,d+=g}else f=new Uint8Array(this.buffer);return f.set(new Uint8Array(a.buffer).subarray(a.offset,a.limit),d-c),a.offset=a.limit,e&&(this.offset-=c),this},b.prototype.prependTo=function(a,b){return a.prepend(this,b),this},b.prototype.printDebug=function(a){"function"!=typeof a&&(a=console.log.bind(console)),a(this.toString()+"\n-------------------------------------------------------------------\n"+this.toDebug(!0))},b.prototype.remaining=function(){return this.limit-this.offset},b.prototype.reset=function(){return 0<=this.markedOffset?(this.offset=this.markedOffset,this.markedOffset=-1):this.offset=0,this},b.prototype.resize=function(a){if(!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal capacity: "+a+" (not an integer)");if(a|=0,0>a)throw new RangeError("Illegal capacity: 0 <= "+a)}return this.buffer.byteLength>>=0,"number"!=typeof b||0!==b%1)throw new TypeError("Illegal end: Not an integer");if(b>>>=0,0>a||a>b||b>this.buffer.byteLength)throw new RangeError("Illegal range: 0 <= "+a+" <= "+b+" <= "+this.buffer.byteLength)}return a===b?this:(Array.prototype.reverse.call(new Uint8Array(this.buffer).subarray(a,b)),this.view=new DataView(this.buffer),this)},b.prototype.skip=function(a){if(!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal length: "+a+" (not an integer)");a|=0}var b=this.offset+a;if(!this.noAssert&&(0>b||b>this.buffer.byteLength))throw new RangeError("Illegal length: 0 <= "+this.offset+" + "+a+" <= "+this.buffer.byteLength);return this.offset=b,this},b.prototype.slice=function(a,b){if("undefined"==typeof a&&(a=this.offset),"undefined"==typeof b&&(b=this.limit),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal begin: Not an integer");if(a>>>=0,"number"!=typeof b||0!==b%1)throw new TypeError("Illegal end: Not an integer");if(b>>>=0,0>a||a>b||b>this.buffer.byteLength)throw new RangeError("Illegal range: 0 <= "+a+" <= "+b+" <= "+this.buffer.byteLength)}var c=this.clone();return c.offset=a,c.limit=b,c},b.prototype.toBuffer=function(a){var b=this.offset,d=this.limit;if(b>d)var e=b,b=d,d=e;if(!this.noAssert){if("number"!=typeof b||0!==b%1)throw new TypeError("Illegal offset: Not an integer");if(b>>>=0,"number"!=typeof d||0!==d%1)throw new TypeError("Illegal limit: Not an integer");if(d>>>=0,0>b||b>d||d>this.buffer.byteLength)throw new RangeError("Illegal range: 0 <= "+b+" <= "+d+" <= "+this.buffer.byteLength)}return a||0!==b||d!==this.buffer.byteLength?b===d?c:(a=new ArrayBuffer(d-b),new Uint8Array(a).set(new Uint8Array(this.buffer).subarray(b,d),0),a):this.buffer},b.prototype.toArrayBuffer=b.prototype.toBuffer,b.prototype.toString=function(a){if("undefined"==typeof a)return"ByteBufferAB(offset="+this.offset+",markedOffset="+this.markedOffset+",limit="+this.limit+",capacity="+this.capacity()+")";switch(a){case"utf8":return this.toUTF8();case"base64":return this.toBase64();case"hex":return this.toHex();case"binary":return this.toBinary();case"debug":return this.toDebug();case"columns":return this.m();default:throw Error("Unsupported encoding: "+a)}};var d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",d=d+"";b.prototype.toBase64=function(a,b){if("undefined"==typeof a&&(a=this.offset),"undefined"==typeof b&&(b=this.limit),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal begin: Not an integer");if(a>>>=0,"number"!=typeof b||0!==b%1)throw new TypeError("Illegal end: Not an integer");if(b>>>=0,0>a||a>b||b>this.buffer.byteLength)throw new RangeError("Illegal range: 0 <= "+a+" <= "+b+" <= "+this.buffer.byteLength)}if(a===b)return"";for(var c,e,f,g,h,i,j="";b>a;)c=this.view.getUint8(a++),e=(g=b>a)?this.view.getUint8(a++):0,f=(h=b>a)?this.view.getUint8(a++):0,i=c>>2,c=(3&c)<<4|e>>4,e=(15&e)<<2|f>>6,f&=63,h||(f=64,g||(e=64)),j+=d.charAt(i)+d.charAt(c)+d.charAt(e)+d.charAt(f);return j},b.fromBase64=function(a,c,e){if(!e){if("string"!=typeof a)throw new TypeError("Illegal str: Not a string");if(0!==a.length%4)throw new TypeError("Illegal str: Length not a multiple of 4")}var f,g=a.length,h=0;for(f=a.length-1;f>=0&&"="===a.charAt(f);--f)h++;if(h>2)throw new TypeError("Illegal str: Suffix is too large");if(0===g)return new b(0,c,e);var i,j,k,l=new b(g/4*3-h,c,e);for(c=f=0;g>f;){if(h=d.indexOf(a.charAt(f++)),i=g>f?d.indexOf(a.charAt(f++)):0,j=g>f?d.indexOf(a.charAt(f++)):0,k=g>f?d.indexOf(a.charAt(f++)):0,!e&&(0>h||0>i||0>j||0>k))throw new TypeError("Illegal str: Contains non-base64 characters");l.view.setUint8(c++,h<<2|i>>4),64!==j&&(l.view.setUint8(c++,i<<4&240|j>>2,c),64!==k&&l.view.setUint8(c++,j<<6&192|k))}return l.limit=c,l},b.btoa=function(a){return b.fromBinary(a).toBase64()},b.atob=function(a){return b.fromBase64(a).toBinary()},b.prototype.toBinary=function(a,b){if(a="undefined"==typeof a?this.offset:a,b="undefined"==typeof b?this.limit:b,!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal begin: Not an integer");if(a>>>=0,"number"!=typeof b||0!==b%1)throw new TypeError("Illegal end: Not an integer");if(b>>>=0,0>a||a>b||b>this.buffer.byteLength)throw new RangeError("Illegal range: 0 <= "+a+" <= "+b+" <= "+this.buffer.byteLength)}if(a===b)return"";for(var c=[];b>a;)c.push(this.view.getUint8(a++));return String.fromCharCode.apply(String,c)},b.fromBinary=function(a,c,d){if(!d&&"string"!=typeof a)throw new TypeError("Illegal str: Not a string");for(var e=0,f=a.length,g=new b(f,c,d);f>e;){if(c=a.charCodeAt(e),!d&&c>255)throw new TypeError("Illegal charCode at "+e+": 0 <= "+c+" <= 255");g.view.setUint8(e++,c)}return g.limit=f,g},b.prototype.toDebug=function(a){for(var b,c=-1,d=this.buffer.byteLength,e="",f="",g="";d>c;){if(-1!==c&&(b=this.view.getUint8(c),e=16>b?e+("0"+b.toString(16).toUpperCase()):e+b.toString(16).toUpperCase(),a&&(f+=b>32&&127>b?String.fromCharCode(b):".")),++c,a&&c>0&&0===c%16&&c!==d){for(;51>e.length;)e+=" ";g+=e+f+"\n",e=f=""}e=c===this.offset&&c===this.limit?e+(c===this.markedOffset?"!":"|"):c===this.offset?e+(c===this.markedOffset?"[":"<"):c===this.limit?e+(c===this.markedOffset?"]":">"):e+(c===this.markedOffset?"'":a||0!==c&&c!==d?" ":"")}if(a&&" "!==e){for(;51>e.length;)e+=" ";g+=e+f+"\n"}return a?g:e},b.fromDebug=function(a,c,d){var e=a.length;c=new b((e+1)/3|0,c,d);for(var f,g=0,h=0,i=!1,j=!1,k=!1,l=!1,m=!1;e>g;){switch(f=a.charAt(g++)){case"!":if(!d){if(j||k||l){m=!0;break}j=k=l=!0}c.offset=c.markedOffset=c.limit=h,i=!1;break;case"|":if(!d){if(j||l){m=!0;break}j=l=!0}c.offset=c.limit=h,i=!1;break;case"[":if(!d){if(j||k){m=!0;break}j=k=!0}c.offset=c.markedOffset=h,i=!1;break;case"<":if(!d){if(j){m=!0;break}j=!0}c.offset=h,i=!1;break;case"]":if(!d){if(l||k){m=!0;break}l=k=!0}c.limit=c.markedOffset=h,i=!1;break;case">":if(!d){if(l){m=!0;break}l=!0}c.limit=h,i=!1;break;case"'":if(!d){if(k){m=!0;break}k=!0}c.markedOffset=h,i=!1;break;case" ":i=!1;break;default:if(!d&&i){m=!0;break}if(f=parseInt(f+a.charAt(g++),16),!d&&(isNaN(f)||0>f||f>255))throw new TypeError("Illegal str: Not a debug encoded string");c.view.setUint8(h++,f),i=!0}if(m)throw new TypeError("Illegal str: Invalid symbol at "+g)}if(!d){if(!j||!l)throw new TypeError("Illegal str: Missing offset or limit");if(h>>=0,"number"!=typeof b||0!==b%1)throw new TypeError("Illegal end: Not an integer");if(b>>>=0,0>a||a>b||b>this.buffer.byteLength)throw new RangeError("Illegal range: 0 <= "+a+" <= "+b+" <= "+this.buffer.byteLength)}for(var c,d=Array(b-a);b>a;)c=this.view.getUint8(a++),16>c?d.push("0",c.toString(16)):d.push(c.toString(16));return d.join("")},b.fromHex=function(a,c,d){if(!d){if("string"!=typeof a)throw new TypeError("Illegal str: Not a string");if(0!==a.length%2)throw new TypeError("Illegal str: Length not a multiple of 2")}var e=a.length;c=new b(e/2|0,c);for(var f,g=0,h=0;e>g;g+=2){if(f=parseInt(a.substring(g,g+2),16),!d&&(!isFinite(f)||0>f||f>255))throw new TypeError("Illegal str: Contains non-hex characters");c.view.setUint8(h++,f)}return c.limit=h,c};var e=function(){var a={k:1114111,j:function(a,b){var c=null;for("number"==typeof a&&(c=a,a=function(){return null});null!==c||null!==(c=a());)128>c?b(127&c):(2048>c?b(c>>6&31|192):(65536>c?b(c>>12&15|224):(b(c>>18&7|240),b(c>>12&63|128)),b(c>>6&63|128)),b(63&c|128)),c=null},i:function(a,b){function c(a){a=a.slice(0,a.indexOf(null));var b=Error(a.toString());throw b.name="TruncatedError",b.bytes=a,b}for(var d,e,f,g;null!==(d=a());)if(0===(128&d))b(d);else if(192===(224&d))null===(e=a())&&c([d,e]),b((31&d)<<6|63&e);else if(224===(240&d))null!==(e=a())&&null!==(f=a())||c([d,e,f]),b((15&d)<<12|(63&e)<<6|63&f);else{if(240!==(248&d))throw RangeError("Illegal starting byte: "+d);null!==(e=a())&&null!==(f=a())&&null!==(g=a())||c([d,e,f,g]),b((7&d)<<18|(63&e)<<12|(63&f)<<6|63&g)}},f:function(a,b){for(var c,d=null;null!==(c=null!==d?d:a());)c>=55296&&57343>=c&&null!==(d=a())&&d>=56320&&57343>=d?(b(1024*(c-55296)+d-56320+65536),d=null):b(c);null!==d&&b(d)},g:function(a,b){var c=null;for("number"==typeof a&&(c=a,a=function(){return null});null!==c||null!==(c=a());)65535>=c?b(c):(c-=65536,b((c>>10)+55296),b(c%1024+56320)),c=null},e:function(b,c){a.f(b,function(b){a.j(b,c)})},d:function(b,c){a.i(b,function(b){a.g(b,c)})},h:function(a){return 128>a?1:2048>a?2:65536>a?3:4},l:function(b){for(var c,d=0;null!==(c=b());)d+=a.h(c);return d},b:function(b){var c=0,d=0;return a.f(b,function(b){++c,d+=a.h(b)}),[c,d]}};return a}(),f=String.fromCharCode;return e.a=function(a){var b=0;return function(){return b>>=0,"number"!=typeof b||0!==b%1)throw new TypeError("Illegal end: Not an integer");if(b>>>=0,0>a||a>b||b>this.buffer.byteLength)throw new RangeError("Illegal range: 0 <= "+a+" <= "+b+" <= "+this.buffer.byteLength)}var c,d=this;try{e.d(function(){return b>a?d.view.getUint8(a++):null},c=e.c())}catch(f){if(a!==b)throw new RangeError("Illegal range: Truncated data, "+a+" != "+b)}return c()},b.fromUTF8=function(a,c,d){if(!d&&"string"!=typeof a)throw new TypeError("Illegal str: Not a string");var f=new b(e.b(e.a(a),!0)[1],c,d),g=0;return e.e(e.a(a),function(a){f.view.setUint8(g++,a)}),f.limit=g,f},b}"undefined"!=typeof b&&b.exports?b.exports=d(a("long")):"undefined"!=typeof define&&define.amd?define("ByteBuffer",["Math/Long"],function(a){return d(a)}):(c.dcodeIO||(c.dcodeIO={}),c.dcodeIO.ByteBuffer=d(c.dcodeIO.Long))}(this)},{"long":44}],43:[function(a,b,c){!function(a){"use strict";var c=function(a,b,c){a&&"object"==typeof a&&(b=a.high,c=a.unsigned,a=a.low),this.low=0|a,this.high=0|b,this.unsigned=!!c},d={},e={};c.fromInt=function(a,b){var f,g;return b?(a>>>=0,a>=0&&256>a&&(g=e[a])?g:(f=new c(a,0>(0|a)?-1:0,!0),a>=0&&256>a&&(e[a]=f),f)):(a=0|a,a>=-128&&128>a&&(g=d[a])?g:(f=new c(a,0>a?-1:0,!1),a>=-128&&128>a&&(d[a]=f),f))},c.fromNumber=function(a,b){return b=!!b,isNaN(a)||!isFinite(a)?c.ZERO:!b&&-i>=a?c.MIN_SIGNED_VALUE:!b&&a+1>=i?c.MAX_SIGNED_VALUE:b&&a>=h?c.MAX_UNSIGNED_VALUE:0>a?c.fromNumber(-a,b).negate():new c(a%g|0,a/g|0,b)},c.fromBits=function(a,b,d){return new c(a,b,d)},c.from28Bits=function(a,b,d,e){return c.fromBits(a|b<<28,b>>>4|d<<24,e)},c.fromString=function(a,b,d){if(0===a.length)throw Error("number format error: empty string");if("NaN"===a||"Infinity"===a||"+Infinity"===a||"-Infinity"===a)return c.ZERO;if("number"==typeof b&&(d=b,b=!1),d=d||10,2>d||d>36)throw Error("radix out of range: "+d);var e;if((e=a.indexOf("-"))>0)throw Error('number format error: interior "-" character: '+a);if(0===e)return c.fromString(a.substring(1),b,d).negate();for(var f=c.fromNumber(Math.pow(d,8)),g=c.ZERO,h=0;hi){var k=c.fromNumber(Math.pow(d,i));g=g.multiply(k).add(c.fromNumber(j))}else g=g.multiply(f),g=g.add(c.fromNumber(j))}return g.unsigned=b,g};var f=65536,g=f*f,h=g*g,i=h/2,j=c.fromInt(1<<24);c.ZERO=c.fromInt(0),c.UZERO=c.fromInt(0,!0),c.ONE=c.fromInt(1),c.UONE=c.fromInt(1,!0),c.NEG_ONE=c.fromInt(-1),c.MAX_SIGNED_VALUE=c.fromBits(-1,2147483647,!1),c.MAX_UNSIGNED_VALUE=c.fromBits(-1,-1,!0),c.MAX_VALUE=c.MAX_SIGNED_VALUE,c.MIN_SIGNED_VALUE=c.fromBits(0,-2147483648,!1),c.MIN_UNSIGNED_VALUE=c.fromBits(0,0,!0),c.MIN_VALUE=c.MIN_SIGNED_VALUE,c.prototype.toInt=function(){return this.unsigned?this.low>>>0:this.low},c.prototype.toNumber=function(){return this.unsigned?(this.high>>>0)*g+(this.low>>>0):this.high*g+(this.low>>>0)},c.prototype.toString=function(a){if(a=a||10,2>a||a>36)throw new Error("radix out of range: "+a);if(this.isZero())return"0";var b;if(this.isNegative()){if(this.equals(c.MIN_SIGNED_VALUE)){var d=c.fromNumber(a),e=this.div(d);return b=e.multiply(d).subtract(this),e.toString(a)+b.toInt().toString(a)}return"-"+this.negate().toString(a)}var f=c.fromNumber(Math.pow(a,6),this.unsigned);b=this;for(var g="";;){var h=b.div(f),i=b.subtract(h.multiply(f)).toInt()>>>0,j=i.toString(a);if(b=h,b.isZero())return j+g;for(;j.length<6;)j="0"+j;g=""+j+g}},c.prototype.getHighBits=function(){return this.high},c.prototype.getHighBitsUnsigned=function(){return this.high>>>0},c.prototype.getLowBits=function(){return this.low},c.prototype.getLowBitsUnsigned=function(){return this.low>>>0},c.prototype.getNumBitsAbs=function(){if(this.isNegative())return this.equals(c.MIN_SIGNED_VALUE)?64:this.negate().getNumBitsAbs();for(var a=0!=this.high?this.high:this.low,b=31;b>0&&0==(a&1<>>31!=a.high>>>31?!1:this.high==a.high&&this.low==a.low},c.prototype.notEquals=function(a){return!this.equals(a)},c.prototype.lessThan=function(a){return this.compare(a)<0},c.prototype.lessThanOrEqual=function(a){return this.compare(a)<=0},c.prototype.greaterThan=function(a){return this.compare(a)>0},c.prototype.greaterThanOrEqual=function(a){return this.compare(a)>=0},c.prototype.compare=function(a){if(this.equals(a))return 0;var b=this.isNegative(),c=a.isNegative();return b&&!c?-1:!b&&c?1:this.unsigned?a.high>>>0>this.high>>>0||a.high==this.high&&a.low>>>0>this.low>>>0?-1:1:this.subtract(a).isNegative()?-1:1},c.prototype.negate=function(){return!this.unsigned&&this.equals(c.MIN_SIGNED_VALUE)?c.MIN_SIGNED_VALUE:this.not().add(c.ONE)},c.prototype.add=function(a){var b=this.high>>>16,d=65535&this.high,e=this.low>>>16,f=65535&this.low,g=a.high>>>16,h=65535&a.high,i=a.low>>>16,j=65535&a.low,k=0,l=0,m=0,n=0;return n+=f+j,m+=n>>>16,n&=65535,m+=e+i,l+=m>>>16,m&=65535,l+=d+h,k+=l>>>16,l&=65535,k+=b+g,k&=65535,c.fromBits(m<<16|n,k<<16|l,this.unsigned)},c.prototype.subtract=function(a){return this.add(a.negate())},c.prototype.multiply=function(a){if(this.isZero())return c.ZERO;if(a.isZero())return c.ZERO;if(this.equals(c.MIN_VALUE))return a.isOdd()?c.MIN_VALUE:c.ZERO;if(a.equals(c.MIN_VALUE))return this.isOdd()?c.MIN_VALUE:c.ZERO;if(this.isNegative())return a.isNegative()?this.negate().multiply(a.negate()):this.negate().multiply(a).negate();if(a.isNegative())return this.multiply(a.negate()).negate();if(this.lessThan(j)&&a.lessThan(j))return c.fromNumber(this.toNumber()*a.toNumber(),this.unsigned);var b=this.high>>>16,d=65535&this.high,e=this.low>>>16,f=65535&this.low,g=a.high>>>16,h=65535&a.high,i=a.low>>>16,k=65535&a.low,l=0,m=0,n=0,o=0;return o+=f*k,n+=o>>>16,o&=65535,n+=e*k,m+=n>>>16,n&=65535,n+=f*i,m+=n>>>16,n&=65535,m+=d*k,l+=m>>>16,m&=65535,m+=e*i,l+=m>>>16,m&=65535,m+=f*h,l+=m>>>16,m&=65535,l+=b*k+d*i+e*h+f*g,l&=65535,c.fromBits(n<<16|o,l<<16|m,this.unsigned)},c.prototype.div=function(a){if(a.isZero())throw new Error("division by zero");if(this.isZero())return this.unsigned?c.UZERO:c.ZERO;var b,d,e;if(this.equals(c.MIN_SIGNED_VALUE)){if(a.equals(c.ONE)||a.equals(c.NEG_ONE))return c.MIN_SIGNED_VALUE;if(a.equals(c.MIN_SIGNED_VALUE))return c.ONE;var f=this.shiftRight(1);return b=f.div(a).shiftLeft(1),b.equals(c.ZERO)?a.isNegative()?c.ONE:c.NEG_ONE:(d=this.subtract(a.multiply(b)),e=b.add(d.div(a)))}if(a.equals(c.MIN_SIGNED_VALUE))return this.unsigned?c.UZERO:c.ZERO;if(this.isNegative())return a.isNegative()?this.negate().div(a.negate()):this.negate().div(a).negate();if(a.isNegative())return this.div(a.negate()).negate();for(e=c.ZERO,d=this;d.greaterThanOrEqual(a);){b=Math.max(1,Math.floor(d.toNumber()/a.toNumber()));for(var g=Math.ceil(Math.log(b)/Math.LN2),h=48>=g?1:Math.pow(2,g-48),i=c.fromNumber(b),j=i.multiply(a);j.isNegative()||j.greaterThan(d);)b-=h,i=c.fromNumber(b,this.unsigned),j=i.multiply(a);i.isZero()&&(i=c.ONE),e=e.add(i),d=d.subtract(j)}return e},c.prototype.modulo=function(a){return this.subtract(this.div(a).multiply(a))},c.prototype.not=function(){return c.fromBits(~this.low,~this.high,this.unsigned)},c.prototype.and=function(a){return c.fromBits(this.low&a.low,this.high&a.high,this.unsigned)},c.prototype.or=function(a){return c.fromBits(this.low|a.low,this.high|a.high,this.unsigned)},c.prototype.xor=function(a){return c.fromBits(this.low^a.low,this.high^a.high,this.unsigned)},c.prototype.shiftLeft=function(a){return 0===(a&=63)?this:32>a?c.fromBits(this.low<>>32-a,this.unsigned):c.fromBits(0,this.low<a?c.fromBits(this.low>>>a|this.high<<32-a,this.high>>a,this.unsigned):c.fromBits(this.high>>a-32,this.high>=0?0:-1,this.unsigned)},c.prototype.shiftRightUnsigned=function(a){if(a&=63,0==a)return this;var b=this.high;if(32>a){var d=this.low;return c.fromBits(d>>>a|b<<32-a,b>>>a,this.unsigned)}return 32==a?c.fromBits(b,0,this.unsigned):c.fromBits(b>>>a-32,0,this.unsigned)},c.prototype.toSigned=function(){var a=this.clone();return a.unsigned=!1,a},c.prototype.toUnsigned=function(){var a=this.clone();return a.unsigned=!0,a},c.prototype.clone=function(){return new c(this.low,this.high,this.unsigned)},"undefined"!=typeof b&&b.exports?b.exports=c:"undefined"!=typeof define&&define.amd?define("Math/Long",[],function(){return c}):(a.dcodeIO||(a.dcodeIO={}),a.dcodeIO.Long=c)}(this)},{}],44:[function(a,b,c){b.exports=a("./dist/Long.js")},{"./dist/Long.js":43}],45:[function(a,b,c){var d=b.exports=a("./lib/walletutils");d.Bitcore=a("bitcore")},{"./lib/walletutils":46,bitcore:51}],46:[function(a,b,c){(function(c){"use strict";function d(){}var e=a("lodash"),f=a("preconditions").singleton(),g=a("sjcl"),h=a("json-stable-stringify"),i=a("bitcore"),j=i.Address,k=i.PrivateKey,l=i.PublicKey,m=i.crypto,n=i.encoding;d.SCRIPT_TYPES={P2SH:"P2SH",P2PKH:"P2PKH"},d.DERIVATION_STRATEGIES={BIP44:"BIP44",BIP45:"BIP45"},d.PATHS={BASE_ADDRESS_DERIVATION:{BIP45:{livenet:"m/45'",testnet:"m/45'"},BIP44:{livenet:"m/44'/0'/0'",testnet:"m/44'/1'/0'"}},REQUEST_KEY:"m/1'/0",TXPROPOSAL_KEY:"m/1'/1",REQUEST_KEY_AUTH:"m/2"},d.DEFAULT_FEE_PER_KB=1e4,d.MIN_FEE_PER_KB=0,d.MAX_FEE_PER_KB=1e6,d.MAX_TX_FEE=1e8,d.hashMessage=function(a){f.checkArgument(a);var b=new c(a),d=m.Hash.sha256sha256(b);return d=new i.encoding.BufferReader(d).readReverse()},d.signMessage=function(a,b){f.checkArgument(a);var c=new k(b),e=d.hashMessage(a);return m.ECDSA.sign(e,c,"little").toString()},d.verifyMessage=function(a,b,c){if(f.checkArgument(a),f.checkArgument(c),!b)return!1;var e=new l(c),g=d.hashMessage(a);try{var h=new m.Signature.fromString(b);return m.ECDSA.verify(g,h,e,"little")}catch(i){return!1}},d.deriveAddress=function(a,b,c,g,h){f.checkArgument(e.contains(e.keys(d.SCRIPT_TYPES),a));var k,l=e.map(b,function(a){var b=new i.HDPublicKey(a.xPubKey);return b.derive(c).publicKey});switch(a){case d.SCRIPT_TYPES.P2SH:k=j.createMultisig(l,g,h);break;case d.SCRIPT_TYPES.P2PKH:f.checkState(e.isArray(l)&&1==l.length),k=j.fromPublicKey(l[0],h)}return{address:k.toString(),path:c,publicKeys:e.invoke(l,"toString")}},d.getProposalHash=function(a){function b(a,b,c,d){return[a,b,c||"",d||""].join("|")}return arguments.length>1?b.apply(this,arguments):h(a)},d.getCopayerHash=function(a,b,c){return[a,b,c].join("|")},d.xPubToCopayerId=function(a){var b=g.hash.sha256.hash(a);return g.codec.hex.fromBits(b)},d.toSecret=function(a,b,d){e.isString(b)&&(b=i.PrivateKey.fromString(b));var f=new c(a.replace(/-/g,""),"hex"),g=new n.Base58(f).toString();return e.padRight(g,22,"0")+b.toWIF()+("testnet"==d?"T":"L")},d.fromSecret=function(a){function b(a,b){var c=[];b.push(a.length);for(var d=0;d1&&(f.checkState(b.outputs.length==a.outputOrder.length),b.sortOutputs(function(b){return e.map(a.outputOrder,function(a){return b[a]})}));var c=e.reduce(a.inputs,function(a,b){return+b.satoshis+a},0),g=e.reduce(b.outputs,function(a,b){return+b.satoshis+a},0);return f.checkState(c-g<=d.MAX_TX_FEE),b},d.deriveXPrivFromMaster=function(a,b,c){var e=d.PATHS.BASE_ADDRESS_DERIVATION[b][c];return new i.HDPrivateKey(a,c).derive(e)},d.signTxp=function(a,b){f.checkArgument(a),f.checkArgument(b),f.checkArgument(a.amount||a.outputs&&a.outputs[0].amount,"amount is invalid"),f.checkArgument(a.changeAddress&&a.changeAddress.address,"changeAddress is invalid"),f.checkState(e.contains(e.values(d.DERIVATION_STRATEGIES),a.derivationStrategy));var c=[],g={},h=new i.Address(a.changeAddress.address).network.name,j=d.deriveXPrivFromMaster(b,a.derivationStrategy,h);e.each(a.inputs,function(a){g[a.path]||(g[a.path]=j.derive(a.path).privateKey,c.push(g[a.path]))});var k=d.buildTx(a),l=e.map(c,function(a,b){return k.getSignatures(a)});return l=e.map(e.sortBy(e.flatten(l),"inputIndex"),function(a){return a.signature.toDER().toString("hex")})},d.getNetworkFromExtendedKey=function(a){return f.checkArgument(a&&e.isString(a)),"t"==a.charAt(0)?"testnet":"livenet"};var o={btc:{toSatoshis:1e8,maxDecimals:6,minDecimals:2},bit:{toSatoshis:100,maxDecimals:0,minDecimals:0}};d.formatAmount=function(a,b,c){function d(a,b,c,d){a=a.replace(".",c);var f=a.split(c),g=f[0],h=f[1];h=e.dropRightWhile(h,function(a,b){return"0"==a&&b>=d}).join("");var i=f.length>1?c+h:"";return g=g.replace(/\B(?=(\d{3})+(?!\d))/g,b),g+i}f.shouldBeNumber(a),f.checkArgument(e.contains(e.keys(o),b)),c=c||{};var g=o[b],h=(a/g.toSatoshis).toFixed(g.maxDecimals);return d(h,c.thousandsSeparator||",",c.decimalSeparator||".",g.minDecimals)},d.signRequestPubKey=function(a,b){var c=new i.HDPrivateKey(b).derive(d.PATHS.REQUEST_KEY_AUTH).privateKey;return d.signMessage(a,c)},d.verifyRequestPubKey=function(a,b,c){var e=new i.HDPublicKey(c).derive(d.PATHS.REQUEST_KEY_AUTH).publicKey;return d.verifyMessage(a,b,e.toString())},b.exports=d}).call(this,a("buffer").Buffer)},{bitcore:51,buffer:145,"json-stable-stringify":47,lodash:324,preconditions:325,sjcl:421}],47:[function(a,b,c){var d="undefined"!=typeof JSON?JSON:a("jsonify");b.exports=function(a,b){b||(b={}),"function"==typeof b&&(b={cmp:b});var c=b.space||"";"number"==typeof c&&(c=Array(c+1).join(" "));var g="boolean"==typeof b.cycles?b.cycles:!1,h=b.replacer||function(a,b){return b},i=b.cmp&&function(a){return function(b){return function(c,d){var e={key:c,value:b[c]},f={key:d,value:b[d]};return a(e,f)}}}(b.cmp),j=[];return function k(a,b,l,m){var n=c?"\n"+new Array(m+1).join(c):"",o=c?": ":":";if(l&&l.toJSON&&"function"==typeof l.toJSON&&(l=l.toJSON()),l=h.call(a,b,l),void 0!==l){if("object"!=typeof l||null===l)return d.stringify(l);if(e(l)){for(var p=[],q=0;q="0"&&"9">=e;)b+=e,j();if("."===e)for(b+=".";j()&&e>="0"&&"9">=e;)b+=e;if("e"===e||"E"===e)for(b+=e,j(),("-"===e||"+"===e)&&(b+=e,j());e>="0"&&"9">=e;)b+=e,j();return a=+b,isFinite(a)?a:void i("Bad number")},l=function(){var a,b,c,d="";if('"'===e)for(;j();){if('"'===e)return j(),d;if("\\"===e)if(j(),"u"===e){for(c=0,b=0;4>b&&(a=parseInt(j(),16),isFinite(a));b+=1)c=16*c+a;d+=String.fromCharCode(c)}else{if("string"!=typeof h[e])break;d+=h[e]}else d+=e}i("Bad string")},m=function(){for(;e&&" ">=e;)j()},n=function(){switch(e){case"t":return j("t"),j("r"),j("u"),j("e"),!0;case"f":return j("f"),j("a"),j("l"),j("s"),j("e"),!1;case"n":return j("n"),j("u"),j("l"),j("l"),null}i("Unexpected '"+e+"'")},o=function(){var a=[];if("["===e){if(j("["),m(),"]"===e)return j("]"),a;for(;e;){if(a.push(g()),m(),"]"===e)return j("]"),a;j(","),m()}}i("Bad array")},p=function(){var a,b={};if("{"===e){if(j("{"),m(),"}"===e)return j("}"),b;for(;e;){if(a=l(),m(),j(":"),Object.hasOwnProperty.call(b,a)&&i('Duplicate key "'+a+'"'),b[a]=g(),m(),"}"===e)return j("}"),b;j(","),m()}}i("Bad object")};g=function(){switch(m(),e){case"{":return p();case"[":return o();case'"':return l();case"-":return k();default:return e>="0"&&"9">=e?k():n()}},b.exports=function(a,b){var c;return f=a,d=0,e=" ",c=g(),m(),e&&i("Syntax error"),"function"==typeof b?function h(a,c){var d,e,f=a[c];if(f&&"object"==typeof f)for(d in f)Object.prototype.hasOwnProperty.call(f,d)&&(e=h(f,d),void 0!==e?f[d]=e:delete f[d]);return b.call(a,c,f)}({"":c},""):c}},{}],50:[function(a,b,c){function d(a){return i.lastIndex=0,i.test(a)?'"'+a.replace(i,function(a){var b=j[a];return"string"==typeof b?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function e(a,b){var c,i,j,k,l,m=f,n=b[a];switch(n&&"object"==typeof n&&"function"==typeof n.toJSON&&(n=n.toJSON(a)),"function"==typeof h&&(n=h.call(b,a,n)),typeof n){case"string":return d(n);case"number":return isFinite(n)?String(n):"null";case"boolean":case"null":return String(n);case"object":if(!n)return"null";if(f+=g,l=[],"[object Array]"===Object.prototype.toString.apply(n)){for(k=n.length,c=0;k>c;c+=1)l[c]=e(c,n)||"null";return j=0===l.length?"[]":f?"[\n"+f+l.join(",\n"+f)+"\n"+m+"]":"["+l.join(",")+"]",f=m,j}if(h&&"object"==typeof h)for(k=h.length,c=0;k>c;c+=1)i=h[c],"string"==typeof i&&(j=e(i,n),j&&l.push(d(i)+(f?": ":":")+j));else for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(j=e(i,n),j&&l.push(d(i)+(f?": ":":")+j));return j=0===l.length?"{}":f?"{\n"+f+l.join(",\n"+f)+"\n"+m+"}":"{"+l.join(",")+"}",f=m,j}}var f,g,h,i=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,j={ -"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};b.exports=function(a,b,c){var d;if(f="",g="","number"==typeof c)for(d=0;c>d;d+=1)g+=" ";else"string"==typeof c&&(g=c);if(h=b,b&&"function"!=typeof b&&("object"!=typeof b||"number"!=typeof b.length))throw new Error("JSON.stringify");return e("",{"":a})}},{}],51:[function(a,b,c){(function(c,d){"use strict";var e=b.exports;e.version="v"+a("./package.json").version,e.versionGuard=function(a){if(void 0!==a){var b="More than one instance of bitcore found with versions: "+e.version+" and "+a+". Please make sure to require bitcore and check that submodules do not also include their own bitcore dependency.";throw new Error(b)}},e.versionGuard(c._bitcore),c._bitcore=e.version,e.crypto={},e.crypto.BN=a("./lib/crypto/bn"),e.crypto.ECDSA=a("./lib/crypto/ecdsa"),e.crypto.Hash=a("./lib/crypto/hash"),e.crypto.Random=a("./lib/crypto/random"),e.crypto.Point=a("./lib/crypto/point"),e.crypto.Signature=a("./lib/crypto/signature"),e.encoding={},e.encoding.Base58=a("./lib/encoding/base58"),e.encoding.Base58Check=a("./lib/encoding/base58check"),e.encoding.BufferReader=a("./lib/encoding/bufferreader"),e.encoding.BufferWriter=a("./lib/encoding/bufferwriter"),e.encoding.Varint=a("./lib/encoding/varint"),e.util={},e.util.buffer=a("./lib/util/buffer"),e.util.js=a("./lib/util/js"),e.util.preconditions=a("./lib/util/preconditions"),e.errors=a("./lib/errors"),e.Address=a("./lib/address"),e.Block=a("./lib/block"),e.MerkleBlock=a("./lib/block/merkleblock"),e.BlockHeader=a("./lib/block/blockheader"),e.HDPrivateKey=a("./lib/hdprivatekey.js"),e.HDPublicKey=a("./lib/hdpublickey.js"),e.Networks=a("./lib/networks"),e.Opcode=a("./lib/opcode"),e.PrivateKey=a("./lib/privatekey"),e.PublicKey=a("./lib/publickey"),e.Script=a("./lib/script"),e.Transaction=a("./lib/transaction"),e.URI=a("./lib/uri"),e.Unit=a("./lib/unit"),e.deps={},e.deps.bnjs=a("bn.js"),e.deps.bs58=a("bs58"),e.deps.Buffer=d,e.deps.elliptic=a("elliptic"),e.deps._=a("lodash"),e._HDKeyCache=a("./lib/hdkeycache"),e.Transaction.sighash=a("./lib/transaction/sighash")}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},a("buffer").Buffer)},{"./lib/address":52,"./lib/block":55,"./lib/block/blockheader":54,"./lib/block/merkleblock":56,"./lib/crypto/bn":57,"./lib/crypto/ecdsa":58,"./lib/crypto/hash":59,"./lib/crypto/point":60,"./lib/crypto/random":61,"./lib/crypto/signature":62,"./lib/encoding/base58":63,"./lib/encoding/base58check":64,"./lib/encoding/bufferreader":65,"./lib/encoding/bufferwriter":66,"./lib/encoding/varint":67,"./lib/errors":68,"./lib/hdkeycache":70,"./lib/hdprivatekey.js":71,"./lib/hdpublickey.js":72,"./lib/networks":73,"./lib/opcode":74,"./lib/privatekey":75,"./lib/publickey":76,"./lib/script":77,"./lib/transaction":80,"./lib/transaction/sighash":87,"./lib/unit":91,"./lib/uri":92,"./lib/util/buffer":93,"./lib/util/js":94,"./lib/util/preconditions":95,"./package.json":127,"bn.js":96,bs58:97,buffer:145,elliptic:98,lodash:120}],52:[function(a,b,c){(function(c){"use strict";function d(a,b,c){if(!(this instanceof d))return new d(a,b,c);if(e.isArray(a)&&e.isNumber(b))return d.createMultisig(a,b,c);if(a instanceof d)return a;if(f.checkArgument(a,"First argument is required, please include address data.","guide/address.html"),b&&!i.get(b))throw new TypeError('Second argument must be "livenet" or "testnet".');if(c&&c!==d.PayToPublicKeyHash&&c!==d.PayToScriptHash)throw new TypeError('Third argument must be "pubkeyhash" or "scripthash".');var g=this._classifyArguments(a,b,c);return g.network=g.network||i.get(b)||i.defaultNetwork,g.type=g.type||c||d.PayToPublicKeyHash,k.defineImmutable(this,{hashBuffer:g.hashBuffer,network:g.network,type:g.type}),this}var e=a("lodash"),f=a("./util/preconditions"),g=a("./errors"),h=a("./encoding/base58check"),i=a("./networks"),j=a("./crypto/hash"),k=a("./util/js"),l=a("./publickey");d.prototype._classifyArguments=function(a,b,f){if((a instanceof c||a instanceof Uint8Array)&&20===a.length)return d._transformHash(a);if((a instanceof c||a instanceof Uint8Array)&&21===a.length)return d._transformBuffer(a,b,f);if(a instanceof l)return d._transformPublicKey(a);if(a instanceof m)return d._transformScript(a,b);if("string"==typeof a)return d._transformString(a,b,f);if(e.isObject(a))return d._transformObject(a);throw new TypeError("First argument is an unrecognized data format.")},d.PayToPublicKeyHash="pubkeyhash",d.PayToScriptHash="scripthash",d._transformHash=function(a){var b={};if(!(a instanceof c||a instanceof Uint8Array))throw new TypeError("Address supplied is not a buffer.");if(20!==a.length)throw new TypeError("Address hashbuffers must be exactly 20 bytes.");return b.hashBuffer=a,b},d._transformObject=function(a){return f.checkArgument(a.hash||a.hashBuffer,"Must provide a `hash` or `hashBuffer` property"),f.checkArgument(a.type,"Must provide a `type` property"),{hashBuffer:a.hash?new c(a.hash,"hex"):a.hashBuffer,network:i.get(a.network)||i.defaultNetwork,type:a.type}},d._classifyFromVersion=function(a){var b={},c=i.get(a[0],"pubkeyhash"),e=i.get(a[0],"scripthash");return c?(b.network=c,b.type=d.PayToPublicKeyHash):e&&(b.network=e,b.type=d.PayToScriptHash),b},d._transformBuffer=function(a,b,e){var f={};if(!(a instanceof c||a instanceof Uint8Array))throw new TypeError("Address supplied is not a buffer.");if(21!==a.length)throw new TypeError("Address buffers must be exactly 21 bytes.");b=i.get(b);var g=d._classifyFromVersion(a);if(!g.network||b&&b!==g.network)throw new TypeError("Address has mismatched network type.");if(!g.type||e&&e!==g.type)throw new TypeError("Address has mismatched type.");return f.hashBuffer=a.slice(1),f.network=g.network,f.type=g.type,f},d._transformPublicKey=function(a){var b={};if(!(a instanceof l))throw new TypeError("Address must be an instance of PublicKey.");return b.hashBuffer=j.sha256ripemd160(a.toBuffer()),b.type=d.PayToPublicKeyHash,b},d._transformScript=function(a,b){f.checkArgument(a instanceof m,"script must be a Script instance");var c=a.getAddressInfo(b);if(!c)throw new g.Script.CantDeriveAddress(a);return c},d.createMultisig=function(a,b,c){return c=c||a[0].network||i.defaultNetwork,d.payingTo(m.buildMultisigOut(a,b),c)},d._transformString=function(a,b,c){if("string"!=typeof a)throw new TypeError("data parameter supplied is not a string.");a=a.trim();var e=h.decode(a),f=d._transformBuffer(e,b,c);return f},d.fromPublicKey=function(a,b){var c=d._transformPublicKey(a);return b=b||i.defaultNetwork,new d(c.hashBuffer,b,c.type)},d.fromPublicKeyHash=function(a,b){var c=d._transformHash(a);return new d(c.hashBuffer,b,d.PayToPublicKeyHash)},d.fromScriptHash=function(a,b){f.checkArgument(a,"hash parameter is required");var c=d._transformHash(a);return new d(c.hashBuffer,b,d.PayToScriptHash)},d.payingTo=function(a,b){return f.checkArgument(a,"script is required"),f.checkArgument(a instanceof m,"script must be instance of Script"),d.fromScriptHash(j.sha256ripemd160(a.toBuffer()),b)},d.fromScript=function(a,b){f.checkArgument(a instanceof m,"script must be a Script instance");var c=d._transformScript(a,b);return new d(c.hashBuffer,b,c.type)},d.fromBuffer=function(a,b,c){var e=d._transformBuffer(a,b,c);return new d(e.hashBuffer,e.network,e.type)},d.fromString=function(a,b,c){var e=d._transformString(a,b,c);return new d(e.hashBuffer,e.network,e.type)},d.fromObject=function(a){f.checkState(k.isHexa(a.hash),'Unexpected hash property, "'+a.hash+'", expected to be hex.');var b=new c(a.hash,"hex");return new d(b,a.network,a.type)},d.getValidationError=function(a,b,c){var e;try{new d(a,b,c)}catch(f){e=f}return e},d.isValid=function(a,b,c){return!d.getValidationError(a,b,c)},d.prototype.isPayToPublicKeyHash=function(){return this.type===d.PayToPublicKeyHash},d.prototype.isPayToScriptHash=function(){return this.type===d.PayToScriptHash},d.prototype.toBuffer=function(){var a=new c([this.network[this.type]]),b=c.concat([a,this.hashBuffer]);return b},d.prototype.toObject=d.prototype.toJSON=function(){return{hash:this.hashBuffer.toString("hex"),type:this.type,network:this.network.toString()}},d.prototype.toString=function(){return h.encode(this.toBuffer())},d.prototype.inspect=function(){return""},b.exports=d;var m=a("./script")}).call(this,a("buffer").Buffer)},{"./crypto/hash":59,"./encoding/base58check":64,"./errors":68,"./networks":73,"./publickey":76,"./script":77,"./util/js":94,"./util/preconditions":95,buffer:145,lodash:120}],53:[function(a,b,c){(function(c){"use strict";function d(a){return this instanceof d?(e.extend(this,d._from(a)),this):new d(a)}var e=a("lodash"),f=a("./blockheader"),g=a("../crypto/bn"),h=a("../util/buffer"),i=a("../encoding/bufferreader"),j=a("../encoding/bufferwriter"),k=a("../crypto/hash"),l=a("../transaction"),m=a("../util/preconditions");d.MAX_BLOCK_SIZE=1e6,d._from=function(a){var b={};if(h.isBuffer(a))b=d._fromBufferReader(i(a));else{if(!e.isObject(a))throw new TypeError("Unrecognized argument for Block");b=d._fromObject(a)}return b},d._fromObject=function(a){var b=[];a.transactions.forEach(function(a){a instanceof l?b.push(a):b.push(l().fromObject(a))});var c={header:f.fromObject(a.header),transactions:b};return c},d.fromObject=function(a){var b=d._fromObject(a);return new d(b)},d._fromBufferReader=function(a){var b={};m.checkState(!a.finished(),"No block data received"),b.header=f.fromBufferReader(a);var c=a.readVarintNum();b.transactions=[];for(var d=0;c>d;d++)b.transactions.push(l().fromBufferReader(a));return b},d.fromBufferReader=function(a){m.checkArgument(a,"br is required");var b=d._fromBufferReader(a);return new d(b)},d.fromBuffer=function(a){return d.fromBufferReader(new i(a))},d.fromString=function(a){var b=new c(a,"hex");return d.fromBuffer(b)},d.fromRawBlock=function(a){h.isBuffer(a)||(a=new c(a,"binary"));var b=i(a);b.pos=d.Values.START_OF_BLOCK;var e=d._fromBufferReader(b);return new d(e)},d.prototype.toObject=d.prototype.toJSON=function(){var a=[];return this.transactions.forEach(function(b){a.push(b.toObject())}),{header:this.header.toObject(),transactions:a}},d.prototype.toBuffer=function(){return this.toBufferWriter().concat()},d.prototype.toString=function(){return this.toBuffer().toString("hex")},d.prototype.toBufferWriter=function(a){a||(a=new j),a.write(this.header.toBuffer()),a.writeVarintNum(this.transactions.length);for(var b=0;b1;d=Math.floor((d+1)/2)){for(var e=0;d>e;e+=2){var f=Math.min(e+1,d-1),g=c.concat([a[b+e],a[b+f]]);a.push(k.sha256sha256(g))}b+=d}return a},d.prototype.getMerkleRoot=function(){var a=this.getMerkleTree();return a[a.length-1]},d.prototype.validMerkleRoot=function(){var a=new g(this.header.merkleRoot.toString("hex"),"hex"),b=new g(this.getMerkleRoot().toString("hex"),"hex");return 0!==a.cmp(b)?!1:!0},d.prototype._getHash=function(){return this.header._getHash()};var n={configurable:!1,enumerable:!0,get:function(){return this._id||(this._id=this.header.id),this._id},set:e.noop};Object.defineProperty(d.prototype,"id",n),Object.defineProperty(d.prototype,"hash",n),d.prototype.inspect=function(){return""},d.Values={START_OF_BLOCK:8,NULL_HASH:new c("0000000000000000000000000000000000000000000000000000000000000000","hex")},b.exports=d}).call(this,a("buffer").Buffer)},{"../crypto/bn":57,"../crypto/hash":59,"../encoding/bufferreader":65,"../encoding/bufferwriter":66,"../transaction":80,"../util/buffer":93,"../util/preconditions":95,"./blockheader":54,buffer:145,lodash:120}],54:[function(a,b,c){(function(c){"use strict";var d=a("lodash"),e=a("../crypto/bn"),f=a("../util/buffer"),g=a("../encoding/bufferreader"),h=a("../encoding/bufferwriter"),i=a("../crypto/hash"),j=(a("../util/js"),a("../util/preconditions")),k=function m(a){if(!(this instanceof m))return new m(a);var b=m._from(a);return this.version=b.version,this.prevHash=b.prevHash,this.merkleRoot=b.merkleRoot,this.time=b.time,this.timestamp=b.time,this.bits=b.bits,this.nonce=b.nonce,b.hash&&j.checkState(this.hash===b.hash,"Argument object hash property does not match block hash."),this};k._from=function(a){var b={};if(f.isBuffer(a))b=k._fromBufferReader(g(a));else{if(!d.isObject(a))throw new TypeError("Unrecognized argument for BlockHeader");b=k._fromObject(a)}return b},k._fromObject=function(a){j.checkArgument(a,"data is required");var b=a.prevHash,e=a.merkleRoot;d.isString(a.prevHash)&&(b=f.reverse(new c(a.prevHash,"hex"))),d.isString(a.merkleRoot)&&(e=f.reverse(new c(a.merkleRoot,"hex")));var g={hash:a.hash,version:a.version,prevHash:b,merkleRoot:e,time:a.time,timestamp:a.time,bits:a.bits,nonce:a.nonce};return g},k.fromObject=function(a){var b=k._fromObject(a);return new k(b)},k.fromRawBlock=function(a){f.isBuffer(a)||(a=new c(a,"binary"));var b=g(a);b.pos=k.Constants.START_OF_HEADER;var d=k._fromBufferReader(b);return new k(d)},k.fromBuffer=function(a){var b=k._fromBufferReader(g(a));return new k(b)},k.fromString=function(a){var b=new c(a,"hex");return k.fromBuffer(b)},k._fromBufferReader=function(a){var b={};return b.version=a.readUInt32LE(),b.prevHash=a.read(32),b.merkleRoot=a.read(32),b.time=a.readUInt32LE(),b.bits=a.readUInt32LE(),b.nonce=a.readUInt32LE(),b},k.fromBufferReader=function(a){var b=k._fromBufferReader(a);return new k(b)},k.prototype.toObject=k.prototype.toJSON=function(){return{hash:this.hash,version:this.version,prevHash:f.reverse(this.prevHash).toString("hex"),merkleRoot:f.reverse(this.merkleRoot).toString("hex"),time:this.time,bits:this.bits,nonce:this.nonce}},k.prototype.toBuffer=function(){return this.toBufferWriter().concat()},k.prototype.toString=function(){return this.toBuffer().toString("hex")},k.prototype.toBufferWriter=function(a){return a||(a=new h),a.writeUInt32LE(this.version),a.write(this.prevHash),a.write(this.merkleRoot),a.writeUInt32LE(this.time),a.writeUInt32LE(this.bits),a.writeUInt32LE(this.nonce),a},k.prototype.getTargetDifficulty=function(a){for(var b=new e(16777215&this.bits),c=8*((this.bits>>>24)-3);c-->0;)b=b.mul(new e(2));return b},k.prototype._getHash=function(){var a=this.toBuffer();return i.sha256sha256(a)};var l={configurable:!1,enumerable:!0,get:function(){return this._id||(this._id=g(this._getHash()).readReverse().toString("hex")),this._id},set:d.noop};Object.defineProperty(k.prototype,"id",l),Object.defineProperty(k.prototype,"hash",l),k.prototype.validTimestamp=function(){var a=Math.round((new Date).getTime()/1e3);return this.time>a+k.Constants.MAX_TIME_OFFSET?!1:!0},k.prototype.validProofOfWork=function(){var a=new e(this.id,"hex"),b=this.getTargetDifficulty();return a.cmp(b)>0?!1:!0},k.prototype.inspect=function(){return""},k.Constants={START_OF_HEADER:8,MAX_TIME_OFFSET:7200,LARGEST_HASH:new e("10000000000000000000000000000000000000000000000000000000000000000","hex")},b.exports=k}).call(this,a("buffer").Buffer)},{"../crypto/bn":57,"../crypto/hash":59,"../encoding/bufferreader":65,"../encoding/bufferwriter":66,"../util/buffer":93,"../util/js":94,"../util/preconditions":95,buffer:145,lodash:120}],55:[function(a,b,c){b.exports=a("./block"),b.exports.BlockHeader=a("./blockheader"),b.exports.MerkleBlock=a("./merkleblock")},{"./block":53,"./blockheader":54,"./merkleblock":56}],56:[function(a,b,c){(function(c){"use strict";function d(a){if(!(this instanceof d))return new d(a);var b={};if(g.isBuffer(a))b=d._fromBufferReader(h(a));else{if(!e.isObject(a))throw new TypeError("Unrecognized argument for MerkleBlock");var c;c=a.header instanceof f?a.header:f.fromObject(a.header),b={header:c,numTransactions:a.numTransactions,hashes:a.hashes,flags:a.flags}}return e.extend(this,b),this._flagBitsUsed=0,this._hashesUsed=0,this}var e=a("lodash"),f=a("./blockheader"),g=a("../util/buffer"),h=a("../encoding/bufferreader"),i=a("../encoding/bufferwriter"),j=a("../crypto/hash"),k=(a("../util/js"),a("../transaction")),l=a("../util/preconditions");d.fromBuffer=function(a){return d.fromBufferReader(h(a))},d.fromBufferReader=function(a){return new d(d._fromBufferReader(a))},d.prototype.toBuffer=function(){return this.toBufferWriter().concat()},d.prototype.toBufferWriter=function(a){a||(a=new i),a.write(this.header.toBuffer()),a.writeUInt32LE(this.numTransactions),a.writeVarintNum(this.hashes.length);for(var b=0;bthis.numTransactions)return!1;if(8*this.flags.length8*this.flags.length)return null;var e=this.flags[d.flagBitsUsed>>3]>>>(7&d.flagBitsUsed++)&1;if(0!==a&&e){var f=this._traverseMerkleTree(a-1,2*b,d),g=f;return 2*b+1=this.hashes.length)return null;var h=this.hashes[d.hashesUsed++];return 0===a&&e&&d.txs.push(h),new c(h,"hex")},d.prototype._calcTreeWidth=function(a){return this.numTransactions+(1<>a},d.prototype._calcTreeHeight=function(){for(var a=0;this._calcTreeWidth(a)>1;)a++;return a},d.prototype.hasTransaction=function(a){l.checkArgument(!e.isUndefined(a),"tx cannot be undefined"),l.checkArgument(a instanceof k||"string"==typeof a,'Invalid tx given, tx must be a "string" or "Transaction"');var b=a;a instanceof k&&(b=g.reverse(new c(a.id,"hex")).toString("hex"));var d=[],f=this._calcTreeHeight();return this._traverseMerkleTree(f,0,{txs:d}),-1!==d.indexOf(b)},d._fromBufferReader=function(a){l.checkState(!a.finished(),"No merkleblock data received");var b={};b.header=f.fromBufferReader(a),b.numTransactions=a.readUInt32LE();var c=a.readVarintNum();b.hashes=[];for(var d=0;c>d;d++)b.hashes.push(a.read(32).toString("hex"));var e=a.readVarintNum();for(b.flags=[],d=0;e>d;d++)b.flags.push(a.readUInt8());return b},d.fromObject=function(a){return new d(a)},b.exports=d}).call(this,a("buffer").Buffer)},{"../crypto/hash":59,"../encoding/bufferreader":65,"../encoding/bufferwriter":66,"../transaction":80,"../util/buffer":93,"../util/js":94,"../util/preconditions":95,"./blockheader":54,buffer:145,lodash:120}],57:[function(a,b,c){(function(c){"use strict";var d=a("bn.js"),e=a("../util/preconditions"),f=a("lodash"),g=function(a){for(var b=new c(a.length),d=0;da.size?b=d.trim(b,f):f0&&0===(127&a[a.length-1])&&(a.length<=1||0===(128&a[a.length-2])))throw new Error("non-minimally encoded script number");return d.fromSM(a,{endian:"little"})},d.prototype.toScriptNumBuffer=function(){return this.toSM({endian:"little"})},d.prototype.gt=function(a){return this.cmp(a)>0},d.prototype.gte=function(a){return this.cmp(a)>=0},d.prototype.lt=function(a){return this.cmp(a)<0},d.trim=function(a,b){return a.slice(b-a.length,a.length)},d.pad=function(a,b,d){for(var e=new c(d),f=0;ff;f++)e[f]=0;return e},b.exports=d}).call(this,a("buffer").Buffer)},{"../util/preconditions":95,"bn.js":96,buffer:145,lodash:120}],58:[function(a,b,c){(function(c){"use strict";var d=a("./bn"),e=a("./point"),f=a("./signature"),g=a("../publickey"),h=a("./random"),i=a("./hash"),j=a("../util/buffer"),k=a("lodash"),l=a("../util/preconditions"),m=function n(a){return this instanceof n?void(a&&this.set(a)):new n(a)};m.prototype.set=function(a){return this.hashbuf=a.hashbuf||this.hashbuf,this.endian=a.endian||this.endian,this.privkey=a.privkey||this.privkey,this.pubkey=a.pubkey||(this.privkey?this.privkey.publicKey:this.pubkey),this.sig=a.sig||this.sig,this.k=a.k||this.k,this.verified=a.verified||this.verified,this},m.prototype.privkey2pubkey=function(){this.pubkey=this.privkey.toPublicKey()},m.prototype.calci=function(){for(var a=0;4>a;a++){this.sig.i=a;var b;try{b=this.toPublicKey()}catch(c){console.error(c);continue}if(b.point.eq(this.pubkey.point))return this.sig.compressed=this.pubkey.compressed,this}throw this.sig.i=void 0,new Error("Unable to find valid recovery factor")},m.fromString=function(a){var b=JSON.parse(a);return new m(b)},m.prototype.randomK=function(){var a,b=e.getN();do a=d.fromBuffer(h.getRandomBuffer(32));while(!a.lt(b)||!a.gt(d.Zero));return this.k=a,this},m.prototype.deterministicK=function(a){k.isUndefined(a)&&(a=0);var b=new c(32);b.fill(1);var f=new c(32);f.fill(0);var g=this.privkey.bn.toBuffer({size:32});f=i.sha256hmac(c.concat([b,new c([0]),g,this.hashbuf]),f),b=i.sha256hmac(b,f),f=i.sha256hmac(c.concat([b,new c([1]),g,this.hashbuf]),f),b=i.sha256hmac(b,f),b=i.sha256hmac(b,f);for(var h=d.fromBuffer(b),j=e.getN(),l=0;a>l||!h.lt(j)||!h.gt(d.Zero);l++)f=i.sha256hmac(c.concat([b,new c([0])]),f),b=i.sha256hmac(b,f),b=i.sha256hmac(b,f),h=d.fromBuffer(b);return this.k=h,this},m.prototype.toPublicKey=function(){var a=this.sig.i;l.checkArgument(0===a||1===a||2===a||3===a,new Error("i must be equal to 0, 1, 2, or 3"));var b=d.fromBuffer(this.hashbuf),c=this.sig.r,f=this.sig.s,h=1&a,i=a>>1,j=e.getN(),k=e.getG(),m=i?c.add(j):c,n=e.fromX(h,m),o=n.mul(j);if(!o.isInfinity())throw new Error("nR is not a valid curve point");var p=b.neg().mod(j),q=c.invm(j),r=n.mul(f).add(k.mul(p)).mul(q),s=g.fromPoint(r,this.sig.compressed);return s},m.prototype.sigError=function(){if(!j.isBuffer(this.hashbuf)||32!==this.hashbuf.length)return"hashbuf must be a 32 byte buffer";var a=this.sig.r,b=this.sig.s;if(!(a.gt(d.Zero)&&a.lt(e.getN())&&b.gt(d.Zero)&&b.lt(e.getN())))return"r and s not in range";var c=d.fromBuffer(this.hashbuf,this.endian?{endian:this.endian}:void 0),f=e.getN(),g=b.invm(f),h=g.mul(c).mod(f),i=g.mul(a).mod(f),k=e.getG().mulAdd(h,this.pubkey.point,i);return k.isInfinity()?"p is infinity":0!==k.getX().mod(f).cmp(a)?"Invalid signature":!1},m.toLowS=function(a){return a.gt(d.fromBuffer(new c("7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0","hex")))&&(a=e.getN().sub(a)),a},m.prototype._findSignature=function(a,b){var c,f,g,h,i=e.getN(),j=e.getG(),k=0;do(!this.k||k>0)&&this.deterministicK(k),k++,c=this.k,f=j.mul(c),g=f.x.mod(i),h=c.invm(i).mul(b.add(a.mul(g))).mod(i);while(g.cmp(d.Zero)<=0||h.cmp(d.Zero)<=0);return h=m.toLowS(h),{s:h,r:g}},m.prototype.sign=function(){var a=this.hashbuf,b=this.privkey,c=b.bn;l.checkState(a&&b&&c,new Error("invalid parameters")),l.checkState(j.isBuffer(a)&&32===a.length,new Error("hashbuf must be a 32 byte buffer"));var e=d.fromBuffer(a,this.endian?{endian:this.endian}:void 0),g=this._findSignature(c,e);return g.compressed=this.pubkey.compressed,this.sig=new f(g),this},m.prototype.signRandomK=function(){return this.randomK(),this.sign()},m.prototype.toString=function(){var a={};return this.hashbuf&&(a.hashbuf=this.hashbuf.toString("hex")),this.privkey&&(a.privkey=this.privkey.toString()),this.pubkey&&(a.pubkey=this.pubkey.toString()),this.sig&&(a.sig=this.sig.toString()),this.k&&(a.k=this.k.toString()),JSON.stringify(a)},m.prototype.verify=function(){return this.sigError()?this.verified=!1:this.verified=!0,this},m.sign=function(a,b,c){return m().set({hashbuf:a,endian:c,privkey:b}).sign().sig},m.verify=function(a,b,c,d){return m().set({hashbuf:a,endian:d,sig:b,pubkey:c}).verify().verified},b.exports=m}).call(this,a("buffer").Buffer)},{"../publickey":76,"../util/buffer":93,"../util/preconditions":95,"./bn":57,"./hash":59,"./point":60,"./random":61,"./signature":62,buffer:145,lodash:120}],59:[function(a,b,c){(function(c,d){"use strict";var e=a("hash.js"),f=a("sha512"),g=a("crypto"),h=a("../util/buffer"),i=a("../util/preconditions"),j=b.exports;j.sha1=function(a){return i.checkArgument(h.isBuffer(a)),g.createHash("sha1").update(a).digest()},j.sha1.blocksize=512,j.sha256=function(a){return i.checkArgument(h.isBuffer(a)),g.createHash("sha256").update(a).digest()},j.sha256.blocksize=512,j.sha256sha256=function(a){return i.checkArgument(h.isBuffer(a)),j.sha256(j.sha256(a))},j.ripemd160=function(a){return i.checkArgument(h.isBuffer(a)),g.createHash("ripemd160").update(a).digest()},c.window&&(j.ripemd160=function(a){i.checkArgument(h.isBuffer(a));var b=(new e.ripemd160).update(a).digest();return new d(b)}),j.sha256ripemd160=function(a){return i.checkArgument(h.isBuffer(a)),j.ripemd160(j.sha256(a))},j.sha512=function(a){i.checkArgument(h.isBuffer(a));var b=f(a);return new d(b)},j.sha512.blocksize=1024,j.hmac=function(a,b,c){i.checkArgument(h.isBuffer(b)),i.checkArgument(h.isBuffer(c)),i.checkArgument(a.blocksize);var e=a.blocksize/8;if(c.length>e)c=a(c);else if(e>c){var f=new d(e);f.fill(0),c.copy(f),c=f}var g=new d(e);g.fill(92);var j=new d(e);j.fill(54);for(var k=new d(e),l=new d(e),m=0;e>m;m++)k[m]=g[m]^c[m],l[m]=j[m]^c[m];return a(d.concat([k,a(d.concat([l,b]))]))},j.sha256hmac=function(a,b){return j.hmac(j.sha256,a,b)},j.sha512hmac=function(a,b){return j.hmac(j.sha512,a,b)}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},a("buffer").Buffer)},{"../util/buffer":93,"../util/preconditions":95,buffer:145,crypto:151,"hash.js":113,sha512:123}],60:[function(a,b,c){(function(c){"use strict";var d=a("./bn"),e=a("../util/buffer"),f=a("elliptic").curves.secp256k1,g=f.curve.point.bind(f.curve),h=f.curve.pointFromX.bind(f.curve),i=function(a,b,c){var d=g(a,b,c);return d.validate(),d};i.prototype=Object.getPrototypeOf(f.curve.point()),i.fromX=function(a,b){var c=h(a,b);return c.validate(),c},i.getG=function(){return f.curve.g},i.getN=function(){return new d(f.curve.n.toArray())},i.prototype._getX=i.prototype.getX,i.prototype.getX=function(){return new d(this._getX().toArray())},i.prototype._getY=i.prototype.getY,i.prototype.getY=function(){return new d(this._getY().toArray())},i.prototype.validate=function(){if(this.isInfinity())throw new Error("Point cannot be equal to Infinity");if(0===this.getX().cmp(d.Zero)||0===this.getY().cmp(d.Zero))throw new Error("Invalid x,y value for curve, cannot equal 0.");var a=h(this.getY().isOdd(),this.getX());if(0!==a.y.cmp(this.y))throw new Error("Invalid y value for curve.");var b=this.getX().gt(d.Minus1)&&this.getX().lt(i.getN()),c=this.getY().gt(d.Minus1)&&this.getY().lt(i.getN());if(!b||!c)throw new Error("Point does not lie on the curve");if(!this.mul(i.getN()).isInfinity())throw new Error("Point times N must be infinity");return this},i.pointToCompressed=function(a){var b,d=a.getX().toBuffer({size:32}),f=a.getY().toBuffer({size:32}),g=f[f.length-1]%2;return b=new c(g?[3]:[2]),e.concat([b,d])},b.exports=i}).call(this,a("buffer").Buffer)},{"../util/buffer":93,"./bn":57,buffer:145,elliptic:98}],61:[function(a,b,c){(function(c,d){"use strict";function e(){}e.getRandomBuffer=function(a){return c.browser?e.getRandomBufferBrowser(a):e.getRandomBufferNode(a)},e.getRandomBufferNode=function(b){var c=a("crypto");return c.randomBytes(b)},e.getRandomBufferBrowser=function(a){if(!window.crypto&&!window.msCrypto)throw new Error("window.crypto not available");if(window.crypto&&window.crypto.getRandomValues)var b=window.crypto;else{if(!window.msCrypto||!window.msCrypto.getRandomValues)throw new Error("window.crypto.getRandomValues not available");var b=window.msCrypto}var c=new Uint8Array(a);b.getRandomValues(c);var e=new d(c);return e},e.getPseudoRandomBuffer=function(a){for(var b,c=4294967296,e=new d(a),f=0;a>=f;f++){var g=Math.floor(f/4),h=f-4*g;0===h?(b=Math.random()*c,e[f]=255&b):e[f]=255&(b>>>=8)}return e},b.exports=e}).call(this,a("_process"),a("buffer").Buffer)},{_process:301,buffer:145,crypto:151}],62:[function(a,b,c){(function(c){"use strict";var d=a("./bn"),e=a("lodash"),f=a("../util/preconditions"),g=a("../util/buffer"),h=a("../util/js"),i=function j(a,b){if(!(this instanceof j))return new j(a,b);if(a instanceof d)this.set({r:a,s:b});else if(a){var c=a;this.set(c)}};i.prototype.set=function(a){return this.r=a.r||this.r||void 0,this.s=a.s||this.s||void 0,this.i="undefined"!=typeof a.i?a.i:this.i,this.compressed="undefined"!=typeof a.compressed?a.compressed:this.compressed,this.nhashtype=a.nhashtype||this.nhashtype||void 0,this},i.fromCompact=function(a){f.checkArgument(g.isBuffer(a),"Argument is expected to be a Buffer");var b=new i,c=!0,e=a.slice(0,1)[0]-27-4;0>e&&(c=!1,e+=4);var h=a.slice(1,33),j=a.slice(33,65);return f.checkArgument(0===e||1===e||2===e||3===e,new Error("i must be 0, 1, 2, or 3")),f.checkArgument(32===h.length,new Error("r must be 32 bytes")),f.checkArgument(32===j.length,new Error("s must be 32 bytes")),b.compressed=c,b.i=e,b.r=d.fromBuffer(h),b.s=d.fromBuffer(j),b},i.fromDER=i.fromBuffer=function(a,b){var c=i.parseDER(a,b),d=new i;return d.r=c.r,d.s=c.s,d},i.fromTxFormat=function(a){var b=a.readUInt8(a.length-1),c=a.slice(0,a.length-1),d=new i.fromDER(c,!1);return d.nhashtype=b,d},i.fromString=function(a){var b=new c(a,"hex");return i.fromDER(b)},i.parseDER=function(a,b){f.checkArgument(g.isBuffer(a),new Error("DER formatted signature should be a buffer")),e.isUndefined(b)&&(b=!0);var c=a[0];f.checkArgument(48===c,new Error("Header byte should be 0x30"));var h=a[1],i=a.slice(2).length;f.checkArgument(!b||h===i,new Error("Length byte should length of what follows")),h=i>h?h:i;var j=a[2];f.checkArgument(2===j,new Error("Integer byte for r should be 0x02"));var k=a[3],l=a.slice(4,4+k),m=d.fromBuffer(l),n=0===a[4]?!0:!1;f.checkArgument(k===l.length,new Error("Length of r incorrect"));var o=a[4+k+0];f.checkArgument(2===o,new Error("Integer byte for s should be 0x02"));var p=a[4+k+1],q=a.slice(4+k+2,4+k+2+p),r=d.fromBuffer(q),s=0===a[4+k+2+2]?!0:!1;f.checkArgument(p===q.length,new Error("Length of s incorrect"));var t=4+k+2+p;f.checkArgument(h===t-2,new Error("Length of signature incorrect"));var u={ +}else d?/\.(\w+)$/.test(d)?this["import"](c.imports[j],d.replace(/^(.+)\.(\w+)$/,function(a,b,c){return b+"_import"+j+"."+c})):this["import"](c.imports[j],d+"_import"+j):this["import"](c.imports[j]);i&&(this.importRoot=null)}return c.messages&&(c["package"]&&this.define(c["package"],c.options),this.create(c.messages),this.reset()),c.enums&&(c["package"]&&this.define(c["package"],c.options),this.create(c.enums),this.reset()),c.services&&(c["package"]&&this.define(c["package"],c.options),this.create(c.services),this.reset()),c["extends"]&&(c["package"]&&this.define(c["package"],c.options),this.create(c["extends"]),this.reset()),this},e.isValidService=function(a){return!("string"!=typeof a.name||!c.NAME.test(a.name)||"object"!=typeof a.rpc)},e.isValidExtend=function(a){if("string"!=typeof a.ref||!c.TYPEREF.test(a.name))return!1;var d;if("undefined"!=typeof a.fields){if(!b.Util.isArray(a.fields))return!1;var f,g=[];for(d=0;d=0)return!1;g.push(f)}g=null}return!0},e.prototype.resolveAll=function(){var a;if(null!=this.ptr&&"object"!=typeof this.ptr.type){if(this.ptr instanceof d.Namespace)for(var e=this.ptr.getChildren(),f=0;fa)throw new RangeError("Illegal capacity: 0 <= "+a);if("boolean"!=typeof d)throw new TypeError("Illegal littleEndian: Not a boolean");if("boolean"!=typeof e)throw new TypeError("Illegal noAssert: Not a boolean")}this.buffer=0===a?c:new ArrayBuffer(a),this.view=0===a?null:new DataView(this.buffer),this.offset=0,this.markedOffset=-1,this.limit=a,this.littleEndian="undefined"!=typeof d?!!d:!1,this.noAssert=!!e}b.VERSION="3.1.1",b.LITTLE_ENDIAN=!0,b.BIG_ENDIAN=!1,b.DEFAULT_CAPACITY=16,b.DEFAULT_ENDIAN=b.BIG_ENDIAN,b.DEFAULT_NOASSERT=!1,b.Long=a||null;var c=new ArrayBuffer(0);b.allocate=function(a,c,d){return new b(a,c,d)},b.concat=function(a,c,d,e){("boolean"==typeof c||"string"!=typeof c)&&(e=d,d=c,c=void 0);for(var f,g=0,h=0,i=a.length;i>h;++h)b.isByteBuffer(a[h])||(a[h]=b.wrap(a[h],c)),f=a[h].limit-a[h].offset,f>0&&(g+=f);if(0===g)return new b(0,d,e);for(c=new b(g,d,e),e=new Uint8Array(c.buffer),h=0;i>h;)d=a[h++],f=d.limit-d.offset,0>=f||(e.set(new Uint8Array(d.buffer).subarray(d.offset,d.limit),c.offset),c.offset+=f);return c.limit=c.offset,c.offset=0,c},b.isByteBuffer=function(a){return a&&a instanceof b},b.type=function(){return ArrayBuffer},b.wrap=function(a,c,d,e){if("string"!=typeof c&&(e=d,d=c,c=void 0),"string"==typeof a)switch("undefined"==typeof c&&(c="utf8"),c){case"base64":return b.fromBase64(a,d);case"hex":return b.fromHex(a,d);case"binary":return b.fromBinary(a,d);case"utf8":return b.fromUTF8(a,d);case"debug":return b.fromDebug(a,d);default:throw new TypeError("Unsupported encoding: "+c)}if(null===a||"object"!=typeof a)throw new TypeError("Illegal buffer: null or non-object");if(b.isByteBuffer(a))return c=b.prototype.clone.call(a),c.markedOffset=-1,c;if(a instanceof Uint8Array)c=new b(0,d,e),0>>=0,0>b||b+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+b+" (+0) <= "+this.buffer.byteLength)}b+=1;var d=this.buffer.byteLength;return b>d&&this.resize((d*=2)>b?d:b),this.view.setInt8(b-1,a),c&&(this.offset+=1),this},b.prototype.writeByte=b.prototype.writeInt8,b.prototype.readInt8=function(a){var b="undefined"==typeof a;if(b&&(a=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal offset: "+a+" (not an integer)");if(a>>>=0,0>a||a+1>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+a+" (+1) <= "+this.buffer.byteLength)}return a=this.view.getInt8(a),b&&(this.offset+=1),a},b.prototype.readByte=b.prototype.readInt8,b.prototype.writeUint8=function(a,b){var c="undefined"==typeof b;if(c&&(b=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal value: "+a+" (not an integer)");if(a>>>=0,"number"!=typeof b||0!==b%1)throw new TypeError("Illegal offset: "+b+" (not an integer)");if(b>>>=0,0>b||b+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+b+" (+0) <= "+this.buffer.byteLength)}b+=1;var d=this.buffer.byteLength;return b>d&&this.resize((d*=2)>b?d:b),this.view.setUint8(b-1,a),c&&(this.offset+=1),this},b.prototype.readUint8=function(a){var b="undefined"==typeof a;if(b&&(a=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal offset: "+a+" (not an integer)");if(a>>>=0,0>a||a+1>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+a+" (+1) <= "+this.buffer.byteLength)}return a=this.view.getUint8(a),b&&(this.offset+=1),a},b.prototype.writeInt16=function(a,b){var c="undefined"==typeof b;if(c&&(b=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal value: "+a+" (not an integer)");if(a|=0,"number"!=typeof b||0!==b%1)throw new TypeError("Illegal offset: "+b+" (not an integer)");if(b>>>=0,0>b||b+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+b+" (+0) <= "+this.buffer.byteLength)}b+=2;var d=this.buffer.byteLength;return b>d&&this.resize((d*=2)>b?d:b),this.view.setInt16(b-2,a,this.littleEndian),c&&(this.offset+=2),this},b.prototype.writeShort=b.prototype.writeInt16,b.prototype.readInt16=function(a){var b="undefined"==typeof a;if(b&&(a=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal offset: "+a+" (not an integer)");if(a>>>=0,0>a||a+2>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+a+" (+2) <= "+this.buffer.byteLength)}return a=this.view.getInt16(a,this.littleEndian),b&&(this.offset+=2),a},b.prototype.readShort=b.prototype.readInt16,b.prototype.writeUint16=function(a,b){var c="undefined"==typeof b;if(c&&(b=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal value: "+a+" (not an integer)");if(a>>>=0,"number"!=typeof b||0!==b%1)throw new TypeError("Illegal offset: "+b+" (not an integer)");if(b>>>=0,0>b||b+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+b+" (+0) <= "+this.buffer.byteLength)}b+=2;var d=this.buffer.byteLength;return b>d&&this.resize((d*=2)>b?d:b),this.view.setUint16(b-2,a,this.littleEndian),c&&(this.offset+=2),this},b.prototype.readUint16=function(a){var b="undefined"==typeof a;if(b&&(a=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal offset: "+a+" (not an integer)");if(a>>>=0,0>a||a+2>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+a+" (+2) <= "+this.buffer.byteLength)}return a=this.view.getUint16(a,this.littleEndian),b&&(this.offset+=2),a},b.prototype.writeInt32=function(a,b){var c="undefined"==typeof b;if(c&&(b=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal value: "+a+" (not an integer)");if(a|=0,"number"!=typeof b||0!==b%1)throw new TypeError("Illegal offset: "+b+" (not an integer)");if(b>>>=0,0>b||b+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+b+" (+0) <= "+this.buffer.byteLength)}b+=4;var d=this.buffer.byteLength;return b>d&&this.resize((d*=2)>b?d:b),this.view.setInt32(b-4,a,this.littleEndian),c&&(this.offset+=4),this},b.prototype.writeInt=b.prototype.writeInt32,b.prototype.readInt32=function(a){var b="undefined"==typeof a;if(b&&(a=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal offset: "+a+" (not an integer)");if(a>>>=0,0>a||a+4>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+a+" (+4) <= "+this.buffer.byteLength)}return a=this.view.getInt32(a,this.littleEndian),b&&(this.offset+=4),a},b.prototype.readInt=b.prototype.readInt32,b.prototype.writeUint32=function(a,b){var c="undefined"==typeof b;if(c&&(b=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal value: "+a+" (not an integer)");if(a>>>=0,"number"!=typeof b||0!==b%1)throw new TypeError("Illegal offset: "+b+" (not an integer)");if(b>>>=0,0>b||b+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+b+" (+0) <= "+this.buffer.byteLength)}b+=4;var d=this.buffer.byteLength;return b>d&&this.resize((d*=2)>b?d:b),this.view.setUint32(b-4,a,this.littleEndian),c&&(this.offset+=4),this},b.prototype.readUint32=function(a){var b="undefined"==typeof a;if(b&&(a=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal offset: "+a+" (not an integer)");if(a>>>=0,0>a||a+4>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+a+" (+4) <= "+this.buffer.byteLength)}return a=this.view.getUint32(a,this.littleEndian),b&&(this.offset+=4),a},a&&(b.prototype.writeInt64=function(b,c){var d="undefined"==typeof c;if(d&&(c=this.offset),!this.noAssert){if("number"==typeof b)b=a.fromNumber(b);else if(!(b&&b instanceof a))throw new TypeError("Illegal value: "+b+" (not an integer or Long)");if("number"!=typeof c||0!==c%1)throw new TypeError("Illegal offset: "+c+" (not an integer)");if(c>>>=0,0>c||c+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+c+" (+0) <= "+this.buffer.byteLength)}"number"==typeof b&&(b=a.fromNumber(b)),c+=8;var e=this.buffer.byteLength;return c>e&&this.resize((e*=2)>c?e:c),c-=8,this.littleEndian?(this.view.setInt32(c,b.low,!0),this.view.setInt32(c+4,b.high,!0)):(this.view.setInt32(c,b.high,!1),this.view.setInt32(c+4,b.low,!1)),d&&(this.offset+=8),this},b.prototype.writeLong=b.prototype.writeInt64,b.prototype.readInt64=function(b){var c="undefined"==typeof b;if(c&&(b=this.offset),!this.noAssert){if("number"!=typeof b||0!==b%1)throw new TypeError("Illegal offset: "+b+" (not an integer)");if(b>>>=0,0>b||b+8>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+b+" (+8) <= "+this.buffer.byteLength)}return b=this.littleEndian?new a(this.view.getInt32(b,!0),this.view.getInt32(b+4,!0),!1):new a(this.view.getInt32(b+4,!1),this.view.getInt32(b,!1),!1),c&&(this.offset+=8),b},b.prototype.readLong=b.prototype.readInt64,b.prototype.writeUint64=function(b,c){var d="undefined"==typeof c;if(d&&(c=this.offset),!this.noAssert){if("number"==typeof b)b=a.fromNumber(b);else if(!(b&&b instanceof a))throw new TypeError("Illegal value: "+b+" (not an integer or Long)");if("number"!=typeof c||0!==c%1)throw new TypeError("Illegal offset: "+c+" (not an integer)");if(c>>>=0,0>c||c+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+c+" (+0) <= "+this.buffer.byteLength)}"number"==typeof b&&(b=a.fromNumber(b)),c+=8;var e=this.buffer.byteLength;return c>e&&this.resize((e*=2)>c?e:c),c-=8,this.littleEndian?(this.view.setInt32(c,b.low,!0),this.view.setInt32(c+4,b.high,!0)):(this.view.setInt32(c,b.high,!1),this.view.setInt32(c+4,b.low,!1)),d&&(this.offset+=8),this},b.prototype.readUint64=function(b){var c="undefined"==typeof b;if(c&&(b=this.offset),!this.noAssert){if("number"!=typeof b||0!==b%1)throw new TypeError("Illegal offset: "+b+" (not an integer)");if(b>>>=0,0>b||b+8>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+b+" (+8) <= "+this.buffer.byteLength)}return b=this.littleEndian?new a(this.view.getInt32(b,!0),this.view.getInt32(b+4,!0),!0):new a(this.view.getInt32(b+4,!1),this.view.getInt32(b,!1),!0),c&&(this.offset+=8),b}),b.prototype.writeFloat32=function(a,b){var c="undefined"==typeof b;if(c&&(b=this.offset),!this.noAssert){if("number"!=typeof a)throw new TypeError("Illegal value: "+a+" (not a number)");if("number"!=typeof b||0!==b%1)throw new TypeError("Illegal offset: "+b+" (not an integer)");if(b>>>=0,0>b||b+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+b+" (+0) <= "+this.buffer.byteLength)}b+=4;var d=this.buffer.byteLength;return b>d&&this.resize((d*=2)>b?d:b),this.view.setFloat32(b-4,a,this.littleEndian),c&&(this.offset+=4),this},b.prototype.writeFloat=b.prototype.writeFloat32,b.prototype.readFloat32=function(a){var b="undefined"==typeof a;if(b&&(a=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal offset: "+a+" (not an integer)");if(a>>>=0,0>a||a+4>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+a+" (+4) <= "+this.buffer.byteLength)}return a=this.view.getFloat32(a,this.littleEndian),b&&(this.offset+=4),a},b.prototype.readFloat=b.prototype.readFloat32,b.prototype.writeFloat64=function(a,b){var c="undefined"==typeof b;if(c&&(b=this.offset),!this.noAssert){if("number"!=typeof a)throw new TypeError("Illegal value: "+a+" (not a number)");if("number"!=typeof b||0!==b%1)throw new TypeError("Illegal offset: "+b+" (not an integer)");if(b>>>=0,0>b||b+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+b+" (+0) <= "+this.buffer.byteLength)}b+=8;var d=this.buffer.byteLength;return b>d&&this.resize((d*=2)>b?d:b),this.view.setFloat64(b-8,a,this.littleEndian),c&&(this.offset+=8),this},b.prototype.writeDouble=b.prototype.writeFloat64,b.prototype.readFloat64=function(a){var b="undefined"==typeof a;if(b&&(a=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal offset: "+a+" (not an integer)");if(a>>>=0,0>a||a+8>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+a+" (+8) <= "+this.buffer.byteLength)}return a=this.view.getFloat64(a,this.littleEndian),b&&(this.offset+=8),a},b.prototype.readDouble=b.prototype.readFloat64,b.MAX_VARINT32_BYTES=5,b.calculateVarint32=function(a){return a>>>=0,128>a?1:16384>a?2:2097152>a?3:268435456>a?4:5},b.zigZagEncode32=function(a){return((a|=0)<<1^a>>31)>>>0},b.zigZagDecode32=function(a){return a>>>1^-(1&a)|0},b.prototype.writeVarint32=function(a,c){var d="undefined"==typeof c;if(d&&(c=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal value: "+a+" (not an integer)");if(a|=0,"number"!=typeof c||0!==c%1)throw new TypeError("Illegal offset: "+c+" (not an integer)");if(c>>>=0,0>c||c+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+c+" (+0) <= "+this.buffer.byteLength)}var e=b.calculateVarint32(a);c+=e;var f=this.buffer.byteLength;return c>f&&this.resize((f*=2)>c?f:c),c-=e,this.view.setUint8(c,e=128|a),a>>>=0,a>=128?(e=a>>7|128,this.view.setUint8(c+1,e),a>=16384?(e=a>>14|128,this.view.setUint8(c+2,e),a>=2097152?(e=a>>21|128,this.view.setUint8(c+3,e),a>=268435456?(this.view.setUint8(c+4,a>>28&15),e=5):(this.view.setUint8(c+3,127&e),e=4)):(this.view.setUint8(c+2,127&e),e=3)):(this.view.setUint8(c+1,127&e),e=2)):(this.view.setUint8(c,127&e),e=1),d?(this.offset+=e,this):e},b.prototype.writeVarint32ZigZag=function(a,c){return this.writeVarint32(b.zigZagEncode32(a),c)},b.prototype.readVarint32=function(a){var b="undefined"==typeof a;if(b&&(a=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal offset: "+a+" (not an integer)");if(a>>>=0,0>a||a+1>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+a+" (+1) <= "+this.buffer.byteLength)}var c,d=0,e=0;do c=this.view.getUint8(a+d),5>d&&(e|=(127&c)<<7*d>>>0),++d;while(128===(128&c));return e|=0,b?(this.offset+=d,e):{value:e,length:d}},b.prototype.readVarint32ZigZag=function(a){return a=this.readVarint32(a),"object"==typeof a?a.value=b.zigZagDecode32(a.value):a=b.zigZagDecode32(a),a},a&&(b.MAX_VARINT64_BYTES=10,b.calculateVarint64=function(b){"number"==typeof b&&(b=a.fromNumber(b));var c=b.toInt()>>>0,d=b.shiftRightUnsigned(28).toInt()>>>0;return b=b.shiftRightUnsigned(56).toInt()>>>0,0==b?0==d?16384>c?128>c?1:2:2097152>c?3:4:16384>d?128>d?5:6:2097152>d?7:8:128>b?9:10},b.zigZagEncode64=function(b){return"number"==typeof b?b=a.fromNumber(b,!1):!1!==b.unsigned&&(b=b.toSigned()),b.shiftLeft(1).xor(b.shiftRight(63)).toUnsigned()},b.zigZagDecode64=function(b){return"number"==typeof b?b=a.fromNumber(b,!1):!1!==b.unsigned&&(b=b.toSigned()),b.shiftRightUnsigned(1).xor(b.and(a.ONE).toSigned().negate()).toSigned()},b.prototype.writeVarint64=function(c,d){var e="undefined"==typeof d;if(e&&(d=this.offset),!this.noAssert){if("number"==typeof c)c=a.fromNumber(c);else if(!(c&&c instanceof a))throw new TypeError("Illegal value: "+c+" (not an integer or Long)");if("number"!=typeof d||0!==d%1)throw new TypeError("Illegal offset: "+d+" (not an integer)");if(d>>>=0,0>d||d+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+d+" (+0) <= "+this.buffer.byteLength)}"number"==typeof c?c=a.fromNumber(c,!1):!1!==c.unsigned&&(c=c.toSigned());var f=b.calculateVarint64(c),g=c.toInt()>>>0,h=c.shiftRightUnsigned(28).toInt()>>>0,i=c.shiftRightUnsigned(56).toInt()>>>0;d+=f;var j=this.buffer.byteLength;switch(d>j&&this.resize((j*=2)>d?j:d),d-=f,f){case 10:this.view.setUint8(d+9,i>>>7&1);case 9:this.view.setUint8(d+8,9!==f?128|i:127&i);case 8:this.view.setUint8(d+7,8!==f?h>>>21|128:h>>>21&127);case 7:this.view.setUint8(d+6,7!==f?h>>>14|128:h>>>14&127);case 6:this.view.setUint8(d+5,6!==f?h>>>7|128:h>>>7&127);case 5:this.view.setUint8(d+4,5!==f?128|h:127&h);case 4:this.view.setUint8(d+3,4!==f?g>>>21|128:g>>>21&127);case 3:this.view.setUint8(d+2,3!==f?g>>>14|128:g>>>14&127);case 2:this.view.setUint8(d+1,2!==f?g>>>7|128:g>>>7&127);case 1:this.view.setUint8(d,1!==f?128|g:127&g)}return e?(this.offset+=f,this):f},b.prototype.writeVarint64ZigZag=function(a,c){return this.writeVarint64(b.zigZagEncode64(a),c)},b.prototype.readVarint64=function(b){var c="undefined"==typeof b;if(c&&(b=this.offset),!this.noAssert){if("number"!=typeof b||0!==b%1)throw new TypeError("Illegal offset: "+b+" (not an integer)");if(b>>>=0,0>b||b+1>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+b+" (+1) <= "+this.buffer.byteLength)}var d=b,e=0,f=0,g=0,h=0,h=this.view.getUint8(b++),e=127&h;if(128&h&&(h=this.view.getUint8(b++),e|=(127&h)<<7,128&h&&(h=this.view.getUint8(b++),e|=(127&h)<<14,128&h&&(h=this.view.getUint8(b++),e|=(127&h)<<21,128&h&&(h=this.view.getUint8(b++),f=127&h,128&h&&(h=this.view.getUint8(b++),f|=(127&h)<<7,128&h&&(h=this.view.getUint8(b++),f|=(127&h)<<14,128&h&&(h=this.view.getUint8(b++),f|=(127&h)<<21,128&h&&(h=this.view.getUint8(b++),g=127&h,128&h&&(h=this.view.getUint8(b++),g|=(127&h)<<7,128&h))))))))))throw Error("Data must be corrupt: Buffer overrun");return e=a.fromBits(e|f<<28,f>>>4|g<<24,!1),c?(this.offset=b,e):{value:e,length:b-d}},b.prototype.readVarint64ZigZag=function(c){return(c=this.readVarint64(c))&&c.value instanceof a?c.value=b.zigZagDecode64(c.value):c=b.zigZagDecode64(c),c}),b.prototype.writeCString=function(a,b){var c="undefined"==typeof b;c&&(b=this.offset);var d,f=a.length;if(!this.noAssert){if("string"!=typeof a)throw new TypeError("Illegal str: Not a string");for(d=0;f>d;++d)if(0===a.charCodeAt(d))throw new RangeError("Illegal str: Contains NULL-characters");if("number"!=typeof b||0!==b%1)throw new TypeError("Illegal offset: "+b+" (not an integer)");if(b>>>=0,0>b||b+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+b+" (+0) <= "+this.buffer.byteLength)}d=b,f=e.b(e.a(a))[1],b+=f+1;var g=this.buffer.byteLength;return b>g&&this.resize((g*=2)>b?g:b),b-=f+1,e.e(e.a(a),function(a){this.view.setUint8(b++,a)}.bind(this)),this.view.setUint8(b++,0),c?(this.offset=b-d,this):f},b.prototype.readCString=function(a){var b="undefined"==typeof a;if(b&&(a=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal offset: "+a+" (not an integer)");if(a>>>=0,0>a||a+1>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+a+" (+1) <= "+this.buffer.byteLength)}var c,d=a,f=-1;return e.d(function(){if(0===f)return null;if(a>=this.limit)throw RangeError("Illegal range: Truncated data, "+a+" < "+this.limit);return 0===(f=this.view.getUint8(a++))?null:f}.bind(this),c=e.c(),!0),b?(this.offset=a,c()):{string:c(),length:a-d}},b.prototype.writeIString=function(a,b){var c="undefined"==typeof b;if(c&&(b=this.offset),!this.noAssert){if("string"!=typeof a)throw new TypeError("Illegal str: Not a string");if("number"!=typeof b||0!==b%1)throw new TypeError("Illegal offset: "+b+" (not an integer)");if(b>>>=0,0>b||b+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+b+" (+0) <= "+this.buffer.byteLength)}var d,f=b;d=e.b(e.a(a),this.noAssert)[1],b+=4+d;var g=this.buffer.byteLength;if(b>g&&this.resize((g*=2)>b?g:b),b-=4+d,this.view.setUint32(b,d,this.littleEndian),b+=4,e.e(e.a(a),function(a){this.view.setUint8(b++,a)}.bind(this)),b!==f+4+d)throw new RangeError("Illegal range: Truncated data, "+b+" == "+(b+4+d));return c?(this.offset=b,this):b-f},b.prototype.readIString=function(a){var b="undefined"==typeof a;if(b&&(a=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal offset: "+a+" (not an integer)");if(a>>>=0,0>a||a+4>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+a+" (+4) <= "+this.buffer.byteLength)}var c=0,d=a,c=this.view.getUint32(a,this.littleEndian);a+=4;var f=a+c;return e.d(function(){return f>a?this.view.getUint8(a++):null}.bind(this),c=e.c(),this.noAssert),c=c(),b?(this.offset=a,c):{string:c,length:a-d}},b.METRICS_CHARS="c",b.METRICS_BYTES="b",b.prototype.writeUTF8String=function(a,b){var c="undefined"==typeof b;if(c&&(b=this.offset),!this.noAssert){if("number"!=typeof b||0!==b%1)throw new TypeError("Illegal offset: "+b+" (not an integer)");if(b>>>=0,0>b||b+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+b+" (+0) <= "+this.buffer.byteLength)}var d,f=b;d=e.b(e.a(a))[1],b+=d;var g=this.buffer.byteLength;return b>g&&this.resize((g*=2)>b?g:b),b-=d,e.e(e.a(a),function(a){this.view.setUint8(b++,a)}.bind(this)),c?(this.offset=b,this):b-f},b.prototype.writeString=b.prototype.writeUTF8String,b.calculateUTF8Chars=function(a){return e.b(e.a(a))[0]},b.calculateUTF8Bytes=function(a){return e.b(e.a(a))[1]},b.prototype.readUTF8String=function(a,c,d){"number"==typeof c&&(d=c,c=void 0);var f="undefined"==typeof d;if(f&&(d=this.offset),"undefined"==typeof c&&(c=b.METRICS_CHARS),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal length: "+a+" (not an integer)");if(a|=0,"number"!=typeof d||0!==d%1)throw new TypeError("Illegal offset: "+d+" (not an integer)");if(d>>>=0,0>d||d+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+d+" (+0) <= "+this.buffer.byteLength)}var g,h=0,i=d;if(c===b.METRICS_CHARS){if(g=e.c(),e.i(function(){return a>h&&d>>=0,0>d||d+a>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+d+" (+"+a+") <= "+this.buffer.byteLength)}var j=d+a;if(e.d(function(){return j>d?this.view.getUint8(d++):null}.bind(this),g=e.c(),this.noAssert),d!==j)throw new RangeError("Illegal range: Truncated data, "+d+" == "+j);return f?(this.offset=d,g()):{string:g(),length:d-i}}throw new TypeError("Unsupported metrics: "+c)},b.prototype.readString=b.prototype.readUTF8String,b.prototype.writeVString=function(a,c){var d="undefined"==typeof c;if(d&&(c=this.offset),!this.noAssert){if("string"!=typeof a)throw new TypeError("Illegal str: Not a string");if("number"!=typeof c||0!==c%1)throw new TypeError("Illegal offset: "+c+" (not an integer)");if(c>>>=0,0>c||c+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+c+" (+0) <= "+this.buffer.byteLength)}var f,g,h=c;f=e.b(e.a(a),this.noAssert)[1],g=b.calculateVarint32(f),c+=g+f;var i=this.buffer.byteLength;if(c>i&&this.resize((i*=2)>c?i:c),c-=g+f,c+=this.writeVarint32(f,c),e.e(e.a(a),function(a){this.view.setUint8(c++,a)}.bind(this)),c!==h+f+g)throw new RangeError("Illegal range: Truncated data, "+c+" == "+(c+f+g));return d?(this.offset=c,this):c-h},b.prototype.readVString=function(a){var b="undefined"==typeof a;if(b&&(a=this.offset),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal offset: "+a+" (not an integer)");if(a>>>=0,0>a||a+1>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+a+" (+1) <= "+this.buffer.byteLength)}var c=this.readVarint32(a),d=a;a+=c.length;var c=c.value,f=a+c,c=e.c();return e.d(function(){return f>a?this.view.getUint8(a++):null}.bind(this),c,this.noAssert),c=c(),b?(this.offset=a,c):{string:c,length:a-d}},b.prototype.append=function(a,c,d){("number"==typeof c||"string"!=typeof c)&&(d=c,c=void 0);var e="undefined"==typeof d;if(e&&(d=this.offset),!this.noAssert){if("number"!=typeof d||0!==d%1)throw new TypeError("Illegal offset: "+d+" (not an integer)");if(d>>>=0,0>d||d+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+d+" (+0) <= "+this.buffer.byteLength)}if(a instanceof b||(a=b.wrap(a,c)),c=a.limit-a.offset,0>=c)return this;d+=c;var f=this.buffer.byteLength;return d>f&&this.resize((f*=2)>d?f:d),new Uint8Array(this.buffer,d-c).set(new Uint8Array(a.buffer).subarray(a.offset,a.limit)),a.offset+=c,e&&(this.offset+=c),this},b.prototype.appendTo=function(a,b){return a.append(this,b),this},b.prototype.assert=function(a){return this.noAssert=!a,this},b.prototype.capacity=function(){return this.buffer.byteLength},b.prototype.clear=function(){return this.offset=0,this.limit=this.buffer.byteLength,this.markedOffset=-1,this},b.prototype.clone=function(a){var c=new b(0,this.littleEndian,this.noAssert);return a?(a=new ArrayBuffer(this.buffer.byteLength),new Uint8Array(a).set(this.buffer),c.buffer=a,c.view=new DataView(a)):(c.buffer=this.buffer,c.view=this.view),c.offset=this.offset,c.markedOffset=this.markedOffset,c.limit=this.limit,c},b.prototype.compact=function(a,b){if("undefined"==typeof a&&(a=this.offset),"undefined"==typeof b&&(b=this.limit),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal begin: Not an integer");if(a>>>=0,"number"!=typeof b||0!==b%1)throw new TypeError("Illegal end: Not an integer");if(b>>>=0,0>a||a>b||b>this.buffer.byteLength)throw new RangeError("Illegal range: 0 <= "+a+" <= "+b+" <= "+this.buffer.byteLength)}if(0===a&&b===this.buffer.byteLength)return this;var d=b-a;if(0===d)return this.buffer=c,this.view=null,0<=this.markedOffset&&(this.markedOffset-=a),this.limit=this.offset=0,this;var e=new ArrayBuffer(d);return new Uint8Array(e).set(new Uint8Array(this.buffer).subarray(a,b)),this.buffer=e,this.view=new DataView(e),0<=this.markedOffset&&(this.markedOffset-=a),this.offset=0,this.limit=d,this},b.prototype.copy=function(a,c){if("undefined"==typeof a&&(a=this.offset),"undefined"==typeof c&&(c=this.limit),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal begin: Not an integer");if(a>>>=0,"number"!=typeof c||0!==c%1)throw new TypeError("Illegal end: Not an integer");if(c>>>=0,0>a||a>c||c>this.buffer.byteLength)throw new RangeError("Illegal range: 0 <= "+a+" <= "+c+" <= "+this.buffer.byteLength)}if(a===c)return new b(0,this.littleEndian,this.noAssert);var d=c-a,e=new b(d,this.littleEndian,this.noAssert);return e.offset=0,e.limit=d,0<=e.markedOffset&&(e.markedOffset-=a),this.copyTo(e,0,a,c),e},b.prototype.copyTo=function(a,c,d,e){var f,g;if(!this.noAssert&&!b.isByteBuffer(a))throw new TypeError("Illegal target: Not a ByteBuffer");if(c=(g="undefined"==typeof c)?a.offset:0|c,d=(f="undefined"==typeof d)?this.offset:0|d,e="undefined"==typeof e?this.limit:0|e,0>c||c>a.buffer.byteLength)throw new RangeError("Illegal target range: 0 <= "+c+" <= "+a.buffer.byteLength);if(0>d||e>this.buffer.byteLength)throw new RangeError("Illegal source range: 0 <= "+d+" <= "+this.buffer.byteLength);var h=e-d;return 0===h?a:(a.ensureCapacity(c+h),new Uint8Array(a.buffer).set(new Uint8Array(this.buffer).subarray(d,e),c),f&&(this.offset+=h),g&&(a.offset+=h), +this)},b.prototype.ensureCapacity=function(a){var b=this.buffer.byteLength;return a>b?this.resize((b*=2)>a?b:a):this},b.prototype.fill=function(a,b,c){var d="undefined"==typeof b;if(d&&(b=this.offset),"string"==typeof a&&0>>=0,"number"!=typeof c||0!==c%1)throw new TypeError("Illegal end: Not an integer");if(c>>>=0,0>b||b>c||c>this.buffer.byteLength)throw new RangeError("Illegal range: 0 <= "+b+" <= "+c+" <= "+this.buffer.byteLength)}if(b>=c)return this;for(;c>b;)this.view.setUint8(b++,a);return d&&(this.offset=b),this},b.prototype.flip=function(){return this.limit=this.offset,this.offset=0,this},b.prototype.mark=function(a){if(a="undefined"==typeof a?this.offset:a,!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal offset: "+a+" (not an integer)");if(a>>>=0,0>a||a+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+a+" (+0) <= "+this.buffer.byteLength)}return this.markedOffset=a,this},b.prototype.order=function(a){if(!this.noAssert&&"boolean"!=typeof a)throw new TypeError("Illegal littleEndian: Not a boolean");return this.littleEndian=!!a,this},b.prototype.LE=function(a){return this.littleEndian="undefined"!=typeof a?!!a:!0,this},b.prototype.BE=function(a){return this.littleEndian="undefined"!=typeof a?!a:!1,this},b.prototype.prepend=function(a,c,d){("number"==typeof c||"string"!=typeof c)&&(d=c,c=void 0);var e="undefined"==typeof d;if(e&&(d=this.offset),!this.noAssert){if("number"!=typeof d||0!==d%1)throw new TypeError("Illegal offset: "+d+" (not an integer)");if(d>>>=0,0>d||d+0>this.buffer.byteLength)throw new RangeError("Illegal offset: 0 <= "+d+" (+0) <= "+this.buffer.byteLength)}if(a instanceof b||(a=b.wrap(a,c)),c=a.limit-a.offset,0>=c)return this;var f,g=c-d;if(g>0){var h=new ArrayBuffer(this.buffer.byteLength+g);f=new Uint8Array(h),f.set(new Uint8Array(this.buffer).subarray(d,this.buffer.byteLength),c),this.buffer=h,this.view=new DataView(h),this.offset+=g,0<=this.markedOffset&&(this.markedOffset+=g),this.limit+=g,d+=g}else f=new Uint8Array(this.buffer);return f.set(new Uint8Array(a.buffer).subarray(a.offset,a.limit),d-c),a.offset=a.limit,e&&(this.offset-=c),this},b.prototype.prependTo=function(a,b){return a.prepend(this,b),this},b.prototype.printDebug=function(a){"function"!=typeof a&&(a=console.log.bind(console)),a(this.toString()+"\n-------------------------------------------------------------------\n"+this.toDebug(!0))},b.prototype.remaining=function(){return this.limit-this.offset},b.prototype.reset=function(){return 0<=this.markedOffset?(this.offset=this.markedOffset,this.markedOffset=-1):this.offset=0,this},b.prototype.resize=function(a){if(!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal capacity: "+a+" (not an integer)");if(a|=0,0>a)throw new RangeError("Illegal capacity: 0 <= "+a)}return this.buffer.byteLength>>=0,"number"!=typeof b||0!==b%1)throw new TypeError("Illegal end: Not an integer");if(b>>>=0,0>a||a>b||b>this.buffer.byteLength)throw new RangeError("Illegal range: 0 <= "+a+" <= "+b+" <= "+this.buffer.byteLength)}return a===b?this:(Array.prototype.reverse.call(new Uint8Array(this.buffer).subarray(a,b)),this.view=new DataView(this.buffer),this)},b.prototype.skip=function(a){if(!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal length: "+a+" (not an integer)");a|=0}var b=this.offset+a;if(!this.noAssert&&(0>b||b>this.buffer.byteLength))throw new RangeError("Illegal length: 0 <= "+this.offset+" + "+a+" <= "+this.buffer.byteLength);return this.offset=b,this},b.prototype.slice=function(a,b){if("undefined"==typeof a&&(a=this.offset),"undefined"==typeof b&&(b=this.limit),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal begin: Not an integer");if(a>>>=0,"number"!=typeof b||0!==b%1)throw new TypeError("Illegal end: Not an integer");if(b>>>=0,0>a||a>b||b>this.buffer.byteLength)throw new RangeError("Illegal range: 0 <= "+a+" <= "+b+" <= "+this.buffer.byteLength)}var c=this.clone();return c.offset=a,c.limit=b,c},b.prototype.toBuffer=function(a){var b=this.offset,d=this.limit;if(b>d)var e=b,b=d,d=e;if(!this.noAssert){if("number"!=typeof b||0!==b%1)throw new TypeError("Illegal offset: Not an integer");if(b>>>=0,"number"!=typeof d||0!==d%1)throw new TypeError("Illegal limit: Not an integer");if(d>>>=0,0>b||b>d||d>this.buffer.byteLength)throw new RangeError("Illegal range: 0 <= "+b+" <= "+d+" <= "+this.buffer.byteLength)}return a||0!==b||d!==this.buffer.byteLength?b===d?c:(a=new ArrayBuffer(d-b),new Uint8Array(a).set(new Uint8Array(this.buffer).subarray(b,d),0),a):this.buffer},b.prototype.toArrayBuffer=b.prototype.toBuffer,b.prototype.toString=function(a){if("undefined"==typeof a)return"ByteBufferAB(offset="+this.offset+",markedOffset="+this.markedOffset+",limit="+this.limit+",capacity="+this.capacity()+")";switch(a){case"utf8":return this.toUTF8();case"base64":return this.toBase64();case"hex":return this.toHex();case"binary":return this.toBinary();case"debug":return this.toDebug();case"columns":return this.m();default:throw Error("Unsupported encoding: "+a)}};var d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",d=d+"";b.prototype.toBase64=function(a,b){if("undefined"==typeof a&&(a=this.offset),"undefined"==typeof b&&(b=this.limit),!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal begin: Not an integer");if(a>>>=0,"number"!=typeof b||0!==b%1)throw new TypeError("Illegal end: Not an integer");if(b>>>=0,0>a||a>b||b>this.buffer.byteLength)throw new RangeError("Illegal range: 0 <= "+a+" <= "+b+" <= "+this.buffer.byteLength)}if(a===b)return"";for(var c,e,f,g,h,i,j="";b>a;)c=this.view.getUint8(a++),e=(g=b>a)?this.view.getUint8(a++):0,f=(h=b>a)?this.view.getUint8(a++):0,i=c>>2,c=(3&c)<<4|e>>4,e=(15&e)<<2|f>>6,f&=63,h||(f=64,g||(e=64)),j+=d.charAt(i)+d.charAt(c)+d.charAt(e)+d.charAt(f);return j},b.fromBase64=function(a,c,e){if(!e){if("string"!=typeof a)throw new TypeError("Illegal str: Not a string");if(0!==a.length%4)throw new TypeError("Illegal str: Length not a multiple of 4")}var f,g=a.length,h=0;for(f=a.length-1;f>=0&&"="===a.charAt(f);--f)h++;if(h>2)throw new TypeError("Illegal str: Suffix is too large");if(0===g)return new b(0,c,e);var i,j,k,l=new b(g/4*3-h,c,e);for(c=f=0;g>f;){if(h=d.indexOf(a.charAt(f++)),i=g>f?d.indexOf(a.charAt(f++)):0,j=g>f?d.indexOf(a.charAt(f++)):0,k=g>f?d.indexOf(a.charAt(f++)):0,!e&&(0>h||0>i||0>j||0>k))throw new TypeError("Illegal str: Contains non-base64 characters");l.view.setUint8(c++,h<<2|i>>4),64!==j&&(l.view.setUint8(c++,i<<4&240|j>>2,c),64!==k&&l.view.setUint8(c++,j<<6&192|k))}return l.limit=c,l},b.btoa=function(a){return b.fromBinary(a).toBase64()},b.atob=function(a){return b.fromBase64(a).toBinary()},b.prototype.toBinary=function(a,b){if(a="undefined"==typeof a?this.offset:a,b="undefined"==typeof b?this.limit:b,!this.noAssert){if("number"!=typeof a||0!==a%1)throw new TypeError("Illegal begin: Not an integer");if(a>>>=0,"number"!=typeof b||0!==b%1)throw new TypeError("Illegal end: Not an integer");if(b>>>=0,0>a||a>b||b>this.buffer.byteLength)throw new RangeError("Illegal range: 0 <= "+a+" <= "+b+" <= "+this.buffer.byteLength)}if(a===b)return"";for(var c=[];b>a;)c.push(this.view.getUint8(a++));return String.fromCharCode.apply(String,c)},b.fromBinary=function(a,c,d){if(!d&&"string"!=typeof a)throw new TypeError("Illegal str: Not a string");for(var e=0,f=a.length,g=new b(f,c,d);f>e;){if(c=a.charCodeAt(e),!d&&c>255)throw new TypeError("Illegal charCode at "+e+": 0 <= "+c+" <= 255");g.view.setUint8(e++,c)}return g.limit=f,g},b.prototype.toDebug=function(a){for(var b,c=-1,d=this.buffer.byteLength,e="",f="",g="";d>c;){if(-1!==c&&(b=this.view.getUint8(c),e=16>b?e+("0"+b.toString(16).toUpperCase()):e+b.toString(16).toUpperCase(),a&&(f+=b>32&&127>b?String.fromCharCode(b):".")),++c,a&&c>0&&0===c%16&&c!==d){for(;51>e.length;)e+=" ";g+=e+f+"\n",e=f=""}e=c===this.offset&&c===this.limit?e+(c===this.markedOffset?"!":"|"):c===this.offset?e+(c===this.markedOffset?"[":"<"):c===this.limit?e+(c===this.markedOffset?"]":">"):e+(c===this.markedOffset?"'":a||0!==c&&c!==d?" ":"")}if(a&&" "!==e){for(;51>e.length;)e+=" ";g+=e+f+"\n"}return a?g:e},b.fromDebug=function(a,c,d){var e=a.length;c=new b((e+1)/3|0,c,d);for(var f,g=0,h=0,i=!1,j=!1,k=!1,l=!1,m=!1;e>g;){switch(f=a.charAt(g++)){case"!":if(!d){if(j||k||l){m=!0;break}j=k=l=!0}c.offset=c.markedOffset=c.limit=h,i=!1;break;case"|":if(!d){if(j||l){m=!0;break}j=l=!0}c.offset=c.limit=h,i=!1;break;case"[":if(!d){if(j||k){m=!0;break}j=k=!0}c.offset=c.markedOffset=h,i=!1;break;case"<":if(!d){if(j){m=!0;break}j=!0}c.offset=h,i=!1;break;case"]":if(!d){if(l||k){m=!0;break}l=k=!0}c.limit=c.markedOffset=h,i=!1;break;case">":if(!d){if(l){m=!0;break}l=!0}c.limit=h,i=!1;break;case"'":if(!d){if(k){m=!0;break}k=!0}c.markedOffset=h,i=!1;break;case" ":i=!1;break;default:if(!d&&i){m=!0;break}if(f=parseInt(f+a.charAt(g++),16),!d&&(isNaN(f)||0>f||f>255))throw new TypeError("Illegal str: Not a debug encoded string");c.view.setUint8(h++,f),i=!0}if(m)throw new TypeError("Illegal str: Invalid symbol at "+g)}if(!d){if(!j||!l)throw new TypeError("Illegal str: Missing offset or limit");if(h>>=0,"number"!=typeof b||0!==b%1)throw new TypeError("Illegal end: Not an integer");if(b>>>=0,0>a||a>b||b>this.buffer.byteLength)throw new RangeError("Illegal range: 0 <= "+a+" <= "+b+" <= "+this.buffer.byteLength)}for(var c,d=Array(b-a);b>a;)c=this.view.getUint8(a++),16>c?d.push("0",c.toString(16)):d.push(c.toString(16));return d.join("")},b.fromHex=function(a,c,d){if(!d){if("string"!=typeof a)throw new TypeError("Illegal str: Not a string");if(0!==a.length%2)throw new TypeError("Illegal str: Length not a multiple of 2")}var e=a.length;c=new b(e/2|0,c);for(var f,g=0,h=0;e>g;g+=2){if(f=parseInt(a.substring(g,g+2),16),!d&&(!isFinite(f)||0>f||f>255))throw new TypeError("Illegal str: Contains non-hex characters");c.view.setUint8(h++,f)}return c.limit=h,c};var e=function(){var a={k:1114111,j:function(a,b){var c=null;for("number"==typeof a&&(c=a,a=function(){return null});null!==c||null!==(c=a());)128>c?b(127&c):(2048>c?b(c>>6&31|192):(65536>c?b(c>>12&15|224):(b(c>>18&7|240),b(c>>12&63|128)),b(c>>6&63|128)),b(63&c|128)),c=null},i:function(a,b){function c(a){a=a.slice(0,a.indexOf(null));var b=Error(a.toString());throw b.name="TruncatedError",b.bytes=a,b}for(var d,e,f,g;null!==(d=a());)if(0===(128&d))b(d);else if(192===(224&d))null===(e=a())&&c([d,e]),b((31&d)<<6|63&e);else if(224===(240&d))null!==(e=a())&&null!==(f=a())||c([d,e,f]),b((15&d)<<12|(63&e)<<6|63&f);else{if(240!==(248&d))throw RangeError("Illegal starting byte: "+d);null!==(e=a())&&null!==(f=a())&&null!==(g=a())||c([d,e,f,g]),b((7&d)<<18|(63&e)<<12|(63&f)<<6|63&g)}},f:function(a,b){for(var c,d=null;null!==(c=null!==d?d:a());)c>=55296&&57343>=c&&null!==(d=a())&&d>=56320&&57343>=d?(b(1024*(c-55296)+d-56320+65536),d=null):b(c);null!==d&&b(d)},g:function(a,b){var c=null;for("number"==typeof a&&(c=a,a=function(){return null});null!==c||null!==(c=a());)65535>=c?b(c):(c-=65536,b((c>>10)+55296),b(c%1024+56320)),c=null},e:function(b,c){a.f(b,function(b){a.j(b,c)})},d:function(b,c){a.i(b,function(b){a.g(b,c)})},h:function(a){return 128>a?1:2048>a?2:65536>a?3:4},l:function(b){for(var c,d=0;null!==(c=b());)d+=a.h(c);return d},b:function(b){var c=0,d=0;return a.f(b,function(b){++c,d+=a.h(b)}),[c,d]}};return a}(),f=String.fromCharCode;return e.a=function(a){var b=0;return function(){return b>>=0,"number"!=typeof b||0!==b%1)throw new TypeError("Illegal end: Not an integer");if(b>>>=0,0>a||a>b||b>this.buffer.byteLength)throw new RangeError("Illegal range: 0 <= "+a+" <= "+b+" <= "+this.buffer.byteLength)}var c,d=this;try{e.d(function(){return b>a?d.view.getUint8(a++):null},c=e.c())}catch(f){if(a!==b)throw new RangeError("Illegal range: Truncated data, "+a+" != "+b)}return c()},b.fromUTF8=function(a,c,d){if(!d&&"string"!=typeof a)throw new TypeError("Illegal str: Not a string");var f=new b(e.b(e.a(a),!0)[1],c,d),g=0;return e.e(e.a(a),function(a){f.view.setUint8(g++,a)}),f.limit=g,f},b}"undefined"!=typeof b&&b.exports?b.exports=d(a("long")):"undefined"!=typeof define&&define.amd?define("ByteBuffer",["Math/Long"],function(a){return d(a)}):(c.dcodeIO||(c.dcodeIO={}),c.dcodeIO.ByteBuffer=d(c.dcodeIO.Long))}(this)},{"long":44}],43:[function(a,b,c){!function(a){"use strict";var c=function(a,b,c){a&&"object"==typeof a&&(b=a.high,c=a.unsigned,a=a.low),this.low=0|a,this.high=0|b,this.unsigned=!!c},d={},e={};c.fromInt=function(a,b){var f,g;return b?(a>>>=0,a>=0&&256>a&&(g=e[a])?g:(f=new c(a,0>(0|a)?-1:0,!0),a>=0&&256>a&&(e[a]=f),f)):(a=0|a,a>=-128&&128>a&&(g=d[a])?g:(f=new c(a,0>a?-1:0,!1),a>=-128&&128>a&&(d[a]=f),f))},c.fromNumber=function(a,b){return b=!!b,isNaN(a)||!isFinite(a)?c.ZERO:!b&&-i>=a?c.MIN_SIGNED_VALUE:!b&&a+1>=i?c.MAX_SIGNED_VALUE:b&&a>=h?c.MAX_UNSIGNED_VALUE:0>a?c.fromNumber(-a,b).negate():new c(a%g|0,a/g|0,b)},c.fromBits=function(a,b,d){return new c(a,b,d)},c.from28Bits=function(a,b,d,e){return c.fromBits(a|b<<28,b>>>4|d<<24,e)},c.fromString=function(a,b,d){if(0===a.length)throw Error("number format error: empty string");if("NaN"===a||"Infinity"===a||"+Infinity"===a||"-Infinity"===a)return c.ZERO;if("number"==typeof b&&(d=b,b=!1),d=d||10,2>d||d>36)throw Error("radix out of range: "+d);var e;if((e=a.indexOf("-"))>0)throw Error('number format error: interior "-" character: '+a);if(0===e)return c.fromString(a.substring(1),b,d).negate();for(var f=c.fromNumber(Math.pow(d,8)),g=c.ZERO,h=0;hi){var k=c.fromNumber(Math.pow(d,i));g=g.multiply(k).add(c.fromNumber(j))}else g=g.multiply(f),g=g.add(c.fromNumber(j))}return g.unsigned=b,g};var f=65536,g=f*f,h=g*g,i=h/2,j=c.fromInt(1<<24);c.ZERO=c.fromInt(0),c.UZERO=c.fromInt(0,!0),c.ONE=c.fromInt(1),c.UONE=c.fromInt(1,!0),c.NEG_ONE=c.fromInt(-1),c.MAX_SIGNED_VALUE=c.fromBits(-1,2147483647,!1),c.MAX_UNSIGNED_VALUE=c.fromBits(-1,-1,!0),c.MAX_VALUE=c.MAX_SIGNED_VALUE,c.MIN_SIGNED_VALUE=c.fromBits(0,-2147483648,!1),c.MIN_UNSIGNED_VALUE=c.fromBits(0,0,!0),c.MIN_VALUE=c.MIN_SIGNED_VALUE,c.prototype.toInt=function(){return this.unsigned?this.low>>>0:this.low},c.prototype.toNumber=function(){return this.unsigned?(this.high>>>0)*g+(this.low>>>0):this.high*g+(this.low>>>0)},c.prototype.toString=function(a){if(a=a||10,2>a||a>36)throw new Error("radix out of range: "+a);if(this.isZero())return"0";var b;if(this.isNegative()){if(this.equals(c.MIN_SIGNED_VALUE)){var d=c.fromNumber(a),e=this.div(d);return b=e.multiply(d).subtract(this),e.toString(a)+b.toInt().toString(a)}return"-"+this.negate().toString(a)}var f=c.fromNumber(Math.pow(a,6),this.unsigned);b=this;for(var g="";;){var h=b.div(f),i=b.subtract(h.multiply(f)).toInt()>>>0,j=i.toString(a);if(b=h,b.isZero())return j+g;for(;j.length<6;)j="0"+j;g=""+j+g}},c.prototype.getHighBits=function(){return this.high},c.prototype.getHighBitsUnsigned=function(){return this.high>>>0},c.prototype.getLowBits=function(){return this.low},c.prototype.getLowBitsUnsigned=function(){return this.low>>>0},c.prototype.getNumBitsAbs=function(){if(this.isNegative())return this.equals(c.MIN_SIGNED_VALUE)?64:this.negate().getNumBitsAbs();for(var a=0!=this.high?this.high:this.low,b=31;b>0&&0==(a&1<>>31!=a.high>>>31?!1:this.high==a.high&&this.low==a.low},c.prototype.notEquals=function(a){return!this.equals(a)},c.prototype.lessThan=function(a){return this.compare(a)<0},c.prototype.lessThanOrEqual=function(a){return this.compare(a)<=0},c.prototype.greaterThan=function(a){return this.compare(a)>0},c.prototype.greaterThanOrEqual=function(a){return this.compare(a)>=0},c.prototype.compare=function(a){if(this.equals(a))return 0;var b=this.isNegative(),c=a.isNegative();return b&&!c?-1:!b&&c?1:this.unsigned?a.high>>>0>this.high>>>0||a.high==this.high&&a.low>>>0>this.low>>>0?-1:1:this.subtract(a).isNegative()?-1:1},c.prototype.negate=function(){return!this.unsigned&&this.equals(c.MIN_SIGNED_VALUE)?c.MIN_SIGNED_VALUE:this.not().add(c.ONE)},c.prototype.add=function(a){var b=this.high>>>16,d=65535&this.high,e=this.low>>>16,f=65535&this.low,g=a.high>>>16,h=65535&a.high,i=a.low>>>16,j=65535&a.low,k=0,l=0,m=0,n=0;return n+=f+j,m+=n>>>16,n&=65535,m+=e+i,l+=m>>>16,m&=65535,l+=d+h,k+=l>>>16,l&=65535,k+=b+g,k&=65535,c.fromBits(m<<16|n,k<<16|l,this.unsigned)},c.prototype.subtract=function(a){return this.add(a.negate())},c.prototype.multiply=function(a){if(this.isZero())return c.ZERO;if(a.isZero())return c.ZERO;if(this.equals(c.MIN_VALUE))return a.isOdd()?c.MIN_VALUE:c.ZERO;if(a.equals(c.MIN_VALUE))return this.isOdd()?c.MIN_VALUE:c.ZERO;if(this.isNegative())return a.isNegative()?this.negate().multiply(a.negate()):this.negate().multiply(a).negate();if(a.isNegative())return this.multiply(a.negate()).negate();if(this.lessThan(j)&&a.lessThan(j))return c.fromNumber(this.toNumber()*a.toNumber(),this.unsigned);var b=this.high>>>16,d=65535&this.high,e=this.low>>>16,f=65535&this.low,g=a.high>>>16,h=65535&a.high,i=a.low>>>16,k=65535&a.low,l=0,m=0,n=0,o=0;return o+=f*k,n+=o>>>16,o&=65535,n+=e*k,m+=n>>>16,n&=65535,n+=f*i,m+=n>>>16,n&=65535,m+=d*k,l+=m>>>16,m&=65535,m+=e*i,l+=m>>>16,m&=65535,m+=f*h,l+=m>>>16,m&=65535,l+=b*k+d*i+e*h+f*g,l&=65535,c.fromBits(n<<16|o,l<<16|m,this.unsigned)},c.prototype.div=function(a){if(a.isZero())throw new Error("division by zero");if(this.isZero())return this.unsigned?c.UZERO:c.ZERO;var b,d,e;if(this.equals(c.MIN_SIGNED_VALUE)){if(a.equals(c.ONE)||a.equals(c.NEG_ONE))return c.MIN_SIGNED_VALUE;if(a.equals(c.MIN_SIGNED_VALUE))return c.ONE;var f=this.shiftRight(1);return b=f.div(a).shiftLeft(1),b.equals(c.ZERO)?a.isNegative()?c.ONE:c.NEG_ONE:(d=this.subtract(a.multiply(b)),e=b.add(d.div(a)))}if(a.equals(c.MIN_SIGNED_VALUE))return this.unsigned?c.UZERO:c.ZERO;if(this.isNegative())return a.isNegative()?this.negate().div(a.negate()):this.negate().div(a).negate();if(a.isNegative())return this.div(a.negate()).negate();for(e=c.ZERO,d=this;d.greaterThanOrEqual(a);){b=Math.max(1,Math.floor(d.toNumber()/a.toNumber()));for(var g=Math.ceil(Math.log(b)/Math.LN2),h=48>=g?1:Math.pow(2,g-48),i=c.fromNumber(b),j=i.multiply(a);j.isNegative()||j.greaterThan(d);)b-=h,i=c.fromNumber(b,this.unsigned),j=i.multiply(a);i.isZero()&&(i=c.ONE),e=e.add(i),d=d.subtract(j)}return e},c.prototype.modulo=function(a){return this.subtract(this.div(a).multiply(a))},c.prototype.not=function(){return c.fromBits(~this.low,~this.high,this.unsigned)},c.prototype.and=function(a){return c.fromBits(this.low&a.low,this.high&a.high,this.unsigned)},c.prototype.or=function(a){return c.fromBits(this.low|a.low,this.high|a.high,this.unsigned)},c.prototype.xor=function(a){return c.fromBits(this.low^a.low,this.high^a.high,this.unsigned)},c.prototype.shiftLeft=function(a){return 0===(a&=63)?this:32>a?c.fromBits(this.low<>>32-a,this.unsigned):c.fromBits(0,this.low<a?c.fromBits(this.low>>>a|this.high<<32-a,this.high>>a,this.unsigned):c.fromBits(this.high>>a-32,this.high>=0?0:-1,this.unsigned)},c.prototype.shiftRightUnsigned=function(a){if(a&=63,0==a)return this;var b=this.high;if(32>a){var d=this.low;return c.fromBits(d>>>a|b<<32-a,b>>>a,this.unsigned)}return 32==a?c.fromBits(b,0,this.unsigned):c.fromBits(b>>>a-32,0,this.unsigned)},c.prototype.toSigned=function(){var a=this.clone();return a.unsigned=!1,a},c.prototype.toUnsigned=function(){var a=this.clone();return a.unsigned=!0,a},c.prototype.clone=function(){return new c(this.low,this.high,this.unsigned)},"undefined"!=typeof b&&b.exports?b.exports=c:"undefined"!=typeof define&&define.amd?define("Math/Long",[],function(){return c}):(a.dcodeIO||(a.dcodeIO={}),a.dcodeIO.Long=c)}(this)},{}],44:[function(a,b,c){b.exports=a("./dist/Long.js")},{"./dist/Long.js":43}],45:[function(a,b,c){var d=b.exports=a("./lib/walletutils");d.Bitcore=a("bitcore")},{"./lib/walletutils":46,bitcore:51}],46:[function(a,b,c){(function(c){"use strict";function d(){}var e=a("lodash"),f=a("preconditions").singleton(),g=a("sjcl"),h=a("json-stable-stringify"),i=a("bitcore"),j=i.Address,k=i.PrivateKey,l=i.PublicKey,m=i.crypto,n=i.encoding;d.SCRIPT_TYPES={P2SH:"P2SH",P2PKH:"P2PKH"},d.DERIVATION_STRATEGIES={BIP44:"BIP44",BIP45:"BIP45"},d.PATHS={BASE_ADDRESS_DERIVATION:{BIP45:{livenet:"m/45'",testnet:"m/45'"},BIP44:{livenet:"m/44'/0'/0'",testnet:"m/44'/1'/0'"}},REQUEST_KEY:"m/1'/0",TXPROPOSAL_KEY:"m/1'/1",REQUEST_KEY_AUTH:"m/2"},d.DEFAULT_FEE_PER_KB=1e4,d.MIN_FEE_PER_KB=0,d.MAX_FEE_PER_KB=1e6,d.MAX_TX_FEE=1e8,d.hashMessage=function(a){f.checkArgument(a);var b=new c(a),d=m.Hash.sha256sha256(b);return d=new i.encoding.BufferReader(d).readReverse()},d.signMessage=function(a,b){f.checkArgument(a);var c=new k(b),e=d.hashMessage(a);return m.ECDSA.sign(e,c,"little").toString()},d.verifyMessage=function(a,b,c){if(f.checkArgument(a),f.checkArgument(c),!b)return!1;var e=new l(c),g=d.hashMessage(a);try{var h=new m.Signature.fromString(b);return m.ECDSA.verify(g,h,e,"little")}catch(i){return!1}},d.deriveAddress=function(a,b,c,g,h){f.checkArgument(e.contains(e.keys(d.SCRIPT_TYPES),a));var k,l=e.map(b,function(a){var b=new i.HDPublicKey(a.xPubKey);return b.derive(c).publicKey});switch(a){case d.SCRIPT_TYPES.P2SH:k=j.createMultisig(l,g,h);break;case d.SCRIPT_TYPES.P2PKH:f.checkState(e.isArray(l)&&1==l.length),k=j.fromPublicKey(l[0],h)}return{address:k.toString(),path:c,publicKeys:e.invoke(l,"toString")}},d.getProposalHash=function(a){function b(a,b,c,d){return[a,b,c||"",d||""].join("|")}return arguments.length>1?b.apply(this,arguments):h(a)},d.getCopayerHash=function(a,b,c){return[a,b,c].join("|")},d.xPubToCopayerId=function(a){var b=g.hash.sha256.hash(a);return g.codec.hex.fromBits(b)},d.toSecret=function(a,b,d){e.isString(b)&&(b=i.PrivateKey.fromString(b));var f=new c(a.replace(/-/g,""),"hex"),g=new n.Base58(f).toString();return e.padRight(g,22,"0")+b.toWIF()+("testnet"==d?"T":"L")},d.fromSecret=function(a){function b(a,b){var c=[];b.push(a.length);for(var d=0;d1&&(f.checkState(b.outputs.length==a.outputOrder.length),b.sortOutputs(function(b){return e.map(a.outputOrder,function(a){return b[a]})}));var c=e.reduce(a.inputs,function(a,b){return+b.satoshis+a},0),g=e.reduce(b.outputs,function(a,b){return+b.satoshis+a},0);return f.checkState(c-g<=d.MAX_TX_FEE),b},d.deriveXPrivFromMaster=function(a,b,c){var e=d.PATHS.BASE_ADDRESS_DERIVATION[b][c];return new i.HDPrivateKey(a,c).derive(e)},d.signTxp=function(a,b){f.checkArgument(a),f.checkArgument(b),f.checkArgument(a.amount||a.outputs&&a.outputs[0].amount,"amount is invalid"),f.checkArgument(a.changeAddress&&a.changeAddress.address,"changeAddress is invalid"),f.checkState(e.contains(e.values(d.DERIVATION_STRATEGIES),a.derivationStrategy));var c=[],g={},h=new i.Address(a.changeAddress.address).network.name,j=d.deriveXPrivFromMaster(b,a.derivationStrategy,h);e.each(a.inputs,function(a){g[a.path]||(g[a.path]=j.derive(a.path).privateKey,c.push(g[a.path]))});var k=d.buildTx(a),l=e.map(c,function(a,b){return k.getSignatures(a)});return l=e.map(e.sortBy(e.flatten(l),"inputIndex"),function(a){return a.signature.toDER().toString("hex")})},d.getNetworkFromExtendedKey=function(a){return f.checkArgument(a&&e.isString(a)),"t"==a.charAt(0)?"testnet":"livenet"};var o={btc:{toSatoshis:1e8,maxDecimals:6,minDecimals:2},bit:{toSatoshis:100,maxDecimals:0,minDecimals:0}};d.formatAmount=function(a,b,c){function d(a,b,c,d){a=a.replace(".",c);var f=a.split(c),g=f[0],h=f[1];h=e.dropRightWhile(h,function(a,b){return"0"==a&&b>=d}).join("");var i=f.length>1?c+h:"";return g=g.replace(/\B(?=(\d{3})+(?!\d))/g,b),g+i}f.shouldBeNumber(a),f.checkArgument(e.contains(e.keys(o),b)),c=c||{};var g=o[b],h=(a/g.toSatoshis).toFixed(g.maxDecimals);return d(h,c.thousandsSeparator||",",c.decimalSeparator||".",g.minDecimals)},d.signRequestPubKey=function(a,b){var c=new i.HDPrivateKey(b).derive(d.PATHS.REQUEST_KEY_AUTH).privateKey;return d.signMessage(a,c)},d.verifyRequestPubKey=function(a,b,c){var e=new i.HDPublicKey(c).derive(d.PATHS.REQUEST_KEY_AUTH).publicKey;return d.verifyMessage(a,b,e.toString())},b.exports=d}).call(this,a("buffer").Buffer)},{bitcore:51,buffer:145,"json-stable-stringify":47,lodash:322,preconditions:323,sjcl:419}],47:[function(a,b,c){var d="undefined"!=typeof JSON?JSON:a("jsonify");b.exports=function(a,b){b||(b={}),"function"==typeof b&&(b={cmp:b});var c=b.space||"";"number"==typeof c&&(c=Array(c+1).join(" "));var g="boolean"==typeof b.cycles?b.cycles:!1,h=b.replacer||function(a,b){return b},i=b.cmp&&function(a){return function(b){return function(c,d){var e={key:c,value:b[c]},f={key:d,value:b[d]};return a(e,f)}}}(b.cmp),j=[];return function k(a,b,l,m){var n=c?"\n"+new Array(m+1).join(c):"",o=c?": ":":";if(l&&l.toJSON&&"function"==typeof l.toJSON&&(l=l.toJSON()),l=h.call(a,b,l),void 0!==l){if("object"!=typeof l||null===l)return d.stringify(l);if(e(l)){for(var p=[],q=0;q="0"&&"9">=e;)b+=e,j();if("."===e)for(b+=".";j()&&e>="0"&&"9">=e;)b+=e;if("e"===e||"E"===e)for(b+=e,j(),("-"===e||"+"===e)&&(b+=e,j());e>="0"&&"9">=e;)b+=e,j();return a=+b,isFinite(a)?a:void i("Bad number")},l=function(){var a,b,c,d="";if('"'===e)for(;j();){if('"'===e)return j(),d;if("\\"===e)if(j(),"u"===e){for(c=0,b=0;4>b&&(a=parseInt(j(),16),isFinite(a));b+=1)c=16*c+a;d+=String.fromCharCode(c)}else{if("string"!=typeof h[e])break;d+=h[e]}else d+=e}i("Bad string")},m=function(){for(;e&&" ">=e;)j()},n=function(){switch(e){case"t":return j("t"),j("r"),j("u"),j("e"),!0;case"f":return j("f"),j("a"),j("l"),j("s"),j("e"),!1;case"n":return j("n"),j("u"),j("l"),j("l"),null}i("Unexpected '"+e+"'")},o=function(){var a=[];if("["===e){if(j("["),m(),"]"===e)return j("]"),a;for(;e;){if(a.push(g()),m(),"]"===e)return j("]"),a;j(","),m()}}i("Bad array")},p=function(){var a,b={};if("{"===e){if(j("{"),m(),"}"===e)return j("}"),b;for(;e;){if(a=l(),m(),j(":"),Object.hasOwnProperty.call(b,a)&&i('Duplicate key "'+a+'"'),b[a]=g(),m(),"}"===e)return j("}"),b;j(","),m()}}i("Bad object")};g=function(){switch(m(),e){case"{":return p();case"[":return o();case'"':return l();case"-":return k();default:return e>="0"&&"9">=e?k():n()}},b.exports=function(a,b){var c;return f=a,d=0,e=" ",c=g(),m(),e&&i("Syntax error"),"function"==typeof b?function h(a,c){var d,e,f=a[c];if(f&&"object"==typeof f)for(d in f)Object.prototype.hasOwnProperty.call(f,d)&&(e=h(f,d),void 0!==e?f[d]=e:delete f[d]);return b.call(a,c,f)}({"":c},""):c}},{}],50:[function(a,b,c){function d(a){return i.lastIndex=0,i.test(a)?'"'+a.replace(i,function(a){var b=j[a];return"string"==typeof b?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function e(a,b){var c,i,j,k,l,m=f,n=b[a];switch(n&&"object"==typeof n&&"function"==typeof n.toJSON&&(n=n.toJSON(a)),"function"==typeof h&&(n=h.call(b,a,n)),typeof n){case"string":return d(n);case"number":return isFinite(n)?String(n):"null";case"boolean":case"null":return String(n);case"object":if(!n)return"null";if(f+=g,l=[],"[object Array]"===Object.prototype.toString.apply(n)){for(k=n.length,c=0;k>c;c+=1)l[c]=e(c,n)||"null";return j=0===l.length?"[]":f?"[\n"+f+l.join(",\n"+f)+"\n"+m+"]":"["+l.join(",")+"]",f=m,j}if(h&&"object"==typeof h)for(k=h.length,c=0;k>c;c+=1)i=h[c],"string"==typeof i&&(j=e(i,n),j&&l.push(d(i)+(f?": ":":")+j));else for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(j=e(i,n),j&&l.push(d(i)+(f?": ":":")+j));return j=0===l.length?"{}":f?"{\n"+f+l.join(",\n"+f)+"\n"+m+"}":"{"+l.join(",")+"}",f=m,j}}var f,g,h,i=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,j={ +"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};b.exports=function(a,b,c){var d;if(f="",g="","number"==typeof c)for(d=0;c>d;d+=1)g+=" ";else"string"==typeof c&&(g=c);if(h=b,b&&"function"!=typeof b&&("object"!=typeof b||"number"!=typeof b.length))throw new Error("JSON.stringify");return e("",{"":a})}},{}],51:[function(a,b,c){(function(c,d){"use strict";var e=b.exports;e.version="v"+a("./package.json").version,e.versionGuard=function(a){if(void 0!==a){var b="More than one instance of bitcore found with versions: "+e.version+" and "+a+". Please make sure to require bitcore and check that submodules do not also include their own bitcore dependency.";throw new Error(b)}},e.versionGuard(c._bitcore),c._bitcore=e.version,e.crypto={},e.crypto.BN=a("./lib/crypto/bn"),e.crypto.ECDSA=a("./lib/crypto/ecdsa"),e.crypto.Hash=a("./lib/crypto/hash"),e.crypto.Random=a("./lib/crypto/random"),e.crypto.Point=a("./lib/crypto/point"),e.crypto.Signature=a("./lib/crypto/signature"),e.encoding={},e.encoding.Base58=a("./lib/encoding/base58"),e.encoding.Base58Check=a("./lib/encoding/base58check"),e.encoding.BufferReader=a("./lib/encoding/bufferreader"),e.encoding.BufferWriter=a("./lib/encoding/bufferwriter"),e.encoding.Varint=a("./lib/encoding/varint"),e.util={},e.util.buffer=a("./lib/util/buffer"),e.util.js=a("./lib/util/js"),e.util.preconditions=a("./lib/util/preconditions"),e.errors=a("./lib/errors"),e.Address=a("./lib/address"),e.Block=a("./lib/block"),e.MerkleBlock=a("./lib/block/merkleblock"),e.BlockHeader=a("./lib/block/blockheader"),e.HDPrivateKey=a("./lib/hdprivatekey.js"),e.HDPublicKey=a("./lib/hdpublickey.js"),e.Networks=a("./lib/networks"),e.Opcode=a("./lib/opcode"),e.PrivateKey=a("./lib/privatekey"),e.PublicKey=a("./lib/publickey"),e.Script=a("./lib/script"),e.Transaction=a("./lib/transaction"),e.URI=a("./lib/uri"),e.Unit=a("./lib/unit"),e.deps={},e.deps.bnjs=a("bn.js"),e.deps.bs58=a("bs58"),e.deps.Buffer=d,e.deps.elliptic=a("elliptic"),e.deps._=a("lodash"),e._HDKeyCache=a("./lib/hdkeycache"),e.Transaction.sighash=a("./lib/transaction/sighash")}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},a("buffer").Buffer)},{"./lib/address":52,"./lib/block":55,"./lib/block/blockheader":54,"./lib/block/merkleblock":56,"./lib/crypto/bn":57,"./lib/crypto/ecdsa":58,"./lib/crypto/hash":59,"./lib/crypto/point":60,"./lib/crypto/random":61,"./lib/crypto/signature":62,"./lib/encoding/base58":63,"./lib/encoding/base58check":64,"./lib/encoding/bufferreader":65,"./lib/encoding/bufferwriter":66,"./lib/encoding/varint":67,"./lib/errors":68,"./lib/hdkeycache":70,"./lib/hdprivatekey.js":71,"./lib/hdpublickey.js":72,"./lib/networks":73,"./lib/opcode":74,"./lib/privatekey":75,"./lib/publickey":76,"./lib/script":77,"./lib/transaction":80,"./lib/transaction/sighash":87,"./lib/unit":91,"./lib/uri":92,"./lib/util/buffer":93,"./lib/util/js":94,"./lib/util/preconditions":95,"./package.json":127,"bn.js":96,bs58:97,buffer:145,elliptic:98,lodash:120}],52:[function(a,b,c){(function(c){"use strict";function d(a,b,c){if(!(this instanceof d))return new d(a,b,c);if(e.isArray(a)&&e.isNumber(b))return d.createMultisig(a,b,c);if(a instanceof d)return a;if(f.checkArgument(a,"First argument is required, please include address data.","guide/address.html"),b&&!i.get(b))throw new TypeError('Second argument must be "livenet" or "testnet".');if(c&&c!==d.PayToPublicKeyHash&&c!==d.PayToScriptHash)throw new TypeError('Third argument must be "pubkeyhash" or "scripthash".');var g=this._classifyArguments(a,b,c);return g.network=g.network||i.get(b)||i.defaultNetwork,g.type=g.type||c||d.PayToPublicKeyHash,k.defineImmutable(this,{hashBuffer:g.hashBuffer,network:g.network,type:g.type}),this}var e=a("lodash"),f=a("./util/preconditions"),g=a("./errors"),h=a("./encoding/base58check"),i=a("./networks"),j=a("./crypto/hash"),k=a("./util/js"),l=a("./publickey");d.prototype._classifyArguments=function(a,b,f){if((a instanceof c||a instanceof Uint8Array)&&20===a.length)return d._transformHash(a);if((a instanceof c||a instanceof Uint8Array)&&21===a.length)return d._transformBuffer(a,b,f);if(a instanceof l)return d._transformPublicKey(a);if(a instanceof m)return d._transformScript(a,b);if("string"==typeof a)return d._transformString(a,b,f);if(e.isObject(a))return d._transformObject(a);throw new TypeError("First argument is an unrecognized data format.")},d.PayToPublicKeyHash="pubkeyhash",d.PayToScriptHash="scripthash",d._transformHash=function(a){var b={};if(!(a instanceof c||a instanceof Uint8Array))throw new TypeError("Address supplied is not a buffer.");if(20!==a.length)throw new TypeError("Address hashbuffers must be exactly 20 bytes.");return b.hashBuffer=a,b},d._transformObject=function(a){return f.checkArgument(a.hash||a.hashBuffer,"Must provide a `hash` or `hashBuffer` property"),f.checkArgument(a.type,"Must provide a `type` property"),{hashBuffer:a.hash?new c(a.hash,"hex"):a.hashBuffer,network:i.get(a.network)||i.defaultNetwork,type:a.type}},d._classifyFromVersion=function(a){var b={},c=i.get(a[0],"pubkeyhash"),e=i.get(a[0],"scripthash");return c?(b.network=c,b.type=d.PayToPublicKeyHash):e&&(b.network=e,b.type=d.PayToScriptHash),b},d._transformBuffer=function(a,b,e){var f={};if(!(a instanceof c||a instanceof Uint8Array))throw new TypeError("Address supplied is not a buffer.");if(21!==a.length)throw new TypeError("Address buffers must be exactly 21 bytes.");b=i.get(b);var g=d._classifyFromVersion(a);if(!g.network||b&&b!==g.network)throw new TypeError("Address has mismatched network type.");if(!g.type||e&&e!==g.type)throw new TypeError("Address has mismatched type.");return f.hashBuffer=a.slice(1),f.network=g.network,f.type=g.type,f},d._transformPublicKey=function(a){var b={};if(!(a instanceof l))throw new TypeError("Address must be an instance of PublicKey.");return b.hashBuffer=j.sha256ripemd160(a.toBuffer()),b.type=d.PayToPublicKeyHash,b},d._transformScript=function(a,b){f.checkArgument(a instanceof m,"script must be a Script instance");var c=a.getAddressInfo(b);if(!c)throw new g.Script.CantDeriveAddress(a);return c},d.createMultisig=function(a,b,c){return c=c||a[0].network||i.defaultNetwork,d.payingTo(m.buildMultisigOut(a,b),c)},d._transformString=function(a,b,c){if("string"!=typeof a)throw new TypeError("data parameter supplied is not a string.");a=a.trim();var e=h.decode(a),f=d._transformBuffer(e,b,c);return f},d.fromPublicKey=function(a,b){var c=d._transformPublicKey(a);return b=b||i.defaultNetwork,new d(c.hashBuffer,b,c.type)},d.fromPublicKeyHash=function(a,b){var c=d._transformHash(a);return new d(c.hashBuffer,b,d.PayToPublicKeyHash)},d.fromScriptHash=function(a,b){f.checkArgument(a,"hash parameter is required");var c=d._transformHash(a);return new d(c.hashBuffer,b,d.PayToScriptHash)},d.payingTo=function(a,b){return f.checkArgument(a,"script is required"),f.checkArgument(a instanceof m,"script must be instance of Script"),d.fromScriptHash(j.sha256ripemd160(a.toBuffer()),b)},d.fromScript=function(a,b){f.checkArgument(a instanceof m,"script must be a Script instance");var c=d._transformScript(a,b);return new d(c.hashBuffer,b,c.type)},d.fromBuffer=function(a,b,c){var e=d._transformBuffer(a,b,c);return new d(e.hashBuffer,e.network,e.type)},d.fromString=function(a,b,c){var e=d._transformString(a,b,c);return new d(e.hashBuffer,e.network,e.type)},d.fromObject=function(a){f.checkState(k.isHexa(a.hash),'Unexpected hash property, "'+a.hash+'", expected to be hex.');var b=new c(a.hash,"hex");return new d(b,a.network,a.type)},d.getValidationError=function(a,b,c){var e;try{new d(a,b,c)}catch(f){e=f}return e},d.isValid=function(a,b,c){return!d.getValidationError(a,b,c)},d.prototype.isPayToPublicKeyHash=function(){return this.type===d.PayToPublicKeyHash},d.prototype.isPayToScriptHash=function(){return this.type===d.PayToScriptHash},d.prototype.toBuffer=function(){var a=new c([this.network[this.type]]),b=c.concat([a,this.hashBuffer]);return b},d.prototype.toObject=d.prototype.toJSON=function(){return{hash:this.hashBuffer.toString("hex"),type:this.type,network:this.network.toString()}},d.prototype.toString=function(){return h.encode(this.toBuffer())},d.prototype.inspect=function(){return""},b.exports=d;var m=a("./script")}).call(this,a("buffer").Buffer)},{"./crypto/hash":59,"./encoding/base58check":64,"./errors":68,"./networks":73,"./publickey":76,"./script":77,"./util/js":94,"./util/preconditions":95,buffer:145,lodash:120}],53:[function(a,b,c){(function(c){"use strict";function d(a){return this instanceof d?(e.extend(this,d._from(a)),this):new d(a)}var e=a("lodash"),f=a("./blockheader"),g=a("../crypto/bn"),h=a("../util/buffer"),i=a("../encoding/bufferreader"),j=a("../encoding/bufferwriter"),k=a("../crypto/hash"),l=a("../transaction"),m=a("../util/preconditions");d.MAX_BLOCK_SIZE=1e6,d._from=function(a){var b={};if(h.isBuffer(a))b=d._fromBufferReader(i(a));else{if(!e.isObject(a))throw new TypeError("Unrecognized argument for Block");b=d._fromObject(a)}return b},d._fromObject=function(a){var b=[];a.transactions.forEach(function(a){a instanceof l?b.push(a):b.push(l().fromObject(a))});var c={header:f.fromObject(a.header),transactions:b};return c},d.fromObject=function(a){var b=d._fromObject(a);return new d(b)},d._fromBufferReader=function(a){var b={};m.checkState(!a.finished(),"No block data received"),b.header=f.fromBufferReader(a);var c=a.readVarintNum();b.transactions=[];for(var d=0;c>d;d++)b.transactions.push(l().fromBufferReader(a));return b},d.fromBufferReader=function(a){m.checkArgument(a,"br is required");var b=d._fromBufferReader(a);return new d(b)},d.fromBuffer=function(a){return d.fromBufferReader(new i(a))},d.fromString=function(a){var b=new c(a,"hex");return d.fromBuffer(b)},d.fromRawBlock=function(a){h.isBuffer(a)||(a=new c(a,"binary"));var b=i(a);b.pos=d.Values.START_OF_BLOCK;var e=d._fromBufferReader(b);return new d(e)},d.prototype.toObject=d.prototype.toJSON=function(){var a=[];return this.transactions.forEach(function(b){a.push(b.toObject())}),{header:this.header.toObject(),transactions:a}},d.prototype.toBuffer=function(){return this.toBufferWriter().concat()},d.prototype.toString=function(){return this.toBuffer().toString("hex")},d.prototype.toBufferWriter=function(a){a||(a=new j),a.write(this.header.toBuffer()),a.writeVarintNum(this.transactions.length);for(var b=0;b1;d=Math.floor((d+1)/2)){for(var e=0;d>e;e+=2){var f=Math.min(e+1,d-1),g=c.concat([a[b+e],a[b+f]]);a.push(k.sha256sha256(g))}b+=d}return a},d.prototype.getMerkleRoot=function(){var a=this.getMerkleTree();return a[a.length-1]},d.prototype.validMerkleRoot=function(){var a=new g(this.header.merkleRoot.toString("hex"),"hex"),b=new g(this.getMerkleRoot().toString("hex"),"hex");return 0!==a.cmp(b)?!1:!0},d.prototype._getHash=function(){return this.header._getHash()};var n={configurable:!1,enumerable:!0,get:function(){return this._id||(this._id=this.header.id),this._id},set:e.noop};Object.defineProperty(d.prototype,"id",n),Object.defineProperty(d.prototype,"hash",n),d.prototype.inspect=function(){return""},d.Values={START_OF_BLOCK:8,NULL_HASH:new c("0000000000000000000000000000000000000000000000000000000000000000","hex")},b.exports=d}).call(this,a("buffer").Buffer)},{"../crypto/bn":57,"../crypto/hash":59,"../encoding/bufferreader":65,"../encoding/bufferwriter":66,"../transaction":80,"../util/buffer":93,"../util/preconditions":95,"./blockheader":54,buffer:145,lodash:120}],54:[function(a,b,c){(function(c){"use strict";var d=a("lodash"),e=a("../crypto/bn"),f=a("../util/buffer"),g=a("../encoding/bufferreader"),h=a("../encoding/bufferwriter"),i=a("../crypto/hash"),j=(a("../util/js"),a("../util/preconditions")),k=function m(a){if(!(this instanceof m))return new m(a);var b=m._from(a);return this.version=b.version,this.prevHash=b.prevHash,this.merkleRoot=b.merkleRoot,this.time=b.time,this.timestamp=b.time,this.bits=b.bits,this.nonce=b.nonce,b.hash&&j.checkState(this.hash===b.hash,"Argument object hash property does not match block hash."),this};k._from=function(a){var b={};if(f.isBuffer(a))b=k._fromBufferReader(g(a));else{if(!d.isObject(a))throw new TypeError("Unrecognized argument for BlockHeader");b=k._fromObject(a)}return b},k._fromObject=function(a){j.checkArgument(a,"data is required");var b=a.prevHash,e=a.merkleRoot;d.isString(a.prevHash)&&(b=f.reverse(new c(a.prevHash,"hex"))),d.isString(a.merkleRoot)&&(e=f.reverse(new c(a.merkleRoot,"hex")));var g={hash:a.hash,version:a.version,prevHash:b,merkleRoot:e,time:a.time,timestamp:a.time,bits:a.bits,nonce:a.nonce};return g},k.fromObject=function(a){var b=k._fromObject(a);return new k(b)},k.fromRawBlock=function(a){f.isBuffer(a)||(a=new c(a,"binary"));var b=g(a);b.pos=k.Constants.START_OF_HEADER;var d=k._fromBufferReader(b);return new k(d)},k.fromBuffer=function(a){var b=k._fromBufferReader(g(a));return new k(b)},k.fromString=function(a){var b=new c(a,"hex");return k.fromBuffer(b)},k._fromBufferReader=function(a){var b={};return b.version=a.readUInt32LE(),b.prevHash=a.read(32),b.merkleRoot=a.read(32),b.time=a.readUInt32LE(),b.bits=a.readUInt32LE(),b.nonce=a.readUInt32LE(),b},k.fromBufferReader=function(a){var b=k._fromBufferReader(a);return new k(b)},k.prototype.toObject=k.prototype.toJSON=function(){return{hash:this.hash,version:this.version,prevHash:f.reverse(this.prevHash).toString("hex"),merkleRoot:f.reverse(this.merkleRoot).toString("hex"),time:this.time,bits:this.bits,nonce:this.nonce}},k.prototype.toBuffer=function(){return this.toBufferWriter().concat()},k.prototype.toString=function(){return this.toBuffer().toString("hex")},k.prototype.toBufferWriter=function(a){return a||(a=new h),a.writeUInt32LE(this.version),a.write(this.prevHash),a.write(this.merkleRoot),a.writeUInt32LE(this.time),a.writeUInt32LE(this.bits),a.writeUInt32LE(this.nonce),a},k.prototype.getTargetDifficulty=function(a){for(var b=new e(16777215&this.bits),c=8*((this.bits>>>24)-3);c-->0;)b=b.mul(new e(2));return b},k.prototype._getHash=function(){var a=this.toBuffer();return i.sha256sha256(a)};var l={configurable:!1,enumerable:!0,get:function(){return this._id||(this._id=g(this._getHash()).readReverse().toString("hex")),this._id},set:d.noop};Object.defineProperty(k.prototype,"id",l),Object.defineProperty(k.prototype,"hash",l),k.prototype.validTimestamp=function(){var a=Math.round((new Date).getTime()/1e3);return this.time>a+k.Constants.MAX_TIME_OFFSET?!1:!0},k.prototype.validProofOfWork=function(){var a=new e(this.id,"hex"),b=this.getTargetDifficulty();return a.cmp(b)>0?!1:!0},k.prototype.inspect=function(){return""},k.Constants={START_OF_HEADER:8,MAX_TIME_OFFSET:7200,LARGEST_HASH:new e("10000000000000000000000000000000000000000000000000000000000000000","hex")},b.exports=k}).call(this,a("buffer").Buffer)},{"../crypto/bn":57,"../crypto/hash":59,"../encoding/bufferreader":65,"../encoding/bufferwriter":66,"../util/buffer":93,"../util/js":94,"../util/preconditions":95,buffer:145,lodash:120}],55:[function(a,b,c){b.exports=a("./block"),b.exports.BlockHeader=a("./blockheader"),b.exports.MerkleBlock=a("./merkleblock")},{"./block":53,"./blockheader":54,"./merkleblock":56}],56:[function(a,b,c){(function(c){"use strict";function d(a){if(!(this instanceof d))return new d(a);var b={};if(g.isBuffer(a))b=d._fromBufferReader(h(a));else{if(!e.isObject(a))throw new TypeError("Unrecognized argument for MerkleBlock");var c;c=a.header instanceof f?a.header:f.fromObject(a.header),b={header:c,numTransactions:a.numTransactions,hashes:a.hashes,flags:a.flags}}return e.extend(this,b),this._flagBitsUsed=0,this._hashesUsed=0,this}var e=a("lodash"),f=a("./blockheader"),g=a("../util/buffer"),h=a("../encoding/bufferreader"),i=a("../encoding/bufferwriter"),j=a("../crypto/hash"),k=(a("../util/js"),a("../transaction")),l=a("../util/preconditions");d.fromBuffer=function(a){return d.fromBufferReader(h(a))},d.fromBufferReader=function(a){return new d(d._fromBufferReader(a))},d.prototype.toBuffer=function(){return this.toBufferWriter().concat()},d.prototype.toBufferWriter=function(a){a||(a=new i),a.write(this.header.toBuffer()),a.writeUInt32LE(this.numTransactions),a.writeVarintNum(this.hashes.length);for(var b=0;bthis.numTransactions)return!1;if(8*this.flags.length8*this.flags.length)return null;var e=this.flags[d.flagBitsUsed>>3]>>>(7&d.flagBitsUsed++)&1;if(0!==a&&e){var f=this._traverseMerkleTree(a-1,2*b,d),g=f;return 2*b+1=this.hashes.length)return null;var h=this.hashes[d.hashesUsed++];return 0===a&&e&&d.txs.push(h),new c(h,"hex")},d.prototype._calcTreeWidth=function(a){return this.numTransactions+(1<>a},d.prototype._calcTreeHeight=function(){for(var a=0;this._calcTreeWidth(a)>1;)a++;return a},d.prototype.hasTransaction=function(a){l.checkArgument(!e.isUndefined(a),"tx cannot be undefined"),l.checkArgument(a instanceof k||"string"==typeof a,'Invalid tx given, tx must be a "string" or "Transaction"');var b=a;a instanceof k&&(b=g.reverse(new c(a.id,"hex")).toString("hex"));var d=[],f=this._calcTreeHeight();return this._traverseMerkleTree(f,0,{txs:d}),-1!==d.indexOf(b)},d._fromBufferReader=function(a){l.checkState(!a.finished(),"No merkleblock data received");var b={};b.header=f.fromBufferReader(a),b.numTransactions=a.readUInt32LE();var c=a.readVarintNum();b.hashes=[];for(var d=0;c>d;d++)b.hashes.push(a.read(32).toString("hex"));var e=a.readVarintNum();for(b.flags=[],d=0;e>d;d++)b.flags.push(a.readUInt8());return b},d.fromObject=function(a){return new d(a)},b.exports=d}).call(this,a("buffer").Buffer)},{"../crypto/hash":59,"../encoding/bufferreader":65,"../encoding/bufferwriter":66,"../transaction":80,"../util/buffer":93,"../util/js":94,"../util/preconditions":95,"./blockheader":54,buffer:145,lodash:120}],57:[function(a,b,c){(function(c){"use strict";var d=a("bn.js"),e=a("../util/preconditions"),f=a("lodash"),g=function(a){for(var b=new c(a.length),d=0;da.size?b=d.trim(b,f):f0&&0===(127&a[a.length-1])&&(a.length<=1||0===(128&a[a.length-2])))throw new Error("non-minimally encoded script number");return d.fromSM(a,{endian:"little"})},d.prototype.toScriptNumBuffer=function(){return this.toSM({endian:"little"})},d.prototype.gt=function(a){return this.cmp(a)>0},d.prototype.gte=function(a){return this.cmp(a)>=0},d.prototype.lt=function(a){return this.cmp(a)<0},d.trim=function(a,b){return a.slice(b-a.length,a.length)},d.pad=function(a,b,d){for(var e=new c(d),f=0;ff;f++)e[f]=0;return e},b.exports=d}).call(this,a("buffer").Buffer)},{"../util/preconditions":95,"bn.js":96,buffer:145,lodash:120}],58:[function(a,b,c){(function(c){"use strict";var d=a("./bn"),e=a("./point"),f=a("./signature"),g=a("../publickey"),h=a("./random"),i=a("./hash"),j=a("../util/buffer"),k=a("lodash"),l=a("../util/preconditions"),m=function n(a){return this instanceof n?void(a&&this.set(a)):new n(a)};m.prototype.set=function(a){return this.hashbuf=a.hashbuf||this.hashbuf,this.endian=a.endian||this.endian,this.privkey=a.privkey||this.privkey,this.pubkey=a.pubkey||(this.privkey?this.privkey.publicKey:this.pubkey),this.sig=a.sig||this.sig,this.k=a.k||this.k,this.verified=a.verified||this.verified,this},m.prototype.privkey2pubkey=function(){this.pubkey=this.privkey.toPublicKey()},m.prototype.calci=function(){for(var a=0;4>a;a++){this.sig.i=a;var b;try{b=this.toPublicKey()}catch(c){console.error(c);continue}if(b.point.eq(this.pubkey.point))return this.sig.compressed=this.pubkey.compressed,this}throw this.sig.i=void 0,new Error("Unable to find valid recovery factor")},m.fromString=function(a){var b=JSON.parse(a);return new m(b)},m.prototype.randomK=function(){var a,b=e.getN();do a=d.fromBuffer(h.getRandomBuffer(32));while(!a.lt(b)||!a.gt(d.Zero));return this.k=a,this},m.prototype.deterministicK=function(a){k.isUndefined(a)&&(a=0);var b=new c(32);b.fill(1);var f=new c(32);f.fill(0);var g=this.privkey.bn.toBuffer({size:32});f=i.sha256hmac(c.concat([b,new c([0]),g,this.hashbuf]),f),b=i.sha256hmac(b,f),f=i.sha256hmac(c.concat([b,new c([1]),g,this.hashbuf]),f),b=i.sha256hmac(b,f),b=i.sha256hmac(b,f);for(var h=d.fromBuffer(b),j=e.getN(),l=0;a>l||!h.lt(j)||!h.gt(d.Zero);l++)f=i.sha256hmac(c.concat([b,new c([0])]),f),b=i.sha256hmac(b,f),b=i.sha256hmac(b,f),h=d.fromBuffer(b);return this.k=h,this},m.prototype.toPublicKey=function(){var a=this.sig.i;l.checkArgument(0===a||1===a||2===a||3===a,new Error("i must be equal to 0, 1, 2, or 3"));var b=d.fromBuffer(this.hashbuf),c=this.sig.r,f=this.sig.s,h=1&a,i=a>>1,j=e.getN(),k=e.getG(),m=i?c.add(j):c,n=e.fromX(h,m),o=n.mul(j);if(!o.isInfinity())throw new Error("nR is not a valid curve point");var p=b.neg().mod(j),q=c.invm(j),r=n.mul(f).add(k.mul(p)).mul(q),s=g.fromPoint(r,this.sig.compressed);return s},m.prototype.sigError=function(){if(!j.isBuffer(this.hashbuf)||32!==this.hashbuf.length)return"hashbuf must be a 32 byte buffer";var a=this.sig.r,b=this.sig.s;if(!(a.gt(d.Zero)&&a.lt(e.getN())&&b.gt(d.Zero)&&b.lt(e.getN())))return"r and s not in range";var c=d.fromBuffer(this.hashbuf,this.endian?{endian:this.endian}:void 0),f=e.getN(),g=b.invm(f),h=g.mul(c).mod(f),i=g.mul(a).mod(f),k=e.getG().mulAdd(h,this.pubkey.point,i);return k.isInfinity()?"p is infinity":0!==k.getX().mod(f).cmp(a)?"Invalid signature":!1},m.toLowS=function(a){return a.gt(d.fromBuffer(new c("7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0","hex")))&&(a=e.getN().sub(a)),a},m.prototype._findSignature=function(a,b){var c,f,g,h,i=e.getN(),j=e.getG(),k=0;do(!this.k||k>0)&&this.deterministicK(k),k++,c=this.k,f=j.mul(c),g=f.x.mod(i),h=c.invm(i).mul(b.add(a.mul(g))).mod(i);while(g.cmp(d.Zero)<=0||h.cmp(d.Zero)<=0);return h=m.toLowS(h),{s:h,r:g}},m.prototype.sign=function(){var a=this.hashbuf,b=this.privkey,c=b.bn;l.checkState(a&&b&&c,new Error("invalid parameters")),l.checkState(j.isBuffer(a)&&32===a.length,new Error("hashbuf must be a 32 byte buffer"));var e=d.fromBuffer(a,this.endian?{endian:this.endian}:void 0),g=this._findSignature(c,e);return g.compressed=this.pubkey.compressed,this.sig=new f(g),this},m.prototype.signRandomK=function(){return this.randomK(),this.sign()},m.prototype.toString=function(){var a={};return this.hashbuf&&(a.hashbuf=this.hashbuf.toString("hex")),this.privkey&&(a.privkey=this.privkey.toString()),this.pubkey&&(a.pubkey=this.pubkey.toString()),this.sig&&(a.sig=this.sig.toString()),this.k&&(a.k=this.k.toString()),JSON.stringify(a)},m.prototype.verify=function(){return this.sigError()?this.verified=!1:this.verified=!0,this},m.sign=function(a,b,c){return m().set({hashbuf:a,endian:c,privkey:b}).sign().sig},m.verify=function(a,b,c,d){return m().set({hashbuf:a,endian:d,sig:b,pubkey:c}).verify().verified},b.exports=m}).call(this,a("buffer").Buffer)},{"../publickey":76,"../util/buffer":93,"../util/preconditions":95,"./bn":57,"./hash":59,"./point":60,"./random":61,"./signature":62,buffer:145,lodash:120}],59:[function(a,b,c){(function(c,d){"use strict";var e=a("hash.js"),f=a("sha512"),g=a("crypto"),h=a("../util/buffer"),i=a("../util/preconditions"),j=b.exports;j.sha1=function(a){return i.checkArgument(h.isBuffer(a)),g.createHash("sha1").update(a).digest()},j.sha1.blocksize=512,j.sha256=function(a){return i.checkArgument(h.isBuffer(a)),g.createHash("sha256").update(a).digest()},j.sha256.blocksize=512,j.sha256sha256=function(a){return i.checkArgument(h.isBuffer(a)),j.sha256(j.sha256(a))},j.ripemd160=function(a){return i.checkArgument(h.isBuffer(a)),g.createHash("ripemd160").update(a).digest()},c.window&&(j.ripemd160=function(a){i.checkArgument(h.isBuffer(a));var b=(new e.ripemd160).update(a).digest();return new d(b)}),j.sha256ripemd160=function(a){return i.checkArgument(h.isBuffer(a)),j.ripemd160(j.sha256(a))},j.sha512=function(a){i.checkArgument(h.isBuffer(a));var b=f(a);return new d(b)},j.sha512.blocksize=1024,j.hmac=function(a,b,c){i.checkArgument(h.isBuffer(b)),i.checkArgument(h.isBuffer(c)),i.checkArgument(a.blocksize);var e=a.blocksize/8;if(c.length>e)c=a(c);else if(e>c){var f=new d(e);f.fill(0),c.copy(f),c=f}var g=new d(e);g.fill(92);var j=new d(e);j.fill(54);for(var k=new d(e),l=new d(e),m=0;e>m;m++)k[m]=g[m]^c[m],l[m]=j[m]^c[m];return a(d.concat([k,a(d.concat([l,b]))]))},j.sha256hmac=function(a,b){return j.hmac(j.sha256,a,b)},j.sha512hmac=function(a,b){return j.hmac(j.sha512,a,b)}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},a("buffer").Buffer)},{"../util/buffer":93,"../util/preconditions":95,buffer:145,crypto:149,"hash.js":113,sha512:123}],60:[function(a,b,c){(function(c){"use strict";var d=a("./bn"),e=a("../util/buffer"),f=a("elliptic").curves.secp256k1,g=f.curve.point.bind(f.curve),h=f.curve.pointFromX.bind(f.curve),i=function(a,b,c){var d=g(a,b,c);return d.validate(),d};i.prototype=Object.getPrototypeOf(f.curve.point()),i.fromX=function(a,b){var c=h(a,b);return c.validate(),c},i.getG=function(){return f.curve.g},i.getN=function(){return new d(f.curve.n.toArray())},i.prototype._getX=i.prototype.getX,i.prototype.getX=function(){return new d(this._getX().toArray())},i.prototype._getY=i.prototype.getY,i.prototype.getY=function(){return new d(this._getY().toArray())},i.prototype.validate=function(){if(this.isInfinity())throw new Error("Point cannot be equal to Infinity");if(0===this.getX().cmp(d.Zero)||0===this.getY().cmp(d.Zero))throw new Error("Invalid x,y value for curve, cannot equal 0.");var a=h(this.getY().isOdd(),this.getX());if(0!==a.y.cmp(this.y))throw new Error("Invalid y value for curve.");var b=this.getX().gt(d.Minus1)&&this.getX().lt(i.getN()),c=this.getY().gt(d.Minus1)&&this.getY().lt(i.getN());if(!b||!c)throw new Error("Point does not lie on the curve");if(!this.mul(i.getN()).isInfinity())throw new Error("Point times N must be infinity");return this},i.pointToCompressed=function(a){var b,d=a.getX().toBuffer({size:32}),f=a.getY().toBuffer({size:32}),g=f[f.length-1]%2;return b=new c(g?[3]:[2]),e.concat([b,d])},b.exports=i}).call(this,a("buffer").Buffer)},{"../util/buffer":93,"./bn":57,buffer:145,elliptic:98}],61:[function(a,b,c){(function(c,d){"use strict";function e(){}e.getRandomBuffer=function(a){return c.browser?e.getRandomBufferBrowser(a):e.getRandomBufferNode(a)},e.getRandomBufferNode=function(b){var c=a("crypto");return c.randomBytes(b)},e.getRandomBufferBrowser=function(a){if(!window.crypto&&!window.msCrypto)throw new Error("window.crypto not available");if(window.crypto&&window.crypto.getRandomValues)var b=window.crypto;else{if(!window.msCrypto||!window.msCrypto.getRandomValues)throw new Error("window.crypto.getRandomValues not available");var b=window.msCrypto}var c=new Uint8Array(a);b.getRandomValues(c);var e=new d(c);return e},e.getPseudoRandomBuffer=function(a){for(var b,c=4294967296,e=new d(a),f=0;a>=f;f++){var g=Math.floor(f/4),h=f-4*g;0===h?(b=Math.random()*c,e[f]=255&b):e[f]=255&(b>>>=8)}return e},b.exports=e}).call(this,a("_process"),a("buffer").Buffer)},{_process:299,buffer:145,crypto:149}],62:[function(a,b,c){(function(c){"use strict";var d=a("./bn"),e=a("lodash"),f=a("../util/preconditions"),g=a("../util/buffer"),h=a("../util/js"),i=function j(a,b){if(!(this instanceof j))return new j(a,b);if(a instanceof d)this.set({r:a,s:b});else if(a){var c=a;this.set(c)}};i.prototype.set=function(a){return this.r=a.r||this.r||void 0,this.s=a.s||this.s||void 0,this.i="undefined"!=typeof a.i?a.i:this.i,this.compressed="undefined"!=typeof a.compressed?a.compressed:this.compressed,this.nhashtype=a.nhashtype||this.nhashtype||void 0,this},i.fromCompact=function(a){f.checkArgument(g.isBuffer(a),"Argument is expected to be a Buffer");var b=new i,c=!0,e=a.slice(0,1)[0]-27-4;0>e&&(c=!1,e+=4);var h=a.slice(1,33),j=a.slice(33,65);return f.checkArgument(0===e||1===e||2===e||3===e,new Error("i must be 0, 1, 2, or 3")),f.checkArgument(32===h.length,new Error("r must be 32 bytes")),f.checkArgument(32===j.length,new Error("s must be 32 bytes")),b.compressed=c,b.i=e,b.r=d.fromBuffer(h),b.s=d.fromBuffer(j),b},i.fromDER=i.fromBuffer=function(a,b){var c=i.parseDER(a,b),d=new i;return d.r=c.r,d.s=c.s,d},i.fromTxFormat=function(a){var b=a.readUInt8(a.length-1),c=a.slice(0,a.length-1),d=new i.fromDER(c,!1);return d.nhashtype=b,d},i.fromString=function(a){var b=new c(a,"hex");return i.fromDER(b)},i.parseDER=function(a,b){f.checkArgument(g.isBuffer(a),new Error("DER formatted signature should be a buffer")),e.isUndefined(b)&&(b=!0);var c=a[0];f.checkArgument(48===c,new Error("Header byte should be 0x30"));var h=a[1],i=a.slice(2).length;f.checkArgument(!b||h===i,new Error("Length byte should length of what follows")),h=i>h?h:i;var j=a[2];f.checkArgument(2===j,new Error("Integer byte for r should be 0x02"));var k=a[3],l=a.slice(4,4+k),m=d.fromBuffer(l),n=0===a[4]?!0:!1;f.checkArgument(k===l.length,new Error("Length of r incorrect"));var o=a[4+k+0];f.checkArgument(2===o,new Error("Integer byte for s should be 0x02"));var p=a[4+k+1],q=a.slice(4+k+2,4+k+2+p),r=d.fromBuffer(q),s=0===a[4+k+2+2]?!0:!1;f.checkArgument(p===q.length,new Error("Length of s incorrect"));var t=4+k+2+p;f.checkArgument(h===t-2,new Error("Length of signature incorrect"));var u={ header:c,length:h,rheader:j,rlength:k,rneg:n,rbuf:l,r:m,sheader:o,slength:p,sneg:s,sbuf:q,s:r};return u},i.prototype.toCompact=function(a,b){if(a="number"==typeof a?a:this.i,b="boolean"==typeof b?b:this.compressed,0!==a&&1!==a&&2!==a&&3!==a)throw new Error("i must be equal to 0, 1, 2, or 3");var d=a+27+4;b===!1&&(d-=4);var e=new c([d]),f=this.r.toBuffer({size:32}),g=this.s.toBuffer({size:32});return c.concat([e,f,g])},i.prototype.toBuffer=i.prototype.toDER=function(){var a=this.r.toBuffer(),b=this.s.toBuffer(),d=128&a[0]?!0:!1,e=128&b[0]?!0:!1,f=d?c.concat([new c([0]),a]):a,g=e?c.concat([new c([0]),b]):b,h=f.length,i=g.length,j=2+h+2+i,k=2,l=2,m=48,n=c.concat([new c([m,j,k,h]),f,new c([l,i]),g]);return n},i.prototype.toString=function(){var a=this.toDER();return a.toString("hex")},i.isTxDER=function(a){if(a.length<9)return!1;if(a.length>73)return!1;if(48!==a[0])return!1;if(a[1]!==a.length-3)return!1;var b=a[3];if(5+b>=a.length)return!1;var c=a[5+b];if(b+c+7!==a.length)return!1;var d=a.slice(4);if(2!==a[2])return!1;if(0===b)return!1;if(128&d[0])return!1;if(b>1&&0===d[0]&&!(128&d[1]))return!1;var e=a.slice(6+b);return 2!==a[6+b-2]?!1:0===c?!1:128&e[0]?!1:c>1&&0===e[0]&&!(128&e[1])?!1:!0},i.prototype.hasLowS=function(){return this.s.lt(new d(1))||this.s.gt(new d("7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0"))?!1:!0},i.prototype.hasDefinedHashtype=function(){if(!h.isNaturalNumber(this.nhashtype))return!1;var a=this.nhashtype&~i.SIGHASH_ANYONECANPAY;return ai.SIGHASH_SINGLE?!1:!0},i.prototype.toTxFormat=function(){var a=this.toDER(),b=new c(1);return b.writeUInt8(this.nhashtype,0),c.concat([a,b])},i.SIGHASH_ALL=1,i.SIGHASH_NONE=2,i.SIGHASH_SINGLE=3,i.SIGHASH_ANYONECANPAY=128,b.exports=i}).call(this,a("buffer").Buffer)},{"../util/buffer":93,"../util/js":94,"../util/preconditions":95,"./bn":57,buffer:145,lodash:120}],63:[function(a,b,c){(function(c){"use strict";var d=a("lodash"),e=a("bs58"),f=a("buffer"),g="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz".split(""),h=function i(a){if(!(this instanceof i))return new i(a);if(c.isBuffer(a)){var b=a;this.fromBuffer(b)}else if("string"==typeof a){var d=a;this.fromString(d)}else a&&this.set(a)};h.validCharacters=function(a){return f.Buffer.isBuffer(a)&&(a=a.toString()),d.all(d.map(a,function(a){return d.contains(g,a)}))},h.prototype.set=function(a){return this.buf=a.buf||this.buf||void 0,this},h.encode=function(a){if(!f.Buffer.isBuffer(a))throw new Error("Input should be a buffer");return e.encode(a)},h.decode=function(a){if("string"!=typeof a)throw new Error("Input should be a string");return new c(e.decode(a))},h.prototype.fromBuffer=function(a){return this.buf=a,this},h.prototype.fromString=function(a){var b=h.decode(a);return this.buf=b,this},h.prototype.toBuffer=function(){return this.buf},h.prototype.toString=function(){return h.encode(this.buf)},b.exports=h}).call(this,a("buffer").Buffer)},{bs58:97,buffer:145,lodash:120}],64:[function(a,b,c){(function(c){"use strict";var d=a("lodash"),e=a("./base58"),f=a("buffer"),g=a("../crypto/hash").sha256sha256,h=function i(a){if(!(this instanceof i))return new i(a);if(c.isBuffer(a)){var b=a;this.fromBuffer(b)}else if("string"==typeof a){var d=a;this.fromString(d)}else a&&this.set(a)};h.prototype.set=function(a){return this.buf=a.buf||this.buf||void 0,this},h.validChecksum=function(a,b){return d.isString(a)&&(a=new f.Buffer(e.decode(a))),d.isString(b)&&(b=new f.Buffer(e.decode(b))),b||(b=a.slice(-4),a=a.slice(0,-4)),h.checksum(a).toString("hex")===b.toString("hex")},h.decode=function(a){if("string"!=typeof a)throw new Error("Input must be a string");var b=new c(e.decode(a));if(b.length<4)throw new Error("Input string too short");var d=b.slice(0,-4),f=b.slice(-4),h=g(d),i=h.slice(0,4);if(f.toString("hex")!==i.toString("hex"))throw new Error("Checksum mismatch");return d},h.checksum=function(a){return g(a).slice(0,4)},h.encode=function(a){if(!c.isBuffer(a))throw new Error("Input must be a buffer");var b=new c(a.length+4),d=h.checksum(a);return a.copy(b),d.copy(b,a.length),e.encode(b)},h.prototype.fromBuffer=function(a){return this.buf=a,this},h.prototype.fromString=function(a){var b=h.decode(a);return this.buf=b,this},h.prototype.toBuffer=function(){return this.buf},h.prototype.toString=function(){return h.encode(this.buf)},b.exports=h}).call(this,a("buffer").Buffer)},{"../crypto/hash":59,"./base58":63,buffer:145,lodash:120}],65:[function(a,b,c){(function(c){"use strict";var d=a("lodash"),e=a("../util/preconditions"),f=a("../util/buffer"),g=a("../crypto/bn"),h=function i(a){if(!(this instanceof i))return new i(a);if(!d.isUndefined(a))if(c.isBuffer(a))this.set({buf:a});else if(d.isString(a))this.set({buf:new c(a,"hex")});else{if(!d.isObject(a))throw new TypeError("Unrecognized argument for BufferReader");var b=a;this.set(b)}};h.prototype.set=function(a){return this.buf=a.buf||this.buf||void 0,this.pos=a.pos||this.pos||0,this},h.prototype.eof=function(){return this.pos>=this.buf.length},h.prototype.finished=h.prototype.eof,h.prototype.read=function(a){e.checkArgument(!d.isUndefined(a),"Must specify a length");var b=this.buf.slice(this.pos,this.pos+a);return this.pos=this.pos+a,b},h.prototype.readAll=function(){var a=this.buf.slice(this.pos,this.buf.length);return this.pos=this.buf.length,a},h.prototype.readUInt8=function(){var a=this.buf.readUInt8(this.pos);return this.pos=this.pos+1,a},h.prototype.readUInt16BE=function(){var a=this.buf.readUInt16BE(this.pos);return this.pos=this.pos+2,a},h.prototype.readUInt16LE=function(){var a=this.buf.readUInt16LE(this.pos);return this.pos=this.pos+2,a},h.prototype.readUInt32BE=function(){var a=this.buf.readUInt32BE(this.pos);return this.pos=this.pos+4,a},h.prototype.readUInt32LE=function(){var a=this.buf.readUInt32LE(this.pos);return this.pos=this.pos+4,a},h.prototype.readUInt64BEBN=function(){var a=this.buf.slice(this.pos,this.pos+8),b=g.fromBuffer(a);return this.pos=this.pos+8,b},h.prototype.readUInt64LEBN=function(){var a,b=this.buf.readUInt32LE(this.pos),c=this.buf.readUInt32LE(this.pos+4),d=4294967296*c+b;if(9007199254740991>=d)a=new g(d);else{var e=Array.prototype.slice.call(this.buf,this.pos,this.pos+8);a=new g(e,10,"le")}return this.pos=this.pos+8,a},h.prototype.readVarintNum=function(){var a=this.readUInt8();switch(a){case 253:return this.readUInt16LE();case 254:return this.readUInt32LE();case 255:var b=this.readUInt64LEBN(),c=b.toNumber();if(c<=Math.pow(2,53))return c;throw new Error("number too large to retain precision - use readVarintBN");default:return a}},h.prototype.readVarLengthBuffer=function(){var a=this.readVarintNum(),b=this.read(a);return e.checkState(b.length===a,"Invalid length while reading varlength buffer. Expected to read: "+a+" and read "+b.length),b},h.prototype.readVarintBuf=function(){var a=this.buf.readUInt8(this.pos);switch(a){case 253:return this.read(3);case 254:return this.read(5);case 255:return this.read(9);default:return this.read(1)}},h.prototype.readVarintBN=function(){var a=this.readUInt8();switch(a){case 253:return new g(this.readUInt16LE());case 254:return new g(this.readUInt32LE());case 255:return this.readUInt64LEBN();default:return new g(a)}},h.prototype.reverse=function(){for(var a=new c(this.buf.length),b=0;ba?(b=new c(1),b.writeUInt8(a,0)):65536>a?(b=new c(3),b.writeUInt8(253,0),b.writeUInt16LE(a,1)):4294967296>a?(b=new c(5),b.writeUInt8(254,0),b.writeUInt32LE(a,1)):(b=new c(9),b.writeUInt8(255,0),b.writeInt32LE(-1&a,1),b.writeUInt32LE(Math.floor(a/4294967296),5)),b},f.varintBufBN=function(a){var b=void 0,d=a.toNumber();if(253>d)b=new c(1),b.writeUInt8(d,0);else if(65536>d)b=new c(3),b.writeUInt8(253,0),b.writeUInt16LE(d,1);else if(4294967296>d)b=new c(5),b.writeUInt8(254,0),b.writeUInt32LE(d,1);else{var e=new f;e.writeUInt8(255),e.writeUInt64LEBN(a);var b=e.concat()}return b},b.exports=f}).call(this,a("buffer").Buffer)},{"../util/buffer":93,assert:130,buffer:145}],67:[function(a,b,c){(function(c){"use strict";var d=a("./bufferwriter"),e=a("./bufferreader"),f=a("../crypto/bn"),g=function h(a){if(!(this instanceof h))return new h(a);if(c.isBuffer(a))this.buf=a;else if("number"==typeof a){var b=a;this.fromNumber(b)}else if(a instanceof f){var d=a;this.fromBN(d)}else if(a){var e=a;this.set(e)}};g.prototype.set=function(a){return this.buf=a.buf||this.buf,this},g.prototype.fromString=function(a){return this.set({buf:new c(a,"hex")}),this},g.prototype.toString=function(){return this.buf.toString("hex")},g.prototype.fromBuffer=function(a){return this.buf=a,this},g.prototype.fromBufferReader=function(a){return this.buf=a.readVarintBuf(),this},g.prototype.fromBN=function(a){return this.buf=d().writeVarintBN(a).concat(),this},g.prototype.fromNumber=function(a){return this.buf=d().writeVarintNum(a).concat(),this},g.prototype.toBuffer=function(){return this.buf},g.prototype.toBN=function(){return e(this.buf).readVarintBN()},g.prototype.toNumber=function(){return e(this.buf).readVarintNum()},b.exports=g}).call(this,a("buffer").Buffer)},{"../crypto/bn":57,"./bufferreader":65,"./bufferwriter":66,buffer:145}],68:[function(a,b,c){"use strict";function d(a,b){return a.replace("{0}",b[0]).replace("{1}",b[1]).replace("{2}",b[2])}var e=a("lodash"),f=function(a,b){var c=function(){if(e.isString(b.message))this.message=d(b.message,arguments);else{if(!e.isFunction(b.message))throw new Error("Invalid error definition for "+b.name);this.message=b.message.apply(null,arguments)}this.stack=this.message+"\n"+(new Error).stack};return c.prototype=Object.create(a.prototype),c.prototype.name=a.prototype.name+b.name,a[b.name]=c,b.errors&&g(c,b.errors),c},g=function(a,b){e.each(b,function(b){f(a,b)})},h=function(a,b){return g(a,b),a},i={};i.Error=function(){this.message="Internal error",this.stack=this.message+"\n"+(new Error).stack},i.Error.prototype=Object.create(Error.prototype),i.Error.prototype.name="bitcore.Error";var j=a("./spec");h(i.Error,j),b.exports=i.Error,b.exports.extend=function(a){return f(i.Error,a)}},{"./spec":69,lodash:120}],69:[function(a,b,c){"use strict";var d="http://bitcore.io/";b.exports=[{name:"InvalidB58Char",message:"Invalid Base58 character: {0} in {1}"},{name:"InvalidB58Checksum",message:"Invalid Base58 checksum for {0}"},{name:"InvalidNetwork",message:"Invalid version for network: got {0}"},{name:"InvalidState",message:"Invalid state: {0}"},{name:"NotImplemented",message:"Function {0} was not implemented yet"},{name:"InvalidNetworkArgument",message:'Invalid network: must be "livenet" or "testnet", got {0}'},{name:"InvalidArgument",message:function(){return"Invalid Argument"+(arguments[0]?": "+arguments[0]:"")+(arguments[1]?" Documentation: "+d+arguments[1]:"")}},{name:"AbstractMethodInvoked",message:"Abstract Method Invocation: {0}"},{name:"InvalidArgumentType",message:function(){return"Invalid Argument for "+arguments[2]+", expected "+arguments[1]+" but got "+typeof arguments[0]}},{name:"Unit",message:"Internal Error on Unit {0}",errors:[{name:"UnknownCode",message:"Unrecognized unit code: {0}"},{name:"InvalidRate",message:"Invalid exchange rate: {0}"}]},{name:"Transaction",message:"Internal Error on Transaction {0}",errors:[{name:"Input",message:"Internal Error on Input {0}",errors:[{name:"MissingScript",message:"Need a script to create an input"},{name:"UnsupportedScript",message:"Unsupported input script type: {0}"},{name:"MissingPreviousOutput",message:"No previous output information."}]},{name:"NeedMoreInfo",message:"{0}"},{name:"InvalidSorting",message:"The sorting function provided did not return the change output as one of the array elements"},{name:"InvalidOutputAmountSum",message:"{0}"},{name:"MissingSignatures",message:"Some inputs have not been fully signed"},{name:"InvalidIndex",message:"Invalid index: {0} is not between 0, {1}"},{name:"UnableToVerifySignature",message:"Unable to verify signature: {0}"},{name:"DustOutputs",message:"Dust amount detected in one output"},{name:"InvalidSatoshis",message:"Output satoshis are invalid"},{name:"FeeError",message:"Internal Error on Fee {0}",errors:[{name:"TooSmall",message:"Fee is too small: {0}"},{name:"TooLarge",message:"Fee is too large: {0}"},{name:"Different",message:"Unspent value is different from specified fee: {0}"}]},{name:"ChangeAddressMissing",message:"Change address is missing"},{name:"BlockHeightTooHigh",message:"Block Height can be at most 2^32 -1"},{name:"NLockTimeOutOfRange",message:"Block Height can only be between 0 and 499 999 999"},{name:"LockTimeTooEarly",message:"Lock Time can't be earlier than UNIX date 500 000 000"}]},{name:"Script",message:"Internal Error on Script {0}",errors:[{name:"UnrecognizedAddress",message:"Expected argument {0} to be an address"},{name:"CantDeriveAddress",message:"Can't derive address associated with script {0}, needs to be p2pkh in, p2pkh out, p2sh in, or p2sh out."},{name:"InvalidBuffer",message:"Invalid script buffer: can't parse valid script from given buffer {0}"}]},{name:"HDPrivateKey",message:"Internal Error on HDPrivateKey {0}",errors:[{name:"InvalidDerivationArgument",message:"Invalid derivation argument {0}, expected string, or number and boolean"},{name:"InvalidEntropyArgument",message:"Invalid entropy: must be an hexa string or binary buffer, got {0}",errors:[{name:"TooMuchEntropy",message:'Invalid entropy: more than 512 bits is non standard, got "{0}"'},{name:"NotEnoughEntropy",message:'Invalid entropy: at least 128 bits needed, got "{0}"'}]},{name:"InvalidLength",message:"Invalid length for xprivkey string in {0}"},{name:"InvalidPath",message:"Invalid derivation path: {0}"},{name:"UnrecognizedArgument",message:'Invalid argument: creating a HDPrivateKey requires a string, buffer, json or object, got "{0}"'}]},{name:"HDPublicKey",message:"Internal Error on HDPublicKey {0}",errors:[{name:"ArgumentIsPrivateExtended",message:"Argument is an extended private key: {0}"},{name:"InvalidDerivationArgument",message:"Invalid derivation argument: got {0}"},{name:"InvalidLength",message:'Invalid length for xpubkey: got "{0}"'},{name:"InvalidPath",message:'Invalid derivation path, it should look like: "m/1/100", got "{0}"'},{name:"InvalidIndexCantDeriveHardened",message:"Invalid argument: creating a hardened path requires an HDPrivateKey"},{name:"MustSupplyArgument",message:"Must supply an argument to create a HDPublicKey"},{name:"UnrecognizedArgument",message:"Invalid argument for creation, must be string, json, buffer, or object"}]}]},{}],70:[function(a,b,c){"use strict";b.exports={_cache:{},_count:0,_eraseIndex:0,_usedList:{},_usedIndex:{},_CACHE_SIZE:5e3,get:function(a,b,c){c=!!c;var d=a+"/"+b+"/"+c;return this._cache[d]?(this._cacheHit(d),this._cache[d]):void 0},set:function(a,b,c,d){c=!!c;var e=a+"/"+b+"/"+c;this._cache[e]=d,this._cacheHit(e)},_cacheHit:function(a){this._usedIndex[a]&&delete this._usedList[this._usedIndex[a]],this._usedList[this._count]=a,this._usedIndex[a]=this._count,this._count++,this._cacheRemove()},_cacheRemove:function(){for(;this._eraseIndex=0&&a=d.Hardened?!0:b,ax*w)throw new s.InvalidEntropyArgument.TooMuchEntropy(a);var e=l.sha512hmac(a,new f.Buffer("Bitcoin seed"));return new d({network:m.get(b)||m.defaultNetwork,depth:0,parentFingerPrint:0,childIndex:0,privateKey:e.slice(0,32),chainCode:e.slice(32,64)})},d.prototype._calcHDPublicKey=function(){if(!this._hdPublicKey){var b=a("./hdpublickey");this._hdPublicKey=new b(this)}},d.prototype._buildFromBuffers=function(a){d._validateBufferArguments(a),u.defineImmutable(this,{_buffers:a});var b=[a.version,a.depth,a.parentFingerPrint,a.childIndex,a.chainCode,t.emptyBuffer(1),a.privateKey],e=f.Buffer.concat(b);if(a.checksum&&a.checksum.length){if(a.checksum.toString()!==k.checksum(e).toString())throw new r.InvalidB58Checksum(e)}else a.checksum=k.checksum(e);var g,h=m.get(t.integerFromBuffer(a.version));g=k.encode(f.Buffer.concat(b)),a.xprivkey=new c(g);var j=new p(i.fromBuffer(a.privateKey),h),n=j.toPublicKey(),o=d.ParentFingerPrintSize,q=l.sha256ripemd160(n.toBuffer()).slice(0,o);return u.defineImmutable(this,{xprivkey:g,network:h,depth:t.integerFromSingleByteBuffer(a.depth),privateKey:j,publicKey:n,fingerPrint:q}),this._hdPublicKey=null,Object.defineProperty(this,"hdPublicKey",{configurable:!1,enumerable:!0,get:function(){return this._calcHDPublicKey(),this._hdPublicKey}}),Object.defineProperty(this,"xpubkey",{configurable:!1,enumerable:!0,get:function(){return this._calcHDPublicKey(),this._hdPublicKey.xpubkey}}),this},d._validateBufferArguments=function(a){var b=function(b,c){var d=a[b];e(t.isBuffer(d),b+" argument is not a buffer"),e(d.length===c,b+" has not the expected size: found "+d.length+", expected "+c)};b("version",d.VersionSize),b("depth",d.DepthSize),b("parentFingerPrint",d.ParentFingerPrintSize),b("childIndex",d.ChildIndexSize),b("chainCode",d.ChainCodeSize),b("privateKey",d.PrivateKeySize),a.checksum&&a.checksum.length&&b("checksum",d.CheckSumSize)},d.prototype.toString=function(){return this.xprivkey},d.prototype.inspect=function(){return""},d.prototype.toObject=d.prototype.toJSON=function(){return{network:m.get(t.integerFromBuffer(this._buffers.version),"xprivkey").name,depth:t.integerFromSingleByteBuffer(this._buffers.depth),fingerPrint:t.integerFromBuffer(this.fingerPrint),parentFingerPrint:t.integerFromBuffer(this._buffers.parentFingerPrint),childIndex:t.integerFromBuffer(this._buffers.childIndex),chainCode:t.bufferToHex(this._buffers.chainCode),privateKey:this.privateKey.toBuffer().toString("hex"),checksum:t.integerFromBuffer(this._buffers.checksum),xprivkey:this.xprivkey}},d.fromBuffer=function(a){return new d(a.toString())},d.prototype.toBuffer=function(){return t.copy(this._buffers.xprivkey)},d.DefaultDepth=0,d.DefaultFingerprint=0,d.DefaultChildIndex=0,d.Hardened=2147483648,d.MaxIndex=2*d.Hardened,d.RootElementAlias=["m","M","m'","M'"],d.VersionSize=4,d.DepthSize=1,d.ParentFingerPrintSize=4,d.ChildIndexSize=4,d.ChainCodeSize=32,d.PrivateKeySize=32,d.CheckSumSize=4,d.DataLength=78,d.SerializedByteSize=82,d.VersionStart=0,d.VersionEnd=d.VersionStart+d.VersionSize,d.DepthStart=d.VersionEnd,d.DepthEnd=d.DepthStart+d.DepthSize,d.ParentFingerPrintStart=d.DepthEnd,d.ParentFingerPrintEnd=d.ParentFingerPrintStart+d.ParentFingerPrintSize,d.ChildIndexStart=d.ParentFingerPrintEnd,d.ChildIndexEnd=d.ChildIndexStart+d.ChildIndexSize,d.ChainCodeStart=d.ChildIndexEnd,d.ChainCodeEnd=d.ChainCodeStart+d.ChainCodeSize,d.PrivateKeyStart=d.ChainCodeEnd+1,d.PrivateKeyEnd=d.PrivateKeyStart+d.PrivateKeySize,d.ChecksumStart=d.PrivateKeyEnd,d.ChecksumEnd=d.ChecksumStart+d.CheckSumSize,e(d.ChecksumEnd===d.SerializedByteSize),b.exports=d}).call(this,a("buffer").Buffer)},{"./crypto/bn":57,"./crypto/hash":59,"./crypto/point":60,"./crypto/random":61,"./encoding/base58":63,"./encoding/base58check":64,"./errors":68,"./hdkeycache":70,"./hdpublickey":72,"./networks":73,"./privatekey":75,"./util/buffer":93,"./util/js":94,"./util/preconditions":95,assert:130,buffer:145,lodash:120}],72:[function(a,b,c){(function(c){"use strict";function d(a){if(a instanceof d)return a;if(!(this instanceof d))return new d(a);if(a){if(e.isString(a)||u.isBuffer(a)){var b=d.getSerializedError(a);if(b){if(u.isBuffer(a)&&!d.getSerializedError(a.toString()))return this._buildFromSerialized(a.toString());if(b instanceof r.ArgumentIsPrivateExtended)return new k(a).hdPublicKey;throw b}return this._buildFromSerialized(a)}if(e.isObject(a))return a instanceof k?this._buildFromPrivate(a):this._buildFromObject(a);throw new r.UnrecognizedArgument(a)}throw new r.MustSupplyArgument}var e=a("lodash"),f=a("./util/preconditions"),g=a("./crypto/bn"),h=a("./encoding/base58"),i=a("./encoding/base58check"),j=a("./crypto/hash"),k=a("./hdprivatekey"),l=a("./hdkeycache"),m=a("./networks"),n=a("./crypto/point"),o=a("./publickey"),p=a("./errors"),q=p,r=p.HDPublicKey,s=a("assert"),t=a("./util/js"),u=a("./util/buffer");d.isValidPath=function(a){if(e.isString(a)){var b=k._getDerivationIndexes(a);return null!==b&&e.all(b,d.isValidPath)}return e.isNumber(a)?a>=0&&a=d.Hardened||b)throw new r.InvalidIndexCantDeriveHardened;if(0>a)throw new r.InvalidPath(a);var c=l.get(this.xpubkey,a,!1);if(c)return c;var e=u.integerAsBuffer(a),f=u.concat([this.publicKey.toBuffer(),e]),h=j.sha512hmac(f,this._buffers.chainCode),i=g.fromBuffer(h.slice(0,32),{size:32}),k=h.slice(32,64),m=o.fromPoint(n.getG().mul(i).add(this.publicKey.point)),p=new d({network:this.network,depth:this.depth+1,parentFingerPrint:this.fingerPrint,childIndex:a,chainCode:k,publicKey:m});return l.set(this.xpubkey,a,!1,p),p},d.prototype._deriveFromString=function(a){if(e.contains(a,"'"))throw new r.InvalidIndexCantDeriveHardened;if(!d.isValidPath(a))throw new r.InvalidPath(a);var b=k._getDerivationIndexes(a),c=b.reduce(function(a,b){return a._deriveWithNumber(b)},this);return c},d.isValidSerialized=function(a,b){return e.isNull(d.getSerializedError(a,b))},d.getSerializedError=function(a,b){if(!e.isString(a)&&!u.isBuffer(a))return new r.UnrecognizedArgument("expected buffer or string");if(!h.validCharacters(a))return new q.InvalidB58Char("(unknown)",a);try{a=i.decode(a)}catch(c){return new q.InvalidB58Checksum(a)}if(a.length!==d.DataSize)return new r.InvalidLength(a);if(!e.isUndefined(b)){var f=d._validateNetwork(a,b);if(f)return f}var g=u.integerFromBuffer(a.slice(0,4));return g===m.livenet.xprivkey||g===m.testnet.xprivkey?new r.ArgumentIsPrivateExtended:null},d._validateNetwork=function(a,b){var c=m.get(b);if(!c)return new q.InvalidNetworkArgument(b);var e=a.slice(d.VersionStart,d.VersionEnd);return u.integerFromBuffer(e)!==c.xpubkey?new q.InvalidNetwork(e):null},d.prototype._buildFromPrivate=function(a){var b=e.clone(a._buffers),c=n.getG().mul(g.fromBuffer(b.privateKey));return b.publicKey=n.pointToCompressed(c),b.version=u.integerAsBuffer(m.get(u.integerFromBuffer(b.version)).xpubkey),b.privateKey=void 0,b.checksum=void 0,b.xprivkey=void 0,this._buildFromBuffers(b)},d.prototype._buildFromObject=function(a){var b={version:a.network?u.integerAsBuffer(m.get(a.network).xpubkey):a.version,depth:e.isNumber(a.depth)?u.integerAsSingleByteBuffer(a.depth):a.depth,parentFingerPrint:e.isNumber(a.parentFingerPrint)?u.integerAsBuffer(a.parentFingerPrint):a.parentFingerPrint,childIndex:e.isNumber(a.childIndex)?u.integerAsBuffer(a.childIndex):a.childIndex,chainCode:e.isString(a.chainCode)?u.hexToBuffer(a.chainCode):a.chainCode,publicKey:e.isString(a.publicKey)?u.hexToBuffer(a.publicKey):u.isBuffer(a.publicKey)?a.publicKey:a.publicKey.toBuffer(),checksum:e.isNumber(a.checksum)?u.integerAsBuffer(a.checksum):a.checksum};return this._buildFromBuffers(b)},d.prototype._buildFromSerialized=function(a){var b=i.decode(a),c={version:b.slice(d.VersionStart,d.VersionEnd),depth:b.slice(d.DepthStart,d.DepthEnd),parentFingerPrint:b.slice(d.ParentFingerPrintStart,d.ParentFingerPrintEnd),childIndex:b.slice(d.ChildIndexStart,d.ChildIndexEnd),chainCode:b.slice(d.ChainCodeStart,d.ChainCodeEnd),publicKey:b.slice(d.PublicKeyStart,d.PublicKeyEnd),checksum:b.slice(d.ChecksumStart,d.ChecksumEnd),xpubkey:a};return this._buildFromBuffers(c)},d.prototype._buildFromBuffers=function(a){d._validateBufferArguments(a),t.defineImmutable(this,{_buffers:a});var b=[a.version,a.depth,a.parentFingerPrint,a.childIndex,a.chainCode,a.publicKey],e=u.concat(b),f=i.checksum(e);if(a.checksum&&a.checksum.length){if(a.checksum.toString("hex")!==f.toString("hex"))throw new q.InvalidB58Checksum(e,f)}else a.checksum=f;var g,h=m.get(u.integerFromBuffer(a.version));g=i.encode(u.concat(b)),a.xpubkey=new c(g);var k=new o(a.publicKey,{network:h}),l=d.ParentFingerPrintSize,n=j.sha256ripemd160(k.toBuffer()).slice(0,l);return t.defineImmutable(this,{xpubkey:g,network:h,depth:u.integerFromSingleByteBuffer(a.depth),publicKey:k,fingerPrint:n}),this},d._validateBufferArguments=function(a){var b=function(b,c){var d=a[b];s(u.isBuffer(d),b+" argument is not a buffer, it's "+typeof d),s(d.length===c,b+" has not the expected size: found "+d.length+", expected "+c)};b("version",d.VersionSize),b("depth",d.DepthSize),b("parentFingerPrint",d.ParentFingerPrintSize),b("childIndex",d.ChildIndexSize),b("chainCode",d.ChainCodeSize),b("publicKey",d.PublicKeySize),a.checksum&&a.checksum.length&&b("checksum",d.CheckSumSize)},d.fromString=function(a){return f.checkArgument(e.isString(a),"No valid string was provided"),new d(a)},d.fromObject=function(a){return f.checkArgument(e.isObject(a),"No valid argument was provided"),new d(a)},d.prototype.toString=function(){return this.xpubkey},d.prototype.inspect=function(){return""},d.prototype.toObject=d.prototype.toJSON=function(){return{network:m.get(u.integerFromBuffer(this._buffers.version)).name,depth:u.integerFromSingleByteBuffer(this._buffers.depth),fingerPrint:u.integerFromBuffer(this.fingerPrint), parentFingerPrint:u.integerFromBuffer(this._buffers.parentFingerPrint),childIndex:u.integerFromBuffer(this._buffers.childIndex),chainCode:u.bufferToHex(this._buffers.chainCode),publicKey:this.publicKey.toString(),checksum:u.integerFromBuffer(this._buffers.checksum),xpubkey:this.xpubkey}},d.fromBuffer=function(a){return new d(a)},d.prototype.toBuffer=function(){return u.copy(this._buffers.xpubkey)},d.Hardened=2147483648,d.RootElementAlias=["m","M"],d.VersionSize=4,d.DepthSize=1,d.ParentFingerPrintSize=4,d.ChildIndexSize=4,d.ChainCodeSize=32,d.PublicKeySize=33,d.CheckSumSize=4,d.DataSize=78,d.SerializedByteSize=82,d.VersionStart=0,d.VersionEnd=d.VersionStart+d.VersionSize,d.DepthStart=d.VersionEnd,d.DepthEnd=d.DepthStart+d.DepthSize,d.ParentFingerPrintStart=d.DepthEnd,d.ParentFingerPrintEnd=d.ParentFingerPrintStart+d.ParentFingerPrintSize,d.ChildIndexStart=d.ParentFingerPrintEnd,d.ChildIndexEnd=d.ChildIndexStart+d.ChildIndexSize,d.ChainCodeStart=d.ChildIndexEnd,d.ChainCodeEnd=d.ChainCodeStart+d.ChainCodeSize,d.PublicKeyStart=d.ChainCodeEnd,d.PublicKeyEnd=d.PublicKeyStart+d.PublicKeySize,d.ChecksumStart=d.PublicKeyEnd,d.ChecksumEnd=d.ChecksumStart+d.CheckSumSize,s(d.PublicKeyEnd===d.DataSize),s(d.ChecksumEnd===d.SerializedByteSize),b.exports=d}).call(this,a("buffer").Buffer)},{"./crypto/bn":57,"./crypto/hash":59,"./crypto/point":60,"./encoding/base58":63,"./encoding/base58check":64,"./errors":68,"./hdkeycache":70,"./hdprivatekey":71,"./networks":73,"./publickey":76,"./util/buffer":93,"./util/js":94,"./util/preconditions":95,assert:130,buffer:145,lodash:120}],73:[function(a,b,c){"use strict";function d(){}function e(a,b){if(~k.indexOf(a))return a;if(b){h.isArray(b)||(b=[b]);var c=function(b){return k[d][b]===a};for(var d in k)if(h.any(b,c))return k[d];return void 0}return l[a]}function f(a){var b=new d;return j.defineImmutable(b,{name:a.name,alias:a.alias,pubkeyhash:a.pubkeyhash,privatekey:a.privatekey,scripthash:a.scripthash,xpubkey:a.xpubkey,xprivkey:a.xprivkey,networkMagic:i.integerAsBuffer(a.networkMagic),port:a.port,dnsSeeds:a.dnsSeeds}),h.each(b,function(a){h.isUndefined(a)||h.isObject(a)||(l[a]=b)}),k.push(b),b}function g(a){for(var b=0;b=0&&16>=a,"Invalid Argument: n must be between 0 and 16"),0===a?d("OP_0"):new d(d.map.OP_1+a-1)},d.map={OP_FALSE:0,OP_0:0,OP_PUSHDATA1:76,OP_PUSHDATA2:77,OP_PUSHDATA4:78,OP_1NEGATE:79,OP_RESERVED:80,OP_TRUE:81,OP_1:81,OP_2:82,OP_3:83,OP_4:84,OP_5:85,OP_6:86,OP_7:87,OP_8:88,OP_9:89,OP_10:90,OP_11:91,OP_12:92,OP_13:93,OP_14:94,OP_15:95,OP_16:96,OP_NOP:97,OP_VER:98,OP_IF:99,OP_NOTIF:100,OP_VERIF:101,OP_VERNOTIF:102,OP_ELSE:103,OP_ENDIF:104,OP_VERIFY:105,OP_RETURN:106,OP_TOALTSTACK:107,OP_FROMALTSTACK:108,OP_2DROP:109,OP_2DUP:110,OP_3DUP:111,OP_2OVER:112,OP_2ROT:113,OP_2SWAP:114,OP_IFDUP:115,OP_DEPTH:116,OP_DROP:117,OP_DUP:118,OP_NIP:119,OP_OVER:120,OP_PICK:121,OP_ROLL:122,OP_ROT:123,OP_SWAP:124,OP_TUCK:125,OP_CAT:126,OP_SUBSTR:127,OP_LEFT:128,OP_RIGHT:129,OP_SIZE:130,OP_INVERT:131,OP_AND:132,OP_OR:133,OP_XOR:134,OP_EQUAL:135,OP_EQUALVERIFY:136,OP_RESERVED1:137,OP_RESERVED2:138,OP_1ADD:139,OP_1SUB:140,OP_2MUL:141,OP_2DIV:142,OP_NEGATE:143,OP_ABS:144,OP_NOT:145,OP_0NOTEQUAL:146,OP_ADD:147,OP_SUB:148,OP_MUL:149,OP_DIV:150,OP_MOD:151,OP_LSHIFT:152,OP_RSHIFT:153,OP_BOOLAND:154,OP_BOOLOR:155,OP_NUMEQUAL:156,OP_NUMEQUALVERIFY:157,OP_NUMNOTEQUAL:158,OP_LESSTHAN:159,OP_GREATERTHAN:160,OP_LESSTHANOREQUAL:161,OP_GREATERTHANOREQUAL:162,OP_MIN:163,OP_MAX:164,OP_WITHIN:165,OP_RIPEMD160:166,OP_SHA1:167,OP_SHA256:168,OP_HASH160:169,OP_HASH256:170,OP_CODESEPARATOR:171,OP_CHECKSIG:172,OP_CHECKSIGVERIFY:173,OP_CHECKMULTISIG:174,OP_CHECKMULTISIGVERIFY:175,OP_CHECKLOCKTIMEVERIFY:177,OP_NOP1:176,OP_NOP2:177,OP_NOP3:178,OP_NOP4:179,OP_NOP5:180,OP_NOP6:181,OP_NOP7:182,OP_NOP8:183,OP_NOP9:184,OP_NOP10:185,OP_PUBKEYHASH:253,OP_PUBKEY:254,OP_INVALIDOPCODE:255},d.reverseMap=[];for(var i in d.map)d.reverseMap[d.map[i]]=i;e.extend(d,d.map),d.isSmallIntOp=function(a){return a instanceof d&&(a=a.toNumber()),a===d.map.OP_0||a>=d.map.OP_1&&a<=d.map.OP_16},d.prototype.inspect=function(){return""},b.exports=d}).call(this,a("buffer").Buffer)},{"./util/buffer":93,"./util/js":94,"./util/preconditions":95,buffer:145,lodash:120}],75:[function(a,b,c){(function(c){"use strict";function d(a,b){if(!(this instanceof d))return new d(a,b);if(a instanceof d)return a;var c=this._classifyArguments(a,b);if(!c.bn||0===c.bn.cmp(new h(0)))throw new TypeError("Number can not be equal to zero, undefined, null or false");if(!c.bn.lt(k.getN()))throw new TypeError("Number must be less than N");if("undefined"==typeof c.network)throw new TypeError('Must specify the network ("livenet" or "testnet")');return i.defineImmutable(this,{bn:c.bn,compressed:c.compressed,network:c.network}),Object.defineProperty(this,"publicKey",{configurable:!1,enumerable:!0,get:this.toPublicKey.bind(this)}),this}var e=a("lodash"),f=a("./address"),g=a("./encoding/base58check"),h=a("./crypto/bn"),i=a("./util/js"),j=a("./networks"),k=a("./crypto/point"),l=a("./publickey"),m=a("./crypto/random"),n=a("./util/preconditions");d.prototype._classifyArguments=function(a,b){var f={compressed:!0,network:b?j.get(b):j.defaultNetwork};if(e.isUndefined(a)||e.isNull(a))f.bn=d._getRandomBN();else if(a instanceof h)f.bn=a;else if(a instanceof c||a instanceof Uint8Array)f=d._transformBuffer(a,b);else if(a.bn&&a.network)f=d._transformObject(a);else if(!b&&j.get(a))f.bn=d._getRandomBN(),f.network=j.get(a);else{if("string"!=typeof a)throw new TypeError("First argument is an unrecognized data type.");i.isHexa(a)?f.bn=new h(new c(a,"hex")):f=d._transformWIF(a,b)}return f},d._getRandomBN=function(){var a,b;do{var c=m.getRandomBuffer(32);b=h.fromBuffer(c),a=b.lt(k.getN())}while(!a);return b},d._transformBuffer=function(a,b){var c={};if(32===a.length)return d._transformBNBuffer(a,b);if(c.network=j.get(a[0],"privatekey"),!c.network)throw new Error("Invalid network");if(b&&c.network!==j.get(b))throw new TypeError("Private key network mismatch");if(34===a.length&&1===a[33])c.compressed=!0;else{if(33!==a.length)throw new Error("Length of buffer must be 33 (uncompressed) or 34 (compressed)");c.compressed=!1}return c.bn=h.fromBuffer(a.slice(1,33)),c},d._transformBNBuffer=function(a,b){var c={};return c.network=j.get(b)||j.defaultNetwork,c.bn=h.fromBuffer(a),c.compressed=!1,c},d._transformWIF=function(a,b){return d._transformBuffer(g.decode(a),b)},d.fromBuffer=function(a,b){return new d(a,b)},d._transformObject=function(a){var b=new h(a.bn,"hex"),c=j.get(a.network);return{bn:b,network:c,compressed:a.compressed}},d.fromString=d.fromWIF=function(a){return n.checkArgument(e.isString(a),"First argument is expected to be a string."),new d(a)},d.fromObject=function(a){return n.checkArgument(e.isObject(a),"First argument is expected to be an object."),new d(a)},d.fromRandom=function(a){var b=d._getRandomBN();return new d(b,a)},d.getValidationError=function(a,b){var c;try{new d(a,b)}catch(e){c=e}return c},d.isValid=function(a,b){return a?!d.getValidationError(a,b):!1},d.prototype.toString=function(){return this.toBuffer().toString("hex")},d.prototype.toWIF=function(){var a,b=this.network,d=this.compressed;return a=d?c.concat([new c([b.privatekey]),this.bn.toBuffer({size:32}),new c([1])]):c.concat([new c([b.privatekey]),this.bn.toBuffer({size:32})]),g.encode(a)},d.prototype.toBigNumber=function(){return this.bn},d.prototype.toBuffer=function(){return this.bn.toBuffer()},d.prototype.toPublicKey=function(){return this._pubkey||(this._pubkey=l.fromPrivateKey(this)),this._pubkey},d.prototype.toAddress=function(a){var b=this.toPublicKey();return f.fromPublicKey(b,a||this.network)},d.prototype.toObject=d.prototype.toJSON=function(){return{bn:this.bn.toString("hex"),compressed:this.compressed,network:this.network.toString()}},d.prototype.inspect=function(){var a=this.compressed?"":", uncompressed";return""},b.exports=d}).call(this,a("buffer").Buffer)},{"./address":52,"./crypto/bn":57,"./crypto/point":60,"./crypto/random":61,"./encoding/base58check":64,"./networks":73,"./publickey":76,"./util/js":94,"./util/preconditions":95,buffer:145,lodash:120}],76:[function(a,b,c){(function(c){"use strict";function d(a,b){if(!(this instanceof d))return new d(a,b);if(k.checkArgument(a,"First argument is required, please include public key data."),a instanceof d)return a;b=b||{};var c=this._classifyArgs(a,b);return c.point.validate(),h.defineImmutable(this,{point:c.point,compressed:c.compressed,network:c.network||i.defaultNetwork}),this}var e=a("./crypto/bn"),f=a("./crypto/point"),g=a("./crypto/hash"),h=a("./util/js"),i=a("./networks"),j=a("lodash"),k=a("./util/preconditions");d.prototype._classifyArgs=function(a,b){var e={compressed:j.isUndefined(b.compressed)||b.compressed};if(a instanceof f)e.point=a;else if(a.x&&a.y)e=d._transformObject(a);else if("string"==typeof a)e=d._transformDER(new c(a,"hex"));else if(d._isBuffer(a))e=d._transformDER(a);else{if(!d._isPrivateKey(a))throw new TypeError("First argument is an unrecognized data format.");e=d._transformPrivateKey(a)}return e.network||(e.network=j.isUndefined(b.network)?void 0:i.get(b.network)),e},d._isPrivateKey=function(b){var c=a("./privatekey");return b instanceof c},d._isBuffer=function(a){return a instanceof c||a instanceof Uint8Array},d._transformPrivateKey=function(a){k.checkArgument(d._isPrivateKey(a),"Must be an instance of PrivateKey");var b={};return b.point=f.getG().mul(a.bn),b.compressed=a.compressed,b.network=a.network,b},d._transformDER=function(a,b){k.checkArgument(d._isBuffer(a),"Must be a hex buffer of DER encoded public key");var c={};b=j.isUndefined(b)?!0:b;var g,h,i,l;if(4!==a[0]&&(b||6!==a[0]&&7!==a[0]))if(3===a[0])i=a.slice(1),g=new e(i),c=d._transformX(!0,g),c.compressed=!0;else{if(2!==a[0])throw new TypeError("Invalid DER format public key");i=a.slice(1),g=new e(i),c=d._transformX(!1,g),c.compressed=!0}else{if(i=a.slice(1,33),l=a.slice(33,65),32!==i.length||32!==l.length||65!==a.length)throw new TypeError("Length of x and y must be 32 bytes");g=new e(i),h=new e(l),c.point=new f(g,h),c.compressed=!1}return c},d._transformX=function(a,b){k.checkArgument("boolean"==typeof a,"Must specify whether y is odd or not (true or false)");var c={};return c.point=f.fromX(a,b),c},d._transformObject=function(a){var b=new e(a.x,"hex"),c=new e(a.y,"hex"),g=new f(b,c);return new d(g,{compressed:a.compressed})},d.fromPrivateKey=function(a){k.checkArgument(d._isPrivateKey(a),"Must be an instance of PrivateKey");var b=d._transformPrivateKey(a);return new d(b.point,{compressed:b.compressed,network:b.network})},d.fromDER=d.fromBuffer=function(a,b){k.checkArgument(d._isBuffer(a),"Must be a hex buffer of DER encoded public key");var c=d._transformDER(a,b);return new d(c.point,{compressed:c.compressed})},d.fromPoint=function(a,b){return k.checkArgument(a instanceof f,"First argument must be an instance of Point."),new d(a,{compressed:b})},d.fromString=function(a,b){var e=new c(a,b||"hex"),f=d._transformDER(e);return new d(f.point,{compressed:f.compressed})},d.fromX=function(a,b){var c=d._transformX(a,b);return new d(c.point,{compressed:c.compressed})},d.getValidationError=function(a){var b;try{new d(a)}catch(c){b=c}return b},d.isValid=function(a){return!d.getValidationError(a)},d.prototype.toObject=d.prototype.toJSON=function(){return{x:this.point.getX().toString("hex",2),y:this.point.getY().toString("hex",2),compressed:this.compressed}},d.prototype.toBuffer=d.prototype.toDER=function(){var a,b=this.point.getX(),d=this.point.getY(),e=b.toBuffer({size:32}),f=d.toBuffer({size:32});if(this.compressed){var g=f[f.length-1]%2;return a=new c(g?[3]:[2]),c.concat([a,e])}return a=new c([4]),c.concat([a,e,f])},d.prototype._getID=function(){return g.sha256ripemd160(this.toBuffer())},d.prototype.toAddress=function(b){var c=a("./address");return c.fromPublicKey(this,b||this.network)},d.prototype.toString=function(){return this.toDER().toString("hex")},d.prototype.inspect=function(){return""},b.exports=d}).call(this,a("buffer").Buffer)},{"./address":52,"./crypto/bn":57,"./crypto/hash":59,"./crypto/point":60,"./networks":73,"./privatekey":75,"./util/js":94,"./util/preconditions":95,buffer:145,lodash:120}],77:[function(a,b,c){b.exports=a("./script"),b.exports.Interpreter=a("./interpreter")},{"./interpreter":78,"./script":79}],78:[function(a,b,c){(function(c){"use strict";var d=a("lodash"),e=a("./script"),f=a("../opcode"),g=a("../crypto/bn"),h=a("../crypto/hash"),i=a("../crypto/signature"),j=a("../publickey"),k=function l(a){return this instanceof l?void(a?(this.initialize(),this.set(a)):this.initialize()):new l(a)};k.prototype.verify=function(b,c,f,g,h){var i=a("../transaction");d.isUndefined(f)&&(f=new i),d.isUndefined(g)&&(g=0),d.isUndefined(h)&&(h=0),this.set({script:b,tx:f,nin:g,flags:h});var j;if(0!==(h&k.SCRIPT_VERIFY_SIGPUSHONLY)&&!b.isPushOnly())return this.errstr="SCRIPT_ERR_SIG_PUSHONLY",!1;if(!this.evaluate())return!1;h&k.SCRIPT_VERIFY_P2SH&&(j=this.stack.slice());var l=this.stack;if(this.initialize(),this.set({script:c,stack:l,tx:f,nin:g,flags:h}),!this.evaluate())return!1;if(0===this.stack.length)return this.errstr="SCRIPT_ERR_EVAL_FALSE_NO_RESULT",!1;var m=this.stack[this.stack.length-1];if(!k.castToBool(m))return this.errstr="SCRIPT_ERR_EVAL_FALSE_IN_STACK",!1;if(h&k.SCRIPT_VERIFY_P2SH&&c.isScriptHashOut()){if(!b.isPushOnly())return this.errstr="SCRIPT_ERR_SIG_PUSHONLY",!1;if(0===j.length)throw new Error("internal error - stack copy empty");var n=j[j.length-1],o=e.fromBuffer(n);return j.pop(),this.initialize(),this.set({script:o,stack:j,tx:f,nin:g,flags:h}),this.evaluate()?0===j.length?(this.errstr="SCRIPT_ERR_EVAL_FALSE_NO_P2SH_STACK",!1):k.castToBool(j[j.length-1])?!0:(this.errstr="SCRIPT_ERR_EVAL_FALSE_IN_P2SH_STACK",!1):!1}return!0},b.exports=k,k.prototype.initialize=function(a){this.stack=[],this.altstack=[],this.pc=0,this.pbegincodehash=0,this.nOpCount=0,this.vfExec=[],this.errstr="",this.flags=0},k.prototype.set=function(a){this.script=a.script||this.script,this.tx=a.tx||this.tx,this.nin="undefined"!=typeof a.nin?a.nin:this.nin,this.stack=a.stack||this.stack,this.altstack=a.altack||this.altstack,this.pc="undefined"!=typeof a.pc?a.pc:this.pc,this.pbegincodehash="undefined"!=typeof a.pbegincodehash?a.pbegincodehash:this.pbegincodehash,this.nOpCount="undefined"!=typeof a.nOpCount?a.nOpCount:this.nOpCount,this.vfExec=a.vfExec||this.vfExec,this.errstr=a.errstr||this.errstr,this.flags="undefined"!=typeof a.flags?a.flags:this.flags},k["true"]=new c([1]),k["false"]=new c([]),k.MAX_SCRIPT_ELEMENT_SIZE=520,k.LOCKTIME_THRESHOLD=5e8,k.LOCKTIME_THRESHOLD_BN=new g(k.LOCKTIME_THRESHOLD),k.SCRIPT_VERIFY_NONE=0,k.SCRIPT_VERIFY_P2SH=1,k.SCRIPT_VERIFY_STRICTENC=2,k.SCRIPT_VERIFY_DERSIG=4,k.SCRIPT_VERIFY_LOW_S=8,k.SCRIPT_VERIFY_NULLDUMMY=16,k.SCRIPT_VERIFY_SIGPUSHONLY=32,k.SCRIPT_VERIFY_MINIMALDATA=64,k.SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS=128,k.SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY=512,k.castToBool=function(a){for(var b=0;b1e4)return this.errstr="SCRIPT_ERR_SCRIPT_SIZE",!1;try{for(;this.pc1e3)return this.errstr="SCRIPT_ERR_STACK_SIZE",!1}catch(b){return this.errstr="SCRIPT_ERR_UNKNOWN_ERROR: "+b,!1}return this.vfExec.length>0?(this.errstr="SCRIPT_ERR_UNBALANCED_CONDITIONAL",!1):!0},k.prototype.checkLockTime=function(a){return this.tx.nLockTime=k.LOCKTIME_THRESHOLD&&a.gte(k.LOCKTIME_THRESHOLD_BN)?a.gt(new g(this.tx.nLockTime))?!1:this.tx.inputs[this.nin].isFinal()?!0:!1:!1},k.prototype.step=function(){var a,b,c,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z=0!==(this.flags&k.SCRIPT_VERIFY_MINIMALDATA),A=-1===this.vfExec.indexOf(!1),B=this.script.chunks[this.pc];this.pc++;var C=B.opcodenum;if(d.isUndefined(C))return this.errstr="SCRIPT_ERR_UNDEFINED_OPCODE",!1;if(B.buf&&B.buf.length>k.MAX_SCRIPT_ELEMENT_SIZE)return this.errstr="SCRIPT_ERR_PUSH_SIZE",!1;if(C>f.OP_16&&++this.nOpCount>201)return this.errstr="SCRIPT_ERR_OP_COUNT",!1;if(C===f.OP_CAT||C===f.OP_SUBSTR||C===f.OP_LEFT||C===f.OP_RIGHT||C===f.OP_INVERT||C===f.OP_AND||C===f.OP_OR||C===f.OP_XOR||C===f.OP_2MUL||C===f.OP_2DIV||C===f.OP_MUL||C===f.OP_DIV||C===f.OP_MOD||C===f.OP_LSHIFT||C===f.OP_RSHIFT)return this.errstr="SCRIPT_ERR_DISABLED_OPCODE",!1;if(A&&C>=0&&C<=f.OP_PUSHDATA4){if(z&&!this.script.checkMinimalPush(this.pc-1))return this.errstr="SCRIPT_ERR_MINIMALDATA",!1;if(B.buf){if(B.len!==B.buf.length)throw new Error("Length of push value not equal to length of data");this.stack.push(B.buf)}else this.stack.push(k["false"])}else if(A||f.OP_IF<=C&&C<=f.OP_ENDIF)switch(C){case f.OP_1NEGATE:case f.OP_1:case f.OP_2:case f.OP_3:case f.OP_4:case f.OP_5:case f.OP_6:case f.OP_7:case f.OP_8:case f.OP_9:case f.OP_10:case f.OP_11:case f.OP_12:case f.OP_13:case f.OP_14:case f.OP_15:case f.OP_16:m=C-(f.OP_1-1),a=new g(m).toScriptNumBuffer(),this.stack.push(a);break;case f.OP_NOP:break;case f.OP_NOP2:case f.OP_CHECKLOCKTIMEVERIFY:if(!(this.flags&k.SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY)){if(this.flags&k.SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS)return this.errstr="SCRIPT_ERR_DISCOURAGE_UPGRADABLE_NOPS",!1;break}if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;var D=g.fromScriptNumBuffer(this.stack[this.stack.length-1],z,5);if(D.lt(new g(0)))return this.errstr="SCRIPT_ERR_NEGATIVE_LOCKTIME",!1;if(!this.checkLockTime(D))return this.errstr="SCRIPT_ERR_UNSATISFIED_LOCKTIME",!1;break;case f.OP_NOP1:case f.OP_NOP3:case f.OP_NOP4:case f.OP_NOP5:case f.OP_NOP6:case f.OP_NOP7:case f.OP_NOP8:case f.OP_NOP9:case f.OP_NOP10:if(this.flags&k.SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS)return this.errstr="SCRIPT_ERR_DISCOURAGE_UPGRADABLE_NOPS",!1;break;case f.OP_IF:case f.OP_NOTIF:if(x=!1,A){if(this.stack.length<1)return this.errstr="SCRIPT_ERR_UNBALANCED_CONDITIONAL",!1;a=this.stack.pop(),x=k.castToBool(a),C===f.OP_NOTIF&&(x=!x)}this.vfExec.push(x);break;case f.OP_ELSE:if(0===this.vfExec.length)return this.errstr="SCRIPT_ERR_UNBALANCED_CONDITIONAL",!1;this.vfExec[this.vfExec.length-1]=!this.vfExec[this.vfExec.length-1];break;case f.OP_ENDIF:if(0===this.vfExec.length)return this.errstr="SCRIPT_ERR_UNBALANCED_CONDITIONAL",!1;this.vfExec.pop();break;case f.OP_VERIFY:if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;if(a=this.stack[this.stack.length-1],x=k.castToBool(a),!x)return this.errstr="SCRIPT_ERR_VERIFY",!1;this.stack.pop();break;case f.OP_RETURN:return this.errstr="SCRIPT_ERR_OP_RETURN",!1;case f.OP_TOALTSTACK:if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;this.altstack.push(this.stack.pop());break;case f.OP_FROMALTSTACK:if(this.altstack.length<1)return this.errstr="SCRIPT_ERR_INVALID_ALTSTACK_OPERATION",!1;this.stack.push(this.altstack.pop());break;case f.OP_2DROP:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;this.stack.pop(),this.stack.pop();break;case f.OP_2DUP:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;b=this.stack[this.stack.length-2],c=this.stack[this.stack.length-1],this.stack.push(b),this.stack.push(c);break;case f.OP_3DUP:if(this.stack.length<3)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;b=this.stack[this.stack.length-3],c=this.stack[this.stack.length-2];var E=this.stack[this.stack.length-1];this.stack.push(b),this.stack.push(c),this.stack.push(E);break;case f.OP_2OVER:if(this.stack.length<4)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;b=this.stack[this.stack.length-4],c=this.stack[this.stack.length-3],this.stack.push(b),this.stack.push(c);break;case f.OP_2ROT:if(this.stack.length<6)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;l=this.stack.splice(this.stack.length-6,2),this.stack.push(l[0]),this.stack.push(l[1]);break;case f.OP_2SWAP:if(this.stack.length<4)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;l=this.stack.splice(this.stack.length-4,2),this.stack.push(l[0]),this.stack.push(l[1]);break;case f.OP_IFDUP:if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;a=this.stack[this.stack.length-1],x=k.castToBool(a),x&&this.stack.push(a);break;case f.OP_DEPTH:a=new g(this.stack.length).toScriptNumBuffer(),this.stack.push(a);break;case f.OP_DROP:if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;this.stack.pop();break;case f.OP_DUP:if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;this.stack.push(this.stack[this.stack.length-1]);break;case f.OP_NIP:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;this.stack.splice(this.stack.length-2,1);break;case f.OP_OVER:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;this.stack.push(this.stack[this.stack.length-2]);break;case f.OP_PICK:case f.OP_ROLL:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;if(a=this.stack[this.stack.length-1],p=g.fromScriptNumBuffer(a,z),m=p.toNumber(),this.stack.pop(),0>m||m>=this.stack.length)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;a=this.stack[this.stack.length-m-1],C===f.OP_ROLL&&this.stack.splice(this.stack.length-m-1,1),this.stack.push(a);break;case f.OP_ROT:if(this.stack.length<3)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;n=this.stack[this.stack.length-3],o=this.stack[this.stack.length-2];var F=this.stack[this.stack.length-1];this.stack[this.stack.length-3]=o,this.stack[this.stack.length-2]=F,this.stack[this.stack.length-1]=n;break;case f.OP_SWAP:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;n=this.stack[this.stack.length-2],o=this.stack[this.stack.length-1],this.stack[this.stack.length-2]=o,this.stack[this.stack.length-1]=n;break;case f.OP_TUCK:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;this.stack.splice(this.stack.length-2,0,this.stack[this.stack.length-1]);break;case f.OP_SIZE:if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;p=new g(this.stack[this.stack.length-1].length),this.stack.push(p.toScriptNumBuffer());break;case f.OP_EQUAL:case f.OP_EQUALVERIFY:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;b=this.stack[this.stack.length-2],c=this.stack[this.stack.length-1];var G=b.toString("hex")===c.toString("hex");if(this.stack.pop(),this.stack.pop(),this.stack.push(G?k["true"]:k["false"]),C===f.OP_EQUALVERIFY){if(!G)return this.errstr="SCRIPT_ERR_EQUALVERIFY",!1;this.stack.pop()}break;case f.OP_1ADD:case f.OP_1SUB:case f.OP_NEGATE:case f.OP_ABS:case f.OP_NOT:case f.OP_0NOTEQUAL:if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;switch(a=this.stack[this.stack.length-1],p=g.fromScriptNumBuffer(a,z),C){case f.OP_1ADD:p=p.add(g.One);break;case f.OP_1SUB:p=p.sub(g.One);break;case f.OP_NEGATE:p=p.neg();break;case f.OP_ABS:p.cmp(g.Zero)<0&&(p=p.neg());break;case f.OP_NOT:p=new g((0===p.cmp(g.Zero))+0);break;case f.OP_0NOTEQUAL:p=new g((0!==p.cmp(g.Zero))+0)}this.stack.pop(),this.stack.push(p.toScriptNumBuffer());break;case f.OP_ADD:case f.OP_SUB:case f.OP_BOOLAND:case f.OP_BOOLOR:case f.OP_NUMEQUAL:case f.OP_NUMEQUALVERIFY:case f.OP_NUMNOTEQUAL:case f.OP_LESSTHAN:case f.OP_GREATERTHAN:case f.OP_LESSTHANOREQUAL:case f.OP_GREATERTHANOREQUAL:case f.OP_MIN:case f.OP_MAX:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;switch(q=g.fromScriptNumBuffer(this.stack[this.stack.length-2],z),r=g.fromScriptNumBuffer(this.stack[this.stack.length-1],z),p=new g(0),C){case f.OP_ADD:p=q.add(r);break;case f.OP_SUB:p=q.sub(r);break;case f.OP_BOOLAND:p=new g((0!==q.cmp(g.Zero)&&0!==r.cmp(g.Zero))+0);break;case f.OP_BOOLOR:p=new g((0!==q.cmp(g.Zero)||0!==r.cmp(g.Zero))+0);break;case f.OP_NUMEQUAL:p=new g((0===q.cmp(r))+0);break;case f.OP_NUMEQUALVERIFY:p=new g((0===q.cmp(r))+0);break;case f.OP_NUMNOTEQUAL:p=new g((0!==q.cmp(r))+0);break;case f.OP_LESSTHAN:p=new g((q.cmp(r)<0)+0);break;case f.OP_GREATERTHAN:p=new g((q.cmp(r)>0)+0);break;case f.OP_LESSTHANOREQUAL:p=new g((q.cmp(r)<=0)+0);break;case f.OP_GREATERTHANOREQUAL:p=new g((q.cmp(r)>=0)+0);break;case f.OP_MIN:p=q.cmp(r)<0?q:r;break;case f.OP_MAX:p=q.cmp(r)>0?q:r}if(this.stack.pop(),this.stack.pop(),this.stack.push(p.toScriptNumBuffer()),C===f.OP_NUMEQUALVERIFY){if(!k.castToBool(this.stack[this.stack.length-1]))return this.errstr="SCRIPT_ERR_NUMEQUALVERIFY",!1;this.stack.pop()}break;case f.OP_WITHIN:if(this.stack.length<3)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;q=g.fromScriptNumBuffer(this.stack[this.stack.length-3],z),r=g.fromScriptNumBuffer(this.stack[this.stack.length-2],z);var H=g.fromScriptNumBuffer(this.stack[this.stack.length-1],z);x=r.cmp(q)<=0&&q.cmp(H)<0,this.stack.pop(),this.stack.pop(),this.stack.pop(),this.stack.push(x?k["true"]:k["false"]);break;case f.OP_RIPEMD160:case f.OP_SHA1:case f.OP_SHA256:case f.OP_HASH160:case f.OP_HASH256:if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;a=this.stack[this.stack.length-1];var I;C===f.OP_RIPEMD160?I=h.ripemd160(a):C===f.OP_SHA1?I=h.sha1(a):C===f.OP_SHA256?I=h.sha256(a):C===f.OP_HASH160?I=h.sha256ripemd160(a):C===f.OP_HASH256&&(I=h.sha256sha256(a)),this.stack.pop(),this.stack.push(I);break;case f.OP_CODESEPARATOR:this.pbegincodehash=this.pc;break;case f.OP_CHECKSIG:case f.OP_CHECKSIGVERIFY:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;s=this.stack[this.stack.length-2],t=this.stack[this.stack.length-1],u=(new e).set({chunks:this.script.chunks.slice(this.pbegincodehash)});var J=(new e).add(s);if(u.findAndDelete(J),!this.checkSignatureEncoding(s)||!this.checkPubkeyEncoding(t))return!1;try{v=i.fromTxFormat(s),w=j.fromBuffer(t,!1),y=this.tx.verifySignature(v,w,this.nin,u)}catch(K){y=!1}if(this.stack.pop(),this.stack.pop(),this.stack.push(y?k["true"]:k["false"]),C===f.OP_CHECKSIGVERIFY){if(!y)return this.errstr="SCRIPT_ERR_CHECKSIGVERIFY",!1;this.stack.pop()}break;case f.OP_CHECKMULTISIG:case f.OP_CHECKMULTISIGVERIFY:var L=1;if(this.stack.lengthM||M>20)return this.errstr="SCRIPT_ERR_PUBKEY_COUNT",!1;if(this.nOpCount+=M,this.nOpCount>201)return this.errstr="SCRIPT_ERR_OP_COUNT",!1;var N=++L;if(L+=M,this.stack.lengthO||O>M)return this.errstr="SCRIPT_ERR_SIG_COUNT",!1;var P=++L;if(L+=O,this.stack.lengthQ;Q++)s=this.stack[this.stack.length-P-Q],u.findAndDelete((new e).add(s));for(y=!0;y&&O>0;){if(s=this.stack[this.stack.length-P],t=this.stack[this.stack.length-N],!this.checkSignatureEncoding(s)||!this.checkPubkeyEncoding(t))return!1;var R;try{v=i.fromTxFormat(s),w=j.fromBuffer(t,!1),R=this.tx.verifySignature(v,w,this.nin,u)}catch(K){R=!1}R&&(P++,O--),N++,M--,O>M&&(y=!1)}for(;L-->1;)this.stack.pop();if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;if(this.flags&k.SCRIPT_VERIFY_NULLDUMMY&&this.stack[this.stack.length-1].length)return this.errstr="SCRIPT_ERR_SIG_NULLDUMMY",!1;if(this.stack.pop(),this.stack.push(y?k["true"]:k["false"]),C===f.OP_CHECKMULTISIGVERIFY){if(!y)return this.errstr="SCRIPT_ERR_CHECKMULTISIGVERIFY",!1;this.stack.pop()}break;default:return this.errstr="SCRIPT_ERR_BAD_OPCODE",!1}return!0}}).call(this,a("buffer").Buffer)},{"../crypto/bn":57,"../crypto/hash":59,"../crypto/signature":62,"../opcode":74,"../publickey":76,"../transaction":80,"./script":79,buffer:145,lodash:120}],79:[function(a,b,c){(function(c){"use strict";var d=a("../address"),e=a("../encoding/bufferreader"),f=a("../encoding/bufferwriter"),g=a("../crypto/hash"),h=a("../opcode"),i=a("../publickey"),j=a("../crypto/signature"),k=a("../networks"),l=a("../util/preconditions"),m=a("lodash"),n=a("../errors"),o=a("buffer"),p=a("../util/buffer"),q=a("../util/js"),r=function s(a){return this instanceof s?(this.chunks=[],p.isBuffer(a)?s.fromBuffer(a):a instanceof d?s.fromAddress(a):a instanceof s?s.fromBuffer(a.toBuffer()):"string"==typeof a?s.fromString(a):void("undefined"!=typeof a&&this.set(a))):new s(a)};r.prototype.set=function(a){return this.chunks=a.chunks||this.chunks,this},r.fromBuffer=function(a){var b=new r;b.chunks=[];for(var c=new e(a);!c.finished();)try{var d,f,g=c.readUInt8();g>0&&g0&&i0&&(e=d?e+" "+a.buf.toString("hex"):e+" "+a.len+" 0x"+a.buf.toString("hex"));else if("undefined"!=typeof h.reverseMap[c])e=e+" "+h(c).toString();else{var f=c.toString(16);f.length%2!==0&&(f="0"+f),e=d?e+" "+f:e+" 0x"+f}return e},r.prototype.toASM=function(){for(var a="",b=0;b"},r.prototype.isPublicKeyHashOut=function(){return!(5!==this.chunks.length||this.chunks[0].opcodenum!==h.OP_DUP||this.chunks[1].opcodenum!==h.OP_HASH160||!this.chunks[2].buf||20!==this.chunks[2].buf.length||this.chunks[3].opcodenum!==h.OP_EQUALVERIFY||this.chunks[4].opcodenum!==h.OP_CHECKSIG)},r.prototype.isPublicKeyHashIn=function(){if(2===this.chunks.length){var a=this.chunks[0].buf,b=this.chunks[1].buf;if(a&&a.length&&48===a[0]&&b&&b.length){var c=b[0];if((4===c||6===c||7===c)&&65===b.length)return!0;if((3===c||2===c)&&33===b.length)return!0}}return!1},r.prototype.getPublicKey=function(){return l.checkState(this.isPublicKeyOut(),"Can't retreive PublicKey from a non-PK output"),this.chunks[0].buf},r.prototype.getPublicKeyHash=function(){return l.checkState(this.isPublicKeyHashOut(),"Can't retrieve PublicKeyHash from a non-PKH output"),this.chunks[2].buf},r.prototype.isPublicKeyOut=function(){if(2===this.chunks.length&&this.chunks[0].buf&&this.chunks[0].buf.length&&this.chunks[1].opcodenum===h.OP_CHECKSIG){var a=this.chunks[0].buf,b=a[0],c=!1;if(4!==b&&6!==b&&7!==b||65!==a.length?3!==b&&2!==b||33!==a.length||(c=!0):c=!0,c)return i.isValid(a)}return!1},r.prototype.isPublicKeyIn=function(){if(1===this.chunks.length){var a=this.chunks[0].buf;if(a&&a.length&&48===a[0])return!0}return!1},r.prototype.isScriptHashOut=function(){var a=this.toBuffer();return 23===a.length&&a[0]===h.OP_HASH160&&20===a[1]&&a[a.length-1]===h.OP_EQUAL},r.prototype.isScriptHashIn=function(){if(this.chunks.length<=1)return!1;var a=this.chunks[this.chunks.length-1],b=a.buf;if(!b)return!1;var c;try{c=r.fromBuffer(b)}catch(d){if(d instanceof n.Script.InvalidBuffer)return!1;throw d}var e=c.classify();return e!==r.types.UNKNOWN},r.prototype.isMultisigOut=function(){return this.chunks.length>3&&h.isSmallIntOp(this.chunks[0].opcodenum)&&this.chunks.slice(1,this.chunks.length-2).every(function(a){return a.buf&&p.isBuffer(a.buf)})&&h.isSmallIntOp(this.chunks[this.chunks.length-2].opcodenum)&&this.chunks[this.chunks.length-1].opcodenum===h.OP_CHECKMULTISIG},r.prototype.isMultisigIn=function(){return this.chunks.length>=2&&0===this.chunks[0].opcodenum&&this.chunks.slice(1,this.chunks.length).every(function(a){return a.buf&&p.isBuffer(a.buf)&&71===a.buf.length})},r.prototype.isDataOut=function(){return this.chunks.length>=1&&this.chunks[0].opcodenum===h.OP_RETURN&&(1===this.chunks.length||2===this.chunks.length&&this.chunks[1].buf&&this.chunks[1].buf.length<=r.OP_RETURN_STANDARD_SIZE&&this.chunks[1].length===this.chunks.len)},r.prototype.getData=function(){if(this.isDataOut()||this.isScriptHashOut())return new c(m.isUndefined(this.chunks[1])?0:this.chunks[1].buf);if(this.isPublicKeyHashOut())return new c(this.chunks[2].buf);throw new Error("Unrecognized script type to get data from")},r.prototype.isPushOnly=function(){return m.every(this.chunks,function(a){return a.opcodenum<=h.OP_16})},r.types={},r.types.UNKNOWN="Unknown",r.types.PUBKEY_OUT="Pay to public key",r.types.PUBKEY_IN="Spend from public key",r.types.PUBKEYHASH_OUT="Pay to public key hash",r.types.PUBKEYHASH_IN="Spend from public key hash",r.types.SCRIPTHASH_OUT="Pay to script hash",r.types.SCRIPTHASH_IN="Spend from script hash",r.types.MULTISIG_OUT="Pay to multisig",r.types.MULTISIG_IN="Spend from multisig",r.types.DATA_OUT="Data push",r.OP_RETURN_STANDARD_SIZE=80,r.identifiers={},r.identifiers.PUBKEY_OUT=r.prototype.isPublicKeyOut,r.identifiers.PUBKEY_IN=r.prototype.isPublicKeyIn,r.identifiers.PUBKEYHASH_OUT=r.prototype.isPublicKeyHashOut,r.identifiers.PUBKEYHASH_IN=r.prototype.isPublicKeyHashIn,r.identifiers.MULTISIG_OUT=r.prototype.isMultisigOut,r.identifiers.MULTISIG_IN=r.prototype.isMultisigIn,r.identifiers.SCRIPTHASH_OUT=r.prototype.isScriptHashOut,r.identifiers.SCRIPTHASH_IN=r.prototype.isScriptHashIn,r.identifiers.DATA_OUT=r.prototype.isDataOut,r.prototype.classify=function(){for(var a in r.identifiers)if(r.identifiers[a].bind(this)())return r.types[a];return r.types.UNKNOWN},r.prototype.isStandard=function(){return this.classify()!==r.types.UNKNOWN},r.prototype.prepend=function(a){return this._addByType(a,!0),this},r.prototype.equals=function(a){if(l.checkState(a instanceof r,"Must provide another script"),this.chunks.length!==a.chunks.length)return!1;var b;for(b=0;b=0&&d=1&&c[0]<=16?d===h.OP_1+(c[0]-1):1===c.length&&129===c[0]?d===h.OP_1NEGATE:c.length<=75?d===c.length:c.length<=255?d===h.OP_PUSHDATA1:c.length<=65535?d===h.OP_PUSHDATA2:!0:!0},r.prototype._decodeOP_N=function(a){if(a===h.OP_0)return 0;if(a>=h.OP_1&&a<=h.OP_16)return a-(h.OP_1-1);throw new Error("Invalid opcode: "+JSON.stringify(a))},r.prototype.getSignatureOperationsCount=function(a){a=m.isUndefined(a)?!0:a;var b=this,c=0,d=h.OP_INVALIDOPCODE;return m.each(b.chunks,function(e){var f=e.opcodenum;f==h.OP_CHECKSIG||f==h.OP_CHECKSIGVERIFY?c++:(f==h.OP_CHECKMULTISIG||f==h.OP_CHECKMULTISIGVERIFY)&&(c+=a&&d>=h.OP_1&&d<=h.OP_16?b._decodeOP_N(d):20),d=f}),c},b.exports=r}).call(this,a("buffer").Buffer)},{"../address":52,"../crypto/hash":59,"../crypto/signature":62,"../encoding/bufferreader":65,"../encoding/bufferwriter":66,"../errors":68,"../networks":73,"../opcode":74,"../publickey":76,"../util/buffer":93,"../util/js":94,"../util/preconditions":95,buffer:145,lodash:120}],80:[function(a,b,c){b.exports=a("./transaction"),b.exports.Input=a("./input"),b.exports.Output=a("./output"),b.exports.UnspentOutput=a("./unspentoutput"),b.exports.Signature=a("./signature")},{"./input":81,"./output":86,"./signature":88,"./transaction":89,"./unspentoutput":90}],81:[function(a,b,c){b.exports=a("./input"),b.exports.PublicKey=a("./publickey"),b.exports.PublicKeyHash=a("./publickeyhash"),b.exports.MultiSigScriptHash=a("./multisigscripthash.js")},{"./input":82,"./multisigscripthash.js":83,"./publickey":84,"./publickeyhash":85}],82:[function(a,b,c){"use strict";function d(a){return this instanceof d?a?this._fromObject(a):void 0:new d(a)}var e=a("lodash"),f=a("../../util/preconditions"),g=a("../../errors"),h=a("../../encoding/bufferwriter"),i=a("buffer"),j=a("../../util/buffer"),k=a("../../util/js"),l=a("../../script"),m=a("../sighash"),n=a("../output"),o=4294967295;d.DEFAULT_SEQNUMBER=o,Object.defineProperty(d.prototype,"script",{configurable:!1,enumerable:!0,get:function(){return this.isNull()?null:(this._script||(this._script=new l(this._scriptBuffer),this._script._isInput=!0),this._script)}}),d.fromObject=function(a){f.checkArgument(e.isObject(a));var b=new d;return b._fromObject(a)},d.prototype._fromObject=function(a){var b;if(b=e.isString(a.prevTxId)&&k.isHexa(a.prevTxId)?new i.Buffer(a.prevTxId,"hex"):a.prevTxId,this.output=a.output?a.output instanceof n?a.output:new n(a.output):void 0,this.prevTxId=b||a.txidbuf,this.outputIndex=e.isUndefined(a.outputIndex)?a.txoutnum:a.outputIndex,this.sequenceNumber=e.isUndefined(a.sequenceNumber)?e.isUndefined(a.seqnum)?o:a.seqnum:a.sequenceNumber,e.isUndefined(a.script)&&e.isUndefined(a.scriptBuffer))throw new g.Transaction.Input.MissingScript;return this.setScript(a.scriptBuffer||a.script),this},d.prototype.toObject=d.prototype.toJSON=function(){var a={prevTxId:this.prevTxId.toString("hex"),outputIndex:this.outputIndex,sequenceNumber:this.sequenceNumber,script:this._scriptBuffer.toString("hex")};return this.script&&(a.scriptString=this.script.toString()),this.output&&(a.output=this.output.toObject()),a},d.fromBufferReader=function(a){var b=new d;return b.prevTxId=a.readReverse(32),b.outputIndex=a.readUInt32LE(),b._scriptBuffer=a.readVarLengthBuffer(),b.sequenceNumber=a.readUInt32LE(),b},d.prototype.toBufferWriter=function(a){a||(a=new h),a.writeReverse(this.prevTxId),a.writeUInt32LE(this.outputIndex);var b=this._scriptBuffer;return a.writeVarintNum(b.length),a.write(b),a.writeUInt32LE(this.sequenceNumber),a},d.prototype.setScript=function(a){if(this._script=null,a instanceof l)this._script=a,this._script._isInput=!0,this._scriptBuffer=a.toBuffer();else if(k.isHexa(a))this._scriptBuffer=new i.Buffer(a,"hex");else if(e.isString(a))this._script=new l(a),this._script._isInput=!0,this._scriptBuffer=this._script.toBuffer();else{if(!j.isBuffer(a))throw new TypeError("Invalid argument type: script");this._scriptBuffer=new i.Buffer(a)}return this},d.prototype.getSignatures=function(){throw new g.AbstractMethodInvoked("Trying to sign unsupported output type (only P2PKH and P2SH multisig inputs are supported) for input: "+JSON.stringify(this))},d.prototype.isFullySigned=function(){throw new g.AbstractMethodInvoked("Input#isFullySigned")},d.prototype.isFinal=function(){return 4294967295!==this.sequenceNumber},d.prototype.addSignature=function(){throw new g.AbstractMethodInvoked("Input#addSignature")},d.prototype.clearSignatures=function(){throw new g.AbstractMethodInvoked("Input#clearSignatures")},d.prototype.isValidSignature=function(a,b){return b.signature.nhashtype=b.sigtype,m.verify(a,b.signature,b.publicKey,b.inputIndex,this.output.script)},d.prototype.isNull=function(){return"0000000000000000000000000000000000000000000000000000000000000000"===this.prevTxId.toString("hex")&&4294967295===this.outputIndex},d.prototype._estimateSize=function(){return this.toBufferWriter().toBuffer().length},b.exports=d},{"../../encoding/bufferwriter":66,"../../errors":68,"../../script":77,"../../util/buffer":93,"../../util/js":94,"../../util/preconditions":95,"../output":86,"../sighash":87,buffer:145,lodash:120}],83:[function(a,b,c){"use strict";function d(a,b,c,d){g.apply(this,arguments);var f=this;b=b||a.publicKeys,c=c||a.threshold,d=d||a.signatures,this.publicKeys=e.sortBy(b,function(a){return a.toString("hex")}),this.redeemScript=j.buildMultisigOut(this.publicKeys,c),i.checkState(j.buildScriptHashOut(this.redeemScript).equals(this.output.script),"Provided public keys don't hash to the provided output"),this.publicKeyIndex={},e.each(this.publicKeys,function(a,b){f.publicKeyIndex[a.toString()]=b}),this.threshold=c,this.signatures=d?this._deserializeSignatures(d):new Array(this.publicKeys.length)}var e=a("lodash"),f=a("inherits"),g=a("./input"),h=a("../output"),i=a("../../util/preconditions"),j=a("../../script"),k=a("../../crypto/signature"),l=a("../sighash"),m=(a("../../publickey"),a("../../util/buffer")),n=a("../signature");f(d,g),d.prototype.toObject=function(){var a=g.prototype.toObject.apply(this,arguments);return a.threshold=this.threshold,a.publicKeys=e.map(this.publicKeys,function(a){return a.toString()}),a.signatures=this._serializeSignatures(),a},d.prototype._deserializeSignatures=function(a){return e.map(a,function(a){return a?new n(a):void 0})},d.prototype._serializeSignatures=function(){return e.map(this.signatures,function(a){return a?a.toObject():void 0})},d.prototype.getSignatures=function(a,b,c,d){i.checkState(this.output instanceof h),d=d||k.SIGHASH_ALL;var f=this,g=[];return e.each(this.publicKeys,function(e){e.toString()===b.publicKey.toString()&&g.push(new n({publicKey:b.publicKey,prevTxId:f.prevTxId,outputIndex:f.outputIndex,inputIndex:c,signature:l.sign(a,b,d,c,f.redeemScript),sigtype:d}))}),g},d.prototype.addSignature=function(a,b){return i.checkState(!this.isFullySigned(),"All needed signatures have already been added"),i.checkArgument(!e.isUndefined(this.publicKeyIndex[b.publicKey.toString()]),"Signature has no matching public key"),i.checkState(this.isValidSignature(a,b)),this.signatures[this.publicKeyIndex[b.publicKey.toString()]]=b,this._updateScript(),this},d.prototype._updateScript=function(){return this.setScript(j.buildP2SHMultisigIn(this.publicKeys,this.threshold,this._createSignatures(),{cachedMultisig:this.redeemScript})),this},d.prototype._createSignatures=function(){return e.map(e.filter(this.signatures,function(a){return!e.isUndefined(a)}),function(a){return m.concat([a.signature.toDER(),m.integerAsSingleByteBuffer(a.sigtype)])})},d.prototype.clearSignatures=function(){this.signatures=new Array(this.publicKeys.length),this._updateScript()},d.prototype.isFullySigned=function(){return this.countSignatures()===this.threshold},d.prototype.countMissingSignatures=function(){return this.threshold-this.countSignatures()},d.prototype.countSignatures=function(){return e.reduce(this.signatures,function(a,b){return a+!!b},0)},d.prototype.publicKeysWithoutSignature=function(){var a=this;return e.filter(this.publicKeys,function(b){return!a.signatures[a.publicKeyIndex[b.toString()]]})},d.prototype.isValidSignature=function(a,b){return b.signature.nhashtype=b.sigtype,l.verify(a,b.signature,b.publicKey,b.inputIndex,this.redeemScript)},d.OPCODES_SIZE=7,d.SIGNATURE_SIZE=74,d.PUBKEY_SIZE=34,d.prototype._estimateSize=function(){return d.OPCODES_SIZE+this.threshold*d.SIGNATURE_SIZE+this.publicKeys.length*d.PUBKEY_SIZE},b.exports=d},{"../../crypto/signature":62,"../../publickey":76,"../../script":77,"../../util/buffer":93,"../../util/preconditions":95,"../output":86,"../sighash":87,"../signature":88,"./input":82,inherits:119,lodash:120}],84:[function(a,b,c){"use strict";function d(){g.apply(this,arguments)}var e=a("inherits"),f=a("../../util/preconditions"),g=(a("../../util/buffer"),a("./input")),h=a("../output"),i=a("../sighash"),j=a("../../script"),k=a("../../crypto/signature"),l=a("../signature");e(d,g),d.prototype.getSignatures=function(a,b,c,d){f.checkState(this.output instanceof h),d=d||k.SIGHASH_ALL;var e=b.toPublicKey();return e.toString()===this.output.script.getPublicKey().toString("hex")?[new l({publicKey:e,prevTxId:this.prevTxId,outputIndex:this.outputIndex,inputIndex:c,signature:i.sign(a,b,d,c,this.output.script),sigtype:d})]:[]},d.prototype.addSignature=function(a,b){return f.checkState(this.isValidSignature(a,b),"Signature is invalid"),this.setScript(j.buildPublicKeyIn(b.signature.toDER(),b.sigtype)),this},d.prototype.clearSignatures=function(){return this.setScript(j.empty()),this},d.prototype.isFullySigned=function(){return this.script.isPublicKeyIn()},d.SCRIPT_MAX_SIZE=73,d.prototype._estimateSize=function(){return d.SCRIPT_MAX_SIZE},b.exports=d},{"../../crypto/signature":62,"../../script":77,"../../util/buffer":93,"../../util/preconditions":95,"../output":86,"../sighash":87,"../signature":88,"./input":82,inherits:119}],85:[function(a,b,c){"use strict";function d(){i.apply(this,arguments)}var e=a("inherits"),f=a("../../util/preconditions"),g=a("../../util/buffer"),h=a("../../crypto/hash"),i=a("./input"),j=a("../output"),k=a("../sighash"),l=a("../../script"),m=a("../../crypto/signature"),n=a("../signature");e(d,i),d.prototype.getSignatures=function(a,b,c,d,e){return f.checkState(this.output instanceof j),e=e||h.sha256ripemd160(b.publicKey.toBuffer()),d=d||m.SIGHASH_ALL,g.equals(e,this.output.script.getPublicKeyHash())?[new n({publicKey:b.publicKey,prevTxId:this.prevTxId,outputIndex:this.outputIndex,inputIndex:c,signature:k.sign(a,b,d,c,this.output.script),sigtype:d})]:[]},d.prototype.addSignature=function(a,b){return f.checkState(this.isValidSignature(a,b),"Signature is invalid"),this.setScript(l.buildPublicKeyHashIn(b.publicKey,b.signature.toDER(),b.sigtype)),this},d.prototype.clearSignatures=function(){return this.setScript(l.empty()),this},d.prototype.isFullySigned=function(){return this.script.isPublicKeyHashIn()},d.SCRIPT_MAX_SIZE=107,d.prototype._estimateSize=function(){return d.SCRIPT_MAX_SIZE},b.exports=d},{"../../crypto/hash":59,"../../crypto/signature":62,"../../script":77,"../../util/buffer":93,"../../util/preconditions":95,"../output":86,"../sighash":87,"../signature":88,"./input":82,inherits:119}],86:[function(a,b,c){"use strict";function d(a){if(!(this instanceof d))return new d(a);if(!e.isObject(a))throw new TypeError("Unrecognized argument for Output");if(this.satoshis=a.satoshis,h.isBuffer(a.script))this._scriptBuffer=a.script;else{var b;b=e.isString(a.script)&&i.isHexa(a.script)?new g.Buffer(a.script,"hex"):a.script,this.setScript(b)}}var e=a("lodash"),f=a("../crypto/bn"),g=a("buffer"),h=a("../util/buffer"),i=a("../util/js"),j=a("../encoding/bufferwriter"),k=a("../script"),l=a("../util/preconditions"),m=a("../errors"),n=9007199254740991;Object.defineProperty(d.prototype,"script",{configurable:!1,enumerable:!0,get:function(){return this._script?this._script:(this.setScriptFromBuffer(this._scriptBuffer),this._script)}}),Object.defineProperty(d.prototype,"satoshis",{configurable:!1,enumerable:!0,get:function(){return this._satoshis},set:function(a){a instanceof f?(this._satoshisBN=a,this._satoshis=a.toNumber()):e.isString(a)?(this._satoshis=parseInt(a),this._satoshisBN=f.fromNumber(this._satoshis)):(l.checkArgument(i.isNaturalNumber(a),"Output satoshis is not a natural number"),this._satoshisBN=f.fromNumber(a),this._satoshis=a),l.checkState(i.isNaturalNumber(this._satoshis),"Output satoshis is not a natural number")}}),d.prototype.invalidSatoshis=function(){return this._satoshis>n?"transaction txout satoshis greater than max safe integer":this._satoshis!==this._satoshisBN.toNumber()?"transaction txout satoshis has corrupted value":this._satoshis<0?"transaction txout negative":!1},d.prototype.toObject=d.prototype.toJSON=function(){var a={satoshis:this.satoshis};return a.script=this._scriptBuffer.toString("hex"),a},d.fromObject=function(a){return new d(a)},d.prototype.setScriptFromBuffer=function(a){this._scriptBuffer=a;try{this._script=k.fromBuffer(this._scriptBuffer),this._script._isOutput=!0}catch(b){if(!(b instanceof m.Script.InvalidBuffer))throw b;this._script=null}},d.prototype.setScript=function(a){if(a instanceof k)this._scriptBuffer=a.toBuffer(),this._script=a,this._script._isOutput=!0;else if(e.isString(a))this._script=k.fromString(a),this._scriptBuffer=this._script.toBuffer(),this._script._isOutput=!0;else{if(!h.isBuffer(a))throw new TypeError("Invalid argument type: script");this.setScriptFromBuffer(a)}return this},d.prototype.inspect=function(){var a;return a=this.script?this.script.inspect():this._scriptBuffer.toString("hex"),""},d.fromBufferReader=function(a){var b={};b.satoshis=a.readUInt64LEBN();var c=a.readVarintNum();return 0!==c?b.script=a.read(c):b.script=new g.Buffer([]),new d(b)},d.prototype.toBufferWriter=function(a){a||(a=new j),a.writeUInt64LEBN(this._satoshisBN);var b=this._scriptBuffer;return a.writeVarintNum(b.length),a.write(b),a},b.exports=d},{"../crypto/bn":57,"../encoding/bufferwriter":66,"../errors":68,"../script":77,"../util/buffer":93,"../util/js":94,"../util/preconditions":95,buffer:145,lodash:120}],87:[function(a,b,c){(function(c){"use strict";function d(a,b,c,d,e){var f=s(a,c,d,e),g=n.sign(f,b,"little").set({nhashtype:c});return g}function e(a,b,c,d,e){o.checkArgument(!p.isUndefined(a)),o.checkArgument(!p.isUndefined(b)&&!p.isUndefined(b.nhashtype));var f=s(a,b.nhashtype,d,e);return n.verify(f,b,c,"little")}var f=a("buffer"),g=a("../crypto/signature"),h=a("../script"),i=a("./output"),j=a("../encoding/bufferreader"),k=a("../encoding/bufferwriter"),l=a("../crypto/bn"),m=a("../crypto/hash"),n=a("../crypto/ecdsa"),o=a("../util/preconditions"),p=a("lodash"),q="0000000000000000000000000000000000000000000000000000000000000001",r="ffffffffffffffff",s=function(b,d,e,n){var o,p=a("./transaction"),s=a("./input"),t=p.shallowCopy(b);for(n=new h(n),n.removeCodeseparators(),o=0;o=t.outputs.length)return new c(q,"hex");for(t.outputs.length=e+1,o=0;e>o;o++)t.outputs[o]=new i({satoshis:l.fromBuffer(new f.Buffer(r,"hex")),script:h.empty()})}d&g.SIGHASH_ANYONECANPAY&&(t.inputs=[t.inputs[e]]);var u=(new k).write(t.toBuffer()).writeInt32LE(d).toBuffer(),v=m.sha256sha256(u);return v=new j(v).readReverse()};b.exports={sighash:s,sign:d,verify:e}}).call(this,a("buffer").Buffer)},{"../crypto/bn":57,"../crypto/ecdsa":58,"../crypto/hash":59,"../crypto/signature":62,"../encoding/bufferreader":65,"../encoding/bufferwriter":66,"../script":77,"../util/preconditions":95,"./input":81,"./output":86,"./transaction":89,buffer:145,lodash:120}],88:[function(a,b,c){(function(c){"use strict";function d(a){if(!(this instanceof d))return new d(a);if(a instanceof d)return a;if(e.isObject(a))return this._fromObject(a);throw new k.InvalidArgument("TransactionSignatures must be instantiated from an object")}var e=a("lodash"),f=a("../util/preconditions"),g=a("inherits"),h=a("../util/buffer"),i=a("../util/js"),j=a("../publickey"),k=a("../errors"),l=a("../crypto/signature");g(d,l),d.prototype._fromObject=function(a){return this._checkObjectArgs(a),this.publicKey=new j(a.publicKey),this.prevTxId=h.isBuffer(a.prevTxId)?a.prevTxId:new c(a.prevTxId,"hex"),this.outputIndex=a.outputIndex,this.inputIndex=a.inputIndex,this.signature=a.signature instanceof l?a.signature:h.isBuffer(a.signature)?l.fromBuffer(a.signature):l.fromString(a.signature),this.sigtype=a.sigtype,this},d.prototype._checkObjectArgs=function(a){f.checkArgument(j(a.publicKey),"publicKey"),f.checkArgument(!e.isUndefined(a.inputIndex),"inputIndex"),f.checkArgument(!e.isUndefined(a.outputIndex),"outputIndex"),f.checkState(e.isNumber(a.inputIndex),"inputIndex must be a number"),f.checkState(e.isNumber(a.outputIndex),"outputIndex must be a number"),f.checkArgument(a.signature,"signature"),f.checkArgument(a.prevTxId,"prevTxId"),f.checkState(a.signature instanceof l||h.isBuffer(a.signature)||i.isHexa(a.signature),"signature must be a buffer or hexa value"),f.checkState(h.isBuffer(a.prevTxId)||i.isHexa(a.prevTxId),"prevTxId must be a buffer or hexa value"),f.checkArgument(a.sigtype,"sigtype"),f.checkState(e.isNumber(a.sigtype),"sigtype must be a number")},d.prototype.toObject=d.prototype.toJSON=function(){return{publicKey:this.publicKey.toString(),prevTxId:this.prevTxId.toString("hex"),outputIndex:this.outputIndex,inputIndex:this.inputIndex,signature:this.signature.toString(),sigtype:this.sigtype}},d.fromObject=function(a){return f.checkArgument(a),new d(a)},b.exports=d}).call(this,a("buffer").Buffer)},{"../crypto/signature":62,"../errors":68,"../publickey":76,"../util/buffer":93,"../util/js":94,"../util/preconditions":95,buffer:145,inherits:119,lodash:120}],89:[function(a,b,c){"use strict";function d(a){if(!(this instanceof d))return new d(a);if(this.inputs=[],this.outputs=[],this._inputAmount=void 0,this._outputAmount=void 0,a){if(a instanceof d)return d.shallowCopy(a);if(j.isHexa(a))this.fromString(a);else if(i.isBuffer(a))this.fromBuffer(a);else{if(!e.isObject(a))throw new h.InvalidArgument("Must provide an object or string to deserialize a transaction");this.fromObject(a)}}else this._newTransaction()}var e=a("lodash"),f=a("../util/preconditions"),g=a("buffer"),h=a("../errors"),i=a("../util/buffer"),j=a("../util/js"),k=a("../encoding/bufferreader"),l=a("../encoding/bufferwriter"),m=a("../crypto/hash"),n=a("../crypto/signature"),o=a("./sighash"),p=a("../address"),q=a("./unspentoutput"),r=a("./input"),s=r.PublicKeyHash,t=r.PublicKey,u=r.MultiSigScriptHash,v=a("./output"),w=a("../script"),x=a("../privatekey"),y=a("../crypto/bn"),z=1,A=0,B=1e6;d.DUST_AMOUNT=546,d.FEE_SECURITY_MARGIN=15,d.MAX_MONEY=21e14,d.NLOCKTIME_BLOCKHEIGHT_LIMIT=5e8,d.NLOCKTIME_MAX_VALUE=4294967295,d.FEE_PER_KB=1e4,d.CHANGE_OUTPUT_MAX_SIZE=62,d.MAXIMUM_EXTRA_SIZE=26,d.shallowCopy=function(a){var b=new d(a.toBuffer());return b};var C={configurable:!1,enumerable:!0,get:function(){return new k(this._getHash()).readReverse().toString("hex")}};Object.defineProperty(d.prototype,"hash",C),Object.defineProperty(d.prototype,"id",C);var D={configurable:!1,enumerable:!0,get:function(){return this._getInputAmount()}};Object.defineProperty(d.prototype,"inputAmount",D),D.get=function(){return this._getOutputAmount()},Object.defineProperty(d.prototype,"outputAmount",D),d.prototype._getHash=function(){return m.sha256sha256(this.toBuffer())},d.prototype.serialize=function(a){return!0===a||a&&a.disableAll?this.uncheckedSerialize():this.checkedSerialize(a)},d.prototype.uncheckedSerialize=d.prototype.toString=function(){return this.toBuffer().toString("hex")},d.prototype.checkedSerialize=function(a){var b=this.getSerializationError(a);if(b)throw b.message+=" Use Transaction#uncheckedSerialize if you want to skip security checks. See http://bitcore.io/guide/transaction.html#Serialization for more info.", -b;return this.uncheckedSerialize()},d.prototype.invalidSatoshis=function(){for(var a=!1,b=0;bc?a.disableMoreOutputThanInput||(b=new h.Transaction.InvalidOutputAmountSum):b=this._hasFeeError(a,c),b||this._hasDustOutputs(a)||this._isMissingSignatures(a)},d.prototype._hasFeeError=function(a,b){if(!e.isUndefined(this._fee)&&this._fee!==b)return new h.Transaction.FeeError.Different("Unspent value is "+b+" but specified fee is "+this._fee);if(!a.disableLargeFees){var c=Math.floor(d.FEE_SECURITY_MARGIN*this._estimateFee());if(b>c)return this._missingChange()?new h.Transaction.ChangeAddressMissing("Fee is too large and no change address was provided"):new h.Transaction.FeeError.TooLarge("expected less than "+c+" but got "+b)}if(!a.disableSmallFees){var f=Math.ceil(this._estimateFee()/d.FEE_SECURITY_MARGIN);if(f>b)return new h.Transaction.FeeError.TooSmall("expected more than "+f+" but got "+b)}},d.prototype._missingChange=function(){return!this._changeScript},d.prototype._hasDustOutputs=function(a){if(!a.disableDustOutputs){var b,c;for(b in this.outputs)if(c=this.outputs[b],c.satoshis"},d.prototype.toBuffer=function(){var a=new l;return this.toBufferWriter(a).toBuffer()},d.prototype.toBufferWriter=function(a){return a.writeUInt32LE(this.version),a.writeVarintNum(this.inputs.length),e.each(this.inputs,function(b){b.toBufferWriter(a)}),a.writeVarintNum(this.outputs.length),e.each(this.outputs,function(b){b.toBufferWriter(a)}),a.writeUInt32LE(this.nLockTime),a},d.prototype.fromBuffer=function(a){var b=new k(a);return this.fromBufferReader(b)},d.prototype.fromBufferReader=function(a){f.checkArgument(!a.finished(),"No transaction data received");var b,c,d;for(this.version=a.readUInt32LE(),c=a.readVarintNum(),b=0;c>b;b++){var e=r.fromBufferReader(a);this.inputs.push(e)}for(d=a.readVarintNum(),b=0;d>b;b++)this.outputs.push(v.fromBufferReader(a));return this.nLockTime=a.readUInt32LE(),this},d.prototype.toObject=d.prototype.toJSON=function(){var a=[];this.inputs.forEach(function(b){a.push(b.toObject())});var b=[];this.outputs.forEach(function(a){b.push(a.toObject())});var c={hash:this.hash,version:this.version,inputs:a,outputs:b,nLockTime:this.nLockTime};return this._changeScript&&(c.changeScript=this._changeScript.toString()),e.isUndefined(this._changeIndex)||(c.changeIndex=this._changeIndex),e.isUndefined(this._fee)||(c.fee=this._fee),c},d.prototype.fromObject=function(a){f.checkArgument(e.isObject(a)||a instanceof d);var b,c=this;return b=a instanceof d?b.toObject():a,e.each(b.inputs,function(a){if(!a.output||!a.output.script)return void c.uncheckedAddInput(new r(a));var b,d=new w(a.output.script);if(d.isPublicKeyHashOut())b=new r.PublicKeyHash(a);else{if(!(d.isScriptHashOut()&&a.publicKeys&&a.threshold))throw new h.Transaction.Input.UnsupportedScript(a.output.script);b=new r.MultiSigScriptHash(a,a.publicKeys,a.threshold,a.signatures)}c.addInput(b)}),e.each(b.outputs,function(a){c.addOutput(new v(a))}),b.changeIndex&&(this._changeIndex=b.changeIndex),b.changeScript&&(this._changeScript=new w(b.changeScript)),b.fee&&this.fee(b.fee),this.nLockTime=b.nLockTime,this.version=b.version,this._checkConsistency(a),this},d.prototype._checkConsistency=function(a){e.isUndefined(this._changeIndex)||(f.checkState(this._changeScript),f.checkState(this.outputs[this._changeIndex]),f.checkState(this.outputs[this._changeIndex].script.toString()===this._changeScript.toString())),a&&a.hash&&f.checkState(a.hash===this.hash,"Hash in object does not match transaction hash")},d.prototype.lockUntilDate=function(a){if(f.checkArgument(a),e.isNumber(a)&&a=d.NLOCKTIME_BLOCKHEIGHT_LIMIT)throw new h.Transaction.BlockHeightTooHigh;if(0>a)throw new h.Transaction.NLockTimeOutOfRange;return this.nLockTime=a,this},d.prototype.getLockTime=function(){return this.nLockTime?this.nLockTime0?(this._changeIndex=this.outputs.length,this._addOutput(new v({script:this._changeScript,satoshis:c}))):this._changeIndex=void 0}},d.prototype.getFee=function(){return e.isUndefined(this._fee)?this._changeScript?this._estimateFee():this._getUnspentValue():this._fee},d.prototype._estimateFee=function(){var a=this._estimateSize(),b=this._getUnspentValue();return d._estimateFee(a,b,this._feePerKb)},d.prototype._getUnspentValue=function(){return this._getInputAmount()-this._getOutputAmount()},d.prototype._clearSignatures=function(){e.each(this.inputs,function(a){a.clearSignatures()})},d._estimateFee=function(a,b,c){var e=Math.ceil(a/1e3)*(c||d.FEE_PER_KB);return b>e&&(a+=d.CHANGE_OUTPUT_MAX_SIZE),Math.ceil(a/1e3)*(c||d.FEE_PER_KB)},d.prototype._estimateSize=function(){var a=d.MAXIMUM_EXTRA_SIZE;return e.each(this.inputs,function(b){a+=b._estimateSize()}),e.each(this.outputs,function(b){a+=b.script.toBuffer().length+9}),a},d.prototype._removeOutput=function(a){var b=this.outputs[a];this.outputs=e.without(this.outputs,b),this._outputAmount=void 0},d.prototype.removeOutput=function(a){this._removeOutput(a),this._updateChangeOutput()},d.prototype.shuffleOutputs=function(){return this.sortOutputs(e.shuffle)},d.prototype.sortOutputs=function(a){var b=a(this.outputs);return this._newOutputOrder(b)},d.prototype._newOutputOrder=function(a){var b=this.outputs.length!==a.length||0!==e.difference(this.outputs,a).length;if(b)throw new h.Transaction.InvalidSorting;if(!e.isUndefined(this._changeIndex)){var c=this.outputs[this._changeIndex];this._changeIndex=e.findIndex(a,c)}return this.outputs=a,this},d.prototype.removeInput=function(a,b){var c;if(c=!b&&e.isNumber(a)?a:e.findIndex(this.inputs,function(c){return c.prevTxId.toString("hex")===a&&c.outputIndex===b}),0>c||c>=this.inputs.length)throw new h.Transaction.InvalidIndex(c,this.inputs.length);var d=this.inputs[c];this.inputs=e.without(this.inputs,d),this._inputAmount=void 0,this._updateChangeOutput()},d.prototype.sign=function(a,b){f.checkState(this.hasAllUtxoInfo());var c=this;return e.isArray(a)?(e.each(a,function(a){c.sign(a,b)}),this):(e.each(this.getSignatures(a,b),function(a){c.applySignature(a)}),this)},d.prototype.getSignatures=function(a,b){a=new x(a),b=b||n.SIGHASH_ALL;var c=this,d=[],f=m.sha256ripemd160(a.publicKey.toBuffer());return e.each(this.inputs,function(g,h){e.each(g.getSignatures(c,a,h,b,f),function(a){d.push(a)})}),d},d.prototype.applySignature=function(a){return this.inputs[a.inputIndex].addSignature(this,a),this},d.prototype.isFullySigned=function(){return e.each(this.inputs,function(a){if(a.isFullySigned===r.prototype.isFullySigned)throw new h.Transaction.UnableToVerifySignature("Unrecognized script kind, or not enough information to execute script.This usually happens when creating a transaction from a serialized transaction")}),e.all(e.map(this.inputs,function(a){return a.isFullySigned()}))},d.prototype.isValidSignature=function(a){var b=this;if(this.inputs[a.inputIndex].isValidSignature===r.prototype.isValidSignature)throw new h.Transaction.UnableToVerifySignature("Unrecognized script kind, or not enough information to execute script.This usually happens when creating a transaction from a serialized transaction");return this.inputs[a.inputIndex].isValidSignature(b,a)},d.prototype.verifySignature=function(a,b,c,d){return o.verify(this,a,b,c,d)},d.prototype.verify=function(){if(0===this.inputs.length)return"transaction txins empty";if(0===this.outputs.length)return"transaction txouts empty";for(var a=new y(0),b=0;bB)return"transaction over the maximum block size";var f={};for(b=0;b100)return"coinbase transaction script size invalid"}else for(b=0;b64)throw new Error("Invalid TXID in object",a);var k=e.isUndefined(a.vout)?a.outputIndex:a.vout;if(!e.isNumber(k))throw new Error("Invalid outputIndex, received "+k);f.checkArgument(!e.isUndefined(a.scriptPubKey)||!e.isUndefined(a.script),"Must provide the scriptPubKey for that output!");var l=new h(a.scriptPubKey||a.script);f.checkArgument(!e.isUndefined(a.amount)||!e.isUndefined(a.satoshis),"Must provide an amount for the output");var m=e.isUndefined(a.amount)?a.satoshis:new j.fromBTC(a.amount).toSatoshis();f.checkArgument(e.isNumber(m),"Amount must be a number"),g.defineImmutable(this,{address:b,txId:c,outputIndex:k,script:l,satoshis:m})}var e=a("lodash"),f=a("../util/preconditions"),g=a("../util/js"),h=a("../script"),i=a("../address"),j=a("../unit");d.prototype.inspect=function(){return""},d.prototype.toString=function(){return this.txId+":"+this.outputIndex},d.fromObject=function(a){return new d(a)},d.prototype.toObject=d.prototype.toJSON=function(){return{address:this.address?this.address.toString():void 0,txid:this.txId,vout:this.outputIndex,scriptPubKey:this.script.toBuffer().toString("hex"),amount:j.fromSatoshis(this.satoshis).toBTC()}},b.exports=d},{"../address":52,"../script":77,"../unit":91,"../util/js":94,"../util/preconditions":95,lodash:120}],91:[function(a,b,c){"use strict";function d(a,b){if(!(this instanceof d))return new d(a,b);if(e.isNumber(b)){if(0>=b)throw new f.Unit.InvalidRate(b);a/=b,b=d.BTC}this._value=this._from(a,b);var c=this,g=function(a){Object.defineProperty(c,a,{get:function(){return c.to(a)},enumerable:!0})};Object.keys(h).forEach(g)}var e=a("lodash"),f=a("./errors"),g=a("./util/preconditions"),h={BTC:[1e8,8],mBTC:[1e5,5],uBTC:[100,2],bits:[100,2],satoshis:[1,0]};Object.keys(h).forEach(function(a){d[a]=a}),d.fromObject=function(a){return g.checkArgument(e.isObject(a),"Argument is expected to be an object"),new d(a.amount,a.code)},d.fromBTC=function(a){return new d(a,d.BTC)},d.fromMilis=function(a){return new d(a,d.mBTC)},d.fromMicros=d.fromBits=function(a){return new d(a,d.bits)},d.fromSatoshis=function(a){return new d(a,d.satoshis)},d.fromFiat=function(a,b){return new d(a,b)},d.prototype._from=function(a,b){if(!h[b])throw new f.Unit.UnknownCode(b);return parseInt((a*h[b][0]).toFixed())},d.prototype.to=function(a){if(e.isNumber(a)){if(0>=a)throw new f.Unit.InvalidRate(a);return parseFloat((this.BTC*a).toFixed(2))}if(!h[a])throw new f.Unit.UnknownCode(a);var b=this._value/h[a][0];return parseFloat(b.toFixed(h[a][1]))},d.prototype.toBTC=function(){return this.to(d.BTC)},d.prototype.toMilis=function(){return this.to(d.mBTC)},d.prototype.toMicros=d.prototype.toBits=function(){return this.to(d.bits)},d.prototype.toSatoshis=function(){return this.to(d.satoshis)},d.prototype.atRate=function(a){return this.to(a)},d.prototype.toString=function(){return this.satoshis+" satoshis"},d.prototype.toObject=d.prototype.toJSON=function(){return{amount:this.BTC,code:d.BTC}},d.prototype.inspect=function(){return""},b.exports=d},{"./errors":68,"./util/preconditions":95,lodash:120}],92:[function(a,b,c){"use strict";var d=a("lodash"),e=a("url"),f=a("./address"),g=a("./unit"),h=function(a,b){if(!(this instanceof h))return new h(a,b);if(this.extras={},this.knownParams=b||[],this.address=this.network=this.amount=this.message=null,"string"==typeof a){var c=h.parse(a);c.amount&&(c.amount=this._parseAmount(c.amount)),this._fromObject(c)}else{if("object"!=typeof a)throw new TypeError("Unrecognized data format.");this._fromObject(a)}};h.fromString=function(a){if("string"!=typeof a)throw new TypeError("Expected a string");return new h(a)},h.fromObject=function(a){return new h(a)},h.isValid=function(a,b){try{new h(a,b)}catch(c){return!1}return!0},h.parse=function(a){var b=e.parse(a,!0);if("bitcoin:"!==b.protocol)throw new TypeError("Invalid bitcoin URI");var c=/[^:]*:\/?\/?([^?]*)/.exec(a);return b.query.address=c&&c[1]||void 0,b.query},h.Members=["address","amount","message","label","r"],h.prototype._fromObject=function(a){if(!f.isValid(a.address))throw new TypeError("Invalid bitcoin address");this.address=new f(a.address),this.network=this.address.network,this.amount=a.amount;for(var b in a)if("address"!==b&&"amount"!==b){if(/^req-/.exec(b)&&-1===this.knownParams.indexOf(b))throw Error("Unknown required argument "+b);var c=h.Members.indexOf(b)>-1?this:this.extras;c[b]=a[b]}},h.prototype._parseAmount=function(a){if(a=Number(a),isNaN(a))throw new TypeError("Invalid amount");return g.fromBTC(a).toSatoshis()},h.prototype.toObject=h.prototype.toJSON=function(){for(var a={},b=0;b"},b.exports=h},{"./address":52,"./unit":91,lodash:120,url:319}],93:[function(a,b,c){(function(c){"use strict";function d(a,b){if(a.length!==b.length)return!1;for(var c=a.length,d=0;c>d;d++)if(a[d]!==b[d])return!1;return!0}var e=a("buffer"),f=a("assert"),g=a("./js"),h=a("./preconditions");b.exports={fill:function(a,b){h.checkArgumentType(a,"Buffer","buffer"),h.checkArgumentType(b,"number","value");for(var c=a.length,d=0;c>d;d++)a[d]=b;return a},copy:function(a){var b=new c(a.length);return a.copy(b),b},isBuffer:function(a){return e.Buffer.isBuffer(a)||a instanceof Uint8Array},emptyBuffer:function(a){h.checkArgumentType(a,"number","bytes");for(var b=new e.Buffer(a),c=0;a>c;c++)b.write("\x00",c);return b},concat:e.Buffer.concat,equals:d,equal:d,integerAsSingleByteBuffer:function(a){return h.checkArgumentType(a,"number","integer"),new e.Buffer([255&a])},integerAsBuffer:function(a){h.checkArgumentType(a,"number","integer");var b=[];return b.push(a>>24&255),b.push(a>>16&255),b.push(a>>8&255),b.push(255&a),new c(b)},integerFromBuffer:function(a){return h.checkArgumentType(a,"Buffer","buffer"),a[0]<<24|a[1]<<16|a[2]<<8|a[3]},integerFromSingleByteBuffer:function(a){return h.checkArgumentType(a,"Buffer","buffer"),a[0]},bufferToHex:function(a){return h.checkArgumentType(a,"Buffer","buffer"),a.toString("hex")},reverse:function(a){for(var b=new e.Buffer(a.length),c=0;c=0}}},{lodash:120}],95:[function(a,b,c){"use strict";var d=a("../errors"),e=a("lodash");b.exports={checkState:function(a,b){if(!a)throw new d.InvalidState(b)},checkArgument:function(a,b,c,e){if(!a)throw new d.InvalidArgument(b,c,e)},checkArgumentType:function(b,c,f){if(f=f||"(unknown name)",e.isString(c)){if("Buffer"===c){var g=a("./buffer");if(!g.isBuffer(b))throw new d.InvalidArgumentType(b,c,f)}else if(typeof b!==c)throw new d.InvalidArgumentType(b,c,f)}else if(!(b instanceof c))throw new d.InvalidArgumentType(b,c.name,f)}}},{"../errors":68,"./buffer":93,lodash:120}],96:[function(a,b,c){!function(a,b){"use strict";function c(a,b){if(!a)throw new Error(b||"Assertion failed")}function d(a,b){a.super_=b;var c=function(){};c.prototype=b.prototype,a.prototype=new c,a.prototype.constructor=a}function e(a,b,c){return null!==a&&"object"==typeof a&&Array.isArray(a.words)?a:(this.sign=!1,this.words=null,this.length=0,this.red=null,("le"===b||"be"===b)&&(c=b,b=10),void(null!==a&&this._init(a||0,b||10,c||"be")))}function f(a,b,c){for(var d=0,e=Math.min(a.length,c),f=b;e>f;f++){var g=a.charCodeAt(f)-48;d<<=4,d|=g>=49&&54>=g?g-49+10:g>=17&&22>=g?g-17+10:15&g}return d}function g(a,b,c,d){for(var e=0,f=Math.min(a.length,c),g=b;f>g;g++){var h=a.charCodeAt(g)-48;e*=d,e+=h>=49?h-49+10:h>=17?h-17+10:h}return e}function h(a,b){this.name=a,this.p=new e(b,16),this.n=this.p.bitLength(),this.k=new e(1).ishln(this.n).isub(this.p),this.tmp=this._tmp()}function i(){h.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function j(){h.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function k(){h.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function l(){h.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function m(a){if("string"==typeof a){var b=e._prime(a);this.m=b.p,this.prime=b}else this.m=a,this.prime=null}function n(a){m.call(this,a),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new e(1).ishln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv.sign=!0,this.minv=this.minv.mod(this.r)}"object"==typeof a?a.exports=e:b.BN=e,e.BN=e,e.wordSize=26,e.prototype._init=function(a,b,d){if("number"==typeof a)return 0>a&&(this.sign=!0,a=-a),void(67108864>a?(this.words=[67108863&a],this.length=1):4503599627370496>a?(this.words=[67108863&a,a/67108864&67108863],this.length=2):(c(9007199254740992>a),this.words=[67108863&a,a/67108864&67108863,1],this.length=3));if("object"==typeof a)return this._initArray(a,b,d);"hex"===b&&(b=16),c(b===(0|b)&&b>=2&&36>=b),a=a.toString().replace(/\s+/g,"");var e=0;"-"===a[0]&&e++,16===b?this._parseHex(a,e):this._parseBase(a,b,e),"-"===a[0]&&(this.sign=!0),this.strip()},e.prototype._initArray=function(a,b,d){if(c("number"==typeof a.length),a.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(a.length/3),this.words=new Array(this.length);for(var e=0;e=0;e-=3){var h=a[e]|a[e-1]<<8|a[e-2]<<16;this.words[g]|=h<>>26-f&67108863,f+=24,f>=26&&(f-=26,g++)}else if("le"===d)for(var e=0,g=0;e>>26-f&67108863,f+=24,f>=26&&(f-=26,g++)}return this.strip()},e.prototype._parseHex=function(a,b){this.length=Math.ceil((a.length-b)/6),this.words=new Array(this.length);for(var c=0;c=b;c-=6){var g=f(a,c,c+6);this.words[e]|=g<>>26-d&4194303,d+=24,d>=26&&(d-=26,e++)}if(c+6!==b){var g=f(a,b,c+6);this.words[e]|=g<>>26-d&4194303}this.strip()},e.prototype._parseBase=function(a,b,c){this.words=[0],this.length=1;for(var d=0,e=1;67108863>=e;e*=b)d++;d--,e=e/b|0;for(var f=a.length-c,h=f%d,i=Math.min(f,f-h)+c,j=0,k=c;i>k;k+=d)j=g(a,k,k+d,b),this.imuln(e),this.words[0]+j<67108864?this.words[0]+=j:this._iaddn(j);if(0!==h){for(var l=1,j=g(a,k,a.length,b),k=0;h>k;k++)l*=b;this.imuln(l),this.words[0]+j<67108864?this.words[0]+=j:this._iaddn(j)}},e.prototype.copy=function(a){a.words=new Array(this.length);for(var b=0;b1&&0===this.words[this.length-1];)this.length--;return this._normSign()},e.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.sign=!1),this},e.prototype.inspect=function(){return(this.red?""};var o=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],p=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],q=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];e.prototype.toString=function(a,b){if(a=a||10,16===a||"hex"===a){for(var d="",e=0,b=0|b||1,f=0,g=0;g>>24-e&16777215,d=0!==f||g!==this.length-1?o[6-i.length]+i+d:i+d,e+=2,e>=26&&(e-=26,g--)}for(0!==f&&(d=f.toString(16)+d);d.length%b!==0;)d="0"+d;return this.sign&&(d="-"+d),d}if(a===(0|a)&&a>=2&&36>=a){var j=p[a],k=q[a],d="",l=this.clone();for(l.sign=!1;0!==l.cmpn(0);){var m=l.modn(k).toString(a);l=l.idivn(k),d=0!==l.cmpn(0)?o[j-m.length]+m+d:m+d}return 0===this.cmpn(0)&&(d="0"+d),this.sign&&(d="-"+d),d}c(!1,"Base should be between 2 and 36")},e.prototype.toJSON=function(){return this.toString(16)},e.prototype.toArray=function(){this.strip();var a=new Array(this.byteLength());a[0]=0;for(var b=this.clone(),c=0;0!==b.cmpn(0);c++){var d=b.andln(255);b.ishrn(8),a[a.length-c-1]=d}return a},Math.clz32?e.prototype._countBits=function(a){return 32-Math.clz32(a)}:e.prototype._countBits=function(a){var b=a,c=0;return b>=4096&&(c+=13,b>>>=13),b>=64&&(c+=7,b>>>=7),b>=8&&(c+=4,b>>>=4),b>=2&&(c+=2,b>>>=2),c+b},e.prototype._zeroBits=function(a){if(0===a)return 26;var b=a,c=0;return 0===(8191&b)&&(c+=13,b>>>=13),0===(127&b)&&(c+=7,b>>>=7),0===(15&b)&&(c+=4,b>>>=4),0===(3&b)&&(c+=2,b>>>=2),0===(1&b)&&c++,c},e.prototype.bitLength=function(){var a=0,b=this.words[this.length-1],a=this._countBits(b);return 26*(this.length-1)+a},e.prototype.zeroBits=function(){if(0===this.cmpn(0))return 0;for(var a=0,b=0;ba.length?this.clone().ior(a):a.clone().ior(this)},e.prototype.iand=function(a){this.sign=this.sign&&a.sign;var b;b=this.length>a.length?a:this;for(var c=0;ca.length?this.clone().iand(a):a.clone().iand(this)},e.prototype.ixor=function(a){this.sign=this.sign||a.sign;var b,c;this.length>a.length?(b=this,c=a):(b=a,c=this);for(var d=0;da.length?this.clone().ixor(a):a.clone().ixor(this)},e.prototype.setn=function(a,b){c("number"==typeof a&&a>=0);for(var d=a/26|0,e=a%26;this.length<=d;)this.words[this.length++]=0;return b?this.words[d]=this.words[d]|1<a.length?(c=this,d=a):(c=a,d=this);for(var e=0,f=0;f>>26}for(;0!==e&&f>>26}if(this.length=c.length,0!==e)this.words[this.length]=e,this.length++;else if(c!==this)for(;fa.length?this.clone().iadd(a):a.clone().iadd(this)},e.prototype.isub=function(a){if(a.sign){a.sign=!1;var b=this.iadd(a);return a.sign=!0,b._normSign()}if(this.sign)return this.sign=!1,this.iadd(a),this.sign=!0,this._normSign();var c=this.cmp(a);if(0===c)return this.sign=!1,this.length=1,this.words[0]=0,this;var d,e;c>0?(d=this,e=a):(d=a,e=this);for(var f=0,g=0;g>26,this.words[g]=67108863&b}for(;0!==f&&g>26,this.words[g]=67108863&b}if(0===f&&g>>26,f=67108863&c,g=Math.min(d,a.length-1),h=Math.max(0,d-this.length+1);g>=h;h++){var i=d-h,j=0|this.words[i],k=0|a.words[h],l=j*k,m=67108863&l;e=e+(l/67108864|0)|0,m=m+f|0,f=67108863&m,e=e+(m>>>26)|0}b.words[d]=f,c=e}return 0!==c?b.words[d]=c:b.length--,b.strip()},e.prototype._bigMulTo=function(a,b){b.sign=a.sign!==this.sign,b.length=this.length+a.length;for(var c=0,d=0,e=0;e=i;i++){var j=e-i,k=0|this.words[j],l=0|a.words[i],m=k*l,n=67108863&m;f=f+(m/67108864|0)|0,n=n+g|0,g=67108863&n,f=f+(n>>>26)|0,d+=f>>>26,f&=67108863}b.words[e]=g,c=f,f=d}return 0!==c?b.words[e]=c:b.length--,b.strip()},e.prototype.mulTo=function(a,b){var c;return c=this.length+a.length<63?this._smallMulTo(a,b):this._bigMulTo(a,b)},e.prototype.mul=function(a){var b=new e(null);return b.words=new Array(this.length+a.length),this.mulTo(a,b)},e.prototype.imul=function(a){if(0===this.cmpn(0)||0===a.cmpn(0))return this.words[0]=0,this.length=1,this;var b=this.length,c=a.length; +b;return this.uncheckedSerialize()},d.prototype.invalidSatoshis=function(){for(var a=!1,b=0;bc?a.disableMoreOutputThanInput||(b=new h.Transaction.InvalidOutputAmountSum):b=this._hasFeeError(a,c),b||this._hasDustOutputs(a)||this._isMissingSignatures(a)},d.prototype._hasFeeError=function(a,b){if(!e.isUndefined(this._fee)&&this._fee!==b)return new h.Transaction.FeeError.Different("Unspent value is "+b+" but specified fee is "+this._fee);if(!a.disableLargeFees){var c=Math.floor(d.FEE_SECURITY_MARGIN*this._estimateFee());if(b>c)return this._missingChange()?new h.Transaction.ChangeAddressMissing("Fee is too large and no change address was provided"):new h.Transaction.FeeError.TooLarge("expected less than "+c+" but got "+b)}if(!a.disableSmallFees){var f=Math.ceil(this._estimateFee()/d.FEE_SECURITY_MARGIN);if(f>b)return new h.Transaction.FeeError.TooSmall("expected more than "+f+" but got "+b)}},d.prototype._missingChange=function(){return!this._changeScript},d.prototype._hasDustOutputs=function(a){if(!a.disableDustOutputs){var b,c;for(b in this.outputs)if(c=this.outputs[b],c.satoshis"},d.prototype.toBuffer=function(){var a=new l;return this.toBufferWriter(a).toBuffer()},d.prototype.toBufferWriter=function(a){return a.writeUInt32LE(this.version),a.writeVarintNum(this.inputs.length),e.each(this.inputs,function(b){b.toBufferWriter(a)}),a.writeVarintNum(this.outputs.length),e.each(this.outputs,function(b){b.toBufferWriter(a)}),a.writeUInt32LE(this.nLockTime),a},d.prototype.fromBuffer=function(a){var b=new k(a);return this.fromBufferReader(b)},d.prototype.fromBufferReader=function(a){f.checkArgument(!a.finished(),"No transaction data received");var b,c,d;for(this.version=a.readUInt32LE(),c=a.readVarintNum(),b=0;c>b;b++){var e=r.fromBufferReader(a);this.inputs.push(e)}for(d=a.readVarintNum(),b=0;d>b;b++)this.outputs.push(v.fromBufferReader(a));return this.nLockTime=a.readUInt32LE(),this},d.prototype.toObject=d.prototype.toJSON=function(){var a=[];this.inputs.forEach(function(b){a.push(b.toObject())});var b=[];this.outputs.forEach(function(a){b.push(a.toObject())});var c={hash:this.hash,version:this.version,inputs:a,outputs:b,nLockTime:this.nLockTime};return this._changeScript&&(c.changeScript=this._changeScript.toString()),e.isUndefined(this._changeIndex)||(c.changeIndex=this._changeIndex),e.isUndefined(this._fee)||(c.fee=this._fee),c},d.prototype.fromObject=function(a){f.checkArgument(e.isObject(a)||a instanceof d);var b,c=this;return b=a instanceof d?b.toObject():a,e.each(b.inputs,function(a){if(!a.output||!a.output.script)return void c.uncheckedAddInput(new r(a));var b,d=new w(a.output.script);if(d.isPublicKeyHashOut())b=new r.PublicKeyHash(a);else{if(!(d.isScriptHashOut()&&a.publicKeys&&a.threshold))throw new h.Transaction.Input.UnsupportedScript(a.output.script);b=new r.MultiSigScriptHash(a,a.publicKeys,a.threshold,a.signatures)}c.addInput(b)}),e.each(b.outputs,function(a){c.addOutput(new v(a))}),b.changeIndex&&(this._changeIndex=b.changeIndex),b.changeScript&&(this._changeScript=new w(b.changeScript)),b.fee&&this.fee(b.fee),this.nLockTime=b.nLockTime,this.version=b.version,this._checkConsistency(a),this},d.prototype._checkConsistency=function(a){e.isUndefined(this._changeIndex)||(f.checkState(this._changeScript),f.checkState(this.outputs[this._changeIndex]),f.checkState(this.outputs[this._changeIndex].script.toString()===this._changeScript.toString())),a&&a.hash&&f.checkState(a.hash===this.hash,"Hash in object does not match transaction hash")},d.prototype.lockUntilDate=function(a){if(f.checkArgument(a),e.isNumber(a)&&a=d.NLOCKTIME_BLOCKHEIGHT_LIMIT)throw new h.Transaction.BlockHeightTooHigh;if(0>a)throw new h.Transaction.NLockTimeOutOfRange;return this.nLockTime=a,this},d.prototype.getLockTime=function(){return this.nLockTime?this.nLockTime0?(this._changeIndex=this.outputs.length,this._addOutput(new v({script:this._changeScript,satoshis:c}))):this._changeIndex=void 0}},d.prototype.getFee=function(){return e.isUndefined(this._fee)?this._changeScript?this._estimateFee():this._getUnspentValue():this._fee},d.prototype._estimateFee=function(){var a=this._estimateSize(),b=this._getUnspentValue();return d._estimateFee(a,b,this._feePerKb)},d.prototype._getUnspentValue=function(){return this._getInputAmount()-this._getOutputAmount()},d.prototype._clearSignatures=function(){e.each(this.inputs,function(a){a.clearSignatures()})},d._estimateFee=function(a,b,c){var e=Math.ceil(a/1e3)*(c||d.FEE_PER_KB);return b>e&&(a+=d.CHANGE_OUTPUT_MAX_SIZE),Math.ceil(a/1e3)*(c||d.FEE_PER_KB)},d.prototype._estimateSize=function(){var a=d.MAXIMUM_EXTRA_SIZE;return e.each(this.inputs,function(b){a+=b._estimateSize()}),e.each(this.outputs,function(b){a+=b.script.toBuffer().length+9}),a},d.prototype._removeOutput=function(a){var b=this.outputs[a];this.outputs=e.without(this.outputs,b),this._outputAmount=void 0},d.prototype.removeOutput=function(a){this._removeOutput(a),this._updateChangeOutput()},d.prototype.shuffleOutputs=function(){return this.sortOutputs(e.shuffle)},d.prototype.sortOutputs=function(a){var b=a(this.outputs);return this._newOutputOrder(b)},d.prototype._newOutputOrder=function(a){var b=this.outputs.length!==a.length||0!==e.difference(this.outputs,a).length;if(b)throw new h.Transaction.InvalidSorting;if(!e.isUndefined(this._changeIndex)){var c=this.outputs[this._changeIndex];this._changeIndex=e.findIndex(a,c)}return this.outputs=a,this},d.prototype.removeInput=function(a,b){var c;if(c=!b&&e.isNumber(a)?a:e.findIndex(this.inputs,function(c){return c.prevTxId.toString("hex")===a&&c.outputIndex===b}),0>c||c>=this.inputs.length)throw new h.Transaction.InvalidIndex(c,this.inputs.length);var d=this.inputs[c];this.inputs=e.without(this.inputs,d),this._inputAmount=void 0,this._updateChangeOutput()},d.prototype.sign=function(a,b){f.checkState(this.hasAllUtxoInfo());var c=this;return e.isArray(a)?(e.each(a,function(a){c.sign(a,b)}),this):(e.each(this.getSignatures(a,b),function(a){c.applySignature(a)}),this)},d.prototype.getSignatures=function(a,b){a=new x(a),b=b||n.SIGHASH_ALL;var c=this,d=[],f=m.sha256ripemd160(a.publicKey.toBuffer());return e.each(this.inputs,function(g,h){e.each(g.getSignatures(c,a,h,b,f),function(a){d.push(a)})}),d},d.prototype.applySignature=function(a){return this.inputs[a.inputIndex].addSignature(this,a),this},d.prototype.isFullySigned=function(){return e.each(this.inputs,function(a){if(a.isFullySigned===r.prototype.isFullySigned)throw new h.Transaction.UnableToVerifySignature("Unrecognized script kind, or not enough information to execute script.This usually happens when creating a transaction from a serialized transaction")}),e.all(e.map(this.inputs,function(a){return a.isFullySigned()}))},d.prototype.isValidSignature=function(a){var b=this;if(this.inputs[a.inputIndex].isValidSignature===r.prototype.isValidSignature)throw new h.Transaction.UnableToVerifySignature("Unrecognized script kind, or not enough information to execute script.This usually happens when creating a transaction from a serialized transaction");return this.inputs[a.inputIndex].isValidSignature(b,a)},d.prototype.verifySignature=function(a,b,c,d){return o.verify(this,a,b,c,d)},d.prototype.verify=function(){if(0===this.inputs.length)return"transaction txins empty";if(0===this.outputs.length)return"transaction txouts empty";for(var a=new y(0),b=0;bB)return"transaction over the maximum block size";var f={};for(b=0;b100)return"coinbase transaction script size invalid"}else for(b=0;b64)throw new Error("Invalid TXID in object",a);var k=e.isUndefined(a.vout)?a.outputIndex:a.vout;if(!e.isNumber(k))throw new Error("Invalid outputIndex, received "+k);f.checkArgument(!e.isUndefined(a.scriptPubKey)||!e.isUndefined(a.script),"Must provide the scriptPubKey for that output!");var l=new h(a.scriptPubKey||a.script);f.checkArgument(!e.isUndefined(a.amount)||!e.isUndefined(a.satoshis),"Must provide an amount for the output");var m=e.isUndefined(a.amount)?a.satoshis:new j.fromBTC(a.amount).toSatoshis();f.checkArgument(e.isNumber(m),"Amount must be a number"),g.defineImmutable(this,{address:b,txId:c,outputIndex:k,script:l,satoshis:m})}var e=a("lodash"),f=a("../util/preconditions"),g=a("../util/js"),h=a("../script"),i=a("../address"),j=a("../unit");d.prototype.inspect=function(){return""},d.prototype.toString=function(){return this.txId+":"+this.outputIndex},d.fromObject=function(a){return new d(a)},d.prototype.toObject=d.prototype.toJSON=function(){return{address:this.address?this.address.toString():void 0,txid:this.txId,vout:this.outputIndex,scriptPubKey:this.script.toBuffer().toString("hex"),amount:j.fromSatoshis(this.satoshis).toBTC()}},b.exports=d},{"../address":52,"../script":77,"../unit":91,"../util/js":94,"../util/preconditions":95,lodash:120}],91:[function(a,b,c){"use strict";function d(a,b){if(!(this instanceof d))return new d(a,b);if(e.isNumber(b)){if(0>=b)throw new f.Unit.InvalidRate(b);a/=b,b=d.BTC}this._value=this._from(a,b);var c=this,g=function(a){Object.defineProperty(c,a,{get:function(){return c.to(a)},enumerable:!0})};Object.keys(h).forEach(g)}var e=a("lodash"),f=a("./errors"),g=a("./util/preconditions"),h={BTC:[1e8,8],mBTC:[1e5,5],uBTC:[100,2],bits:[100,2],satoshis:[1,0]};Object.keys(h).forEach(function(a){d[a]=a}),d.fromObject=function(a){return g.checkArgument(e.isObject(a),"Argument is expected to be an object"),new d(a.amount,a.code)},d.fromBTC=function(a){return new d(a,d.BTC)},d.fromMilis=function(a){return new d(a,d.mBTC)},d.fromMicros=d.fromBits=function(a){return new d(a,d.bits)},d.fromSatoshis=function(a){return new d(a,d.satoshis)},d.fromFiat=function(a,b){return new d(a,b)},d.prototype._from=function(a,b){if(!h[b])throw new f.Unit.UnknownCode(b);return parseInt((a*h[b][0]).toFixed())},d.prototype.to=function(a){if(e.isNumber(a)){if(0>=a)throw new f.Unit.InvalidRate(a);return parseFloat((this.BTC*a).toFixed(2))}if(!h[a])throw new f.Unit.UnknownCode(a);var b=this._value/h[a][0];return parseFloat(b.toFixed(h[a][1]))},d.prototype.toBTC=function(){return this.to(d.BTC)},d.prototype.toMilis=function(){return this.to(d.mBTC)},d.prototype.toMicros=d.prototype.toBits=function(){return this.to(d.bits)},d.prototype.toSatoshis=function(){return this.to(d.satoshis)},d.prototype.atRate=function(a){return this.to(a)},d.prototype.toString=function(){return this.satoshis+" satoshis"},d.prototype.toObject=d.prototype.toJSON=function(){return{amount:this.BTC,code:d.BTC}},d.prototype.inspect=function(){return""},b.exports=d},{"./errors":68,"./util/preconditions":95,lodash:120}],92:[function(a,b,c){"use strict";var d=a("lodash"),e=a("url"),f=a("./address"),g=a("./unit"),h=function(a,b){if(!(this instanceof h))return new h(a,b);if(this.extras={},this.knownParams=b||[],this.address=this.network=this.amount=this.message=null,"string"==typeof a){var c=h.parse(a);c.amount&&(c.amount=this._parseAmount(c.amount)),this._fromObject(c)}else{if("object"!=typeof a)throw new TypeError("Unrecognized data format.");this._fromObject(a)}};h.fromString=function(a){if("string"!=typeof a)throw new TypeError("Expected a string");return new h(a)},h.fromObject=function(a){return new h(a)},h.isValid=function(a,b){try{new h(a,b)}catch(c){return!1}return!0},h.parse=function(a){var b=e.parse(a,!0);if("bitcoin:"!==b.protocol)throw new TypeError("Invalid bitcoin URI");var c=/[^:]*:\/?\/?([^?]*)/.exec(a);return b.query.address=c&&c[1]||void 0,b.query},h.Members=["address","amount","message","label","r"],h.prototype._fromObject=function(a){if(!f.isValid(a.address))throw new TypeError("Invalid bitcoin address");this.address=new f(a.address),this.network=this.address.network,this.amount=a.amount;for(var b in a)if("address"!==b&&"amount"!==b){if(/^req-/.exec(b)&&-1===this.knownParams.indexOf(b))throw Error("Unknown required argument "+b);var c=h.Members.indexOf(b)>-1?this:this.extras;c[b]=a[b]}},h.prototype._parseAmount=function(a){if(a=Number(a),isNaN(a))throw new TypeError("Invalid amount");return g.fromBTC(a).toSatoshis()},h.prototype.toObject=h.prototype.toJSON=function(){for(var a={},b=0;b"},b.exports=h},{"./address":52,"./unit":91,lodash:120,url:317}],93:[function(a,b,c){(function(c){"use strict";function d(a,b){if(a.length!==b.length)return!1;for(var c=a.length,d=0;c>d;d++)if(a[d]!==b[d])return!1;return!0}var e=a("buffer"),f=a("assert"),g=a("./js"),h=a("./preconditions");b.exports={fill:function(a,b){h.checkArgumentType(a,"Buffer","buffer"),h.checkArgumentType(b,"number","value");for(var c=a.length,d=0;c>d;d++)a[d]=b;return a},copy:function(a){var b=new c(a.length);return a.copy(b),b},isBuffer:function(a){return e.Buffer.isBuffer(a)||a instanceof Uint8Array},emptyBuffer:function(a){h.checkArgumentType(a,"number","bytes");for(var b=new e.Buffer(a),c=0;a>c;c++)b.write("\x00",c);return b},concat:e.Buffer.concat,equals:d,equal:d,integerAsSingleByteBuffer:function(a){return h.checkArgumentType(a,"number","integer"),new e.Buffer([255&a])},integerAsBuffer:function(a){h.checkArgumentType(a,"number","integer");var b=[];return b.push(a>>24&255),b.push(a>>16&255),b.push(a>>8&255),b.push(255&a),new c(b)},integerFromBuffer:function(a){return h.checkArgumentType(a,"Buffer","buffer"),a[0]<<24|a[1]<<16|a[2]<<8|a[3]},integerFromSingleByteBuffer:function(a){return h.checkArgumentType(a,"Buffer","buffer"),a[0]},bufferToHex:function(a){return h.checkArgumentType(a,"Buffer","buffer"),a.toString("hex")},reverse:function(a){for(var b=new e.Buffer(a.length),c=0;c=0}}},{lodash:120}],95:[function(a,b,c){"use strict";var d=a("../errors"),e=a("lodash");b.exports={checkState:function(a,b){if(!a)throw new d.InvalidState(b)},checkArgument:function(a,b,c,e){if(!a)throw new d.InvalidArgument(b,c,e)},checkArgumentType:function(b,c,f){if(f=f||"(unknown name)",e.isString(c)){if("Buffer"===c){var g=a("./buffer");if(!g.isBuffer(b))throw new d.InvalidArgumentType(b,c,f)}else if(typeof b!==c)throw new d.InvalidArgumentType(b,c,f)}else if(!(b instanceof c))throw new d.InvalidArgumentType(b,c.name,f)}}},{"../errors":68,"./buffer":93,lodash:120}],96:[function(a,b,c){!function(a,b){"use strict";function c(a,b){if(!a)throw new Error(b||"Assertion failed")}function d(a,b){a.super_=b;var c=function(){};c.prototype=b.prototype,a.prototype=new c,a.prototype.constructor=a}function e(a,b,c){return null!==a&&"object"==typeof a&&Array.isArray(a.words)?a:(this.sign=!1,this.words=null,this.length=0,this.red=null,("le"===b||"be"===b)&&(c=b,b=10),void(null!==a&&this._init(a||0,b||10,c||"be")))}function f(a,b,c){for(var d=0,e=Math.min(a.length,c),f=b;e>f;f++){var g=a.charCodeAt(f)-48;d<<=4,d|=g>=49&&54>=g?g-49+10:g>=17&&22>=g?g-17+10:15&g}return d}function g(a,b,c,d){for(var e=0,f=Math.min(a.length,c),g=b;f>g;g++){var h=a.charCodeAt(g)-48;e*=d,e+=h>=49?h-49+10:h>=17?h-17+10:h}return e}function h(a,b){this.name=a,this.p=new e(b,16),this.n=this.p.bitLength(),this.k=new e(1).ishln(this.n).isub(this.p),this.tmp=this._tmp()}function i(){h.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function j(){h.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function k(){h.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function l(){h.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function m(a){if("string"==typeof a){var b=e._prime(a);this.m=b.p,this.prime=b}else this.m=a,this.prime=null}function n(a){m.call(this,a),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new e(1).ishln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv.sign=!0,this.minv=this.minv.mod(this.r)}"object"==typeof a?a.exports=e:b.BN=e,e.BN=e,e.wordSize=26,e.prototype._init=function(a,b,d){if("number"==typeof a)return 0>a&&(this.sign=!0,a=-a),void(67108864>a?(this.words=[67108863&a],this.length=1):4503599627370496>a?(this.words=[67108863&a,a/67108864&67108863],this.length=2):(c(9007199254740992>a),this.words=[67108863&a,a/67108864&67108863,1],this.length=3));if("object"==typeof a)return this._initArray(a,b,d);"hex"===b&&(b=16),c(b===(0|b)&&b>=2&&36>=b),a=a.toString().replace(/\s+/g,"");var e=0;"-"===a[0]&&e++,16===b?this._parseHex(a,e):this._parseBase(a,b,e),"-"===a[0]&&(this.sign=!0),this.strip()},e.prototype._initArray=function(a,b,d){if(c("number"==typeof a.length),a.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(a.length/3),this.words=new Array(this.length);for(var e=0;e=0;e-=3){var h=a[e]|a[e-1]<<8|a[e-2]<<16;this.words[g]|=h<>>26-f&67108863,f+=24,f>=26&&(f-=26,g++)}else if("le"===d)for(var e=0,g=0;e>>26-f&67108863,f+=24,f>=26&&(f-=26,g++)}return this.strip()},e.prototype._parseHex=function(a,b){this.length=Math.ceil((a.length-b)/6),this.words=new Array(this.length);for(var c=0;c=b;c-=6){var g=f(a,c,c+6);this.words[e]|=g<>>26-d&4194303,d+=24,d>=26&&(d-=26,e++)}if(c+6!==b){var g=f(a,b,c+6);this.words[e]|=g<>>26-d&4194303}this.strip()},e.prototype._parseBase=function(a,b,c){this.words=[0],this.length=1;for(var d=0,e=1;67108863>=e;e*=b)d++;d--,e=e/b|0;for(var f=a.length-c,h=f%d,i=Math.min(f,f-h)+c,j=0,k=c;i>k;k+=d)j=g(a,k,k+d,b),this.imuln(e),this.words[0]+j<67108864?this.words[0]+=j:this._iaddn(j);if(0!==h){for(var l=1,j=g(a,k,a.length,b),k=0;h>k;k++)l*=b;this.imuln(l),this.words[0]+j<67108864?this.words[0]+=j:this._iaddn(j)}},e.prototype.copy=function(a){a.words=new Array(this.length);for(var b=0;b1&&0===this.words[this.length-1];)this.length--;return this._normSign()},e.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.sign=!1),this},e.prototype.inspect=function(){return(this.red?""};var o=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],p=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],q=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];e.prototype.toString=function(a,b){if(a=a||10,16===a||"hex"===a){for(var d="",e=0,b=0|b||1,f=0,g=0;g>>24-e&16777215,d=0!==f||g!==this.length-1?o[6-i.length]+i+d:i+d,e+=2,e>=26&&(e-=26,g--)}for(0!==f&&(d=f.toString(16)+d);d.length%b!==0;)d="0"+d;return this.sign&&(d="-"+d),d}if(a===(0|a)&&a>=2&&36>=a){var j=p[a],k=q[a],d="",l=this.clone();for(l.sign=!1;0!==l.cmpn(0);){var m=l.modn(k).toString(a);l=l.idivn(k),d=0!==l.cmpn(0)?o[j-m.length]+m+d:m+d}return 0===this.cmpn(0)&&(d="0"+d),this.sign&&(d="-"+d),d}c(!1,"Base should be between 2 and 36")},e.prototype.toJSON=function(){return this.toString(16)},e.prototype.toArray=function(){this.strip();var a=new Array(this.byteLength());a[0]=0;for(var b=this.clone(),c=0;0!==b.cmpn(0);c++){var d=b.andln(255);b.ishrn(8),a[a.length-c-1]=d}return a},Math.clz32?e.prototype._countBits=function(a){return 32-Math.clz32(a)}:e.prototype._countBits=function(a){var b=a,c=0;return b>=4096&&(c+=13,b>>>=13),b>=64&&(c+=7,b>>>=7),b>=8&&(c+=4,b>>>=4),b>=2&&(c+=2,b>>>=2),c+b},e.prototype._zeroBits=function(a){if(0===a)return 26;var b=a,c=0;return 0===(8191&b)&&(c+=13,b>>>=13),0===(127&b)&&(c+=7,b>>>=7),0===(15&b)&&(c+=4,b>>>=4),0===(3&b)&&(c+=2,b>>>=2),0===(1&b)&&c++,c},e.prototype.bitLength=function(){var a=0,b=this.words[this.length-1],a=this._countBits(b);return 26*(this.length-1)+a},e.prototype.zeroBits=function(){if(0===this.cmpn(0))return 0;for(var a=0,b=0;ba.length?this.clone().ior(a):a.clone().ior(this)},e.prototype.iand=function(a){this.sign=this.sign&&a.sign;var b;b=this.length>a.length?a:this;for(var c=0;ca.length?this.clone().iand(a):a.clone().iand(this)},e.prototype.ixor=function(a){this.sign=this.sign||a.sign;var b,c;this.length>a.length?(b=this,c=a):(b=a,c=this);for(var d=0;da.length?this.clone().ixor(a):a.clone().ixor(this)},e.prototype.setn=function(a,b){c("number"==typeof a&&a>=0);for(var d=a/26|0,e=a%26;this.length<=d;)this.words[this.length++]=0;return b?this.words[d]=this.words[d]|1<a.length?(c=this,d=a):(c=a,d=this);for(var e=0,f=0;f>>26}for(;0!==e&&f>>26}if(this.length=c.length,0!==e)this.words[this.length]=e,this.length++;else if(c!==this)for(;fa.length?this.clone().iadd(a):a.clone().iadd(this)},e.prototype.isub=function(a){if(a.sign){a.sign=!1;var b=this.iadd(a);return a.sign=!0,b._normSign()}if(this.sign)return this.sign=!1,this.iadd(a),this.sign=!0,this._normSign();var c=this.cmp(a);if(0===c)return this.sign=!1,this.length=1,this.words[0]=0,this;var d,e;c>0?(d=this,e=a):(d=a,e=this);for(var f=0,g=0;g>26,this.words[g]=67108863&b}for(;0!==f&&g>26,this.words[g]=67108863&b}if(0===f&&g>>26,f=67108863&c,g=Math.min(d,a.length-1),h=Math.max(0,d-this.length+1);g>=h;h++){var i=d-h,j=0|this.words[i],k=0|a.words[h],l=j*k,m=67108863&l;e=e+(l/67108864|0)|0,m=m+f|0,f=67108863&m,e=e+(m>>>26)|0}b.words[d]=f,c=e}return 0!==c?b.words[d]=c:b.length--,b.strip()},e.prototype._bigMulTo=function(a,b){b.sign=a.sign!==this.sign,b.length=this.length+a.length;for(var c=0,d=0,e=0;e=i;i++){var j=e-i,k=0|this.words[j],l=0|a.words[i],m=k*l,n=67108863&m;f=f+(m/67108864|0)|0,n=n+g|0,g=67108863&n,f=f+(n>>>26)|0,d+=f>>>26,f&=67108863}b.words[e]=g,c=f,f=d}return 0!==c?b.words[e]=c:b.length--,b.strip()},e.prototype.mulTo=function(a,b){var c;return c=this.length+a.length<63?this._smallMulTo(a,b):this._bigMulTo(a,b)},e.prototype.mul=function(a){var b=new e(null);return b.words=new Array(this.length+a.length),this.mulTo(a,b)},e.prototype.imul=function(a){if(0===this.cmpn(0)||0===a.cmpn(0))return this.words[0]=0,this.length=1,this;var b=this.length,c=a.length; this.sign=a.sign!==this.sign,this.length=this.length+a.length,this.words[this.length-1]=0;for(var d=this.length-2;d>=0;d--){for(var e=0,f=0,g=Math.min(d,c-1),h=Math.max(0,d-b+1);g>=h;h++){var i=d-h,j=this.words[i],k=a.words[h],l=j*k,m=67108863&l;e+=l/67108864|0,m+=f,f=67108863&m,e+=m>>>26}this.words[d]=f,this.words[d+1]+=e,e=0}for(var e=0,i=1;i>>26}return this.strip()},e.prototype.imuln=function(a){c("number"==typeof a);for(var b=0,d=0;d>=26,b+=e/67108864|0,b+=f>>>26,this.words[d]=67108863&f}return 0!==b&&(this.words[d]=b,this.length++),this},e.prototype.sqr=function(){return this.mul(this)},e.prototype.isqr=function(){return this.mul(this)},e.prototype.ishln=function(a){c("number"==typeof a&&a>=0);var b=a%26,d=(a-b)/26,e=67108863>>>26-b<<26-b;if(0!==b){for(var f=0,g=0;g>>26-b}f&&(this.words[g]=f,this.length++)}if(0!==d){for(var g=this.length-1;g>=0;g--)this.words[g+d]=this.words[g];for(var g=0;d>g;g++)this.words[g]=0;this.length+=d}return this.strip()},e.prototype.ishrn=function(a,b,d){c("number"==typeof a&&a>=0);var e;e=b?(b-b%26)/26:0;var f=a%26,g=Math.min((a-f)/26,this.length),h=67108863^67108863>>>f<j;j++)i.words[j]=this.words[j];i.length=g}if(0===g);else if(this.length>g){this.length-=g;for(var j=0;j=0&&(0!==k||j>=e);j--){var l=this.words[j];this.words[j]=k<<26-f|l>>>f,k=l&h}return i&&0!==k&&(i.words[i.length++]=k),0===this.length&&(this.words[0]=0,this.length=1),this.strip(),this},e.prototype.shln=function(a){return this.clone().ishln(a)},e.prototype.shrn=function(a){return this.clone().ishrn(a)},e.prototype.testn=function(a){c("number"==typeof a&&a>=0);var b=a%26,d=(a-b)/26,e=1<=0);var b=a%26,d=(a-b)/26;if(c(!this.sign,"imaskn works only with positive numbers"),0!==b&&d++,this.length=Math.min(d,this.length),0!==b){var e=67108863^67108863>>>b<a?this.isubn(-a):this.sign?1===this.length&&this.words[0]=67108864;b++)this.words[b]-=67108864,b===this.length-1?this.words[b+1]=1:this.words[b+1]++;return this.length=Math.max(this.length,b+1),this},e.prototype.isubn=function(a){if(c("number"==typeof a),0>a)return this.iaddn(-a);if(this.sign)return this.sign=!1,this.iaddn(a),this.sign=!0,this;this.words[0]-=a;for(var b=0;b>26)-(j/67108864|0),this.words[e+d]=67108863&i}for(;e>26,this.words[e+d]=67108863&i}if(0===h)return this.strip();c(-1===h),h=0;for(var e=0;e>26,this.words[e]=67108863&i}return this.sign=!0,this.strip()},e.prototype._wordDiv=function(a,b){var c=this.length-a.length,d=this.clone(),f=a,g=f.words[f.length-1],h=this._countBits(g);c=26-h,0!==c&&(f=f.shln(c),d.ishln(c),g=f.words[f.length-1]);var i,j=d.length-f.length;if("mod"!==b){i=new e(null),i.length=j+1,i.words=new Array(i.length);for(var k=0;k=0;m--){var n=67108864*d.words[f.length+m]+d.words[f.length+m-1];for(n=Math.min(n/g|0,67108863),d._ishlnsubmul(f,n,m);d.sign;)n--,d.sign=!1,d._ishlnsubmul(f,1,m),0!==d.cmpn(0)&&(d.sign=!d.sign);i&&(i.words[m]=n)}return i&&i.strip(),d.strip(),"div"!==b&&0!==c&&d.ishrn(c),{div:i?i:null,mod:d}},e.prototype.divmod=function(a,b){if(c(0!==a.cmpn(0)),this.sign&&!a.sign){var d,f,g=this.neg().divmod(a,b);return"mod"!==b&&(d=g.div.neg()),"div"!==b&&(f=0===g.mod.cmpn(0)?g.mod:a.sub(g.mod)),{div:d,mod:f}}if(!this.sign&&a.sign){var d,g=this.divmod(a.neg(),b);return"mod"!==b&&(d=g.div.neg()),{div:d,mod:g.mod}}return this.sign&&a.sign?this.neg().divmod(a.neg(),b):a.length>this.length||this.cmp(a)<0?{div:new e(0),mod:this}:1===a.length?"div"===b?{div:this.divn(a.words[0]),mod:null}:"mod"===b?{div:null,mod:new e(this.modn(a.words[0]))}:{div:this.divn(a.words[0]),mod:new e(this.modn(a.words[0]))}:this._wordDiv(a,b)},e.prototype.div=function(a){return this.divmod(a,"div").div},e.prototype.mod=function(a){return this.divmod(a,"mod").mod},e.prototype.divRound=function(a){var b=this.divmod(a);if(0===b.mod.cmpn(0))return b.div;var c=b.div.sign?b.mod.isub(a):b.mod,d=a.shrn(1),e=a.andln(1),f=c.cmp(d);return 0>f||1===e&&0===f?b.div:b.div.sign?b.div.isubn(1):b.div.iaddn(1)},e.prototype.modn=function(a){c(67108863>=a);for(var b=(1<<26)%a,d=0,e=this.length-1;e>=0;e--)d=(b*d+this.words[e])%a;return d},e.prototype.idivn=function(a){c(67108863>=a);for(var b=0,d=this.length-1;d>=0;d--){var e=this.words[d]+67108864*b;this.words[d]=e/a|0,b=e%a}return this.strip()},e.prototype.divn=function(a){return this.clone().idivn(a)},e.prototype.egcd=function(a){c(!a.sign),c(0!==a.cmpn(0));var b=this,d=a.clone();b=b.sign?b.mod(a):b.clone();for(var f=new e(1),g=new e(0),h=new e(0),i=new e(1),j=0;b.isEven()&&d.isEven();)b.ishrn(1),d.ishrn(1),++j;for(var k=d.clone(),l=b.clone();0!==b.cmpn(0);){for(;b.isEven();)b.ishrn(1),f.isEven()&&g.isEven()?(f.ishrn(1),g.ishrn(1)):(f.iadd(k).ishrn(1),g.isub(l).ishrn(1));for(;d.isEven();)d.ishrn(1),h.isEven()&&i.isEven()?(h.ishrn(1),i.ishrn(1)):(h.iadd(k).ishrn(1),i.isub(l).ishrn(1));b.cmp(d)>=0?(b.isub(d),f.isub(h),g.isub(i)):(d.isub(b),h.isub(f),i.isub(g))}return{a:h,b:i,gcd:d.ishln(j)}},e.prototype._invmp=function(a){c(!a.sign),c(0!==a.cmpn(0));var b=this,d=a.clone();b=b.sign?b.mod(a):b.clone();for(var f=new e(1),g=new e(0),h=d.clone();b.cmpn(1)>0&&d.cmpn(1)>0;){for(;b.isEven();)b.ishrn(1),f.isEven()?f.ishrn(1):f.iadd(h).ishrn(1);for(;d.isEven();)d.ishrn(1),g.isEven()?g.ishrn(1):g.iadd(h).ishrn(1);b.cmp(d)>=0?(b.isub(d),f.isub(g)):(d.isub(b),g.isub(f))}return 0===b.cmpn(1)?f:g},e.prototype.gcd=function(a){if(0===this.cmpn(0))return a.clone();if(0===a.cmpn(0))return this.clone();var b=this.clone(),c=a.clone();b.sign=!1,c.sign=!1;for(var d=0;b.isEven()&&c.isEven();d++)b.ishrn(1),c.ishrn(1);for(;;){for(;b.isEven();)b.ishrn(1);for(;c.isEven();)c.ishrn(1);var e=b.cmp(c);if(0>e){var f=b;b=c,c=f}else if(0===e||0===c.cmpn(1))break;b.isub(c)}return c.ishln(d)},e.prototype.invm=function(a){return this.egcd(a).a.mod(a)},e.prototype.isEven=function(){return 0===(1&this.words[0])},e.prototype.isOdd=function(){return 1===(1&this.words[0])},e.prototype.andln=function(a){return this.words[0]&a},e.prototype.bincn=function(a){c("number"==typeof a);var b=a%26,d=(a-b)/26,e=1<f;f++)this.words[f]=0;return this.words[d]|=e,this.length=d+1,this}for(var g=e,f=d;0!==g&&f>>26,h&=67108863,this.words[f]=h}return 0!==g&&(this.words[f]=g,this.length++),this},e.prototype.cmpn=function(a){var b=0>a;if(b&&(a=-a),this.sign&&!b)return-1;if(!this.sign&&b)return 1;a&=67108863,this.strip();var c;if(this.length>1)c=1;else{var d=this.words[0];c=d===a?0:a>d?-1:1}return this.sign&&(c=-c),c},e.prototype.cmp=function(a){if(this.sign&&!a.sign)return-1;if(!this.sign&&a.sign)return 1;var b=this.ucmp(a);return this.sign?-b:b},e.prototype.ucmp=function(a){if(this.length>a.length)return 1;if(this.length=0;c--){var d=this.words[c],e=a.words[c];if(d!==e){e>d?b=-1:d>e&&(b=1);break}}return b},e.red=function(a){return new m(a)},e.prototype.toRed=function(a){return c(!this.red,"Already a number in reduction context"),c(!this.sign,"red works only with positives"),a.convertTo(this)._forceRed(a)},e.prototype.fromRed=function(){return c(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},e.prototype._forceRed=function(a){return this.red=a,this},e.prototype.forceRed=function(a){return c(!this.red,"Already a number in reduction context"),this._forceRed(a)},e.prototype.redAdd=function(a){return c(this.red,"redAdd works only with red numbers"),this.red.add(this,a)},e.prototype.redIAdd=function(a){return c(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,a)},e.prototype.redSub=function(a){return c(this.red,"redSub works only with red numbers"),this.red.sub(this,a)},e.prototype.redISub=function(a){return c(this.red,"redISub works only with red numbers"),this.red.isub(this,a)},e.prototype.redShl=function(a){return c(this.red,"redShl works only with red numbers"),this.red.shl(this,a)},e.prototype.redMul=function(a){return c(this.red,"redMul works only with red numbers"),this.red._verify2(this,a),this.red.mul(this,a)},e.prototype.redIMul=function(a){return c(this.red,"redMul works only with red numbers"),this.red._verify2(this,a),this.red.imul(this,a)},e.prototype.redSqr=function(){return c(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},e.prototype.redISqr=function(){return c(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},e.prototype.redSqrt=function(){return c(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},e.prototype.redInvm=function(){return c(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},e.prototype.redNeg=function(){return c(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},e.prototype.redPow=function(a){return c(this.red&&!a.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,a)};var r={k256:null,p224:null,p192:null,p25519:null};h.prototype._tmp=function(){var a=new e(null);return a.words=new Array(Math.ceil(this.n/13)),a},h.prototype.ireduce=function(a){var b,c=a;do this.split(c,this.tmp),c=this.imulK(c),c=c.iadd(this.tmp),b=c.bitLength();while(b>this.n);var d=b0?c.isub(this.p):c.strip(),c},h.prototype.split=function(a,b){a.ishrn(this.n,0,b)},h.prototype.imulK=function(a){return a.imul(this.k)},d(i,h),i.prototype.split=function(a,b){for(var c=4194303,d=Math.min(a.length,9),e=0;d>e;e++)b.words[e]=a.words[e];if(b.length=d,a.length<=9)return a.words[0]=0,void(a.length=1);var f=a.words[9];b.words[b.length++]=f&c;for(var e=10;e>>22,f=g}a.words[e-10]=f>>>22,a.length-=9},i.prototype.imulK=function(a){a.words[a.length]=0,a.words[a.length+1]=0,a.length+=2;for(var b,c=0,d=0;d>>=26,a.words[c]=e,b=d}return 0!==b&&(a.words[a.length++]=b),a},e._prime=function s(a){if(r[a])return r[a];var s;if("k256"===a)s=new i;else if("p224"===a)s=new j;else if("p192"===a)s=new k;else{if("p25519"!==a)throw new Error("Unknown prime "+a);s=new l}return r[a]=s,s},m.prototype._verify1=function(a){c(!a.sign,"red works only with positives"),c(a.red,"red works only with red numbers")},m.prototype._verify2=function(a,b){c(!a.sign&&!b.sign,"red works only with positives"),c(a.red&&a.red===b.red,"red works only with red numbers")},m.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):a.mod(this.m)._forceRed(this)},m.prototype.neg=function(a){var b=a.clone();return b.sign=!b.sign,b.iadd(this.m)._forceRed(this)},m.prototype.add=function(a,b){this._verify2(a,b);var c=a.add(b);return c.cmp(this.m)>=0&&c.isub(this.m),c._forceRed(this)},m.prototype.iadd=function(a,b){this._verify2(a,b);var c=a.iadd(b);return c.cmp(this.m)>=0&&c.isub(this.m),c},m.prototype.sub=function(a,b){this._verify2(a,b);var c=a.sub(b);return c.cmpn(0)<0&&c.iadd(this.m),c._forceRed(this)},m.prototype.isub=function(a,b){this._verify2(a,b);var c=a.isub(b);return c.cmpn(0)<0&&c.iadd(this.m),c},m.prototype.shl=function(a,b){return this._verify1(a),this.imod(a.shln(b))},m.prototype.imul=function(a,b){return this._verify2(a,b),this.imod(a.imul(b))},m.prototype.mul=function(a,b){return this._verify2(a,b),this.imod(a.mul(b))},m.prototype.isqr=function(a){return this.imul(a,a)},m.prototype.sqr=function(a){return this.mul(a,a)},m.prototype.sqrt=function(a){if(0===a.cmpn(0))return a.clone();var b=this.m.andln(3);if(c(b%2===1),3===b){var d=this.m.add(new e(1)).ishrn(2),f=this.pow(a,d);return f}for(var g=this.m.subn(1),h=0;0!==g.cmpn(0)&&0===g.andln(1);)h++,g.ishrn(1);c(0!==g.cmpn(0));var i=new e(1).toRed(this),j=i.redNeg(),k=this.m.subn(1).ishrn(1),l=this.m.bitLength();for(l=new e(2*l*l).toRed(this);0!==this.pow(l,k).cmp(j);)l.redIAdd(j);for(var m=this.pow(l,g),f=this.pow(a,g.addn(1).ishrn(1)),n=this.pow(a,g),o=h;0!==n.cmp(i);){for(var p=n,q=0;0!==p.cmp(i);q++)p=p.redSqr();c(o>q);var r=this.pow(m,new e(1).ishln(o-q-1));f=f.redMul(r),m=r.redSqr(),n=n.redMul(m),o=q}return f},m.prototype.invm=function(a){var b=a._invmp(this.m);return b.sign?(b.sign=!1,this.imod(b).redNeg()):this.imod(b)},m.prototype.pow=function(a,b){var c=[];if(0===b.cmpn(0))return new e(1);for(var d=b.clone();0!==d.cmpn(0);)c.push(d.andln(1)),d.ishrn(1);for(var f=a,g=0;g=0?f=e.isub(this.m):e.cmpn(0)<0&&(f=e.iadd(this.m)),f._forceRed(this)},n.prototype.mul=function(a,b){if(0===a.cmpn(0)||0===b.cmpn(0))return new e(0)._forceRed(this);var c=a.mul(b),d=c.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),f=c.isub(d).ishrn(this.shift),g=f;return f.cmp(this.m)>=0?g=f.isub(this.m):f.cmpn(0)<0&&(g=f.iadd(this.m)),g._forceRed(this)},n.prototype.invm=function(a){var b=this.imod(a._invmp(this.m).mul(this.r2));return b._forceRed(this)}}("undefined"==typeof b||b,this)},{}],97:[function(a,b,c){function d(a){if(0===a.length)return"";var b,c,d=[0];for(b=0;b>8,d[c]&=255;for(;f;)d.push(255&f),f>>=8}for(b=0;"1"===a[b]&&b=g;b--)i=(i<<1)+d[b];f.push(i)}for(var j=this.jpoint(null,null,null),k=this.jpoint(null,null,null),l=e;l>0;l--){for(var g=0;g=0;i--){for(var b=0;i>=0&&0===f[i];i--)b++;if(i>=0&&b++,g=g.dblp(b),0>i)break;var k=f[i];j(0!==k),g="affine"===a.type?k>0?g.mixedAdd(e[k-1>>1]):g.mixedAdd(e[-k-1>>1].neg()):k>0?g.add(e[k-1>>1]):g.add(e[-k-1>>1].neg())}return"affine"===a.type?g.toP():g},d.prototype._wnafMulAdd=function(a,b,c,d){for(var e=this._wnafT1,f=this._wnafT2,g=this._wnafT3,j=0,k=0;d>k;k++){var l=b[k],m=l._getNAFPoints(a);e[k]=m.wnd,f[k]=m.points}for(var k=d-1;k>=1;k-=2){var n=k-1,o=k;if(1===e[n]&&1===e[o]){var p=[b[n],null,null,b[o]];0===b[n].y.cmp(b[o].y)?(p[1]=b[n].add(b[o]),p[2]=b[n].toJ().mixedAdd(b[o].neg())):0===b[n].y.cmp(b[o].y.redNeg())?(p[1]=b[n].toJ().mixedAdd(b[o]),p[2]=b[n].add(b[o].neg())):(p[1]=b[n].toJ().mixedAdd(b[o]),p[2]=b[n].toJ().mixedAdd(b[o].neg()));var q=[-3,-1,-5,-7,0,7,5,1,3],r=i(c[n],c[o]);j=Math.max(r[0].length,j),g[n]=new Array(j),g[o]=new Array(j);for(var s=0;j>s;s++){var t=0|r[0][s],u=0|r[1][s];g[n][s]=q[3*(t+1)+(u+1)],g[o][s]=0,f[n]=p}}else g[n]=h(c[n],e[n]),g[o]=h(c[o],e[o]),j=Math.max(g[n].length,j),j=Math.max(g[o].length,j)}for(var v=this.jpoint(null,null,null),w=this._wnafT4,k=j;k>=0;k--){for(var x=0;k>=0;){for(var y=!0,s=0;d>s;s++)w[s]=0|g[s][k],0!==w[s]&&(y=!1);if(!y)break;x++,k--}if(k>=0&&x++,v=v.dblp(x),0>k)break;for(var s=0;d>s;s++){var l,z=w[s];0!==z&&(z>0?l=f[s][z-1>>1]:0>z&&(l=f[s][-z-1>>1].neg()),v="affine"===l.type?v.mixedAdd(l):v.add(l))}}for(var k=0;d>k;k++)f[k]=null;return v.toP()},d.BasePoint=e,e.prototype.validate=function(){return this.curve.validate(this)},e.prototype.precompute=function(a){if(this.precomputed)return this;var b={doubles:null,naf:null,beta:null};return b.naf=this._getNAFPoints(8),b.doubles=this._getDoubles(4,a),b.beta=this._getBeta(),this.precomputed=b,this},e.prototype._getDoubles=function(a,b){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var c=[this],d=this,e=0;b>e;e+=a){for(var f=0;a>f;f++)d=d.dbl();c.push(d)}return{step:a,points:c}},e.prototype._getNAFPoints=function(a){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var b=[this],c=(1<e;e++)b[e]=b[e-1].add(d);return{wnd:a,points:b}},e.prototype._getBeta=function(){return null},e.prototype.dblp=function(a){for(var b=this,c=0;a>c;c++)b=b.dbl();return b}},{"../../elliptic":98,"bn.js":96}],100:[function(a,b,c){"use strict";function d(a){this.twisted=1!==(0|a.a),this.mOneA=this.twisted&&-1===(0|a.a),this.extended=this.mOneA,j.call(this,"edwards",a),this.a=new h(a.a,16).mod(this.red.m).toRed(this.red),this.c=new h(a.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new h(a.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),k(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1===(0|a.c)}function e(a,b,c,d,e){j.BasePoint.call(this,a,"projective"),null===b&&null===c&&null===d?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new h(b,16),this.y=new h(c,16),this.z=d?new h(d,16):this.curve.one,this.t=e&&new h(e,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}var f=a("../curve"),g=a("../../elliptic"),h=a("bn.js"),i=a("inherits"),j=f.base,k=g.utils.assert;i(d,j),b.exports=d,d.prototype._mulA=function(a){return this.mOneA?a.redNeg():this.a.redMul(a)},d.prototype._mulC=function(a){return this.oneC?a:this.c.redMul(a)},d.prototype.jpoint=function(a,b,c,d){return this.point(a,b,c,d)},d.prototype.pointFromX=function(a,b){b=new h(b,16),b.red||(b=b.toRed(this.red));var c=b.redSqr(),d=this.c2.redSub(this.a.redMul(c)),e=this.one.redSub(this.c2.redMul(this.d).redMul(c)),g=d.redMul(e.redInvm()).redSqrt(),i=g.fromRed().isOdd();return(a&&!i||!a&&i)&&(g=g.redNeg()),this.point(b,g,f.one)},d.prototype.validate=function(a){if(a.isInfinity())return!0;a.normalize();var b=a.x.redSqr(),c=a.y.redSqr(),d=b.redMul(this.a).redAdd(c),e=this.c2.redMul(this.one.redAdd(this.d.redMul(b).redMul(c)));return 0===d.cmp(e)},i(e,j.BasePoint),d.prototype.pointFromJSON=function(a){return e.fromJSON(this,a)},d.prototype.point=function(a,b,c,d){return new e(this,a,b,c,d)},e.fromJSON=function(a,b){return new e(a,b[0],b[1],b[2])},e.prototype.inspect=function(){return this.isInfinity()?"":""},e.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&0===this.y.cmp(this.z)},e.prototype._extDbl=function(){var a=this.x.redSqr(),b=this.y.redSqr(),c=this.z.redSqr();c=c.redIAdd(c);var d=this.curve._mulA(a),e=this.x.redAdd(this.y).redSqr().redISub(a).redISub(b),f=d.redAdd(b),g=f.redSub(c),h=d.redSub(b),i=e.redMul(g),j=f.redMul(h),k=e.redMul(h),l=g.redMul(f);return this.curve.point(i,j,l,k)},e.prototype._projDbl=function(){var a,b,c,d=this.x.redAdd(this.y).redSqr(),e=this.x.redSqr(),f=this.y.redSqr();if(this.curve.twisted){var g=this.curve._mulA(e),h=g.redAdd(f);if(this.zOne)a=d.redSub(e).redSub(f).redMul(h.redSub(this.curve.two)),b=h.redMul(g.redSub(f)),c=h.redSqr().redSub(h).redSub(h);else{var i=this.z.redSqr(),j=h.redSub(i).redISub(i);a=d.redSub(e).redISub(f).redMul(j),b=h.redMul(g.redSub(f)),c=h.redMul(j)}}else{var g=e.redAdd(f),i=this.curve._mulC(this.c.redMul(this.z)).redSqr(),j=g.redSub(i).redSub(i);a=this.curve._mulC(d.redISub(g)).redMul(j),b=this.curve._mulC(g).redMul(e.redISub(f)),c=g.redMul(j)}return this.curve.point(a,b,c)},e.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},e.prototype._extAdd=function(a){var b=this.y.redSub(this.x).redMul(a.y.redSub(a.x)),c=this.y.redAdd(this.x).redMul(a.y.redAdd(a.x)),d=this.t.redMul(this.curve.dd).redMul(a.t),e=this.z.redMul(a.z.redAdd(a.z)),f=c.redSub(b),g=e.redSub(d),h=e.redAdd(d),i=c.redAdd(b),j=f.redMul(g),k=h.redMul(i),l=f.redMul(i),m=g.redMul(h);return this.curve.point(j,k,m,l)},e.prototype._projAdd=function(a){var b,c,d=this.z.redMul(a.z),e=d.redSqr(),f=this.x.redMul(a.x),g=this.y.redMul(a.y),h=this.curve.d.redMul(f).redMul(g),i=e.redSub(h),j=e.redAdd(h),k=this.x.redAdd(this.y).redMul(a.x.redAdd(a.y)).redISub(f).redISub(g),l=d.redMul(i).redMul(k);return this.curve.twisted?(b=d.redMul(j).redMul(g.redSub(this.curve._mulA(f))),c=i.redMul(j)):(b=d.redMul(j).redMul(g.redSub(f)),c=this.curve._mulC(i).redMul(j)),this.curve.point(l,b,c)},e.prototype.add=function(a){return this.isInfinity()?a:a.isInfinity()?this:this.curve.extended?this._extAdd(a):this._projAdd(a)},e.prototype.mul=function(a){return this.precomputed&&this.precomputed.doubles?this.curve._fixedNafMul(this,a):this.curve._wnafMul(this,a)},e.prototype.mulAdd=function(a,b,c){return this.curve._wnafMulAdd(1,[this,b],[a,c],2)},e.prototype.normalize=function(){if(this.zOne)return this;var a=this.z.redInvm();return this.x=this.x.redMul(a),this.y=this.y.redMul(a),this.t&&(this.t=this.t.redMul(a)),this.z=this.curve.one,this.zOne=!0,this},e.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},e.prototype.getX=function(){return this.normalize(),this.x.fromRed()},e.prototype.getY=function(){return this.normalize(),this.y.fromRed()},e.prototype.toP=e.prototype.normalize,e.prototype.mixedAdd=e.prototype.add},{"../../elliptic":98,"../curve":101,"bn.js":96,inherits:119}],101:[function(a,b,c){"use strict";var d=c;d.base=a("./base"),d["short"]=a("./short"),d.mont=a("./mont"),d.edwards=a("./edwards")},{"./base":99,"./edwards":100,"./mont":102,"./short":103}],102:[function(a,b,c){"use strict";function d(a){i.call(this,"mont",a),this.a=new g(a.a,16).toRed(this.red),this.b=new g(a.b,16).toRed(this.red),this.i4=new g(4).toRed(this.red).redInvm(),this.two=new g(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function e(a,b,c){i.BasePoint.call(this,a,"projective"),null===b&&null===c?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new g(b,16),this.z=new g(c,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}var f=a("../curve"),g=a("bn.js"),h=a("inherits"),i=f.base;h(d,i),b.exports=d,d.prototype.validate=function(a){var b=a.normalize().x,c=b.redSqr(),d=c.redMul(b).redAdd(c.redMul(this.a)).redAdd(b),e=d.redSqrt();return 0===e.redSqr().cmp(d)},h(e,i.BasePoint),d.prototype.point=function(a,b){return new e(this,a,b)},d.prototype.pointFromJSON=function(a){return e.fromJSON(this,a)},e.prototype.precompute=function(){},e.fromJSON=function(a,b){return new e(a,b[0],b[1]||a.one)},e.prototype.inspect=function(){return this.isInfinity()?"":""},e.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},e.prototype.dbl=function(){var a=this.x.redAdd(this.z),b=a.redSqr(),c=this.x.redSub(this.z),d=c.redSqr(),e=b.redSub(d),f=b.redMul(d),g=e.redMul(d.redAdd(this.curve.a24.redMul(e)));return this.curve.point(f,g)},e.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},e.prototype.diffAdd=function(a,b){var c=this.x.redAdd(this.z),d=this.x.redSub(this.z),e=a.x.redAdd(a.z),f=a.x.redSub(a.z),g=f.redMul(c),h=e.redMul(d),i=b.z.redMul(g.redAdd(h).redSqr()),j=b.x.redMul(g.redISub(h).redSqr());return this.curve.point(i,j)},e.prototype.mul=function(a){for(var b=a.clone(),c=this,d=this.curve.point(null,null),e=this,f=[];0!==b.cmpn(0);b.ishrn(1))f.push(b.andln(1));for(var g=f.length-1;g>=0;g--)0===f[g]?(c=c.diffAdd(d,e),d=d.dbl()):(d=c.diffAdd(d,e),c=c.dbl());return d},e.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},e.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},e.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},{"../curve":101,"bn.js":96,inherits:119}],103:[function(a,b,c){"use strict";function d(a){k.call(this,"short",a),this.a=new i(a.a,16).toRed(this.red),this.b=new i(a.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(a),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function e(a,b,c,d){k.BasePoint.call(this,a,"affine"),null===b&&null===c?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(b,16),this.y=new i(c,16),d&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function f(a,b,c,d){k.BasePoint.call(this,a,"jacobian"),null===b&&null===c&&null===d?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(b,16),this.y=new i(c,16),this.z=new i(d,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}var g=a("../curve"),h=a("../../elliptic"),i=a("bn.js"),j=a("inherits"),k=g.base,l=h.utils.assert;j(d,k),b.exports=d,d.prototype._getEndomorphism=function(a){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var b,c;if(a.beta)b=new i(a.beta,16).toRed(this.red);else{var d=this._getEndoRoots(this.p);b=d[0].cmp(d[1])<0?d[0]:d[1],b=b.toRed(this.red)}if(a.lambda)c=new i(a.lambda,16);else{var e=this._getEndoRoots(this.n);0===this.g.mul(e[0]).x.cmp(this.g.x.redMul(b))?c=e[0]:(c=e[1],l(0===this.g.mul(c).x.cmp(this.g.x.redMul(b))))}var f;return f=a.basis?a.basis.map(function(a){return{a:new i(a.a,16),b:new i(a.b,16)}}):this._getEndoBasis(c),{beta:b,lambda:c,basis:f}}},d.prototype._getEndoRoots=function(a){var b=a===this.p?this.red:i.mont(a),c=new i(2).toRed(b).redInvm(),d=c.redNeg(),e=new i(3).toRed(b).redNeg().redSqrt().redMul(c),f=d.redAdd(e).fromRed(),g=d.redSub(e).fromRed();return[f,g]},d.prototype._getEndoBasis=function(a){for(var b,c,d,e,f,g,h,j,k,l=this.n.shrn(Math.floor(this.n.bitLength()/2)),m=a,n=this.n.clone(),o=new i(1),p=new i(0),q=new i(0),r=new i(1),s=0;0!==m.cmpn(0);){var t=n.div(m);j=n.sub(t.mul(m)),k=q.sub(t.mul(o));var u=r.sub(t.mul(p));if(!d&&j.cmp(l)<0)b=h.neg(),c=o,d=j.neg(),e=k;else if(d&&2===++s)break;h=j,n=m,m=j,q=o,o=k,r=p,p=u}f=j.neg(),g=k;var v=d.sqr().add(e.sqr()),w=f.sqr().add(g.sqr());return w.cmp(v)>=0&&(f=b,g=c),d.sign&&(d=d.neg(),e=e.neg()),f.sign&&(f=f.neg(),g=g.neg()),[{a:d,b:e},{a:f,b:g}]},d.prototype._endoSplit=function(a){var b=this.endo.basis,c=b[0],d=b[1],e=d.b.mul(a).divRound(this.n),f=c.b.neg().mul(a).divRound(this.n),g=e.mul(c.a),h=f.mul(d.a),i=e.mul(c.b),j=f.mul(d.b),k=a.sub(g).sub(h),l=i.add(j).neg();return{k1:k,k2:l}},d.prototype.pointFromX=function(a,b){b=new i(b,16),b.red||(b=b.toRed(this.red));var c=b.redSqr().redMul(b).redIAdd(b.redMul(this.a)).redIAdd(this.b),d=c.redSqrt(),e=d.fromRed().isOdd();return(a&&!e||!a&&e)&&(d=d.redNeg()),this.point(b,d)},d.prototype.validate=function(a){if(a.inf)return!0;var b=a.x,c=a.y,d=this.a.redMul(b),e=b.redSqr().redMul(b).redIAdd(d).redIAdd(this.b);return 0===c.redSqr().redISub(e).cmpn(0)},d.prototype._endoWnafMulAdd=function(a,b){for(var c=this._endoWnafT1,d=this._endoWnafT2,e=0;ej;j++)c[j]=null,d[j]=null;return i},j(e,k.BasePoint),d.prototype.point=function(a,b,c){return new e(this,a,b,c)},d.prototype.pointFromJSON=function(a,b){return e.fromJSON(this,a,b)},e.prototype._getBeta=function(){if(this.curve.endo){var a=this.precomputed;if(a&&a.beta)return a.beta;var b=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y); if(a){var c=this.curve,d=function(a){return c.point(a.x.redMul(c.endo.beta),a.y)};a.beta=b,b.precomputed={beta:null,naf:a.naf&&{wnd:a.naf.wnd,points:a.naf.points.map(d)},doubles:a.doubles&&{step:a.doubles.step,points:a.doubles.points.map(d)}}}return b}},e.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},e.fromJSON=function(a,b,c){function d(b){return a.point(b[0],b[1],c)}"string"==typeof b&&(b=JSON.parse(b));var e=a.point(b[0],b[1],c);if(!b[2])return e;var f=b[2];return e.precomputed={beta:null,doubles:f.doubles&&{step:f.doubles.step,points:[e].concat(f.doubles.points.map(d))},naf:f.naf&&{wnd:f.naf.wnd,points:[e].concat(f.naf.points.map(d))}},e},e.prototype.inspect=function(){return this.isInfinity()?"":""},e.prototype.isInfinity=function(){return this.inf},e.prototype.add=function(a){if(this.inf)return a;if(a.inf)return this;if(this.eq(a))return this.dbl();if(this.neg().eq(a))return this.curve.point(null,null);if(0===this.x.cmp(a.x))return this.curve.point(null,null);var b=this.y.redSub(a.y);0!==b.cmpn(0)&&(b=b.redMul(this.x.redSub(a.x).redInvm()));var c=b.redSqr().redISub(this.x).redISub(a.x),d=b.redMul(this.x.redSub(c)).redISub(this.y);return this.curve.point(c,d)},e.prototype.dbl=function(){if(this.inf)return this;var a=this.y.redAdd(this.y);if(0===a.cmpn(0))return this.curve.point(null,null);var b=this.curve.a,c=this.x.redSqr(),d=a.redInvm(),e=c.redAdd(c).redIAdd(c).redIAdd(b).redMul(d),f=e.redSqr().redISub(this.x.redAdd(this.x)),g=e.redMul(this.x.redSub(f)).redISub(this.y);return this.curve.point(f,g)},e.prototype.getX=function(){return this.x.fromRed()},e.prototype.getY=function(){return this.y.fromRed()},e.prototype.mul=function(a){return a=new i(a,16),this.precomputed&&this.precomputed.doubles?this.curve._fixedNafMul(this,a):this.curve.endo?this.curve._endoWnafMulAdd([this],[a]):this.curve._wnafMul(this,a)},e.prototype.mulAdd=function(a,b,c){var d=[this,b],e=[a,c];return this.curve.endo?this.curve._endoWnafMulAdd(d,e):this.curve._wnafMulAdd(1,d,e,2)},e.prototype.eq=function(a){return this===a||this.inf===a.inf&&(this.inf||0===this.x.cmp(a.x)&&0===this.y.cmp(a.y))},e.prototype.neg=function(a){if(this.inf)return this;var b=this.curve.point(this.x,this.y.redNeg());if(a&&this.precomputed){var c=this.precomputed,d=function(a){return a.neg()};b.precomputed={naf:c.naf&&{wnd:c.naf.wnd,points:c.naf.points.map(d)},doubles:c.doubles&&{step:c.doubles.step,points:c.doubles.points.map(d)}}}return b},e.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var a=this.curve.jpoint(this.x,this.y,this.curve.one);return a},j(f,k.BasePoint),d.prototype.jpoint=function(a,b,c){return new f(this,a,b,c)},f.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var a=this.z.redInvm(),b=a.redSqr(),c=this.x.redMul(b),d=this.y.redMul(b).redMul(a);return this.curve.point(c,d)},f.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},f.prototype.add=function(a){if(this.isInfinity())return a;if(a.isInfinity())return this;var b=a.z.redSqr(),c=this.z.redSqr(),d=this.x.redMul(b),e=a.x.redMul(c),f=this.y.redMul(b.redMul(a.z)),g=a.y.redMul(c.redMul(this.z)),h=d.redSub(e),i=f.redSub(g);if(0===h.cmpn(0))return 0!==i.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var j=h.redSqr(),k=j.redMul(h),l=d.redMul(j),m=i.redSqr().redIAdd(k).redISub(l).redISub(l),n=i.redMul(l.redISub(m)).redISub(f.redMul(k)),o=this.z.redMul(a.z).redMul(h);return this.curve.jpoint(m,n,o)},f.prototype.mixedAdd=function(a){if(this.isInfinity())return a.toJ();if(a.isInfinity())return this;var b=this.z.redSqr(),c=this.x,d=a.x.redMul(b),e=this.y,f=a.y.redMul(b).redMul(this.z),g=c.redSub(d),h=e.redSub(f);if(0===g.cmpn(0))return 0!==h.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var i=g.redSqr(),j=i.redMul(g),k=c.redMul(i),l=h.redSqr().redIAdd(j).redISub(k).redISub(k),m=h.redMul(k.redISub(l)).redISub(e.redMul(j)),n=this.z.redMul(g);return this.curve.jpoint(l,m,n)},f.prototype.dblp=function(a){if(0===a)return this;if(this.isInfinity())return this;if(!a)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var b=this,c=0;a>c;c++)b=b.dbl();return b}for(var d=this.curve.a,e=this.curve.tinv,f=this.x,g=this.y,h=this.z,i=h.redSqr().redSqr(),j=g.redAdd(g),c=0;a>c;c++){var k=f.redSqr(),l=j.redSqr(),m=l.redSqr(),n=k.redAdd(k).redIAdd(k).redIAdd(d.redMul(i)),o=f.redMul(l),p=n.redSqr().redISub(o.redAdd(o)),q=o.redISub(p),r=n.redMul(q);r=r.redIAdd(r).redISub(m);var s=j.redMul(h);a>c+1&&(i=i.redMul(m)),f=p,h=s,j=r}return this.curve.jpoint(f,j.redMul(e),h)},f.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},f.prototype._zeroDbl=function(){var a,b,c;if(this.zOne){var d=this.x.redSqr(),e=this.y.redSqr(),f=e.redSqr(),g=this.x.redAdd(e).redSqr().redISub(d).redISub(f);g=g.redIAdd(g);var h=d.redAdd(d).redIAdd(d),i=h.redSqr().redISub(g).redISub(g),j=f.redIAdd(f);j=j.redIAdd(j),j=j.redIAdd(j),a=i,b=h.redMul(g.redISub(i)).redISub(j),c=this.y.redAdd(this.y)}else{var k=this.x.redSqr(),l=this.y.redSqr(),m=l.redSqr(),n=this.x.redAdd(l).redSqr().redISub(k).redISub(m);n=n.redIAdd(n);var o=k.redAdd(k).redIAdd(k),p=o.redSqr(),q=m.redIAdd(m);q=q.redIAdd(q),q=q.redIAdd(q),a=p.redISub(n).redISub(n),b=o.redMul(n.redISub(a)).redISub(q),c=this.y.redMul(this.z),c=c.redIAdd(c)}return this.curve.jpoint(a,b,c)},f.prototype._threeDbl=function(){var a,b,c;if(this.zOne){var d=this.x.redSqr(),e=this.y.redSqr(),f=e.redSqr(),g=this.x.redAdd(e).redSqr().redISub(d).redISub(f);g=g.redIAdd(g);var h=d.redAdd(d).redIAdd(d).redIAdd(this.curve.a),i=h.redSqr().redISub(g).redISub(g);a=i;var j=f.redIAdd(f);j=j.redIAdd(j),j=j.redIAdd(j),b=h.redMul(g.redISub(i)).redISub(j),c=this.y.redAdd(this.y)}else{var k=this.z.redSqr(),l=this.y.redSqr(),m=this.x.redMul(l),n=this.x.redSub(k).redMul(this.x.redAdd(k));n=n.redAdd(n).redIAdd(n);var o=m.redIAdd(m);o=o.redIAdd(o);var p=o.redAdd(o);a=n.redSqr().redISub(p),c=this.y.redAdd(this.z).redSqr().redISub(l).redISub(k);var q=l.redSqr();q=q.redIAdd(q),q=q.redIAdd(q),q=q.redIAdd(q),b=n.redMul(o.redISub(a)).redISub(q)}return this.curve.jpoint(a,b,c)},f.prototype._dbl=function(){var a=this.curve.a,b=this.x,c=this.y,d=this.z,e=d.redSqr().redSqr(),f=b.redSqr(),g=c.redSqr(),h=f.redAdd(f).redIAdd(f).redIAdd(a.redMul(e)),i=b.redAdd(b);i=i.redIAdd(i);var j=i.redMul(g),k=h.redSqr().redISub(j.redAdd(j)),l=j.redISub(k),m=g.redSqr();m=m.redIAdd(m),m=m.redIAdd(m),m=m.redIAdd(m);var n=h.redMul(l).redISub(m),o=c.redAdd(c).redMul(d);return this.curve.jpoint(k,n,o)},f.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var a=this.x.redSqr(),b=this.y.redSqr(),c=this.z.redSqr(),d=b.redSqr(),e=a.redAdd(a).redIAdd(a),f=e.redSqr(),g=this.x.redAdd(b).redSqr().redISub(a).redISub(d);g=g.redIAdd(g),g=g.redAdd(g).redIAdd(g),g=g.redISub(f);var h=g.redSqr(),i=d.redIAdd(d);i=i.redIAdd(i),i=i.redIAdd(i),i=i.redIAdd(i);var j=e.redIAdd(g).redSqr().redISub(f).redISub(h).redISub(i),k=b.redMul(j);k=k.redIAdd(k),k=k.redIAdd(k);var l=this.x.redMul(h).redISub(k);l=l.redIAdd(l),l=l.redIAdd(l);var m=this.y.redMul(j.redMul(i.redISub(j)).redISub(g.redMul(h)));m=m.redIAdd(m),m=m.redIAdd(m),m=m.redIAdd(m);var n=this.z.redAdd(g).redSqr().redISub(c).redISub(h);return this.curve.jpoint(l,m,n)},f.prototype.mul=function(a,b){return a=new i(a,b),this.curve._wnafMul(this,a)},f.prototype.eq=function(a){if("affine"===a.type)return this.eq(a.toJ());if(this===a)return!0;var b=this.z.redSqr(),c=a.z.redSqr();if(0!==this.x.redMul(c).redISub(a.x.redMul(b)).cmpn(0))return!1;var d=b.redMul(this.z),e=c.redMul(a.z);return 0===this.y.redMul(e).redISub(a.y.redMul(d)).cmpn(0)},f.prototype.inspect=function(){return this.isInfinity()?"":""},f.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},{"../../elliptic":98,"../curve":101,"bn.js":96,inherits:119}],104:[function(a,b,c){"use strict";function d(a){"short"===a.type?this.curve=new h.curve["short"](a):"edwards"===a.type?this.curve=new h.curve.edwards(a):this.curve=new h.curve.mont(a),this.g=this.curve.g,this.n=this.curve.n,this.hash=a.hash,i(this.g.validate(),"Invalid curve"),i(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function e(a,b){Object.defineProperty(f,a,{configurable:!0,enumerable:!0,get:function(){var c=new d(b);return Object.defineProperty(f,a,{configurable:!0,enumerable:!0,value:c}),c}})}var f=c,g=a("hash.js"),h=a("../elliptic"),i=h.utils.assert;f.PresetCurve=d,e("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:g.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),e("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:g.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),e("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:g.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),e("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"0",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:g.sha256,gRed:!1,g:["9"]}),e("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:g.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var j;try{j=a("./precomputed/secp256k1")}catch(k){j=void 0}e("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:g.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",j]})},{"../elliptic":98,"./precomputed/secp256k1":109,"hash.js":113}],105:[function(a,b,c){"use strict";function d(a){return this instanceof d?("string"==typeof a&&(h(f.curves.hasOwnProperty(a),"Unknown curve "+a),a=f.curves[a]),a instanceof f.curves.PresetCurve&&(a={curve:a}),this.curve=a.curve.curve,this.n=this.curve.n,this.nh=this.n.shrn(1),this.g=this.curve.g,this.g=a.curve.g,this.g.precompute(a.curve.n.bitLength()+1),void(this.hash=a.hash||a.curve.hash)):new d(a)}var e=a("bn.js"),f=a("../../elliptic"),g=f.utils,h=g.assert,i=a("./key"),j=a("./signature");b.exports=d,d.prototype.keyPair=function(a){return new i(this,a)},d.prototype.keyFromPrivate=function(a,b){return i.fromPrivate(this,a,b)},d.prototype.keyFromPublic=function(a,b){return i.fromPublic(this,a,b)},d.prototype.genKeyPair=function(a){a||(a={});for(var b=new f.hmacDRBG({hash:this.hash,pers:a.pers,entropy:a.entropy||f.rand(this.hash.hmacStrength),nonce:this.n.toArray()}),c=this.n.byteLength(),d=this.n.sub(new e(2));;){var g=new e(b.generate(c));if(!(g.cmp(d)>0))return g.iaddn(1),this.keyFromPrivate(g)}},d.prototype._truncateToN=function(a,b){var c=8*a.byteLength()-this.n.bitLength();return c>0&&(a=a.shrn(c)),!b&&a.cmp(this.n)>=0?a.sub(this.n):a},d.prototype.sign=function(a,b,c,d){"object"==typeof c&&(d=c,c=null),d||(d={}),b=this.keyFromPrivate(b,c),a=this._truncateToN(new e(a,16));for(var g=this.n.byteLength(),h=b.getPrivate().toArray(),i=h.length;21>i;i++)h.unshift(0);for(var k=a.toArray(),i=k.length;g>i;i++)k.unshift(0);for(var l=new f.hmacDRBG({hash:this.hash,entropy:h,nonce:k}),m=this.n.sub(new e(1));;){var n=new e(l.generate(this.n.byteLength()));if(n=this._truncateToN(n,!0),!(n.cmpn(1)<=0||n.cmp(m)>=0)){var o=this.g.mul(n);if(!o.isInfinity()){var p=o.getX().mod(this.n);if(0!==p.cmpn(0)){var q=n.invm(this.n).mul(p.mul(b.getPrivate()).iadd(a)).mod(this.n);if(0!==q.cmpn(0))return d.canonical&&q.cmp(this.nh)>0&&(q=this.n.sub(q)),new j({r:p,s:q})}}}}},d.prototype.verify=function(a,b,c,d){a=this._truncateToN(new e(a,16)),c=this.keyFromPublic(c,d),b=new j(b,"hex");var f=b.r,g=b.s;if(f.cmpn(1)<0||f.cmp(this.n)>=0)return!1;if(g.cmpn(1)<0||g.cmp(this.n)>=0)return!1;var h=g.invm(this.n),i=h.mul(a).mod(this.n),k=h.mul(f).mod(this.n),l=this.g.mulAdd(i,c.getPublic(),k);return l.isInfinity()?!1:0===l.getX().mod(this.n).cmp(f)}},{"../../elliptic":98,"./key":106,"./signature":107,"bn.js":96}],106:[function(a,b,c){"use strict";function d(a,b){this.ec=a,this.priv=null,this.pub=null,b.priv&&this._importPrivate(b.priv,b.privEnc),b.pub&&this._importPublic(b.pub,b.pubEnc)}var e=a("bn.js"),f=a("../../elliptic"),g=f.utils;b.exports=d,d.fromPublic=function(a,b,c){return b instanceof d?b:new d(a,{pub:b,pubEnc:c})},d.fromPrivate=function(a,b,c){return b instanceof d?b:new d(a,{priv:b,privEnc:c})},d.prototype.validate=function(){var a=this.getPublic();return a.isInfinity()?{result:!1,reason:"Invalid public key"}:a.validate()?a.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},d.prototype.getPublic=function(a,b){if(this.pub||(this.pub=this.ec.g.mul(this.priv)),"string"==typeof a&&(b=a,a=null),!b)return this.pub;for(var c=this.ec.curve.p.byteLength(),d=this.pub.getX().toArray(),e=d.length;c>e;e++)d.unshift(0);var f;if("mont"!==this.ec.curve.type)if(a)f=[this.pub.getY().isEven()?2:3].concat(d);else{for(var h=this.pub.getY().toArray(),e=h.length;c>e;e++)h.unshift(0);var f=[4].concat(d,h)}else f=d;return g.encode(f,b)},d.prototype.getPrivate=function(a){return"hex"===a?this.priv.toString(16,2):this.priv},d.prototype._importPrivate=function(a,b){this.priv=new e(a,b||16),this.priv=this.priv.mod(this.ec.curve.n)},d.prototype._importPublic=function(a,b){return a.x||a.y?void(this.pub=this.ec.curve.point(a.x,a.y)):(a=g.toArray(a,b),"mont"!==this.ec.curve.type?this._importPublicShort(a):this._importPublicMont(a))},d.prototype._importPublicShort=function(a){var b=this.ec.curve.p.byteLength();4===a[0]&&a.length-1===2*b?this.pub=this.ec.curve.point(a.slice(1,1+b),a.slice(1+b,1+2*b)):2!==a[0]&&3!==a[0]||a.length-1!==b||(this.pub=this.ec.curve.pointFromX(3===a[0],a.slice(1,1+b)))},d.prototype._importPublicMont=function(a){this.pub=this.ec.curve.point(a,1)},d.prototype.derive=function(a){return a.mul(this.priv).getX()},d.prototype.sign=function(a){return this.ec.sign(a,this)},d.prototype.verify=function(a,b){return this.ec.verify(a,b,this)},d.prototype.inspect=function(){return""}},{"../../elliptic":98,"bn.js":96}],107:[function(a,b,c){"use strict";function d(a,b){return a instanceof d?a:void(this._importDER(a,b)||(h(a.r&&a.s,"Signature without r or s"),this.r=new e(a.r,16),this.s=new e(a.s,16)))}var e=a("bn.js"),f=a("../../elliptic"),g=f.utils,h=g.assert;b.exports=d,d.prototype._importDER=function(a,b){if(a=g.toArray(a,b),a.length<6||48!==a[0]||2!==a[2])return!1;var c=a[1];if(1+c>a.length)return!1;var d=a[3];if(d>=128)return!1;if(4+d+2>=a.length)return!1;if(2!==a[4+d])return!1;var f=a[5+d];return f>=128?!1:4+d+2+f>a.length?!1:(this.r=new e(a.slice(4,4+d)),this.s=new e(a.slice(4+d+2,4+d+2+f)),!0)},d.prototype.toDER=function(a){var b=this.r.toArray(),c=this.s.toArray();128&b[0]&&(b=[0].concat(b)),128&c[0]&&(c=[0].concat(c));var d=b.length+c.length+4,e=[48,d,2,b.length];return e=e.concat(b,[2,c.length],c),g.encode(e,a)}},{"../../elliptic":98,"bn.js":96}],108:[function(a,b,c){"use strict";function d(a){if(!(this instanceof d))return new d(a);this.hash=a.hash,this.predResist=!!a.predResist,this.outLen=this.hash.outSize,this.minEntropy=a.minEntropy||this.hash.hmacStrength,this.reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var b=g.toArray(a.entropy,a.entropyEnc),c=g.toArray(a.nonce,a.nonceEnc),e=g.toArray(a.pers,a.persEnc);h(b.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(b,c,e)}var e=a("hash.js"),f=a("../elliptic"),g=f.utils,h=g.assert;b.exports=d,d.prototype._init=function(a,b,c){var d=a.concat(b).concat(c);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var e=0;e=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(a.concat(c||[])),this.reseed=1},d.prototype.generate=function(a,b,c,d){if(this.reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof b&&(d=c,c=b,b=null),c&&(c=g.toArray(c,d),this._update(c));for(var e=[];e.length>8,g=255&e;f?c.push(f,g):c.push(g)}return c}function e(a){return 1===a.length?"0"+a:a}function f(a){for(var b="",c=0;c=0;){var f;if(e.isOdd()){var g=e.andln(d-1);f=g>(d>>1)-1?(d>>1)-g:g,e.isubn(f)}else f=0;c.push(f);for(var h=0!==e.cmpn(0)&&0===e.andln(d-1)?b+1:1,i=1;h>i;i++)c.push(0);e.ishrn(h)}return c}function h(a,b){var c=[[],[]];a=a.clone(),b=b.clone();for(var d=0,e=0;a.cmpn(-d)>0||b.cmpn(-e)>0;){var f=a.andln(3)+d&3,g=b.andln(3)+e&3;3===f&&(f=-1),3===g&&(g=-1);var h;if(0===(1&f))h=0;else{var i=a.andln(7)+d&7;h=3!==i&&5!==i||2!==g?f:-f}c[0].push(h);var j;if(0===(1&g))j=0;else{var i=b.andln(7)+e&7;j=3!==i&&5!==i||2!==f?g:-g}c[1].push(j),2*d===h+1&&(d=1-d),2*e===j+1&&(e=1-e),a.ishrn(1),b.ishrn(1)}return c}var i=c;i.assert=function(a,b){if(!a)throw new Error(b||"Assertion failed")},i.toArray=d,i.zero2=e,i.toHex=f,i.encode=function(a,b){return"hex"===b?f(a):a},i.getNAF=g,i.getJSF=h},{}],111:[function(a,b,c){function d(a){this.rand=a}var e;if(b.exports=function(a){return e||(e=new d(null)),e.generate(a)},b.exports.Rand=d,d.prototype.generate=function(a){return this._rand(a)},"object"==typeof window)window.crypto&&window.crypto.getRandomValues?d.prototype._rand=function(a){var b=new Uint8Array(a);return window.crypto.getRandomValues(b),b}:window.msCrypto&&window.msCrypto.getRandomValues?d.prototype._rand=function(a){var b=new Uint8Array(a);return window.msCrypto.getRandomValues(b),b}:d.prototype._rand=function(){throw new Error("Not implemented yet")};else try{var f=a("crypto");d.prototype._rand=function(a){return f.randomBytes(a)}}catch(g){d.prototype._rand=function(a){for(var b=new Uint8Array(a),c=0;c=this._delta8){a=this.pending;var c=a.length%this._delta8;this.pending=a.slice(a.length-c,a.length),0===this.pending.length&&(this.pending=null),a=f.join32(a,0,a.length-c,this.endian);for(var d=0;de;e++)d[e]=0;if(a<<=3,"big"===this.endian){for(var f=8;f>>24&255,d[e++]=a>>>16&255,d[e++]=a>>>8&255,d[e++]=255&a}else{d[e++]=255&a,d[e++]=a>>>8&255,d[e++]=a>>>16&255,d[e++]=a>>>24&255,d[e++]=0,d[e++]=0,d[e++]=0,d[e++]=0;for(var f=8;fthis.blockSize&&(a=(new this.Hash).update(a).digest()),g(a.length<=this.blockSize);for(var b=a.length;b=a?b^c^d:31>=a?b&c|~b&d:47>=a?(b|~c)^d:63>=a?b&d|c&~d:b^(c|~d)}function f(a){return 15>=a?0:31>=a?1518500249:47>=a?1859775393:63>=a?2400959708:2840853838}function g(a){return 15>=a?1352829926:31>=a?1548603684:47>=a?1836072691:63>=a?2053994217:0}var h=a("../hash"),i=h.utils,j=i.rotl32,k=i.sum32,l=i.sum32_3,m=i.sum32_4,n=h.common.BlockHash;i.inherits(d,n),c.ripemd160=d,d.blockSize=512,d.outSize=160,d.hmacStrength=192,d.padLength=64,d.prototype._update=function(a,b){for(var c=this.h[0],d=this.h[1],h=this.h[2],i=this.h[3],n=this.h[4],s=c,t=d,u=h,v=i,w=n,x=0;80>x;x++){var y=k(j(m(c,e(x,d,h,i),a[o[x]+b],f(x)),q[x]),n);c=n,n=i,i=j(h,10),h=d,d=y,y=k(j(m(s,e(79-x,t,u,v),a[p[x]+b],g(x)),r[x]),w),s=w,w=v,v=j(u,10),u=t,t=y}y=l(this.h[1],h,v),this.h[1]=l(this.h[2],i,w),this.h[2]=l(this.h[3],n,s),this.h[3]=l(this.h[4],c,t),this.h[4]=l(this.h[0],d,u),this.h[0]=y},d.prototype._digest=function(a){return"hex"===a?i.toHex32(this.h,"little"):i.split32(this.h,"little")};var o=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],p=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],q=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],r=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},{"../hash":113}],117:[function(a,b,c){function d(){return this instanceof d?(V.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=W,void(this.W=new Array(64))):new d}function e(){return this instanceof e?(d.call(this),void(this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])):new e}function f(){return this instanceof f?(V.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=X,void(this.W=new Array(160))):new f}function g(){return this instanceof g?(f.call(this),void(this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428])):new g}function h(){return this instanceof h?(V.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],void(this.W=new Array(80))):new h}function i(a,b,c){return a&b^~a&c}function j(a,b,c){return a&b^a&c^b&c}function k(a,b,c){return a^b^c}function l(a){return F(a,2)^F(a,13)^F(a,22)}function m(a){return F(a,6)^F(a,11)^F(a,25)}function n(a){return F(a,7)^F(a,18)^a>>>3}function o(a){return F(a,17)^F(a,19)^a>>>10}function p(a,b,c,d){return 0===a?i(b,c,d):1===a||3===a?k(b,c,d):2===a?j(b,c,d):void 0}function q(a,b,c,d,e,f){var g=a&c^~a&e;return 0>g&&(g+=4294967296),g}function r(a,b,c,d,e,f){var g=b&d^~b&f;return 0>g&&(g+=4294967296),g}function s(a,b,c,d,e,f){var g=a&c^a&e^c&e;return 0>g&&(g+=4294967296),g}function t(a,b,c,d,e,f){var g=b&d^b&f^d&f;return 0>g&&(g+=4294967296),g}function u(a,b){var c=K(a,b,28),d=K(b,a,2),e=K(b,a,7),f=c^d^e;return 0>f&&(f+=4294967296),f}function v(a,b){var c=L(a,b,28),d=L(b,a,2),e=L(b,a,7),f=c^d^e;return 0>f&&(f+=4294967296),f}function w(a,b){var c=K(a,b,14),d=K(a,b,18),e=K(b,a,9),f=c^d^e;return 0>f&&(f+=4294967296),f}function x(a,b){var c=L(a,b,14),d=L(a,b,18),e=L(b,a,9),f=c^d^e;return 0>f&&(f+=4294967296),f}function y(a,b){var c=K(a,b,1),d=K(a,b,8),e=M(a,b,7),f=c^d^e;return 0>f&&(f+=4294967296),f}function z(a,b){var c=L(a,b,1),d=L(a,b,8),e=N(a,b,7),f=c^d^e;return 0>f&&(f+=4294967296),f}function A(a,b){var c=K(a,b,19),d=K(b,a,29),e=M(a,b,6),f=c^d^e;return 0>f&&(f+=4294967296),f}function B(a,b){var c=L(a,b,19),d=L(b,a,29),e=N(a,b,6),f=c^d^e;return 0>f&&(f+=4294967296),f}var C=a("../hash"),D=C.utils,E=D.assert,F=D.rotr32,G=D.rotl32,H=D.sum32,I=D.sum32_4,J=D.sum32_5,K=D.rotr64_hi,L=D.rotr64_lo,M=D.shr64_hi,N=D.shr64_lo,O=D.sum64,P=D.sum64_hi,Q=D.sum64_lo,R=D.sum64_4_hi,S=D.sum64_4_lo,T=D.sum64_5_hi,U=D.sum64_5_lo,V=C.common.BlockHash,W=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],X=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],Y=[1518500249,1859775393,2400959708,3395469782];D.inherits(d,V),c.sha256=d,d.blockSize=512,d.outSize=256,d.hmacStrength=192,d.padLength=64,d.prototype._update=function(a,b){for(var c=this.W,d=0;16>d;d++)c[d]=a[b+d];for(;dd;d++)c[d]=a[b+d];for(;dd;d++)c[d]=a[b+d];for(;d>8,g=255&e;f?c.push(f,g):c.push(g)}else for(var d=0;d>>24|a>>>8&65280|a<<8&16711680|(255&a)<<24;return b>>>0}function g(a,b){for(var c="",d=0;d>>0}return f}function k(a,b){for(var c=new Array(4*a.length),d=0,e=0;d>>24,c[e+1]=f>>>16&255,c[e+2]=f>>>8&255,c[e+3]=255&f):(c[e+3]=f>>>24,c[e+2]=f>>>16&255,c[e+1]=f>>>8&255,c[e]=255&f)}return c}function l(a,b){return a>>>b|a<<32-b}function m(a,b){return a<>>32-b}function n(a,b){return a+b>>>0}function o(a,b,c){return a+b+c>>>0}function p(a,b,c,d){return a+b+c+d>>>0}function q(a,b,c,d,e){return a+b+c+d+e>>>0}function r(a,b){if(!a)throw new Error(b||"Assertion failed")}function s(a,b,c,d){var e=a[b],f=a[b+1],g=d+f>>>0,h=(d>g?1:0)+c+e;a[b]=h>>>0,a[b+1]=g}function t(a,b,c,d){var e=b+d>>>0,f=(b>e?1:0)+a+c;return f>>>0}function u(a,b,c,d){var e=b+d;return e>>>0}function v(a,b,c,d,e,f,g,h){var i=0,j=b;j=j+d>>>0,i+=b>j?1:0,j=j+f>>>0,i+=f>j?1:0,j=j+h>>>0,i+=h>j?1:0;var k=a+c+e+g+i;return k>>>0}function w(a,b,c,d,e,f,g,h){var i=b+d+f+h;return i>>>0}function x(a,b,c,d,e,f,g,h,i,j){var k=0,l=b;l=l+d>>>0,k+=b>l?1:0,l=l+f>>>0,k+=f>l?1:0,l=l+h>>>0,k+=h>l?1:0,l=l+j>>>0,k+=j>l?1:0;var m=a+c+e+g+i+k;return m>>>0}function y(a,b,c,d,e,f,g,h,i,j){var k=b+d+f+h+j;return k>>>0}function z(a,b,c){var d=b<<32-c|a>>>c;return d>>>0}function A(a,b,c){var d=a<<32-c|b>>>c;return d>>>0}function B(a,b,c){return a>>>c}function C(a,b,c){var d=a<<32-c|b>>>c;return d>>>0}var D=c,E=a("inherits");D.toArray=d,D.toHex=e,D.htonl=f,D.toHex32=g,D.zero2=h,D.zero8=i,D.join32=j,D.split32=k,D.rotr32=l,D.rotl32=m,D.sum32=n,D.sum32_3=o,D.sum32_4=p,D.sum32_5=q,D.assert=r,D.inherits=E,c.sum64=s,c.sum64_hi=t,c.sum64_lo=u,c.sum64_4_hi=v,c.sum64_4_lo=w,c.sum64_5_hi=x,c.sum64_5_lo=y,c.rotr64_hi=z,c.rotr64_lo=A,c.shr64_hi=B,c.shr64_lo=C},{inherits:119}],119:[function(a,b,c){"function"==typeof Object.create?b.exports=function(a,b){a.super_=b,a.prototype=Object.create(b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}:b.exports=function(a,b){a.super_=b;var c=function(){};c.prototype=b.prototype,a.prototype=new c,a.prototype.constructor=a}},{}],120:[function(a,b,c){(function(a){(function(){function d(a,b,c){for(var d=(c||0)-1,e=a?a.length:0;++d-1?0:-1:a?0:-1}function f(a){var b=this.cache,c=typeof a;if("boolean"==c||null==a)b[a]=!0;else{"number"!=c&&"string"!=c&&(c="object");var d="number"==c?a:u+a,e=b[c]||(b[c]={});"object"==c?(e[d]||(e[d]=[])).push(a):e[d]=!0}}function g(a){return a.charCodeAt(0)}function h(a,b){for(var c=a.criteria,d=b.criteria,e=-1,f=c.length;++eh||"undefined"==typeof g)return 1;if(h>g||"undefined"==typeof h)return-1}}return a.index-b.index}function i(a){var b=-1,c=a.length,d=a[0],e=a[c/2|0],g=a[c-1];if(d&&"object"==typeof d&&e&&"object"==typeof e&&g&&"object"==typeof g)return!1;var h=l();h["false"]=h["null"]=h["true"]=h.undefined=!1;var i=l();for(i.array=a,i.cache=h,i.push=f;++be?0:e);++d=v&&f===d,j=[];if(h){var k=i(b);k?(f=e,b=k):h=!1}for(;++c-1:void 0});return e.pop(),f.pop(),s&&(m(e),m(f)),g}function ba(a,b,c,d,e){(Zc(b)?Ya:hd)(b,function(b,f){var g,h,i=b,j=a[f];if(b&&((h=Zc(b))||id(b))){for(var k=d.length;k--;)if(g=d[k]==b){j=e[k];break}if(!g){var l;c&&(i=c(j,b),(l="undefined"!=typeof i)&&(j=i)),l||(j=h?Zc(j)?j:[]:id(j)?j:{}),d.push(b),e.push(j),l||ba(j,b,c,d,e)}}else c&&(i=c(j,b),"undefined"==typeof i&&(i=b)),"undefined"!=typeof i&&(j=i);a[f]=j})}function da(a,b){return a+Ec(Vc()*(b-a+1))}function ea(a,b,c){var f=-1,g=ia(),h=a?a.length:0,j=[],l=!b&&h>=v&&g===d,o=c||l?k():j;if(l){var p=i(o);g=e,o=p}for(;++f3&&"function"==typeof b[c-2])var d=w(b[--c-1],b[c--],2);else c>2&&"function"==typeof b[c-1]&&(d=b[--c]);for(var e=o(arguments,1,c),f=-1,g=k(),h=k();++fc?Sc(0,f+c):c)||0,Zc(a)?g=e(a,b,c)>-1:"number"==typeof f?g=(Ja(a)?a.indexOf(b,c):e(a,b,c))>-1:hd(a,function(a){return++d>=c?!(g=a===b):void 0}),g}function Ua(a,c,d){var e=!0;c=b.createCallback(c,d,3);var f=-1,g=a?a.length:0;if("number"==typeof g)for(;++ff&&(f=j)}else c=null==c&&Ja(a)?g:b.createCallback(c,d,3),Ya(a,function(a,b,d){var g=c(a,b,d);g>e&&(e=g,f=a)});return f}function bb(a,c,d){var e=1/0,f=e;if("function"!=typeof c&&d&&d[c]===a&&(c=null),null==c&&Zc(a))for(var h=-1,i=a.length;++hj&&(f=j)}else c=null==c&&Ja(a)?g:b.createCallback(c,d,3),Ya(a,function(a,b,d){var g=c(a,b,d);e>g&&(e=g,f=a)});return f}function cb(a,c,d,e){if(!a)return d;var f=arguments.length<3;c=b.createCallback(c,e,4);var g=-1,h=a.length;if("number"==typeof h)for(f&&(d=a[++g]);++gc?Sc(0,e+c):c||0}else if(c){var f=Ab(a,b);return a[f]===b?f:-1}return d(a,b,c)}function sb(a,c,d){var e=0,f=a?a.length:0;if("number"!=typeof c&&null!=c){var g=f;for(c=b.createCallback(c,d,3);g--&&c(a[g],g,a);)e++}else e=null==c||d?1:c||e;return o(a,0,Tc(Sc(0,f-e),f))}function tb(){for(var a=[],b=-1,c=arguments.length,f=k(),g=ia(),h=g===d,j=k();++b=v&&i(b?a[b]:j)))}var o=a[0],p=-1,q=o?o.length:0,r=[];a:for(;++pc?Sc(0,d+c):Tc(c,d-1))+1);d--;)if(a[d]===b)return d;return-1}function wb(a){for(var b=arguments,c=0,d=b.length,e=a?a.length:0;++cf;){var h=f+g>>>1;d(a[h])1?arguments:arguments[0],b=-1,c=a?ab(md(a,"length")):0,d=nc(0>c?0:c);++b2?ga(a,17,o(arguments,2),null,b):ga(a,1,null,null,b)}function Jb(a){for(var b=arguments.length>1?_(arguments,!0,!1,1):ua(a),c=-1,d=b.length;++c2?ga(b,19,o(arguments,2),null,a):ga(b,3,null,null,a)}function Lb(){for(var a=arguments,b=a.length;b--;)if(!Da(a[b]))throw new wc;return function(){for(var b=arguments,c=a.length;c--;)b=[a[c].apply(this,b)];return b[0]}}function Mb(a,b){return b="number"==typeof b?b:+b||a.length,ga(a,4,null,null,null,b)}function Nb(a,b,c){var d,e,f,g,h,i,j,k=0,l=!1,m=!0;if(!Da(a))throw new wc;if(b=Sc(0,b)||0,c===!0){var n=!0;m=!1}else Ea(c)&&(n=c.leading,l="maxWait"in c&&(Sc(b,c.maxWait)||0),m="trailing"in c?c.trailing:m);var o=function(){var c=b-(od()-g);if(0>=c){e&&Dc(e);var l=j;e=i=j=q,l&&(k=od(),f=a.apply(h,d),i||e||(d=h=null))}else i=Jc(o,c)},p=function(){i&&Dc(i),e=i=j=q,(m||l!==b)&&(k=od(),f=a.apply(h,d),i||e||(d=h=null))};return function(){if(d=arguments,g=od(),h=this,j=m&&(i||!n),l===!1)var c=n&&!i;else{e||n||(k=g);var q=l-(g-k),r=0>=q;r?(e&&(e=Dc(e)),k=g,f=a.apply(h,d)):e||(e=Jc(p,q))}return r&&i?i=Dc(i):i||b===l||(i=Jc(o,b)),c&&(r=!0,f=a.apply(h,d)),!r||i||e||(d=h=null),f}}function Ob(a){if(!Da(a))throw new wc;var b=o(arguments,1);return Jc(function(){a.apply(q,b)},1)}function Pb(a,b){if(!Da(a))throw new wc;var c=o(arguments,2);return Jc(function(){a.apply(q,c)},b)}function Qb(a,b){if(!Da(a))throw new wc;var c=function(){var d=c.cache,e=b?b.apply(this,arguments):u+arguments[0];return Hc.call(d,e)?d[e]:d[e]=a.apply(this,arguments)};return c.cache={},c}function Rb(a){var b,c;if(!Da(a))throw new wc;return function(){return b?c:(b=!0,c=a.apply(this,arguments),a=null,c)}}function Sb(a){return ga(a,16,o(arguments,1))}function Tb(a){return ga(a,32,null,o(arguments,1))}function Ub(a,b,c){var d=!0,e=!0;if(!Da(a))throw new wc;return c===!1?d=!1:Ea(c)&&(d="leading"in c?c.leading:d,e="trailing"in c?c.trailing:e),V.leading=d,V.maxWait=b,V.trailing=e,Nb(a,b,V)}function Vb(a,b){return ga(b,16,[a])}function Wb(a){return function(){return a}}function Xb(a,b,c){var d=typeof a;if(null==a||"function"==d)return w(a,b,c);if("object"!=d)return bc(a);var e=_c(a),f=e[0],g=a[f];return 1!=e.length||g!==g||Ea(g)?function(b){for(var c=e.length,d=!1;c--&&(d=aa(b[e[c]],a[e[c]],null,!0)););return d}:function(a){var b=a[f];return g===b&&(0!==g||1/g==1/b)}}function Yb(a){return null==a?"":vc(a).replace(dd,ha)}function Zb(a){return a}function $b(a,d,e){var f=!0,g=d&&ua(d);d&&(e||g.length)||(null==e&&(e=d),h=c,d=a,a=b,g=ua(d)),e===!1?f=!1:Ea(e)&&"chain"in e&&(f=e.chain);var h=a,i=Da(h);Ya(g,function(b){var c=a[b]=d[b];i&&(h.prototype[b]=function(){var b=this.__chain__,d=this.__wrapped__,e=[d];Ic.apply(e,arguments);var g=c.apply(a,e);if(f||b){if(d===g&&Ea(g))return this;g=new h(g),g.__chain__=b}return g})})}function _b(){return a._=zc,this}function ac(){}function bc(a){return function(b){return b[a]}}function cc(a,b,c){var d=null==a,e=null==b;if(null==c&&("boolean"==typeof a&&e?(c=a,a=1):e||"boolean"!=typeof b||(c=b,e=!0)),d&&e&&(b=1),a=+a||0,e?(b=a,a=0):b=+b||0,c||a%1||b%1){var f=Vc();return Tc(a+f*(b-a+parseFloat("1e-"+((f+"").length-1))),b)}return da(a,b)}function dc(a,b){if(a){var c=a[b];return Da(c)?a[b]():c}}function ec(a,c,d){var e=b.templateSettings;a=vc(a||""),d=fd({},d,e);var f,g=fd({},d.imports,e.imports),h=_c(g),i=Ra(g),k=0,l=d.interpolate||G,m="__p += '",n=uc((d.escape||G).source+"|"+l.source+"|"+(l===E?B:G).source+"|"+(d.evaluate||G).source+"|$","g");a.replace(n,function(b,c,d,e,g,h){return d||(d=e),m+=a.slice(k,h).replace(I,j),c&&(m+="' +\n__e("+c+") +\n'"),g&&(f=!0,m+="';\n"+g+";\n__p += '"),d&&(m+="' +\n((__t = ("+d+")) == null ? '' : __t) +\n'"),k=h+b.length,b}),m+="';\n";var o=d.variable,p=o;p||(o="obj",m="with ("+o+") {\n"+m+"\n}\n"),m=(f?m.replace(y,""):m).replace(z,"$1").replace(A,"$1;"),m="function("+o+") {\n"+(p?"":o+" || ("+o+" = {});\n")+"var __t, __p = '', __e = _.escape"+(f?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+m+"return __p\n}";var r="\n/*\n//# sourceURL="+(d.sourceURL||"/lodash/template/source["+K++ +"]")+"\n*/";try{var s=qc(h,"return "+m+r).apply(q,i)}catch(t){throw t.source=m,t}return c?s(c):(s.source=m,s)}function fc(a,b,c){a=(a=+a)>-1?a:0;var d=-1,e=nc(a);for(b=w(b,c,1);++d/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:E,variable:"",imports:{_:b}},Nc||(s=function(){function b(){}return function(c){if(Ea(c)){b.prototype=c;var d=new b;b.prototype=null}return d||a.Object()}}());var Yc=Mc?function(a,b){W.value=b,Mc(a,"__bindData__",W)}:ac,Zc=Oc||function(a){return a&&"object"==typeof a&&"number"==typeof a.length&&Ac.call(a)==M||!1},$c=function(a){var b,c=a,d=[];if(!c)return d;if(!X[typeof a])return d;for(b in c)Hc.call(c,b)&&d.push(b);return d},_c=Rc?function(a){return Ea(a)?Rc(a):[]}:$c,ad={"&":"&","<":"<",">":">",'"':""","'":"'"},bd=wa(ad),cd=uc("("+_c(bd).join("|")+")","g"),dd=uc("["+_c(ad).join("")+"]","g"),ed=function(a,b,c){var d,e=a,f=e;if(!e)return f;var g=arguments,h=0,i="number"==typeof c?2:g.length;if(i>3&&"function"==typeof g[i-2])var j=w(g[--i-1],g[i--],2);else i>2&&"function"==typeof g[i-1]&&(j=g[--i]);for(;++h/g,F=RegExp("^["+x+"]*0+(?=.$)"),G=/($^)/,H=/\bthis\b/,I=/['\n\r\t\u2028\u2029\\]/g,J=["Array","Boolean","Date","Function","Math","Number","Object","RegExp","String","_","attachEvent","clearTimeout","isFinite","isNaN","parseInt","setTimeout"],K=0,L="[object Arguments]",M="[object Array]",N="[object Boolean]",O="[object Date]",P="[object Function]",Q="[object Number]",R="[object Object]",S="[object RegExp]",T="[object String]",U={};U[P]=!1,U[L]=U[M]=U[N]=U[O]=U[Q]=U[R]=U[S]=U[T]=!0;var V={leading:!1,maxWait:0,trailing:!1},W={configurable:!1,enumerable:!1,value:null,writable:!1},X={"boolean":!1,"function":!0,object:!0,number:!1,string:!1,undefined:!1},Y={"\\":"\\","'":"'","\n":"n","\r":"r"," ":"t","\u2028":"u2028","\u2029":"u2029"},Z=X[typeof window]&&window||this,$=X[typeof c]&&c&&!c.nodeType&&c,_=X[typeof b]&&b&&!b.nodeType&&b,aa=_&&_.exports===$&&$,ba=X[typeof a]&&a;!ba||ba.global!==ba&&ba.window!==ba||(Z=ba);var ca=p();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(Z._=ca,define(function(){return ca})):$&&_?aa?(_.exports=ca)._=ca:$._=ca:Z._=ca}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],121:[function(a,b,c){(function(c){var d=a("./word-array"),e=function(){function a(){}return{extend:function(b){a.prototype=this;var c=new a;return b&&c.mixIn(b),c.hasOwnProperty("init")||(c.init=function(){c.$super.init.apply(this,arguments)}),c.init.prototype=c,c.$super=this,c},create:function(){var a=this.extend();return a.init.apply(a,arguments),a},init:function(){},mixIn:function(a){for(var b in a)a.hasOwnProperty(b)&&(this[b]=a[b]);a.hasOwnProperty("toString")&&(this.toString=a.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=e.extend({reset:function(){this._data=new d,this._nDataBytes=0},_append:function(a){c.isBuffer(a)&&(a=d.fromBuffer(a)),this._data.concat(a),this._nDataBytes+=a.sigBytes},_process:function(a){var b=this._data,c=b.words,e=b.sigBytes,f=this.blockSize,g=4*f,h=e/g;h=a?Math.ceil(h):Math.max((0|h)-this._minBufferSize,0);var i=h*f,j=Math.min(4*i,e);if(i){for(var k=0;i>k;k+=f)this._doProcessBlock(c,k);var l=c.splice(0,i);b.sigBytes-=j}return new d(l,j)},clone:function(){var a=e.clone.call(this);return a._data=this._data.clone(),a},_minBufferSize:0}),g=f.extend({cfg:e.extend(),init:function(a){this.cfg=this.cfg.extend(a),this.reset()},reset:function(){f.reset.call(this),this._doReset()},update:function(a){return"string"==typeof a&&(a=d.fromBuffer(new c(a,"utf8"))),c.isBuffer(a)&&(a=d.fromBuffer(a)),this._append(a),this._process(),this},finalize:function(a){"string"==typeof a&&(a=d.fromBuffer(new c(a,"utf8"))),c.isBuffer(a)&&(a=d.fromBuffer(a)),a&&this._append(a);var b=this._doFinalize();return b.toBuffer()},blockSize:16,_createHelper:function(a){return function(b,c){return new a.init(c).finalize(b)}}});b.exports.Hasher=g}).call(this,a("buffer").Buffer)},{"./word-array":125,buffer:145}],122:[function(a,b,c){(function(c){function d(a){if(!(this instanceof d))return new d(a);var b=this._hasher=new e.init;"string"==typeof a&&(a=f.fromBuffer(new c(a,"utf8"))),c.isBuffer(a)&&(a=f.fromBuffer(a));var g=b.blockSize,h=4*g;a.sigBytes>h&&(a=b.finalize(a)),a.clamp();for(var i=this._oKey=a.clone(),j=this._iKey=a.clone(),k=i.words,l=j.words,m=0;g>m;m++)k[m]^=1549556828,l[m]^=909522486;i.sigBytes=j.sigBytes=h,this.reset()}var e=a("./sha512").sha512,f=a("./word-array");d.prototype.reset=function(){var a=this._hasher;a.reset(),a.update(this._iKey)},d.prototype.update=function(a){return"string"==typeof a&&(a=f.fromBuffer(new c(a,"utf8"))),c.isBuffer(a)&&(a=f.fromBuffer(a)),this._hasher.update(a),this},d.prototype.finalize=function(a){"string"==typeof a&&(a=f.fromBuffer(new c(a,"utf8"))),c.isBuffer(a)&&(a=f.fromBuffer(a));var b=this._hasher,d=b.finalize(a);b.reset();var e=b.finalize(this._oKey.clone().concat(d));return e},b.exports=d}).call(this,a("buffer").Buffer)},{"./sha512":124,"./word-array":125,buffer:145}],123:[function(a,b,c){b.exports=a("./sha512"),b.exports.hmac=a("./hmac")},{"./hmac":122,"./sha512":124}],124:[function(a,b,c){var d=a("./cryptojs").Hasher,e=a("./x64"),f=e.Word,g=e.WordArray,h=[f(1116352408,3609767458),f(1899447441,602891725),f(3049323471,3964484399),f(3921009573,2173295548),f(961987163,4081628472),f(1508970993,3053834265),f(2453635748,2937671579),f(2870763221,3664609560),f(3624381080,2734883394),f(310598401,1164996542),f(607225278,1323610764),f(1426881987,3590304994),f(1925078388,4068182383),f(2162078206,991336113),f(2614888103,633803317),f(3248222580,3479774868),f(3835390401,2666613458),f(4022224774,944711139),f(264347078,2341262773),f(604807628,2007800933),f(770255983,1495990901),f(1249150122,1856431235),f(1555081692,3175218132),f(1996064986,2198950837),f(2554220882,3999719339),f(2821834349,766784016),f(2952996808,2566594879),f(3210313671,3203337956),f(3336571891,1034457026),f(3584528711,2466948901),f(113926993,3758326383),f(338241895,168717936),f(666307205,1188179964),f(773529912,1546045734),f(1294757372,1522805485),f(1396182291,2643833823),f(1695183700,2343527390),f(1986661051,1014477480),f(2177026350,1206759142),f(2456956037,344077627),f(2730485921,1290863460),f(2820302411,3158454273),f(3259730800,3505952657),f(3345764771,106217008),f(3516065817,3606008344),f(3600352804,1432725776),f(4094571909,1467031594),f(275423344,851169720),f(430227734,3100823752),f(506948616,1363258195),f(659060556,3750685593),f(883997877,3785050280),f(958139571,3318307427),f(1322822218,3812723403),f(1537002063,2003034995),f(1747873779,3602036899),f(1955562222,1575990012),f(2024104815,1125592928),f(2227730452,2716904306),f(2361852424,442776044),f(2428436474,593698344),f(2756734187,3733110249),f(3204031479,2999351573),f(3329325298,3815920427),f(3391569614,3928383900),f(3515267271,566280711),f(3940187606,3454069534),f(4118630271,4000239992),f(116418474,1914138554),f(174292421,2731055270),f(289380356,3203993006),f(460393269,320620315),f(685471733,587496836),f(852142971,1086792851),f(1017036298,365543100),f(1126000580,2618297676),f(1288033470,3409855158),f(1501505948,4234509866),f(1607167915,987167468),f(1816402316,1246189591)],i=[];!function(){for(var a=0;80>a;a++)i[a]=f()}();var j=d.extend({_doReset:function(){this._hash=new g([f(1779033703,4089235720),f(3144134277,2227873595),f(1013904242,4271175723),f(2773480762,1595750129),f(1359893119,2917565137),f(2600822924,725511199),f(528734635,4215389547),f(1541459225,327033209)])},_doProcessBlock:function(a,b){for(var c=this._hash.words,d=c[0],e=c[1],f=c[2],g=c[3],j=c[4],k=c[5],l=c[6],m=c[7],n=d.high,o=d.low,p=e.high,q=e.low,r=f.high,s=f.low,t=g.high,u=g.low,v=j.high,w=j.low,x=k.high,y=k.low,z=l.high,A=l.low,B=m.high,C=m.low,D=n,E=o,F=p,G=q,H=r,I=s,J=t,K=u,L=v,M=w,N=x,O=y,P=z,Q=A,R=B,S=C,T=0;80>T;T++){var U=i[T];if(16>T)var V=U.high=0|a[b+2*T],W=U.low=0|a[b+2*T+1];else{var X=i[T-15],Y=X.high,Z=X.low,$=(Y>>>1|Z<<31)^(Y>>>8|Z<<24)^Y>>>7,_=(Z>>>1|Y<<31)^(Z>>>8|Y<<24)^(Z>>>7|Y<<25),aa=i[T-2],ba=aa.high,ca=aa.low,da=(ba>>>19|ca<<13)^(ba<<3|ca>>>29)^ba>>>6,ea=(ca>>>19|ba<<13)^(ca<<3|ba>>>29)^(ca>>>6|ba<<26),fa=i[T-7],ga=fa.high,ha=fa.low,ia=i[T-16],ja=ia.high,ka=ia.low,W=_+ha,V=$+ga+(_>>>0>W>>>0?1:0),W=W+ea,V=V+da+(ea>>>0>W>>>0?1:0),W=W+ka,V=V+ja+(ka>>>0>W>>>0?1:0);U.high=V,U.low=W}var la=L&N^~L&P,ma=M&O^~M&Q,na=D&F^D&H^F&H,oa=E&G^E&I^G&I,pa=(D>>>28|E<<4)^(D<<30|E>>>2)^(D<<25|E>>>7),qa=(E>>>28|D<<4)^(E<<30|D>>>2)^(E<<25|D>>>7),ra=(L>>>14|M<<18)^(L>>>18|M<<14)^(L<<23|M>>>9),sa=(M>>>14|L<<18)^(M>>>18|L<<14)^(M<<23|L>>>9),ta=h[T],ua=ta.high,va=ta.low,wa=S+sa,xa=R+ra+(S>>>0>wa>>>0?1:0),wa=wa+ma,xa=xa+la+(ma>>>0>wa>>>0?1:0),wa=wa+va,xa=xa+ua+(va>>>0>wa>>>0?1:0),wa=wa+W,xa=xa+V+(W>>>0>wa>>>0?1:0),ya=qa+oa,za=pa+na+(qa>>>0>ya>>>0?1:0);R=P,S=Q,P=N,Q=O,N=L,O=M,M=K+wa|0,L=J+xa+(K>>>0>M>>>0?1:0)|0,J=H,K=I,H=F,I=G,F=D,G=E,E=wa+ya|0,D=xa+za+(wa>>>0>E>>>0?1:0)|0}o=d.low=o+E,d.high=n+D+(E>>>0>o>>>0?1:0),q=e.low=q+G,e.high=p+F+(G>>>0>q>>>0?1:0),s=f.low=s+I,f.high=r+H+(I>>>0>s>>>0?1:0),u=g.low=u+K,g.high=t+J+(K>>>0>u>>>0?1:0),w=j.low=w+M,j.high=v+L+(M>>>0>w>>>0?1:0),y=k.low=y+O,k.high=x+N+(O>>>0>y>>>0?1:0),A=l.low=A+Q,l.high=z+P+(Q>>>0>A>>>0?1:0),C=m.low=C+S,m.high=B+R+(S>>>0>C>>>0?1:0)},_doFinalize:function(){var a=this._data,b=a.words,c=8*this._nDataBytes,d=8*a.sigBytes;b[d>>>5]|=128<<24-d%32,b[(d+128>>>10<<5)+30]=Math.floor(c/4294967296),b[(d+128>>>10<<5)+31]=c,a.sigBytes=4*b.length,this._process();var e=this._hash.toX32();return e},clone:function(){var a=d.clone.call(this);return a._hash=this._hash.clone(),a},blockSize:32});b.exports=d._createHelper(j),b.exports.sha512=j},{"./cryptojs":121,"./x64":126}],125:[function(a,b,c){(function(a,c){function d(a,b){this.words=a||[],void 0!=b?this.sigBytes=b:this.sigBytes=4*this.words.length}b.exports=d,d.prototype.concat=function(a){c.isBuffer(a)&&(a=d.fromBuffer(a));var b=this.words,e=a.words,f=this.sigBytes,g=a.sigBytes;if(this.clamp(),f%4)for(var h=0;g>h;h++){var i=e[h>>>2]>>>24-h%4*8&255;b[f+h>>>2]|=i<<24-(f+h)%4*8}else if(e.length>65535)for(var h=0;g>h;h+=4)b[f+h>>>2]=e[h>>>2];else b.push.apply(b,e);return this.sigBytes+=g,this},d.prototype.clamp=function(){var a=this.words,b=this.sigBytes;a[b>>>2]&=4294967295<<32-b%4*8,a.length=Math.ceil(b/4)},d.prototype.clone=function(){var a=new d(this.words.slice(0));return a},d.prototype.toBuffer=function(){for(var a=new c(4*this.words.length),b=0;bg;g+=4){var h=b.readUInt32BE(g);f.push(h)}for(var i=0,j=c-e,k=0;e>k;k+=1)i|=b.readUInt8(j+k)<<8*(3-k);return e>0&&f.push(i),new d(f,b.length)}for(var g=0;c>g;g+=4){var h=b.readUInt32BE(g,!0);f.push(h)}return new d(f,b.length)}}).call(this,a("_process"),a("buffer").Buffer)},{_process:301,buffer:145}],126:[function(a,b,c){function d(a,b){return this instanceof d?(this.high=a,void(this.low=b)):new d(a,b)}function e(a){this.words=a||[]}var f=a("./word-array");e.prototype.toX32=function(){for(var a=this.words,b=a.length,c=[],d=0;b>d;d++){var e=a[d];c.push(e.high),c.push(e.low)}return new f(c,this.sigBytes)},b.exports.Word=d,b.exports.WordArray=e},{"./word-array":125}],127:[function(a,b,c){b.exports={name:"bitcore",version:"0.13.0",description:"A pure and powerful JavaScript Bitcoin library.",author:{name:"BitPay",email:"dev@bitpay.com"},main:"index.js",scripts:{lint:"gulp lint",test:"gulp test",coverage:"gulp coverage",build:"gulp"},contributors:[{name:"Daniel Cousens",email:"bitcoin@dcousens.com"},{name:"Esteban Ordano",email:"eordano@gmail.com"},{name:"Gordon Hall",email:"gordon@bitpay.com"},{name:"Jeff Garzik",email:"jgarzik@bitpay.com"},{name:"Kyle Drake",email:"kyle@kyledrake.net"},{name:"Manuel Araoz",email:"manuelaraoz@gmail.com"},{name:"Matias Alejo Garcia",email:"ematiu@gmail.com"},{name:"Ryan X. Charles",email:"ryanxcharles@gmail.com"},{name:"Stefan Thomas",email:"moon@justmoon.net"},{name:"Stephen Pair",email:"stephen@bitpay.com"},{name:"Wei Lu",email:"luwei.here@gmail.com"}],keywords:["bitcoin","transaction","address","p2p","ecies","cryptocurrency","blockchain","payment","bip21","bip32","bip37","bip70","multisig"],repository:{type:"git",url:"git+https://github.com/bitpay/bitcore.git"},browser:{request:"browser-request"},dependencies:{"bn.js":"=2.0.4",bs58:"=2.0.0",elliptic:"=3.0.3","hash.js":"=1.0.2",inherits:"=2.0.1",lodash:"=2.4.1",sha512:"=0.0.1"},devDependencies:{"bitcore-build":"github:bitpay/bitcore-build",brfs:"^1.2.0",chai:"^1.10.0",gulp:"^3.8.10",sinon:"^1.13.0"},license:"MIT",gitHead:"f059dbf0f4726c360f4ad4e96a762e54795dcd55",bugs:{url:"https://github.com/bitpay/bitcore/issues"},homepage:"https://github.com/bitpay/bitcore#readme",_id:"bitcore@0.13.0",_shasum:"a8ae0d014fc9be66d125de4701e7ee1f9d7d136f",_from:"bitcore@0.13.0",_npmVersion:"2.11.3",_nodeVersion:"0.12.7",_npmUser:{name:"braydonf",email:"braydon@bitpay.com"},maintainers:[{name:"gasteve",email:"stephen@pairhome.net"},{name:"braydonf",email:"braydon@bitpay.com"}],dist:{shasum:"a8ae0d014fc9be66d125de4701e7ee1f9d7d136f",tarball:"http://registry.npmjs.org/bitcore/-/bitcore-0.13.0.tgz"},directories:{},_resolved:"https://registry.npmjs.org/bitcore/-/bitcore-0.13.0.tgz",readme:"ERROR: No README data found!"}},{}],128:[function(a,b,c){!function(a,d){"function"==typeof define&&define.amd?define([],d):"object"==typeof c?b.exports=d():a.returnExports=d()}(this,function(){function a(e,f){if("function"!=typeof f)throw new Error("Bad callback given: "+f);if(!e)throw new Error("No options given");var h=e.onResponse;if(e="string"==typeof e?{uri:e}:JSON.parse(JSON.stringify(e)),e.onResponse=h,e.verbose&&(a.log=d()),e.url&&(e.uri=e.url,delete e.url),!e.uri&&""!==e.uri)throw new Error("options.uri is a required argument");if("string"!=typeof e.uri)throw new Error("options.uri must be a string");for(var i=["proxy","_redirectsFollowed","maxRedirects","followRedirect"],j=0;j>18&63,f=i>>12&63,g=i>>6&63,h=63&i,n[l++]=j.charAt(e)+j.charAt(f)+j.charAt(g)+j.charAt(h);while(k299)&&c.error){a=new Error("CouchDB error: "+(c.error.reason||c.error.error));for(var e in c)a[e]=c[e];return d(a,b,c)}return d(a,b,c)}"string"==typeof b&&(b={uri:b}),b.json=!0,b.body&&(b.json=b.body),delete b.body,d=d||c;var f=a(b,e);return f},a})},{}],129:[function(a,b,c){},{}],130:[function(a,b,c){function d(a,b){return n.isUndefined(b)?""+b:n.isNumber(b)&&!isFinite(b)?b.toString():n.isFunction(b)||n.isRegExp(b)?b.toString():b}function e(a,b){return n.isString(a)?a.length=0;f--)if(g[f]!=h[f])return!1;for(f=g.length-1;f>=0;f--)if(e=g[f],!i(a[e],b[e]))return!1;return!0}function l(a,b){return a&&b?"[object RegExp]"==Object.prototype.toString.call(b)?b.test(a):a instanceof b?!0:b.call({},a)===!0?!0:!1:!1}function m(a,b,c,d){var e;n.isString(c)&&(d=c,c=null);try{b()}catch(f){e=f}if(d=(c&&c.name?" ("+c.name+").":".")+(d?" "+d:"."),a&&!e&&g(e,c,"Missing expected exception"+d),!a&&l(e,c)&&g(e,c,"Got unwanted exception"+d),a&&e&&c&&!l(e,c)||!a&&e)throw e}var n=a("util/"),o=Array.prototype.slice,p=Object.prototype.hasOwnProperty,q=b.exports=h;q.AssertionError=function(a){this.name="AssertionError",this.actual=a.actual,this.expected=a.expected,this.operator=a.operator,a.message?(this.message=a.message,this.generatedMessage=!1):(this.message=f(this),this.generatedMessage=!0);var b=a.stackStartFunction||g;if(Error.captureStackTrace)Error.captureStackTrace(this,b);else{var c=new Error;if(c.stack){var d=c.stack,e=b.name,h=d.indexOf("\n"+e);if(h>=0){var i=d.indexOf("\n",h+1);d=d.substring(i+1)}this.stack=d}}},n.inherits(q.AssertionError,Error),q.fail=g,q.ok=h,q.equal=function(a,b,c){a!=b&&g(a,b,c,"==",q.equal)},q.notEqual=function(a,b,c){a==b&&g(a,b,c,"!=",q.notEqual)},q.deepEqual=function(a,b,c){i(a,b)||g(a,b,c,"deepEqual",q.deepEqual)},q.notDeepEqual=function(a,b,c){i(a,b)&&g(a,b,c,"notDeepEqual",q.notDeepEqual)},q.strictEqual=function(a,b,c){a!==b&&g(a,b,c,"===",q.strictEqual)},q.notStrictEqual=function(a,b,c){a===b&&g(a,b,c,"!==",q.notStrictEqual)},q["throws"]=function(a,b,c){m.apply(this,[!0].concat(o.call(arguments)))},q.doesNotThrow=function(a,b){m.apply(this,[!1].concat(o.call(arguments)))},q.ifError=function(a){if(a)throw a};var r=Object.keys||function(a){var b=[];for(var c in a)p.call(a,c)&&b.push(c);return b}},{"util/":321}],131:[function(a,b,c){arguments[4][129][0].apply(c,arguments)},{dup:129}],132:[function(a,b,c){"use strict";var d="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;c.assign=function(a){for(var b=Array.prototype.slice.call(arguments,1);b.length;){var c=b.shift();if(c){if("object"!=typeof c)throw new TypeError(c+"must be non-object");for(var d in c)c.hasOwnProperty(d)&&(a[d]=c[d])}}return a},c.shrinkBuf=function(a,b){return a.length===b?a:a.subarray?a.subarray(0,b):(a.length=b,a)};var e={arraySet:function(a,b,c,d,e){if(b.subarray&&a.subarray)return void a.set(b.subarray(c,c+d),e);for(var f=0;d>f;f++)a[e+f]=b[c+f]},flattenChunks:function(a){var b,c,d,e,f,g;for(d=0,b=0,c=a.length;c>b;b++)d+=a[b].length;for(g=new Uint8Array(d),e=0,b=0,c=a.length;c>b;b++)f=a[b],g.set(f,e),e+=f.length;return g}},f={arraySet:function(a,b,c,d,e){for(var f=0;d>f;f++)a[e+f]=b[c+f]},flattenChunks:function(a){return[].concat.apply([],a)}};c.setTyped=function(a){a?(c.Buf8=Uint8Array,c.Buf16=Uint16Array,c.Buf32=Int32Array,c.assign(c,e)):(c.Buf8=Array,c.Buf16=Array,c.Buf32=Array,c.assign(c,f))},c.setTyped(d)},{}],133:[function(a,b,c){"use strict";function d(a,b,c,d){for(var e=65535&a|0,f=a>>>16&65535|0,g=0;0!==c;){g=c>2e3?2e3:c,c-=g;do e=e+b[d++]|0,f=f+e|0;while(--g);e%=65521,f%=65521}return e|f<<16|0}b.exports=d},{}],134:[function(a,b,c){b.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],135:[function(a,b,c){"use strict";function d(){for(var a,b=[],c=0;256>c;c++){a=c;for(var d=0;8>d;d++)a=1&a?3988292384^a>>>1:a>>>1;b[c]=a}return b}function e(a,b,c,d){var e=f,g=d+c;a=-1^a;for(var h=d;g>h;h++)a=a>>>8^e[255&(a^b[h])];return-1^a}var f=d();b.exports=e},{}],136:[function(a,b,c){"use strict";function d(a,b){return a.msg=G[b],b}function e(a){return(a<<1)-(a>4?9:0)}function f(a){for(var b=a.length;--b>=0;)a[b]=0}function g(a){var b=a.state,c=b.pending;c>a.avail_out&&(c=a.avail_out),0!==c&&(C.arraySet(a.output,b.pending_buf,b.pending_out,c,a.next_out),a.next_out+=c,b.pending_out+=c,a.total_out+=c,a.avail_out-=c,b.pending-=c,0===b.pending&&(b.pending_out=0))}function h(a,b){D._tr_flush_block(a,a.block_start>=0?a.block_start:-1,a.strstart-a.block_start,b),a.block_start=a.strstart,g(a.strm)}function i(a,b){a.pending_buf[a.pending++]=b}function j(a,b){a.pending_buf[a.pending++]=b>>>8&255,a.pending_buf[a.pending++]=255&b}function k(a,b,c,d){var e=a.avail_in;return e>d&&(e=d),0===e?0:(a.avail_in-=e,C.arraySet(b,a.input,a.next_in,e,c),1===a.state.wrap?a.adler=E(a.adler,b,e,c):2===a.state.wrap&&(a.adler=F(a.adler,b,e,c)),a.next_in+=e,a.total_in+=e,e)}function l(a,b){var c,d,e=a.max_chain_length,f=a.strstart,g=a.prev_length,h=a.nice_match,i=a.strstart>a.w_size-ja?a.strstart-(a.w_size-ja):0,j=a.window,k=a.w_mask,l=a.prev,m=a.strstart+ia,n=j[f+g-1],o=j[f+g];a.prev_length>=a.good_match&&(e>>=2),h>a.lookahead&&(h=a.lookahead);do if(c=b,j[c+g]===o&&j[c+g-1]===n&&j[c]===j[f]&&j[++c]===j[f+1]){f+=2,c++;do;while(j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&m>f);if(d=ia-(m-f),f=m-ia,d>g){if(a.match_start=b,g=d,d>=h)break;n=j[f+g-1],o=j[f+g]}}while((b=l[b&k])>i&&0!==--e);return g<=a.lookahead?g:a.lookahead}function m(a){var b,c,d,e,f,g=a.w_size;do{if(e=a.window_size-a.lookahead-a.strstart,a.strstart>=g+(g-ja)){C.arraySet(a.window,a.window,g,g,0),a.match_start-=g,a.strstart-=g,a.block_start-=g,c=a.hash_size,b=c;do d=a.head[--b],a.head[b]=d>=g?d-g:0;while(--c);c=g,b=c;do d=a.prev[--b],a.prev[b]=d>=g?d-g:0;while(--c);e+=g}if(0===a.strm.avail_in)break;if(c=k(a.strm,a.window,a.strstart+a.lookahead,e),a.lookahead+=c,a.lookahead+a.insert>=ha)for(f=a.strstart-a.insert,a.ins_h=a.window[f],a.ins_h=(a.ins_h<a.pending_buf_size-5&&(c=a.pending_buf_size-5);;){if(a.lookahead<=1){if(m(a),0===a.lookahead&&b===H)return sa;if(0===a.lookahead)break}a.strstart+=a.lookahead,a.lookahead=0;var d=a.block_start+c;if((0===a.strstart||a.strstart>=d)&&(a.lookahead=a.strstart-d,a.strstart=d,h(a,!1),0===a.strm.avail_out))return sa;if(a.strstart-a.block_start>=a.w_size-ja&&(h(a,!1),0===a.strm.avail_out))return sa}return a.insert=0,b===K?(h(a,!0),0===a.strm.avail_out?ua:va):a.strstart>a.block_start&&(h(a,!1),0===a.strm.avail_out)?sa:sa}function o(a,b){for(var c,d;;){if(a.lookahead=ha&&(a.ins_h=(a.ins_h<=ha)if(d=D._tr_tally(a,a.strstart-a.match_start,a.match_length-ha),a.lookahead-=a.match_length,a.match_length<=a.max_lazy_match&&a.lookahead>=ha){a.match_length--;do a.strstart++,a.ins_h=(a.ins_h<=ha&&(a.ins_h=(a.ins_h<4096)&&(a.match_length=ha-1)),a.prev_length>=ha&&a.match_length<=a.prev_length){e=a.strstart+a.lookahead-ha,d=D._tr_tally(a,a.strstart-1-a.prev_match,a.prev_length-ha),a.lookahead-=a.prev_length-1,a.prev_length-=2;do++a.strstart<=e&&(a.ins_h=(a.ins_h<=ha&&a.strstart>0&&(e=a.strstart-1,d=g[e],d===g[++e]&&d===g[++e]&&d===g[++e])){f=a.strstart+ia;do;while(d===g[++e]&&d===g[++e]&&d===g[++e]&&d===g[++e]&&d===g[++e]&&d===g[++e]&&d===g[++e]&&d===g[++e]&&f>e);a.match_length=ia-(f-e),a.match_length>a.lookahead&&(a.match_length=a.lookahead)}if(a.match_length>=ha?(c=D._tr_tally(a,1,a.match_length-ha),a.lookahead-=a.match_length,a.strstart+=a.match_length,a.match_length=0):(c=D._tr_tally(a,0,a.window[a.strstart]),a.lookahead--,a.strstart++),c&&(h(a,!1),0===a.strm.avail_out))return sa}return a.insert=0,b===K?(h(a,!0),0===a.strm.avail_out?ua:va):a.last_lit&&(h(a,!1),0===a.strm.avail_out)?sa:ta}function r(a,b){for(var c;;){if(0===a.lookahead&&(m(a),0===a.lookahead)){if(b===H)return sa;break}if(a.match_length=0,c=D._tr_tally(a,0,a.window[a.strstart]),a.lookahead--,a.strstart++,c&&(h(a,!1),0===a.strm.avail_out))return sa}return a.insert=0,b===K?(h(a,!0),0===a.strm.avail_out?ua:va):a.last_lit&&(h(a,!1),0===a.strm.avail_out)?sa:ta}function s(a){a.window_size=2*a.w_size,f(a.head),a.max_lazy_match=B[a.level].max_lazy,a.good_match=B[a.level].good_length,a.nice_match=B[a.level].nice_length,a.max_chain_length=B[a.level].max_chain,a.strstart=0,a.block_start=0,a.lookahead=0,a.insert=0,a.match_length=a.prev_length=ha-1,a.match_available=0,a.ins_h=0}function t(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Y,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new C.Buf16(2*fa),this.dyn_dtree=new C.Buf16(2*(2*da+1)),this.bl_tree=new C.Buf16(2*(2*ea+1)),f(this.dyn_ltree),f(this.dyn_dtree),f(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new C.Buf16(ga+1),this.heap=new C.Buf16(2*ca+1),f(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new C.Buf16(2*ca+1),f(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function u(a){var b;return a&&a.state?(a.total_in=a.total_out=0,a.data_type=X,b=a.state,b.pending=0,b.pending_out=0,b.wrap<0&&(b.wrap=-b.wrap),b.status=b.wrap?la:qa,a.adler=2===b.wrap?0:1,b.last_flush=H,D._tr_init(b),M):d(a,O)}function v(a){var b=u(a);return b===M&&s(a.state),b}function w(a,b){return a&&a.state?2!==a.state.wrap?O:(a.state.gzhead=b,M):O}function x(a,b,c,e,f,g){if(!a)return O;var h=1;if(b===R&&(b=6),0>e?(h=0,e=-e):e>15&&(h=2,e-=16),1>f||f>Z||c!==Y||8>e||e>15||0>b||b>9||0>g||g>V)return d(a,O);8===e&&(e=9);var i=new t;return a.state=i,i.strm=a,i.wrap=h,i.gzhead=null,i.w_bits=e,i.w_size=1<>1,i.l_buf=3*i.lit_bufsize,i.level=b,i.strategy=g,i.method=c,v(a)}function y(a,b){return x(a,b,Y,$,_,W)}function z(a,b){var c,h,k,l;if(!a||!a.state||b>L||0>b)return a?d(a,O):O;if(h=a.state,!a.output||!a.input&&0!==a.avail_in||h.status===ra&&b!==K)return d(a,0===a.avail_out?Q:O);if(h.strm=a,c=h.last_flush,h.last_flush=b,h.status===la)if(2===h.wrap)a.adler=0,i(h,31),i(h,139),i(h,8),h.gzhead?(i(h,(h.gzhead.text?1:0)+(h.gzhead.hcrc?2:0)+(h.gzhead.extra?4:0)+(h.gzhead.name?8:0)+(h.gzhead.comment?16:0)),i(h,255&h.gzhead.time),i(h,h.gzhead.time>>8&255),i(h,h.gzhead.time>>16&255),i(h,h.gzhead.time>>24&255),i(h,9===h.level?2:h.strategy>=T||h.level<2?4:0),i(h,255&h.gzhead.os),h.gzhead.extra&&h.gzhead.extra.length&&(i(h,255&h.gzhead.extra.length),i(h,h.gzhead.extra.length>>8&255)),h.gzhead.hcrc&&(a.adler=F(a.adler,h.pending_buf,h.pending,0)),h.gzindex=0,h.status=ma):(i(h,0),i(h,0),i(h,0),i(h,0),i(h,0),i(h,9===h.level?2:h.strategy>=T||h.level<2?4:0),i(h,wa),h.status=qa);else{var m=Y+(h.w_bits-8<<4)<<8,n=-1;n=h.strategy>=T||h.level<2?0:h.level<6?1:6===h.level?2:3,m|=n<<6,0!==h.strstart&&(m|=ka),m+=31-m%31,h.status=qa,j(h,m),0!==h.strstart&&(j(h,a.adler>>>16),j(h,65535&a.adler)),a.adler=1}if(h.status===ma)if(h.gzhead.extra){for(k=h.pending;h.gzindex<(65535&h.gzhead.extra.length)&&(h.pending!==h.pending_buf_size||(h.gzhead.hcrc&&h.pending>k&&(a.adler=F(a.adler,h.pending_buf,h.pending-k,k)),g(a),k=h.pending,h.pending!==h.pending_buf_size));)i(h,255&h.gzhead.extra[h.gzindex]),h.gzindex++;h.gzhead.hcrc&&h.pending>k&&(a.adler=F(a.adler,h.pending_buf,h.pending-k,k)),h.gzindex===h.gzhead.extra.length&&(h.gzindex=0,h.status=na)}else h.status=na;if(h.status===na)if(h.gzhead.name){k=h.pending;do{if(h.pending===h.pending_buf_size&&(h.gzhead.hcrc&&h.pending>k&&(a.adler=F(a.adler,h.pending_buf,h.pending-k,k)),g(a),k=h.pending,h.pending===h.pending_buf_size)){l=1;break}l=h.gzindexk&&(a.adler=F(a.adler,h.pending_buf,h.pending-k,k)),0===l&&(h.gzindex=0,h.status=oa)}else h.status=oa;if(h.status===oa)if(h.gzhead.comment){k=h.pending;do{if(h.pending===h.pending_buf_size&&(h.gzhead.hcrc&&h.pending>k&&(a.adler=F(a.adler,h.pending_buf,h.pending-k,k)),g(a),k=h.pending,h.pending===h.pending_buf_size)){l=1;break}l=h.gzindexk&&(a.adler=F(a.adler,h.pending_buf,h.pending-k,k)),0===l&&(h.status=pa)}else h.status=pa;if(h.status===pa&&(h.gzhead.hcrc?(h.pending+2>h.pending_buf_size&&g(a),h.pending+2<=h.pending_buf_size&&(i(h,255&a.adler),i(h,a.adler>>8&255),a.adler=0,h.status=qa)):h.status=qa),0!==h.pending){if(g(a),0===a.avail_out)return h.last_flush=-1,M}else if(0===a.avail_in&&e(b)<=e(c)&&b!==K)return d(a,Q);if(h.status===ra&&0!==a.avail_in)return d(a,Q);if(0!==a.avail_in||0!==h.lookahead||b!==H&&h.status!==ra){var o=h.strategy===T?r(h,b):h.strategy===U?q(h,b):B[h.level].func(h,b);if((o===ua||o===va)&&(h.status=ra),o===sa||o===ua)return 0===a.avail_out&&(h.last_flush=-1),M;if(o===ta&&(b===I?D._tr_align(h):b!==L&&(D._tr_stored_block(h,0,0,!1),b===J&&(f(h.head),0===h.lookahead&&(h.strstart=0,h.block_start=0,h.insert=0))),g(a),0===a.avail_out))return h.last_flush=-1,M}return b!==K?M:h.wrap<=0?N:(2===h.wrap?(i(h,255&a.adler),i(h,a.adler>>8&255),i(h,a.adler>>16&255),i(h,a.adler>>24&255),i(h,255&a.total_in),i(h,a.total_in>>8&255),i(h,a.total_in>>16&255),i(h,a.total_in>>24&255)):(j(h,a.adler>>>16),j(h,65535&a.adler)),g(a),h.wrap>0&&(h.wrap=-h.wrap),0!==h.pending?M:N)}function A(a){var b;return a&&a.state?(b=a.state.status,b!==la&&b!==ma&&b!==na&&b!==oa&&b!==pa&&b!==qa&&b!==ra?d(a,O):(a.state=null,b===qa?d(a,P):M)):O}var B,C=a("../utils/common"),D=a("./trees"),E=a("./adler32"),F=a("./crc32"),G=a("./messages"),H=0,I=1,J=3,K=4,L=5,M=0,N=1,O=-2,P=-3,Q=-5,R=-1,S=1,T=2,U=3,V=4,W=0,X=2,Y=8,Z=9,$=15,_=8,aa=29,ba=256,ca=ba+1+aa,da=30,ea=19,fa=2*ca+1,ga=15,ha=3,ia=258,ja=ia+ha+1,ka=32,la=42,ma=69,na=73,oa=91,pa=103,qa=113,ra=666,sa=1,ta=2,ua=3,va=4,wa=3,xa=function(a,b,c,d,e){this.good_length=a,this.max_lazy=b,this.nice_length=c,this.max_chain=d,this.func=e};B=[new xa(0,0,0,0,n),new xa(4,4,8,4,o),new xa(4,5,16,8,o),new xa(4,6,32,32,o),new xa(4,4,16,16,p),new xa(8,16,32,32,p),new xa(8,16,128,128,p),new xa(8,32,128,256,p),new xa(32,128,258,1024,p),new xa(32,258,258,4096,p)],c.deflateInit=y,c.deflateInit2=x,c.deflateReset=v,c.deflateResetKeep=u,c.deflateSetHeader=w,c.deflate=z,c.deflateEnd=A,c.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":132,"./adler32":133,"./crc32":135,"./messages":140,"./trees":141}],137:[function(a,b,c){"use strict";var d=30,e=12;b.exports=function(a,b){var c,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C;c=a.state,f=a.next_in,B=a.input,g=f+(a.avail_in-5),h=a.next_out,C=a.output,i=h-(b-a.avail_out),j=h+(a.avail_out-257),k=c.dmax,l=c.wsize,m=c.whave,n=c.wnext,o=c.window,p=c.hold,q=c.bits,r=c.lencode,s=c.distcode,t=(1<q&&(p+=B[f++]<>>24,p>>>=w,q-=w,w=v>>>16&255,0===w)C[h++]=65535&v;else{if(!(16&w)){if(0===(64&w)){v=r[(65535&v)+(p&(1<q&&(p+=B[f++]<>>=w,q-=w),15>q&&(p+=B[f++]<>>24,p>>>=w,q-=w,w=v>>>16&255,!(16&w)){if(0===(64&w)){v=s[(65535&v)+(p&(1<q&&(p+=B[f++]<q&&(p+=B[f++]<k){a.msg="invalid distance too far back",c.mode=d;break a}if(p>>>=w,q-=w,w=h-i,y>w){if(w=y-w,w>m&&c.sane){a.msg="invalid distance too far back",c.mode=d;break a}if(z=0,A=o,0===n){if(z+=l-w,x>w){x-=w;do C[h++]=o[z++];while(--w);z=h-y,A=C}}else if(w>n){if(z+=l+n-w,w-=n,x>w){x-=w;do C[h++]=o[z++];while(--w);if(z=0,x>n){w=n,x-=w;do C[h++]=o[z++];while(--w);z=h-y,A=C}}}else if(z+=n-w,x>w){x-=w;do C[h++]=o[z++];while(--w);z=h-y,A=C}for(;x>2;)C[h++]=A[z++],C[h++]=A[z++],C[h++]=A[z++],x-=3;x&&(C[h++]=A[z++],x>1&&(C[h++]=A[z++]))}else{z=h-y;do C[h++]=C[z++],C[h++]=C[z++],C[h++]=C[z++],x-=3;while(x>2);x&&(C[h++]=C[z++],x>1&&(C[h++]=C[z++]))}break}}break}}while(g>f&&j>h);x=q>>3,f-=x,q-=x<<3,p&=(1<f?5+(g-f):5-(f-g),a.avail_out=j>h?257+(j-h):257-(h-j),c.hold=p,c.bits=q}},{}],138:[function(a,b,c){"use strict";function d(a){return(a>>>24&255)+(a>>>8&65280)+((65280&a)<<8)+((255&a)<<24)}function e(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function f(a){var b;return a&&a.state?(b=a.state,a.total_in=a.total_out=b.total=0,a.msg="",b.wrap&&(a.adler=1&b.wrap),b.mode=K,b.last=0,b.havedict=0,b.dmax=32768,b.head=null,b.hold=0,b.bits=0,b.lencode=b.lendyn=new r.Buf32(oa),b.distcode=b.distdyn=new r.Buf32(pa),b.sane=1,b.back=-1,C):F}function g(a){var b;return a&&a.state?(b=a.state,b.wsize=0,b.whave=0,b.wnext=0,f(a)):F}function h(a,b){var c,d;return a&&a.state?(d=a.state,0>b?(c=0,b=-b):(c=(b>>4)+1,48>b&&(b&=15)),b&&(8>b||b>15)?F:(null!==d.window&&d.wbits!==b&&(d.window=null),d.wrap=c,d.wbits=b,g(a))):F}function i(a,b){var c,d;return a?(d=new e,a.state=d,d.window=null,c=h(a,b),c!==C&&(a.state=null),c):F}function j(a){return i(a,ra)}function k(a){if(sa){var b;for(p=new r.Buf32(512),q=new r.Buf32(32),b=0;144>b;)a.lens[b++]=8;for(;256>b;)a.lens[b++]=9;for(;280>b;)a.lens[b++]=7;for(;288>b;)a.lens[b++]=8;for(v(x,a.lens,0,288,p,0,a.work,{bits:9}),b=0;32>b;)a.lens[b++]=5;v(y,a.lens,0,32,q,0,a.work,{bits:5}),sa=!1}a.lencode=p,a.lenbits=9,a.distcode=q,a.distbits=5}function l(a,b,c,d){var e,f=a.state;return null===f.window&&(f.wsize=1<=f.wsize?(r.arraySet(f.window,b,c-f.wsize,f.wsize,0),f.wnext=0,f.whave=f.wsize):(e=f.wsize-f.wnext,e>d&&(e=d),r.arraySet(f.window,b,c-d,e,f.wnext),d-=e,d?(r.arraySet(f.window,b,c-d,d,0),f.wnext=d,f.whave=f.wsize):(f.wnext+=e,f.wnext===f.wsize&&(f.wnext=0),f.whaven;){if(0===i)break a;i--,m+=e[g++]<>>8&255,c.check=t(c.check,Ba,2,0),m=0,n=0,c.mode=L;break}if(c.flags=0,c.head&&(c.head.done=!1),!(1&c.wrap)||(((255&m)<<8)+(m>>8))%31){a.msg="incorrect header check",c.mode=la;break}if((15&m)!==J){a.msg="unknown compression method",c.mode=la;break}if(m>>>=4,n-=4,wa=(15&m)+8,0===c.wbits)c.wbits=wa;else if(wa>c.wbits){a.msg="invalid window size",c.mode=la;break}c.dmax=1<n;){if(0===i)break a;i--,m+=e[g++]<>8&1),512&c.flags&&(Ba[0]=255&m,Ba[1]=m>>>8&255,c.check=t(c.check,Ba,2,0)),m=0,n=0,c.mode=M;case M:for(;32>n;){if(0===i)break a;i--,m+=e[g++]<>>8&255,Ba[2]=m>>>16&255,Ba[3]=m>>>24&255,c.check=t(c.check,Ba,4,0)),m=0,n=0,c.mode=N;case N:for(;16>n;){if(0===i)break a;i--,m+=e[g++]<>8),512&c.flags&&(Ba[0]=255&m,Ba[1]=m>>>8&255,c.check=t(c.check,Ba,2,0)),m=0,n=0,c.mode=O;case O:if(1024&c.flags){for(;16>n;){if(0===i)break a;i--,m+=e[g++]<>>8&255,c.check=t(c.check,Ba,2,0)),m=0,n=0}else c.head&&(c.head.extra=null);c.mode=P;case P:if(1024&c.flags&&(q=c.length,q>i&&(q=i),q&&(c.head&&(wa=c.head.extra_len-c.length,c.head.extra||(c.head.extra=new Array(c.head.extra_len)),r.arraySet(c.head.extra,e,g,q,wa)),512&c.flags&&(c.check=t(c.check,e,q,g)),i-=q,g+=q,c.length-=q),c.length))break a;c.length=0,c.mode=Q;case Q:if(2048&c.flags){if(0===i)break a;q=0;do wa=e[g+q++],c.head&&wa&&c.length<65536&&(c.head.name+=String.fromCharCode(wa));while(wa&&i>q);if(512&c.flags&&(c.check=t(c.check,e,q,g)),i-=q,g+=q,wa)break a}else c.head&&(c.head.name=null);c.length=0,c.mode=R;case R:if(4096&c.flags){if(0===i)break a;q=0;do wa=e[g+q++],c.head&&wa&&c.length<65536&&(c.head.comment+=String.fromCharCode(wa));while(wa&&i>q);if(512&c.flags&&(c.check=t(c.check,e,q,g)),i-=q,g+=q,wa)break a}else c.head&&(c.head.comment=null);c.mode=S;case S:if(512&c.flags){for(;16>n;){if(0===i)break a;i--,m+=e[g++]<>9&1,c.head.done=!0),a.adler=c.check=0,c.mode=V;break;case T:for(;32>n;){if(0===i)break a;i--,m+=e[g++]<>>=7&n,n-=7&n,c.mode=ia;break}for(;3>n;){if(0===i)break a;i--,m+=e[g++]<>>=1,n-=1,3&m){case 0:c.mode=X;break;case 1:if(k(c),c.mode=ba,b===B){m>>>=2,n-=2;break a}break;case 2:c.mode=$;break;case 3:a.msg="invalid block type",c.mode=la}m>>>=2,n-=2;break;case X:for(m>>>=7&n,n-=7&n;32>n;){if(0===i)break a;i--,m+=e[g++]<>>16^65535)){a.msg="invalid stored block lengths",c.mode=la;break}if(c.length=65535&m,m=0,n=0,c.mode=Y,b===B)break a;case Y:c.mode=Z;case Z:if(q=c.length){if(q>i&&(q=i),q>j&&(q=j),0===q)break a;r.arraySet(f,e,g,q,h),i-=q,g+=q,j-=q,h+=q,c.length-=q;break}c.mode=V;break;case $:for(;14>n;){if(0===i)break a;i--,m+=e[g++]<>>=5,n-=5,c.ndist=(31&m)+1, -m>>>=5,n-=5,c.ncode=(15&m)+4,m>>>=4,n-=4,c.nlen>286||c.ndist>30){a.msg="too many length or distance symbols",c.mode=la;break}c.have=0,c.mode=_;case _:for(;c.haven;){if(0===i)break a;i--,m+=e[g++]<>>=3,n-=3}for(;c.have<19;)c.lens[Ca[c.have++]]=0;if(c.lencode=c.lendyn,c.lenbits=7,ya={bits:c.lenbits},xa=v(w,c.lens,0,19,c.lencode,0,c.work,ya),c.lenbits=ya.bits,xa){a.msg="invalid code lengths set",c.mode=la;break}c.have=0,c.mode=aa;case aa:for(;c.have>>24,ra=Aa>>>16&255,sa=65535&Aa,!(n>=qa);){if(0===i)break a;i--,m+=e[g++]<sa)m>>>=qa,n-=qa,c.lens[c.have++]=sa;else{if(16===sa){for(za=qa+2;za>n;){if(0===i)break a;i--,m+=e[g++]<>>=qa,n-=qa,0===c.have){a.msg="invalid bit length repeat",c.mode=la;break}wa=c.lens[c.have-1],q=3+(3&m),m>>>=2,n-=2}else if(17===sa){for(za=qa+3;za>n;){if(0===i)break a;i--,m+=e[g++]<>>=qa,n-=qa,wa=0,q=3+(7&m),m>>>=3,n-=3}else{for(za=qa+7;za>n;){if(0===i)break a;i--,m+=e[g++]<>>=qa,n-=qa,wa=0,q=11+(127&m),m>>>=7,n-=7}if(c.have+q>c.nlen+c.ndist){a.msg="invalid bit length repeat",c.mode=la;break}for(;q--;)c.lens[c.have++]=wa}}if(c.mode===la)break;if(0===c.lens[256]){a.msg="invalid code -- missing end-of-block",c.mode=la;break}if(c.lenbits=9,ya={bits:c.lenbits},xa=v(x,c.lens,0,c.nlen,c.lencode,0,c.work,ya),c.lenbits=ya.bits,xa){a.msg="invalid literal/lengths set",c.mode=la;break}if(c.distbits=6,c.distcode=c.distdyn,ya={bits:c.distbits},xa=v(y,c.lens,c.nlen,c.ndist,c.distcode,0,c.work,ya),c.distbits=ya.bits,xa){a.msg="invalid distances set",c.mode=la;break}if(c.mode=ba,b===B)break a;case ba:c.mode=ca;case ca:if(i>=6&&j>=258){a.next_out=h,a.avail_out=j,a.next_in=g,a.avail_in=i,c.hold=m,c.bits=n,u(a,p),h=a.next_out,f=a.output,j=a.avail_out,g=a.next_in,e=a.input,i=a.avail_in,m=c.hold,n=c.bits,c.mode===V&&(c.back=-1);break}for(c.back=0;Aa=c.lencode[m&(1<>>24,ra=Aa>>>16&255,sa=65535&Aa,!(n>=qa);){if(0===i)break a;i--,m+=e[g++]<>ta)],qa=Aa>>>24,ra=Aa>>>16&255,sa=65535&Aa,!(n>=ta+qa);){if(0===i)break a;i--,m+=e[g++]<>>=ta,n-=ta,c.back+=ta}if(m>>>=qa,n-=qa,c.back+=qa,c.length=sa,0===ra){c.mode=ha;break}if(32&ra){c.back=-1,c.mode=V;break}if(64&ra){a.msg="invalid literal/length code",c.mode=la;break}c.extra=15&ra,c.mode=da;case da:if(c.extra){for(za=c.extra;za>n;){if(0===i)break a;i--,m+=e[g++]<>>=c.extra,n-=c.extra,c.back+=c.extra}c.was=c.length,c.mode=ea;case ea:for(;Aa=c.distcode[m&(1<>>24,ra=Aa>>>16&255,sa=65535&Aa,!(n>=qa);){if(0===i)break a;i--,m+=e[g++]<>ta)],qa=Aa>>>24,ra=Aa>>>16&255,sa=65535&Aa,!(n>=ta+qa);){if(0===i)break a;i--,m+=e[g++]<>>=ta,n-=ta,c.back+=ta}if(m>>>=qa,n-=qa,c.back+=qa,64&ra){a.msg="invalid distance code",c.mode=la;break}c.offset=sa,c.extra=15&ra,c.mode=fa;case fa:if(c.extra){for(za=c.extra;za>n;){if(0===i)break a;i--,m+=e[g++]<>>=c.extra,n-=c.extra,c.back+=c.extra}if(c.offset>c.dmax){a.msg="invalid distance too far back",c.mode=la;break}c.mode=ga;case ga:if(0===j)break a;if(q=p-j,c.offset>q){if(q=c.offset-q,q>c.whave&&c.sane){a.msg="invalid distance too far back",c.mode=la;break}q>c.wnext?(q-=c.wnext,oa=c.wsize-q):oa=c.wnext-q,q>c.length&&(q=c.length),pa=c.window}else pa=f,oa=h-c.offset,q=c.length;q>j&&(q=j),j-=q,c.length-=q;do f[h++]=pa[oa++];while(--q);0===c.length&&(c.mode=ca);break;case ha:if(0===j)break a;f[h++]=c.length,j--,c.mode=ca;break;case ia:if(c.wrap){for(;32>n;){if(0===i)break a;i--,m|=e[g++]<n;){if(0===i)break a;i--,m+=e[g++]<=D;D++)P[D]=0;for(E=0;o>E;E++)P[b[c+E]]++;for(H=C,G=e;G>=1&&0===P[G];G--);if(H>G&&(H=G),0===G)return p[q++]=20971520,p[q++]=20971520,s.bits=1,0;for(F=1;G>F&&0===P[F];F++);for(F>H&&(H=F),K=1,D=1;e>=D;D++)if(K<<=1,K-=P[D],0>K)return-1;if(K>0&&(a===h||1!==G))return-1;for(Q[1]=0,D=1;e>D;D++)Q[D+1]=Q[D]+P[D];for(E=0;o>E;E++)0!==b[c+E]&&(r[Q[b[c+E]]++]=E);if(a===h?(N=R=r,y=19):a===i?(N=k,O-=257,R=l,S-=257,y=256):(N=m,R=n,y=-1),M=0,E=0,D=F,x=q,I=H,J=0,v=-1,L=1<f||a===j&&L>g)return 1;for(var T=0;;){T++,z=D-J,r[E]y?(A=R[S+r[E]],B=N[O+r[E]]):(A=96,B=0),t=1<>J)+u]=z<<24|A<<16|B|0;while(0!==u);for(t=1<>=1;if(0!==t?(M&=t-1,M+=t):M=0,E++,0===--P[D]){if(D===G)break;D=b[c+r[E]]}if(D>H&&(M&w)!==v){for(0===J&&(J=H),x+=F,I=D-J,K=1<I+J&&(K-=P[I+J],!(0>=K));)I++,K<<=1;if(L+=1<f||a===j&&L>g)return 1;v=M&w,p[v]=H<<24|I<<16|x-q|0}}return 0!==M&&(p[x+M]=D-J<<24|64<<16|0),s.bits=H,0}},{"../utils/common":132}],140:[function(a,b,c){"use strict";b.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],141:[function(a,b,c){"use strict";function d(a){for(var b=a.length;--b>=0;)a[b]=0}function e(a){return 256>a?ga[a]:ga[256+(a>>>7)]}function f(a,b){a.pending_buf[a.pending++]=255&b,a.pending_buf[a.pending++]=b>>>8&255}function g(a,b,c){a.bi_valid>V-c?(a.bi_buf|=b<>V-a.bi_valid,a.bi_valid+=c-V):(a.bi_buf|=b<>>=1,c<<=1;while(--b>0);return c>>>1}function j(a){16===a.bi_valid?(f(a,a.bi_buf),a.bi_buf=0,a.bi_valid=0):a.bi_valid>=8&&(a.pending_buf[a.pending++]=255&a.bi_buf,a.bi_buf>>=8,a.bi_valid-=8)}function k(a,b){var c,d,e,f,g,h,i=b.dyn_tree,j=b.max_code,k=b.stat_desc.static_tree,l=b.stat_desc.has_stree,m=b.stat_desc.extra_bits,n=b.stat_desc.extra_base,o=b.stat_desc.max_length,p=0;for(f=0;U>=f;f++)a.bl_count[f]=0;for(i[2*a.heap[a.heap_max]+1]=0,c=a.heap_max+1;T>c;c++)d=a.heap[c],f=i[2*i[2*d+1]+1]+1,f>o&&(f=o,p++),i[2*d+1]=f,d>j||(a.bl_count[f]++,g=0,d>=n&&(g=m[d-n]),h=i[2*d],a.opt_len+=h*(f+g),l&&(a.static_len+=h*(k[2*d+1]+g)));if(0!==p){do{for(f=o-1;0===a.bl_count[f];)f--;a.bl_count[f]--,a.bl_count[f+1]+=2,a.bl_count[o]--,p-=2}while(p>0);for(f=o;0!==f;f--)for(d=a.bl_count[f];0!==d;)e=a.heap[--c],e>j||(i[2*e+1]!==f&&(a.opt_len+=(f-i[2*e+1])*i[2*e],i[2*e+1]=f),d--)}}function l(a,b,c){var d,e,f=new Array(U+1),g=0;for(d=1;U>=d;d++)f[d]=g=g+c[d-1]<<1;for(e=0;b>=e;e++){var h=a[2*e+1];0!==h&&(a[2*e]=i(f[h]++,h))}}function m(){var a,b,c,d,e,f=new Array(U+1);for(c=0,d=0;O-1>d;d++)for(ia[d]=c,a=0;a<1<<_[d];a++)ha[c++]=d;for(ha[c-1]=d,e=0,d=0;16>d;d++)for(ja[d]=e,a=0;a<1<>=7;R>d;d++)for(ja[d]=e<<7,a=0;a<1<=b;b++)f[b]=0;for(a=0;143>=a;)ea[2*a+1]=8,a++,f[8]++;for(;255>=a;)ea[2*a+1]=9,a++,f[9]++;for(;279>=a;)ea[2*a+1]=7,a++,f[7]++;for(;287>=a;)ea[2*a+1]=8,a++,f[8]++;for(l(ea,Q+1,f),a=0;R>a;a++)fa[2*a+1]=5,fa[2*a]=i(a,5);ka=new na(ea,_,P+1,Q,U),la=new na(fa,aa,0,R,U),ma=new na(new Array(0),ba,0,S,W)}function n(a){var b;for(b=0;Q>b;b++)a.dyn_ltree[2*b]=0;for(b=0;R>b;b++)a.dyn_dtree[2*b]=0;for(b=0;S>b;b++)a.bl_tree[2*b]=0;a.dyn_ltree[2*X]=1,a.opt_len=a.static_len=0,a.last_lit=a.matches=0}function o(a){a.bi_valid>8?f(a,a.bi_buf):a.bi_valid>0&&(a.pending_buf[a.pending++]=a.bi_buf),a.bi_buf=0,a.bi_valid=0}function p(a,b,c,d){o(a),d&&(f(a,c),f(a,~c)),E.arraySet(a.pending_buf,a.window,b,c,a.pending),a.pending+=c}function q(a,b,c,d){var e=2*b,f=2*c;return a[e]c;c++)0!==f[2*c]?(a.heap[++a.heap_len]=j=c,a.depth[c]=0):f[2*c+1]=0;for(;a.heap_len<2;)e=a.heap[++a.heap_len]=2>j?++j:0,f[2*e]=1,a.depth[e]=0,a.opt_len--,h&&(a.static_len-=g[2*e+1]);for(b.max_code=j,c=a.heap_len>>1;c>=1;c--)r(a,f,c);e=i;do c=a.heap[1],a.heap[1]=a.heap[a.heap_len--],r(a,f,1),d=a.heap[1],a.heap[--a.heap_max]=c,a.heap[--a.heap_max]=d,f[2*e]=f[2*c]+f[2*d],a.depth[e]=(a.depth[c]>=a.depth[d]?a.depth[c]:a.depth[d])+1,f[2*c+1]=f[2*d+1]=e,a.heap[1]=e++,r(a,f,1);while(a.heap_len>=2);a.heap[--a.heap_max]=a.heap[1],k(a,b),l(f,j,a.bl_count)}function u(a,b,c){var d,e,f=-1,g=b[1],h=0,i=7,j=4;for(0===g&&(i=138,j=3),b[2*(c+1)+1]=65535,d=0;c>=d;d++)e=g,g=b[2*(d+1)+1],++hh?a.bl_tree[2*e]+=h:0!==e?(e!==f&&a.bl_tree[2*e]++,a.bl_tree[2*Y]++):10>=h?a.bl_tree[2*Z]++:a.bl_tree[2*$]++,h=0,f=e,0===g?(i=138,j=3):e===g?(i=6,j=3):(i=7,j=4))}function v(a,b,c){var d,e,f=-1,i=b[1],j=0,k=7,l=4;for(0===i&&(k=138,l=3),d=0;c>=d;d++)if(e=i,i=b[2*(d+1)+1],!(++jj){do h(a,e,a.bl_tree);while(0!==--j)}else 0!==e?(e!==f&&(h(a,e,a.bl_tree),j--),h(a,Y,a.bl_tree),g(a,j-3,2)):10>=j?(h(a,Z,a.bl_tree),g(a,j-3,3)):(h(a,$,a.bl_tree),g(a,j-11,7));j=0,f=e,0===i?(k=138,l=3):e===i?(k=6,l=3):(k=7,l=4)}}function w(a){var b;for(u(a,a.dyn_ltree,a.l_desc.max_code),u(a,a.dyn_dtree,a.d_desc.max_code),t(a,a.bl_desc),b=S-1;b>=3&&0===a.bl_tree[2*ca[b]+1];b--);return a.opt_len+=3*(b+1)+5+5+4,b}function x(a,b,c,d){var e;for(g(a,b-257,5),g(a,c-1,5),g(a,d-4,4),e=0;d>e;e++)g(a,a.bl_tree[2*ca[e]+1],3);v(a,a.dyn_ltree,b-1),v(a,a.dyn_dtree,c-1)}function y(a){var b,c=4093624447;for(b=0;31>=b;b++,c>>>=1)if(1&c&&0!==a.dyn_ltree[2*b])return G;if(0!==a.dyn_ltree[18]||0!==a.dyn_ltree[20]||0!==a.dyn_ltree[26])return H;for(b=32;P>b;b++)if(0!==a.dyn_ltree[2*b])return H;return G}function z(a){pa||(m(),pa=!0),a.l_desc=new oa(a.dyn_ltree,ka),a.d_desc=new oa(a.dyn_dtree,la),a.bl_desc=new oa(a.bl_tree,ma),a.bi_buf=0,a.bi_valid=0,n(a)}function A(a,b,c,d){g(a,(J<<1)+(d?1:0),3),p(a,b,c,!0)}function B(a){g(a,K<<1,3),h(a,X,ea),j(a)}function C(a,b,c,d){var e,f,h=0;a.level>0?(a.strm.data_type===I&&(a.strm.data_type=y(a)),t(a,a.l_desc),t(a,a.d_desc),h=w(a),e=a.opt_len+3+7>>>3,f=a.static_len+3+7>>>3,e>=f&&(e=f)):e=f=c+5,e>=c+4&&-1!==b?A(a,b,c,d):a.strategy===F||f===e?(g(a,(K<<1)+(d?1:0),3),s(a,ea,fa)):(g(a,(L<<1)+(d?1:0),3),x(a,a.l_desc.max_code+1,a.d_desc.max_code+1,h+1),s(a,a.dyn_ltree,a.dyn_dtree)),n(a),d&&o(a)}function D(a,b,c){return a.pending_buf[a.d_buf+2*a.last_lit]=b>>>8&255,a.pending_buf[a.d_buf+2*a.last_lit+1]=255&b,a.pending_buf[a.l_buf+a.last_lit]=255&c,a.last_lit++,0===b?a.dyn_ltree[2*c]++:(a.matches++,b--,a.dyn_ltree[2*(ha[c]+P+1)]++,a.dyn_dtree[2*e(b)]++),a.last_lit===a.lit_bufsize-1}var E=a("../utils/common"),F=4,G=0,H=1,I=2,J=0,K=1,L=2,M=3,N=258,O=29,P=256,Q=P+1+O,R=30,S=19,T=2*Q+1,U=15,V=16,W=7,X=256,Y=16,Z=17,$=18,_=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],aa=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],ba=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],ca=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],da=512,ea=new Array(2*(Q+2));d(ea);var fa=new Array(2*R);d(fa);var ga=new Array(da);d(ga);var ha=new Array(N-M+1);d(ha);var ia=new Array(O);d(ia);var ja=new Array(R);d(ja);var ka,la,ma,na=function(a,b,c,d,e){this.static_tree=a,this.extra_bits=b,this.extra_base=c,this.elems=d,this.max_length=e,this.has_stree=a&&a.length},oa=function(a,b){this.dyn_tree=a,this.max_code=0,this.stat_desc=b},pa=!1;c._tr_init=z,c._tr_stored_block=A,c._tr_flush_block=C,c._tr_tally=D,c._tr_align=B},{"../utils/common":132}],142:[function(a,b,c){"use strict";function d(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}b.exports=d},{}],143:[function(a,b,c){(function(b,d){function e(a){if(ac.UNZIP)throw new TypeError("Bad argument");this.mode=a,this.init_done=!1,this.write_in_progress=!1,this.pending_close=!1,this.windowBits=0,this.level=0,this.memLevel=0,this.strategy=0,this.dictionary=null}function f(a,b){for(var c=0;cc.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+a.chunkSize);if(a.windowBits&&(a.windowBitsc.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+a.windowBits);if(a.level&&(a.levelc.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+a.level);if(a.memLevel&&(a.memLevelc.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+a.memLevel);if(a.strategy&&a.strategy!=c.Z_FILTERED&&a.strategy!=c.Z_HUFFMAN_ONLY&&a.strategy!=c.Z_RLE&&a.strategy!=c.Z_FIXED&&a.strategy!=c.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+a.strategy);if(a.dictionary&&!d.isBuffer(a.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._binding=new p.Zlib(b);var e=this;this._hadError=!1,this._binding.onerror=function(a,b){e._binding=null,e._hadError=!0;var d=new Error(a);d.errno=b,d.code=c.codes[b],e.emit("error",d)};var f=c.Z_DEFAULT_COMPRESSION;"number"==typeof a.level&&(f=a.level);var g=c.Z_DEFAULT_STRATEGY;"number"==typeof a.strategy&&(g=a.strategy),this._binding.init(a.windowBits||c.Z_DEFAULT_WINDOWBITS,f,a.memLevel||c.Z_DEFAULT_MEMLEVEL,g,a.dictionary),this._buffer=new d(this._chunkSize),this._offset=0,this._closed=!1,this._level=f,this._strategy=g,this.once("end",this.close)}var o=a("_stream_transform"),p=a("./binding"),q=a("util"),r=a("assert").ok;p.Z_MIN_WINDOWBITS=8,p.Z_MAX_WINDOWBITS=15,p.Z_DEFAULT_WINDOWBITS=15,p.Z_MIN_CHUNK=64,p.Z_MAX_CHUNK=1/0,p.Z_DEFAULT_CHUNK=16384,p.Z_MIN_MEMLEVEL=1,p.Z_MAX_MEMLEVEL=9,p.Z_DEFAULT_MEMLEVEL=8,p.Z_MIN_LEVEL=-1,p.Z_MAX_LEVEL=9,p.Z_DEFAULT_LEVEL=p.Z_DEFAULT_COMPRESSION,Object.keys(p).forEach(function(a){a.match(/^Z/)&&(c[a]=p[a])}),c.codes={Z_OK:p.Z_OK,Z_STREAM_END:p.Z_STREAM_END,Z_NEED_DICT:p.Z_NEED_DICT,Z_ERRNO:p.Z_ERRNO,Z_STREAM_ERROR:p.Z_STREAM_ERROR,Z_DATA_ERROR:p.Z_DATA_ERROR,Z_MEM_ERROR:p.Z_MEM_ERROR,Z_BUF_ERROR:p.Z_BUF_ERROR,Z_VERSION_ERROR:p.Z_VERSION_ERROR},Object.keys(c.codes).forEach(function(a){c.codes[c.codes[a]]=a}),c.Deflate=g,c.Inflate=h,c.Gzip=i,c.Gunzip=j,c.DeflateRaw=k,c.InflateRaw=l,c.Unzip=m,c.createDeflate=function(a){return new g(a)},c.createInflate=function(a){return new h(a)},c.createDeflateRaw=function(a){return new k(a)},c.createInflateRaw=function(a){return new l(a)},c.createGzip=function(a){return new i(a)},c.createGunzip=function(a){return new j(a)},c.createUnzip=function(a){return new m(a)},c.deflate=function(a,b,c){return"function"==typeof b&&(c=b,b={}),e(new g(b),a,c)},c.deflateSync=function(a,b){return f(new g(b),a)},c.gzip=function(a,b,c){return"function"==typeof b&&(c=b,b={}),e(new i(b),a,c)},c.gzipSync=function(a,b){return f(new i(b),a)},c.deflateRaw=function(a,b,c){return"function"==typeof b&&(c=b,b={}),e(new k(b),a,c)},c.deflateRawSync=function(a,b){return f(new k(b),a)},c.unzip=function(a,b,c){return"function"==typeof b&&(c=b,b={}),e(new m(b),a,c)},c.unzipSync=function(a,b){return f(new m(b),a)},c.inflate=function(a,b,c){return"function"==typeof b&&(c=b,b={}),e(new h(b),a,c)},c.inflateSync=function(a,b){return f(new h(b),a)},c.gunzip=function(a,b,c){return"function"==typeof b&&(c=b,b={}),e(new j(b),a,c)},c.gunzipSync=function(a,b){return f(new j(b),a)},c.inflateRaw=function(a,b,c){return"function"==typeof b&&(c=b,b={}),e(new l(b),a,c)},c.inflateRawSync=function(a,b){return f(new l(b),a)},q.inherits(n,o),n.prototype.params=function(a,d,e){if(ac.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+a);if(d!=c.Z_FILTERED&&d!=c.Z_HUFFMAN_ONLY&&d!=c.Z_RLE&&d!=c.Z_FIXED&&d!=c.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+d);if(this._level!==a||this._strategy!==d){var f=this;this.flush(p.Z_SYNC_FLUSH,function(){f._binding.params(a,d),f._hadError||(f._level=a,f._strategy=d,e&&e())})}else b.nextTick(e)},n.prototype.reset=function(){return this._binding.reset()},n.prototype._flush=function(a){this._transform(new d(0),"",a)},n.prototype.flush=function(a,c){var e=this._writableState;if(("function"==typeof a||void 0===a&&!c)&&(c=a,a=p.Z_FULL_FLUSH),e.ended)c&&b.nextTick(c);else if(e.ending)c&&this.once("end",c);else if(e.needDrain){var f=this;this.once("drain",function(){f.flush(c)})}else this._flushFlag=a,this.write(new d(0),"",c)},n.prototype.close=function(a){if(a&&b.nextTick(a),!this._closed){this._closed=!0,this._binding.close();var c=this;b.nextTick(function(){c.emit("close")})}},n.prototype._transform=function(a,b,c){var e,f=this._writableState,g=f.ending||f.ended,h=g&&(!a||f.length===a.length);if(null===!a&&!d.isBuffer(a))return c(new Error("invalid input"));h?e=p.Z_FINISH:(e=this._flushFlag,a.length>=f.length&&(this._flushFlag=this._opts.flush||p.Z_NO_FLUSH));this._processChunk(a,e,c)},n.prototype._processChunk=function(a,b,c){function e(k,n){if(!i._hadError){var o=g-n;if(r(o>=0,"have should not go down"),o>0){var p=i._buffer.slice(i._offset,i._offset+o);i._offset+=o,j?i.push(p):(l.push(p),m+=p.length)}if((0===n||i._offset>=i._chunkSize)&&(g=i._chunkSize,i._offset=0,i._buffer=new d(i._chunkSize)),0===n){if(h+=f-k,f=k,!j)return!0;var q=i._binding.write(b,a,h,f,i._buffer,i._offset,i._chunkSize);return q.callback=e,void(q.buffer=a)}return j?void c():!1}}var f=a&&a.length,g=this._chunkSize-this._offset,h=0,i=this,j="function"==typeof c;if(!j){var k,l=[],m=0;this.on("error",function(a){k=a});do var n=this._binding.writeSync(b,a,h,f,this._buffer,this._offset,g);while(!this._hadError&&e(n[0],n[1]));if(this._hadError)throw k;var o=d.concat(l,m);return this.close(),o}var p=this._binding.write(b,a,h,f,this._buffer,this._offset,g);p.buffer=a,p.callback=e},q.inherits(g,n),q.inherits(h,n),q.inherits(i,n),q.inherits(j,n),q.inherits(k,n),q.inherits(l,n),q.inherits(m,n)}).call(this,a("_process"),a("buffer").Buffer)},{"./binding":143,_process:301,_stream_transform:315,assert:130,buffer:145,util:321}],145:[function(a,b,c){function d(){return e.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function e(a){return this instanceof e?(this.length=0,this.parent=void 0,"number"==typeof a?f(this,a):"string"==typeof a?g(this,a,arguments.length>1?arguments[1]:"utf8"):h(this,a)):arguments.length>1?new e(a,arguments[1]):new e(a)}function f(a,b){if(a=o(a,0>b?0:0|p(b)),!e.TYPED_ARRAY_SUPPORT)for(var c=0;b>c;c++)a[c]=0;return a}function g(a,b,c){("string"!=typeof c||""===c)&&(c="utf8");var d=0|r(b,c);return a=o(a,d),a.write(b,c),a}function h(a,b){if(e.isBuffer(b))return i(a,b);if(X(b))return j(a,b);if(null==b)throw new TypeError("must start with number, buffer, array or string");if("undefined"!=typeof ArrayBuffer){if(b.buffer instanceof ArrayBuffer)return k(a,b);if(b instanceof ArrayBuffer)return l(a,b)}return b.length?m(a,b):n(a,b)}function i(a,b){var c=0|p(b.length);return a=o(a,c),b.copy(a,0,0,c),a}function j(a,b){var c=0|p(b.length);a=o(a,c);for(var d=0;c>d;d+=1)a[d]=255&b[d];return a}function k(a,b){var c=0|p(b.length);a=o(a,c);for(var d=0;c>d;d+=1)a[d]=255&b[d];return a}function l(a,b){return e.TYPED_ARRAY_SUPPORT?(b.byteLength,a=e._augment(new Uint8Array(b))):a=k(a,new Uint8Array(b)),a}function m(a,b){var c=0|p(b.length);a=o(a,c);for(var d=0;c>d;d+=1)a[d]=255&b[d];return a}function n(a,b){var c,d=0;"Buffer"===b.type&&X(b.data)&&(c=b.data,d=0|p(c.length)),a=o(a,d);for(var e=0;d>e;e+=1)a[e]=255&c[e];return a}function o(a,b){e.TYPED_ARRAY_SUPPORT?a=e._augment(new Uint8Array(b)):(a.length=b,a._isBuffer=!0);var c=0!==b&&b<=e.poolSize>>>1;return c&&(a.parent=Y),a}function p(a){if(a>=d())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+d().toString(16)+" bytes");return 0|a}function q(a,b){if(!(this instanceof q))return new q(a,b);var c=new e(a,b);return delete c.parent,c}function r(a,b){"string"!=typeof a&&(a=""+a);var c=a.length;if(0===c)return 0;for(var d=!1;;)switch(b){case"ascii":case"binary":case"raw":case"raws":return c;case"utf8":case"utf-8":return Q(a).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*c;case"hex":return c>>>1;case"base64":return T(a).length;default:if(d)return Q(a).length;b=(""+b).toLowerCase(),d=!0}}function s(a,b,c){var d=!1;if(b=0|b,c=void 0===c||c===1/0?this.length:0|c,a||(a="utf8"),0>b&&(b=0),c>this.length&&(c=this.length),b>=c)return"";for(;;)switch(a){case"hex":return E(this,b,c);case"utf8":case"utf-8":return A(this,b,c);case"ascii":return C(this,b,c);case"binary":return D(this,b,c);case"base64":return z(this,b,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,b,c);default:if(d)throw new TypeError("Unknown encoding: "+a);a=(a+"").toLowerCase(),d=!0}}function t(a,b,c,d){c=Number(c)||0;var e=a.length-c;d?(d=Number(d),d>e&&(d=e)):d=e;var f=b.length;if(f%2!==0)throw new Error("Invalid hex string");d>f/2&&(d=f/2);for(var g=0;d>g;g++){var h=parseInt(b.substr(2*g,2),16);if(isNaN(h))throw new Error("Invalid hex string");a[c+g]=h}return g}function u(a,b,c,d){return U(Q(b,a.length-c),a,c,d)}function v(a,b,c,d){return U(R(b),a,c,d)}function w(a,b,c,d){return v(a,b,c,d)}function x(a,b,c,d){return U(T(b),a,c,d)}function y(a,b,c,d){return U(S(b,a.length-c),a,c,d)}function z(a,b,c){return 0===b&&c===a.length?V.fromByteArray(a):V.fromByteArray(a.slice(b,c))}function A(a,b,c){c=Math.min(a.length,c);for(var d=[],e=b;c>e;){var f=a[e],g=null,h=f>239?4:f>223?3:f>191?2:1;if(c>=e+h){var i,j,k,l;switch(h){case 1:128>f&&(g=f);break;case 2:i=a[e+1],128===(192&i)&&(l=(31&f)<<6|63&i,l>127&&(g=l));break;case 3:i=a[e+1],j=a[e+2],128===(192&i)&&128===(192&j)&&(l=(15&f)<<12|(63&i)<<6|63&j,l>2047&&(55296>l||l>57343)&&(g=l));break;case 4:i=a[e+1],j=a[e+2],k=a[e+3],128===(192&i)&&128===(192&j)&&128===(192&k)&&(l=(15&f)<<18|(63&i)<<12|(63&j)<<6|63&k,l>65535&&1114112>l&&(g=l))}}null===g?(g=65533,h=1):g>65535&&(g-=65536,d.push(g>>>10&1023|55296),g=56320|1023&g),d.push(g),e+=h}return B(d)}function B(a){var b=a.length;if(Z>=b)return String.fromCharCode.apply(String,a);for(var c="",d=0;b>d;)c+=String.fromCharCode.apply(String,a.slice(d,d+=Z));return c}function C(a,b,c){var d="";c=Math.min(a.length,c);for(var e=b;c>e;e++)d+=String.fromCharCode(127&a[e]);return d}function D(a,b,c){var d="";c=Math.min(a.length,c);for(var e=b;c>e;e++)d+=String.fromCharCode(a[e]);return d}function E(a,b,c){var d=a.length;(!b||0>b)&&(b=0),(!c||0>c||c>d)&&(c=d);for(var e="",f=b;c>f;f++)e+=P(a[f]);return e}function F(a,b,c){for(var d=a.slice(b,c),e="",f=0;fa)throw new RangeError("offset is not uint");if(a+b>c)throw new RangeError("Trying to access beyond buffer length")}function H(a,b,c,d,f,g){if(!e.isBuffer(a))throw new TypeError("buffer must be a Buffer instance");if(b>f||g>b)throw new RangeError("value is out of bounds");if(c+d>a.length)throw new RangeError("index out of range")}function I(a,b,c,d){0>b&&(b=65535+b+1);for(var e=0,f=Math.min(a.length-c,2);f>e;e++)a[c+e]=(b&255<<8*(d?e:1-e))>>>8*(d?e:1-e)}function J(a,b,c,d){0>b&&(b=4294967295+b+1);for(var e=0,f=Math.min(a.length-c,4);f>e;e++)a[c+e]=b>>>8*(d?e:3-e)&255}function K(a,b,c,d,e,f){if(b>e||f>b)throw new RangeError("value is out of bounds");if(c+d>a.length)throw new RangeError("index out of range");if(0>c)throw new RangeError("index out of range")}function L(a,b,c,d,e){return e||K(a,b,c,4,3.4028234663852886e38,-3.4028234663852886e38),W.write(a,b,c,d,23,4),c+4}function M(a,b,c,d,e){return e||K(a,b,c,8,1.7976931348623157e308,-1.7976931348623157e308),W.write(a,b,c,d,52,8),c+8}function N(a){if(a=O(a).replace(_,""),a.length<2)return"";for(;a.length%4!==0;)a+="=";return a}function O(a){return a.trim?a.trim():a.replace(/^\s+|\s+$/g,"")}function P(a){return 16>a?"0"+a.toString(16):a.toString(16)}function Q(a,b){b=b||1/0;for(var c,d=a.length,e=null,f=[],g=0;d>g;g++){if(c=a.charCodeAt(g),c>55295&&57344>c){if(!e){if(c>56319){(b-=3)>-1&&f.push(239,191,189);continue}if(g+1===d){(b-=3)>-1&&f.push(239,191,189);continue}e=c;continue}if(56320>c){(b-=3)>-1&&f.push(239,191,189),e=c;continue}c=e-55296<<10|c-56320|65536}else e&&(b-=3)>-1&&f.push(239,191,189);if(e=null,128>c){if((b-=1)<0)break;f.push(c)}else if(2048>c){if((b-=2)<0)break;f.push(c>>6|192,63&c|128)}else if(65536>c){if((b-=3)<0)break;f.push(c>>12|224,c>>6&63|128,63&c|128)}else{if(!(1114112>c))throw new Error("Invalid code point");if((b-=4)<0)break;f.push(c>>18|240,c>>12&63|128,c>>6&63|128,63&c|128)}}return f}function R(a){for(var b=[],c=0;c>8,e=c%256,f.push(e),f.push(d);return f}function T(a){return V.toByteArray(N(a))}function U(a,b,c,d){for(var e=0;d>e&&!(e+c>=b.length||e>=a.length);e++)b[e+c]=a[e]; -return e}var V=a("base64-js"),W=a("ieee754"),X=a("is-array");c.Buffer=e,c.SlowBuffer=q,c.INSPECT_MAX_BYTES=50,e.poolSize=8192;var Y={};e.TYPED_ARRAY_SUPPORT=function(){function a(){}try{var b=new Uint8Array(1);return b.foo=function(){return 42},b.constructor=a,42===b.foo()&&b.constructor===a&&"function"==typeof b.subarray&&0===b.subarray(1,1).byteLength}catch(c){return!1}}(),e.isBuffer=function(a){return!(null==a||!a._isBuffer)},e.compare=function(a,b){if(!e.isBuffer(a)||!e.isBuffer(b))throw new TypeError("Arguments must be Buffers");if(a===b)return 0;for(var c=a.length,d=b.length,f=0,g=Math.min(c,d);g>f&&a[f]===b[f];)++f;return f!==g&&(c=a[f],d=b[f]),d>c?-1:c>d?1:0},e.isEncoding=function(a){switch(String(a).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},e.concat=function(a,b){if(!X(a))throw new TypeError("list argument must be an Array of Buffers.");if(0===a.length)return new e(0);var c;if(void 0===b)for(b=0,c=0;c0&&(a=this.toString("hex",0,b).match(/.{2}/g).join(" "),this.length>b&&(a+=" ... ")),""},e.prototype.compare=function(a){if(!e.isBuffer(a))throw new TypeError("Argument must be a Buffer");return this===a?0:e.compare(this,a)},e.prototype.indexOf=function(a,b){function c(a,b,c){for(var d=-1,e=0;c+e2147483647?b=2147483647:-2147483648>b&&(b=-2147483648),b>>=0,0===this.length)return-1;if(b>=this.length)return-1;if(0>b&&(b=Math.max(this.length+b,0)),"string"==typeof a)return 0===a.length?-1:String.prototype.indexOf.call(this,a,b);if(e.isBuffer(a))return c(this,a,b);if("number"==typeof a)return e.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,a,b):c(this,[a],b);throw new TypeError("val must be string, number or Buffer")},e.prototype.get=function(a){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(a)},e.prototype.set=function(a,b){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(a,b)},e.prototype.write=function(a,b,c,d){if(void 0===b)d="utf8",c=this.length,b=0;else if(void 0===c&&"string"==typeof b)d=b,c=this.length,b=0;else if(isFinite(b))b=0|b,isFinite(c)?(c=0|c,void 0===d&&(d="utf8")):(d=c,c=void 0);else{var e=d;d=b,b=0|c,c=e}var f=this.length-b;if((void 0===c||c>f)&&(c=f),a.length>0&&(0>c||0>b)||b>this.length)throw new RangeError("attempt to write outside buffer bounds");d||(d="utf8");for(var g=!1;;)switch(d){case"hex":return t(this,a,b,c);case"utf8":case"utf-8":return u(this,a,b,c);case"ascii":return v(this,a,b,c);case"binary":return w(this,a,b,c);case"base64":return x(this,a,b,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return y(this,a,b,c);default:if(g)throw new TypeError("Unknown encoding: "+d);d=(""+d).toLowerCase(),g=!0}},e.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Z=4096;e.prototype.slice=function(a,b){var c=this.length;a=~~a,b=void 0===b?c:~~b,0>a?(a+=c,0>a&&(a=0)):a>c&&(a=c),0>b?(b+=c,0>b&&(b=0)):b>c&&(b=c),a>b&&(b=a);var d;if(e.TYPED_ARRAY_SUPPORT)d=e._augment(this.subarray(a,b));else{var f=b-a;d=new e(f,void 0);for(var g=0;f>g;g++)d[g]=this[g+a]}return d.length&&(d.parent=this.parent||this),d},e.prototype.readUIntLE=function(a,b,c){a=0|a,b=0|b,c||G(a,b,this.length);for(var d=this[a],e=1,f=0;++f0&&(e*=256);)d+=this[a+--b]*e;return d},e.prototype.readUInt8=function(a,b){return b||G(a,1,this.length),this[a]},e.prototype.readUInt16LE=function(a,b){return b||G(a,2,this.length),this[a]|this[a+1]<<8},e.prototype.readUInt16BE=function(a,b){return b||G(a,2,this.length),this[a]<<8|this[a+1]},e.prototype.readUInt32LE=function(a,b){return b||G(a,4,this.length),(this[a]|this[a+1]<<8|this[a+2]<<16)+16777216*this[a+3]},e.prototype.readUInt32BE=function(a,b){return b||G(a,4,this.length),16777216*this[a]+(this[a+1]<<16|this[a+2]<<8|this[a+3])},e.prototype.readIntLE=function(a,b,c){a=0|a,b=0|b,c||G(a,b,this.length);for(var d=this[a],e=1,f=0;++f=e&&(d-=Math.pow(2,8*b)),d},e.prototype.readIntBE=function(a,b,c){a=0|a,b=0|b,c||G(a,b,this.length);for(var d=b,e=1,f=this[a+--d];d>0&&(e*=256);)f+=this[a+--d]*e;return e*=128,f>=e&&(f-=Math.pow(2,8*b)),f},e.prototype.readInt8=function(a,b){return b||G(a,1,this.length),128&this[a]?-1*(255-this[a]+1):this[a]},e.prototype.readInt16LE=function(a,b){b||G(a,2,this.length);var c=this[a]|this[a+1]<<8;return 32768&c?4294901760|c:c},e.prototype.readInt16BE=function(a,b){b||G(a,2,this.length);var c=this[a+1]|this[a]<<8;return 32768&c?4294901760|c:c},e.prototype.readInt32LE=function(a,b){return b||G(a,4,this.length),this[a]|this[a+1]<<8|this[a+2]<<16|this[a+3]<<24},e.prototype.readInt32BE=function(a,b){return b||G(a,4,this.length),this[a]<<24|this[a+1]<<16|this[a+2]<<8|this[a+3]},e.prototype.readFloatLE=function(a,b){return b||G(a,4,this.length),W.read(this,a,!0,23,4)},e.prototype.readFloatBE=function(a,b){return b||G(a,4,this.length),W.read(this,a,!1,23,4)},e.prototype.readDoubleLE=function(a,b){return b||G(a,8,this.length),W.read(this,a,!0,52,8)},e.prototype.readDoubleBE=function(a,b){return b||G(a,8,this.length),W.read(this,a,!1,52,8)},e.prototype.writeUIntLE=function(a,b,c,d){a=+a,b=0|b,c=0|c,d||H(this,a,b,c,Math.pow(2,8*c),0);var e=1,f=0;for(this[b]=255&a;++f=0&&(f*=256);)this[b+e]=a/f&255;return b+c},e.prototype.writeUInt8=function(a,b,c){return a=+a,b=0|b,c||H(this,a,b,1,255,0),e.TYPED_ARRAY_SUPPORT||(a=Math.floor(a)),this[b]=a,b+1},e.prototype.writeUInt16LE=function(a,b,c){return a=+a,b=0|b,c||H(this,a,b,2,65535,0),e.TYPED_ARRAY_SUPPORT?(this[b]=a,this[b+1]=a>>>8):I(this,a,b,!0),b+2},e.prototype.writeUInt16BE=function(a,b,c){return a=+a,b=0|b,c||H(this,a,b,2,65535,0),e.TYPED_ARRAY_SUPPORT?(this[b]=a>>>8,this[b+1]=a):I(this,a,b,!1),b+2},e.prototype.writeUInt32LE=function(a,b,c){return a=+a,b=0|b,c||H(this,a,b,4,4294967295,0),e.TYPED_ARRAY_SUPPORT?(this[b+3]=a>>>24,this[b+2]=a>>>16,this[b+1]=a>>>8,this[b]=a):J(this,a,b,!0),b+4},e.prototype.writeUInt32BE=function(a,b,c){return a=+a,b=0|b,c||H(this,a,b,4,4294967295,0),e.TYPED_ARRAY_SUPPORT?(this[b]=a>>>24,this[b+1]=a>>>16,this[b+2]=a>>>8,this[b+3]=a):J(this,a,b,!1),b+4},e.prototype.writeIntLE=function(a,b,c,d){if(a=+a,b=0|b,!d){var e=Math.pow(2,8*c-1);H(this,a,b,c,e-1,-e)}var f=0,g=1,h=0>a?1:0;for(this[b]=255&a;++f>0)-h&255;return b+c},e.prototype.writeIntBE=function(a,b,c,d){if(a=+a,b=0|b,!d){var e=Math.pow(2,8*c-1);H(this,a,b,c,e-1,-e)}var f=c-1,g=1,h=0>a?1:0;for(this[b+f]=255&a;--f>=0&&(g*=256);)this[b+f]=(a/g>>0)-h&255;return b+c},e.prototype.writeInt8=function(a,b,c){return a=+a,b=0|b,c||H(this,a,b,1,127,-128),e.TYPED_ARRAY_SUPPORT||(a=Math.floor(a)),0>a&&(a=255+a+1),this[b]=a,b+1},e.prototype.writeInt16LE=function(a,b,c){return a=+a,b=0|b,c||H(this,a,b,2,32767,-32768),e.TYPED_ARRAY_SUPPORT?(this[b]=a,this[b+1]=a>>>8):I(this,a,b,!0),b+2},e.prototype.writeInt16BE=function(a,b,c){return a=+a,b=0|b,c||H(this,a,b,2,32767,-32768),e.TYPED_ARRAY_SUPPORT?(this[b]=a>>>8,this[b+1]=a):I(this,a,b,!1),b+2},e.prototype.writeInt32LE=function(a,b,c){return a=+a,b=0|b,c||H(this,a,b,4,2147483647,-2147483648),e.TYPED_ARRAY_SUPPORT?(this[b]=a,this[b+1]=a>>>8,this[b+2]=a>>>16,this[b+3]=a>>>24):J(this,a,b,!0),b+4},e.prototype.writeInt32BE=function(a,b,c){return a=+a,b=0|b,c||H(this,a,b,4,2147483647,-2147483648),0>a&&(a=4294967295+a+1),e.TYPED_ARRAY_SUPPORT?(this[b]=a>>>24,this[b+1]=a>>>16,this[b+2]=a>>>8,this[b+3]=a):J(this,a,b,!1),b+4},e.prototype.writeFloatLE=function(a,b,c){return L(this,a,b,!0,c)},e.prototype.writeFloatBE=function(a,b,c){return L(this,a,b,!1,c)},e.prototype.writeDoubleLE=function(a,b,c){return M(this,a,b,!0,c)},e.prototype.writeDoubleBE=function(a,b,c){return M(this,a,b,!1,c)},e.prototype.copy=function(a,b,c,d){if(c||(c=0),d||0===d||(d=this.length),b>=a.length&&(b=a.length),b||(b=0),d>0&&c>d&&(d=c),d===c)return 0;if(0===a.length||0===this.length)return 0;if(0>b)throw new RangeError("targetStart out of bounds");if(0>c||c>=this.length)throw new RangeError("sourceStart out of bounds");if(0>d)throw new RangeError("sourceEnd out of bounds");d>this.length&&(d=this.length),a.length-bc&&d>b)for(f=g-1;f>=0;f--)a[f+b]=this[f+c];else if(1e3>g||!e.TYPED_ARRAY_SUPPORT)for(f=0;g>f;f++)a[f+b]=this[f+c];else a._set(this.subarray(c,c+g),b);return g},e.prototype.fill=function(a,b,c){if(a||(a=0),b||(b=0),c||(c=this.length),b>c)throw new RangeError("end < start");if(c!==b&&0!==this.length){if(0>b||b>=this.length)throw new RangeError("start out of bounds");if(0>c||c>this.length)throw new RangeError("end out of bounds");var d;if("number"==typeof a)for(d=b;c>d;d++)this[d]=a;else{var e=Q(a.toString()),f=e.length;for(d=b;c>d;d++)this[d]=e[d%f]}return this}},e.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(e.TYPED_ARRAY_SUPPORT)return new e(this).buffer;for(var a=new Uint8Array(this.length),b=0,c=a.length;c>b;b+=1)a[b]=this[b];return a.buffer}throw new TypeError("Buffer.toArrayBuffer not supported in this browser")};var $=e.prototype;e._augment=function(a){return a.constructor=e,a._isBuffer=!0,a._set=a.set,a.get=$.get,a.set=$.set,a.write=$.write,a.toString=$.toString,a.toLocaleString=$.toString,a.toJSON=$.toJSON,a.equals=$.equals,a.compare=$.compare,a.indexOf=$.indexOf,a.copy=$.copy,a.slice=$.slice,a.readUIntLE=$.readUIntLE,a.readUIntBE=$.readUIntBE,a.readUInt8=$.readUInt8,a.readUInt16LE=$.readUInt16LE,a.readUInt16BE=$.readUInt16BE,a.readUInt32LE=$.readUInt32LE,a.readUInt32BE=$.readUInt32BE,a.readIntLE=$.readIntLE,a.readIntBE=$.readIntBE,a.readInt8=$.readInt8,a.readInt16LE=$.readInt16LE,a.readInt16BE=$.readInt16BE,a.readInt32LE=$.readInt32LE,a.readInt32BE=$.readInt32BE,a.readFloatLE=$.readFloatLE,a.readFloatBE=$.readFloatBE,a.readDoubleLE=$.readDoubleLE,a.readDoubleBE=$.readDoubleBE,a.writeUInt8=$.writeUInt8,a.writeUIntLE=$.writeUIntLE,a.writeUIntBE=$.writeUIntBE,a.writeUInt16LE=$.writeUInt16LE,a.writeUInt16BE=$.writeUInt16BE,a.writeUInt32LE=$.writeUInt32LE,a.writeUInt32BE=$.writeUInt32BE,a.writeIntLE=$.writeIntLE,a.writeIntBE=$.writeIntBE,a.writeInt8=$.writeInt8,a.writeInt16LE=$.writeInt16LE,a.writeInt16BE=$.writeInt16BE,a.writeInt32LE=$.writeInt32LE,a.writeInt32BE=$.writeInt32BE,a.writeFloatLE=$.writeFloatLE,a.writeFloatBE=$.writeFloatBE,a.writeDoubleLE=$.writeDoubleLE,a.writeDoubleBE=$.writeDoubleBE,a.fill=$.fill,a.inspect=$.inspect,a.toArrayBuffer=$.toArrayBuffer,a};var _=/[^+\/0-9A-Za-z-_]/g},{"base64-js":146,ieee754:147,"is-array":148}],146:[function(a,b,c){var d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";!function(a){"use strict";function b(a){var b=a.charCodeAt(0);return b===g||b===l?62:b===h||b===m?63:i>b?-1:i+10>b?b-i+26+26:k+26>b?b-k:j+26>b?b-j+26:void 0}function c(a){function c(a){j[l++]=a}var d,e,g,h,i,j;if(a.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var k=a.length;i="="===a.charAt(k-2)?2:"="===a.charAt(k-1)?1:0,j=new f(3*a.length/4-i),g=i>0?a.length-4:a.length;var l=0;for(d=0,e=0;g>d;d+=4,e+=3)h=b(a.charAt(d))<<18|b(a.charAt(d+1))<<12|b(a.charAt(d+2))<<6|b(a.charAt(d+3)),c((16711680&h)>>16),c((65280&h)>>8),c(255&h);return 2===i?(h=b(a.charAt(d))<<2|b(a.charAt(d+1))>>4,c(255&h)):1===i&&(h=b(a.charAt(d))<<10|b(a.charAt(d+1))<<4|b(a.charAt(d+2))>>2,c(h>>8&255),c(255&h)),j}function e(a){function b(a){return d.charAt(a)}function c(a){return b(a>>18&63)+b(a>>12&63)+b(a>>6&63)+b(63&a)}var e,f,g,h=a.length%3,i="";for(e=0,g=a.length-h;g>e;e+=3)f=(a[e]<<16)+(a[e+1]<<8)+a[e+2],i+=c(f);switch(h){case 1:f=a[a.length-1],i+=b(f>>2),i+=b(f<<4&63),i+="==";break;case 2:f=(a[a.length-2]<<8)+a[a.length-1],i+=b(f>>10),i+=b(f>>4&63),i+=b(f<<2&63),i+="="}return i}var f="undefined"!=typeof Uint8Array?Uint8Array:Array,g="+".charCodeAt(0),h="/".charCodeAt(0),i="0".charCodeAt(0),j="a".charCodeAt(0),k="A".charCodeAt(0),l="-".charCodeAt(0),m="_".charCodeAt(0);a.toByteArray=c,a.fromByteArray=e}("undefined"==typeof c?this.base64js={}:c)},{}],147:[function(a,b,c){c.read=function(a,b,c,d,e){var f,g,h=8*e-d-1,i=(1<>1,k=-7,l=c?e-1:0,m=c?-1:1,n=a[b+l];for(l+=m,f=n&(1<<-k)-1,n>>=-k,k+=h;k>0;f=256*f+a[b+l],l+=m,k-=8);for(g=f&(1<<-k)-1,f>>=-k,k+=d;k>0;g=256*g+a[b+l],l+=m,k-=8);if(0===f)f=1-j;else{if(f===i)return g?NaN:(n?-1:1)*(1/0);g+=Math.pow(2,d),f-=j}return(n?-1:1)*g*Math.pow(2,f-d)},c.write=function(a,b,c,d,e,f){var g,h,i,j=8*f-e-1,k=(1<>1,m=23===e?Math.pow(2,-24)-Math.pow(2,-77):0,n=d?0:f-1,o=d?1:-1,p=0>b||0===b&&0>1/b?1:0;for(b=Math.abs(b),isNaN(b)||b===1/0?(h=isNaN(b)?1:0,g=k):(g=Math.floor(Math.log(b)/Math.LN2),b*(i=Math.pow(2,-g))<1&&(g--,i*=2),b+=g+l>=1?m/i:m*Math.pow(2,1-l),b*i>=2&&(g++,i/=2),g+l>=k?(h=0,g=k):g+l>=1?(h=(b*i-1)*Math.pow(2,e),g+=l):(h=b*Math.pow(2,l-1)*Math.pow(2,e),g=0));e>=8;a[c+n]=255&h,n+=o,h/=256,e-=8);for(g=g<0;a[c+n]=255&g,n+=o,g/=256,j-=8);a[c+n-o]|=128*p}},{}],148:[function(a,b,c){var d=Array.isArray,e=Object.prototype.toString;b.exports=d||function(a){return!!a&&"[object Array]"==e.call(a)}},{}],149:[function(a,b,c){(function(c){function d(){}function e(){m.log.apply(m,arguments)}function f(){m.log.apply(m,arguments)}function g(){m.warn.apply(m,arguments)}function h(a){r[a]=p()}function i(a){var b=r[a];if(!b)throw new Error("No such label: "+a);var c=p()-b;m.log(a+": "+c+"ms")}function j(){var a=new Error;a.name="Trace",a.message=n.format.apply(null,arguments),m.error(a.stack)}function k(a){m.log(n.inspect(a)+"\n")}function l(a){if(!a){var b=q.call(arguments,1);o.ok(!1,n.format.apply(null,b))}}var m,n=a("util"),o=a("assert"),p=a("date-now"),q=Array.prototype.slice,r={};m="undefined"!=typeof c&&c.console?c.console:"undefined"!=typeof window&&window.console?window.console:{};for(var s=[[d,"log"],[e,"info"],[f,"warn"],[g,"error"],[h,"time"],[i,"timeEnd"],[j,"trace"],[k,"dir"],[l,"assert"]],t=0;t0&&m.push(f),m.push(a),f=e(c.concat(m)),m=[],g=0,b>0)for(;;){if(0===b)break;if(g===f.length)break;j[h++]=f[g],b--,g++}if(d>0&&g!==f.length)for(;;){if(0===d)break;if(g===f.length)break;k[i++]=f[g],d--,g++}if(0===b&&0===d)break}for(g=0;gh||0>a?(c=Math.abs(a)%h,0>a?h-c:c):a}function d(a){for(var b=0;ba;b=++a)128>b?c.push(b<<1):c.push(b<<1^283);return c}(),e=0,i=0,b=j=0;256>j;b=++j)c=i^i<<1^i<<2^i<<3^i<<4,c=c>>>8^255&c^99,this.SBOX[e]=c,this.INV_SBOX[c]=e,f=a[e],g=a[f],h=a[g],d=257*a[c]^16843008*c,this.SUB_MIX[0][e]=d<<24|d>>>8,this.SUB_MIX[1][e]=d<<16|d>>>16,this.SUB_MIX[2][e]=d<<8|d>>>24,this.SUB_MIX[3][e]=d,d=16843009*h^65537*g^257*f^16843008*e,this.INV_SUB_MIX[0][c]=d<<24|d>>>8,this.INV_SUB_MIX[1][c]=d<<16|d>>>16,this.INV_SUB_MIX[2][c]=d<<8|d>>>24,this.INV_SUB_MIX[3][c]=d,0===e?e=i=1:(e=f^a[a[a[h^f]]],i^=a[a[i]]);return!0};var i=new e;g.blockSize=16,g.prototype.blockSize=g.blockSize,g.keySize=32,g.prototype.keySize=g.keySize,g.prototype._doReset=function(){var a,b,c,d,e,f;for(c=this._key,b=c.length,this._nRounds=b+6,e=4*(this._nRounds+1),this._keySchedule=[],d=0;e>d;d++)this._keySchedule[d]=b>d?c[d]:(f=this._keySchedule[d-1],d%b===0?(f=f<<8|f>>>24,f=i.SBOX[f>>>24]<<24|i.SBOX[f>>>16&255]<<16|i.SBOX[f>>>8&255]<<8|i.SBOX[255&f],f^=i.RCON[d/b|0]<<24):b>6&&d%b===4?f=i.SBOX[f>>>24]<<24|i.SBOX[f>>>16&255]<<16|i.SBOX[f>>>8&255]<<8|i.SBOX[255&f]:void 0,this._keySchedule[d-b]^f);for(this._invKeySchedule=[],a=0;e>a;a++)d=e-a,f=this._keySchedule[d-(a%4?0:4)],this._invKeySchedule[a]=4>a||4>=d?f:i.INV_SUB_MIX[0][i.SBOX[f>>>24]]^i.INV_SUB_MIX[1][i.SBOX[f>>>16&255]]^i.INV_SUB_MIX[2][i.SBOX[f>>>8&255]]^i.INV_SUB_MIX[3][i.SBOX[255&f]];return!0},g.prototype.encryptBlock=function(b){b=f(new a(b));var c=this._doCryptBlock(b,this._keySchedule,i.SUB_MIX,i.SBOX),d=new a(16);return d.writeUInt32BE(c[0],0),d.writeUInt32BE(c[1],4),d.writeUInt32BE(c[2],8),d.writeUInt32BE(c[3],12),d},g.prototype.decryptBlock=function(b){b=f(new a(b));var c=[b[3],b[1]];b[1]=c[0],b[3]=c[1];var d=this._doCryptBlock(b,this._invKeySchedule,i.INV_SUB_MIX,i.INV_SBOX),e=new a(16);return e.writeUInt32BE(d[0],0),e.writeUInt32BE(d[3],4),e.writeUInt32BE(d[2],8),e.writeUInt32BE(d[1],12),e},g.prototype.scrub=function(){d(this._keySchedule),d(this._invKeySchedule),d(this._key)},g.prototype._doCryptBlock=function(a,c,d,e){var f,g,h,i,j,k,l,m,n;g=a[0]^c[0],h=a[1]^c[1],i=a[2]^c[2],j=a[3]^c[3],f=4;for(var o=1;o>>24]^d[1][h>>>16&255]^d[2][i>>>8&255]^d[3][255&j]^c[f++],l=d[0][h>>>24]^d[1][i>>>16&255]^d[2][j>>>8&255]^d[3][255&g]^c[f++],m=d[0][i>>>24]^d[1][j>>>16&255]^d[2][g>>>8&255]^d[3][255&h]^c[f++],n=d[0][j>>>24]^d[1][g>>>16&255]^d[2][h>>>8&255]^d[3][255&i]^c[f++],g=k,h=l,i=m,j=n;return k=(e[g>>>24]<<24|e[h>>>16&255]<<16|e[i>>>8&255]<<8|e[255&j])^c[f++],l=(e[h>>>24]<<24|e[i>>>16&255]<<16|e[j>>>8&255]<<8|e[255&g])^c[f++],m=(e[i>>>24]<<24|e[j>>>16&255]<<16|e[g>>>8&255]<<8|e[255&h])^c[f++],n=(e[j>>>24]<<24|e[g>>>16&255]<<16|e[h>>>8&255]<<8|e[255&i])^c[f++],[b(k),b(l),b(m),b(n)]},c.AES=g}).call(this,a("buffer").Buffer)},{buffer:145}],154:[function(a,b,c){(function(c){function d(a,b,e,h){if(!(this instanceof d))return new d(a,b,e);g.call(this),this._finID=c.concat([e,new c([0,0,0,1])]),e=c.concat([e,new c([0,0,0,2])]),this._cipher=new f.AES(b),this._prev=new c(e.length),this._cache=new c(""),this._secCache=new c(""),this._decrypt=h,this._alen=0,this._len=0,e.copy(this._prev),this._mode=a;var j=new c(4);j.fill(0),this._ghash=new i(this._cipher.encryptBlock(j)),this._authTag=null,this._called=!1}function e(a,b){var c=0;a.length!==b.length&&c++;for(var d=Math.min(a.length,b.length),e=-1;++eb&&(b=new c(b),b.fill(0),this._ghash.update(b))}this._called=!0;var d=this._mode.encrypt(this,a);return this._decrypt?this._ghash.update(a):this._ghash.update(d),this._len+=a.length,d},d.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var a=j(this._ghash["final"](8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt){if(e(a,this._authTag))throw new Error("Unsupported state or unable to authenticate data")}else this._authTag=a;this._cipher.scrub()},d.prototype.getAuthTag=function(){if(!this._decrypt&&c.isBuffer(this._authTag))return this._authTag;throw new Error("Attempting to get auth tag in unsupported state")},d.prototype.setAuthTag=function(a){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=a},d.prototype.setAAD=function(a){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(a),this._alen+=a.length}}).call(this,a("buffer").Buffer)},{"./aes":153,"./cipherBase":156,"./ghash":159,buffer:145,"buffer-xor":168,inherits:298}],155:[function(a,b,c){function d(){return Object.keys(g)}var e=a("./encrypter");c.createCipher=c.Cipher=e.createCipher,c.createCipheriv=c.Cipheriv=e.createCipheriv;var f=a("./decrypter");c.createDecipher=c.Decipher=f.createDecipher,c.createDecipheriv=c.Decipheriv=f.createDecipheriv;var g=a("./modes");c.listCiphers=c.getCiphers=d},{"./decrypter":157,"./encrypter":158,"./modes":160}],156:[function(a,b,c){(function(c){function d(){e.call(this),this._base64Cache=new c("")}var e=a("stream").Transform,f=a("inherits");b.exports=d,f(d,e),d.prototype.update=function(a,b,d){"string"==typeof a&&(a=new c(a,b));var e=this._update(a);return d&&(e=this._toString(e,d)),e},d.prototype._transform=function(a,b,c){this.push(this._update(a)),c()},d.prototype._flush=function(a){try{this.push(this._final())}catch(b){return a(b)}a()},d.prototype["final"]=function(a){var b=this._final()||new c("");return a&&(b=this._toString(b,a,!0)),b},d.prototype._toString=function(a,b,d){if("base64"!==b)return a.toString(b);this._base64Cache=c.concat([this._base64Cache,a]);var e;if(d)return e=this._base64Cache,this._base64Cache=null,e.toString("base64");var f=this._base64Cache.length,g=f%3;if(!g)return e=this._base64Cache,this._base64Cache=new c(""),e.toString("base64");var h=f-g;return h?(e=this._base64Cache.slice(0,h),this._base64Cache=this._base64Cache.slice(-g),e.toString("base64")):""}}).call(this,a("buffer").Buffer)},{buffer:145,inherits:298,stream:317}],157:[function(a,b,c){(function(b){function d(a,c,f){return this instanceof d?(j.call(this),this._cache=new e,this._last=void 0,this._cipher=new i.AES(c),this._prev=new b(f.length),f.copy(this._prev),this._mode=a,void(this._autopadding=!0)):new d(a,c,f)}function e(){return this instanceof e?void(this.cache=new b("")):new e}function f(a){for(var b=a[15],c=-1;++c16)return b=this.cache.slice(0,16),this.cache=this.cache.slice(16),b}else if(this.cache.length>=16)return b=this.cache.slice(0,16),this.cache=this.cache.slice(16),b;return null},e.prototype.flush=function(){return this.cache.length?this.cache:void 0};var p={ECB:a("./modes/ecb"),CBC:a("./modes/cbc"),CFB:a("./modes/cfb"),CFB8:a("./modes/cfb8"),CFB1:a("./modes/cfb1"),OFB:a("./modes/ofb"),CTR:a("./modes/ctr"),GCM:a("./modes/ctr")};c.createDecipher=h,c.createDecipheriv=g}).call(this,a("buffer").Buffer)},{"./EVP_BytesToKey":152,"./aes":153,"./authCipher":154,"./cipherBase":156,"./modes":160,"./modes/cbc":161,"./modes/cfb":162,"./modes/cfb1":163,"./modes/cfb8":164,"./modes/ctr":165,"./modes/ecb":166,"./modes/ofb":167,"./streamCipher":169,buffer:145,inherits:298}],158:[function(a,b,c){(function(b){function d(a,c,f){return this instanceof d?(i.call(this),this._cache=new e,this._cipher=new h.AES(c),this._prev=new b(f.length),f.copy(this._prev),this._mode=a,void(this._autopadding=!0)):new d(a,c,f)}function e(){return this instanceof e?void(this.cache=new b("")):new e}function f(a,c,e){var f=k[a.toLowerCase()];if(!f)throw new TypeError("invalid suite type");if("string"==typeof e&&(e=new b(e)),"string"==typeof c&&(c=new b(c)),c.length!==f.key/8)throw new TypeError("invalid key length "+c.length);if(e.length!==f.iv)throw new TypeError("invalid iv length "+e.length);return"stream"===f.type?new m(o[f.mode],c,e):"auth"===f.type?new n(o[f.mode],c,e):new d(o[f.mode],c,e)}function g(a,b){var c=k[a.toLowerCase()];if(!c)throw new TypeError("invalid suite type");var d=l(b,c.key,c.iv);return f(a,d.key,d.iv)}var h=a("./aes"),i=a("./cipherBase"),j=a("inherits"),k=a("./modes"),l=a("./EVP_BytesToKey"),m=a("./streamCipher"),n=a("./authCipher");j(d,i),d.prototype._update=function(a){this._cache.add(a);for(var c,d,e=[];c=this._cache.get();)d=this._mode.encrypt(this,c),e.push(d);return b.concat(e)},d.prototype._final=function(){var a=this._cache.flush();if(this._autopadding)return a=this._mode.encrypt(this,a),this._cipher.scrub(),a;if("10101010101010101010101010101010"!==a.toString("hex"))throw this._cipher.scrub(),new Error("data not multiple of block length")},d.prototype.setAutoPadding=function(a){this._autopadding=!!a},e.prototype.add=function(a){this.cache=b.concat([this.cache,a])},e.prototype.get=function(){if(this.cache.length>15){var a=this.cache.slice(0,16);return this.cache=this.cache.slice(16),a}return null},e.prototype.flush=function(){for(var a=16-this.cache.length,c=new b(a),d=-1;++di||0>a?(c=Math.abs(a)%i,0>a?i-c:c):a}function g(a,b){return[a[0]^b[0],a[1]^b[1],a[2]^b[2],a[3]^b[3]]}var h=new a(16);h.fill(0),b.exports=c,c.prototype.ghash=function(a){for(var b=-1;++b0;a--)f[a]=f[a]>>>1|(1&f[a-1])<<31;f[0]=f[0]>>>1,c&&(f[0]=f[0]^225<<24)}this.state=e(h)},c.prototype.update=function(b){this.cache=a.concat([this.cache,b]);for(var c;this.cache.length>=16;)c=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(c)},c.prototype["final"]=function(b,c){return this.cache.length&&this.ghash(a.concat([this.cache,h],16)),this.ghash(e([0,b,0,c])),this.state};var i=Math.pow(2,32)}).call(this,a("buffer").Buffer)},{buffer:145}],160:[function(a,b,c){c["aes-128-ecb"]={cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},c["aes-192-ecb"]={cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},c["aes-256-ecb"]={cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},c["aes-128-cbc"]={cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},c["aes-192-cbc"]={cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},c["aes-256-cbc"]={cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},c.aes128=c["aes-128-cbc"],c.aes192=c["aes-192-cbc"],c.aes256=c["aes-256-cbc"],c["aes-128-cfb"]={cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},c["aes-192-cfb"]={cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},c["aes-256-cfb"]={cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},c["aes-128-cfb8"]={cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},c["aes-192-cfb8"]={cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},c["aes-256-cfb8"]={cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},c["aes-128-cfb1"]={cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},c["aes-192-cfb1"]={cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},c["aes-256-cfb1"]={cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},c["aes-128-ofb"]={cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},c["aes-192-ofb"]={cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},c["aes-256-ofb"]={cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},c["aes-128-ctr"]={cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},c["aes-192-ctr"]={cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},c["aes-256-ctr"]={cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},c["aes-128-gcm"]={cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},c["aes-192-gcm"]={cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},c["aes-256-gcm"]={cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}},{}],161:[function(a,b,c){var d=a("buffer-xor");c.encrypt=function(a,b){var c=d(b,a._prev);return a._prev=a._cipher.encryptBlock(c),a._prev},c.decrypt=function(a,b){var c=a._prev;a._prev=b;var e=a._cipher.decryptBlock(b);return d(e,c)}},{"buffer-xor":168}],162:[function(a,b,c){(function(b){function d(a,c,d){var f=c.length,g=e(c,a._cache);return a._cache=a._cache.slice(f), -a._prev=b.concat([a._prev,d?c:g]),g}var e=a("buffer-xor");c.encrypt=function(a,c,e){for(var f,g=new b("");c.length;){if(0===a._cache.length&&(a._cache=a._cipher.encryptBlock(a._prev),a._prev=new b("")),!(a._cache.length<=c.length)){g=b.concat([g,d(a,c,e)]);break}f=a._cache.length,g=b.concat([g,d(a,c.slice(0,f),e)]),c=c.slice(f)}return g}}).call(this,a("buffer").Buffer)},{buffer:145,"buffer-xor":168}],163:[function(a,b,c){(function(a){function b(a,b,c){for(var e,f,g,h=-1,i=8,j=0;++h>h%8,a._prev=d(a._prev,c?f:g);return j}function d(b,c){var d=b.length,e=-1,f=new a(b.length);for(b=a.concat([b,new a([c])]);++e>7;return f}c.encrypt=function(c,d,e){for(var f=d.length,g=new a(f),h=-1;++hf;++f)e[f]=b[f]^c[f];return e}}).call(this,a("buffer").Buffer)},{buffer:145}],169:[function(a,b,c){(function(c){function d(a,b,g,h){return this instanceof d?(f.call(this),this._cipher=new e.AES(b),this._prev=new c(g.length),this._cache=new c(""),this._secCache=new c(""),this._decrypt=h,g.copy(this._prev),void(this._mode=a)):new d(a,b,g)}var e=a("./aes"),f=a("./cipherBase"),g=a("inherits");g(d,f),b.exports=d,d.prototype._update=function(a){return this._mode.encrypt(this,a,this._decrypt)},d.prototype._final=function(){this._cipher.scrub()}}).call(this,a("buffer").Buffer)},{"./aes":153,"./cipherBase":156,buffer:145,inherits:298}],170:[function(a,b,c){(function(a){"use strict";c["RSA-SHA224"]=c.sha224WithRSAEncryption={sign:"rsa",hash:"sha224",id:new a("302d300d06096086480165030402040500041c","hex")},c["RSA-SHA256"]=c.sha256WithRSAEncryption={sign:"rsa",hash:"sha256",id:new a("3031300d060960864801650304020105000420","hex")},c["RSA-SHA384"]=c.sha384WithRSAEncryption={sign:"rsa",hash:"sha384",id:new a("3041300d060960864801650304020205000430","hex")},c["RSA-SHA512"]=c.sha512WithRSAEncryption={sign:"rsa",hash:"sha512",id:new a("3051300d060960864801650304020305000440","hex")},c["RSA-SHA1"]={sign:"rsa",hash:"sha1",id:new a("3021300906052b0e03021a05000414","hex")},c["ecdsa-with-SHA1"]={sign:"ecdsa",hash:"sha1",id:new a("","hex")},c.DSA=c["DSA-SHA1"]=c["DSA-SHA"]={sign:"dsa",hash:"sha1",id:new a("","hex")},c["DSA-SHA224"]=c["DSA-WITH-SHA224"]={sign:"dsa",hash:"sha224",id:new a("","hex")},c["DSA-SHA256"]=c["DSA-WITH-SHA256"]={sign:"dsa",hash:"sha256",id:new a("","hex")},c["DSA-SHA384"]=c["DSA-WITH-SHA384"]={sign:"dsa",hash:"sha384",id:new a("","hex")},c["DSA-SHA512"]=c["DSA-WITH-SHA512"]={sign:"dsa",hash:"sha512",id:new a("","hex")},c["DSA-RIPEMD160"]={sign:"dsa",hash:"rmd160",id:new a("","hex")},c["RSA-RIPEMD160"]=c.ripemd160WithRSA={sign:"rsa",hash:"rmd160",id:new a("3021300906052b2403020105000414","hex")},c["RSA-MD5"]=c.md5WithRSAEncryption={sign:"rsa",hash:"md5",id:new a("3020300c06082a864886f70d020505000410","hex")}}).call(this,a("buffer").Buffer)},{buffer:145}],171:[function(a,b,c){(function(b){"use strict";function d(a){return new f(a)}function e(a){return new g(a)}function f(a){j.Writable.call(this);var b=n[a];if(!b)throw new Error("Unknown message digest");this._hashType=b.hash,this._hash=m(b.hash),this._tag=b.id,this._signType=b.sign}function g(a){j.Writable.call(this);var b=n[a];if(!b)throw new Error("Unknown message digest");this._hash=m(b.hash),this._tag=b.id,this._signType=b.sign}var h=a("./sign"),i=a("./verify"),j=a("stream"),k=a("inherits"),l=a("./algos"),m=a("create-hash"),n={};Object.keys(l).forEach(function(a){n[a]=n[a.toLowerCase()]=l[a]}),c.createSign=c.Sign=d,c.createVerify=c.Verify=e,k(f,j.Writable),f.prototype._write=function(a,b,c){this._hash.update(a),c()},f.prototype.update=function(a,c){return"string"==typeof a&&(a=new b(a,c)),this._hash.update(a),this},f.prototype.sign=function(a,c){this.end();var d=this._hash.digest(),e=h(b.concat([this._tag,d]),a,this._hashType,this._signType);return c&&(e=e.toString(c)),e},k(g,j.Writable),g.prototype._write=function(a,b,c){this._hash.update(a),c()},g.prototype.update=function(a,c){return"string"==typeof a&&(a=new b(a,c)),this._hash.update(a),this},g.prototype.verify=function(a,c,d){this.end();var e=this._hash.digest();return"string"==typeof c&&(c=new b(c,d)),i(c,b.concat([this._tag,e]),a,this._signType)}}).call(this,a("buffer").Buffer)},{"./algos":170,"./sign":216,"./verify":217,buffer:145,"create-hash":242,inherits:298,stream:317}],172:[function(a,b,c){"use strict";c["1.3.132.0.10"]="secp256k1",c["1.3.132.0.33"]="p224",c["1.2.840.10045.3.1.1"]="p192",c["1.2.840.10045.3.1.7"]="p256"},{}],173:[function(a,b,c){!function(a,b){"use strict";function c(a,b){if(!a)throw new Error(b||"Assertion failed")}function d(a,b){a.super_=b;var c=function(){};c.prototype=b.prototype,a.prototype=new c,a.prototype.constructor=a}function e(a,b,c){return null!==a&&"object"==typeof a&&Array.isArray(a.words)?a:(this.sign=!1,this.words=null,this.length=0,this.red=null,("le"===b||"be"===b)&&(c=b,b=10),void(null!==a&&this._init(a||0,b||10,c||"be")))}function f(a,b,c){for(var d=0,e=Math.min(a.length,c),f=b;e>f;f++){var g=a.charCodeAt(f)-48;d<<=4,d|=g>=49&&54>=g?g-49+10:g>=17&&22>=g?g-17+10:15&g}return d}function g(a,b,c,d){for(var e=0,f=Math.min(a.length,c),g=b;f>g;g++){var h=a.charCodeAt(g)-48;e*=d,e+=h>=49?h-49+10:h>=17?h-17+10:h}return e}function h(a,b){this.name=a,this.p=new e(b,16),this.n=this.p.bitLength(),this.k=new e(1).ishln(this.n).isub(this.p),this.tmp=this._tmp()}function i(){h.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function j(){h.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function k(){h.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function l(){h.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function m(a){if("string"==typeof a){var b=e._prime(a);this.m=b.p,this.prime=b}else this.m=a,this.prime=null}function n(a){m.call(this,a),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new e(1).ishln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv.sign=!0,this.minv=this.minv.mod(this.r)}"object"==typeof a?a.exports=e:b.BN=e,e.BN=e,e.wordSize=26,e.prototype._init=function(a,b,d){if("number"==typeof a)return this._initNumber(a,b,d);if("object"==typeof a)return this._initArray(a,b,d);"hex"===b&&(b=16),c(b===(0|b)&&b>=2&&36>=b),a=a.toString().replace(/\s+/g,"");var e=0;"-"===a[0]&&e++,16===b?this._parseHex(a,e):this._parseBase(a,b,e),"-"===a[0]&&(this.sign=!0),this.strip(),"le"===d&&this._initArray(this.toArray(),b,d)},e.prototype._initNumber=function(a,b,d){0>a&&(this.sign=!0,a=-a),67108864>a?(this.words=[67108863&a],this.length=1):4503599627370496>a?(this.words=[67108863&a,a/67108864&67108863],this.length=2):(c(9007199254740992>a),this.words=[67108863&a,a/67108864&67108863,1],this.length=3),"le"===d&&this._initArray(this.toArray(),b,d)},e.prototype._initArray=function(a,b,d){if(c("number"==typeof a.length),a.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(a.length/3),this.words=new Array(this.length);for(var e=0;e=0;e-=3){var h=a[e]|a[e-1]<<8|a[e-2]<<16;this.words[g]|=h<>>26-f&67108863,f+=24,f>=26&&(f-=26,g++)}else if("le"===d)for(var e=0,g=0;e>>26-f&67108863,f+=24,f>=26&&(f-=26,g++)}return this.strip()},e.prototype._parseHex=function(a,b){this.length=Math.ceil((a.length-b)/6),this.words=new Array(this.length);for(var c=0;c=b;c-=6){var g=f(a,c,c+6);this.words[e]|=g<>>26-d&4194303,d+=24,d>=26&&(d-=26,e++)}if(c+6!==b){var g=f(a,b,c+6);this.words[e]|=g<>>26-d&4194303}this.strip()},e.prototype._parseBase=function(a,b,c){this.words=[0],this.length=1;for(var d=0,e=1;67108863>=e;e*=b)d++;d--,e=e/b|0;for(var f=a.length-c,h=f%d,i=Math.min(f,f-h)+c,j=0,k=c;i>k;k+=d)j=g(a,k,k+d,b),this.imuln(e),this.words[0]+j<67108864?this.words[0]+=j:this._iaddn(j);if(0!==h){for(var l=1,j=g(a,k,a.length,b),k=0;h>k;k++)l*=b;this.imuln(l),this.words[0]+j<67108864?this.words[0]+=j:this._iaddn(j)}},e.prototype.copy=function(a){a.words=new Array(this.length);for(var b=0;b1&&0===this.words[this.length-1];)this.length--;return this._normSign()},e.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.sign=!1),this},e.prototype.inspect=function(){return(this.red?""};var o=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],p=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],q=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];e.prototype.toString=function(a,b){if(a=a||10,16===a||"hex"===a){for(var d="",e=0,b=0|b||1,f=0,g=0;g>>24-e&16777215,d=0!==f||g!==this.length-1?o[6-i.length]+i+d:i+d,e+=2,e>=26&&(e-=26,g--)}for(0!==f&&(d=f.toString(16)+d);d.length%b!==0;)d="0"+d;return this.sign&&(d="-"+d),d}if(a===(0|a)&&a>=2&&36>=a){var j=p[a],k=q[a],d="",l=this.clone();for(l.sign=!1;0!==l.cmpn(0);){var m=l.modn(k).toString(a);l=l.idivn(k),d=0!==l.cmpn(0)?o[j-m.length]+m+d:m+d}return 0===this.cmpn(0)&&(d="0"+d),this.sign&&(d="-"+d),d}c(!1,"Base should be between 2 and 36")},e.prototype.toJSON=function(){return this.toString(16)},e.prototype.toArray=function(a){this.strip();var b=new Array(this.byteLength());b[0]=0;var c=this.clone();if("le"!==a)for(var d=0;0!==c.cmpn(0);d++){var e=c.andln(255);c.ishrn(8),b[b.length-d-1]=e}else for(var d=0;0!==c.cmpn(0);d++){var e=c.andln(255);c.ishrn(8),b[d]=e}return b},Math.clz32?e.prototype._countBits=function(a){return 32-Math.clz32(a)}:e.prototype._countBits=function(a){var b=a,c=0;return b>=4096&&(c+=13,b>>>=13),b>=64&&(c+=7,b>>>=7),b>=8&&(c+=4,b>>>=4),b>=2&&(c+=2,b>>>=2),c+b},e.prototype._zeroBits=function(a){if(0===a)return 26;var b=a,c=0;return 0===(8191&b)&&(c+=13,b>>>=13),0===(127&b)&&(c+=7,b>>>=7),0===(15&b)&&(c+=4,b>>>=4),0===(3&b)&&(c+=2,b>>>=2),0===(1&b)&&c++,c},e.prototype.bitLength=function(){var a=0,b=this.words[this.length-1],a=this._countBits(b);return 26*(this.length-1)+a},e.prototype.zeroBits=function(){if(0===this.cmpn(0))return 0;for(var a=0,b=0;ba.length?this.clone().ior(a):a.clone().ior(this)},e.prototype.iand=function(a){this.sign=this.sign&&a.sign;var b;b=this.length>a.length?a:this;for(var c=0;ca.length?this.clone().iand(a):a.clone().iand(this)},e.prototype.ixor=function(a){this.sign=this.sign||a.sign;var b,c;this.length>a.length?(b=this,c=a):(b=a,c=this);for(var d=0;da.length?this.clone().ixor(a):a.clone().ixor(this)},e.prototype.setn=function(a,b){c("number"==typeof a&&a>=0);for(var d=a/26|0,e=a%26;this.length<=d;)this.words[this.length++]=0;return b?this.words[d]=this.words[d]|1<a.length?(c=this,d=a):(c=a,d=this);for(var e=0,f=0;f>>26}for(;0!==e&&f>>26}if(this.length=c.length,0!==e)this.words[this.length]=e,this.length++;else if(c!==this)for(;fa.length?this.clone().iadd(a):a.clone().iadd(this)},e.prototype.isub=function(a){if(a.sign){a.sign=!1;var b=this.iadd(a);return a.sign=!0,b._normSign()}if(this.sign)return this.sign=!1,this.iadd(a),this.sign=!0,this._normSign();var c=this.cmp(a);if(0===c)return this.sign=!1,this.length=1,this.words[0]=0,this;var d,e;c>0?(d=this,e=a):(d=a,e=this);for(var f=0,g=0;g>26,this.words[g]=67108863&b}for(;0!==f&&g>26,this.words[g]=67108863&b}if(0===f&&g>>26,f=67108863&c,g=Math.min(d,a.length-1),h=Math.max(0,d-this.length+1);g>=h;h++){var i=d-h,j=0|this.words[i],k=0|a.words[h],l=j*k,m=67108863&l;e=e+(l/67108864|0)|0,m=m+f|0,f=67108863&m,e=e+(m>>>26)|0}b.words[d]=f,c=e}return 0!==c?b.words[d]=c:b.length--,b.strip()},e.prototype._bigMulTo=function(a,b){b.sign=a.sign!==this.sign,b.length=this.length+a.length;for(var c=0,d=0,e=0;e=i;i++){var j=e-i,k=0|this.words[j],l=0|a.words[i],m=k*l,n=67108863&m;f=f+(m/67108864|0)|0,n=n+g|0,g=67108863&n,f=f+(n>>>26)|0,d+=f>>>26,f&=67108863}b.words[e]=g,c=f,f=d}return 0!==c?b.words[e]=c:b.length--,b.strip()},e.prototype.mulTo=function(a,b){var c;return c=this.length+a.length<63?this._smallMulTo(a,b):this._bigMulTo(a,b)},e.prototype.mul=function(a){var b=new e(null);return b.words=new Array(this.length+a.length),this.mulTo(a,b)},e.prototype.imul=function(a){if(0===this.cmpn(0)||0===a.cmpn(0))return this.words[0]=0,this.length=1,this;var b=this.length,c=a.length;this.sign=a.sign!==this.sign,this.length=this.length+a.length,this.words[this.length-1]=0;for(var d=this.length-2;d>=0;d--){for(var e=0,f=0,g=Math.min(d,c-1),h=Math.max(0,d-b+1);g>=h;h++){var i=d-h,j=this.words[i],k=a.words[h],l=j*k,m=67108863&l;e+=l/67108864|0,m+=f,f=67108863&m,e+=m>>>26}this.words[d]=f,this.words[d+1]+=e,e=0}for(var e=0,i=1;i>>26}return this.strip()},e.prototype.imuln=function(a){c("number"==typeof a);for(var b=0,d=0;d>=26,b+=e/67108864|0,b+=f>>>26,this.words[d]=67108863&f}return 0!==b&&(this.words[d]=b,this.length++),this},e.prototype.muln=function(a){return this.clone().imuln(a)},e.prototype.sqr=function(){return this.mul(this)},e.prototype.isqr=function(){return this.mul(this)},e.prototype.ishln=function(a){c("number"==typeof a&&a>=0);var b=a%26,d=(a-b)/26,e=67108863>>>26-b<<26-b;if(0!==b){for(var f=0,g=0;g>>26-b}f&&(this.words[g]=f,this.length++)}if(0!==d){for(var g=this.length-1;g>=0;g--)this.words[g+d]=this.words[g];for(var g=0;d>g;g++)this.words[g]=0;this.length+=d}return this.strip()},e.prototype.ishrn=function(a,b,d){c("number"==typeof a&&a>=0);var e;e=b?(b-b%26)/26:0;var f=a%26,g=Math.min((a-f)/26,this.length),h=67108863^67108863>>>f<j;j++)i.words[j]=this.words[j];i.length=g}if(0===g);else if(this.length>g){this.length-=g;for(var j=0;j=0&&(0!==k||j>=e);j--){var l=this.words[j];this.words[j]=k<<26-f|l>>>f,k=l&h}return i&&0!==k&&(i.words[i.length++]=k),0===this.length&&(this.words[0]=0,this.length=1),this.strip(),this},e.prototype.shln=function(a){return this.clone().ishln(a)},e.prototype.shrn=function(a){return this.clone().ishrn(a)},e.prototype.testn=function(a){c("number"==typeof a&&a>=0);var b=a%26,d=(a-b)/26,e=1<=0);var b=a%26,d=(a-b)/26;if(c(!this.sign,"imaskn works only with positive numbers"),0!==b&&d++,this.length=Math.min(d,this.length),0!==b){var e=67108863^67108863>>>b<a?this.isubn(-a):this.sign?1===this.length&&this.words[0]=67108864;b++)this.words[b]-=67108864,b===this.length-1?this.words[b+1]=1:this.words[b+1]++;return this.length=Math.max(this.length,b+1),this},e.prototype.isubn=function(a){if(c("number"==typeof a),0>a)return this.iaddn(-a);if(this.sign)return this.sign=!1,this.iaddn(a),this.sign=!0,this;this.words[0]-=a;for(var b=0;b>26)-(j/67108864|0),this.words[e+d]=67108863&i}for(;e>26,this.words[e+d]=67108863&i}if(0===h)return this.strip();c(-1===h),h=0;for(var e=0;e>26,this.words[e]=67108863&i}return this.sign=!0,this.strip()},e.prototype._wordDiv=function(a,b){var c=this.length-a.length,d=this.clone(),f=a,g=f.words[f.length-1],h=this._countBits(g);c=26-h,0!==c&&(f=f.shln(c),d.ishln(c),g=f.words[f.length-1]);var i,j=d.length-f.length;if("mod"!==b){i=new e(null),i.length=j+1,i.words=new Array(i.length);for(var k=0;k=0;m--){var n=67108864*d.words[f.length+m]+d.words[f.length+m-1];for(n=Math.min(n/g|0,67108863),d._ishlnsubmul(f,n,m);d.sign;)n--,d.sign=!1,d._ishlnsubmul(f,1,m),0!==d.cmpn(0)&&(d.sign=!d.sign);i&&(i.words[m]=n)}return i&&i.strip(),d.strip(),"div"!==b&&0!==c&&d.ishrn(c),{div:i?i:null,mod:d}},e.prototype.divmod=function(a,b){if(c(0!==a.cmpn(0)),this.sign&&!a.sign){var d,f,g=this.neg().divmod(a,b);return"mod"!==b&&(d=g.div.neg()),"div"!==b&&(f=0===g.mod.cmpn(0)?g.mod:a.sub(g.mod)),{div:d,mod:f}}if(!this.sign&&a.sign){var d,g=this.divmod(a.neg(),b);return"mod"!==b&&(d=g.div.neg()),{div:d,mod:g.mod}}return this.sign&&a.sign?this.neg().divmod(a.neg(),b):a.length>this.length||this.cmp(a)<0?{div:new e(0),mod:this}:1===a.length?"div"===b?{div:this.divn(a.words[0]),mod:null}:"mod"===b?{div:null,mod:new e(this.modn(a.words[0]))}:{div:this.divn(a.words[0]),mod:new e(this.modn(a.words[0]))}:this._wordDiv(a,b)},e.prototype.div=function(a){return this.divmod(a,"div").div},e.prototype.mod=function(a){return this.divmod(a,"mod").mod},e.prototype.divRound=function(a){var b=this.divmod(a);if(0===b.mod.cmpn(0))return b.div;var c=b.div.sign?b.mod.isub(a):b.mod,d=a.shrn(1),e=a.andln(1),f=c.cmp(d);return 0>f||1===e&&0===f?b.div:b.div.sign?b.div.isubn(1):b.div.iaddn(1)},e.prototype.modn=function(a){c(67108863>=a);for(var b=(1<<26)%a,d=0,e=this.length-1;e>=0;e--)d=(b*d+this.words[e])%a;return d},e.prototype.idivn=function(a){c(67108863>=a);for(var b=0,d=this.length-1;d>=0;d--){var e=this.words[d]+67108864*b;this.words[d]=e/a|0,b=e%a}return this.strip()},e.prototype.divn=function(a){return this.clone().idivn(a)},e.prototype.egcd=function(a){c(!a.sign),c(0!==a.cmpn(0));var b=this,d=a.clone();b=b.sign?b.mod(a):b.clone();for(var f=new e(1),g=new e(0),h=new e(0),i=new e(1),j=0;b.isEven()&&d.isEven();)b.ishrn(1),d.ishrn(1),++j;for(var k=d.clone(),l=b.clone();0!==b.cmpn(0);){for(;b.isEven();)b.ishrn(1),f.isEven()&&g.isEven()?(f.ishrn(1),g.ishrn(1)):(f.iadd(k).ishrn(1),g.isub(l).ishrn(1));for(;d.isEven();)d.ishrn(1),h.isEven()&&i.isEven()?(h.ishrn(1),i.ishrn(1)):(h.iadd(k).ishrn(1),i.isub(l).ishrn(1));b.cmp(d)>=0?(b.isub(d),f.isub(h),g.isub(i)):(d.isub(b),h.isub(f),i.isub(g))}return{a:h,b:i,gcd:d.ishln(j)}},e.prototype._invmp=function(a){c(!a.sign),c(0!==a.cmpn(0));var b=this,d=a.clone();b=b.sign?b.mod(a):b.clone();for(var f=new e(1),g=new e(0),h=d.clone();b.cmpn(1)>0&&d.cmpn(1)>0;){for(;b.isEven();)b.ishrn(1),f.isEven()?f.ishrn(1):f.iadd(h).ishrn(1);for(;d.isEven();)d.ishrn(1),g.isEven()?g.ishrn(1):g.iadd(h).ishrn(1);b.cmp(d)>=0?(b.isub(d),f.isub(g)):(d.isub(b),g.isub(f))}return 0===b.cmpn(1)?f:g},e.prototype.gcd=function(a){if(0===this.cmpn(0))return a.clone();if(0===a.cmpn(0))return this.clone();var b=this.clone(),c=a.clone();b.sign=!1,c.sign=!1;for(var d=0;b.isEven()&&c.isEven();d++)b.ishrn(1),c.ishrn(1);for(;;){for(;b.isEven();)b.ishrn(1);for(;c.isEven();)c.ishrn(1);var e=b.cmp(c);if(0>e){var f=b;b=c,c=f}else if(0===e||0===c.cmpn(1))break;b.isub(c)}return c.ishln(d)},e.prototype.invm=function(a){return this.egcd(a).a.mod(a)},e.prototype.isEven=function(){return 0===(1&this.words[0])},e.prototype.isOdd=function(){return 1===(1&this.words[0])},e.prototype.andln=function(a){return this.words[0]&a},e.prototype.bincn=function(a){c("number"==typeof a);var b=a%26,d=(a-b)/26,e=1<f;f++)this.words[f]=0;return this.words[d]|=e,this.length=d+1,this}for(var g=e,f=d;0!==g&&f>>26,h&=67108863,this.words[f]=h}return 0!==g&&(this.words[f]=g,this.length++),this},e.prototype.cmpn=function(a){var b=0>a;if(b&&(a=-a),this.sign&&!b)return-1;if(!this.sign&&b)return 1;a&=67108863,this.strip();var c;if(this.length>1)c=1;else{var d=this.words[0];c=d===a?0:a>d?-1:1}return this.sign&&(c=-c),c},e.prototype.cmp=function(a){if(this.sign&&!a.sign)return-1;if(!this.sign&&a.sign)return 1;var b=this.ucmp(a);return this.sign?-b:b},e.prototype.ucmp=function(a){if(this.length>a.length)return 1;if(this.length=0;c--){var d=this.words[c],e=a.words[c];if(d!==e){e>d?b=-1:d>e&&(b=1);break}}return b},e.red=function(a){return new m(a)},e.prototype.toRed=function(a){return c(!this.red,"Already a number in reduction context"),c(!this.sign,"red works only with positives"),a.convertTo(this)._forceRed(a)},e.prototype.fromRed=function(){return c(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},e.prototype._forceRed=function(a){return this.red=a,this},e.prototype.forceRed=function(a){return c(!this.red,"Already a number in reduction context"),this._forceRed(a)},e.prototype.redAdd=function(a){return c(this.red,"redAdd works only with red numbers"),this.red.add(this,a)},e.prototype.redIAdd=function(a){return c(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,a)},e.prototype.redSub=function(a){return c(this.red,"redSub works only with red numbers"),this.red.sub(this,a)},e.prototype.redISub=function(a){return c(this.red,"redISub works only with red numbers"),this.red.isub(this,a)},e.prototype.redShl=function(a){return c(this.red,"redShl works only with red numbers"),this.red.shl(this,a)},e.prototype.redMul=function(a){return c(this.red,"redMul works only with red numbers"),this.red._verify2(this,a),this.red.mul(this,a)},e.prototype.redIMul=function(a){return c(this.red,"redMul works only with red numbers"),this.red._verify2(this,a),this.red.imul(this,a)},e.prototype.redSqr=function(){return c(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},e.prototype.redISqr=function(){return c(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},e.prototype.redSqrt=function(){return c(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},e.prototype.redInvm=function(){return c(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},e.prototype.redNeg=function(){return c(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},e.prototype.redPow=function(a){return c(this.red&&!a.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,a)};var r={k256:null,p224:null,p192:null,p25519:null};h.prototype._tmp=function(){var a=new e(null);return a.words=new Array(Math.ceil(this.n/13)),a},h.prototype.ireduce=function(a){var b,c=a;do this.split(c,this.tmp),c=this.imulK(c),c=c.iadd(this.tmp),b=c.bitLength();while(b>this.n);var d=b0?c.isub(this.p):c.strip(),c},h.prototype.split=function(a,b){a.ishrn(this.n,0,b)},h.prototype.imulK=function(a){return a.imul(this.k)},d(i,h),i.prototype.split=function(a,b){for(var c=4194303,d=Math.min(a.length,9),e=0;d>e;e++)b.words[e]=a.words[e];if(b.length=d,a.length<=9)return a.words[0]=0,void(a.length=1);var f=a.words[9];b.words[b.length++]=f&c;for(var e=10;e>>22,f=g}a.words[e-10]=f>>>22,a.length-=9},i.prototype.imulK=function(a){a.words[a.length]=0,a.words[a.length+1]=0,a.length+=2;for(var b,c=0,d=0;d>>=26,a.words[c]=e,b=d}return 0!==b&&(a.words[a.length++]=b),a},e._prime=function s(a){if(r[a])return r[a];var s;if("k256"===a)s=new i;else if("p224"===a)s=new j;else if("p192"===a)s=new k;else{if("p25519"!==a)throw new Error("Unknown prime "+a);s=new l}return r[a]=s,s},m.prototype._verify1=function(a){c(!a.sign,"red works only with positives"),c(a.red,"red works only with red numbers")},m.prototype._verify2=function(a,b){c(!a.sign&&!b.sign,"red works only with positives"),c(a.red&&a.red===b.red,"red works only with red numbers")},m.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):a.mod(this.m)._forceRed(this)},m.prototype.neg=function(a){var b=a.clone();return b.sign=!b.sign,b.iadd(this.m)._forceRed(this)},m.prototype.add=function(a,b){this._verify2(a,b);var c=a.add(b);return c.cmp(this.m)>=0&&c.isub(this.m),c._forceRed(this)},m.prototype.iadd=function(a,b){this._verify2(a,b);var c=a.iadd(b);return c.cmp(this.m)>=0&&c.isub(this.m),c},m.prototype.sub=function(a,b){this._verify2(a,b);var c=a.sub(b);return c.cmpn(0)<0&&c.iadd(this.m),c._forceRed(this)},m.prototype.isub=function(a,b){this._verify2(a,b);var c=a.isub(b);return c.cmpn(0)<0&&c.iadd(this.m),c},m.prototype.shl=function(a,b){return this._verify1(a),this.imod(a.shln(b))},m.prototype.imul=function(a,b){return this._verify2(a,b),this.imod(a.imul(b))},m.prototype.mul=function(a,b){return this._verify2(a,b),this.imod(a.mul(b))},m.prototype.isqr=function(a){return this.imul(a,a)},m.prototype.sqr=function(a){return this.mul(a,a)},m.prototype.sqrt=function(a){if(0===a.cmpn(0))return a.clone();var b=this.m.andln(3);if(c(b%2===1),3===b){var d=this.m.add(new e(1)).ishrn(2),f=this.pow(a,d);return f}for(var g=this.m.subn(1),h=0;0!==g.cmpn(0)&&0===g.andln(1);)h++,g.ishrn(1);c(0!==g.cmpn(0));var i=new e(1).toRed(this),j=i.redNeg(),k=this.m.subn(1).ishrn(1),l=this.m.bitLength();for(l=new e(2*l*l).toRed(this);0!==this.pow(l,k).cmp(j);)l.redIAdd(j);for(var m=this.pow(l,g),f=this.pow(a,g.addn(1).ishrn(1)),n=this.pow(a,g),o=h;0!==n.cmp(i);){for(var p=n,q=0;0!==p.cmp(i);q++)p=p.redSqr();c(o>q);var r=this.pow(m,new e(1).ishln(o-q-1));f=f.redMul(r),m=r.redSqr(),n=n.redMul(m),o=q}return f},m.prototype.invm=function(a){var b=a._invmp(this.m);return b.sign?(b.sign=!1,this.imod(b).redNeg()):this.imod(b)},m.prototype.pow=function(a,b){var c=[];if(0===b.cmpn(0))return new e(1);for(var d=b.clone();0!==d.cmpn(0);)c.push(d.andln(1)),d.ishrn(1);for(var f=a,g=0;g=0?f=e.isub(this.m):e.cmpn(0)<0&&(f=e.iadd(this.m)),f._forceRed(this)},n.prototype.mul=function(a,b){if(0===a.cmpn(0)||0===b.cmpn(0))return new e(0)._forceRed(this);var c=a.mul(b),d=c.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),f=c.isub(d).ishrn(this.shift),g=f;return f.cmp(this.m)>=0?g=f.isub(this.m):f.cmpn(0)<0&&(g=f.iadd(this.m)),g._forceRed(this)},n.prototype.invm=function(a){var b=this.imod(a._invmp(this.m).mul(this.r2));return b._forceRed(this)}}("undefined"==typeof b||b,this)},{}],174:[function(a,b,c){(function(c){function d(a){var b=f(a),c=b.toRed(g.mont(a.modulus)).redPow(new g(a.publicExponent)).fromRed();return{blinder:c,unblinder:b.invm(a.modulus)}}function e(a,b){var e=d(b),f=b.modulus.byteLength(),h=(g.mont(b.modulus),new g(a).mul(e.blinder).mod(b.modulus)),i=h.toRed(g.mont(b.prime1)),j=h.toRed(g.mont(b.prime2)),k=b.coefficient,l=b.prime1,m=b.prime2,n=i.redPow(b.exponent1),o=j.redPow(b.exponent2);n=n.fromRed(),o=o.fromRed();var p=n.isub(o).imul(k).mod(l);p.imul(m),o.iadd(p);var q=new c(o.imul(e.unblinder).mod(b.modulus).toArray());if(q.length=0||!c.mod(a.prime1)||!c.mod(a.prime2);)c=new g(h(b));return c}var g=a("bn.js"),h=a("randombytes");b.exports=e,e.getr=f}).call(this,a("buffer").Buffer)},{"bn.js":173,buffer:145,randombytes:291}],175:[function(a,b,c){arguments[4][98][0].apply(c,arguments)},{"../package.json":195,"./elliptic/curve":178,"./elliptic/curves":181,"./elliptic/ec":182,"./elliptic/hmac-drbg":185,"./elliptic/utils":187,brorand:188,dup:98}],176:[function(a,b,c){"use strict";function d(a,b){this.type=a,this.p=new f(b.p,16),this.red=b.prime?f.red(b.prime):f.mont(this.p),this.zero=new f(0).toRed(this.red),this.one=new f(1).toRed(this.red),this.two=new f(2).toRed(this.red),this.n=b.n&&new f(b.n,16),this.g=b.g&&this.pointFromJSON(b.g,b.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4)}function e(a,b){this.curve=a,this.type=b,this.precomputed=null}var f=a("bn.js"),g=a("../../elliptic"),h=g.utils.getNAF,i=g.utils.getJSF,j=g.utils.assert;b.exports=d,d.prototype.point=function(){throw new Error("Not implemented")},d.prototype.validate=function(){throw new Error("Not implemented")},d.prototype._fixedNafMul=function(a,b){j(a.precomputed);var c=a._getDoubles(),d=h(b,1),e=(1<=g;b--)i=(i<<1)+d[b];f.push(i)}for(var k=this.jpoint(null,null,null),l=this.jpoint(null,null,null),m=e;m>0;m--){for(var g=0;g=0;i--){for(var b=0;i>=0&&0===f[i];i--)b++;if(i>=0&&b++,g=g.dblp(b),0>i)break;var k=f[i];j(0!==k),g="affine"===a.type?k>0?g.mixedAdd(e[k-1>>1]):g.mixedAdd(e[-k-1>>1].neg()):k>0?g.add(e[k-1>>1]):g.add(e[-k-1>>1].neg())}return"affine"===a.type?g.toP():g},d.prototype._wnafMulAdd=function(a,b,c,d){for(var e=this._wnafT1,f=this._wnafT2,g=this._wnafT3,j=0,k=0;d>k;k++){var l=b[k],m=l._getNAFPoints(a);e[k]=m.wnd,f[k]=m.points}for(var k=d-1;k>=1;k-=2){var n=k-1,o=k;if(1===e[n]&&1===e[o]){var p=[b[n],null,null,b[o]];0===b[n].y.cmp(b[o].y)?(p[1]=b[n].add(b[o]),p[2]=b[n].toJ().mixedAdd(b[o].neg())):0===b[n].y.cmp(b[o].y.redNeg())?(p[1]=b[n].toJ().mixedAdd(b[o]),p[2]=b[n].add(b[o].neg())):(p[1]=b[n].toJ().mixedAdd(b[o]),p[2]=b[n].toJ().mixedAdd(b[o].neg()));var q=[-3,-1,-5,-7,0,7,5,1,3],r=i(c[n],c[o]);j=Math.max(r[0].length,j),g[n]=new Array(j),g[o]=new Array(j);for(var s=0;j>s;s++){var t=0|r[0][s],u=0|r[1][s];g[n][s]=q[3*(t+1)+(u+1)],g[o][s]=0,f[n]=p}}else g[n]=h(c[n],e[n]),g[o]=h(c[o],e[o]),j=Math.max(g[n].length,j),j=Math.max(g[o].length,j)}for(var v=this.jpoint(null,null,null),w=this._wnafT4,k=j;k>=0;k--){for(var x=0;k>=0;){for(var y=!0,s=0;d>s;s++)w[s]=0|g[s][k],0!==w[s]&&(y=!1);if(!y)break;x++,k--}if(k>=0&&x++,v=v.dblp(x),0>k)break;for(var s=0;d>s;s++){var l,z=w[s];0!==z&&(z>0?l=f[s][z-1>>1]:0>z&&(l=f[s][-z-1>>1].neg()),v="affine"===l.type?v.mixedAdd(l):v.add(l))}}for(var k=0;d>k;k++)f[k]=null;return v.toP()},d.BasePoint=e,e.prototype.validate=function(){return this.curve.validate(this)},e.prototype.precompute=function(a){if(this.precomputed)return this;var b={doubles:null,naf:null,beta:null};return b.naf=this._getNAFPoints(8),b.doubles=this._getDoubles(4,a),b.beta=this._getBeta(),this.precomputed=b,this},e.prototype._hasDoubles=function(a){if(!this.precomputed)return!1;var b=this.precomputed.doubles;return b?b.points.length>=Math.ceil((a.bitLength()+1)/b.step):!1},e.prototype._getDoubles=function(a,b){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var c=[this],d=this,e=0;b>e;e+=a){for(var f=0;a>f;f++)d=d.dbl();c.push(d)}return{step:a,points:c}},e.prototype._getNAFPoints=function(a){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var b=[this],c=(1<e;e++)b[e]=b[e-1].add(d);return{wnd:a,points:b}},e.prototype._getBeta=function(){return null},e.prototype.dblp=function(a){for(var b=this,c=0;a>c;c++)b=b.dbl();return b}},{"../../elliptic":175,"bn.js":173}],177:[function(a,b,c){"use strict";function d(a){this.twisted=1!==(0|a.a),this.mOneA=this.twisted&&-1===(0|a.a),this.extended=this.mOneA,j.call(this,"edwards",a),this.a=new h(a.a,16).mod(this.red.m).toRed(this.red),this.c=new h(a.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new h(a.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),k(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1===(0|a.c)}function e(a,b,c,d,e){j.BasePoint.call(this,a,"projective"),null===b&&null===c&&null===d?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new h(b,16),this.y=new h(c,16),this.z=d?new h(d,16):this.curve.one,this.t=e&&new h(e,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}var f=a("../curve"),g=a("../../elliptic"),h=a("bn.js"),i=a("inherits"),j=f.base,k=g.utils.assert;i(d,j),b.exports=d,d.prototype._mulA=function(a){return this.mOneA?a.redNeg():this.a.redMul(a)},d.prototype._mulC=function(a){return this.oneC?a:this.c.redMul(a)},d.prototype.jpoint=function(a,b,c,d){return this.point(a,b,c,d)},d.prototype.pointFromX=function(a,b){b=new h(b,16),b.red||(b=b.toRed(this.red));var c=b.redSqr(),d=this.c2.redSub(this.a.redMul(c)),e=this.one.redSub(this.c2.redMul(this.d).redMul(c)),g=d.redMul(e.redInvm()).redSqrt(),i=g.fromRed().isOdd();return(a&&!i||!a&&i)&&(g=g.redNeg()),this.point(b,g,f.one)},d.prototype.validate=function(a){if(a.isInfinity())return!0;a.normalize();var b=a.x.redSqr(),c=a.y.redSqr(),d=b.redMul(this.a).redAdd(c),e=this.c2.redMul(this.one.redAdd(this.d.redMul(b).redMul(c)));return 0===d.cmp(e)},i(e,j.BasePoint),d.prototype.pointFromJSON=function(a){return e.fromJSON(this,a)},d.prototype.point=function(a,b,c,d){return new e(this,a,b,c,d)},e.fromJSON=function(a,b){return new e(a,b[0],b[1],b[2])},e.prototype.inspect=function(){return this.isInfinity()?"":""},e.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&0===this.y.cmp(this.z)},e.prototype._extDbl=function(){var a=this.x.redSqr(),b=this.y.redSqr(),c=this.z.redSqr();c=c.redIAdd(c);var d=this.curve._mulA(a),e=this.x.redAdd(this.y).redSqr().redISub(a).redISub(b),f=d.redAdd(b),g=f.redSub(c),h=d.redSub(b),i=e.redMul(g),j=f.redMul(h),k=e.redMul(h),l=g.redMul(f);return this.curve.point(i,j,l,k)},e.prototype._projDbl=function(){var a,b,c,d=this.x.redAdd(this.y).redSqr(),e=this.x.redSqr(),f=this.y.redSqr();if(this.curve.twisted){var g=this.curve._mulA(e),h=g.redAdd(f);if(this.zOne)a=d.redSub(e).redSub(f).redMul(h.redSub(this.curve.two)),b=h.redMul(g.redSub(f)),c=h.redSqr().redSub(h).redSub(h);else{var i=this.z.redSqr(),j=h.redSub(i).redISub(i);a=d.redSub(e).redISub(f).redMul(j),b=h.redMul(g.redSub(f)),c=h.redMul(j)}}else{var g=e.redAdd(f),i=this.curve._mulC(this.c.redMul(this.z)).redSqr(),j=g.redSub(i).redSub(i);a=this.curve._mulC(d.redISub(g)).redMul(j),b=this.curve._mulC(g).redMul(e.redISub(f)),c=g.redMul(j)}return this.curve.point(a,b,c)},e.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},e.prototype._extAdd=function(a){var b=this.y.redSub(this.x).redMul(a.y.redSub(a.x)),c=this.y.redAdd(this.x).redMul(a.y.redAdd(a.x)),d=this.t.redMul(this.curve.dd).redMul(a.t),e=this.z.redMul(a.z.redAdd(a.z)),f=c.redSub(b),g=e.redSub(d),h=e.redAdd(d),i=c.redAdd(b),j=f.redMul(g),k=h.redMul(i),l=f.redMul(i),m=g.redMul(h);return this.curve.point(j,k,m,l)},e.prototype._projAdd=function(a){var b,c,d=this.z.redMul(a.z),e=d.redSqr(),f=this.x.redMul(a.x),g=this.y.redMul(a.y),h=this.curve.d.redMul(f).redMul(g),i=e.redSub(h),j=e.redAdd(h),k=this.x.redAdd(this.y).redMul(a.x.redAdd(a.y)).redISub(f).redISub(g),l=d.redMul(i).redMul(k);return this.curve.twisted?(b=d.redMul(j).redMul(g.redSub(this.curve._mulA(f))),c=i.redMul(j)):(b=d.redMul(j).redMul(g.redSub(f)),c=this.curve._mulC(i).redMul(j)),this.curve.point(l,b,c)},e.prototype.add=function(a){return this.isInfinity()?a:a.isInfinity()?this:this.curve.extended?this._extAdd(a):this._projAdd(a)},e.prototype.mul=function(a){return this._hasDoubles(a)?this.curve._fixedNafMul(this,a):this.curve._wnafMul(this,a)},e.prototype.mulAdd=function(a,b,c){return this.curve._wnafMulAdd(1,[this,b],[a,c],2)},e.prototype.normalize=function(){if(this.zOne)return this;var a=this.z.redInvm();return this.x=this.x.redMul(a),this.y=this.y.redMul(a),this.t&&(this.t=this.t.redMul(a)),this.z=this.curve.one,this.zOne=!0,this},e.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},e.prototype.getX=function(){return this.normalize(),this.x.fromRed()},e.prototype.getY=function(){return this.normalize(),this.y.fromRed()},e.prototype.toP=e.prototype.normalize,e.prototype.mixedAdd=e.prototype.add},{"../../elliptic":175,"../curve":178,"bn.js":173,inherits:298}],178:[function(a,b,c){arguments[4][101][0].apply(c,arguments)},{"./base":176,"./edwards":177,"./mont":179,"./short":180,dup:101}],179:[function(a,b,c){arguments[4][102][0].apply(c,arguments)},{"../curve":178,"bn.js":173,dup:102,inherits:298}],180:[function(a,b,c){"use strict";function d(a){k.call(this,"short",a),this.a=new i(a.a,16).toRed(this.red),this.b=new i(a.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(a),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function e(a,b,c,d){k.BasePoint.call(this,a,"affine"),null===b&&null===c?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(b,16),this.y=new i(c,16),d&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function f(a,b,c,d){k.BasePoint.call(this,a,"jacobian"),null===b&&null===c&&null===d?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(b,16),this.y=new i(c,16),this.z=new i(d,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}var g=a("../curve"),h=a("../../elliptic"),i=a("bn.js"),j=a("inherits"),k=g.base,l=h.utils.assert;j(d,k),b.exports=d,d.prototype._getEndomorphism=function(a){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var b,c;if(a.beta)b=new i(a.beta,16).toRed(this.red);else{var d=this._getEndoRoots(this.p);b=d[0].cmp(d[1])<0?d[0]:d[1],b=b.toRed(this.red)}if(a.lambda)c=new i(a.lambda,16);else{var e=this._getEndoRoots(this.n);0===this.g.mul(e[0]).x.cmp(this.g.x.redMul(b))?c=e[0]:(c=e[1],l(0===this.g.mul(c).x.cmp(this.g.x.redMul(b))))}var f;return f=a.basis?a.basis.map(function(a){return{a:new i(a.a,16),b:new i(a.b,16)}}):this._getEndoBasis(c),{beta:b,lambda:c,basis:f}}},d.prototype._getEndoRoots=function(a){var b=a===this.p?this.red:i.mont(a),c=new i(2).toRed(b).redInvm(),d=c.redNeg(),e=new i(3).toRed(b).redNeg().redSqrt().redMul(c),f=d.redAdd(e).fromRed(),g=d.redSub(e).fromRed();return[f,g]},d.prototype._getEndoBasis=function(a){for(var b,c,d,e,f,g,h,j,k,l=this.n.shrn(Math.floor(this.n.bitLength()/2)),m=a,n=this.n.clone(),o=new i(1),p=new i(0),q=new i(0),r=new i(1),s=0;0!==m.cmpn(0);){var t=n.div(m);j=n.sub(t.mul(m)),k=q.sub(t.mul(o));var u=r.sub(t.mul(p));if(!d&&j.cmp(l)<0)b=h.neg(),c=o,d=j.neg(),e=k;else if(d&&2===++s)break;h=j,n=m,m=j,q=o,o=k,r=p,p=u}f=j.neg(),g=k;var v=d.sqr().add(e.sqr()),w=f.sqr().add(g.sqr());return w.cmp(v)>=0&&(f=b,g=c),d.sign&&(d=d.neg(),e=e.neg()),f.sign&&(f=f.neg(),g=g.neg()),[{a:d,b:e},{a:f,b:g}]},d.prototype._endoSplit=function(a){var b=this.endo.basis,c=b[0],d=b[1],e=d.b.mul(a).divRound(this.n),f=c.b.neg().mul(a).divRound(this.n),g=e.mul(c.a),h=f.mul(d.a),i=e.mul(c.b),j=f.mul(d.b),k=a.sub(g).sub(h),l=i.add(j).neg();return{k1:k,k2:l}},d.prototype.pointFromX=function(a,b){b=new i(b,16),b.red||(b=b.toRed(this.red));var c=b.redSqr().redMul(b).redIAdd(b.redMul(this.a)).redIAdd(this.b),d=c.redSqrt(),e=d.fromRed().isOdd();return(a&&!e||!a&&e)&&(d=d.redNeg()),this.point(b,d)},d.prototype.validate=function(a){if(a.inf)return!0;var b=a.x,c=a.y,d=this.a.redMul(b),e=b.redSqr().redMul(b).redIAdd(d).redIAdd(this.b);return 0===c.redSqr().redISub(e).cmpn(0)},d.prototype._endoWnafMulAdd=function(a,b){for(var c=this._endoWnafT1,d=this._endoWnafT2,e=0;ej;j++)c[j]=null,d[j]=null;return i},j(e,k.BasePoint),d.prototype.point=function(a,b,c){return new e(this,a,b,c)},d.prototype.pointFromJSON=function(a,b){return e.fromJSON(this,a,b)},e.prototype._getBeta=function(){if(this.curve.endo){var a=this.precomputed;if(a&&a.beta)return a.beta;var b=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(a){var c=this.curve,d=function(a){return c.point(a.x.redMul(c.endo.beta),a.y)};a.beta=b,b.precomputed={beta:null,naf:a.naf&&{wnd:a.naf.wnd,points:a.naf.points.map(d)},doubles:a.doubles&&{step:a.doubles.step,points:a.doubles.points.map(d)}}}return b}},e.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},e.fromJSON=function(a,b,c){function d(b){return a.point(b[0],b[1],c)}"string"==typeof b&&(b=JSON.parse(b));var e=a.point(b[0],b[1],c);if(!b[2])return e;var f=b[2];return e.precomputed={beta:null,doubles:f.doubles&&{step:f.doubles.step,points:[e].concat(f.doubles.points.map(d))},naf:f.naf&&{wnd:f.naf.wnd,points:[e].concat(f.naf.points.map(d))}},e},e.prototype.inspect=function(){return this.isInfinity()?"":""},e.prototype.isInfinity=function(){return this.inf},e.prototype.add=function(a){if(this.inf)return a;if(a.inf)return this;if(this.eq(a))return this.dbl();if(this.neg().eq(a))return this.curve.point(null,null);if(0===this.x.cmp(a.x))return this.curve.point(null,null);var b=this.y.redSub(a.y);0!==b.cmpn(0)&&(b=b.redMul(this.x.redSub(a.x).redInvm()));var c=b.redSqr().redISub(this.x).redISub(a.x),d=b.redMul(this.x.redSub(c)).redISub(this.y);return this.curve.point(c,d)},e.prototype.dbl=function(){if(this.inf)return this;var a=this.y.redAdd(this.y);if(0===a.cmpn(0))return this.curve.point(null,null);var b=this.curve.a,c=this.x.redSqr(),d=a.redInvm(),e=c.redAdd(c).redIAdd(c).redIAdd(b).redMul(d),f=e.redSqr().redISub(this.x.redAdd(this.x)),g=e.redMul(this.x.redSub(f)).redISub(this.y);return this.curve.point(f,g)},e.prototype.getX=function(){return this.x.fromRed()},e.prototype.getY=function(){return this.y.fromRed()},e.prototype.mul=function(a){return a=new i(a,16),this._hasDoubles(a)?this.curve._fixedNafMul(this,a):this.curve.endo?this.curve._endoWnafMulAdd([this],[a]):this.curve._wnafMul(this,a)},e.prototype.mulAdd=function(a,b,c){var d=[this,b],e=[a,c];return this.curve.endo?this.curve._endoWnafMulAdd(d,e):this.curve._wnafMulAdd(1,d,e,2)},e.prototype.eq=function(a){return this===a||this.inf===a.inf&&(this.inf||0===this.x.cmp(a.x)&&0===this.y.cmp(a.y))},e.prototype.neg=function(a){if(this.inf)return this;var b=this.curve.point(this.x,this.y.redNeg());if(a&&this.precomputed){var c=this.precomputed,d=function(a){return a.neg()};b.precomputed={naf:c.naf&&{wnd:c.naf.wnd,points:c.naf.points.map(d)},doubles:c.doubles&&{step:c.doubles.step,points:c.doubles.points.map(d)}}}return b},e.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var a=this.curve.jpoint(this.x,this.y,this.curve.one);return a},j(f,k.BasePoint),d.prototype.jpoint=function(a,b,c){return new f(this,a,b,c)},f.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var a=this.z.redInvm(),b=a.redSqr(),c=this.x.redMul(b),d=this.y.redMul(b).redMul(a);return this.curve.point(c,d)},f.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},f.prototype.add=function(a){if(this.isInfinity())return a;if(a.isInfinity())return this;var b=a.z.redSqr(),c=this.z.redSqr(),d=this.x.redMul(b),e=a.x.redMul(c),f=this.y.redMul(b.redMul(a.z)),g=a.y.redMul(c.redMul(this.z)),h=d.redSub(e),i=f.redSub(g);if(0===h.cmpn(0))return 0!==i.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var j=h.redSqr(),k=j.redMul(h),l=d.redMul(j),m=i.redSqr().redIAdd(k).redISub(l).redISub(l),n=i.redMul(l.redISub(m)).redISub(f.redMul(k)),o=this.z.redMul(a.z).redMul(h);return this.curve.jpoint(m,n,o)},f.prototype.mixedAdd=function(a){if(this.isInfinity())return a.toJ();if(a.isInfinity())return this;var b=this.z.redSqr(),c=this.x,d=a.x.redMul(b),e=this.y,f=a.y.redMul(b).redMul(this.z),g=c.redSub(d),h=e.redSub(f);if(0===g.cmpn(0))return 0!==h.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var i=g.redSqr(),j=i.redMul(g),k=c.redMul(i),l=h.redSqr().redIAdd(j).redISub(k).redISub(k),m=h.redMul(k.redISub(l)).redISub(e.redMul(j)),n=this.z.redMul(g);return this.curve.jpoint(l,m,n)},f.prototype.dblp=function(a){if(0===a)return this;if(this.isInfinity())return this;if(!a)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var b=this,c=0;a>c;c++)b=b.dbl();return b}for(var d=this.curve.a,e=this.curve.tinv,f=this.x,g=this.y,h=this.z,i=h.redSqr().redSqr(),j=g.redAdd(g),c=0;a>c;c++){var k=f.redSqr(),l=j.redSqr(),m=l.redSqr(),n=k.redAdd(k).redIAdd(k).redIAdd(d.redMul(i)),o=f.redMul(l),p=n.redSqr().redISub(o.redAdd(o)),q=o.redISub(p),r=n.redMul(q);r=r.redIAdd(r).redISub(m);var s=j.redMul(h);a>c+1&&(i=i.redMul(m)),f=p,h=s,j=r}return this.curve.jpoint(f,j.redMul(e),h)},f.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},f.prototype._zeroDbl=function(){var a,b,c;if(this.zOne){var d=this.x.redSqr(),e=this.y.redSqr(),f=e.redSqr(),g=this.x.redAdd(e).redSqr().redISub(d).redISub(f);g=g.redIAdd(g);var h=d.redAdd(d).redIAdd(d),i=h.redSqr().redISub(g).redISub(g),j=f.redIAdd(f);j=j.redIAdd(j),j=j.redIAdd(j),a=i,b=h.redMul(g.redISub(i)).redISub(j),c=this.y.redAdd(this.y)}else{var k=this.x.redSqr(),l=this.y.redSqr(),m=l.redSqr(),n=this.x.redAdd(l).redSqr().redISub(k).redISub(m);n=n.redIAdd(n);var o=k.redAdd(k).redIAdd(k),p=o.redSqr(),q=m.redIAdd(m);q=q.redIAdd(q),q=q.redIAdd(q),a=p.redISub(n).redISub(n),b=o.redMul(n.redISub(a)).redISub(q),c=this.y.redMul(this.z),c=c.redIAdd(c)}return this.curve.jpoint(a,b,c)},f.prototype._threeDbl=function(){var a,b,c;if(this.zOne){var d=this.x.redSqr(),e=this.y.redSqr(),f=e.redSqr(),g=this.x.redAdd(e).redSqr().redISub(d).redISub(f);g=g.redIAdd(g);var h=d.redAdd(d).redIAdd(d).redIAdd(this.curve.a),i=h.redSqr().redISub(g).redISub(g);a=i;var j=f.redIAdd(f);j=j.redIAdd(j),j=j.redIAdd(j),b=h.redMul(g.redISub(i)).redISub(j),c=this.y.redAdd(this.y)}else{var k=this.z.redSqr(),l=this.y.redSqr(),m=this.x.redMul(l),n=this.x.redSub(k).redMul(this.x.redAdd(k));n=n.redAdd(n).redIAdd(n);var o=m.redIAdd(m);o=o.redIAdd(o);var p=o.redAdd(o);a=n.redSqr().redISub(p),c=this.y.redAdd(this.z).redSqr().redISub(l).redISub(k);var q=l.redSqr();q=q.redIAdd(q),q=q.redIAdd(q),q=q.redIAdd(q),b=n.redMul(o.redISub(a)).redISub(q)}return this.curve.jpoint(a,b,c)},f.prototype._dbl=function(){var a=this.curve.a,b=this.x,c=this.y,d=this.z,e=d.redSqr().redSqr(),f=b.redSqr(),g=c.redSqr(),h=f.redAdd(f).redIAdd(f).redIAdd(a.redMul(e)),i=b.redAdd(b);i=i.redIAdd(i);var j=i.redMul(g),k=h.redSqr().redISub(j.redAdd(j)),l=j.redISub(k),m=g.redSqr();m=m.redIAdd(m),m=m.redIAdd(m),m=m.redIAdd(m);var n=h.redMul(l).redISub(m),o=c.redAdd(c).redMul(d);return this.curve.jpoint(k,n,o)},f.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var a=this.x.redSqr(),b=this.y.redSqr(),c=this.z.redSqr(),d=b.redSqr(),e=a.redAdd(a).redIAdd(a),f=e.redSqr(),g=this.x.redAdd(b).redSqr().redISub(a).redISub(d);g=g.redIAdd(g),g=g.redAdd(g).redIAdd(g),g=g.redISub(f);var h=g.redSqr(),i=d.redIAdd(d);i=i.redIAdd(i),i=i.redIAdd(i),i=i.redIAdd(i);var j=e.redIAdd(g).redSqr().redISub(f).redISub(h).redISub(i),k=b.redMul(j);k=k.redIAdd(k),k=k.redIAdd(k);var l=this.x.redMul(h).redISub(k);l=l.redIAdd(l),l=l.redIAdd(l);var m=this.y.redMul(j.redMul(i.redISub(j)).redISub(g.redMul(h)));m=m.redIAdd(m),m=m.redIAdd(m),m=m.redIAdd(m);var n=this.z.redAdd(g).redSqr().redISub(c).redISub(h);return this.curve.jpoint(l,m,n)},f.prototype.mul=function(a,b){return a=new i(a,b),this.curve._wnafMul(this,a)},f.prototype.eq=function(a){if("affine"===a.type)return this.eq(a.toJ());if(this===a)return!0;var b=this.z.redSqr(),c=a.z.redSqr();if(0!==this.x.redMul(c).redISub(a.x.redMul(b)).cmpn(0))return!1;var d=b.redMul(this.z),e=c.redMul(a.z);return 0===this.y.redMul(e).redISub(a.y.redMul(d)).cmpn(0)},f.prototype.inspect=function(){return this.isInfinity()?"":""},f.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},{"../../elliptic":175,"../curve":178,"bn.js":173,inherits:298}],181:[function(a,b,c){arguments[4][104][0].apply(c,arguments)},{"../elliptic":175,"./precomputed/secp256k1":186,dup:104,"hash.js":189}],182:[function(a,b,c){"use strict";function d(a){return this instanceof d?("string"==typeof a&&(h(f.curves.hasOwnProperty(a),"Unknown curve "+a),a=f.curves[a]),a instanceof f.curves.PresetCurve&&(a={curve:a}),this.curve=a.curve.curve,this.n=this.curve.n,this.nh=this.n.shrn(1),this.g=this.curve.g,this.g=a.curve.g,this.g.precompute(a.curve.n.bitLength()+1),void(this.hash=a.hash||a.curve.hash)):new d(a)}var e=a("bn.js"),f=a("../../elliptic"),g=f.utils,h=g.assert,i=a("./key"),j=a("./signature");b.exports=d,d.prototype.keyPair=function(a){return new i(this,a)},d.prototype.keyFromPrivate=function(a,b){return i.fromPrivate(this,a,b)},d.prototype.keyFromPublic=function(a,b){return i.fromPublic(this,a,b)},d.prototype.genKeyPair=function(a){a||(a={});for(var b=new f.hmacDRBG({hash:this.hash,pers:a.pers,entropy:a.entropy||f.rand(this.hash.hmacStrength),nonce:this.n.toArray()}),c=this.n.byteLength(),d=this.n.sub(new e(2));;){var g=new e(b.generate(c));if(!(g.cmp(d)>0))return g.iaddn(1),this.keyFromPrivate(g)}},d.prototype._truncateToN=function(a,b){var c=8*a.byteLength()-this.n.bitLength();return c>0&&(a=a.shrn(c)),!b&&a.cmp(this.n)>=0?a.sub(this.n):a},d.prototype.sign=function(a,b,c,d){"object"==typeof c&&(d=c,c=null),d||(d={}),b=this.keyFromPrivate(b,c),a=this._truncateToN(new e(a,16));for(var g=this.n.byteLength(),h=b.getPrivate().toArray(),i=h.length;21>i;i++)h.unshift(0);for(var k=a.toArray(),i=k.length;g>i;i++)k.unshift(0);for(var l=new f.hmacDRBG({hash:this.hash,entropy:h,nonce:k}),m=this.n.sub(new e(1));;){var n=new e(l.generate(this.n.byteLength()));if(n=this._truncateToN(n,!0),!(n.cmpn(1)<=0||n.cmp(m)>=0)){var o=this.g.mul(n);if(!o.isInfinity()){var p=o.getX(),q=p.mod(this.n);if(0!==q.cmpn(0)){var r=n.invm(this.n).mul(q.mul(b.getPrivate()).iadd(a)).mod(this.n);if(0!==r.cmpn(0)){d.canonical&&r.cmp(this.nh)>0&&(r=this.n.sub(r));var s=(o.getY().isOdd()?1:0)|(0!==p.cmp(q)?2:0);return new j({r:q,s:r,recoveryParam:s})}}}}}},d.prototype.verify=function(a,b,c,d){a=this._truncateToN(new e(a,16)),c=this.keyFromPublic(c,d),b=new j(b,"hex");var f=b.r,g=b.s;if(f.cmpn(1)<0||f.cmp(this.n)>=0)return!1;if(g.cmpn(1)<0||g.cmp(this.n)>=0)return!1;var h=g.invm(this.n),i=h.mul(a).mod(this.n),k=h.mul(f).mod(this.n),l=this.g.mulAdd(i,c.getPublic(),k);return l.isInfinity()?!1:0===l.getX().mod(this.n).cmp(f)},d.prototype.recoverPubKey=function(a,b,c,d){h((3&c)===c,"The recovery param is more than two bits"),b=new j(b,d);var f=this.n,g=new e(a),i=b.r,k=b.s,l=1&c,m=c>>1;if(i.cmp(this.curve.p.mod(this.curve.n))>=0&&m)throw new Error("Unable to find sencond key candinate");i=this.curve.pointFromX(l,i);var n=g.neg().mod(f),o=b.r.invm(f);return i.mul(k).add(this.g.mul(n)).mul(o)},d.prototype.getKeyRecoveryParam=function(a,b,c,d){if(b=new j(b,d),null!==b.recoveryParam)return b.recoveryParam;for(var e=0;4>e;e++){var f=this.recoverPubKey(a,b,e);if(f.eq(c))return e}throw new Error("Unable to find valid recovery factor")}},{"../../elliptic":175,"./key":183,"./signature":184,"bn.js":173}],183:[function(a,b,c){arguments[4][106][0].apply(c,arguments)},{"../../elliptic":175,"bn.js":173,dup:106}],184:[function(a,b,c){"use strict";function d(a,b){return a instanceof d?a:void(this._importDER(a,b)||(h(a.r&&a.s,"Signature without r or s"),this.r=new e(a.r,16),this.s=new e(a.s,16),null!==a.recoveryParam?this.recoveryParam=a.recoveryParam:this.recoveryParam=null))}var e=a("bn.js"),f=a("../../elliptic"),g=f.utils,h=g.assert;b.exports=d,d.prototype._importDER=function(a,b){if(a=g.toArray(a,b),a.length<6||48!==a[0]||2!==a[2])return!1;var c=a[1];if(1+c>a.length)return!1;var d=a[3];if(d>=128)return!1;if(4+d+2>=a.length)return!1;if(2!==a[4+d])return!1;var f=a[5+d];return f>=128?!1:4+d+2+f>a.length?!1:(this.r=new e(a.slice(4,4+d)),this.s=new e(a.slice(4+d+2,4+d+2+f)),this.recoveryParam=null,!0)},d.prototype.toDER=function(a){var b=this.r.toArray(),c=this.s.toArray();128&b[0]&&(b=[0].concat(b)),128&c[0]&&(c=[0].concat(c));var d=b.length+c.length+4,e=[48,d,2,b.length];return e=e.concat(b,[2,c.length],c),g.encode(e,a)}},{"../../elliptic":175,"bn.js":173}],185:[function(a,b,c){arguments[4][108][0].apply(c,arguments)},{"../elliptic":175,dup:108,"hash.js":189}],186:[function(a,b,c){arguments[4][109][0].apply(c,arguments)},{dup:109}],187:[function(a,b,c){arguments[4][110][0].apply(c,arguments)},{dup:110}],188:[function(a,b,c){arguments[4][111][0].apply(c,arguments)},{dup:111}],189:[function(a,b,c){arguments[4][113][0].apply(c,arguments)},{"./hash/common":190,"./hash/hmac":191,"./hash/ripemd":192,"./hash/sha":193,"./hash/utils":194,dup:113}],190:[function(a,b,c){arguments[4][114][0].apply(c,arguments)},{"../hash":189,dup:114}],191:[function(a,b,c){arguments[4][115][0].apply(c,arguments)},{"../hash":189,dup:115}],192:[function(a,b,c){function d(){return this instanceof d?(n.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],void(this.endian="little")):new d}function e(a,b,c,d){return 15>=a?b^c^d:31>=a?b&c|~b&d:47>=a?(b|~c)^d:63>=a?b&d|c&~d:b^(c|~d)}function f(a){return 15>=a?0:31>=a?1518500249:47>=a?1859775393:63>=a?2400959708:2840853838}function g(a){return 15>=a?1352829926:31>=a?1548603684:47>=a?1836072691:63>=a?2053994217:0}var h=a("../hash"),i=h.utils,j=i.rotl32,k=i.sum32,l=i.sum32_3,m=i.sum32_4,n=h.common.BlockHash;i.inherits(d,n),c.ripemd160=d,d.blockSize=512,d.outSize=160,d.hmacStrength=192,d.padLength=64,d.prototype._update=function(a,b){for(var c=this.h[0],d=this.h[1],h=this.h[2],i=this.h[3],n=this.h[4],s=c,t=d,u=h,v=i,w=n,x=0;80>x;x++){var y=k(j(m(c,e(x,d,h,i),a[o[x]+b],f(x)),q[x]),n);c=n,n=i,i=j(h,10),h=d,d=y,y=k(j(m(s,e(79-x,t,u,v),a[p[x]+b],g(x)),r[x]),w),s=w,w=v,v=j(u,10),u=t,t=y}y=l(this.h[1],h,v),this.h[1]=l(this.h[2],i,w),this.h[2]=l(this.h[3],n,s),this.h[3]=l(this.h[4],c,t),this.h[4]=l(this.h[0],d,u),this.h[0]=y},d.prototype._digest=function(a){return"hex"===a?i.toHex32(this.h,"little"):i.split32(this.h,"little")};var o=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],p=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],q=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],r=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},{"../hash":189}],193:[function(a,b,c){arguments[4][117][0].apply(c,arguments)},{"../hash":189,dup:117}],194:[function(a,b,c){arguments[4][118][0].apply(c,arguments)},{dup:118,inherits:298}],195:[function(a,b,c){b.exports={name:"elliptic",version:"3.1.0",description:"EC cryptography",main:"lib/elliptic.js",scripts:{test:"make lint && mocha --reporter=spec test/*-test.js"},repository:{type:"git",url:"git+ssh://git@github.com/indutny/elliptic.git"},keywords:["EC","Elliptic","curve","Cryptography"],author:{name:"Fedor Indutny",email:"fedor@indutny.com"},license:"MIT",bugs:{url:"https://github.com/indutny/elliptic/issues"},homepage:"https://github.com/indutny/elliptic",devDependencies:{browserify:"^3.44.2",jscs:"^1.11.3",jshint:"^2.6.0",mocha:"^2.1.0","uglify-js":"^2.4.13"},dependencies:{"bn.js":"^2.0.3",brorand:"^1.0.1","hash.js":"^1.0.0",inherits:"^2.0.1"},gitHead:"d86cd2a8178f7e7cecbd6dd92eea084e2ab44c13",_id:"elliptic@3.1.0",_shasum:"c21682ef762769b56a74201609105da11d5f60cc",_from:"elliptic@>=3.0.0-0 <4.0.0-0",_npmVersion:"2.11.0",_nodeVersion:"2.2.1",_npmUser:{name:"indutny",email:"fedor@indutny.com"},maintainers:[{name:"indutny",email:"fedor@indutny.com"}],dist:{shasum:"c21682ef762769b56a74201609105da11d5f60cc",tarball:"http://registry.npmjs.org/elliptic/-/elliptic-3.1.0.tgz"},directories:{},_resolved:"https://registry.npmjs.org/elliptic/-/elliptic-3.1.0.tgz",readme:"ERROR: No README data found!"}},{}],196:[function(a,b,c){(function(c){var d=a("create-hash");b.exports=function(a,b,e){e/=8;for(var f,g,h,i=0,j=new c(e),k=0;;){if(f=d("md5"),k++>0&&f.update(g),f.update(a),f.update(b),g=f.digest(),h=0,e>0)for(;;){if(0===e)break;if(h===g.length)break;j[i++]=g[h++],e--}if(0===e)break}for(h=0;h=0&&255>=a))return b.error("non-byte EncoderBuffer value");this.value=a,this.length=1}else if("string"==typeof a)this.value=a,this.length=h.byteLength(a);else{if(!h.isBuffer(a))return b.error("Unsupported type: "+typeof a);this.value=a,this.length=a.length}}var f=a("inherits"),g=a("../base").Reporter,h=a("buffer").Buffer;f(d,g),c.DecoderBuffer=d,d.prototype.save=function(){return{offset:this.offset,reporter:g.prototype.save.call(this)}},d.prototype.restore=function(a){var b=new d(this.base);return b.offset=a.offset,b.length=this.offset,this.offset=a.offset,g.prototype.restore.call(this,a.reporter),b},d.prototype.isEmpty=function(){return this.offset===this.length},d.prototype.readUInt8=function(a){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(a||"DecoderBuffer overrun")},d.prototype.skip=function(a,b){if(!(this.offset+a<=this.length))return this.error(b||"DecoderBuffer overrun");var c=new d(this.base);return c._reporterState=this._reporterState,c.offset=this.offset,c.length=this.offset+a,this.offset+=a,c},d.prototype.raw=function(a){return this.base.slice(a?a.offset:this.offset,this.length)},c.EncoderBuffer=e,e.prototype.join=function(a,b){return a||(a=new h(this.length)),b||(b=0),0===this.length?a:(Array.isArray(this.value)?this.value.forEach(function(c){c.join(a,b),b+=c.length}):("number"==typeof this.value?a[b]=this.value:"string"==typeof this.value?a.write(this.value,b):h.isBuffer(this.value)&&this.value.copy(a,b),b+=this.length),a)}},{"../base":204,buffer:145,inherits:298}],204:[function(a,b,c){arguments[4][29][0].apply(c,arguments)},{"./buffer":203,"./node":205,"./reporter":206,dup:29}],205:[function(a,b,c){function d(a,b){var c={};this._baseState=c,c.enc=a,c.parent=b||null,c.children=null,c.tag=null,c.args=null,c.reverseArgs=null,c.choice=null,c.optional=!1,c.any=!1,c.obj=!1,c.use=null,c.useDecoder=null,c.key=null,c["default"]=null,c.explicit=null,c.implicit=null,c.parent||(c.children=[],this._wrap())}var e=a("../base").Reporter,f=a("../base").EncoderBuffer,g=a("minimalistic-assert"),h=["seq","seqof","set","setof","octstr","bitstr","objid","bool","gentime","utctime","null_","enum","int","ia5str","utf8str"],i=["key","obj","use","optional","explicit","implicit","def","choice","any"].concat(h),j=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];b.exports=d;var k=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit"];d.prototype.clone=function(){var a=this._baseState,b={};k.forEach(function(c){b[c]=a[c]});var c=new this.constructor(b.parent);return c._baseState=b,c},d.prototype._wrap=function(){var a=this._baseState;i.forEach(function(b){this[b]=function(){var c=new this.constructor(this);return a.children.push(c),c[b].apply(c,arguments)}},this)},d.prototype._init=function(a){var b=this._baseState;g(null===b.parent),a.call(this),b.children=b.children.filter(function(a){return a._baseState.parent===this},this),g.equal(b.children.length,1,"Root node can have only one child")},d.prototype._useArgs=function(a){var b=this._baseState,c=a.filter(function(a){return a instanceof this.constructor},this);a=a.filter(function(a){return!(a instanceof this.constructor)},this),0!==c.length&&(g(null===b.children),b.children=c,c.forEach(function(a){a._baseState.parent=this},this)),0!==a.length&&(g(null===b.args),b.args=a,b.reverseArgs=a.map(function(a){if("object"!=typeof a||a.constructor!==Object)return a;var b={};return Object.keys(a).forEach(function(c){c==(0|c)&&(c|=0);var d=a[c];b[d]=c}),b}))},j.forEach(function(a){d.prototype[a]=function(){var b=this._baseState;throw new Error(a+" not implemented for encoding: "+b.enc)}}),h.forEach(function(a){d.prototype[a]=function(){var b=this._baseState,c=Array.prototype.slice.call(arguments);return g(null===b.tag),b.tag=a,this._useArgs(c),this}}),d.prototype.use=function(a){var b=this._baseState;return g(null===b.use),b.use=a,this},d.prototype.optional=function(){var a=this._baseState;return a.optional=!0,this},d.prototype.def=function(a){var b=this._baseState;return g(null===b["default"]),b["default"]=a,b.optional=!0,this},d.prototype.explicit=function(a){var b=this._baseState;return g(null===b.explicit&&null===b.implicit),b.explicit=a,this},d.prototype.implicit=function(a){var b=this._baseState;return g(null===b.explicit&&null===b.implicit),b.implicit=a,this},d.prototype.obj=function(){var a=this._baseState,b=Array.prototype.slice.call(arguments);return a.obj=!0,0!==b.length&&this._useArgs(b),this},d.prototype.key=function(a){var b=this._baseState;return g(null===b.key),b.key=a,this},d.prototype.any=function(){var a=this._baseState;return a.any=!0,this},d.prototype.choice=function(a){var b=this._baseState;return g(null===b.choice),b.choice=a,this._useArgs(Object.keys(a).map(function(b){return a[b]})),this},d.prototype._decode=function(a){var b=this._baseState;if(null===b.parent)return a.wrapResult(b.children[0]._decode(a));var c,d=b["default"],e=!0;if(null!==b.key&&(c=a.enterKey(b.key)),b.optional){var f=null;if(null!==b.explicit?f=b.explicit:null!==b.implicit?f=b.implicit:null!==b.tag&&(f=b.tag),null!==f||b.any){if(e=this._peekTag(a,f,b.any),a.isError(e))return e}else{var g=a.save();try{null===b.choice?this._decodeGeneric(b.tag,a):this._decodeChoice(a),e=!0}catch(h){e=!1}a.restore(g)}}var i;if(b.obj&&e&&(i=a.enterObject()),e){if(null!==b.explicit){var j=this._decodeTag(a,b.explicit);if(a.isError(j))return j;a=j}if(null===b.use&&null===b.choice){if(b.any)var g=a.save();var k=this._decodeTag(a,null!==b.implicit?b.implicit:b.tag,b.any);if(a.isError(k))return k;b.any?d=a.raw(g):a=k}if(d=b.any?d:null===b.choice?this._decodeGeneric(b.tag,a):this._decodeChoice(a),a.isError(d))return d;if(!b.any&&null===b.choice&&null!==b.children){var l=b.children.some(function(b){b._decode(a)});if(l)return err}}return b.obj&&e&&(d=a.leaveObject(i)),null===b.key||null===d&&e!==!0||a.leaveKey(c,b.key,d),d},d.prototype._decodeGeneric=function(a,b){var c=this._baseState;return"seq"===a||"set"===a?null:"seqof"===a||"setof"===a?this._decodeList(b,a,c.args[0]):"octstr"===a||"bitstr"===a?this._decodeStr(b,a):"ia5str"===a||"utf8str"===a?this._decodeStr(b,a):"objid"===a&&c.args?this._decodeObjid(b,c.args[0],c.args[1]):"objid"===a?this._decodeObjid(b,null,null):"gentime"===a||"utctime"===a?this._decodeTime(b,a):"null_"===a?this._decodeNull(b):"bool"===a?this._decodeBool(b):"int"===a||"enum"===a?this._decodeInt(b,c.args&&c.args[0]):null!==c.use?this._getUse(c.use,b._reporterState.obj)._decode(b):b.error("unknown tag: "+a)},d.prototype._getUse=function(a,b){var c=this._baseState;return c.useDecoder=this._use(a,b),g(null===c.useDecoder._baseState.parent),c.useDecoder=c.useDecoder._baseState.children[0],c.implicit!==c.useDecoder._baseState.implicit&&(c.useDecoder=c.useDecoder.clone(),c.useDecoder._baseState.implicit=c.implicit),c.useDecoder},d.prototype._decodeChoice=function(a){var b=this._baseState,c=null,d=!1;return Object.keys(b.choice).some(function(e){var f=a.save(),g=b.choice[e];try{var h=g._decode(a);if(a.isError(h))return!1;c={type:e,value:h},d=!0}catch(i){return a.restore(f),!1}return!0},this),d?c:a.error("Choice not matched")},d.prototype._createEncoderBuffer=function(a){return new f(a,this.reporter)},d.prototype._encode=function(a,b,c){var d=this._baseState;if(null===d["default"]||d["default"]!==a){var e=this._encodeValue(a,b,c);if(void 0!==e&&!this._skipDefault(e,b,c))return e}},d.prototype._encodeValue=function(a,b,c){var d=this._baseState;if(null===d.parent)return d.children[0]._encode(a,b||new e);var f=null;if(this.reporter=b,d.optional&&void 0===a){if(null===d["default"])return;a=d["default"]}var g=null,h=!1;if(d.any)f=this._createEncoderBuffer(a);else if(d.choice)f=this._encodeChoice(a,b);else if(d.children)g=d.children.map(function(c){if("null_"===c._baseState.tag)return c._encode(null,b,a);if(null===c._baseState.key)return b.error("Child should have a key");var d=b.enterKey(c._baseState.key);if("object"!=typeof a)return b.error("Child expected, but input is not object");var e=c._encode(a[c._baseState.key],b,a);return b.leaveKey(d),e},this).filter(function(a){return a}),g=this._createEncoderBuffer(g);else if("seqof"===d.tag||"setof"===d.tag){if(!d.args||1!==d.args.length)return b.error("Too many args for : "+d.tag);if(!Array.isArray(a))return b.error("seqof/setof, but data is not Array");var i=this.clone();i._baseState.implicit=null,g=this._createEncoderBuffer(a.map(function(c){var d=this._baseState;return this._getUse(d.args[0],a)._encode(c,b)},i))}else null!==d.use?f=this._getUse(d.use,c)._encode(a,b):(g=this._encodePrimitive(d.tag,a),h=!0);var f;if(!d.any&&null===d.choice){var j=null!==d.implicit?d.implicit:d.tag,k=null===d.implicit?"universal":"context";null===j?null===d.use&&b.error("Tag could be ommited only for .use()"):null===d.use&&(f=this._encodeComposite(j,h,k,g))}return null!==d.explicit&&(f=this._encodeComposite(d.explicit,!1,"context",f)),f},d.prototype._encodeChoice=function(a,b){var c=this._baseState,d=c.choice[a.type];return d||g(!1,a.type+" not found in "+JSON.stringify(Object.keys(c.choice))),d._encode(a.value,b)},d.prototype._encodePrimitive=function(a,b){var c=this._baseState;if("octstr"===a||"bitstr"===a||"ia5str"===a)return this._encodeStr(b,a);if("utf8str"===a)return this._encodeStr(b,a);if("objid"===a&&c.args)return this._encodeObjid(b,c.reverseArgs[0],c.args[1]);if("objid"===a)return this._encodeObjid(b,null,null);if("gentime"===a||"utctime"===a)return this._encodeTime(b,a);if("null_"===a)return this._encodeNull();if("int"===a||"enum"===a)return this._encodeInt(b,c.args&&c.reverseArgs[0]);if("bool"===a)return this._encodeBool(b);throw new Error("Unsupported tag: "+a)}},{"../base":204,"minimalistic-assert":215}],206:[function(a,b,c){function d(a){this._reporterState={obj:null,path:[],options:a||{},errors:[]}}function e(a,b){this.path=a,this.rethrow(b)}var f=a("inherits");c.Reporter=d,d.prototype.isError=function(a){return a instanceof e},d.prototype.save=function(){var a=this._reporterState;return{obj:a.obj,pathLen:a.path.length}},d.prototype.restore=function(a){var b=this._reporterState;b.obj=a.obj,b.path=b.path.slice(0,a.pathLen)},d.prototype.enterKey=function(a){return this._reporterState.path.push(a)},d.prototype.leaveKey=function(a,b,c){var d=this._reporterState;d.path=d.path.slice(0,a-1),null!==d.obj&&(d.obj[b]=c)},d.prototype.enterObject=function(){var a=this._reporterState,b=a.obj;return a.obj={},b},d.prototype.leaveObject=function(a){var b=this._reporterState,c=b.obj;return b.obj=a,c},d.prototype.error=function(a){var b,c=this._reporterState,d=a instanceof e;if(b=d?a:new e(c.path.map(function(a){return"["+JSON.stringify(a)+"]"}).join(""),a.message||a,a.stack),!c.options.partial)throw b;return d||c.errors.push(b),b},d.prototype.wrapResult=function(a){var b=this._reporterState;return b.options.partial?{result:this.isError(a)?null:a,errors:b.errors}:a},f(e,Error),e.prototype.rethrow=function(a){return this.message=a+" at: "+(this.path||"(shallow)"),Error.captureStackTrace(this,e),this}},{inherits:298}],207:[function(a,b,c){arguments[4][32][0].apply(c,arguments)},{"../constants":208,dup:32}],208:[function(a,b,c){arguments[4][33][0].apply(c,arguments)},{"./der":207,dup:33}],209:[function(a,b,c){function d(a){this.enc="der",this.name=a.name,this.entity=a,this.tree=new e,this.tree._init(a.body)}function e(a){j.Node.call(this,"der",a)}function f(a,b){var c=a.readUInt8(b);if(a.isError(c))return c;var d=l.tagClass[c>>6],e=0===(32&c);if(31===(31&c)){var f=c;for(c=0;128===(128&f);){if(f=a.readUInt8(b),a.isError(f))return f;c<<=7,c|=127&f}}else c&=31;var g=l.tag[c];return{cls:d,primitive:e,tag:c,tagStr:g}}function g(a,b,c){var d=a.readUInt8(c);if(a.isError(d))return d;if(!b&&128===d)return null;if(0===(128&d))return d;var e=127&d;if(e>=4)return a.error("length octect is too long");d=0;for(var f=0;e>f;f++){d<<=8;var g=a.readUInt8(c);if(a.isError(g))return g;d|=g}return d}var h=a("inherits"),i=a("../../asn1"),j=i.base,k=i.bignum,l=i.constants.der;b.exports=d,d.prototype.decode=function(a,b){return a instanceof j.DecoderBuffer||(a=new j.DecoderBuffer(a,b)),this.tree._decode(a,b)},h(e,j.Node),e.prototype._peekTag=function(a,b,c){if(a.isEmpty())return!1;var d=a.save(),e=f(a,'Failed to peek tag: "'+b+'"');return a.isError(e)?e:(a.restore(d),e.tag===b||e.tagStr===b||c)},e.prototype._decodeTag=function(a,b,c){var d=f(a,'Failed to decode tag of "'+b+'"');if(a.isError(d))return d;var e=g(a,d.primitive,'Failed to get length of "'+b+'"');if(a.isError(e))return e;if(!c&&d.tag!==b&&d.tagStr!==b&&d.tagStr+"of"!==b)return a.error('Failed to match tag: "'+b+'"');if(d.primitive||null!==e)return a.skip(e,'Failed to match body of: "'+b+'"');var h=a.start(),i=this._skipUntilEnd(a,'Failed to skip indefinite length body: "'+this.tag+'"');return a.isError(i)?i:a.cut(h)},e.prototype._skipUntilEnd=function(a,b){for(;;){var c=f(a,b);if(a.isError(c))return c;var d=g(a,c.primitive,b);if(a.isError(d))return d;var e;if(e=c.primitive||null!==d?a.skip(d):this._skipUntilEnd(a,b),a.isError(e))return e;if("end"===c.tagStr)break}},e.prototype._decodeList=function(a,b,c){for(var d=[];!a.isEmpty();){var e=this._peekTag(a,"end");if(a.isError(e))return e;var f=c.decode(a,"der");if(a.isError(f)&&e)break;d.push(f)}return d},e.prototype._decodeStr=function(a,b){if("octstr"===b)return a.raw();if("bitstr"===b){var c=a.readUInt8();return a.isError(c)?c:{unused:c,data:a.raw()}}return"ia5str"===b||"utf8str"===b?a.raw().toString():this.error("Decoding of string type: "+b+" unsupported")},e.prototype._decodeObjid=function(a,b,c){for(var d=[],e=0;!a.isEmpty();){var f=a.readUInt8();e<<=7,e|=127&f,0===(128&f)&&(d.push(e),e=0)}128&f&&d.push(e);var g=d[0]/40|0,h=d[0]%40;return c?result=d:result=[g,h].concat(d.slice(1)),b&&(result=b[result.join(" ")]),result},e.prototype._decodeTime=function(a,b){var c=a.raw().toString();if("gentime"===b)var d=0|c.slice(0,4),e=0|c.slice(4,6),f=0|c.slice(6,8),g=0|c.slice(8,10),h=0|c.slice(10,12),i=0|c.slice(12,14);else{if("utctime"!==b)return this.error("Decoding "+b+" time is not supported yet");var d=0|c.slice(0,2),e=0|c.slice(2,4),f=0|c.slice(4,6),g=0|c.slice(6,8),h=0|c.slice(8,10),i=0|c.slice(10,12);d=70>d?2e3+d:1900+d}return Date.UTC(d,e-1,f,g,h,i,0)},e.prototype._decodeNull=function(a){return null},e.prototype._decodeBool=function(a){var b=a.readUInt8();return a.isError(b)?b:0!==b},e.prototype._decodeInt=function(a,b){var c=a.raw(),d=new k(c);return b&&(d=b[d.toString(10)]||d),d},e.prototype._use=function(a,b){return"function"==typeof a&&(a=a(b)),a._getDecoder("der").tree}},{"../../asn1":201,inherits:298}],210:[function(a,b,c){var d=c;d.der=a("./der"),d.pem=a("./pem")},{"./der":209,"./pem":211}],211:[function(a,b,c){function d(a){g.call(this,a),this.enc="pem"}var e=a("inherits"),f=a("buffer").Buffer,g=(a("../../asn1"),a("./der"));e(d,g),b.exports=d,d.prototype.decode=function(a,b){for(var c=a.toString().split(/[\r\n]+/g),d=b.label.toUpperCase(),e=/^-----(BEGIN|END) ([^-]+)-----$/,h=-1,i=-1,j=0;ja?"0"+a:a}function g(a,b,c,d){var e;if("seqof"===a?a="seq":"setof"===a&&(a="set"),l.tagByName.hasOwnProperty(a))e=l.tagByName[a];else{if("number"!=typeof a||(0|a)!==a)return d.error("Unknown tag: "+a);e=a}return e>=31?d.error("Multi-octet tag encoding unsupported"):(b||(e|=32),e|=l.tagClassByName[c||"universal"]<<6)}var h=a("inherits"),i=a("buffer").Buffer,j=a("../../asn1"),k=j.base,l=(j.bignum,j.constants.der);b.exports=d,d.prototype.encode=function(a,b){return this.tree._encode(a,b).join()},h(e,k.Node),e.prototype._encodeComposite=function(a,b,c,d){var e=g(a,b,c,this.reporter);if(d.length<128){var f=new i(2);return f[0]=e,f[1]=d.length,this._createEncoderBuffer([f,d])}for(var h=1,j=d.length;j>=256;j>>=8)h++;var f=new i(2+h);f[0]=e,f[1]=128|h;for(var j=1+h,k=d.length;k>0;j--,k>>=8)f[j]=255&k;return this._createEncoderBuffer([f,d])},e.prototype._encodeStr=function(a,b){return"octstr"===b?this._createEncoderBuffer(a):"bitstr"===b?this._createEncoderBuffer([0|a.unused,a.data]):"ia5str"===b||"utf8str"===b?this._createEncoderBuffer(a):this.reporter.error("Encoding of string type: "+b+" unsupported")},e.prototype._encodeObjid=function(a,b,c){if("string"==typeof a){if(!b)return this.reporter.error("string objid given, but no values map found");if(!b.hasOwnProperty(a))return this.reporter.error("objid not found in values map");a=b[a].split(/[\s\.]+/g);for(var d=0;d=40)return this.reporter.error("Second objid identifier OOB");a.splice(0,2,40*a[0]+a[1])}for(var e=0,d=0;d=128;f>>=7)e++}for(var g=new i(e),h=g.length-1,d=a.length-1;d>=0;d--){var f=a[d];for(g[h--]=127&f;(f>>=7)>0;)g[h--]=128|127&f}return this._createEncoderBuffer(g)},e.prototype._encodeTime=function(a,b){var c,d=new Date(a);return"gentime"===b?c=[f(d.getFullYear()),f(d.getUTCMonth()+1),f(d.getUTCDate()),f(d.getUTCHours()),f(d.getUTCMinutes()),f(d.getUTCSeconds()),"Z"].join(""):"utctime"===b?c=[f(d.getFullYear()%100),f(d.getUTCMonth()+1),f(d.getUTCDate()),f(d.getUTCHours()),f(d.getUTCMinutes()),f(d.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+b+" time is not supported yet"),this._encodeStr(c,"octstr")},e.prototype._encodeNull=function(){return this._createEncoderBuffer("")},e.prototype._encodeInt=function(a,b){if("string"==typeof a){if(!b)return this.reporter.error("String int or enum given, but no values map");if(!b.hasOwnProperty(a))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(a));a=b[a]}if("number"!=typeof a&&!i.isBuffer(a)){var c=a.toArray();a.sign===!1&&128&c[0]&&c.unshift(0),a=new i(c)}if(i.isBuffer(a)){var d=a.length;0===a.length&&d++;var e=new i(d);return a.copy(e),0===a.length&&(e[0]=0),this._createEncoderBuffer(e)}if(128>a)return this._createEncoderBuffer(a);if(256>a)return this._createEncoderBuffer([0,a]);for(var d=1,f=a;f>=256;f>>=8)d++;for(var e=new Array(d),f=e.length-1;f>=0;f--)e[f]=255&a,a>>=8;return 128&e[0]&&e.unshift(0),this._createEncoderBuffer(new i(e))},e.prototype._encodeBool=function(a){return this._createEncoderBuffer(a?255:0)},e.prototype._use=function(a,b){return"function"==typeof a&&(a=a(b)),a._getEncoder("der").tree},e.prototype._skipDefault=function(a,b,c){var d,e=this._baseState;if(null===e["default"])return!1;var f=a.join();if(void 0===e.defaultBuffer&&(e.defaultBuffer=this._encodeValue(e["default"],b,c).join()),f.length!==e.defaultBuffer.length)return!1;for(d=0;d0&&c.ishrn(d),c}function j(a,b){a=i(a,b),a=a.mod(b);var d=new c(a.toArray());if(d.lengthm&&(p=1),j=Math.min(a.length,l.length),a.length!==l.length&&(p=1),n=-1;++n=b)throw new Error("invalid sig")}var h=a("parse-asn1"),i=a("elliptic"),j=a("./curves"),k=a("bn.js");b.exports=d}).call(this,a("buffer").Buffer)},{"./curves":172,"bn.js":173,buffer:145,elliptic:175,"parse-asn1":200}],218:[function(a,b,c){(function(c){function d(a){this.curveType=h[a],this.curveType||(this.curveType={name:a}),this.curve=new f.ec(this.curveType.name),this.keys=void 0}function e(a,b,d){Array.isArray(a)||(a=a.toArray());var e=new c(a);if(d&&e.length>5]|=128<>>9<<4)+14]=b;for(var c=1732584193,d=-271733879,e=-1732584194,k=271733878,l=0;l>16)+(b>>16)+(c>>16);return d<<16|65535&c}function k(a,b){return a<>>32-b}var l=a("./helpers");b.exports=function(a){return l.hash(a,d,16)}},{"./helpers":243}],245:[function(a,b,c){(function(a){function c(a){for(var b=[],c=0,d=0;c>>5]|=a[c]<<24-d%32;return b}function d(a){for(var b=[],c=0;c<32*a.length;c+=8)b.push(a[c>>>5]>>>24-c%32&255);return b}function e(a,b,c){for(var d=0;16>d;d++){var e=c+d,l=b[e];b[e]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}var s,t,u,v,w,x,y,z,A,B;x=s=a[0],y=t=a[1],z=u=a[2],A=v=a[3],B=w=a[4];var C;for(d=0;80>d;d+=1)C=s+b[c+m[d]]|0,C+=16>d?f(t,u,v)+q[0]:32>d?g(t,u,v)+q[1]:48>d?h(t,u,v)+q[2]:64>d?i(t,u,v)+q[3]:j(t,u,v)+q[4],C=0|C,C=k(C,o[d]),C=C+w|0,s=w,w=v,v=k(u,10),u=t,t=C,C=x+b[c+n[d]]|0,C+=16>d?j(y,z,A)+r[0]:32>d?i(y,z,A)+r[1]:48>d?h(y,z,A)+r[2]:64>d?g(y,z,A)+r[3]:f(y,z,A)+r[4],C=0|C,C=k(C,p[d]),C=C+B|0,x=B,B=A,A=k(z,10),z=y,y=C;C=a[1]+u+A|0,a[1]=a[2]+v+B|0,a[2]=a[3]+w+x|0,a[3]=a[4]+s+y|0,a[4]=a[0]+t+z|0,a[0]=C}function f(a,b,c){return a^b^c}function g(a,b,c){return a&b|~a&c}function h(a,b,c){return(a|~b)^c}function i(a,b,c){return a&c|b&~c}function j(a,b,c){return a^(b|~c)}function k(a,b){return a<>>32-b}function l(b){var f=[1732584193,4023233417,2562383102,271733878,3285377520];"string"==typeof b&&(b=new a(b,"utf8"));var g=c(b),h=8*b.length,i=8*b.length;g[h>>>5]|=128<<24-h%32,g[(h+64>>>9<<4)+14]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8);for(var j=0;jj;j++){var k=f[j];f[j]=16711935&(k<<8|k>>>24)|4278255360&(k<<24|k>>>8)}var l=d(f);return new a(l)}var m=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],n=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],o=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],p=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],q=[0,1518500249,1859775393,2400959708,2840853838],r=[1352829926,1548603684,1836072691,2053994217,0];b.exports=l}).call(this,a("buffer").Buffer)},{buffer:145}],246:[function(a,b,c){(function(a){function c(b,c){this._block=new a(b),this._finalSize=c,this._blockSize=b,this._len=0,this._s=0}c.prototype.update=function(b,c){"string"==typeof b&&(c=c||"utf8",b=new a(b,c));for(var d=this._len+=b.length,e=this._s||0,f=0,g=this._block;d>e;){for(var h=Math.min(b.length,f+this._blockSize-e%this._blockSize),i=h-f,j=0;i>j;j++)g[e%this._blockSize+j]=b[j+f];e+=i,f+=i,e%this._blockSize===0&&this._update(g)}return this._s=e,this},c.prototype.digest=function(a){var b=8*this._len;this._block[this._len%this._blockSize]=128,this._block.fill(0,this._len%this._blockSize+1),b%(8*this._blockSize)>=8*this._finalSize&&(this._update(this._block),this._block.fill(0)),this._block.writeInt32BE(b,this._blockSize-4);var c=this._update(this._block)||this._hash();return a?c.toString(a):c},c.prototype._update=function(){throw new Error("_update must be implemented by subclass")},b.exports=c}).call(this,a("buffer").Buffer)},{buffer:145}],247:[function(a,b,c){var c=b.exports=function(a){a=a.toLowerCase();var b=c[a];if(!b)throw new Error(a+" is not supported (we accept pull requests)");return new b};c.sha=a("./sha"),c.sha1=a("./sha1"),c.sha224=a("./sha224"),c.sha256=a("./sha256"),c.sha384=a("./sha384"),c.sha512=a("./sha512")},{"./sha":248,"./sha1":249,"./sha224":250,"./sha256":251,"./sha384":252,"./sha512":253}],248:[function(a,b,c){(function(c){function d(){this.init(),this._w=h,g.call(this,64,56)}function e(a,b){return a<>>32-b}var f=a("inherits"),g=a("./hash"),h=new Array(80);f(d,g),d.prototype.init=function(){return this._a=1732584193,this._b=-271733879,this._c=-1732584194,this._d=271733878,this._e=-1009589776,this},d.prototype._update=function(a){function b(){return f[l-3]^f[l-8]^f[l-14]^f[l-16]}function c(a,b){f[l]=a;var c=e(g,5)+b+k+a+d;k=j,j=i,i=e(h,30),h=g,g=c,l++}var d,f=this._w,g=this._a,h=this._b,i=this._c,j=this._d,k=this._e,l=0;for(d=1518500249;16>l;)c(a.readInt32BE(4*l),h&i|~h&j);for(;20>l;)c(b(),h&i|~h&j);for(d=1859775393;40>l;)c(b(),h^i^j);for(d=-1894007588;60>l;)c(b(),h&i|h&j|i&j);for(d=-899497514;80>l;)c(b(),h^i^j);this._a=g+this._a|0,this._b=h+this._b|0,this._c=i+this._c|0,this._d=j+this._d|0,this._e=k+this._e|0},d.prototype._hash=function(){var a=new c(20);return a.writeInt32BE(0|this._a,0),a.writeInt32BE(0|this._b,4),a.writeInt32BE(0|this._c,8),a.writeInt32BE(0|this._d,12),a.writeInt32BE(0|this._e,16),a},b.exports=d}).call(this,a("buffer").Buffer)},{"./hash":246,buffer:145,inherits:298}],249:[function(a,b,c){(function(c){function d(){this.init(),this._w=h,g.call(this,64,56)}function e(a,b){return a<>>32-b}var f=a("inherits"),g=a("./hash"),h=new Array(80);f(d,g),d.prototype.init=function(){return this._a=1732584193,this._b=-271733879,this._c=-1732584194,this._d=271733878,this._e=-1009589776,this},d.prototype._update=function(a){function b(){return e(f[l-3]^f[l-8]^f[l-14]^f[l-16],1)}function c(a,b){f[l]=a;var c=e(g,5)+b+k+a+d;k=j,j=i,i=e(h,30),h=g,g=c,l++}var d,f=this._w,g=this._a,h=this._b,i=this._c,j=this._d,k=this._e,l=0;for(d=1518500249;16>l;)c(a.readInt32BE(4*l),h&i|~h&j);for(;20>l;)c(b(),h&i|~h&j);for(d=1859775393;40>l;)c(b(),h^i^j);for(d=-1894007588;60>l;)c(b(),h&i|h&j|i&j);for(d=-899497514;80>l;)c(b(),h^i^j);this._a=g+this._a|0,this._b=h+this._b|0,this._c=i+this._c|0,this._d=j+this._d|0,this._e=k+this._e|0},d.prototype._hash=function(){var a=new c(20);return a.writeInt32BE(0|this._a,0),a.writeInt32BE(0|this._b,4),a.writeInt32BE(0|this._c,8),a.writeInt32BE(0|this._d,12),a.writeInt32BE(0|this._e,16),a},b.exports=d}).call(this,a("buffer").Buffer)},{"./hash":246,buffer:145,inherits:298}],250:[function(a,b,c){(function(c){function d(){this.init(),this._w=h,g.call(this,64,56)}var e=a("inherits"),f=a("./sha256"),g=a("./hash"),h=new Array(64);e(d,f),d.prototype.init=function(){return this._a=-1056596264,this._b=914150663,this._c=812702999,this._d=-150054599,this._e=-4191439,this._f=1750603025,this._g=1694076839,this._h=-1090891868,this},d.prototype._hash=function(){var a=new c(28);return a.writeInt32BE(this._a,0),a.writeInt32BE(this._b,4),a.writeInt32BE(this._c,8),a.writeInt32BE(this._d,12),a.writeInt32BE(this._e,16),a.writeInt32BE(this._f,20),a.writeInt32BE(this._g,24),a},b.exports=d}).call(this,a("buffer").Buffer)},{"./hash":246,"./sha256":251,buffer:145,inherits:298}],251:[function(a,b,c){(function(c){function d(){this.init(),this._w=p,n.call(this,64,56)}function e(a,b){return a>>>b|a<<32-b}function f(a,b){return a>>>b}function g(a,b,c){return a&b^~a&c}function h(a,b,c){return a&b^a&c^b&c}function i(a){return e(a,2)^e(a,13)^e(a,22)}function j(a){return e(a,6)^e(a,11)^e(a,25)}function k(a){return e(a,7)^e(a,18)^f(a,3)}function l(a){return e(a,17)^e(a,19)^f(a,10)}var m=a("inherits"),n=a("./hash"),o=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],p=new Array(64);m(d,n),d.prototype.init=function(){return this._a=1779033703,this._b=-1150833019,this._c=1013904242,this._d=-1521486534,this._e=1359893119,this._f=-1694144372,this._g=528734635,this._h=1541459225,this},d.prototype._update=function(a){function b(){return l(d[t-2])+d[t-7]+k(d[t-15])+d[t-16]}function c(a){d[t]=a;var b=s+j(p)+g(p,q,r)+o[t]+a,c=i(e)+h(e,f,m);s=r,r=q,q=p,p=n+b,n=m,m=f,f=e,e=b+c,t++}for(var d=this._w,e=0|this._a,f=0|this._b,m=0|this._c,n=0|this._d,p=0|this._e,q=0|this._f,r=0|this._g,s=0|this._h,t=0;16>t;)c(a.readInt32BE(4*t));for(;64>t;)c(b());this._a=e+this._a|0,this._b=f+this._b|0,this._c=m+this._c|0,this._d=n+this._d|0,this._e=p+this._e|0,this._f=q+this._f|0,this._g=r+this._g|0,this._h=s+this._h|0},d.prototype._hash=function(){var a=new c(32);return a.writeInt32BE(this._a,0),a.writeInt32BE(this._b,4),a.writeInt32BE(this._c,8),a.writeInt32BE(this._d,12),a.writeInt32BE(this._e,16),a.writeInt32BE(this._f,20),a.writeInt32BE(this._g,24),a.writeInt32BE(this._h,28),a},b.exports=d}).call(this,a("buffer").Buffer)},{"./hash":246,buffer:145,inherits:298}],252:[function(a,b,c){(function(c){function d(){this.init(),this._w=h,g.call(this,128,112)}var e=a("inherits"),f=a("./sha512"),g=a("./hash"),h=new Array(160);e(d,f),d.prototype.init=function(){return this._a=-876896931,this._b=1654270250,this._c=-1856437926,this._d=355462360,this._e=1731405415,this._f=-1900787065,this._g=-619958771,this._h=1203062813,this._al=-1056596264,this._bl=914150663,this._cl=812702999,this._dl=-150054599,this._el=-4191439,this._fl=1750603025,this._gl=1694076839,this._hl=-1090891868,this},d.prototype._hash=function(){function a(a,c,d){b.writeInt32BE(a,d),b.writeInt32BE(c,d+4)}var b=new c(48);return a(this._a,this._al,0),a(this._b,this._bl,8),a(this._c,this._cl,16),a(this._d,this._dl,24),a(this._e,this._el,32),a(this._f,this._fl,40),b},b.exports=d}).call(this,a("buffer").Buffer)},{"./hash":246,"./sha512":253,buffer:145,inherits:298}],253:[function(a,b,c){(function(c){function d(){this.init(),this._w=k,i.call(this,128,112)}function e(a,b,c){return a>>>c|b<<32-c}function f(a,b,c){return a&b^~a&c}function g(a,b,c){return a&b^a&c^b&c}var h=a("inherits"),i=a("./hash"),j=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],k=new Array(160);h(d,i),d.prototype.init=function(){return this._a=1779033703,this._b=-1150833019,this._c=1013904242,this._d=-1521486534,this._e=1359893119,this._f=-1694144372,this._g=528734635,this._h=1541459225,this._al=-205731576,this._bl=-2067093701,this._cl=-23791573,this._dl=1595750129,this._el=-1377402159,this._fl=725511199,this._gl=-79577749,this._hl=327033209,this},d.prototype._update=function(a){function b(){var a=i[B-30],b=i[B-30+1],c=e(a,b,1)^e(a,b,8)^a>>>7,f=e(b,a,1)^e(b,a,8)^e(b,a,7);a=i[B-4],b=i[B-4+1];var g=e(a,b,19)^e(b,a,29)^a>>>6,j=e(b,a,19)^e(a,b,29)^e(b,a,6),k=i[B-14],l=i[B-14+1],m=i[B-32],n=i[B-32+1];h=f+l,d=c+k+(f>>>0>h>>>0?1:0),h+=j,d=d+g+(j>>>0>h>>>0?1:0),h+=n,d=d+m+(n>>>0>h>>>0?1:0)}function c(){i[B]=d,i[B+1]=h;var a=g(k,l,m),b=g(s,t,u),c=e(k,s,28)^e(s,k,2)^e(s,k,7),C=e(s,k,28)^e(k,s,2)^e(k,s,7),D=e(o,w,14)^e(o,w,18)^e(w,o,9),E=e(w,o,14)^e(w,o,18)^e(o,w,9),F=j[B],G=j[B+1],H=f(o,p,q),I=f(w,x,y),J=z+E,K=r+D+(z>>>0>J>>>0?1:0);J+=I,K=K+H+(I>>>0>J>>>0?1:0),J+=G,K=K+F+(G>>>0>J>>>0?1:0),J+=h,K=K+d+(h>>>0>J>>>0?1:0);var L=C+b,M=c+a+(C>>>0>L>>>0?1:0);r=q,z=y,q=p,y=x,p=o,x=w,w=v+J|0,o=n+K+(v>>>0>w>>>0?1:0)|0,n=m,v=u,m=l,u=t,l=k,t=s,s=J+L|0,k=K+M+(J>>>0>s>>>0?1:0)|0,A++,B+=2}for(var d,h,i=this._w,k=0|this._a,l=0|this._b,m=0|this._c,n=0|this._d,o=0|this._e,p=0|this._f,q=0|this._g,r=0|this._h,s=0|this._al,t=0|this._bl,u=0|this._cl,v=0|this._dl,w=0|this._el,x=0|this._fl,y=0|this._gl,z=0|this._hl,A=0,B=0;16>A;)d=a.readInt32BE(4*B),h=a.readInt32BE(4*B+4),c();for(;80>A;)b(),c();this._al=this._al+s|0,this._bl=this._bl+t|0,this._cl=this._cl+u|0,this._dl=this._dl+v|0,this._el=this._el+w|0,this._fl=this._fl+x|0,this._gl=this._gl+y|0,this._hl=this._hl+z|0,this._a=this._a+k+(this._al>>>0>>0?1:0)|0,this._b=this._b+l+(this._bl>>>0>>0?1:0)|0,this._c=this._c+m+(this._cl>>>0>>0?1:0)|0,this._d=this._d+n+(this._dl>>>0>>0?1:0)|0,this._e=this._e+o+(this._el>>>0>>0?1:0)|0,this._f=this._f+p+(this._fl>>>0>>0?1:0)|0,this._g=this._g+q+(this._gl>>>0>>0?1:0)|0,this._h=this._h+r+(this._hl>>>0>>0?1:0)|0},d.prototype._hash=function(){function a(a,c,d){b.writeInt32BE(a,d),b.writeInt32BE(c,d+4)}var b=new c(64);return a(this._a,this._al,0),a(this._b,this._bl,8),a(this._c,this._cl,16),a(this._d,this._dl,24),a(this._e,this._el,32),a(this._f,this._fl,40),a(this._g,this._gl,48),a(this._h,this._hl,56),b},b.exports=d}).call(this,a("buffer").Buffer)},{"./hash":246,buffer:145,inherits:298}],254:[function(a,b,c){(function(c){"use strict";function d(a,b){g.call(this),"string"==typeof b&&(b=new c(b));var d="sha512"===a||"sha384"===a?128:64;this._alg=a,this._key=b,b.length>d?b=e(a).update(b).digest():b.lengthj;j++)f[j]=54^b[j],i[j]=92^b[j];this._hash=e(a).update(f)}var e=a("create-hash/browser"),f=a("inherits"),g=a("stream").Transform,h=new c(128);h.fill(0),f(d,g),d.prototype.update=function(a,b){return this._hash.update(a,b),this},d.prototype._transform=function(a,b,c){this._hash.update(a),c()},d.prototype._flush=function(a){this.push(this.digest()),a()},d.prototype.digest=function(a){var b=this._hash.digest();return e(this._alg).update(this._opad).update(b).digest(a)},b.exports=function(a,b){return new d(a,b)}}).call(this,a("buffer").Buffer)},{buffer:145,"create-hash/browser":242,inherits:298,stream:317}],255:[function(a,b,c){(function(b){function d(a){var c=new b(g[a].prime,"hex"),d=new b(g[a].gen,"hex");return new h(c,d)}function e(a,c,d,e){return(b.isBuffer(c)||"string"==typeof c&&-1===["hex","binary","base64"].indexOf(c))&&(e=d,d=c,c=void 0),c=c||"binary",e=e||"binary",d=d||new b([2]),b.isBuffer(d)||(d=new b(d,e)),"number"==typeof a?new h(f(a,d),d,!0):(b.isBuffer(a)||(a=new b(a,c)),new h(a,d,!0))}var f=a("./lib/generatePrime"),g=a("./lib/primes"),h=a("./lib/dh");c.DiffieHellmanGroup=c.createDiffieHellmanGroup=c.getDiffieHellman=d,c.createDiffieHellman=c.DiffieHellman=e}).call(this,a("buffer").Buffer)},{"./lib/dh":256,"./lib/generatePrime":257,"./lib/primes":258,buffer:145}],256:[function(a,b,c){(function(c){function d(a,b){return b=b||"utf8",c.isBuffer(a)||(a=new c(a,b)),this._pub=new j(a),this}function e(a,b){return b=b||"utf8",c.isBuffer(a)||(a=new c(a,b)),this._priv=new j(a),this}function f(a,b){var c=b.toString("hex"),d=[c,a.toString(16)].join("_");if(d in t)return t[d];var e=0;if(a.isEven()||!r.simpleSieve||!r.fermatTest(a)||!l.test(a))return e+=1,e+="02"===c||"05"===c?8:4,t[d]=e,e;l.test(a.shrn(1))||(e+=2);var f;switch(c){case"02":a.mod(m).cmp(n)&&(e+=8);break;case"05":f=a.mod(o),f.cmp(p)&&f.cmp(q)&&(e+=8);break;default:e+=4}return t[d]=e,e}function g(a,b){try{Object.defineProperty(a,"verifyError",{enumerable:!0,value:b,writable:!1})}catch(c){a.verifyError=b}}function h(a,b,c){this.setGenerator(b),this.__prime=new j(a),this._prime=j.mont(this.__prime),this._primeLen=a.length,this._pub=void 0,this._priv=void 0,c?(this.setPublicKey=d,this.setPrivateKey=e,g(this,f(this.__prime,b))):g(this,8)}function i(a,b){var d=new c(a.toArray());return b?d.toString(b):d}var j=a("bn.js"),k=a("miller-rabin"),l=new k,m=new j(24),n=new j(11),o=new j(10),p=new j(3),q=new j(7),r=a("./generatePrime"),s=a("randombytes");b.exports=h;var t={};h.prototype.generateKeys=function(){return this._priv||(this._priv=new j(s(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},h.prototype.computeSecret=function(a){a=new j(a),a=a.toRed(this._prime);var b=a.redPow(this._priv).fromRed(),d=new c(b.toArray()),e=this.getPrime();if(d.lengthd;d+=2){for(var e=Math.ceil(Math.sqrt(d)),f=0;c>f&&b[f]<=e&&d%b[f]!==0;f++);c!==f&&b[f]<=e||(b[c++]=d)}return w=b,b}function e(a){for(var b=d(),c=0;ca;)c.ishrn(1);if(c.isEven()&&c.iadd(m),c.testn(1)||c.iadd(n),b.cmp(n))if(b.cmp(o))g={major:[u],minor:[n]};else{for(rem=c.mod(r);rem.cmp(s);)c.iadd(u),rem=c.mod(r);g={major:[u,p],minor:[n,q]}}else{for(;c.mod(j).cmp(t);)c.iadd(u);g={major:[j],minor:[v]}}return c}if(16>a)return new i(2===b||5===b?[140,123]:[140,39]);b=new i(b);for(var d,g,k=c(a),w=k.shrn(1);;){for(;k.bitLength()>a;)k=c(a),w=k.shrn(1);if(d++,e(w)&&e(k)&&f(w)&&f(k)&&l.test(w)&&l.test(k))return k;k.iadd(g.major[d%g.major.length]),w.iadd(g.minor[d%g.minor.length])}}var h=a("randombytes");b.exports=g,g.simpleSieve=e,g.fermatTest=f;var i=a("bn.js"),j=new i(24),k=a("miller-rabin"),l=new k,m=new i(1),n=new i(2),o=new i(5),p=new i(16),q=new i(8),r=new i(10),s=new i(3),t=(new i(7),new i(11)),u=new i(4),v=new i(12),w=null},{"bn.js":259,"miller-rabin":260,randombytes:291}],258:[function(a,b,c){b.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff" -}}},{}],259:[function(a,b,c){arguments[4][173][0].apply(c,arguments)},{dup:173}],260:[function(a,b,c){function d(a){this.rand=a||new f.Rand}var e=a("bn.js"),f=a("brorand");b.exports=d,d.create=function(a){return new d(a)},d.prototype._rand=function(a){var b=a.bitLength(),c=this.rand.generate(Math.ceil(b/8));c[0]|=3;var d=7&b;return 0!==d&&(c[c.length-1]>>=7-d),new e(c)},d.prototype.test=function(a,b,c){var d=a.bitLength(),f=e.mont(a),g=new e(1).toRed(f);b||(b=Math.max(1,d/48|0));for(var h=a.subn(1),i=h.subn(1),j=0;!h.testn(j);j++);for(var k=a.shrn(j),l=h.toRed(f),m=!0;b>0;b--){var n=this._rand(i);c&&c(n);var o=n.toRed(f).redPow(k);if(0!==o.cmp(g)&&0!==o.cmp(l)){for(var p=1;j>p;p++){if(o=o.redSqr(),0===o.cmp(g))return!1;if(0===o.cmp(l))break}if(p===j)return!1}}return m},d.prototype.getDivisor=function(a,b){var c=a.bitLength(),d=e.mont(a),f=new e(1).toRed(d);b||(b=Math.max(1,c/48|0));for(var g=a.subn(1),h=g.subn(1),i=0;!g.testn(i);i++);for(var j=a.shrn(i),k=g.toRed(d);b>0;b--){var l=this._rand(h),m=a.gcd(l);if(0!==m.cmpn(1))return m;var n=l.toRed(d).redPow(j);if(0!==n.cmp(f)&&0!==n.cmp(k)){for(var o=1;i>o;o++){if(n=n.redSqr(),0===n.cmp(f))return n.fromRed().subn(1).gcd(a);if(0===n.cmp(k))break}if(o===i)return n=n.redSqr(),n.fromRed().subn(1).gcd(a)}}return!1}},{"bn.js":259,brorand:261}],261:[function(a,b,c){arguments[4][111][0].apply(c,arguments)},{dup:111}],262:[function(a,b,c){(function(b){function d(a,b,c,d,f,g){if("function"==typeof f&&(g=f,f=void 0),"function"!=typeof g)throw new Error("No callback provided to pbkdf2");var h=e(a,b,c,d,f);setTimeout(function(){g(void 0,h)})}function e(a,c,d,e,h){if("number"!=typeof d)throw new TypeError("Iterations not a number");if(0>d)throw new TypeError("Bad iterations");if("number"!=typeof e)throw new TypeError("Key length not a number");if(0>e||e>g)throw new TypeError("Bad key length");h=h||"sha1",b.isBuffer(a)||(a=new b(a,"binary")),b.isBuffer(c)||(c=new b(c,"binary"));var i,j=1,k=new b(e),l=new b(c.length+4);c.copy(l,0,0,c.length);for(var m,n,o=1;j>=o;o++){l.writeUInt32BE(o,c.length);var p=f(h,a).update(l).digest();i||(i=p.length,n=new b(i),j=Math.ceil(e/i),m=e-(j-1)*i),p.copy(n,0,0,i);for(var q=1;d>q;q++){p=f(h,a).update(p).digest();for(var r=0;i>r;r++)n[r]^=p[r]}var s=(o-1)*i,t=o===j?m:i;n.copy(k,s,0,t)}return k}var f=a("create-hmac"),g=Math.pow(2,30)-1;c.pbkdf2=d,c.pbkdf2Sync=e}).call(this,a("buffer").Buffer)},{buffer:145,"create-hmac":254}],263:[function(a,b,c){c.publicEncrypt=a("./publicEncrypt"),c.privateDecrypt=a("./privateDecrypt"),c.privateEncrypt=function(a,b){return c.publicEncrypt(a,b,!0)},c.publicDecrypt=function(a,b){return c.privateDecrypt(a,b,!0)}},{"./privateDecrypt":287,"./publicEncrypt":288}],264:[function(a,b,c){(function(c){function d(a){var b=new c(4);return b.writeUInt32BE(a,0),b}var e=a("create-hash");b.exports=function(a,b){for(var f,g=new c(""),h=0;g.length=b.length){f++;break}var g=b.slice(2,e-1);b.slice(e-1,e);if(("0002"!==d.toString("hex")&&!c||"0001"!==d.toString("hex")&&c)&&f++,g.length<8&&f++,f)throw new Error("decryption error");return b.slice(e)}function f(a,b){a=new c(a),b=new c(b);var d=0,e=a.length;a.length!==b.length&&(d++,e=Math.min(a.length,b.length));for(var f=-1;++fl||new j(b).cmp(i.modulus)>=0)throw new Error("decryption error");var n;n=f?m(new j(b),i):k(b,i);var o=new c(l-n.length);if(o.fill(0),n=c.concat([o,n],l),4===h)return d(i,n);if(1===h)return e(i,n,f);if(3===h)return n;throw new Error("unknown padding")}}).call(this,a("buffer").Buffer)},{"./mgf":264,"./withPublic":289,"./xor":290,"bn.js":265,"browserify-rsa":266,buffer:145,"create-hash":242,"parse-asn1":271}],288:[function(a,b,c){(function(c){function d(a,b){var d=a.modulus.byteLength(),e=b.length,f=i("sha1").update(new c("")).digest(),g=f.length,m=2*g;if(e>d-m-2)throw new Error("message too long");var n=new c(d-e-m-2);n.fill(0);var o=d-g-1,p=h(g),q=k(c.concat([f,n,new c([1]),b],o),j(p,o)),r=k(p,j(q,g));return new l(c.concat([new c([0]),r,q],d))}function e(a,b,d){var e=b.length,g=a.modulus.byteLength();if(e>g-11)throw new Error("message too long");var h;return d?(h=new c(g-e-3),h.fill(255)):h=f(g-e-3),new l(c.concat([new c([0,d?1:2]),h,new c([0]),b],g))}function f(a,b){for(var d,e=new c(a),f=0,g=h(2*a),i=0;a>f;)i===g.length&&(g=h(2*a),i=0),d=g[i++],d&&(e[f++]=d);return e}var g=a("parse-asn1"),h=a("randombytes"),i=a("create-hash"),j=a("./mgf"),k=a("./xor"),l=a("bn.js"),m=a("./withPublic"),n=a("browserify-rsa");b.exports=function(a,b,c){var f;f=a.padding?a.padding:c?1:4;var h,i=g(a);if(4===f)h=d(i,b);else if(1===f)h=e(i,b,c);else{if(3!==f)throw new Error("unknown padding");if(h=new l(b),h.cmp(i.modulus)>=0)throw new Error("data too long for modulus")}return c?n(h,i):m(h,i)}}).call(this,a("buffer").Buffer)},{"./mgf":264,"./withPublic":289,"./xor":290,"bn.js":265,"browserify-rsa":266,buffer:145,"create-hash":242,"parse-asn1":271,randombytes:291}],289:[function(a,b,c){(function(c){function d(a,b){return new c(a.toRed(e.mont(b.modulus)).redPow(new e(b.publicExponent)).fromRed().toArray())}var e=a("bn.js");b.exports=d}).call(this,a("buffer").Buffer)},{"bn.js":265,buffer:145}],290:[function(a,b,c){b.exports=function(a,b){for(var c=a.length,d=-1;++da||isNaN(a))throw TypeError("n must be a positive number");return this._maxListeners=a,this},d.prototype.emit=function(a){var b,c,d,f,i,j;if(this._events||(this._events={}),"error"===a&&(!this._events.error||g(this._events.error)&&!this._events.error.length)){if(b=arguments[1],b instanceof Error)throw b;throw TypeError('Uncaught, unspecified "error" event.')}if(c=this._events[a],h(c))return!1;if(e(c))switch(arguments.length){case 1:c.call(this);break;case 2:c.call(this,arguments[1]);break;case 3:c.call(this,arguments[1],arguments[2]);break;default:for(d=arguments.length,f=new Array(d-1),i=1;d>i;i++)f[i-1]=arguments[i];c.apply(this,f)}else if(g(c)){for(d=arguments.length,f=new Array(d-1),i=1;d>i;i++)f[i-1]=arguments[i];for(j=c.slice(),d=j.length,i=0;d>i;i++)j[i].apply(this,f)}return!0},d.prototype.addListener=function(a,b){var c;if(!e(b))throw TypeError("listener must be a function");if(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",a,e(b.listener)?b.listener:b),this._events[a]?g(this._events[a])?this._events[a].push(b):this._events[a]=[this._events[a],b]:this._events[a]=b,g(this._events[a])&&!this._events[a].warned){var c;c=h(this._maxListeners)?d.defaultMaxListeners:this._maxListeners,c&&c>0&&this._events[a].length>c&&(this._events[a].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[a].length),"function"==typeof console.trace&&console.trace())}return this},d.prototype.on=d.prototype.addListener,d.prototype.once=function(a,b){function c(){this.removeListener(a,c),d||(d=!0,b.apply(this,arguments))}if(!e(b))throw TypeError("listener must be a function");var d=!1;return c.listener=b,this.on(a,c),this},d.prototype.removeListener=function(a,b){var c,d,f,h;if(!e(b))throw TypeError("listener must be a function");if(!this._events||!this._events[a])return this;if(c=this._events[a],f=c.length,d=-1,c===b||e(c.listener)&&c.listener===b)delete this._events[a],this._events.removeListener&&this.emit("removeListener",a,b);else if(g(c)){for(h=f;h-->0;)if(c[h]===b||c[h].listener&&c[h].listener===b){d=h;break}if(0>d)return this;1===c.length?(c.length=0,delete this._events[a]):c.splice(d,1),this._events.removeListener&&this.emit("removeListener",a,b)}return this},d.prototype.removeAllListeners=function(a){var b,c;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[a]&&delete this._events[a],this;if(0===arguments.length){for(b in this._events)"removeListener"!==b&&this.removeAllListeners(b);return this.removeAllListeners("removeListener"),this._events={},this}if(c=this._events[a],e(c))this.removeListener(a,c);else for(;c.length;)this.removeListener(a,c[c.length-1]);return delete this._events[a],this},d.prototype.listeners=function(a){var b;return b=this._events&&this._events[a]?e(this._events[a])?[this._events[a]]:this._events[a].slice():[]},d.listenerCount=function(a,b){var c;return c=a._events&&a._events[b]?e(a._events[b])?1:a._events[b].length:0}},{}],293:[function(a,b,c){var d=b.exports,e=(a("events").EventEmitter,a("./lib/request")),f=a("url");d.request=function(a,b){"string"==typeof a&&(a=f.parse(a)),a||(a={}),a.host||a.port||(a.port=parseInt(window.location.port,10)),!a.host&&a.hostname&&(a.host=a.hostname),a.protocol||(a.scheme?a.protocol=a.scheme+":":a.protocol=window.location.protocol),a.host||(a.host=window.location.hostname||window.location.host),/:/.test(a.host)&&(a.port||(a.port=a.host.split(":")[1]),a.host=a.host.split(":")[0]),a.port||(a.port="https:"==a.protocol?443:80);var c=new e(new g,a);return b&&c.on("response",b),c},d.get=function(a,b){a.method="GET";var c=d.request(a,b);return c.end(),c},d.Agent=function(){},d.Agent.defaultMaxSockets=4;var g=function(){if("undefined"==typeof window)throw new Error("no window object present");if(window.XMLHttpRequest)return window.XMLHttpRequest;if(window.ActiveXObject){for(var a=["Msxml2.XMLHTTP.6.0","Msxml2.XMLHTTP.3.0","Microsoft.XMLHTTP"],b=0;bthis.offset&&(this.emit("data",b.slice(this.offset)),this.offset=b.length))};var i=Array.isArray||function(a){return"[object Array]"===Object.prototype.toString.call(a)}},{stream:317,util:321}],296:[function(a,b,c){!function(){function a(a){this.message=a}var b="undefined"!=typeof c?c:this,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";a.prototype=new Error,a.prototype.name="InvalidCharacterError",b.btoa||(b.btoa=function(b){for(var c,e,f=0,g=d,h="";b.charAt(0|f)||(g="=",f%1);h+=g.charAt(63&c>>8-f%1*8)){if(e=b.charCodeAt(f+=.75),e>255)throw new a("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");c=c<<8|e}return h}),b.atob||(b.atob=function(b){if(b=b.replace(/=+$/,""),b.length%4==1)throw new a("'atob' failed: The string to be decoded is not correctly encoded.");for(var c,e,f=0,g=0,h="";e=b.charAt(g++);~e&&(c=f%4?64*c+e:e,f++%4)?h+=String.fromCharCode(255&c>>(-2*f&6)):0)e=d.indexOf(e);return h})}()},{}],297:[function(a,b,c){var d=a("http"),e=b.exports;for(var f in d)d.hasOwnProperty(f)&&(e[f]=d[f]);e.request=function(a,b){return a||(a={}),a.scheme="https",d.request.call(this,a,b)}},{http:293}],298:[function(a,b,c){arguments[4][119][0].apply(c,arguments)},{dup:119}],299:[function(a,b,c){b.exports=Array.isArray||function(a){return"[object Array]"==Object.prototype.toString.call(a)}},{}],300:[function(a,b,c){(function(a){function b(a,b){for(var c=0,d=a.length-1;d>=0;d--){var e=a[d];"."===e?a.splice(d,1):".."===e?(a.splice(d,1),c++):c&&(a.splice(d,1),c--)}if(b)for(;c--;c)a.unshift("..");return a}function d(a,b){if(a.filter)return a.filter(b);for(var c=[],d=0;d=-1&&!e;f--){var g=f>=0?arguments[f]:a.cwd();if("string"!=typeof g)throw new TypeError("Arguments to path.resolve must be strings");g&&(c=g+"/"+c,e="/"===g.charAt(0))}return c=b(d(c.split("/"),function(a){return!!a}),!e).join("/"),(e?"/":"")+c||"."},c.normalize=function(a){var e=c.isAbsolute(a),f="/"===g(a,-1);return a=b(d(a.split("/"),function(a){return!!a}),!e).join("/"),a||e||(a="."),a&&f&&(a+="/"),(e?"/":"")+a},c.isAbsolute=function(a){return"/"===a.charAt(0)},c.join=function(){var a=Array.prototype.slice.call(arguments,0);return c.normalize(d(a,function(a,b){if("string"!=typeof a)throw new TypeError("Arguments to path.join must be strings");return a}).join("/"))},c.relative=function(a,b){function d(a){for(var b=0;b=0&&""===a[c];c--);return b>c?[]:a.slice(b,c-b+1)}a=c.resolve(a).substr(1),b=c.resolve(b).substr(1);for(var e=d(a.split("/")),f=d(b.split("/")),g=Math.min(e.length,f.length),h=g,i=0;g>i;i++)if(e[i]!==f[i]){h=i;break}for(var j=[],i=h;ib&&(b=a.length+b),a.substr(b,c)}}).call(this,a("_process"))},{_process:301}],301:[function(a,b,c){function d(){if(!h){h=!0;for(var a,b=g.length;b;){a=g,g=[];for(var c=-1;++ce;)b=a.charCodeAt(e++),b>=55296&&56319>=b&&f>e?(c=a.charCodeAt(e++),56320==(64512&c)?d.push(((1023&b)<<10)+(1023&c)+65536):(d.push(b),e--)):d.push(b);return d}function i(a){return f(a,function(a){var b="";return a>65535&&(a-=65536,b+=K(a>>>10&1023|55296),a=56320|1023&a),b+=K(a)}).join("")}function j(a){return 10>a-48?a-22:26>a-65?a-65:26>a-97?a-97:w}function k(a,b){return a+22+75*(26>a)-((0!=b)<<5)}function l(a,b,c){var d=0;for(a=c?J(a/A):a>>1,a+=J(a/b);a>I*y>>1;d+=w)a=J(a/I);return J(d+(I+1)*a/(a+z))}function m(a){var b,c,d,f,g,h,k,m,n,o,p=[],q=a.length,r=0,s=C,t=B;for(c=a.lastIndexOf(D),0>c&&(c=0),d=0;c>d;++d)a.charCodeAt(d)>=128&&e("not-basic"),p.push(a.charCodeAt(d));for(f=c>0?c+1:0;q>f;){for(g=r,h=1,k=w;f>=q&&e("invalid-input"),m=j(a.charCodeAt(f++)),(m>=w||m>J((v-r)/h))&&e("overflow"),r+=m*h,n=t>=k?x:k>=t+y?y:k-t,!(n>m);k+=w)o=w-n,h>J(v/o)&&e("overflow"),h*=o;b=p.length+1,t=l(r-g,b,0==g),J(r/b)>v-s&&e("overflow"),s+=J(r/b),r%=b,p.splice(r++,0,s)}return i(p)}function n(a){var b,c,d,f,g,i,j,m,n,o,p,q,r,s,t,u=[];for(a=h(a),q=a.length,b=C,c=0,g=B,i=0;q>i;++i)p=a[i],128>p&&u.push(K(p));for(d=f=u.length,f&&u.push(D);q>d;){for(j=v,i=0;q>i;++i)p=a[i],p>=b&&j>p&&(j=p);for(r=d+1,j-b>J((v-c)/r)&&e("overflow"),c+=(j-b)*r,b=j,i=0;q>i;++i)if(p=a[i],b>p&&++c>v&&e("overflow"),p==b){for(m=c,n=w;o=g>=n?x:n>=g+y?y:n-g,!(o>m);n+=w)t=m-o,s=w-o,u.push(K(k(o+t%s,0))),m=J(t/s);u.push(K(k(m,0))),g=l(c,r,d==f),c=0,++d}++c,++b}return u.join("")}function o(a){return g(a,function(a){return E.test(a)?m(a.slice(4).toLowerCase()):a})}function p(a){return g(a,function(a){return F.test(a)?"xn--"+n(a):a})}var q="object"==typeof c&&c,r="object"==typeof b&&b&&b.exports==q&&b,s="object"==typeof a&&a;(s.global===s||s.window===s)&&(d=s);var t,u,v=2147483647,w=36,x=1,y=26,z=38,A=700,B=72,C=128,D="-",E=/^xn--/,F=/[^ -~]/,G=/\x2E|\u3002|\uFF0E|\uFF61/g,H={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},I=w-x,J=Math.floor,K=String.fromCharCode;if(t={version:"1.2.4",ucs2:{decode:h,encode:i},decode:m,encode:n,toASCII:p,toUnicode:o},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return t});else if(q&&!q.nodeType)if(r)r.exports=t;else for(u in t)t.hasOwnProperty(u)&&(q[u]=t[u]);else d.punycode=t}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],303:[function(a,b,c){"use strict";function d(a,b){return Object.prototype.hasOwnProperty.call(a,b)}b.exports=function(a,b,c,f){b=b||"&",c=c||"=";var g={};if("string"!=typeof a||0===a.length)return g;var h=/\+/g;a=a.split(b);var i=1e3;f&&"number"==typeof f.maxKeys&&(i=f.maxKeys);var j=a.length;i>0&&j>i&&(j=i);for(var k=0;j>k;++k){var l,m,n,o,p=a[k].replace(h,"%20"),q=p.indexOf(c);q>=0?(l=p.substr(0,q),m=p.substr(q+1)):(l=p,m=""),n=decodeURIComponent(l),o=decodeURIComponent(m),d(g,n)?e(g[n])?g[n].push(o):g[n]=[g[n],o]:g[n]=o}return g};var e=Array.isArray||function(a){return"[object Array]"===Object.prototype.toString.call(a)}},{}],304:[function(a,b,c){"use strict";function d(a,b){if(a.map)return a.map(b);for(var c=[],d=0;dc;c++)b(a[c],c)}b.exports=d;var g=Object.keys||function(a){var b=[];for(var c in a)b.push(c);return b},h=a("core-util-is");h.inherits=a("inherits");var i=a("./_stream_readable"),j=a("./_stream_writable");h.inherits(d,i),f(g(j.prototype),function(a){d.prototype[a]||(d.prototype[a]=j.prototype[a])})}).call(this,a("_process"))},{"./_stream_readable":309,"./_stream_writable":311,_process:301,"core-util-is":312,inherits:298}],308:[function(a,b,c){function d(a){return this instanceof d?void e.call(this,a):new d(a)}b.exports=d;var e=a("./_stream_transform"),f=a("core-util-is");f.inherits=a("inherits"),f.inherits(d,e),d.prototype._transform=function(a,b,c){c(null,a)}},{"./_stream_transform":310,"core-util-is":312,inherits:298}],309:[function(a,b,c){(function(c){function d(b,c){var d=a("./_stream_duplex");b=b||{};var e=b.highWaterMark,f=b.objectMode?16:16384;this.highWaterMark=e||0===e?e:f,this.highWaterMark=~~this.highWaterMark,this.buffer=[],this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.objectMode=!!b.objectMode,c instanceof d&&(this.objectMode=this.objectMode||!!b.readableObjectMode),this.defaultEncoding=b.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,b.encoding&&(C||(C=a("string_decoder/").StringDecoder),this.decoder=new C(b.encoding),this.encoding=b.encoding)}function e(b){a("./_stream_duplex");return this instanceof e?(this._readableState=new d(b,this),this.readable=!0,void A.call(this)):new e(b)}function f(a,b,c,d,e){var f=j(b,c);if(f)a.emit("error",f);else if(B.isNullOrUndefined(c))b.reading=!1,b.ended||k(a,b);else if(b.objectMode||c&&c.length>0)if(b.ended&&!e){var h=new Error("stream.push() after EOF");a.emit("error",h)}else if(b.endEmitted&&e){var h=new Error("stream.unshift() after end event");a.emit("error",h)}else!b.decoder||e||d||(c=b.decoder.write(c)),e||(b.reading=!1),b.flowing&&0===b.length&&!b.sync?(a.emit("data",c),a.read(0)):(b.length+=b.objectMode?1:c.length,e?b.buffer.unshift(c):b.buffer.push(c),b.needReadable&&l(a)),n(a,b);else e||(b.reading=!1);return g(b)}function g(a){return!a.ended&&(a.needReadable||a.length=E)a=E;else{a--;for(var b=1;32>b;b<<=1)a|=a>>b;a++}return a}function i(a,b){return 0===b.length&&b.ended?0:b.objectMode?0===a?0:1:isNaN(a)||B.isNull(a)?b.flowing&&b.buffer.length?b.buffer[0].length:b.length:0>=a?0:(a>b.highWaterMark&&(b.highWaterMark=h(a)),a>b.length?b.ended?b.length:(b.needReadable=!0,0):a)}function j(a,b){var c=null;return B.isBuffer(b)||B.isString(b)||B.isNullOrUndefined(b)||a.objectMode||(c=new TypeError("Invalid non-string/buffer chunk")),c}function k(a,b){if(b.decoder&&!b.ended){var c=b.decoder.end();c&&c.length&&(b.buffer.push(c),b.length+=b.objectMode?1:c.length)}b.ended=!0,l(a)}function l(a){var b=a._readableState;b.needReadable=!1,b.emittedReadable||(D("emitReadable",b.flowing),b.emittedReadable=!0,b.sync?c.nextTick(function(){m(a)}):m(a))}function m(a){D("emit readable"),a.emit("readable"),s(a)}function n(a,b){b.readingMore||(b.readingMore=!0,c.nextTick(function(){o(a,b)}))}function o(a,b){for(var c=b.length;!b.reading&&!b.flowing&&!b.ended&&b.length=e)c=f?d.join(""):y.concat(d,e),d.length=0;else if(aj&&a>i;j++){var h=d[0],l=Math.min(a-i,h.length);f?c+=h.slice(0,l):h.copy(c,i,0,l),l0)throw new Error("endReadable called on non-empty stream");b.endEmitted||(b.ended=!0,c.nextTick(function(){b.endEmitted||0!==b.length||(b.endEmitted=!0,a.readable=!1,a.emit("end"))}))}function v(a,b){for(var c=0,d=a.length;d>c;c++)b(a[c],c)}function w(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1}b.exports=e;var x=a("isarray"),y=a("buffer").Buffer;e.ReadableState=d;var z=a("events").EventEmitter;z.listenerCount||(z.listenerCount=function(a,b){return a.listeners(b).length});var A=a("stream"),B=a("core-util-is");B.inherits=a("inherits");var C,D=a("util");D=D&&D.debuglog?D.debuglog("stream"):function(){},B.inherits(e,A),e.prototype.push=function(a,b){var c=this._readableState;return B.isString(a)&&!c.objectMode&&(b=b||c.defaultEncoding,b!==c.encoding&&(a=new y(a,b),b="")),f(this,c,a,b,!1)},e.prototype.unshift=function(a){var b=this._readableState;return f(this,b,a,"",!0)},e.prototype.setEncoding=function(b){return C||(C=a("string_decoder/").StringDecoder),this._readableState.decoder=new C(b),this._readableState.encoding=b,this};var E=8388608;e.prototype.read=function(a){D("read",a);var b=this._readableState,c=a;if((!B.isNumber(a)||a>0)&&(b.emittedReadable=!1),0===a&&b.needReadable&&(b.length>=b.highWaterMark||b.ended))return D("read: emitReadable",b.length,b.ended),0===b.length&&b.ended?u(this):l(this),null;if(a=i(a,b),0===a&&b.ended)return 0===b.length&&u(this),null;var d=b.needReadable;D("need readable",d),(0===b.length||b.length-a0?t(a,b):null,B.isNull(e)&&(b.needReadable=!0,a=0),b.length-=a,0!==b.length||b.ended||(b.needReadable=!0),c!==a&&b.ended&&0===b.length&&u(this),B.isNull(e)||this.emit("data",e),e},e.prototype._read=function(a){this.emit("error",new Error("not implemented"))},e.prototype.pipe=function(a,b){function d(a){D("onunpipe"),a===l&&f()}function e(){D("onend"),a.end()}function f(){D("cleanup"),a.removeListener("close",i),a.removeListener("finish",j),a.removeListener("drain",q),a.removeListener("error",h),a.removeListener("unpipe",d),l.removeListener("end",e),l.removeListener("end",f),l.removeListener("data",g),!m.awaitDrain||a._writableState&&!a._writableState.needDrain||q()}function g(b){D("ondata");var c=a.write(b);!1===c&&(D("false write response, pause",l._readableState.awaitDrain),l._readableState.awaitDrain++,l.pause())}function h(b){D("onerror",b),k(),a.removeListener("error",h),0===z.listenerCount(a,"error")&&a.emit("error",b)}function i(){a.removeListener("finish",j),k()}function j(){D("onfinish"),a.removeListener("close",i),k()}function k(){D("unpipe"),l.unpipe(a)}var l=this,m=this._readableState;switch(m.pipesCount){case 0:m.pipes=a;break;case 1:m.pipes=[m.pipes,a];break;default:m.pipes.push(a)}m.pipesCount+=1,D("pipe count=%d opts=%j",m.pipesCount,b);var n=(!b||b.end!==!1)&&a!==c.stdout&&a!==c.stderr,o=n?e:f;m.endEmitted?c.nextTick(o):l.once("end",o),a.on("unpipe",d);var q=p(l);return a.on("drain",q),l.on("data",g),a._events&&a._events.error?x(a._events.error)?a._events.error.unshift(h):a._events.error=[h,a._events.error]:a.on("error",h),a.once("close",i),a.once("finish",j),a.emit("pipe",l),m.flowing||(D("pipe resume"),l.resume()),a},e.prototype.unpipe=function(a){var b=this._readableState;if(0===b.pipesCount)return this;if(1===b.pipesCount)return a&&a!==b.pipes?this:(a||(a=b.pipes),b.pipes=null,b.pipesCount=0,b.flowing=!1,a&&a.emit("unpipe",this),this);if(!a){var c=b.pipes,d=b.pipesCount;b.pipes=null,b.pipesCount=0,b.flowing=!1;for(var e=0;d>e;e++)c[e].emit("unpipe",this);return this}var e=w(b.pipes,a);return-1===e?this:(b.pipes.splice(e,1),b.pipesCount-=1,1===b.pipesCount&&(b.pipes=b.pipes[0]),a.emit("unpipe",this),this)},e.prototype.on=function(a,b){var d=A.prototype.on.call(this,a,b);if("data"===a&&!1!==this._readableState.flowing&&this.resume(),"readable"===a&&this.readable){var e=this._readableState;if(!e.readableListening)if(e.readableListening=!0,e.emittedReadable=!1,e.needReadable=!0,e.reading)e.length&&l(this,e);else{var f=this;c.nextTick(function(){D("readable nexttick read 0"),f.read(0)})}}return d},e.prototype.addListener=e.prototype.on,e.prototype.resume=function(){var a=this._readableState;return a.flowing||(D("resume"),a.flowing=!0,a.reading||(D("resume read 0"),this.read(0)),q(this,a)),this},e.prototype.pause=function(){return D("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(D("pause"),this._readableState.flowing=!1,this.emit("pause")),this},e.prototype.wrap=function(a){var b=this._readableState,c=!1,d=this;a.on("end",function(){if(D("wrapped end"),b.decoder&&!b.ended){var a=b.decoder.end();a&&a.length&&d.push(a)}d.push(null)}),a.on("data",function(e){if(D("wrapped data"),b.decoder&&(e=b.decoder.write(e)),e&&(b.objectMode||e.length)){var f=d.push(e);f||(c=!0,a.pause())}});for(var e in a)B.isFunction(a[e])&&B.isUndefined(this[e])&&(this[e]=function(b){return function(){return a[b].apply(a,arguments)}}(e));var f=["error","close","destroy","pause","resume"];return v(f,function(b){a.on(b,d.emit.bind(d,b))}),d._read=function(b){D("wrapped _read",b),c&&(c=!1,a.resume())},d},e._fromList=t}).call(this,a("_process"))},{"./_stream_duplex":307,_process:301,buffer:145,"core-util-is":312,events:292,inherits:298,isarray:299,stream:317,"string_decoder/":318,util:131}],310:[function(a,b,c){function d(a,b){this.afterTransform=function(a,c){return e(b,a,c)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null}function e(a,b,c){var d=a._transformState;d.transforming=!1;var e=d.writecb;if(!e)return a.emit("error",new Error("no writecb in Transform class"));d.writechunk=null,d.writecb=null,i.isNullOrUndefined(c)||a.push(c),e&&e(b);var f=a._readableState;f.reading=!1,(f.needReadable||f.length1){for(var c=[],d=0;d=this.charLength-this.charReceived?this.charLength-this.charReceived:a.length;if(a.copy(this.charBuffer,this.charReceived,0,c),this.charReceived+=c,this.charReceived=55296&&56319>=d)){if(this.charReceived=this.charLength=0,0===a.length)return b;break}this.charLength+=this.surrogateSize,b=""}this.detectIncompleteChar(a);var e=a.length;this.charLength&&(a.copy(this.charBuffer,0,a.length-this.charReceived,e),e-=this.charReceived),b+=a.toString(this.encoding,0,e);var e=b.length-1,d=b.charCodeAt(e);if(d>=55296&&56319>=d){var f=this.surrogateSize;return this.charLength+=f,this.charReceived+=f,this.charBuffer.copy(this.charBuffer,f,0,f),a.copy(this.charBuffer,0,0,f),b.substring(0,e)}return b},j.prototype.detectIncompleteChar=function(a){for(var b=a.length>=3?3:a.length;b>0;b--){var c=a[a.length-b];if(1==b&&c>>5==6){this.charLength=2;break}if(2>=b&&c>>4==14){this.charLength=3;break}if(3>=b&&c>>3==30){this.charLength=4;break}}this.charReceived=b},j.prototype.end=function(a){var b="";if(a&&a.length&&(b=this.write(a)),this.charReceived){var c=this.charReceived,d=this.charBuffer,e=this.encoding;b+=d.slice(0,c).toString(e)}return b}},{buffer:145}],319:[function(a,b,c){function d(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function e(a,b,c){if(a&&j(a)&&a instanceof d)return a;var e=new d;return e.parse(a,b,c),e}function f(a){return i(a)&&(a=e(a)),a instanceof d?a.format():d.prototype.format.call(a)}function g(a,b){return e(a,!1,!0).resolve(b)}function h(a,b){return a?e(a,!1,!0).resolveObject(b):b}function i(a){return"string"==typeof a}function j(a){return"object"==typeof a&&null!==a}function k(a){return null===a}function l(a){return null==a}var m=a("punycode");c.parse=e,c.resolve=g,c.resolveObject=h,c.format=f,c.Url=d;var n=/^([a-z0-9.+-]+:)/i,o=/:[0-9]*$/,p=["<",">",'"',"`"," ","\r","\n"," "],q=["{","}","|","\\","^","`"].concat(p),r=["'"].concat(q),s=["%","/","?",";","#"].concat(r),t=["/","?","#"],u=255,v=/^[a-z0-9A-Z_-]{0,63}$/,w=/^([a-z0-9A-Z_-]{0,63})(.*)$/,x={javascript:!0,"javascript:":!0},y={javascript:!0,"javascript:":!0},z={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},A=a("querystring");d.prototype.parse=function(a,b,c){if(!i(a))throw new TypeError("Parameter 'url' must be a string, not "+typeof a);var d=a;d=d.trim();var e=n.exec(d);if(e){e=e[0];var f=e.toLowerCase();this.protocol=f,d=d.substr(e.length)}if(c||e||d.match(/^\/\/[^@\/]+@[^@\/]+/)){var g="//"===d.substr(0,2);!g||e&&y[e]||(d=d.substr(2),this.slashes=!0)}if(!y[e]&&(g||e&&!z[e])){for(var h=-1,j=0;jk)&&(h=k)}var l,o;o=-1===h?d.lastIndexOf("@"):d.lastIndexOf("@",h),-1!==o&&(l=d.slice(0,o),d=d.slice(o+1),this.auth=decodeURIComponent(l)),h=-1;for(var j=0;jk)&&(h=k)}-1===h&&(h=d.length),this.host=d.slice(0,h),d=d.slice(h),this.parseHost(),this.hostname=this.hostname||"";var p="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!p)for(var q=this.hostname.split(/\./),j=0,B=q.length;B>j;j++){var C=q[j];if(C&&!C.match(v)){for(var D="",E=0,F=C.length;F>E;E++)D+=C.charCodeAt(E)>127?"x":C[E];if(!D.match(v)){var G=q.slice(0,j),H=q.slice(j+1),I=C.match(w);I&&(G.push(I[1]),H.unshift(I[2])),H.length&&(d="/"+H.join(".")+d),this.hostname=G.join(".");break}}}if(this.hostname.length>u?this.hostname="":this.hostname=this.hostname.toLowerCase(),!p){for(var J=this.hostname.split("."),K=[],j=0;jj;j++){var O=r[j],P=encodeURIComponent(O);P===O&&(P=escape(O)),d=d.split(O).join(P)}var Q=d.indexOf("#");-1!==Q&&(this.hash=d.substr(Q),d=d.slice(0,Q));var R=d.indexOf("?");if(-1!==R?(this.search=d.substr(R),this.query=d.substr(R+1),b&&(this.query=A.parse(this.query)),d=d.slice(0,R)):b&&(this.search="",this.query={}),d&&(this.pathname=d),z[f]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var M=this.pathname||"",L=this.search||"";this.path=M+L}return this.href=this.format(),this},d.prototype.format=function(){var a=this.auth||"";a&&(a=encodeURIComponent(a),a=a.replace(/%3A/i,":"),a+="@");var b=this.protocol||"",c=this.pathname||"",d=this.hash||"",e=!1,f="";this.host?e=a+this.host:this.hostname&&(e=a+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(e+=":"+this.port)),this.query&&j(this.query)&&Object.keys(this.query).length&&(f=A.stringify(this.query));var g=this.search||f&&"?"+f||"";return b&&":"!==b.substr(-1)&&(b+=":"),this.slashes||(!b||z[b])&&e!==!1?(e="//"+(e||""),c&&"/"!==c.charAt(0)&&(c="/"+c)):e||(e=""),d&&"#"!==d.charAt(0)&&(d="#"+d),g&&"?"!==g.charAt(0)&&(g="?"+g),c=c.replace(/[?#]/g,function(a){return encodeURIComponent(a)}),g=g.replace("#","%23"),b+e+c+g+d},d.prototype.resolve=function(a){return this.resolveObject(e(a,!1,!0)).format()},d.prototype.resolveObject=function(a){if(i(a)){var b=new d;b.parse(a,!1,!0),a=b}var c=new d;if(Object.keys(this).forEach(function(a){c[a]=this[a]},this),c.hash=a.hash,""===a.href)return c.href=c.format(),c;if(a.slashes&&!a.protocol)return Object.keys(a).forEach(function(b){"protocol"!==b&&(c[b]=a[b])}),z[c.protocol]&&c.hostname&&!c.pathname&&(c.path=c.pathname="/"),c.href=c.format(),c;if(a.protocol&&a.protocol!==c.protocol){if(!z[a.protocol])return Object.keys(a).forEach(function(b){c[b]=a[b]}),c.href=c.format(),c;if(c.protocol=a.protocol,a.host||y[a.protocol])c.pathname=a.pathname;else{for(var e=(a.pathname||"").split("/");e.length&&!(a.host=e.shift()););a.host||(a.host=""),a.hostname||(a.hostname=""),""!==e[0]&&e.unshift(""),e.length<2&&e.unshift(""),c.pathname=e.join("/")}if(c.search=a.search,c.query=a.query,c.host=a.host||"",c.auth=a.auth,c.hostname=a.hostname||a.host,c.port=a.port,c.pathname||c.search){var f=c.pathname||"",g=c.search||"";c.path=f+g}return c.slashes=c.slashes||a.slashes,c.href=c.format(),c}var h=c.pathname&&"/"===c.pathname.charAt(0),j=a.host||a.pathname&&"/"===a.pathname.charAt(0),m=j||h||c.host&&a.pathname,n=m,o=c.pathname&&c.pathname.split("/")||[],e=a.pathname&&a.pathname.split("/")||[],p=c.protocol&&!z[c.protocol];if(p&&(c.hostname="",c.port=null,c.host&&(""===o[0]?o[0]=c.host:o.unshift(c.host)),c.host="",a.protocol&&(a.hostname=null,a.port=null,a.host&&(""===e[0]?e[0]=a.host:e.unshift(a.host)),a.host=null),m=m&&(""===e[0]||""===o[0])),j)c.host=a.host||""===a.host?a.host:c.host,c.hostname=a.hostname||""===a.hostname?a.hostname:c.hostname,c.search=a.search,c.query=a.query,o=e;else if(e.length)o||(o=[]),o.pop(),o=o.concat(e),c.search=a.search,c.query=a.query;else if(!l(a.search)){if(p){c.hostname=c.host=o.shift();var q=c.host&&c.host.indexOf("@")>0?c.host.split("@"):!1;q&&(c.auth=q.shift(),c.host=c.hostname=q.shift())}return c.search=a.search,c.query=a.query,k(c.pathname)&&k(c.search)||(c.path=(c.pathname?c.pathname:"")+(c.search?c.search:"")),c.href=c.format(),c}if(!o.length)return c.pathname=null,c.search?c.path="/"+c.search:c.path=null,c.href=c.format(),c;for(var r=o.slice(-1)[0],s=(c.host||a.host)&&("."===r||".."===r)||""===r,t=0,u=o.length;u>=0;u--)r=o[u],"."==r?o.splice(u,1):".."===r?(o.splice(u,1),t++):t&&(o.splice(u,1),t--);if(!m&&!n)for(;t--;t)o.unshift("..");!m||""===o[0]||o[0]&&"/"===o[0].charAt(0)||o.unshift(""),s&&"/"!==o.join("/").substr(-1)&&o.push("");var v=""===o[0]||o[0]&&"/"===o[0].charAt(0);if(p){c.hostname=c.host=v?"":o.length?o.shift():"";var q=c.host&&c.host.indexOf("@")>0?c.host.split("@"):!1;q&&(c.auth=q.shift(),c.host=c.hostname=q.shift())}return m=m||c.host&&o.length,m&&!v&&o.unshift(""),o.length?c.pathname=o.join("/"):(c.pathname=null,c.path=null),k(c.pathname)&&k(c.search)||(c.path=(c.pathname?c.pathname:"")+(c.search?c.search:"")),c.auth=a.auth||c.auth,c.slashes=c.slashes||a.slashes,c.href=c.format(),c},d.prototype.parseHost=function(){var a=this.host,b=o.exec(a);b&&(b=b[0],":"!==b&&(this.port=b.substr(1)),a=a.substr(0,a.length-b.length)),a&&(this.hostname=a)}},{punycode:302,querystring:305}],320:[function(a,b,c){b.exports=function(a){return a&&"object"==typeof a&&"function"==typeof a.copy&&"function"==typeof a.fill&&"function"==typeof a.readUInt8}},{}],321:[function(a,b,c){(function(b,d){function e(a,b){var d={seen:[],stylize:g};return arguments.length>=3&&(d.depth=arguments[2]),arguments.length>=4&&(d.colors=arguments[3]),p(b)?d.showHidden=b:b&&c._extend(d,b),v(d.showHidden)&&(d.showHidden=!1),v(d.depth)&&(d.depth=2),v(d.colors)&&(d.colors=!1),v(d.customInspect)&&(d.customInspect=!0),d.colors&&(d.stylize=f),i(d,a,d.depth)}function f(a,b){var c=e.styles[b];return c?"["+e.colors[c][0]+"m"+a+"["+e.colors[c][1]+"m":a}function g(a,b){return a}function h(a){var b={};return a.forEach(function(a,c){b[a]=!0}),b}function i(a,b,d){if(a.customInspect&&b&&A(b.inspect)&&b.inspect!==c.inspect&&(!b.constructor||b.constructor.prototype!==b)){var e=b.inspect(d,a);return t(e)||(e=i(a,e,d)),e}var f=j(a,b);if(f)return f;var g=Object.keys(b),p=h(g);if(a.showHidden&&(g=Object.getOwnPropertyNames(b)),z(b)&&(g.indexOf("message")>=0||g.indexOf("description")>=0))return k(b);if(0===g.length){if(A(b)){var q=b.name?": "+b.name:"";return a.stylize("[Function"+q+"]","special")}if(w(b))return a.stylize(RegExp.prototype.toString.call(b),"regexp");if(y(b))return a.stylize(Date.prototype.toString.call(b),"date");if(z(b))return k(b)}var r="",s=!1,u=["{","}"];if(o(b)&&(s=!0,u=["[","]"]),A(b)){var v=b.name?": "+b.name:"";r=" [Function"+v+"]"}if(w(b)&&(r=" "+RegExp.prototype.toString.call(b)),y(b)&&(r=" "+Date.prototype.toUTCString.call(b)),z(b)&&(r=" "+k(b)),0===g.length&&(!s||0==b.length))return u[0]+r+u[1];if(0>d)return w(b)?a.stylize(RegExp.prototype.toString.call(b),"regexp"):a.stylize("[Object]","special");a.seen.push(b);var x;return x=s?l(a,b,d,p,g):g.map(function(c){return m(a,b,d,p,c,s)}),a.seen.pop(),n(x,r,u)}function j(a,b){if(v(b))return a.stylize("undefined","undefined");if(t(b)){var c="'"+JSON.stringify(b).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return a.stylize(c,"string")}return s(b)?a.stylize(""+b,"number"):p(b)?a.stylize(""+b,"boolean"):q(b)?a.stylize("null","null"):void 0}function k(a){return"["+Error.prototype.toString.call(a)+"]"}function l(a,b,c,d,e){for(var f=[],g=0,h=b.length;h>g;++g)F(b,String(g))?f.push(m(a,b,c,d,String(g),!0)):f.push("");return e.forEach(function(e){e.match(/^\d+$/)||f.push(m(a,b,c,d,e,!0))}),f}function m(a,b,c,d,e,f){var g,h,j;if(j=Object.getOwnPropertyDescriptor(b,e)||{value:b[e]},j.get?h=j.set?a.stylize("[Getter/Setter]","special"):a.stylize("[Getter]","special"):j.set&&(h=a.stylize("[Setter]","special")),F(d,e)||(g="["+e+"]"),h||(a.seen.indexOf(j.value)<0?(h=q(c)?i(a,j.value,null):i(a,j.value,c-1),h.indexOf("\n")>-1&&(h=f?h.split("\n").map(function(a){return" "+a}).join("\n").substr(2):"\n"+h.split("\n").map(function(a){return" "+a}).join("\n"))):h=a.stylize("[Circular]","special")),v(g)){if(f&&e.match(/^\d+$/))return h;g=JSON.stringify(""+e),g.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(g=g.substr(1,g.length-2),g=a.stylize(g,"name")):(g=g.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),g=a.stylize(g,"string"))}return g+": "+h}function n(a,b,c){var d=0,e=a.reduce(function(a,b){return d++,b.indexOf("\n")>=0&&d++,a+b.replace(/\u001b\[\d\d?m/g,"").length+1},0);return e>60?c[0]+(""===b?"":b+"\n ")+" "+a.join(",\n ")+" "+c[1]:c[0]+b+" "+a.join(", ")+" "+c[1]}function o(a){return Array.isArray(a)}function p(a){return"boolean"==typeof a}function q(a){return null===a}function r(a){return null==a}function s(a){return"number"==typeof a}function t(a){return"string"==typeof a}function u(a){return"symbol"==typeof a}function v(a){return void 0===a}function w(a){return x(a)&&"[object RegExp]"===C(a)}function x(a){return"object"==typeof a&&null!==a}function y(a){return x(a)&&"[object Date]"===C(a)}function z(a){return x(a)&&("[object Error]"===C(a)||a instanceof Error)}function A(a){return"function"==typeof a}function B(a){return null===a||"boolean"==typeof a||"number"==typeof a||"string"==typeof a||"symbol"==typeof a||"undefined"==typeof a}function C(a){return Object.prototype.toString.call(a)}function D(a){return 10>a?"0"+a.toString(10):a.toString(10)}function E(){var a=new Date,b=[D(a.getHours()),D(a.getMinutes()),D(a.getSeconds())].join(":");return[a.getDate(),J[a.getMonth()],b].join(" ")}function F(a,b){return Object.prototype.hasOwnProperty.call(a,b)}var G=/%[sdj%]/g;c.format=function(a){if(!t(a)){for(var b=[],c=0;c=f)return a;switch(a){case"%s":return String(d[c++]);case"%d":return Number(d[c++]);case"%j":try{return JSON.stringify(d[c++])}catch(b){return"[Circular]"}default:return a}}),h=d[c];f>c;h=d[++c])g+=q(h)||!x(h)?" "+h:" "+e(h);return g},c.deprecate=function(a,e){function f(){if(!g){if(b.throwDeprecation)throw new Error(e);b.traceDeprecation?console.trace(e):console.error(e),g=!0}return a.apply(this,arguments)}if(v(d.process))return function(){return c.deprecate(a,e).apply(this,arguments)};if(b.noDeprecation===!0)return a;var g=!1;return f};var H,I={};c.debuglog=function(a){if(v(H)&&(H=b.env.NODE_DEBUG||""),a=a.toUpperCase(),!I[a])if(new RegExp("\\b"+a+"\\b","i").test(H)){var d=b.pid;I[a]=function(){var b=c.format.apply(c,arguments);console.error("%s %d: %s",a,d,b)}}else I[a]=function(){};return I[a]},c.inspect=e,e.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},e.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"},c.isArray=o,c.isBoolean=p,c.isNull=q,c.isNullOrUndefined=r,c.isNumber=s,c.isString=t,c.isSymbol=u,c.isUndefined=v,c.isRegExp=w,c.isObject=x,c.isDate=y,c.isError=z,c.isFunction=A,c.isPrimitive=B,c.isBuffer=a("./support/isBuffer");var J=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];c.log=function(){console.log("%s - %s",E(),c.format.apply(c,arguments))},c.inherits=a("inherits"),c._extend=function(a,b){if(!b||!x(b))return a;for(var c=Object.keys(b),d=c.length;d--;)a[c[d]]=b[c[d]];return a}}).call(this,a("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":320,_process:301,inherits:298}],322:[function(require,module,exports){function Context(){}var indexOf=require("indexof"),Object_keys=function(a){if(Object.keys)return Object.keys(a);var b=[];for(var c in a)b.push(c);return b},forEach=function(a,b){if(a.forEach)return a.forEach(b);for(var c=0;cb&&!f||!e||c&&!g&&h||d&&h)return 1;if(b>a&&!c||!h||f&&!d&&e||g&&e)return-1}return 0}function e(a,b,c){for(var d=a.length,e=c?d:-1;c?e--:++e-1;);return c}function j(a,b){for(var c=a.length;c--&&b.indexOf(a.charAt(c))>-1;);return c}function k(a,b){return d(a.criteria,b.criteria)||a.index-b.index}function l(a,b,c){for(var e=-1,f=a.criteria,g=b.criteria,h=f.length,i=c.length;++e=i)return j;var k=c[e];return j*("asc"===k||k===!0?1:-1)}}return a.index-b.index}function m(a){return Sa[a]}function n(a){return Ta[a]}function o(a,b,c){return b?a=Wa[a]:c&&(a=Xa[a]),"\\"+a}function p(a){return"\\"+Xa[a]}function q(a,b,c){for(var d=a.length,e=b+(c?0:-1);c?e--:++e=a&&a>=9&&13>=a||32==a||160==a||5760==a||6158==a||a>=8192&&(8202>=a||8232==a||8233==a||8239==a||8287==a||12288==a||65279==a)}function t(a,b){for(var c=-1,d=a.length,e=-1,f=[];++cb,e=c?a.length:0,f=Tc(0,e,this.__views__),g=f.start,h=f.end,i=h-g,j=d?h:g-1,k=this.__iteratees__,l=k.length,m=0,n=wg(i,this.__takeCount__);if(!c||O>e||e==i&&n==i)return cc(d&&c?a.reverse():a,this.__actions__);var o=[];a:for(;i--&&n>m;){j+=b;for(var p=-1,q=a[j];++p=O?oc(b):null,j=b.length;i&&(g=Za,h=!1,b=i);a:for(;++ec&&(c=-c>e?0:e+c),d=d===z||d>e?e:+d||0,0>d&&(d+=e),e=c>d?0:d>>>0,c>>>=0;e>c;)a[c++]=b;return a}function Bb(a,b){var c=[];return Jg(a,function(a,d,e){b(a,d,e)&&c.push(a)}),c}function Cb(a,b,c,d){var e;return c(a,function(a,c,f){return b(a,c,f)?(e=d?c:a,!1):void 0}),e}function Db(a,b,c,d){d||(d=[]);for(var e=-1,f=a.length;++ed;)a=a[b[d++]];return d&&d==e?a:z}}function Jb(a,b,c,d,e,f){return a===b?!0:null==a||null==b||!He(a)&&!r(b)?a!==a&&b!==b:Kb(a,b,Jb,c,d,e,f)}function Kb(a,b,c,d,e,f,g){var h=Ch(a),i=Ch(b),j=U,k=U;h||(j=cg.call(a),j==T?j=_:j!=_&&(h=Qe(a))),i||(k=cg.call(b),k==T?k=_:k!=_&&(i=Qe(b)));var l=j==_,m=k==_,n=j==k;if(n&&!h&&!l)return Mc(a,b,j);if(!e){var o=l&&ag.call(a,"__wrapped__"),p=m&&ag.call(b,"__wrapped__");if(o||p)return c(o?a.value():a,p?b.value():b,d,e,f,g)}if(!n)return!1;f||(f=[]),g||(g=[]);for(var q=f.length;q--;)if(f[q]==a)return g[q]==b;f.push(a),g.push(b);var r=(h?Lc:Nc)(a,b,c,d,e,f,g);return f.pop(),g.pop(),r}function Lb(a,b,c){var d=b.length,e=d,f=!c;if(null==a)return!e;for(a=kd(a);d--;){var g=b[d];if(f&&g[2]?g[1]!==a[g[0]]:!(g[0]in a))return!1}for(;++db&&(b=-b>e?0:e+b),c=c===z||c>e?e:+c||0,0>c&&(c+=e),e=b>c?0:c-b>>>0,b>>>=0;for(var f=Of(e);++d=O,i=h?oc():null,j=[];i?(d=Za,g=!1):(h=!1,i=b?[]:j);a:for(;++c=e){for(;e>d;){var f=d+e>>>1,g=a[f];(c?b>=g:b>g)&&null!==g?d=f+1:e=f}return e}return ec(a,b,Bf,c)}function ec(a,b,c,d){b=c(b);for(var e=0,f=a?a.length:0,g=b!==b,h=null===b,i=b===z;f>e;){var j=rg((e+f)/2),k=c(a[j]),l=k!==z,m=k===k;if(g)var n=m||d;else n=h?m&&l&&(d||null!=k):i?m&&(d||l):null==k?!1:d?b>=k:b>k;n?e=j+1:f=j}return wg(f,Dg)}function fc(a,b,c){if("function"!=typeof a)return Bf;if(b===z)return a;switch(c){case 1:return function(c){return a.call(b,c)};case 3:return function(c,d,e){return a.call(b,c,d,e)};case 4:return function(c,d,e,f){return a.call(b,c,d,e,f)};case 5:return function(c,d,e,f,g){return a.call(b,c,d,e,f,g)}}return function(){return a.apply(b,arguments)}}function gc(a){var b=new fg(a.byteLength),c=new ng(b);return c.set(new ng(a)),b}function hc(a,b,c){for(var d=c.length,e=-1,f=vg(a.length-d,0),g=-1,h=b.length,i=Of(h+f);++g2?c[e-2]:z,g=e>2?c[2]:z,h=e>1?c[e-1]:z;for("function"==typeof f?(f=fc(f,h,5),e-=2):(f="function"==typeof h?h:z,e-=f?1:0),g&&$c(c[0],c[1],g)&&(f=3>e?z:f,e=1);++d-1?c[g]:z}return Cb(c,d,a)}}function vc(a){return function(b,c,d){return b&&b.length?(c=Oc(c,d,3),e(b,c,a)):-1}}function wc(a){return function(b,c,d){return c=Oc(c,d,3),Cb(b,c,a,!0)}}function xc(a){return function(){for(var b,c=arguments.length,d=a?c:-1,e=0,f=Of(c);a?d--:++d=O)return b.plant(d).value();for(var e=0,g=c?f[e].apply(this,a):d;++es){var y=h?ab(h):z,A=vg(j-s,0),D=o?x:z,E=o?z:x,F=o?v:z,I=o?z:v;b|=o?G:H,b&=~(o?H:G),p||(b&=~(B|C));var J=[a,b,c,F,D,I,E,y,i,A],K=Fc.apply(z,J);return ad(a)&&Qg(K,J),K.placeholder=w,K}}var L=m?c:this,M=n?L[a]:a;return h&&(v=hd(v,h)),l&&i=b||!tg(b))return"";var e=b-d;return c=null==c?" ":c+"",qf(c,pg(e/c.length)).slice(0,e)}function Hc(a,b,c,d){function e(){for(var b=-1,h=arguments.length,i=-1,j=d.length,k=Of(j+h);++ii))return!1;for(;++h-1&&a%1==0&&b>a}function $c(a,b,c){if(!He(c))return!1;var d=typeof b;if("number"==d?Yc(c)&&Zc(b,c.length):"string"==d&&b in c){var e=c[b];return a===a?a===e:e!==e}return!1}function _c(a,b){var c=typeof a;if("string"==c&&za.test(a)||"number"==c)return!0;if(Ch(a))return!1;var d=!ya.test(a);return d||null!=b&&a in kd(b)}function ad(a){var c=Pc(a);if(!(c in Z.prototype))return!1;var d=b[c];if(a===d)return!0;var e=Og(d);return!!e&&a===e[0]}function bd(a){return"number"==typeof a&&a>-1&&a%1==0&&Fg>=a}function cd(a){return a===a&&!He(a)}function dd(a,b){var c=a[1],d=b[1],e=c|d,f=I>e,g=d==I&&c==E||d==I&&c==J&&a[7].length<=b[8]||d==(I|J)&&c==E;if(!f&&!g)return a;d&B&&(a[2]=b[2],e|=c&B?0:D);var h=b[3];if(h){var i=a[3];a[3]=i?hc(i,h,b[4]):ab(h),a[4]=i?t(a[3],S):ab(b[4])}return h=b[5],h&&(i=a[5],a[5]=i?ic(i,h,b[6]):ab(h),a[6]=i?t(a[5],S):ab(b[6])),h=b[7],h&&(a[7]=ab(h)),d&I&&(a[8]=null==a[8]?b[8]:wg(a[8],b[8])),null==a[9]&&(a[9]=b[9]),a[0]=b[0],a[1]=e,a}function ed(a,b){return a===z?b:Dh(a,b,ed)}function fd(a,b){a=kd(a);for(var c=-1,d=b.length,e={};++cd;)g[++f]=Wb(a,d,d+=b);return g}function od(a){for(var b=-1,c=a?a.length:0,d=-1,e=[];++bb?0:b)):[]}function qd(a,b,c){var d=a?a.length:0;return d?((c?$c(a,b,c):null==b)&&(b=1),b=d-(+b||0),Wb(a,0,0>b?0:b)):[]}function rd(a,b,c){return a&&a.length?bc(a,Oc(b,c,3),!0,!0):[]}function sd(a,b,c){return a&&a.length?bc(a,Oc(b,c,3),!0):[]}function td(a,b,c,d){var e=a?a.length:0;return e?(c&&"number"!=typeof c&&$c(a,b,c)&&(c=0,d=e),Ab(a,b,c,d)):[]}function ud(a){return a?a[0]:z}function vd(a,b,c){var d=a?a.length:0;return c&&$c(a,b,c)&&(b=!1),d?Db(a,b):[]}function wd(a){var b=a?a.length:0;return b?Db(a,!0):[]}function xd(a,b,c){var d=a?a.length:0;if(!d)return-1;if("number"==typeof c)c=0>c?vg(d+c,0):c;else if(c){var e=dc(a,b);return d>e&&(b===b?b===a[e]:a[e]!==a[e])?e:-1}return f(a,b,c||0)}function yd(a){return qd(a,1)}function zd(a){var b=a?a.length:0;return b?a[b-1]:z}function Ad(a,b,c){var d=a?a.length:0;if(!d)return-1;var e=d;if("number"==typeof c)e=(0>c?vg(d+c,0):wg(c||0,d-1))+1;else if(c){e=dc(a,b,!0)-1;var f=a[e];return(b===b?b===f:f!==f)?e:-1}if(b!==b)return q(a,e,!0);for(;e--;)if(a[e]===b)return e;return-1}function Bd(){var a=arguments,b=a[0];if(!b||!b.length)return b;for(var c=0,d=Qc(),e=a.length;++c-1;)mg.call(b,f,1);return b}function Cd(a,b,c){var d=[];if(!a||!a.length)return d;var e=-1,f=[],g=a.length;for(b=Oc(b,c,3);++eb?0:b)):[]}function Gd(a,b,c){var d=a?a.length:0;return d?((c?$c(a,b,c):null==b)&&(b=1),b=d-(+b||0),Wb(a,0>b?0:b)):[]}function Hd(a,b,c){return a&&a.length?bc(a,Oc(b,c,3),!1,!0):[]}function Id(a,b,c){return a&&a.length?bc(a,Oc(b,c,3)):[]}function Jd(a,b,c,d){var e=a?a.length:0;if(!e)return[];null!=b&&"boolean"!=typeof b&&(d=c,c=$c(a,b,d)?z:b,b=!1);var g=Oc();return(null!=c||g!==ub)&&(c=g(c,d,3)),b&&Qc()==f?u(a,c):_b(a,c)}function Kd(a){if(!a||!a.length)return[];var b=-1,c=0;a=hb(a,function(a){return Yc(a)?(c=vg(a.length,c),!0):void 0});for(var d=Of(c);++bc?vg(e+c,0):c||0,"string"==typeof a||!Ch(a)&&Pe(a)?e>=c&&a.indexOf(b,c)>-1:!!e&&Qc(a,b,c)>-1}function _d(a,b,c){var d=Ch(a)?ib:Mb;return b=Oc(b,c,3),d(a,b)}function ae(a,b){return _d(a,Hf(b))}function be(a,b,c){var d=Ch(a)?hb:Bb;return b=Oc(b,c,3),d(a,function(a,c,d){return!b(a,c,d)})}function ce(a,b,c){if(c?$c(a,b,c):null==b){a=jd(a);var d=a.length;return d>0?a[Ub(0,d-1)]:z}var e=-1,f=Ue(a),d=f.length,g=d-1;for(b=wg(0>b?0:+b||0,d);++e0&&(c=b.apply(this,arguments)),1>=a&&(b=z),c}}function me(a,b,c){function d(){n&&gg(n),j&&gg(j),p=0,j=n=o=z}function e(b,c){c&&gg(c),j=n=o=z,b&&(p=oh(),k=a.apply(m,i),n||j||(i=m=z))}function f(){var a=b-(oh()-l);0>=a||a>b?e(o,j):n=lg(f,a)}function g(){e(r,n)}function h(){if(i=arguments,l=oh(),m=this,o=r&&(n||!s),q===!1)var c=s&&!n;else{j||s||(p=l);var d=q-(l-p),e=0>=d||d>q;e?(j&&(j=gg(j)),p=l,k=a.apply(m,i)):j||(j=lg(g,d))}return e&&n?n=gg(n):n||b===q||(n=lg(f,b)),c&&(e=!0,k=a.apply(m,i)),!e||n||j||(i=m=z),k}var i,j,k,l,m,n,o,p=0,q=!1,r=!0;if("function"!=typeof a)throw new Xf(R);if(b=0>b?0:+b||0,c===!0){var s=!0;r=!1}else He(c)&&(s=!!c.leading,q="maxWait"in c&&vg(+c.maxWait||0,b),r="trailing"in c?!!c.trailing:r);return h.cancel=d,h}function ne(a,b){if("function"!=typeof a||b&&"function"!=typeof b)throw new Xf(R);var c=function(){var d=arguments,e=b?b.apply(this,d):d[0],f=c.cache;if(f.has(e))return f.get(e);var g=a.apply(this,d);return c.cache=f.set(e,g),g};return c.cache=new ne.Cache,c}function oe(a){if("function"!=typeof a)throw new Xf(R);return function(){return!a.apply(this,arguments)}}function pe(a){return le(2,a)}function qe(a,b){if("function"!=typeof a)throw new Xf(R);return b=vg(b===z?a.length-1:+b||0,0),function(){for(var c=arguments,d=-1,e=vg(c.length-b,0),f=Of(e);++db}function xe(a,b){return a>=b}function ye(a){return r(a)&&Yc(a)&&ag.call(a,"callee")&&!jg.call(a,"callee")}function ze(a){return a===!0||a===!1||r(a)&&cg.call(a)==V}function Ae(a){return r(a)&&cg.call(a)==W}function Be(a){return!!a&&1===a.nodeType&&r(a)&&!Ne(a)}function Ce(a){return null==a?!0:Yc(a)&&(Ch(a)||Pe(a)||ye(a)||r(a)&&Ge(a.splice))?!a.length:!Nh(a).length}function De(a,b,c,d){c="function"==typeof c?fc(c,d,3):z;var e=c?c(a,b):z;return e===z?Jb(a,b,c):!!e}function Ee(a){return r(a)&&"string"==typeof a.message&&cg.call(a)==X}function Fe(a){return"number"==typeof a&&tg(a)}function Ge(a){return He(a)&&cg.call(a)==Y}function He(a){var b=typeof a;return!!a&&("object"==b||"function"==b)}function Ie(a,b,c,d){return c="function"==typeof c?fc(c,d,3):z,Lb(a,Rc(b),c)}function Je(a){return Me(a)&&a!=+a}function Ke(a){return null==a?!1:Ge(a)?eg.test(_f.call(a)):r(a)&&Ia.test(a)}function Le(a){return null===a}function Me(a){return"number"==typeof a||r(a)&&cg.call(a)==$}function Ne(a){var b;if(!r(a)||cg.call(a)!=_||ye(a)||!ag.call(a,"constructor")&&(b=a.constructor,"function"==typeof b&&!(b instanceof b)))return!1;var c;return Eb(a,function(a,b){c=b}),c===z||ag.call(a,c)}function Oe(a){return He(a)&&cg.call(a)==aa}function Pe(a){return"string"==typeof a||r(a)&&cg.call(a)==ca}function Qe(a){return r(a)&&bd(a.length)&&!!Qa[cg.call(a)]}function Re(a){return a===z}function Se(a,b){return b>a}function Te(a,b){return b>=a}function Ue(a){var b=a?Pg(a):0;return bd(b)?b?ab(a):[]:ef(a)}function Ve(a){return tb(a,_e(a))}function We(a,b,c){var d=Ig(a);return c&&$c(a,b,c)&&(b=z),b?rb(d,b):d; -}function Xe(a){return Hb(a,_e(a))}function Ye(a,b,c){var d=null==a?z:Ib(a,ld(b),b+"");return d===z?c:d}function Ze(a,b){if(null==a)return!1;var c=ag.call(a,b);if(!c&&!_c(b)){if(b=ld(b),a=1==b.length?a:Ib(a,Wb(b,0,-1)),null==a)return!1;b=zd(b),c=ag.call(a,b)}return c||bd(a.length)&&Zc(b,a.length)&&(Ch(a)||ye(a))}function $e(a,b,c){c&&$c(a,b,c)&&(b=z);for(var d=-1,e=Nh(a),f=e.length,g={};++d0;++d=wg(b,c)&&ac?0:+c||0,d),c-=b.length,c>=0&&a.indexOf(b,c)==c}function mf(a){return a=h(a),a&&ua.test(a)?a.replace(sa,n):a}function nf(a){return a=h(a),a&&Ca.test(a)?a.replace(Ba,o):a||"(?:)"}function of(a,b,c){a=h(a),b=+b;var d=a.length;if(d>=b||!tg(b))return a;var e=(b-d)/2,f=rg(e),g=pg(e);return c=Gc("",g,c),c.slice(0,f)+a+c}function pf(a,b,c){return(c?$c(a,b,c):null==b)?b=0:b&&(b=+b),a=tf(a),yg(a,b||(Ha.test(a)?16:10))}function qf(a,b){var c="";if(a=h(a),b=+b,1>b||!a||!tg(b))return c;do b%2&&(c+=a),b=rg(b/2),a+=a;while(b);return c}function rf(a,b,c){return a=h(a),c=null==c?0:wg(0>c?0:+c||0,a.length),a.lastIndexOf(b,c)==c}function sf(a,c,d){var e=b.templateSettings;d&&$c(a,c,d)&&(c=d=z),a=h(a),c=qb(rb({},d||c),e,pb);var f,g,i=qb(rb({},c.imports),e.imports,pb),j=Nh(i),k=ac(i,j),l=0,m=c.interpolate||La,n="__p += '",o=Vf((c.escape||La).source+"|"+m.source+"|"+(m===xa?Fa:La).source+"|"+(c.evaluate||La).source+"|$","g"),q="//# sourceURL="+("sourceURL"in c?c.sourceURL:"lodash.templateSources["+ ++Pa+"]")+"\n";a.replace(o,function(b,c,d,e,h,i){return d||(d=e),n+=a.slice(l,i).replace(Ma,p),c&&(f=!0,n+="' +\n__e("+c+") +\n'"),h&&(g=!0,n+="';\n"+h+";\n__p += '"),d&&(n+="' +\n((__t = ("+d+")) == null ? '' : __t) +\n'"),l=i+b.length,b}),n+="';\n";var r=c.variable;r||(n="with (obj) {\n"+n+"\n}\n"),n=(g?n.replace(oa,""):n).replace(pa,"$1").replace(qa,"$1;"),n="function("+(r||"obj")+") {\n"+(r?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(f?", __e = _.escape":"")+(g?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+n+"return __p\n}";var s=Yh(function(){return Rf(j,q+"return "+n).apply(z,k)});if(s.source=n,Ee(s))throw s;return s}function tf(a,b,c){var d=a;return(a=h(a))?(c?$c(d,b,c):null==b)?a.slice(v(a),w(a)+1):(b+="",a.slice(i(a,b),j(a,b)+1)):a}function uf(a,b,c){var d=a;return a=h(a),a?(c?$c(d,b,c):null==b)?a.slice(v(a)):a.slice(i(a,b+"")):a}function vf(a,b,c){var d=a;return a=h(a),a?(c?$c(d,b,c):null==b)?a.slice(0,w(a)+1):a.slice(0,j(a,b+"")+1):a}function wf(a,b,c){c&&$c(a,b,c)&&(b=z);var d=K,e=L;if(null!=b)if(He(b)){var f="separator"in b?b.separator:f;d="length"in b?+b.length||0:d,e="omission"in b?h(b.omission):e}else d=+b||0;if(a=h(a),d>=a.length)return a;var g=d-e.length;if(1>g)return e;var i=a.slice(0,g);if(null==f)return i+e;if(Oe(f)){if(a.slice(g).search(f)){var j,k,l=a.slice(0,g);for(f.global||(f=Vf(f.source,(Ga.exec(f)||"")+"g")),f.lastIndex=0;j=f.exec(l);)k=j.index;i=i.slice(0,null==k?g:k)}}else if(a.indexOf(f,g)!=g){var m=i.lastIndexOf(f);m>-1&&(i=i.slice(0,m))}return i+e}function xf(a){return a=h(a),a&&ta.test(a)?a.replace(ra,x):a}function yf(a,b,c){return c&&$c(a,b,c)&&(b=z),a=h(a),a.match(b||Na)||[]}function zf(a,b,c){return c&&$c(a,b,c)&&(b=z),r(a)?Cf(a):ub(a,b)}function Af(a){return function(){return a}}function Bf(a){return a}function Cf(a){return Nb(vb(a,!0))}function Df(a,b){return Ob(a,vb(b,!0))}function Ef(a,b,c){if(null==c){var d=He(b),e=d?Nh(b):z,f=e&&e.length?Hb(b,e):z;(f?f.length:d)||(f=!1,c=b,b=a,a=this)}f||(f=Hb(b,Nh(b)));var g=!0,h=-1,i=Ge(a),j=f.length;c===!1?g=!1:He(c)&&"chain"in c&&(g=c.chain);for(;++ha||!tg(a))return[];var d=-1,e=Of(wg(a,Cg));for(b=fc(b,c,1);++dd?e[d]=b(d):b(d);return e}function Lf(a){var b=++bg;return h(a)+b}function Mf(a,b){return(+a||0)+(+b||0)}function Nf(a,b,c){return c&&$c(a,b,c)&&(b=z),b=Oc(b,c,3),1==b.length?nb(Ch(a)?a:jd(a),b):$b(a,b)}a=a?db.defaults(cb.Object(),a,db.pick(cb,Oa)):cb;var Of=a.Array,Pf=a.Date,Qf=a.Error,Rf=a.Function,Sf=a.Math,Tf=a.Number,Uf=a.Object,Vf=a.RegExp,Wf=a.String,Xf=a.TypeError,Yf=Of.prototype,Zf=Uf.prototype,$f=Wf.prototype,_f=Rf.prototype.toString,ag=Zf.hasOwnProperty,bg=0,cg=Zf.toString,dg=cb._,eg=Vf("^"+_f.call(ag).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),fg=a.ArrayBuffer,gg=a.clearTimeout,hg=a.parseFloat,ig=Sf.pow,jg=Zf.propertyIsEnumerable,kg=Sc(a,"Set"),lg=a.setTimeout,mg=Yf.splice,ng=a.Uint8Array,og=Sc(a,"WeakMap"),pg=Sf.ceil,qg=Sc(Uf,"create"),rg=Sf.floor,sg=Sc(Of,"isArray"),tg=a.isFinite,ug=Sc(Uf,"keys"),vg=Sf.max,wg=Sf.min,xg=Sc(Pf,"now"),yg=a.parseInt,zg=Sf.random,Ag=Tf.NEGATIVE_INFINITY,Bg=Tf.POSITIVE_INFINITY,Cg=4294967295,Dg=Cg-1,Eg=Cg>>>1,Fg=9007199254740991,Gg=og&&new og,Hg={};b.support={};b.templateSettings={escape:va,evaluate:wa,interpolate:xa,variable:"",imports:{_:b}};var Ig=function(){function a(){}return function(b){if(He(b)){a.prototype=b;var c=new a;a.prototype=z}return c||{}}}(),Jg=lc(Fb),Kg=lc(Gb,!0),Lg=mc(),Mg=mc(!0),Ng=Gg?function(a,b){return Gg.set(a,b),a}:Bf,Og=Gg?function(a){return Gg.get(a)}:Gf,Pg=Rb("length"),Qg=function(){var a=0,b=0;return function(c,d){var e=oh(),f=N-(e-b);if(b=e,f>0){if(++a>=M)return c}else a=0;return Ng(c,d)}}(),Rg=qe(function(a,b){return r(a)&&Yc(a)?xb(a,Db(b,!1,!0)):[]}),Sg=vc(),Tg=vc(!0),Ug=qe(function(a){for(var b=a.length,c=b,d=Of(l),e=Qc(),g=e==f,h=[];c--;){var i=a[c]=Yc(i=a[c])?i:[];d[c]=g&&i.length>=120?oc(c&&i):null}var j=a[0],k=-1,l=j?j.length:0,m=d[0];a:for(;++k2?a[b-2]:z,d=b>1?a[b-1]:z;return b>2&&"function"==typeof c?b-=2:(c=b>1&&"function"==typeof d?(--b,d):z,d=z),a.length=b,Ld(a,c,d)}),ah=qe(function(a){return a=Db(a),this.thru(function(b){return _a(Ch(b)?b:[kd(b)],a)})}),bh=qe(function(a,b){return sb(a,Db(b))}),ch=jc(function(a,b,c){ag.call(a,c)?++a[c]:a[c]=1}),dh=uc(Jg),eh=uc(Kg,!0),fh=yc(bb,Jg),gh=yc(eb,Kg),hh=jc(function(a,b,c){ag.call(a,c)?a[c].push(b):a[c]=[b]}),ih=jc(function(a,b,c){a[c]=b}),jh=qe(function(a,b,c){var d=-1,e="function"==typeof b,f=_c(b),g=Yc(a)?Of(a.length):[];return Jg(a,function(a){var h=e?b:f&&null!=a?a[b]:z;g[++d]=h?h.apply(a,c):Xc(a,b,c)}),g}),kh=jc(function(a,b,c){a[c?0:1].push(b)},function(){return[[],[]]}),lh=Ec(kb,Jg),mh=Ec(lb,Kg),nh=qe(function(a,b){if(null==a)return[];var c=b[2];return c&&$c(b[0],b[1],c)&&(b.length=1),Zb(a,Db(b),[])}),oh=xg||function(){return(new Pf).getTime()},ph=qe(function(a,b,c){var d=B;if(c.length){var e=t(c,ph.placeholder);d|=G}return Kc(a,d,b,c,e)}),qh=qe(function(a,b){b=b.length?Db(b):Xe(a);for(var c=-1,d=b.length;++c0||0>b)?new Z(c):(0>a?c=c.takeRight(-a):a&&(c=c.drop(a)),b!==z&&(b=+b||0,c=0>b?c.dropRight(-b):c.take(b-a)),c)},Z.prototype.takeRightWhile=function(a,b){return this.reverse().takeWhile(a,b).reverse()},Z.prototype.toArray=function(){return this.take(Bg)},Fb(Z.prototype,function(a,c){var d=/^(?:filter|map|reject)|While$/.test(c),e=/^(?:first|last)$/.test(c),f=b[e?"take"+("last"==c?"Right":""):c];f&&(b.prototype[c]=function(){var b=e?[1]:arguments,c=this.__chain__,g=this.__wrapped__,h=!!this.__actions__.length,i=g instanceof Z,j=b[0],k=i||Ch(g);k&&d&&"function"==typeof j&&1!=j.length&&(i=k=!1);var l=function(a){return e&&c?f(a,1)[0]:f.apply(z,jb([a],b))},m={func:Qd,args:[l],thisArg:z},n=i&&!h;if(e&&!c)return n?(g=g.clone(),g.__actions__.push(m),a.call(g)):f.call(z,this.value())[0];if(!e&&k){g=n?g:new Z(this);var o=a.apply(g,b);return o.__actions__.push(m),new s(o,c)}return this.thru(l)})}),bb(["join","pop","push","replace","shift","sort","splice","split","unshift"],function(a){var c=(/^(?:replace|split)$/.test(a)?$f:Yf)[a],d=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",e=/^(?:join|pop|replace|shift)$/.test(a);b.prototype[a]=function(){var a=arguments;return e&&!this.__chain__?c.apply(this.value(),a):this[d](function(b){return c.apply(b,a)})}}),Fb(Z.prototype,function(a,c){var d=b[c];if(d){var e=d.name,f=Hg[e]||(Hg[e]=[]);f.push({name:c,func:d})}}),Hg[Fc(z,C).name]=[{name:"wrapper",func:z}],Z.prototype.clone=ba,Z.prototype.reverse=da,Z.prototype.value=Sa,b.prototype.chain=Rd,b.prototype.commit=Sd,b.prototype.concat=ah,b.prototype.plant=Td,b.prototype.reverse=Ud,b.prototype.toString=Vd,b.prototype.run=b.prototype.toJSON=b.prototype.valueOf=b.prototype.value=Wd,b.prototype.collect=b.prototype.map,b.prototype.head=b.prototype.first,b.prototype.select=b.prototype.filter,b.prototype.tail=b.prototype.rest,b}var z,A="3.10.1",B=1,C=2,D=4,E=8,F=16,G=32,H=64,I=128,J=256,K=30,L="...",M=150,N=16,O=200,P=1,Q=2,R="Expected a function",S="__lodash_placeholder__",T="[object Arguments]",U="[object Array]",V="[object Boolean]",W="[object Date]",X="[object Error]",Y="[object Function]",Z="[object Map]",$="[object Number]",_="[object Object]",aa="[object RegExp]",ba="[object Set]",ca="[object String]",da="[object WeakMap]",ea="[object ArrayBuffer]",fa="[object Float32Array]",ga="[object Float64Array]",ha="[object Int8Array]",ia="[object Int16Array]",ja="[object Int32Array]",ka="[object Uint8Array]",la="[object Uint8ClampedArray]",ma="[object Uint16Array]",na="[object Uint32Array]",oa=/\b__p \+= '';/g,pa=/\b(__p \+=) '' \+/g,qa=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ra=/&(?:amp|lt|gt|quot|#39|#96);/g,sa=/[&<>"'`]/g,ta=RegExp(ra.source),ua=RegExp(sa.source),va=/<%-([\s\S]+?)%>/g,wa=/<%([\s\S]+?)%>/g,xa=/<%=([\s\S]+?)%>/g,ya=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,za=/^\w*$/,Aa=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,Ba=/^[:!,]|[\\^$.*+?()[\]{}|\/]|(^[0-9a-fA-Fnrtuvx])|([\n\r\u2028\u2029])/g,Ca=RegExp(Ba.source),Da=/[\u0300-\u036f\ufe20-\ufe23]/g,Ea=/\\(\\)?/g,Fa=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ga=/\w*$/,Ha=/^0[xX]/,Ia=/^\[object .+?Constructor\]$/,Ja=/^\d+$/,Ka=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,La=/($^)/,Ma=/['\n\r\u2028\u2029\\]/g,Na=function(){var a="[A-Z\\xc0-\\xd6\\xd8-\\xde]",b="[a-z\\xdf-\\xf6\\xf8-\\xff]+";return RegExp(a+"+(?="+a+b+")|"+a+"?"+b+"|"+a+"+|[0-9]+","g")}(),Oa=["Array","ArrayBuffer","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Math","Number","Object","RegExp","Set","String","_","clearTimeout","isFinite","parseFloat","parseInt","setTimeout","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap"],Pa=-1,Qa={};Qa[fa]=Qa[ga]=Qa[ha]=Qa[ia]=Qa[ja]=Qa[ka]=Qa[la]=Qa[ma]=Qa[na]=!0,Qa[T]=Qa[U]=Qa[ea]=Qa[V]=Qa[W]=Qa[X]=Qa[Y]=Qa[Z]=Qa[$]=Qa[_]=Qa[aa]=Qa[ba]=Qa[ca]=Qa[da]=!1;var Ra={};Ra[T]=Ra[U]=Ra[ea]=Ra[V]=Ra[W]=Ra[fa]=Ra[ga]=Ra[ha]=Ra[ia]=Ra[ja]=Ra[$]=Ra[_]=Ra[aa]=Ra[ca]=Ra[ka]=Ra[la]=Ra[ma]=Ra[na]=!0,Ra[X]=Ra[Y]=Ra[Z]=Ra[ba]=Ra[da]=!1;var Sa={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss"},Ta={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},Ua={"&":"&","<":"<",">":">",""":'"',"'":"'","`":"`"},Va={"function":!0,object:!0},Wa={0:"x30",1:"x31",2:"x32",3:"x33",4:"x34",5:"x35",6:"x36",7:"x37",8:"x38",9:"x39",A:"x41",B:"x42",C:"x43",D:"x44",E:"x45",F:"x46",a:"x61",b:"x62",c:"x63",d:"x64",e:"x65",f:"x66",n:"x6e",r:"x72",t:"x74",u:"x75",v:"x76",x:"x78"},Xa={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ya=Va[typeof c]&&c&&!c.nodeType&&c,Za=Va[typeof b]&&b&&!b.nodeType&&b,$a=Ya&&Za&&"object"==typeof a&&a&&a.Object&&a,_a=Va[typeof self]&&self&&self.Object&&self,ab=Va[typeof window]&&window&&window.Object&&window,bb=Za&&Za.exports===Ya&&Ya,cb=$a||ab!==(this&&this.window)&&ab||_a||this,db=y();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(cb._=db,define(function(){return db})):Ya&&Za?bb?(Za.exports=db)._=db:Ya._=db:cb._=db}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],325:[function(a,b,c){b.exports=a("./src/preconditions")},{"./src/preconditions":328}],326:[function(a,b,c){(function(a){(function(){function d(a,b,c){for(var d=(c||0)-1,e=a?a.length:0;++d-1?0:-1:a?0:-1}function f(a){var b=this.cache,c=typeof a;if("boolean"==c||null==a)b[a]=!0;else{"number"!=c&&"string"!=c&&(c="object");var d="number"==c?a:u+a,e=b[c]||(b[c]={});"object"==c?(e[d]||(e[d]=[])).push(a):e[d]=!0}}function g(a){return a.charCodeAt(0)}function h(a,b){for(var c=a.criteria,d=b.criteria,e=-1,f=c.length;++eh||"undefined"==typeof g)return 1;if(h>g||"undefined"==typeof h)return-1}}return a.index-b.index}function i(a){var b=-1,c=a.length,d=a[0],e=a[c/2|0],g=a[c-1];if(d&&"object"==typeof d&&e&&"object"==typeof e&&g&&"object"==typeof g)return!1;var h=l();h["false"]=h["null"]=h["true"]=h.undefined=!1;var i=l();for(i.array=a,i.cache=h,i.push=f;++be?0:e);++d=v&&f===d,j=[];if(h){var k=i(b);k?(f=e,b=k):h=!1}for(;++c-1:void 0});return e.pop(),f.pop(),s&&(m(e),m(f)),g}function ba(a,b,c,d,e){(Zc(b)?Ya:hd)(b,function(b,f){var g,h,i=b,j=a[f];if(b&&((h=Zc(b))||id(b))){for(var k=d.length;k--;)if(g=d[k]==b){j=e[k];break}if(!g){var l;c&&(i=c(j,b),(l="undefined"!=typeof i)&&(j=i)),l||(j=h?Zc(j)?j:[]:id(j)?j:{}),d.push(b),e.push(j),l||ba(j,b,c,d,e)}}else c&&(i=c(j,b),"undefined"==typeof i&&(i=b)),"undefined"!=typeof i&&(j=i);a[f]=j})}function da(a,b){return a+Ec(Vc()*(b-a+1))}function ea(a,b,c){var f=-1,g=ia(),h=a?a.length:0,j=[],l=!b&&h>=v&&g===d,o=c||l?k():j;if(l){var p=i(o);g=e,o=p}for(;++f3&&"function"==typeof b[c-2])var d=w(b[--c-1],b[c--],2);else c>2&&"function"==typeof b[c-1]&&(d=b[--c]);for(var e=o(arguments,1,c),f=-1,g=k(),h=k();++fc?Sc(0,f+c):c)||0,Zc(a)?g=e(a,b,c)>-1:"number"==typeof f?g=(Ja(a)?a.indexOf(b,c):e(a,b,c))>-1:hd(a,function(a){return++d>=c?!(g=a===b):void 0}),g}function Ua(a,c,d){var e=!0;c=b.createCallback(c,d,3);var f=-1,g=a?a.length:0;if("number"==typeof g)for(;++ff&&(f=j)}else c=null==c&&Ja(a)?g:b.createCallback(c,d,3),Ya(a,function(a,b,d){var g=c(a,b,d);g>e&&(e=g,f=a)});return f}function bb(a,c,d){var e=1/0,f=e;if("function"!=typeof c&&d&&d[c]===a&&(c=null),null==c&&Zc(a))for(var h=-1,i=a.length;++hj&&(f=j)}else c=null==c&&Ja(a)?g:b.createCallback(c,d,3),Ya(a,function(a,b,d){var g=c(a,b,d);e>g&&(e=g,f=a)});return f}function cb(a,c,d,e){if(!a)return d;var f=arguments.length<3;c=b.createCallback(c,e,4);var g=-1,h=a.length;if("number"==typeof h)for(f&&(d=a[++g]);++gc?Sc(0,e+c):c||0}else if(c){var f=Ab(a,b);return a[f]===b?f:-1}return d(a,b,c)}function sb(a,c,d){var e=0,f=a?a.length:0;if("number"!=typeof c&&null!=c){var g=f;for(c=b.createCallback(c,d,3);g--&&c(a[g],g,a);)e++}else e=null==c||d?1:c||e;return o(a,0,Tc(Sc(0,f-e),f))}function tb(){for(var a=[],b=-1,c=arguments.length,f=k(),g=ia(),h=g===d,j=k();++b=v&&i(b?a[b]:j)))}var o=a[0],p=-1,q=o?o.length:0,r=[];a:for(;++pc?Sc(0,d+c):Tc(c,d-1))+1);d--;)if(a[d]===b)return d;return-1}function wb(a){for(var b=arguments,c=0,d=b.length,e=a?a.length:0;++cf;){var h=f+g>>>1;d(a[h])1?arguments:arguments[0],b=-1,c=a?ab(md(a,"length")):0,d=nc(0>c?0:c);++b2?ga(a,17,o(arguments,2),null,b):ga(a,1,null,null,b)}function Jb(a){for(var b=arguments.length>1?_(arguments,!0,!1,1):ua(a),c=-1,d=b.length;++c2?ga(b,19,o(arguments,2),null,a):ga(b,3,null,null,a)}function Lb(){for(var a=arguments,b=a.length;b--;)if(!Da(a[b]))throw new wc;return function(){for(var b=arguments,c=a.length;c--;)b=[a[c].apply(this,b)];return b[0]}}function Mb(a,b){return b="number"==typeof b?b:+b||a.length,ga(a,4,null,null,null,b)}function Nb(a,b,c){var d,e,f,g,h,i,j,k=0,l=!1,m=!0;if(!Da(a))throw new wc;if(b=Sc(0,b)||0,c===!0){var n=!0;m=!1}else Ea(c)&&(n=c.leading,l="maxWait"in c&&(Sc(b,c.maxWait)||0),m="trailing"in c?c.trailing:m);var o=function(){var c=b-(od()-g);if(0>=c){e&&Dc(e);var l=j;e=i=j=q,l&&(k=od(),f=a.apply(h,d),i||e||(d=h=null))}else i=Jc(o,c)},p=function(){i&&Dc(i),e=i=j=q,(m||l!==b)&&(k=od(),f=a.apply(h,d),i||e||(d=h=null))};return function(){if(d=arguments,g=od(),h=this,j=m&&(i||!n),l===!1)var c=n&&!i;else{e||n||(k=g);var q=l-(g-k),r=0>=q;r?(e&&(e=Dc(e)),k=g,f=a.apply(h,d)):e||(e=Jc(p,q))}return r&&i?i=Dc(i):i||b===l||(i=Jc(o,b)),c&&(r=!0,f=a.apply(h,d)),!r||i||e||(d=h=null),f}}function Ob(a){if(!Da(a))throw new wc;var b=o(arguments,1);return Jc(function(){a.apply(q,b)},1)}function Pb(a,b){if(!Da(a))throw new wc;var c=o(arguments,2);return Jc(function(){a.apply(q,c)},b)}function Qb(a,b){if(!Da(a))throw new wc;var c=function(){var d=c.cache,e=b?b.apply(this,arguments):u+arguments[0];return Hc.call(d,e)?d[e]:d[e]=a.apply(this,arguments)};return c.cache={},c}function Rb(a){var b,c;if(!Da(a))throw new wc;return function(){return b?c:(b=!0,c=a.apply(this,arguments),a=null,c)}}function Sb(a){return ga(a,16,o(arguments,1))}function Tb(a){return ga(a,32,null,o(arguments,1))}function Ub(a,b,c){var d=!0,e=!0;if(!Da(a))throw new wc;return c===!1?d=!1:Ea(c)&&(d="leading"in c?c.leading:d,e="trailing"in c?c.trailing:e),V.leading=d,V.maxWait=b,V.trailing=e,Nb(a,b,V)}function Vb(a,b){return ga(b,16,[a])}function Wb(a){return function(){return a}}function Xb(a,b,c){var d=typeof a;if(null==a||"function"==d)return w(a,b,c);if("object"!=d)return bc(a);var e=_c(a),f=e[0],g=a[f];return 1!=e.length||g!==g||Ea(g)?function(b){for(var c=e.length,d=!1;c--&&(d=aa(b[e[c]],a[e[c]],null,!0)););return d}:function(a){var b=a[f];return g===b&&(0!==g||1/g==1/b)}}function Yb(a){return null==a?"":vc(a).replace(dd,ha)}function Zb(a){return a}function $b(a,d,e){var f=!0,g=d&&ua(d);d&&(e||g.length)||(null==e&&(e=d),h=c,d=a,a=b,g=ua(d)),e===!1?f=!1:Ea(e)&&"chain"in e&&(f=e.chain);var h=a,i=Da(h);Ya(g,function(b){var c=a[b]=d[b];i&&(h.prototype[b]=function(){var b=this.__chain__,d=this.__wrapped__,e=[d];Ic.apply(e,arguments);var g=c.apply(a,e);if(f||b){if(d===g&&Ea(g))return this;g=new h(g),g.__chain__=b}return g})})}function _b(){return a._=zc,this}function ac(){}function bc(a){return function(b){return b[a]}}function cc(a,b,c){var d=null==a,e=null==b;if(null==c&&("boolean"==typeof a&&e?(c=a,a=1):e||"boolean"!=typeof b||(c=b,e=!0)),d&&e&&(b=1),a=+a||0,e?(b=a,a=0):b=+b||0,c||a%1||b%1){var f=Vc();return Tc(a+f*(b-a+parseFloat("1e-"+((f+"").length-1))),b)}return da(a,b)}function dc(a,b){if(a){var c=a[b];return Da(c)?a[b]():c}}function ec(a,c,d){var e=b.templateSettings;a=vc(a||""),d=fd({},d,e);var f,g=fd({},d.imports,e.imports),h=_c(g),i=Ra(g),k=0,l=d.interpolate||G,m="__p += '",n=uc((d.escape||G).source+"|"+l.source+"|"+(l===E?B:G).source+"|"+(d.evaluate||G).source+"|$","g");a.replace(n,function(b,c,d,e,g,h){return d||(d=e),m+=a.slice(k,h).replace(I,j),c&&(m+="' +\n__e("+c+") +\n'"),g&&(f=!0,m+="';\n"+g+";\n__p += '"),d&&(m+="' +\n((__t = ("+d+")) == null ? '' : __t) +\n'"),k=h+b.length,b}),m+="';\n";var o=d.variable,p=o;p||(o="obj",m="with ("+o+") {\n"+m+"\n}\n"),m=(f?m.replace(y,""):m).replace(z,"$1").replace(A,"$1;"),m="function("+o+") {\n"+(p?"":o+" || ("+o+" = {});\n")+"var __t, __p = '', __e = _.escape"+(f?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+m+"return __p\n}";var r="\n/*\n//# sourceURL="+(d.sourceURL||"/lodash/template/source["+K++ +"]")+"\n*/";try{var s=qc(h,"return "+m+r).apply(q,i)}catch(t){throw t.source=m,t}return c?s(c):(s.source=m,s)}function fc(a,b,c){a=(a=+a)>-1?a:0;var d=-1,e=nc(a);for(b=w(b,c,1);++d/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:E,variable:"",imports:{_:b}},Nc||(s=function(){function b(){}return function(c){if(Ea(c)){b.prototype=c;var d=new b;b.prototype=null}return d||a.Object()}}());var Yc=Mc?function(a,b){W.value=b,Mc(a,"__bindData__",W),W.value=null}:ac,Zc=Oc||function(a){return a&&"object"==typeof a&&"number"==typeof a.length&&Ac.call(a)==M||!1},$c=function(a){var b,c=a,d=[];if(!c)return d;if(!X[typeof a])return d;for(b in c)Hc.call(c,b)&&d.push(b);return d},_c=Rc?function(a){return Ea(a)?Rc(a):[]}:$c,ad={"&":"&","<":"<",">":">",'"':""","'":"'"},bd=wa(ad),cd=uc("("+_c(bd).join("|")+")","g"),dd=uc("["+_c(ad).join("")+"]","g"),ed=function(a,b,c){var d,e=a,f=e;if(!e)return f;var g=arguments,h=0,i="number"==typeof c?2:g.length;if(i>3&&"function"==typeof g[i-2])var j=w(g[--i-1],g[i--],2);else i>2&&"function"==typeof g[i-1]&&(j=g[--i]);for(;++h/g,F=RegExp("^["+x+"]*0+(?=.$)"),G=/($^)/,H=/\bthis\b/,I=/['\n\r\t\u2028\u2029\\]/g,J=["Array","Boolean","Date","Function","Math","Number","Object","RegExp","String","_","attachEvent","clearTimeout","isFinite","isNaN","parseInt","setTimeout"],K=0,L="[object Arguments]",M="[object Array]",N="[object Boolean]",O="[object Date]",P="[object Function]",Q="[object Number]",R="[object Object]",S="[object RegExp]",T="[object String]",U={};U[P]=!1,U[L]=U[M]=U[N]=U[O]=U[Q]=U[R]=U[S]=U[T]=!0;var V={leading:!1,maxWait:0,trailing:!1},W={configurable:!1,enumerable:!1,value:null,writable:!1},X={"boolean":!1,"function":!0,object:!0,number:!1,string:!1,undefined:!1},Y={"\\":"\\","'":"'","\n":"n","\r":"r"," ":"t","\u2028":"u2028","\u2029":"u2029"},Z=X[typeof window]&&window||this,$=X[typeof c]&&c&&!c.nodeType&&c,_=X[typeof b]&&b&&!b.nodeType&&b,aa=_&&_.exports===$&&$,ba=X[typeof a]&&a;!ba||ba.global!==ba&&ba.window!==ba||(Z=ba);var ca=p();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(Z._=ca,define(function(){return ca})):$&&_?aa?(_.exports=ca)._=ca:$._=ca:Z._=ca}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],327:[function(a,b,c){c.ShouldBeDefined="Variable should be defined.",c.ShouldBeUndefined="Variable should be undefined.",c.ShouldBeArray="Variable should be of type Array.",c.ShouldNotBeArray="Variable should NOT be of type Array.",c.ShouldBeObject="Variable should be of type Object.",c.ShouldNotBeObject="Variable should NOT be of type Object.",c.ShouldBeEmpty="Array or object should be empty.",c.ShouldNotBeEmpty="Array or object should NOT be empty.",c.ShouldBeFunction="Variable should be a Function.",c.ShouldNotBeFunction="Variable should NOT be a Function.",c.ShouldBeString="Variable should be a String.",c.ShouldNotBeString="Variable should NOT be a String.",c.ShouldBeNumber="Variable should be a Number.",c.ShouldNotBeNumber="Variable should NOT be a Number.",c.ShouldBeFinite="Variable should be Finite (i.e. not infinity).",c.ShouldBeInfinite="Variable should be Infinite.",c.ShouldBeBoolean="Variable should be a Boolean.",c.ShouldNotBeBoolean="Variable should NOT be a Boolean.",c.ShouldBeDate="Variable should be a Date.",c.ShouldNotBeDate="Variable should NOT be a Date.",c.ShouldBeRegExp="Variable should be a RegExp.",c.ShouldNotBeRegExp="Variable should NOT be a RegExp.",c.ShouldBeFalsey="Variable should be falsey.",c.ShouldNotBeFalsey="Variable should NOT be falsey.",c.IllegalArgument="Illegal Argument.",c.IllegalState="Illegal State.",c.ShouldHaveValidIndex="Index should be between between 0 (inclusive) and size (exclusive).",c.ShouldHaveValidPosition="Index should be between index between 0 (inclusive) and size (inclusive).",c.ShouldHaveValidPositions="Start and End should be between valid sub range between 0 (inclusive) and size (inclusive).",c.StartBeforeEnd="Start value should be less than the end value."},{}],328:[function(a,b,c){"use strict";function d(a){this.out=a}var e=a("./validatorFunctions"),f=a("lodash");d.prototype.validate=function(a,b,c){var d=a.split("."),g=this.out||{},h=0;f.forEach(d,function(a){h!==d.length-1&&e.shouldBeDefined(g[a],c),g=g[a],h++}),b(g)},d.prototype.shouldBeDefined=function(a,b){return this.validate(a,function(a){e.shouldBeDefined(a,b)},b),this},d.prototype.shouldBeUndefined=function(a,b){return this.validate(a,function(a){e.shouldBeUndefined(a,b)},b),this},d.prototype.shouldBeNonEmptyArray=function(a,b){return this.validate(a,function(a){e.shouldBeArray(a,b),e.shouldNotBeEmpty(a,b)},b),this},d.prototype.shouldBeArray=function(a,b){return this.validate(a,function(a){e.shouldBeArray(a,b)},b),this},d.prototype.shouldNotBeArray=function(a,b){return this.validate(a,function(a){e.shouldNotBeArray(a,b)},b),this},d.prototype.shouldBeObject=function(a,b){return this.validate(a,function(a){e.shouldBeObject(a,b)},b),this},d.prototype.shouldNotBeObject=function(a,b){return this.validate(a,function(a){e.shouldNotBeObject(a,b)},b),this},d.prototype.shouldBeEmpty=function(a,b){return this.validate(a,function(a){e.shouldBeEmpty(a,b)},b),this},d.prototype.shouldNotBeEmpty=function(a,b){return this.validate(a,function(a){e.shouldNotBeEmpty(a,b)},b),this},d.prototype.shouldBeFunction=function(a,b){return this.validate(a,function(a){e.shouldBeFunction(a,b)},b),this},d.prototype.shouldNotBeFunction=function(a,b){return this.validate(a,function(a){e.shouldNotBeFunction(a,b)},b),this},d.prototype.shouldBeString=function(a,b){return this.validate(a,function(a){e.shouldBeString(a,b)},b),this},d.prototype.shouldNotBeString=function(a,b){return this.validate(a,function(a){e.shouldNotBeString(a,b)},b),this},d.prototype.shouldBeNumber=function(a,b){return this.validate(a,function(a){e.shouldBeNumber(a,b)},b),this},d.prototype.shouldNotBeNumber=function(a,b){return this.validate(a,function(a){e.shouldNotBeNumber(a,b)},b),this},d.prototype.shouldBeFinite=function(a,b){return this.validate(a,function(a){e.shouldBeFinite(a,b)},b),this},d.prototype.shouldBeInfinite=function(a,b){return this.validate(a,function(a){e.shouldBeInfinite(a,b)},b),this},d.prototype.shouldBeBoolean=function(a,b){return this.validate(a,function(a){e.shouldBeBoolean(a,b)},b),this},d.prototype.shouldNotBeBoolean=function(a,b){return this.validate(a,function(a){e.shouldNotBeBoolean(a,b)},b),this},d.prototype.shouldBeDate=function(a,b){return this.validate(a,function(a){e.shouldBeDate(a,b)},b),this},d.prototype.shouldNotBeDate=function(a,b){return this.validate(a,function(a){e.shouldNotBeDate(a,b)},b),this},d.prototype.shouldBeRegExp=function(a,b){return this.validate(a,function(a){e.shouldBeRegExp(a,b)},b),this},d.prototype.shouldNotBeRegExp=function(a,b){return this.validate(a,function(a){e.shouldNotBeRegExp(a,b)},b),this},d.prototype.shouldBeFalsey=function(a,b){return this.validate(a,function(a){e.shouldBeFalsey(a,b)},b),this},d.prototype.shouldNotBeFalsey=function(a,b){return this.validate(a,function(a){e.shouldNotBeFalsey(a,b)},b),this},d.prototype.checkArgument=function(a,b){return e.checkArgument(a,b),this},d.prototype.checkState=function(a,b){return e.checkState(a,b),this},d.prototype.checkElementIndex=function(a,b,c){return e.checkElementIndex(a,b,c),this},d.prototype.checkPositionIndex=function(a,b,c){return e.checkPositionIndex(a,b,c),this},d.prototype.checkPositionIndexes=function(a,b,c,d){return e.checkPositionIndexes(a,b,c,d),this},b.exports={instance:function(a){return new d(a)},constructor:function(){return d},singleton:function(){return e}}},{"./validatorFunctions":329,lodash:326}],329:[function(a,b,c){"use strict";var d=a("./constants"),e=a("lodash"),f={shouldBeDefined:function(a,b){if(e.isUndefined(a)){var c=b||d.ShouldBeDefined;throw new Error(c)}return this},shouldBeUndefined:function(a,b){if(!e.isUndefined(a)){var c=b||d.ShouldBeUndefined;throw new Error(c)}return this},shouldBeArray:function(a,b){if(!e.isArray(a)){var c=b||d.ShouldBeArray;throw new Error(c)}return this},shouldNotBeArray:function(a,b){if(e.isArray(a)){var c=b||d.ShouldNotBeArray;throw new Error(c)}return this},shouldBeObject:function(a,b){if(!e.isObject(a)){var c=b||d.ShouldBeObject;throw new Error(c)}return this},shouldNotBeObject:function(a,b){if(e.isObject(a)){var c=b||d.ShouldNotBeObject;throw new Error(c)}return this},shouldBeEmpty:function(a,b){if(!e.isEmpty(a)){var c=b||d.ShouldBeEmpty;throw new Error(c)}return this},shouldNotBeEmpty:function(a,b){if(e.isEmpty(a)){var c=b||d.ShouldNotBeEmpty;throw new Error(c)}return this},shouldBeFunction:function(a,b){if(!e.isFunction(a)){var c=b||d.ShouldBeFunction;throw new Error(c)}return this},shouldNotBeFunction:function(a,b){if(e.isFunction(a)){var c=b||d.ShouldNotBeFunction;throw new Error(c)}return this},shouldBeString:function(a,b){if(!e.isString(a)){var c=b||d.ShouldBeString;throw new Error(c)}return this},shouldNotBeString:function(a,b){if(e.isString(a)){var c=b||d.ShouldNotBeString;throw new Error(c)}return this},shouldBeNumber:function(a,b){if(!e.isNumber(a)){var c=b||d.ShouldBeNumber;throw new Error(c)}return this},shouldNotBeNumber:function(a,b){if(console.log("val: "+a),e.isNumber(a)){var c=b||d.ShouldNotBeNumber;throw new Error(c)}return this},shouldBeFinite:function(a,b){if(!e.isFinite(a)){var c=b||d.ShouldBeFinite;throw new Error(c)}return this},shouldBeInfinite:function(a,b){if(e.isFinite(a)){var c=b||d.ShouldBeInfinite;throw new Error(c)}return this},shouldBeBoolean:function(a,b){if(!e.isBoolean(a)){var c=b||d.ShouldBeBoolean;throw new Error(c)}return this},shouldNotBeBoolean:function(a,b){if(e.isBoolean(a)){var c=b||d.ShouldNotBeBoolean;throw new Error(c)}return this},shouldBeDate:function(a,b){if(!e.isDate(a)){var c=b||d.ShouldBeDate;throw new Error(c)}return this},shouldNotBeDate:function(a,b){if(e.isDate(a)){var c=b||d.ShouldNotBeDate;throw new Error(c)}return this},shouldBeRegExp:function(a,b){if(!e.isRegExp(a)){var c=b||d.ShouldBeRegExp;throw new Error(c)}return this},shouldNotBeRegExp:function(a,b){if(e.isRegExp(a)){var c=b||d.ShouldNotBeRegExp;throw new Error(c)}return this},shouldBeFalsey:function(a,b){if(!e.isNaN(a)&&!e.isNull(a)&&!e.isUndefined(a)){var c=b||d.ShouldBeFalsey;throw new Error(c)}return this},shouldNotBeFalsey:function(a,b){if(e.isNaN(a)||e.isNull(a)||e.isUndefined(a)){var c=b||d.ShouldNotBeFalsey;throw new Error(c)}return this},checkArgument:function(a,b){if(!a){var c=b||d.IllegalArgument;throw new Error(c)}return this},checkState:function(a,b){if(!a){var c=b||d.IllegalState;throw new Error(c)}return this},checkElementIndex:function(a,b,c){if(0>a||a>=b){var e=c||d.ShouldHaveValidIndex;throw new Error(e)}return this},checkPositionIndex:function(a,b,c){if(0>a||a>b){var e=c||d.ShouldHaveValidPosition;throw new Error(e)}return this},checkPositionIndexes:function(a,b,c,e){var f;if(a>b)throw f=e||d.StartBeforeEnd,new Error(f);if(0>a||b>c)throw f=e||d.ShouldHaveValidPositions,new Error(f);return this}};b.exports=f},{"./constants":327,lodash:326}],330:[function(a,b,c){"use strict";function d(a,b,c){"function"==typeof b&&(c=b);var d={};return"object"==typeof b?h(d,b,{uri:a}):"string"==typeof a?h(d,{uri:a}):h(d,a),d.callback=c,d}function e(a,b,c){if("undefined"==typeof a)throw new Error("undefined is not a valid uri or options object.");var f=d(a,b,c);if("HEAD"===f.method&&l(f))throw new Error("HTTP HEAD requests MUST NOT include a request body.");return new e.Request(f)}function f(a){var b="del"===a?"DELETE":a.toUpperCase();return function(a,c,f){var g=d(a,c,f);return g.method=b,e(g,g.callback)}}function g(a,b,c,e){return function(f,g,i){var j=d(f,g,i),l={};return h(!0,l,b,j),l.pool=j.pool||b.pool,e&&(l.method="del"===e?"DELETE":e.toUpperCase()),k(c)&&(a=c),a(l,l.callback)}}var h=a("extend"),i=a("./lib/cookies"),j=a("./lib/helpers"),k=j.isFunction,l=j.paramsHaveRequestBody;e.get=f("get"),e.head=f("head"),e.post=f("post"),e.put=f("put"),e.patch=f("patch"),e.del=f("del"),e.jar=function(a){return i.jar(a)},e.cookie=function(a){return i.parse(a)},e.defaults=function(a,b){var c=this;"function"==typeof a&&(b=a,a={});var d=g(c,a,b),e=["get","head","post","put","patch","del"];return e.forEach(function(e){d[e]=g(c[e],a,b,e)}),d.cookie=g(c.cookie,a,b),d.jar=c.jar,d.defaults=c.defaults,d},e.forever=function(a,b){var c={};return b&&h(c,b),a&&(c.agentOptions=a),c.forever=!0,e.defaults(c)},b.exports=e,e.Request=a("./request"),e.initParams=d,Object.defineProperty(e,"debug",{enumerable:!0,get:function(){return e.Request.debug},set:function(a){e.Request.debug=a}})},{"./lib/cookies":332,"./lib/helpers":335,"./request":420,extend:356}],331:[function(a,b,c){"use strict";function d(a){this.request=a,this.hasAuth=!1,this.sentAuth=!1,this.bearerToken=null,this.user=null,this.pass=null}var e=a("caseless"),f=a("node-uuid"),g=a("./helpers"),h=g.md5,i=g.toBase64;d.prototype.basic=function(a,b,c){var d=this;("string"!=typeof a||void 0!==b&&"string"!=typeof b)&&d.request.emit("error",new Error("auth() received invalid user or password")),d.user=a,d.pass=b,d.hasAuth=!0;var e=a+":"+(b||"");if(c||"undefined"==typeof c){var f="Basic "+i(e);return d.sentAuth=!0,f}},d.prototype.bearer=function(a,b){var c=this;if(c.bearerToken=a,c.hasAuth=!0,b||"undefined"==typeof b){"function"==typeof a&&(a=a());var d="Bearer "+(a||"");return c.sentAuth=!0,d}},d.prototype.digest=function(a,b,c){for(var d=this,e={},g=/([a-z0-9_-]+)=(?:"([^"]+)"|([a-z0-9_-]+))/gi;;){var i=g.exec(c);if(!i)break;e[i[1]]=i[2]||i[3]}var j=h(d.user+":"+e.realm+":"+d.pass),k=h(a+":"+b),l=/(^|,)\s*auth\s*($|,)/.test(e.qop)&&"auth",m=l&&"00000001",n=l&&f().replace(/-/g,""),o=h(l?j+":"+e.nonce+":"+m+":"+n+":"+l+":"+k:j+":"+e.nonce+":"+k),p={username:d.user,realm:e.realm,nonce:e.nonce,uri:b,qop:l,response:o,nc:m,cnonce:n,algorithm:e.algorithm,opaque:e.opaque};c=[];for(var q in p)p[q]&&("qop"===q||"nc"===q||"algorithm"===q?c.push(q+"="+p[q]):c.push(q+'="'+p[q]+'"'));return c="Digest "+c.join(", "),d.sentAuth=!0,c},d.prototype.onRequest=function(a,b,c,d){var e,f=this,g=f.request;void 0===d&&void 0===a?f.request.emit("error",new Error("no auth mechanism defined")):e=void 0!==d?f.bearer(d,c):f.basic(a,b,c),e&&g.setHeader("authorization",e)},d.prototype.onResponse=function(a){var b=this,c=b.request;if(!b.hasAuth||b.sentAuth)return null;var d=e(a.headers),f=d.get("www-authenticate"),g=f&&f.split(" ")[0].toLowerCase();switch(c.debug("reauth",g),g){case"basic":return b.basic(b.user,b.pass,!0);case"bearer":return b.bearer(b.bearerToken,!0);case"digest":return b.digest(c.method,c.path,f)}},c.Auth=d},{"./helpers":335,caseless:353,"node-uuid":405}],332:[function(a,b,c){"use strict";function d(a){var b=this;b._jar=new g(a)}var e=a("tough-cookie"),f=e.Cookie,g=e.CookieJar;c.parse=function(a){if(a&&a.uri&&(a=a.uri),"string"!=typeof a)throw new Error("The cookie function only accepts STRING as param");return f.parse(a)},d.prototype.setCookie=function(a,b,c){var d=this;return d._jar.setCookieSync(a,b,c||{})},d.prototype.getCookieString=function(a){var b=this;return b._jar.getCookieStringSync(a)},d.prototype.getCookies=function(a){var b=this;return b._jar.getCookiesSync(a)},c.jar=function(a){return new d(a)}},{"tough-cookie":412}],333:[function(a,b,c){(function(a){"use strict";function c(a){return a.replace(/^\.*/,".").toLowerCase()}function d(a){a=a.trim().toLowerCase();var b=a.split(":",2),d=c(b[0]),e=b[1],f=a.indexOf(":")>-1;return{hostname:d,port:e,hasPort:f}}function e(a,b){var e=a.port||("https:"===a.protocol?"443":"80"),f=c(a.hostname),g=b.split(",");return g.map(d).some(function(a){var b=f.indexOf(a.hostname),c=b>-1&&b===f.length-a.hostname.length;return a.hasPort?e===a.port&&c:c})}function f(b){var c=a.env.NO_PROXY||a.env.no_proxy||"";return"*"===c?null:""!==c&&e(b,c)?null:"http:"===b.protocol?a.env.HTTP_PROXY||a.env.http_proxy||null:"https:"===b.protocol?a.env.HTTPS_PROXY||a.env.https_proxy||a.env.HTTP_PROXY||a.env.http_proxy||null:null}b.exports=f}).call(this,a("_process"))},{_process:301}],334:[function(a,b,c){"use strict";function d(a){this.request=a}var e=a("fs"),f=a("querystring"),g=a("har-validator"),h=a("util");d.prototype.reducer=function(a,b){if(void 0===a[b.name])return a[b.name]=b.value,a;var c=[a[b.name],b.value];return a[b.name]=c,a},d.prototype.prep=function(a){if(a.queryObj={},a.headersObj={},a.postData.jsonObj=!1,a.postData.paramsObj=!1,a.queryString&&a.queryString.length&&(a.queryObj=a.queryString.reduce(this.reducer,{})),a.headers&&a.headers.length&&(a.headersObj=a.headers.reduceRight(function(a,b){ -return a[b.name]=b.value,a},{})),a.cookies&&a.cookies.length){var b=a.cookies.map(function(a){return a.name+"="+a.value});b.length&&(a.headersObj.cookie=b.join("; "))}switch(a.postData.mimeType){case"multipart/mixed":case"multipart/related":case"multipart/form-data":case"multipart/alternative":a.postData.mimeType="multipart/form-data";break;case"application/x-www-form-urlencoded":a.postData.params?(a.postData.paramsObj=a.postData.params.reduce(this.reducer,{}),a.postData.text=f.stringify(a.postData.paramsObj)):a.postData.text="";break;case"text/json":case"text/x-json":case"application/json":case"application/x-json":if(a.postData.mimeType="application/json",a.postData.text)try{a.postData.jsonObj=JSON.parse(a.postData.text)}catch(c){this.request.debug(c),a.postData.mimeType="text/plain"}}return a},d.prototype.options=function(a){if(!a.har)return a;var b=h._extend({},a.har);if(b.log&&b.log.entries&&(b=b.log.entries[0]),b.url=b.url||a.url||a.uri||a.baseUrl||"/",b.httpVersion=b.httpVersion||"HTTP/1.1",b.queryString=b.queryString||[],b.headers=b.headers||[],b.cookies=b.cookies||[],b.postData=b.postData||{},b.postData.mimeType=b.postData.mimeType||"application/octet-stream",b.bodySize=0,b.headersSize=0,b.postData.size=0,!g.request(b))return a;var c=this.prep(b);switch(c.url&&(a.url=c.url),c.method&&(a.method=c.method),Object.keys(c.queryObj).length&&(a.qs=c.queryObj),Object.keys(c.headersObj).length&&(a.headers=c.headersObj),c.postData.mimeType){case"application/x-www-form-urlencoded":a.form=c.postData.paramsObj;break;case"application/json":c.postData.jsonObj&&(a.body=c.postData.jsonObj,a.json=!0);break;case"multipart/form-data":a.formData={},c.postData.params.forEach(function(b){var c={};return b.fileName||b.fileName||b.contentType?(b.fileName&&!b.value?c.value=e.createReadStream(b.fileName):b.value&&(c.value=b.value),b.fileName&&(c.options={filename:b.fileName,contentType:b.contentType?b.contentType:null}),void(a.formData[b.name]=c)):void(a.formData[b.name]=b.value)});break;default:c.postData.text&&(a.body=c.postData.text)}return a},c.Har=d},{fs:129,"har-validator":360,querystring:305,util:321}],335:[function(a,b,c){(function(b,d){"use strict";function e(){return"undefined"==typeof setImmediate?b.nextTick:setImmediate}function f(a){return"function"==typeof a}function g(a){return a.body||a.requestBodyStream||a.json&&"boolean"!=typeof a.json||a.multipart}function h(a){var b;try{b=JSON.stringify(a)}catch(c){b=n(a)}return b}function i(a){return o.createHash("md5").update(a).digest("hex")}function j(a){return a.readable&&a.path&&a.mode}function k(a){return new d(a||"","utf8").toString("base64")}function l(a){var b={};return Object.keys(a).forEach(function(c){b[c]=a[c]}),b}function m(){var a=b.version.replace("v","").split(".");return{major:parseInt(a[0],10),minor:parseInt(a[1],10),patch:parseInt(a[2],10)}}var n=a("json-stringify-safe"),o=a("crypto");c.isFunction=f,c.paramsHaveRequestBody=g,c.safeStringify=h,c.md5=i,c.isReadStream=j,c.toBase64=k,c.copy=l,c.version=m,c.defer=e()}).call(this,a("_process"),a("buffer").Buffer)},{_process:301,buffer:145,crypto:151,"json-stringify-safe":401}],336:[function(a,b,c){(function(b){"use strict";function d(a){this.request=a,this.boundary=e(),this.chunked=!1,this.body=null}var e=a("node-uuid"),f=a("combined-stream"),g=a("isstream");d.prototype.isChunked=function(a){var b=this,c=!1,d=a.data||a;return d.forEach||b.request.emit("error",new Error("Argument error, options.multipart.")),void 0!==a.chunked&&(c=a.chunked),"chunked"===b.request.getHeader("transfer-encoding")&&(c=!0),c||d.forEach(function(a){"undefined"==typeof a.body&&b.request.emit("error",new Error("Body attribute missing in multipart.")),g(a.body)&&(c=!0)}),c},d.prototype.setHeaders=function(a){var b=this;a&&!b.request.hasHeader("transfer-encoding")&&b.request.setHeader("transfer-encoding","chunked");var c=b.request.getHeader("content-type");c&&-1!==c.indexOf("multipart")?-1!==c.indexOf("boundary")?b.boundary=c.replace(/.*boundary=([^\s;]+).*/,"$1"):b.request.setHeader("content-type",c+"; boundary="+b.boundary):b.request.setHeader("content-type","multipart/related; boundary="+b.boundary)},d.prototype.build=function(a,c){function d(a){return c?g.append(a):g.push(new b(a))}var e=this,g=c?new f:[];return e.request.preambleCRLF&&d("\r\n"),a.forEach(function(a){var b="--"+e.boundary+"\r\n";Object.keys(a).forEach(function(c){"body"!==c&&(b+=c+": "+a[c]+"\r\n")}),b+="\r\n",d(b),d(a.body),d("\r\n")}),d("--"+e.boundary+"--"),e.request.postambleCRLF&&d("\r\n"),g},d.prototype.onRequest=function(a){var b=this,c=b.isChunked(a),d=a.data||a;b.setHeaders(c),b.chunked=c,b.body=b.build(d,c)},c.Multipart=d}).call(this,a("buffer").Buffer)},{buffer:145,"combined-stream":354,isstream:400,"node-uuid":405}],337:[function(a,b,c){(function(b){"use strict";function d(a){this.request=a,this.params=null}var e=a("url"),f=a("qs"),g=a("caseless"),h=a("node-uuid"),i=a("oauth-sign"),j=a("crypto");d.prototype.buildParams=function(a,b,c,d,e,f){var g={};for(var j in a)g["oauth_"+j]=a[j];g.oauth_version||(g.oauth_version="1.0"),g.oauth_timestamp||(g.oauth_timestamp=Math.floor(Date.now()/1e3).toString()),g.oauth_nonce||(g.oauth_nonce=h().replace(/-/g,"")),g.oauth_signature_method||(g.oauth_signature_method="HMAC-SHA1");var k=g.oauth_consumer_secret||g.oauth_private_key;delete g.oauth_consumer_secret,delete g.oauth_private_key;var l=g.oauth_token_secret;delete g.oauth_token_secret;var m=g.oauth_realm;delete g.oauth_realm,delete g.oauth_transport_method;var n=b.protocol+"//"+b.host+b.pathname,o=f.parse([].concat(d,e,f.stringify(g)).join("&"));return g.oauth_signature=i.sign(g.oauth_signature_method,c,n,o,k,l),m&&(g.realm=m),g},d.prototype.buildBodyHash=function(a,c){["HMAC-SHA1","RSA-SHA1"].indexOf(a.signature_method||"HMAC-SHA1")<0&&this.request.emit("error",new Error("oauth: "+a.signature_method+" signature_method not supported with body_hash signing."));var d=j.createHash("sha1");d.update(c||"");var e=d.digest("hex");return new b(e).toString("base64")},d.prototype.concatParams=function(a,b,c){c=c||"";var d=Object.keys(a).filter(function(a){return"realm"!==a&&"oauth_signature"!==a}).sort();return a.realm&&d.splice(0,0,"realm"),d.push("oauth_signature"),d.map(function(b){return b+"="+c+i.rfc3986(a[b])+c}).join(b)},d.prototype.onRequest=function(a){var b=this;b.params=a;var c,d,h=b.request.uri||{},i=b.request.method||"",j=g(b.request.headers),k=b.request.body||"",l=b.request.qsLib||f,m=j.get("content-type")||"",n="application/x-www-form-urlencoded",o=a.transport_method||"header";m.slice(0,n.length)===n&&(m=n,c=k),h.query&&(d=h.query),"body"!==o||"POST"===i&&m===n||b.request.emit("error",new Error("oauth: transport_method of body requires POST and content-type "+n)),c||"boolean"!=typeof a.body_hash||(a.body_hash=b.buildBodyHash(a,b.request.body.toString()));var p=b.buildParams(a,h,i,d,c,l);switch(o){case"header":b.request.setHeader("Authorization","OAuth "+b.concatParams(p,",",'"'));break;case"query":var q=b.request.uri.href+=(d?"&":"?")+b.concatParams(p,"&");b.request.uri=e.parse(q),b.request.path=b.request.uri.path;break;case"body":b.request.body=(c?c+"&":"")+b.concatParams(p,"&");break;default:b.request.emit("error",new Error("oauth: transport_method invalid"))}},c.OAuth=d}).call(this,a("buffer").Buffer)},{buffer:145,caseless:353,crypto:151,"node-uuid":405,"oauth-sign":406,qs:407,url:319}],338:[function(a,b,c){"use strict";function d(a){this.request=a,this.lib=null,this.useQuerystring=null,this.parseOptions=null,this.stringifyOptions=null}var e=a("qs"),f=a("querystring");d.prototype.init=function(a){this.lib||(this.useQuerystring=a.useQuerystring,this.lib=this.useQuerystring?f:e,this.parseOptions=a.qsParseOptions||{},this.stringifyOptions=a.qsStringifyOptions||{})},d.prototype.stringify=function(a){return this.useQuerystring?this.rfc3986(this.lib.stringify(a,this.stringifyOptions.sep||null,this.stringifyOptions.eq||null,this.stringifyOptions)):this.lib.stringify(a,this.stringifyOptions)},d.prototype.parse=function(a){return this.useQuerystring?this.lib.parse(a,this.parseOptions.sep||null,this.parseOptions.eq||null,this.parseOptions):this.lib.parse(a,this.parseOptions)},d.prototype.rfc3986=function(a){return a.replace(/[!'()*]/g,function(a){return"%"+a.charCodeAt(0).toString(16).toUpperCase()})},d.prototype.unescape=f.unescape,c.Querystring=d},{qs:407,querystring:305}],339:[function(a,b,c){"use strict";function d(a){this.request=a,this.followRedirect=!0,this.followRedirects=!0,this.followAllRedirects=!1,this.allowRedirect=function(){return!0},this.maxRedirects=10,this.redirects=[],this.redirectsFollowed=0,this.removeRefererHeader=!1}var e=a("url"),f=/^https?:/;d.prototype.onRequest=function(a){var b=this;void 0!==a.maxRedirects&&(b.maxRedirects=a.maxRedirects),"function"==typeof a.followRedirect&&(b.allowRedirect=a.followRedirect),void 0!==a.followRedirect&&(b.followRedirects=!!a.followRedirect),void 0!==a.followAllRedirects&&(b.followAllRedirects=a.followAllRedirects),(b.followRedirects||b.followAllRedirects)&&(b.redirects=b.redirects||[]),void 0!==a.removeRefererHeader&&(b.removeRefererHeader=a.removeRefererHeader)},d.prototype.redirectTo=function(a){var b=this,c=b.request,d=null;if(a.statusCode>=300&&a.statusCode<400&&a.caseless.has("location")){var e=a.caseless.get("location");if(c.debug("redirect",e),b.followAllRedirects)d=e;else if(b.followRedirects)switch(c.method){case"PATCH":case"PUT":case"POST":case"DELETE":break;default:d=e}}else if(401===a.statusCode){var f=c._auth.onResponse(a);f&&(c.setHeader("authorization",f),d=c.uri)}return d},d.prototype.onResponse=function(a){var b=this,c=b.request,d=b.redirectTo(a);if(!d||!b.allowRedirect.call(c,a))return!1;if(c.debug("redirect to",d),a.resume&&a.resume(),b.redirectsFollowed>=b.maxRedirects)return c.emit("error",new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+c.uri.href)),!1;b.redirectsFollowed+=1,f.test(d)||(d=e.resolve(c.uri.href,d));var g=c.uri;return c.uri=e.parse(d),c.uri.protocol!==g.protocol&&c._updateProtocol(),b.redirects.push({statusCode:a.statusCode,redirectUri:d}),b.followAllRedirects&&"HEAD"!==c.method&&401!==a.statusCode&&307!==a.statusCode&&(c.method="GET"),delete c.src,delete c.req,delete c.agent,delete c._started,401!==a.statusCode&&307!==a.statusCode&&(delete c.body,delete c._form,c.headers&&(c.removeHeader("host"),c.removeHeader("content-type"),c.removeHeader("content-length"),c.uri.hostname!==c.originalHost.split(":")[0]&&c.removeHeader("authorization"))),b.removeRefererHeader||c.setHeader("referer",c.uri.href),c.emit("redirect"),c.init(),!0},c.Redirect=d},{url:319}],340:[function(a,b,c){"use strict";function d(a){var b=a.portA,c=a.protocol,d=a.hostname+":";return d+=b?b:"https:"===c?"443":"80"}function e(a,b){var c=b.reduce(function(a,b){return a[b.toLowerCase()]=!0,a},{});return Object.keys(a).filter(function(a){return c[a.toLowerCase()]}).reduce(function(b,c){return b[c]=a[c],b},{})}function f(a,b){var c=a.proxy,d={proxy:{host:c.hostname,port:+c.port,proxyAuth:c.auth,headers:b},headers:a.headers,ca:a.ca,cert:a.cert,key:a.key,passphrase:a.passphrase,pfx:a.pfx,ciphers:a.ciphers,rejectUnauthorized:a.rejectUnauthorized,secureOptions:a.secureOptions,secureProtocol:a.secureProtocol};return d}function g(a,b){var c="https:"===a.protocol?"https":"http",d="https:"===b.protocol?"Https":"Http";return[c,d].join("Over")}function h(a){var b=a.uri,c=a.proxy,d=g(b,c);return k[d]}function i(a){this.request=a,this.proxyHeaderWhiteList=l,this.proxyHeaderExclusiveList=[]}var j=a("url"),k=a("tunnel-agent"),l=["accept","accept-charset","accept-encoding","accept-language","accept-ranges","cache-control","content-encoding","content-language","content-length","content-location","content-md5","content-range","content-type","connection","date","expect","max-forwards","pragma","referer","te","transfer-encoding","user-agent","via"],m=["proxy-authorization"];i.prototype.isEnabled=function(a){var b=this.request;return"undefined"!=typeof b.tunnel?b.tunnel:"undefined"!=typeof a.tunnel?a.tunnel:"https:"===b.uri.protocol?!0:void 0},i.prototype.setup=function(a){var b=this,c=b.request;if(a=a||{},"string"==typeof c.proxy&&(c.proxy=j.parse(c.proxy)),!c.proxy||!c.tunnel)return!1;a.proxyHeaderWhiteList&&(b.proxyHeaderWhiteList=a.proxyHeaderWhiteList),a.proxyHeaderExclusiveList&&(b.proxyHeaderExclusiveList=a.proxyHeaderExclusiveList);var g=b.proxyHeaderExclusiveList.concat(m),i=b.proxyHeaderWhiteList.concat(g),k=e(c.headers,i);k.host=d(c.uri),g.forEach(c.removeHeader,c);var l=h(c),n=f(c,k);return c.agent=l(n),!0},i.defaultProxyHeaderWhiteList=l,i.defaultProxyHeaderExclusiveList=m,c.Tunnel=i},{"tunnel-agent":419,url:319}],341:[function(a,b,c){function d(a){return"AWS "+a.key+":"+f(a)}function e(a){return l.createHmac("sha1",a.secret).update(a.message).digest("base64")}function f(a){return a.message=h(a),e(a)}function g(a){return a.message=i(a),e(a)}function h(a){var b=a.amazonHeaders||"";b&&(b+="\n");var c=[a.verb,a.md5,a.contentType,a.date?a.date.toUTCString():"",b+a.resource];return c.join("\n")}function i(a){return"GET\n\n\n"+a.date+"\n"+a.resource}function j(a){for(var b=[],c=Object.keys(a),d=0,e=c.length;e>d;++d){var f=c[d],g=a[f],f=f.toLowerCase();0===f.indexOf("x-amz")&&b.push(f+":"+g)}return b.sort().join("\n")}function k(a){var b=m(a,!0),c=b.pathname,d=[];return Object.keys(b.query).forEach(function(a){if(~n.indexOf(a)){var c=""==b.query[a]?"":"="+encodeURIComponent(b.query[a]);d.push(a+c)}}),c+(d.length?"?"+d.sort().join("&"):"")}var l=a("crypto"),m=a("url").parse,n=["acl","location","logging","notification","partNumber","policy","requestPayment","torrent","uploadId","uploads","versionId","versioning","versions","website"];b.exports=d,b.exports.authorization=d,b.exports.hmacSha1=e,b.exports.sign=f,b.exports.signQuery=g,b.exports.queryStringToSign=h,b.exports.queryStringToSign=i,b.exports.canonicalizeHeaders=j,b.exports.canonicalizeResource=k},{crypto:151,url:319}],342:[function(a,b,c){(function(c){function d(a){if(!(this instanceof d))return new d(a);if(this._bufs=[],this.length=0,"function"==typeof a){this._callback=a;var b=function(a){this._callback&&(this._callback(a),this._callback=null)}.bind(this);this.on("pipe",function(a){a.on("error",b)}),this.on("unpipe",function(a){a.removeListener("error",b)})}else c.isBuffer(a)?this.append(a):Array.isArray(a)&&a.forEach(function(a){c.isBuffer(a)&&this.append(a)}.bind(this));e.call(this)}var e=a("readable-stream/duplex"),f=a("util");f.inherits(d,e),d.prototype._offset=function(a){for(var b,c=0,d=0;da)return[d,a-c];c=b}},d.prototype.append=function(a){var b=c.isBuffer(a)||a instanceof d;return this._bufs.push(b?a:new c(a)),this.length+=a.length,this},d.prototype._write=function(a,b,c){this.append(a),c&&c()},d.prototype._read=function(a){return this.length?(a=Math.min(a,this.length),this.push(this.slice(0,a)),void this.consume(a)):this.push(null)},d.prototype.end=function(a){e.prototype.end.call(this,a),this._callback&&(this._callback(null,this.slice()),this._callback=null)},d.prototype.get=function(a){return this.slice(a,a+1)[0]},d.prototype.slice=function(a,b){return this.copy(null,0,a,b)},d.prototype.copy=function(a,b,d,e){if(("number"!=typeof d||0>d)&&(d=0),("number"!=typeof e||e>this.length)&&(e=this.length),d>=this.length)return a||new c(0);if(0>=e)return a||new c(0);var f,g,h=!!a,i=this._offset(d),j=e-d,k=j,l=h&&b||0,m=i[1];if(0===d&&e==this.length){if(!h)return c.concat(this._bufs);for(g=0;gf)){this._bufs[g].copy(a,l,m,m+k);break}this._bufs[g].copy(a,l,m),l+=f,k-=f,m&&(m=0)}return a},d.prototype.toString=function(a,b,c){return this.slice(b,c).toString(a)},d.prototype.consume=function(a){for(;this._bufs.length;){if(!(a>this._bufs[0].length)){this._bufs[0]=this._bufs[0].slice(a),this.length-=a;break}a-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift()}return this},d.prototype.duplicate=function(){for(var a=0,b=new d;a0)if(b.ended&&!e){var h=new Error("stream.push() after EOF");a.emit("error",h)}else if(b.endEmitted&&e){var h=new Error("stream.unshift() after end event");a.emit("error",h)}else!b.decoder||e||d||(c=b.decoder.write(c)),e||(b.reading=!1),b.flowing&&0===b.length&&!b.sync?(a.emit("data",c),a.read(0)):(b.length+=b.objectMode?1:c.length,e?b.buffer.unshift(c):b.buffer.push(c),b.needReadable&&l(a)),n(a,b);else e||(b.reading=!1);return g(b)}function g(a){return!a.ended&&(a.needReadable||a.length=H)a=H;else{a--;for(var b=1;32>b;b<<=1)a|=a>>b;a++}return a}function i(a,b){return 0===b.length&&b.ended?0:b.objectMode?0===a?0:1:null===a||isNaN(a)?b.flowing&&b.buffer.length?b.buffer[0].length:b.length:0>=a?0:(a>b.highWaterMark&&(b.highWaterMark=h(a)),a>b.length?b.ended?b.length:(b.needReadable=!0,0):a)}function j(a,b){var c=null;return B.isBuffer(b)||"string"==typeof b||null===b||void 0===b||a.objectMode||(c=new TypeError("Invalid non-string/buffer chunk")),c}function k(a,b){if(!b.ended){if(b.decoder){var c=b.decoder.end();c&&c.length&&(b.buffer.push(c),b.length+=b.objectMode?1:c.length)}b.ended=!0,l(a)}}function l(a){var b=a._readableState;b.needReadable=!1,b.emittedReadable||(F("emitReadable",b.flowing),b.emittedReadable=!0,b.sync?z(m,a):m(a))}function m(a){F("emit readable"),a.emit("readable"),t(a)}function n(a,b){b.readingMore||(b.readingMore=!0,z(o,a,b))}function o(a,b){for(var c=b.length;!b.reading&&!b.flowing&&!b.ended&&b.length=e)c=f?d.join(""):B.concat(d,e),d.length=0;else if(aj&&a>i;j++){var h=d[0],l=Math.min(a-i,h.length);f?c+=h.slice(0,l):h.copy(c,i,0,l),l0)throw new Error("endReadable called on non-empty stream");b.endEmitted||(b.ended=!0,z(w,b,a))}function w(a,b){a.endEmitted||0!==a.length||(a.endEmitted=!0,b.readable=!1,b.emit("end"))}function x(a,b){for(var c=0,d=a.length;d>c;c++)b(a[c],c)}function y(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1}b.exports=e;var z=a("process-nextick-args"),A=a("isarray"),B=a("buffer").Buffer;e.ReadableState=d;var C=a("events").EventEmitter;C.listenerCount||(C.listenerCount=function(a,b){return a.listeners(b).length});var D;!function(){try{D=a("stream")}catch(b){}finally{D||(D=a("events").EventEmitter)}}();var B=a("buffer").Buffer,E=a("core-util-is");E.inherits=a("inherits");var F=a("util");F=F&&F.debuglog?F.debuglog("stream"):function(){};var G;E.inherits(e,D),e.prototype.push=function(a,b){var c=this._readableState;return c.objectMode||"string"!=typeof a||(b=b||c.defaultEncoding,b!==c.encoding&&(a=new B(a,b),b="")),f(this,c,a,b,!1)},e.prototype.unshift=function(a){var b=this._readableState;return f(this,b,a,"",!0)},e.prototype.isPaused=function(){return this._readableState.flowing===!1},e.prototype.setEncoding=function(b){return G||(G=a("string_decoder/").StringDecoder),this._readableState.decoder=new G(b),this._readableState.encoding=b,this};var H=8388608;e.prototype.read=function(a){F("read",a);var b=this._readableState,c=a;if(("number"!=typeof a||a>0)&&(b.emittedReadable=!1),0===a&&b.needReadable&&(b.length>=b.highWaterMark||b.ended))return F("read: emitReadable",b.length,b.ended),0===b.length&&b.ended?v(this):l(this),null;if(a=i(a,b),0===a&&b.ended)return 0===b.length&&v(this),null;var d=b.needReadable;F("need readable",d),(0===b.length||b.length-a0?u(a,b):null,null===e&&(b.needReadable=!0,a=0),b.length-=a,0!==b.length||b.ended||(b.needReadable=!0),c!==a&&b.ended&&0===b.length&&v(this),null!==e&&this.emit("data",e),e},e.prototype._read=function(a){this.emit("error",new Error("not implemented"))},e.prototype.pipe=function(a,b){function d(a){F("onunpipe"),a===l&&f()}function e(){F("onend"),a.end()}function f(){F("cleanup"),a.removeListener("close",i),a.removeListener("finish",j),a.removeListener("drain",q),a.removeListener("error",h),a.removeListener("unpipe",d),l.removeListener("end",e),l.removeListener("end",f),l.removeListener("data",g),!m.awaitDrain||a._writableState&&!a._writableState.needDrain||q()}function g(b){F("ondata");var c=a.write(b);!1===c&&(F("false write response, pause",l._readableState.awaitDrain),l._readableState.awaitDrain++,l.pause())}function h(b){F("onerror",b),k(),a.removeListener("error",h),0===C.listenerCount(a,"error")&&a.emit("error",b)}function i(){a.removeListener("finish",j),k()}function j(){F("onfinish"),a.removeListener("close",i),k()}function k(){F("unpipe"),l.unpipe(a)}var l=this,m=this._readableState;switch(m.pipesCount){case 0:m.pipes=a;break;case 1:m.pipes=[m.pipes,a];break;default:m.pipes.push(a)}m.pipesCount+=1,F("pipe count=%d opts=%j",m.pipesCount,b);var n=(!b||b.end!==!1)&&a!==c.stdout&&a!==c.stderr,o=n?e:f;m.endEmitted?z(o):l.once("end",o),a.on("unpipe",d);var q=p(l);return a.on("drain",q),l.on("data",g),a._events&&a._events.error?A(a._events.error)?a._events.error.unshift(h):a._events.error=[h,a._events.error]:a.on("error",h),a.once("close",i),a.once("finish",j),a.emit("pipe",l),m.flowing||(F("pipe resume"),l.resume()),a},e.prototype.unpipe=function(a){var b=this._readableState;if(0===b.pipesCount)return this;if(1===b.pipesCount)return a&&a!==b.pipes?this:(a||(a=b.pipes),b.pipes=null,b.pipesCount=0,b.flowing=!1,a&&a.emit("unpipe",this),this);if(!a){var c=b.pipes,d=b.pipesCount;b.pipes=null,b.pipesCount=0,b.flowing=!1;for(var e=0;d>e;e++)c[e].emit("unpipe",this);return this}var e=y(b.pipes,a);return-1===e?this:(b.pipes.splice(e,1),b.pipesCount-=1,1===b.pipesCount&&(b.pipes=b.pipes[0]),a.emit("unpipe",this),this)},e.prototype.on=function(a,b){var c=D.prototype.on.call(this,a,b);if("data"===a&&!1!==this._readableState.flowing&&this.resume(),"readable"===a&&this.readable){var d=this._readableState;d.readableListening||(d.readableListening=!0,d.emittedReadable=!1,d.needReadable=!0,d.reading?d.length&&l(this,d):z(q,this))}return c},e.prototype.addListener=e.prototype.on,e.prototype.resume=function(){var a=this._readableState;return a.flowing||(F("resume"),a.flowing=!0,r(this,a)),this},e.prototype.pause=function(){return F("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(F("pause"),this._readableState.flowing=!1,this.emit("pause")),this},e.prototype.wrap=function(a){var b=this._readableState,c=!1,d=this;a.on("end",function(){if(F("wrapped end"),b.decoder&&!b.ended){var a=b.decoder.end();a&&a.length&&d.push(a)}d.push(null)}),a.on("data",function(e){if(F("wrapped data"),b.decoder&&(e=b.decoder.write(e)),(!b.objectMode||null!==e&&void 0!==e)&&(b.objectMode||e&&e.length)){var f=d.push(e);f||(c=!0,a.pause())}});for(var e in a)void 0===this[e]&&"function"==typeof a[e]&&(this[e]=function(b){return function(){return a[b].apply(a,arguments)}}(e));var f=["error","close","destroy","pause","resume"];return x(f,function(b){a.on(b,d.emit.bind(d,b))}),d._read=function(b){F("wrapped _read",b),c&&(c=!1,a.resume())},d},e._fromList=u}).call(this,a("_process"))},{"./_stream_duplex":344,_process:301,buffer:145,"core-util-is":347,events:292,inherits:348,isarray:349,"process-nextick-args":350,"string_decoder/":351,util:131}],346:[function(a,b,c){"use strict";function d(){}function e(a,b,c){this.chunk=a,this.encoding=b,this.callback=c,this.next=null}function f(b,c){var d=a("./_stream_duplex");b=b||{},this.objectMode=!!b.objectMode,c instanceof d&&(this.objectMode=this.objectMode||!!b.writableObjectMode);var e=b.highWaterMark,f=this.objectMode?16:16384;this.highWaterMark=e||0===e?e:f,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var g=b.decodeStrings===!1;this.decodeStrings=!g,this.defaultEncoding=b.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(a){o(c,a)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1}function g(b){var c=a("./_stream_duplex");return this instanceof g||this instanceof c?(this._writableState=new f(b,this),this.writable=!0,b&&("function"==typeof b.write&&(this._write=b.write),"function"==typeof b.writev&&(this._writev=b.writev)),void z.call(this)):new g(b)}function h(a,b){var c=new Error("write after end");a.emit("error",c),w(b,c)}function i(a,b,c,d){var e=!0;if(!x.isBuffer(c)&&"string"!=typeof c&&null!==c&&void 0!==c&&!b.objectMode){var f=new TypeError("Invalid non-string/buffer chunk");a.emit("error",f),w(d,f),e=!1}return e}function j(a,b,c){return a.objectMode||a.decodeStrings===!1||"string"!=typeof b||(b=new x(b,c)),b}function k(a,b,c,d,f){c=j(b,c,d),x.isBuffer(c)&&(d="buffer");var g=b.objectMode?1:c.length;b.length+=g;var h=b.length-1))throw new TypeError("Unknown encoding: "+a);this._writableState.defaultEncoding=a},g.prototype._write=function(a,b,c){c(new Error("not implemented"))},g.prototype._writev=null,g.prototype.end=function(a,b,c){ -var d=this._writableState;"function"==typeof a?(c=a,a=null,b=null):"function"==typeof b&&(c=b,b=null),null!==a&&void 0!==a&&this.write(a,b),d.corked&&(d.corked=1,this.uncork()),d.ending||d.finished||v(this,d,c)}},{"./_stream_duplex":344,buffer:145,"core-util-is":347,events:292,inherits:348,"process-nextick-args":350,"util-deprecate":352}],347:[function(a,b,c){arguments[4][312][0].apply(c,arguments)},{buffer:145,dup:312}],348:[function(a,b,c){arguments[4][119][0].apply(c,arguments)},{dup:119}],349:[function(a,b,c){arguments[4][299][0].apply(c,arguments)},{dup:299}],350:[function(a,b,c){(function(a){"use strict";function c(b){for(var c=new Array(arguments.length-1),d=0;dk;++k)if(a=arguments[k],null!=a)for(b in a)c=j[b],d=a[b],j!==d&&(m&&d&&(g(d)||(e=f(d)))?(e?(e=!1,i=c&&f(c)?c:[]):i=c&&g(c)?c:{},j[b]=h(m,i,d)):"undefined"!=typeof d&&(j[b]=d));return j}},{}],357:[function(a,b,c){function d(a,b){var c="";return c="string"==typeof a?a+":"+b:a.host+":"+a.port+":"+(a.localAddress?a.localAddress+":":":")}function e(a){var b=this;b.options=a||{},b.requests={},b.sockets={},b.freeSockets={},b.maxSockets=b.options.maxSockets||i.defaultMaxSockets,b.minSockets=b.options.minSockets||e.defaultMinSockets,b.on("free",function(a,c,e){var f=d(c,e);if(b.requests[f]&&b.requests[f].length)b.requests[f].shift().onSocket(a);else if(b.sockets[f].length0&&!a.useChunkedEncodingByDefault){var g=this.freeSockets[e].pop();g.removeListener("error",g._onIdleError),delete g._onIdleError,a._reusedSocket=!0,a.onSocket(g)}else this.addRequestNoreuse(a,b,c)},e.prototype.removeSocket=function(a,b,c,d){if(this.sockets[b]){var e=this.sockets[b].indexOf(a);-1!==e&&this.sockets[b].splice(e,1)}else this.sockets[b]&&0===this.sockets[b].length&&(delete this.sockets[b],delete this.requests[b]);if(this.freeSockets[b]){var e=this.freeSockets[b].indexOf(a);-1!==e&&(this.freeSockets[b].splice(e,1),0===this.freeSockets[b].length&&delete this.freeSockets[b])}this.requests[b]&&this.requests[b].length&&this.createSocket(b,c,d).emit("free")},h.inherits(f,e),f.prototype.createConnection=g,f.prototype.addRequestNoreuse=l.prototype.addRequest},{http:293,https:297,net:129,tls:129,util:321}],358:[function(a,b,c){b.exports=FormData},{}],359:[function(a,b,c){"use strict";function d(a){this.name="ValidationError",this.errors=a}d.prototype=Error.prototype,b.exports=d},{}],360:[function(a,b,c){"use strict";var d=a("./schemas"),e=a("./error"),f=a("is-my-json-valid"),g=function(a,b,c){var g=f(a,{greedy:!0,verbose:!0,schemas:d}),h=!1;return void 0!==b&&(h=g(b)),c?c(g.errors?new e(g.errors):null,h):h};b.exports=function(a,b){return g(d.har,a,b)},Object.keys(d).map(function(a){b.exports[a]=function(b,c){return g(d[a],b,c)}})},{"./error":359,"./schemas":368,"is-my-json-valid":378}],361:[function(a,b,c){b.exports={properties:{beforeRequest:{$ref:"#cacheEntry"},afterRequest:{$ref:"#cacheEntry"},comment:{type:"string"}}}},{}],362:[function(a,b,c){b.exports={oneOf:[{type:"object",optional:!0,required:["lastAccess","eTag","hitCount"],properties:{expires:{type:"string"},lastAccess:{type:"string"},eTag:{type:"string"},hitCount:{type:"integer"},comment:{type:"string"}}},{type:null,additionalProperties:!1}]}},{}],363:[function(a,b,c){b.exports={type:"object",required:["size","mimeType"],properties:{size:{type:"integer"},compression:{type:"integer"},mimeType:{type:"string"},text:{type:"string"},encoding:{type:"string"},comment:{type:"string"}}}},{}],364:[function(a,b,c){b.exports={type:"object",required:["name","value"],properties:{name:{type:"string"},value:{type:"string"},path:{type:"string"},domain:{type:"string"},expires:{type:["string","null"],format:"date-time"},httpOnly:{type:"boolean"},secure:{type:"boolean"},comment:{type:"string"}}}},{}],365:[function(a,b,c){b.exports={type:"object",required:["name","version"],properties:{name:{type:"string"},version:{type:"string"},comment:{type:"string"}}}},{}],366:[function(a,b,c){b.exports={type:"object",optional:!0,required:["startedDateTime","time","request","response","cache","timings"],properties:{pageref:{type:"string"},startedDateTime:{type:"string",format:"date-time",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))"},time:{type:"number",min:0},request:{$ref:"#request"},response:{$ref:"#response"},cache:{$ref:"#cache"},timings:{$ref:"#timings"},serverIPAddress:{type:"string",oneOf:[{format:"ipv4"},{format:"ipv6"}]},connection:{type:"string"},comment:{type:"string"}}}},{}],367:[function(a,b,c){b.exports={type:"object",required:["log"],properties:{log:{$ref:"#log"}}}},{}],368:[function(a,b,c){"use strict";var d={cache:a("./cache.json"),cacheEntry:a("./cacheEntry.json"),content:a("./content.json"),cookie:a("./cookie.json"),creator:a("./creator.json"),entry:a("./entry.json"),har:a("./har.json"),log:a("./log.json"),page:a("./page.json"),pageTimings:a("./pageTimings.json"),postData:a("./postData.json"),record:a("./record.json"),request:a("./request.json"),response:a("./response.json"),timings:a("./timings.json")};d.cache.properties.beforeRequest=d.cacheEntry,d.cache.properties.afterRequest=d.cacheEntry,d.page.properties.pageTimings=d.pageTimings,d.request.properties.cookies.items=d.cookie,d.request.properties.headers.items=d.record,d.request.properties.queryString.items=d.record,d.request.properties.postData=d.postData,d.response.properties.cookies.items=d.cookie,d.response.properties.headers.items=d.record,d.response.properties.content=d.content,d.entry.properties.request=d.request,d.entry.properties.response=d.response,d.entry.properties.cache=d.cache,d.entry.properties.timings=d.timings,d.log.properties.creator=d.creator,d.log.properties.browser=d.creator,d.log.properties.pages.items=d.page,d.log.properties.entries.items=d.entry,d.har.properties.log=d.log,b.exports=d},{"./cache.json":361,"./cacheEntry.json":362,"./content.json":363,"./cookie.json":364,"./creator.json":365,"./entry.json":366,"./har.json":367,"./log.json":369,"./page.json":370,"./pageTimings.json":371,"./postData.json":372,"./record.json":373,"./request.json":374,"./response.json":375,"./timings.json":376}],369:[function(a,b,c){b.exports={type:"object",required:["version","creator","entries"],properties:{version:{type:"string"},creator:{$ref:"#creator"},browser:{$ref:"#creator"},pages:{type:"array",items:{$ref:"#page"}},entries:{type:"array",items:{$ref:"#entry"}},comment:{type:"string"}}}},{}],370:[function(a,b,c){b.exports={type:"object",optional:!0,required:["startedDateTime","id","title","pageTimings"],properties:{startedDateTime:{type:"string",format:"date-time",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))"},id:{type:"string",unique:!0},title:{type:"string"},pageTimings:{$ref:"#pageTimings"},comment:{type:"string"}}}},{}],371:[function(a,b,c){b.exports={type:"object",properties:{onContentLoad:{type:"number",min:-1},onLoad:{type:"number",min:-1},comment:{type:"string"}}}},{}],372:[function(a,b,c){b.exports={type:"object",optional:!0,required:["mimeType"],properties:{mimeType:{type:"string"},text:{type:"string"},params:{type:"array",required:["name"],properties:{name:{type:"string"},value:{type:"string"},fileName:{type:"string"},contentType:{type:"string"},comment:{type:"string"}}},comment:{type:"string"}}}},{}],373:[function(a,b,c){b.exports={type:"object",required:["name","value"],properties:{name:{type:"string"},value:{type:"string"},comment:{type:"string"}}}},{}],374:[function(a,b,c){b.exports={type:"object",required:["method","url","httpVersion","cookies","headers","queryString","headersSize","bodySize"],properties:{method:{type:"string"},url:{type:"string",format:"uri"},httpVersion:{type:"string"},cookies:{type:"array",items:{$ref:"#cookie"}},headers:{type:"array",items:{$ref:"#record"}},queryString:{type:"array",items:{$ref:"#record"}},postData:{$ref:"#postData"},headersSize:{type:"integer"},bodySize:{type:"integer"},comment:{type:"string"}}}},{}],375:[function(a,b,c){b.exports={type:"object",required:["status","statusText","httpVersion","cookies","headers","content","redirectURL","headersSize","bodySize"],properties:{status:{type:"integer"},statusText:{type:"string"},httpVersion:{type:"string"},cookies:{type:"array",items:{$ref:"#cookie"}},headers:{type:"array",items:{$ref:"#record"}},content:{$ref:"#content"},redirectURL:{type:"string"},headersSize:{type:"integer"},bodySize:{type:"integer"},comment:{type:"string"}}}},{}],376:[function(a,b,c){b.exports={required:["send","wait","receive"],properties:{dns:{type:"number",min:-1},connect:{type:"number",min:-1},blocked:{type:"number",min:-1},send:{type:"number",min:-1},wait:{type:"number",min:-1},receive:{type:"number",min:-1},ssl:{type:"number",min:-1},comment:{type:"string"}}}},{}],377:[function(a,b,c){c["date-time"]=/^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-[0-9]{2}[tT ]\d{2}:\d{2}:\d{2}(\.\d+)?([zZ]|[+-]\d{2}:\d{2})$/,c.date=/^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-[0-9]{2}$/,c.time=/^\d{2}:\d{2}:\d{2}$/,c.email=/^\S+@\S+$/,c["ip-address"]=c.ipv4=/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,c.ipv6=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,c.uri=/^[a-zA-Z][a-zA-Z0-9+-.]*:[^\s]*$/,c.color=/(#?([0-9A-Fa-f]{3,6})\b)|(aqua)|(black)|(blue)|(fuchsia)|(gray)|(green)|(lime)|(maroon)|(navy)|(olive)|(orange)|(purple)|(red)|(silver)|(teal)|(white)|(yellow)|(rgb\(\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*\))|(rgb\(\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*\))/,c.hostname=/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])(\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]{0,61}[a-zA-Z0-9]))*$/,c.alpha=/^[a-zA-Z]+$/,c.alphanumeric=/^[a-zA-Z0-9]+$/,c.style=/\s*(.+?):\s*([^;]+);?/g,c.phone=/^\+(?:[0-9] ?){6,14}[0-9]$/,c["utc-millisec"]=/^[0-9]+(\.?[0-9]+)?$/},{}],378:[function(a,b,c){var d=a("generate-object-property"),e=a("generate-function"),f=a("jsonpointer"),g=a("xtend"),h=a("./formats"),i=function(a,b,c){if(/^https?:\/\//.test(c))return null;var d=function(a){return a&&a.id===c?a:"object"==typeof a&&a?Object.keys(a).reduce(function(b,c){return b||d(a[c])},null):null},e=d(a);if(e)return e;c=c.replace(/^#/,""),c=c.replace(/\/$/,"");try{return f.get(a,decodeURI(c))}catch(g){var h,i=c.indexOf("#");if(0!==i)if(-1===i)h=b[c];else{var j=c.slice(0,i);h=b[j];var k=c.slice(i).replace(/^#/,"");try{return f.get(h,k)}catch(g){}}else h=b[c];return h||null}},j=function(a){a=JSON.stringify(a);for(var b=/\[([^\[\]"]+)\]/;b.test(a);)a=a.replace(b,'."+$1+"');return a},k={};k.any=function(){return"true"},k["null"]=function(a){return a+" === null"},k["boolean"]=function(a){return"typeof "+a+' === "boolean"'},k.array=function(a){return"Array.isArray("+a+")"},k.object=function(a){return"typeof "+a+' === "object" && '+a+" && !Array.isArray("+a+")"},k.number=function(a){return"typeof "+a+' === "number"'},k.integer=function(a){return"typeof "+a+' === "number" && (Math.floor('+a+") === "+a+" || "+a+" > 9007199254740992 || "+a+" < -9007199254740992)"},k.string=function(a){return"typeof "+a+' === "string"'};var l=function(a){for(var b=[],c=0;c %d) {",a,e.items.length),A("has additional items"),z("}");else if(e.additionalItems){var C=x();z("for (var %s = %d; %s < %s.length; %s++) {",C,e.items.length,C,a,C),y(a+"["+C+"]",e.additionalItems,f,g),z("}")}if(e.format&&o[e.format]){"string"!==s&&h[e.format]&&z("if (%s) {",k.string(a));var D=t("format");p[D]=o[e.format],"function"==typeof p[D]?z("if (!%s(%s)) {",D,a):z("if (!%s.test(%s)) {",D,a),A("must be "+e.format+" format"),z("}"),"string"!==s&&h[e.format]&&z("}")}if(Array.isArray(e.required)){var E=function(b){var c=d(a,b);z("if (%s === undefined) {",c),A("is required",c),z("missing++"),z("}")};z("if ((%s)) {","object"!==s?k.object(a):"true"),z("var missing = 0"),e.required.map(E),z("}"),r||(z("if (missing === 0) {"),w++)}if(e.uniqueItems&&("array"!==s&&z("if (%s) {",k.array(a)),z("if (!(unique(%s))) {",a),A("must be unique"),z("}"),"array"!==s&&z("}")),e["enum"]){var F=e["enum"].some(function(a){return"object"==typeof a}),G=F?function(b){return"JSON.stringify("+a+") !== JSON.stringify("+JSON.stringify(b)+")"}:function(b){return a+" !== "+JSON.stringify(b)};z("if (%s) {",e["enum"].map(G).join(" && ")||"false"),A("must be an enum value"),z("}")}if(e.dependencies&&("object"!==s&&z("if (%s) {",k.object(a)),Object.keys(e.dependencies).forEach(function(b){var c=e.dependencies[b];"string"==typeof c&&(c=[c]);var h=function(b){return d(a,b)+" !== undefined"};Array.isArray(c)&&(z("if (%s !== undefined && !(%s)) {",d(a,b),c.map(h).join(" && ")||"true"),A("dependencies not set"),z("}")),"object"==typeof c&&(z("if (%s !== undefined) {",d(a,b)),y(a,c,f,g),z("}"))}),"object"!==s&&z("}")),e.additionalProperties||e.additionalProperties===!1){"object"!==s&&z("if (%s) {",k.object(a));var C=x(),H=t("keys"),I=function(a){return H+"["+C+"] !== "+JSON.stringify(a)},J=function(a){return"!"+v(a)+".test("+H+"["+C+"])"},K=Object.keys(l||{}).map(I).concat(Object.keys(e.patternProperties||{}).map(J)).join(" && ")||"true";z("var %s = Object.keys(%s)",H,a)("for (var %s = 0; %s < %s.length; %s++) {",C,C,H,C)("if (%s) {",K),e.additionalProperties===!1?(g&&z("delete %s",a+"["+H+"["+C+"]]"),A("has additional properties",null,JSON.stringify(a+".")+" + "+H+"["+C+"]")):y(a+"["+H+"["+C+"]]",e.additionalProperties,f,g),z("}")("}"),"object"!==s&&z("}")}if(e.$ref){var L=i(c,n&&n.schemas||{},e.$ref);if(L){var M=b[e.$ref];M||(b[e.$ref]=function(a){return M(a)},M=m(L,b,c,!1,n));var D=t("ref");p[D]=M,z("if (!(%s(%s))) {",D,a),A("referenced schema does not match"),z("}")}}if(e.not){var N=t("prev");z("var %s = errors",N),y(a,e.not,!1,g),z("if (%s === errors) {",N),A("negative schema matches"),z("} else {")("errors = %s",N)("}")}if(e.items&&!u){"array"!==s&&z("if (%s) {",k.array(a));var C=x();z("for (var %s = 0; %s < %s.length; %s++) {",C,C,a,C),y(a+"["+C+"]",e.items,f,g),z("}"),"array"!==s&&z("}")}if(e.patternProperties){"object"!==s&&z("if (%s) {",k.object(a));var H=t("keys"),C=x();z("var %s = Object.keys(%s)",H,a)("for (var %s = 0; %s < %s.length; %s++) {",C,C,H,C),Object.keys(e.patternProperties).forEach(function(b){var c=v(b);z("if (%s.test(%s)) {",c,H+"["+C+"]"),y(a+"["+H+"["+C+"]]",e.patternProperties[b],f,g),z("}")}),z("}"),"object"!==s&&z("}")}if(e.pattern){var O=v(e.pattern);"string"!==s&&z("if (%s) {",k.string(a)),z("if (!(%s.test(%s))) {",O,a),A("pattern mismatch"),z("}"),"string"!==s&&z("}")}if(e.allOf&&e.allOf.forEach(function(b){y(a,b,f,g)}),e.anyOf&&e.anyOf.length){var N=t("prev");e.anyOf.forEach(function(b,c){0===c?z("var %s = errors",N):z("if (errors !== %s) {",N)("errors = %s",N),y(a,b,!1,!1)}),e.anyOf.forEach(function(a,b){b&&z("}")}),z("if (%s !== errors) {",N),A("no schemas match"),z("}")}if(e.oneOf&&e.oneOf.length){var N=t("prev"),P=t("passes");z("var %s = errors",N)("var %s = 0",P),e.oneOf.forEach(function(b,c){y(a,b,!1,!1),z("if (%s === errors) {",N)("%s++",P)("} else {")("errors = %s",N)("}")}),z("if (%s !== 1) {",P),A("no (or more than one) schemas match"),z("}")}if(void 0!==e.multipleOf){"number"!==s&&"integer"!==s&&z("if (%s) {",k.number(a));var Q=(0|e.multipleOf)!==e.multipleOf?Math.pow(10,e.multipleOf.toString().split(".").pop().length):1;Q>1?z("if ((%d*%s) % %d) {",Q,a,Q*e.multipleOf):z("if (%s % %d) {",a,e.multipleOf),A("has a remainder"),z("}"),"number"!==s&&"integer"!==s&&z("}")}for(void 0!==e.maxProperties&&("object"!==s&&z("if (%s) {",k.object(a)),z("if (Object.keys(%s).length > %d) {",a,e.maxProperties),A("has more properties than allowed"),z("}"),"object"!==s&&z("}")),void 0!==e.minProperties&&("object"!==s&&z("if (%s) {",k.object(a)),z("if (Object.keys(%s).length < %d) {",a,e.minProperties),A("has less properties than allowed"),z("}"),"object"!==s&&z("}")),void 0!==e.maxItems&&("array"!==s&&z("if (%s) {",k.array(a)),z("if (%s.length > %d) {",a,e.maxItems),A("has more items than allowed"),z("}"),"array"!==s&&z("}")),void 0!==e.minItems&&("array"!==s&&z("if (%s) {",k.array(a)),z("if (%s.length < %d) {",a,e.minItems),A("has less items than allowed"),z("}"),"array"!==s&&z("}")),void 0!==e.maxLength&&("string"!==s&&z("if (%s) {",k.string(a)),z("if (%s.length > %d) {",a,e.maxLength),A("has longer length than allowed"),z("}"),"string"!==s&&z("}")),void 0!==e.minLength&&("string"!==s&&z("if (%s) {",k.string(a)),z("if (%s.length < %d) {",a,e.minLength),A("has less length than allowed"),z("}"),"string"!==s&&z("}")),void 0!==e.minimum&&(z("if (%s %s %d) {",a,e.exclusiveMinimum?"<=":"<",e.minimum),A("is less than minimum"),z("}")),void 0!==e.maximum&&(z("if (%s %s %d) {",a,e.exclusiveMaximum?">=":">",e.maximum),A("is more than maximum"),z("}")),l&&Object.keys(l).forEach(function(b){Array.isArray(s)&&-1!==s.indexOf("null")&&z("if (%s !== null) {",a),y(d(a,b),l[b],f,g),Array.isArray(s)&&-1!==s.indexOf("null")&&z("}")});w--;)z("}")},z=e("function validate(data) {")("validate.errors = null")("var errors = 0");return y("data",a,f,n&&n.filter),z("return errors === 0")("}"),z=z.toFunction(p),z.errors=null,z.__defineGetter__("error",function(){return z.errors?z.errors.map(function(a){return a.field+" "+a.message}).join("\n"):""}),z.toJSON=function(){return a},z};b.exports=function(a,b){return"string"==typeof a&&(a=JSON.parse(a)),m(a,{},a,!0,b)},b.exports.filter=function(a,c){var d=b.exports(a,g(c,{filter:!0}));return function(a){return d(a),a}}},{"./formats":377,"generate-function":379,"generate-object-property":380,jsonpointer:382,xtend:383}],379:[function(a,b,c){var d=a("util"),e=/[\{\[]/,f=/[\}\]]/;b.exports=function(){var a=[],b=0,c=function(c){for(var d="";d.length<2*b;)d+=" ";a.push(d+c)},g=function(a){return a?f.test(a.trim()[0])&&e.test(a[a.length-1])?(b--,c(d.format.apply(d,arguments)),b++,g):e.test(a[a.length-1])?(c(d.format.apply(d,arguments)),b++,g):f.test(a.trim()[0])?(b--,c(d.format.apply(d,arguments)),g):(c(d.format.apply(d,arguments)),g):g};return g.toString=function(){return a.join("\n")},g.toFunction=function(a){var b="return ("+g.toString()+")",c=Object.keys(a||{}).map(function(a){return a}),d=c.map(function(b){return a[b]});return Function.apply(null,c.concat(b)).apply(null,d)},arguments.length&&g.apply(null,arguments),g}},{util:321}],380:[function(a,b,c){var d=a("is-property"),e=function(a,b){return d(b)?a+"."+b:a+"["+JSON.stringify(b)+"]"};e.valid=d,e.property=function(a){return d(a)?a:JSON.stringify(a)},b.exports=e},{"is-property":381}],381:[function(a,b,c){"use strict";function d(a){return/^[$A-Z\_a-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u08a0\u08a2-\u08ac\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa80-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc][$A-Z\_a-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u08a0\u08a2-\u08ac\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa80-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc0-9\u0300-\u036f\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08e4-\u08fe\u0900-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c01-\u0c03\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c82\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d02\u0d03\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d82\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19b0-\u19c0\u19c8\u19c9\u19d0-\u19d9\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf2-\u1cf4\u1dc0-\u1de6\u1dfc-\u1dff\u200c\u200d\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua880\ua881\ua8b4-\ua8c4\ua8d0-\ua8d9\ua8e0-\ua8f1\ua900-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f]*$/.test(a); -}b.exports=d},{}],382:[function(a,b,c){var d=(a("console"),function(a){return a.replace(/~./g,function(a){switch(a){case"~0":return"~";case"~1":return"/"}throw"Invalid tilde escape: "+a})}),e=function(a,b,c){var f=d(b.shift());if("undefined"==typeof a[f])throw"Value for pointer '"+b+"' not found.";if(0!==b.length)return e(a[f],b,c);if("undefined"==typeof c)return a[f];var g=a[f];return null===c?delete a[f]:a[f]=c,g},f=function(a,b){if("object"!=typeof a)throw"Invalid input object.";if(""===b)return[];if(!b)throw"Invalid JSON pointer.";b=b.split("/");var c=b.shift();if(""!==c)throw"Invalid JSON pointer.";return b},g=function(a,b){return b=f(a,b),0===b.length?a:e(a,b)},h=function(a,b,c){if(b=f(a,b),0===b.length)throw"Invalid JSON pointer for set.";return e(a,b,c)};c.get=g,c.set=h},{console:149}],383:[function(a,b,c){function d(){for(var a={},b=0;b\?@\[\]\^`\{\|\}~]+$/)||f.hasOwnProperty(c)?void 0:(f[c]=d,"")});return""!==g?null:f},randomString:function(a){for(var b="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",c=b.length,d=[],e=0;a>e;++e)d[e]=b[Math.floor(Math.random()*c)];return d.join("")},parseUri:function(a){for(var b=["source","protocol","authority","userInfo","user","password","hostname","port","resource","relative","pathname","directory","file","query","fragment"],c=/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?(((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?)(?:#(.*))?)/,d=a.match(c),e={},f=0,g=b.length;g>f;++f)e[b[f]]=d[f]||"";return""===e.port&&(e.port="http"===e.protocol.toLowerCase()?"80":"https"===e.protocol.toLowerCase()?"443":""),e},base64urlEncode:function(a){var b=e.enc.Utf8.parse(a),c=e.enc.Base64.stringify(b);return c.replace(/\+/g,"-").replace(/\//g,"_").replace(/\=/g,"")}};var e=e||function(a,b){var c={},d=c.lib={},e=function(){},f=d.Base={extend:function(a){e.prototype=this;var b=new e;return a&&b.mixIn(a),b.hasOwnProperty("init")||(b.init=function(){b.$super.init.apply(this,arguments)}),b.init.prototype=b,b.$super=this,b},create:function(){var a=this.extend();return a.init.apply(a,arguments),a},init:function(){},mixIn:function(a){for(var b in a)a.hasOwnProperty(b)&&(this[b]=a[b]);a.hasOwnProperty("toString")&&(this.toString=a.toString)},clone:function(){return this.init.prototype.extend(this)}},g=d.WordArray=f.extend({init:function(a,c){a=this.words=a||[],this.sigBytes=c!=b?c:4*a.length},toString:function(a){return(a||i).stringify(this)},concat:function(a){var b=this.words,c=a.words,d=this.sigBytes;if(a=a.sigBytes,this.clamp(),d%4)for(var e=0;a>e;e++)b[d+e>>>2]|=(c[e>>>2]>>>24-8*(e%4)&255)<<24-8*((d+e)%4);else if(65535e;e+=4)b[d+e>>>2]=c[e>>>2];else b.push.apply(b,c);return this.sigBytes+=a,this},clamp:function(){var b=this.words,c=this.sigBytes;b[c>>>2]&=4294967295<<32-8*(c%4),b.length=a.ceil(c/4)},clone:function(){var a=f.clone.call(this);return a.words=this.words.slice(0),a},random:function(b){for(var c=[],d=0;b>d;d+=4)c.push(4294967296*a.random()|0);return new g.init(c,b)}}),h=c.enc={},i=h.Hex={stringify:function(a){var b=a.words;a=a.sigBytes;for(var c=[],d=0;a>d;d++){var e=b[d>>>2]>>>24-8*(d%4)&255;c.push((e>>>4).toString(16)),c.push((15&e).toString(16))}return c.join("")},parse:function(a){for(var b=a.length,c=[],d=0;b>d;d+=2)c[d>>>3]|=parseInt(a.substr(d,2),16)<<24-4*(d%8);return new g.init(c,b/2)}},j=h.Latin1={stringify:function(a){var b=a.words;a=a.sigBytes;for(var c=[],d=0;a>d;d++)c.push(String.fromCharCode(b[d>>>2]>>>24-8*(d%4)&255));return c.join("")},parse:function(a){for(var b=a.length,c=[],d=0;b>d;d++)c[d>>>2]|=(255&a.charCodeAt(d))<<24-8*(d%4);return new g.init(c,b)}},k=h.Utf8={stringify:function(a){try{return decodeURIComponent(escape(j.stringify(a)))}catch(b){throw Error("Malformed UTF-8 data")}},parse:function(a){return j.parse(unescape(encodeURIComponent(a)))}},l=d.BufferedBlockAlgorithm=f.extend({reset:function(){this._data=new g.init,this._nDataBytes=0},_append:function(a){"string"==typeof a&&(a=k.parse(a)),this._data.concat(a),this._nDataBytes+=a.sigBytes},_process:function(b){var c=this._data,d=c.words,e=c.sigBytes,f=this.blockSize,h=e/(4*f),h=b?a.ceil(h):a.max((0|h)-this._minBufferSize,0);if(b=h*f,e=a.min(4*b,e),b){for(var i=0;b>i;i+=f)this._doProcessBlock(d,i);i=d.splice(0,b),c.sigBytes-=e}return new g.init(i,e)},clone:function(){var a=f.clone.call(this);return a._data=this._data.clone(),a},_minBufferSize:0});d.Hasher=l.extend({cfg:f.extend(),init:function(a){this.cfg=this.cfg.extend(a),this.reset()},reset:function(){l.reset.call(this),this._doReset()},update:function(a){return this._append(a),this._process(),this},finalize:function(a){return a&&this._append(a),this._doFinalize()},blockSize:16,_createHelper:function(a){return function(b,c){return new a.init(c).finalize(b)}},_createHmacHelper:function(a){return function(b,c){return new m.HMAC.init(a,c).finalize(b)}}});var m=c.algo={};return c}(Math);!function(){var a=e,b=a.lib,c=b.WordArray,d=b.Hasher,f=[],b=a.algo.SHA1=d.extend({_doReset:function(){this._hash=new c.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(a,b){for(var c=this._hash.words,d=c[0],e=c[1],g=c[2],h=c[3],i=c[4],j=0;80>j;j++){if(16>j)f[j]=0|a[b+j];else{var k=f[j-3]^f[j-8]^f[j-14]^f[j-16];f[j]=k<<1|k>>>31}k=(d<<5|d>>>27)+i+f[j],k=20>j?k+((e&g|~e&h)+1518500249):40>j?k+((e^g^h)+1859775393):60>j?k+((e&g|e&h|g&h)-1894007588):k+((e^g^h)-899497514),i=h,h=g,g=e<<30|e>>>2,e=d,d=k}c[0]=c[0]+d|0,c[1]=c[1]+e|0,c[2]=c[2]+g|0,c[3]=c[3]+h|0,c[4]=c[4]+i|0},_doFinalize:function(){var a=this._data,b=a.words,c=8*this._nDataBytes,d=8*a.sigBytes;return b[d>>>5]|=128<<24-d%32,b[(d+64>>>9<<4)+14]=Math.floor(c/4294967296),b[(d+64>>>9<<4)+15]=c,a.sigBytes=4*b.length,this._process(),this._hash},clone:function(){var a=d.clone.call(this);return a._hash=this._hash.clone(),a}});a.SHA1=d._createHelper(b),a.HmacSHA1=d._createHmacHelper(b)}(),function(a){for(var b=e,c=b.lib,d=c.WordArray,f=c.Hasher,c=b.algo,g=[],h=[],i=function(a){return 4294967296*(a-(0|a))|0},j=2,k=0;64>k;){var l;a:{l=j;for(var m=a.sqrt(l),n=2;m>=n;n++)if(!(l%n)){l=!1;break a}l=!0}l&&(8>k&&(g[k]=i(a.pow(j,.5))),h[k]=i(a.pow(j,1/3)),k++),j++}var o=[],c=c.SHA256=f.extend({_doReset:function(){this._hash=new d.init(g.slice(0))},_doProcessBlock:function(a,b){for(var c=this._hash.words,d=c[0],e=c[1],f=c[2],g=c[3],i=c[4],j=c[5],k=c[6],l=c[7],m=0;64>m;m++){if(16>m)o[m]=0|a[b+m];else{var n=o[m-15],p=o[m-2];o[m]=((n<<25|n>>>7)^(n<<14|n>>>18)^n>>>3)+o[m-7]+((p<<15|p>>>17)^(p<<13|p>>>19)^p>>>10)+o[m-16]}n=l+((i<<26|i>>>6)^(i<<21|i>>>11)^(i<<7|i>>>25))+(i&j^~i&k)+h[m]+o[m],p=((d<<30|d>>>2)^(d<<19|d>>>13)^(d<<10|d>>>22))+(d&e^d&f^e&f),l=k,k=j,j=i,i=g+n|0,g=f,f=e,e=d,d=n+p|0}c[0]=c[0]+d|0,c[1]=c[1]+e|0,c[2]=c[2]+f|0,c[3]=c[3]+g|0,c[4]=c[4]+i|0,c[5]=c[5]+j|0,c[6]=c[6]+k|0,c[7]=c[7]+l|0},_doFinalize:function(){var b=this._data,c=b.words,d=8*this._nDataBytes,e=8*b.sigBytes;return c[e>>>5]|=128<<24-e%32,c[(e+64>>>9<<4)+14]=a.floor(d/4294967296),c[(e+64>>>9<<4)+15]=d,b.sigBytes=4*c.length,this._process(),this._hash},clone:function(){var a=f.clone.call(this);return a._hash=this._hash.clone(),a}});b.SHA256=f._createHelper(c),b.HmacSHA256=f._createHmacHelper(c)}(Math),function(){var a=e,b=a.enc.Utf8;a.algo.HMAC=a.lib.Base.extend({init:function(a,c){a=this._hasher=new a.init,"string"==typeof c&&(c=b.parse(c));var d=a.blockSize,e=4*d;c.sigBytes>e&&(c=a.finalize(c)),c.clamp();for(var f=this._oKey=c.clone(),g=this._iKey=c.clone(),h=f.words,i=g.words,j=0;d>j;j++)h[j]^=1549556828,i[j]^=909522486;f.sigBytes=g.sigBytes=e,this.reset()},reset:function(){var a=this._hasher;a.reset(),a.update(this._iKey)},update:function(a){return this._hasher.update(a),this},finalize:function(a){var b=this._hasher;return a=b.finalize(a),b.reset(),b.finalize(this._oKey.clone().concat(a))}})}(),function(){var a=e,b=a.lib.WordArray;a.enc.Base64={stringify:function(a){var b=a.words,c=a.sigBytes,d=this._map;a.clamp(),a=[];for(var e=0;c>e;e+=3)for(var f=(b[e>>>2]>>>24-8*(e%4)&255)<<16|(b[e+1>>>2]>>>24-8*((e+1)%4)&255)<<8|b[e+2>>>2]>>>24-8*((e+2)%4)&255,g=0;4>g&&c>e+.75*g;g++)a.push(d.charAt(f>>>6*(3-g)&63));if(b=d.charAt(64))for(;a.length%4;)a.push(b);return a.join("")},parse:function(a){var c=a.length,d=this._map,e=d.charAt(64);e&&(e=a.indexOf(e),-1!=e&&(c=e));for(var e=[],f=0,g=0;c>g;g++)if(g%4){var h=d.indexOf(a.charAt(g-1))<<2*(g%4),i=d.indexOf(a.charAt(g))>>>6-2*(g%4);e[f>>>2]|=(h|i)<<24-8*(f%4),f++}return b.create(e,f)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),d.crypto.internals=e,"undefined"!=typeof b&&b.exports&&(b.exports=d)},{}],385:[function(a,b,c){var d=a("./parser"),e=a("./signer"),f=a("./verify"),g=a("./util");b.exports={parse:d.parseRequest,parseRequest:d.parseRequest,sign:e.signRequest,signRequest:e.signRequest,sshKeyToPEM:g.sshKeyToPEM,sshKeyFingerprint:g.fingerprint,pemToRsaSSHKey:g.pemToRsaSSHKey,verify:f.verifySignature,verifySignature:f.verifySignature,verifyHMAC:f.verifyHMAC}},{"./parser":386,"./signer":387,"./util":388,"./verify":389}],386:[function(a,b,c){function d(a,b){Error.captureStackTrace&&Error.captureStackTrace(this,b||d),this.message=a,this.name=b.name}function e(a){d.call(this,a,e)}function f(a){d.call(this,a,f)}function g(a){d.call(this,a,g)}function h(a){d.call(this,a,h)}var i=a("assert-plus"),j=a("util"),k={"rsa-sha1":!0,"rsa-sha256":!0,"rsa-sha512":!0,"dsa-sha1":!0,"hmac-sha1":!0,"hmac-sha256":!0,"hmac-sha512":!0},l={New:0,Params:1},m={Name:0,Quote:1,Value:2,Comma:3};j.inherits(d,Error),j.inherits(e,d),j.inherits(f,d),j.inherits(g,d),j.inherits(h,d),b.exports={parseRequest:function(a,b){if(i.object(a,"request"),i.object(a.headers,"request.headers"),void 0===b&&(b={}),void 0===b.headers&&(b.headers=[a.headers["x-date"]?"x-date":"date"]),i.object(b,"options"),i.arrayOfString(b.headers,"options.headers"),i.optionalNumber(b.clockSkew,"options.clockSkew"),!a.headers.authorization)throw new h("no authorization header present in the request");b.clockSkew=b.clockSkew||300;var c=0,d=l.New,j=m.Name,n="",o="",p={scheme:"",params:{},signingString:"",get algorithm(){return this.params.algorithm.toUpperCase()},get keyId(){return this.params.keyId}},q=a.headers.authorization;for(c=0;c=65&&90>=s||s>=97&&122>=s)n+=r;else{if("="!==r)throw new f("bad param format");if(0===n.length)throw new f("bad param format");j=m.Quote}break;case m.Quote:if('"'!==r)throw new f("bad param format");o="",j=m.Value;break;case m.Value:'"'===r?(p.params[n]=o,j=m.Comma):o+=r;break;case m.Comma:if(","!==r)throw new f("bad param format");n="",j=m.Name;break;default:throw new Error("Invalid substate")}break;default:throw new Error("Invalid substate")}}if(p.params.headers&&""!==p.params.headers?p.params.headers=p.params.headers.split(" "):a.headers["x-date"]?p.params.headers=["x-date"]:p.params.headers=["date"],!p.scheme||"Signature"!==p.scheme)throw new f('scheme was not "Signature"');if(!p.params.keyId)throw new f("keyId was not specified");if(!p.params.algorithm)throw new f("algorithm was not specified");if(!p.params.signature)throw new f("signature was not specified");if(p.params.algorithm=p.params.algorithm.toLowerCase(),!k[p.params.algorithm])throw new g(p.params.algorithm+" is not supported");for(c=0;c1e3*b.clockSkew)throw new e("clock skew of "+x/1e3+"s was greater than "+b.clockSkew+"s")}if(b.headers.forEach(function(a){if(p.params.headers.indexOf(a)<0)throw new h(a+" was not a signed header")}),b.algorithms&&-1===b.algorithms.indexOf(p.params.algorithm))throw new g(p.params.algorithm+" is not a supported algorithm");return p}}},{"assert-plus":396,util:321}],387:[function(a,b,c){function d(a){this.name="MissingHeaderError",this.message=a,this.stack=(new Error).stack}function e(a){this.name="InvalidAlgorithmError",this.message=a,this.stack=(new Error).stack}function f(a){return parseInt(a,10)<10&&(a="0"+a),a}function g(){var a=new Date,b=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],c=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];return c[a.getUTCDay()]+", "+f(a.getUTCDate())+" "+b[a.getUTCMonth()]+" "+a.getUTCFullYear()+" "+f(a.getUTCHours())+":"+f(a.getUTCMinutes())+":"+f(a.getUTCSeconds())+" GMT"}var h=a("assert-plus"),i=a("crypto"),j=(a("http"),a("util").format),k={"rsa-sha1":!0,"rsa-sha256":!0,"rsa-sha512":!0,"dsa-sha1":!0,"hmac-sha1":!0,"hmac-sha256":!0,"hmac-sha512":!0},l='Signature keyId="%s",algorithm="%s",headers="%s",signature="%s"';d.prototype=new Error,e.prototype=new Error,b.exports={signRequest:function(a,b){if(h.object(a,"request"),h.object(b,"options"),h.optionalString(b.algorithm,"options.algorithm"),h.string(b.keyId,"options.keyId"),h.optionalArrayOfString(b.headers,"options.headers"),h.optionalString(b.httpVersion,"options.httpVersion"),a.getHeader("Date")||a.setHeader("Date",g()),b.headers||(b.headers=["date"]),b.algorithm||(b.algorithm="rsa-sha256"),b.httpVersion||(b.httpVersion="1.1"),b.algorithm=b.algorithm.toLowerCase(),!k[b.algorithm])throw new e(b.algorithm+" is not supported");var c,f="";for(c=0;c=this._size)return null;var b=255&this._buf[a++];if(null===b)return null;if(128==(128&b)){if(b&=127,0==b)throw h("Indefinite length not supported");if(b>4)throw h("encoding too long");if(this._size-ac;c++)this._len=(this._len<<8)+(255&this._buf[a++])}else this._len=b;return a},d.prototype.readSequence=function(a){var b=this.peek();if(null===b)return null;if(void 0!==a&&a!==b)throw h("Expected 0x"+a.toString(16)+": got 0x"+b.toString(16));var c=this.readLength(this._offset+1);return null===c?null:(this._offset=c,b)},d.prototype.readInt=function(){return this._readTag(f.Integer)},d.prototype.readBoolean=function(){return 0===this._readTag(f.Boolean)?!1:!0},d.prototype.readEnumeration=function(){return this._readTag(f.Enumeration)},d.prototype.readString=function(a,b){a||(a=f.OctetString);var c=this.peek();if(null===c)return null;if(c!==a)throw h("Expected 0x"+a.toString(16)+": got 0x"+c.toString(16));var d=this.readLength(this._offset+1);if(null===d)return null;if(this.length>this._size-d)return null;if(this._offset=d,0===this.length)return"";var e=this._buf.slice(this._offset,this._offset+this.length);return this._offset+=this.length,b?e:e.toString("utf8")},d.prototype.readOID=function(a){a||(a=f.OID);var b=this.peek();if(null===b)return null;if(b!==a)throw h("Expected 0x"+a.toString(16)+": got 0x"+b.toString(16));var c=this.readLength(this._offset+1);if(null===c)return null;if(this.length>this._size-c)return null;this._offset=c;for(var d=[],e=0,g=0;g>0),d.join(".")},d.prototype._readTag=function(a){e.ok(void 0!==a);var b=this.peek();if(null===b)return null;if(b!==a)throw h("Expected 0x"+a.toString(16)+": got 0x"+b.toString(16));var c=this.readLength(this._offset+1);if(null===c)return null;if(this.length>4)throw h("Integer too long: "+this.length);if(this.length>this._size-c)return null;this._offset=c;var d=this._buf[this._offset++],f=0;f=127&d;for(var g=1;g1;)c--,a<<=8;if(c>4)throw new InvalidAsn1Error("BER ints cannot be > 0xffffffff");for(this._ensure(2+c),this._buf[this._offset++]=b,this._buf[this._offset++]=c;c-->0;)this._buf[this._offset++]=(4278190080&a)>>24,a<<=8},e.prototype.writeNull=function(){this.writeByte(g.Null),this.writeByte(0)},e.prototype.writeEnumeration=function(a,b){if("number"!=typeof a)throw new TypeError("argument must be a Number");return"number"!=typeof b&&(b=g.Enumeration),this.writeInt(a,b)},e.prototype.writeBoolean=function(a,b){if("boolean"!=typeof a)throw new TypeError("argument must be a Boolean");"number"!=typeof b&&(b=g.Boolean),this._ensure(3),this._buf[this._offset++]=b,this._buf[this._offset++]=1,this._buf[this._offset++]=a?255:0},e.prototype.writeString=function(a,b){if("string"!=typeof a)throw new TypeError("argument must be a string (was: "+typeof a+")");"number"!=typeof b&&(b=g.OctetString);var d=c.byteLength(a);this.writeByte(b),this.writeLength(d),d&&(this._ensure(d),this._buf.write(a,this._offset),this._offset+=d)},e.prototype.writeBuffer=function(a,b){if("number"!=typeof b)throw new TypeError("tag must be a number");if(!c.isBuffer(a))throw new TypeError("argument must be a buffer");this.writeByte(b),this.writeLength(a.length),this._ensure(a.length),a.copy(this._buf,this._offset,0,a.length),this._offset+=a.length},e.prototype.writeStringArray=function(a){if(!a instanceof Array)throw new TypeError("argument must be an Array[String]");var b=this;a.forEach(function(a){b.writeString(a)})},e.prototype.writeOID=function(a,b){function c(a,b){128>b?a.push(b):16384>b?(a.push(b>>>7|128),a.push(127&b)):2097152>b?(a.push(b>>>14|128),a.push(255&(b>>>7|128)),a.push(127&b)):268435456>b?(a.push(b>>>21|128),a.push(255&(b>>>14|128)),a.push(255&(b>>>7|128)),a.push(127&b)):(a.push(255&(b>>>28|128)),a.push(255&(b>>>21|128)),a.push(255&(b>>>14|128)),a.push(255&(b>>>7|128)),a.push(127&b))}if("string"!=typeof a)throw new TypeError("argument must be a string");if("number"!=typeof b&&(b=g.OID),!/^([0-9]+\.){3,}[0-9]+$/.test(a))throw new Error("argument is not a valid OID string");var d=a.split("."),e=[];e.push(40*parseInt(d[0],10)+parseInt(d[1],10)),d.slice(2).forEach(function(a){c(e,parseInt(a,10))});var f=this;this._ensure(2+e.length),this.writeByte(b),this.writeLength(e.length),e.forEach(function(a){f.writeByte(a)})},e.prototype.writeLength=function(a){if("number"!=typeof a)throw new TypeError("argument must be a Number");if(this._ensure(4),127>=a)this._buf[this._offset++]=a;else if(255>=a)this._buf[this._offset++]=129,this._buf[this._offset++]=a;else if(65535>=a)this._buf[this._offset++]=130,this._buf[this._offset++]=a>>8,this._buf[this._offset++]=a;else{if(!(16777215>=a))throw new InvalidAsn1ERror("Length too long (> 4 bytes)");this._shift(start,a,1),this._buf[this._offset++]=131,this._buf[this._offset++]=a>>16,this._buf[this._offset++]=a>>8, -this._buf[this._offset++]=a}},e.prototype.startSequence=function(a){"number"!=typeof a&&(a=g.Sequence|g.Constructor),this.writeByte(a),this._seq.push(this._offset),this._ensure(3),this._offset+=3},e.prototype.endSequence=function(){var a=this._seq.pop(),b=a+3,c=this._offset-b;if(127>=c)this._shift(b,c,-2),this._buf[a]=c;else if(255>=c)this._shift(b,c,-1),this._buf[a]=129,this._buf[a+1]=c;else if(65535>=c)this._buf[a]=130,this._buf[a+1]=c>>8,this._buf[a+2]=c;else{if(!(16777215>=c))throw new InvalidAsn1Error("Sequence too long");this._shift(b,c,1),this._buf[a]=131,this._buf[a+1]=c>>16,this._buf[a+2]=c>>8,this._buf[a+3]=c}},e.prototype._shift=function(a,b,c){f.ok(void 0!==a),f.ok(void 0!==b),f.ok(c),this._buf.copy(this._buf,a+c,a,a+b),this._offset+=c},e.prototype._ensure=function(a){if(f.ok(a),this._size-this._offset=2)throw new Error("Malformed CTF JSON: found more than one entry");return"integer"in a?void d(a,b):"float"in a?void e(a,b):"typedef"in a?void f(a,b):"struct"in a?void g(a,b):void k(!1,"shouldn't reach here")}function i(a,b){var c,d;if(k(a),k(b),!("metadata"in a))throw new Error("Invalid CTF JSON: missing metadata section");if(!("ctf2json_version"in a.metadata))throw new Error("Invalid CTF JSON: missing ctf2json_version");for(c=a.metadata.ctf2json_version,d=0;d=a.length)throw new Error("Trying to read beyond buffer length");return a[c]}function e(a,b,c){var d=0;return"big"==b?(d=a[c]<<8,d|=a[c+1]):(d=a[c],d|=a[c+1]<<8),d}function f(a,b,c){if(void 0===b)throw new Error("missing endian");if(void 0===a)throw new Error("missing buffer");if(void 0===c)throw new Error("missing offset");if(c+1>=a.length)throw new Error("Trying to read beyond buffer length");return e(a,b,c)}function g(a,b,c){var d=0;return"big"==b?(d=a[c+1]<<16,d|=a[c+2]<<8,d|=a[c+3],d+=a[c]<<24>>>0):(d=a[c+2]<<16,d|=a[c+1]<<8,d|=a[c],d+=a[c+3]<<24>>>0),d}function h(a,b,c){if(void 0===b)throw new Error("missing endian");if(void 0===a)throw new Error("missing buffer");if(void 0===c)throw new Error("missing offset");if(c+3>=a.length)throw new Error("Trying to read beyond buffer length");return g(a,b,c)}function i(a,b,c){var d=new Array(2);return"big"==b?(d[0]=h(a,b,c),d[1]=h(a,b,c+4)):(d[0]=h(a,b,c+4),d[1]=h(a,b,c)),d}function j(a,b,c){if(void 0===b)throw new Error("missing endian");if(void 0===a)throw new Error("missing buffer");if(void 0===c)throw new Error("missing offset");if(c+7>=a.length)throw new Error("Trying to read beyond buffer length");return i(a,b,c)}function k(a,b,c){var d;if(void 0===b)throw new Error("missing endian");if(void 0===a)throw new Error("missing buffer");if(void 0===c)throw new Error("missing offset");if(c>=a.length)throw new Error("Trying to read beyond buffer length");return d=128&a[c],d?-1*(255-a[c]+1):a[c]}function l(a,b,c){var d,f;if(void 0===b)throw new Error("missing endian");if(void 0===a)throw new Error("missing buffer");if(void 0===c)throw new Error("missing offset");if(c+1>=a.length)throw new Error("Trying to read beyond buffer length");return f=e(a,b,c),d=32768&f,d?-1*(65535-f+1):f}function m(a,b,c){var d,e;if(void 0===b)throw new Error("missing endian");if(void 0===a)throw new Error("missing buffer");if(void 0===c)throw new Error("missing offset");if(c+3>=a.length)throw new Error("Trying to read beyond buffer length");return e=g(a,b,c),d=2147483648&e,d?-1*(4294967295-e+1):e}function n(a,b,c){var d,e;if(void 0===b)throw new Error("missing endian");if(void 0===a)throw new Error("missing buffer");if(void 0===c)throw new Error("missing offset");if(c+3>=a.length)throw new Error("Trying to read beyond buffer length");return e=i(a,b,c),(d=2147483648&e[0])?(e[0]=-1*(4294967295-e[0]),e[1]=-1*(4294967295-e[1]+1),I.ok(e[1]<=4294967296),-4294967296==e[1]&&(e[1]=0,e[0]--),e):e}function o(a,b,c){var d,e,f,g,h=[],i=127,j=255;if(void 0===b)throw new Error("missing endian");if(void 0===a)throw new Error("missing buffer");if(void 0===c)throw new Error("missing offset");if(c+3>=a.length)throw new Error("Trying to read beyond buffer length");return"big"==b?(h[0]=a[c],h[1]=a[c+1],h[2]=a[c+2],h[3]=a[c+3]):(h[3]=a[c],h[2]=a[c+1],h[1]=a[c+2],h[0]=a[c+3]),d=128&h[0],e=(127&h[0])<<1,e|=(128&h[1])>>>7,f=(127&h[1])<<16,f|=h[2]<<8,f|=h[3],d||e!=j||0!==f?d&&e==j&&0===f?Number.NEGATIVE_INFINITY:e==j&&0!==f?Number.NaN:0===e&&0===f?0:(e-=i,e==-i?(e++,g=0):g=1,g=(g+f*Math.pow(2,-23))*Math.pow(2,e),d&&(g*=-1),g):Number.POSITIVE_INFINITY}function p(a,b,c){var d,e,f,g,h,i=[],j=1023,k=2047;if(void 0===b)throw new Error("missing endian");if(void 0===a)throw new Error("missing buffer");if(void 0===c)throw new Error("missing offset");if(c+7>=a.length)throw new Error("Trying to read beyond buffer length");return"big"==b?(i[0]=a[c],i[1]=a[c+1],i[2]=a[c+2],i[3]=a[c+3],i[4]=a[c+4],i[5]=a[c+5],i[6]=a[c+6],i[7]=a[c+7]):(i[7]=a[c],i[6]=a[c+1],i[5]=a[c+2],i[4]=a[c+3],i[3]=a[c+4],i[2]=a[c+5],i[1]=a[c+6],i[0]=a[c+7]),d=128&i[0],e=(127&i[0])<<4,e|=(240&i[1])>>>4,h=i[7],h|=i[6]<<8,h|=i[5]<<16,f=i[4],f|=i[3]<<8,f|=i[2]<<16,f|=(15&i[1])<<24,f*=Math.pow(2,24),f+=h,d||e!=k||0!==f?d&&e==k&&0===f?Number.NEGATIVE_INFINITY:e==k&&0!==f?Number.NaN:0===e&&0===f?0:(e-=j,e==-j?(e++,g=0):g=1,g=(g+f*Math.pow(2,-52))*Math.pow(2,e),d&&(g*=-1),g):Number.POSITIVE_INFINITY}function q(a,b){if("number"!=typeof a)throw new(Error("cannot write a non-number as a number"));if(0>a)throw new Error("specified a negative value for writing an unsigned value");if(a>b)throw new Error("value is larger than maximum value for type");if(Math.floor(a)!==a)throw new Error("value has a fractional component");return a}function r(a,b,c,d){var e;if(void 0===a)throw new Error("missing value");if(void 0===b)throw new Error("missing endian");if(void 0===c)throw new Error("missing buffer");if(void 0===d)throw new Error("missing offset");if(d>=c.length)throw new Error("Trying to read beyond buffer length");e=q(a,255),c[d]=e}function s(a,b,c,d){"big"==b?(c[d]=(65280&a)>>>8,c[d+1]=255&a):(c[d+1]=(65280&a)>>>8,c[d]=255&a)}function t(a,b,c,d){var e;if(void 0===a)throw new Error("missing value");if(void 0===b)throw new Error("missing endian");if(void 0===c)throw new Error("missing buffer");if(void 0===d)throw new Error("missing offset");if(d+1>=c.length)throw new Error("Trying to read beyond buffer length");e=q(a,65535),s(e,b,c,d)}function u(a,b,c,d){"big"==b?(c[d]=(a-(16777215&a))/Math.pow(2,24),c[d+1]=a>>>16&255,c[d+2]=a>>>8&255,c[d+3]=255&a):(c[d+3]=(a-(16777215&a))/Math.pow(2,24),c[d+2]=a>>>16&255,c[d+1]=a>>>8&255,c[d]=255&a)}function v(a,b,c,d){var e;if(void 0===a)throw new Error("missing value");if(void 0===b)throw new Error("missing endian");if(void 0===c)throw new Error("missing buffer");if(void 0===d)throw new Error("missing offset");if(d+3>=c.length)throw new Error("Trying to read beyond buffer length");e=q(a,4294967295),u(e,b,c,d)}function w(a,b,c,d){"big"==b?(u(a[0],b,c,d),u(a[1],b,c,d+4)):(u(a[0],b,c,d+4),u(a[1],b,c,d))}function x(a,b,c,d){if(void 0===a)throw new Error("missing value");if(!(a instanceof Array))throw new Error("value must be an array");if(2!=a.length)throw new Error("value must be an array of length 2");if(void 0===b)throw new Error("missing endian");if(void 0===c)throw new Error("missing buffer");if(void 0===d)throw new Error("missing offset");if(d+7>=c.length)throw new Error("Trying to read beyond buffer length");q(a[0],4294967295),q(a[1],4294967295),w(a,b,c,d)}function y(a,b,c){if("number"!=typeof a)throw new(Error("cannot write a non-number as a number"));if(a>b)throw new Error("value larger than maximum allowed value");if(c>a)throw new Error("value smaller than minimum allowed value");if(Math.floor(a)!==a)throw new Error("value has a fractional component");return a}function z(a,b,c,d){var e;if(void 0===a)throw new Error("missing value");if(void 0===b)throw new Error("missing endian");if(void 0===c)throw new Error("missing buffer");if(void 0===d)throw new Error("missing offset");if(d>=c.length)throw new Error("Trying to read beyond buffer length");e=y(a,127,-128),e>=0?r(e,b,c,d):r(255+e+1,b,c,d)}function A(a,b,c,d){var e;if(void 0===a)throw new Error("missing value");if(void 0===b)throw new Error("missing endian");if(void 0===c)throw new Error("missing buffer");if(void 0===d)throw new Error("missing offset");if(d+1>=c.length)throw new Error("Trying to read beyond buffer length");e=y(a,32767,-32768),e>=0?s(e,b,c,d):s(65535+e+1,b,c,d)}function B(a,b,c,d){var e;if(void 0===a)throw new Error("missing value");if(void 0===b)throw new Error("missing endian");if(void 0===c)throw new Error("missing buffer");if(void 0===d)throw new Error("missing offset");if(d+3>=c.length)throw new Error("Trying to read beyond buffer length");e=y(a,2147483647,-2147483648),e>=0?u(e,b,c,d):u(4294967295+e+1,b,c,d)}function C(a,b,c,d){var e,f,g=new Array(2);if(void 0===a)throw new Error("missing value");if(!(a instanceof Array))throw new Error("value must be an array");if(2!=a.length)throw new Error("value must be an array of length 2");if(void 0===b)throw new Error("missing endian");if(void 0===c)throw new Error("missing buffer");if(void 0===d)throw new Error("missing offset");if(d+7>=c.length)throw new Error("Trying to read beyond buffer length");if(e=a[0]*Number.POSITIVE_INFINITY==Number.POSITIVE_INFINITY,f=a[1]*Number.POSITIVE_INFINITY==Number.POSITIVE_INFINITY,0!=a[0]&&0!=a[1]&&e!=f)throw new Error("Both entries in the array must have the same sign");if(e)q(a[0],2147483647),q(a[1],4294967295);else if(y(a[0],0,-2147483648),y(a[1],0,-4294967295),-2147483648==a[0]&&0!=a[1])throw new Error("value smaller than minimum allowed value");a[0]<0||a[1]<0?(g[0]=4294967295-Math.abs(a[0]),g[1]=4294967296-Math.abs(a[1]),4294967296==g[1]&&(g[1]=0,g[0]++)):(g[0]=a[0],g[1]=a[1]),w(g,b,c,d)}function D(a){return Math.log(a)/Math.log(2)}function E(a){return Math.floor(D(a))}function F(a){return Math.floor(D(a))}function G(a,b,c,d){var e,f,g,h,i=[];if(void 0===a)throw new Error("missing value");if(void 0===b)throw new Error("missing endian");if(void 0===c)throw new Error("missing buffer");if(void 0===d)throw new Error("missing offset");if(d+3>=c.length)throw new Error("Trying to read beyond buffer length");isNaN(a)?(e=0,f=255,g=23):a==Number.POSITIVE_INFINITY?(e=0,f=255,g=0):a==Number.NEGATIVE_INFINITY?(e=1,f=255,g=0):(0>a?(e=1,a=Math.abs(a)):e=0,h=1>a?F(a):E(a),-127>=h?(f=0,g=a*Math.pow(2,149)&8388607):(f=127+h,g=a*Math.pow(2,23-h),g&=8388607)),i[0]=e<<7|(254&f)>>>1,i[1]=(1&f)<<7|(8323072&g)>>>16,i[2]=(65280&g)>>>8,i[3]=255&g,"big"==b?(c[d]=i[0],c[d+1]=i[1],c[d+2]=i[2],c[d+3]=i[3]):(c[d]=i[3],c[d+1]=i[2],c[d+2]=i[1],c[d+3]=i[0])}function H(a,b,c,d){var e,f,g,h,i=[];if(void 0===a)throw new Error("missing value");if(void 0===b)throw new Error("missing endian");if(void 0===c)throw new Error("missing buffer");if(void 0===d)throw new Error("missing offset");if(d+7>=c.length)throw new Error("Trying to read beyond buffer length");isNaN(a)?(e=0,f=2047,g=23):a==Number.POSITIVE_INFINITY?(e=0,f=2047,g=0):a==Number.NEGATIVE_INFINITY?(e=1,f=2047,g=0):(0>a?(e=1,a=Math.abs(a)):e=0,h=1>a?F(a):E(a),2.225073858507201e-308>=a||-1023>=h?(f=0,g=a*Math.pow(2,1023)*Math.pow(2,51),g%=Math.pow(2,52)):(h>1023&&(h=1023),f=1023+h,g=a*Math.pow(2,-h),g*=Math.pow(2,52),g%=Math.pow(2,52))),i[7]=255&g,i[6]=g>>>8&255,i[5]=g>>>16&255,g=(g-(16777215&g))/Math.pow(2,24),i[4]=255&g,i[3]=g>>>8&255,i[2]=g>>>16&255,i[1]=(15&f)<<4|g>>>24,i[0]=e<<7|(2032&f)>>>4,"big"==b?(c[d]=i[0],c[d+1]=i[1],c[d+2]=i[2],c[d+3]=i[3],c[d+4]=i[4],c[d+5]=i[5],c[d+6]=i[6],c[d+7]=i[7]):(c[d+7]=i[0],c[d+6]=i[1],c[d+5]=i[2],c[d+4]=i[3],c[d+3]=i[4],c[d+2]=i[5],c[d+1]=i[6],c[d]=i[7])}var I=a("assert");c.ruint8=d,c.ruint16=f,c.ruint32=h,c.ruint64=j,c.wuint8=r,c.wuint16=t,c.wuint32=v,c.wuint64=x,c.rsint8=k,c.rsint16=l,c.rsint32=m,c.rsint64=n,c.wsint8=z,c.wsint16=A,c.wsint32=B,c.wsint64=C,c.rfloat=o,c.rdouble=p,c.wfloat=G,c.wdouble=H},{assert:130}],399:[function(a,b,c){(function(b){function d(a,b,c){var d=L.ruint8(b,a,c);return{value:d,size:1}}function e(a,b,c){var d=L.ruint16(b,a,c);return{value:d,size:2}}function f(a,b,c){var d=L.ruint32(b,a,c);return{value:d,size:4}}function g(a,b,c){var d=L.ruint64(b,a,c);return{value:d,size:8}}function h(a,b,c){var d=L.rsint8(b,a,c);return{value:d,size:1}}function i(a,b,c){var d=L.rsint16(b,a,c);return{value:d,size:2}}function j(a,b,c){var d=L.rsint32(b,a,c);return{value:d,size:4}}function k(a,b,c){var d=L.rsint64(b,a,c);return{value:d,size:8}}function l(a,b,c){var d=L.rfloat(b,a,c);return{value:d,size:4}}function m(a,b,c){var d=L.rdouble(b,a,c);return{value:d,size:8}}function n(a,c,d){var e=new b(1);return e[0]=L.ruint8(c,a,d),{value:e,size:1}}function o(a,c,d,e){var f,g=new b(a);for(f=0;a>f;f++)g[f]=L.ruint8(d,c,e+f);return{value:g,size:a}}function p(a,b,c,d){return L.wuint8(a,b,c,d),1}function q(a,b,c,d){return L.wuint16(a,b,c,d),2}function r(a,b,c,d){return L.wuint32(a,b,c,d),4}function s(a,b,c,d){return L.wuint64(a,b,c,d),8}function t(a,b,c,d){return L.wsint8(a,b,c,d),1}function u(a,b,c,d){return L.wsint16(a,b,c,d),2}function v(a,b,c,d){return L.wsint32(a,b,c,d),4}function w(a,b,c,d){return L.wsint64(a,b,c,d),8}function x(a,b,c,d){return L.wfloat(a,b,c,d),4}function y(a,b,c,d){return L.wdouble(a,b,c,d),8}function z(a,c,d,e){if(!(a instanceof b))throw new Error("Input must be a buffer");return L.ruint8(a[0],c,d,e),1}function A(a,c,d,e,f){var g;if(!(a instanceof b))throw new Error("Input must be a buffer");if(a.length>c)throw new Error("value length greater than array length");for(g=0;gg;g++)L.wuint8(a[g],d,e,f+g);for(;c>g;g++)L.wuint8(0,d,f+g);return c}function B(){var a,b={};for(a in N)b[a]=N[a];return b}function C(a){var b,c,d,e;if("string"!=typeof a)throw new Error("type must be a Javascript string");if(c=a.lastIndexOf("]"),-1==c){if(-1!=a.lastIndexOf("["))throw new Error("found invalid type with '[' but no corresponding ']'");return{type:a}}if(b=a.lastIndexOf("["),-1==b)throw new Error("found invalid type with ']' but no corresponding '['");if(b>=c)throw new Error("malformed type, ']' appears before '['");return d=a.substring(0,b),e=a.substring(b+1,c),{type:d,len:e}}function D(a,b,c){var d,e,f,g,h,i={};if(!(a instanceof Array))throw new Error("definition is not an array");if(0===a.length)throw new Error("definition must have at least one element");for(d=0;d=1048576)throw new Error("value would become approximated");return a[0]*Math.pow(2,32)+a[1]}function I(a){if(void 0===a)throw new Error("missing required arg: value");if(!Array.isArray(a))throw new Error("value must be an array");if(2!=a.length)throw new Error("value must be an array of length 2");return Math.pow(2,32)*a[0]+a[1]}function J(a,b){var c=new E(b);return K.ctfParseJson(a,c),c}var K=a("./ctf.js"),L=a("./ctio.js"),M=a("assert"),N={uint8_t:{read:d,write:p},uint16_t:{read:e,write:q},uint32_t:{read:f,write:r},uint64_t:{read:g,write:s},int8_t:{read:h,write:t},int16_t:{read:i,write:u},int32_t:{read:j,write:v},int64_t:{read:k,write:w},"float":{read:l,write:x},"double":{read:m,write:y},"char":{read:n,write:z},"char[]":{read:o,write:A}};E.prototype.setEndian=function(a){if("big"!=a&&"little"!=a)throw new Error("invalid endian type, must be big or little");this.endian=a},E.prototype.getEndian=function(){return this.endian},E.prototype.typedef=function(a,b){var c;if(void 0===a)throw new(Error("missing required typedef argument: name"));if(void 0===b)throw new(Error("missing required typedef argument: value"));if("string"!=typeof a)throw new(Error("the name of a type must be a string"));if(c=C(a),void 0!==c.len)throw new Error("Cannot have an array in the typedef name");if(a in this.types)throw new Error("typedef name already present: "+a);if("string"!=typeof b&&!(b instanceof Array))throw new Error("typedef value must either be a string or struct");if("string"==typeof b){if(c=C(b),void 0!==c.len&&isNaN(parseInt(c.len,10)))throw new(Error("typedef value must use fixed size array when outside of a struct"));this.types[a]=b}else D(b,this.types),this.types[a]=b},E.prototype.lstypes=function(){var a,b={};for(a in this.types)a in N||(b[a]=this.types[a]);return b},E.prototype.resolveTypedef=function(a,b,c,d,e){var f;if(M.ok(a in this.types),"string"==typeof this.types[a]){if(f=C(this.types[a]),"read"==b)return this.readEntry(f,c,d);if("write"==b)return this.writeEntry(e,f,c,d);throw new Error("invalid dispatch type to resolveTypedef")}if("read"==b)return this.readStruct(this.types[a],c,d);if("write"==b)return this.writeStruct(e,this.types[a],c,d);throw new Error("invalid dispatch type to resolveTypedef")},E.prototype.readEntry=function(a,b,c){var d,e;if(void 0!==a.len){if(e=parseInt(a.len,10),isNaN(e))throw new Error("somehow got a non-numeric length");d="char"==a.type?this.types["char[]"].read(e,this.endian,b,c):this.readArray(a.type,e,b,c)}else d=a.type in N?this.types[a.type].read(this.endian,b,c):this.resolveTypedef(a.type,"read",b,c);return d},E.prototype.readArray=function(a,b,c,d){var e,f,g,h=d,i=new Array(b);for(g=C(a),e=0;b>e;e++)f=this.readEntry(g,c,d),d+=f.size,i[e]=f.value;return{value:i,size:d-h}},E.prototype.readStruct=function(a,b,c){var d,e,f,g,h,i=c,j={};for(e=0;ef;f++)e+=this.writeEntry(a[f],g,d,e);return e-h},E.prototype.writeEntry=function(a,b,c,d){var e,f;if(void 0!==b.len){if(e=parseInt(b.len,10),isNaN(e))throw new Error("somehow got a non-numeric length");f="char"==b.type?this.types["char[]"].write(a,e,this.endian,c,d):this.writeArray(a,b.type,e,c,d)}else f=b.type in N?this.types[b.type].write(a,this.endian,c,d):this.resolveTypedef(b.type,"write",c,d,a);return f},E.prototype.writeStruct=function(a,b,c,d){var e,f,g,h,i=d,j={};for(e=0;e0){var g=c.indexOf(this);~g?c.splice(g+1):c.push(this),~g?d.splice(g,1/0,e):d.push(e),~c.indexOf(f)&&(f=b.call(this,e,f))}else c.push(f);return null==a?f:a.call(this,e,f)}}c=b.exports=d,c.getSerialize=e},{}],402:[function(a,b,c){"use strict";function d(a){if(!a||"string"!=typeof a)return!1;var b=k.exec(a),c=b&&i[b[1].toLowerCase()];return c&&c.charset?c.charset:b&&l.test(b[1])?"UTF-8":!1}function e(a){if(!a||"string"!=typeof a)return!1;var b=-1===a.indexOf("/")?c.lookup(a):a;if(!b)return!1;if(-1===b.indexOf("charset")){var d=c.charset(b);d&&(b+="; charset="+d.toLowerCase())}return b}function f(a){if(!a||"string"!=typeof a)return!1;var b=k.exec(a),d=b&&c.extensions[b[1].toLowerCase()];return d&&d.length?d[0]:!1}function g(a){if(!a||"string"!=typeof a)return!1;var b=j("x."+a).toLowerCase().substr(1);return b?c.types[b]||!1:!1}function h(a,b){var c=["nginx","apache",void 0,"iana"];Object.keys(i).forEach(function(d){var e=i[d],f=e.extensions;if(f&&f.length){a[d]=f;for(var g=0;gk||j===k&&"application/"===b[h].substr(0,12))continue}b[h]=d}}})}var i=a("mime-db"),j=a("path").extname,k=/^\s*([^;\s]*)(?:;|\s|$)/,l=/^text\//i;c.charset=d,c.charsets={lookup:d},c.contentType=e,c.extension=f,c.extensions=Object.create(null),c.lookup=g,c.types=Object.create(null),h(c.extensions,c.types)},{"mime-db":404,path:300}],403:[function(a,b,c){b.exports={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana"},"application/3gpp-ims+xml":{source:"iana"},"application/a2l":{source:"iana"},"application/activemessage":{source:"iana"},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana"},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",extensions:["atomsvc"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana"},"application/bacnet-xdd+zip":{source:"iana"},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana"},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana"},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/cbor":{source:"iana"},"application/ccmp+xml":{source:"iana"},"application/ccxml+xml":{source:"iana",extensions:["ccxml"]},"application/cdfx+xml":{source:"iana"},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana"},"application/cellml+xml":{source:"iana"},"application/cfw":{source:"iana"},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana"},"application/coap-group+json":{source:"iana",compressible:!0},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana"},"application/cpl+xml":{source:"iana"},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana" -},"application/cstadata+xml":{source:"iana"},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",extensions:["mdp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana"},"application/dicom":{source:"iana"},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/docbook+xml":{source:"apache",extensions:["dbk"]},"application/dskpp+xml":{source:"iana"},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/emma+xml":{source:"iana",extensions:["emma"]},"application/emotionml+xml":{source:"iana"},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana"},"application/epub+zip":{source:"iana",extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana"},"application/fits":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1,extensions:["woff"]},"application/font-woff2":{compressible:!1,extensions:["woff2"]},"application/framework-attributes+xml":{source:"iana"},"application/gml+xml":{source:"apache",extensions:["gml"]},"application/gpx+xml":{source:"apache",extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1},"application/h224":{source:"iana"},"application/held+xml":{source:"iana"},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana"},"application/ibe-pkg-reply+xml":{source:"iana"},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana"},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana"},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js"]},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana"},"application/kpml-response+xml":{source:"iana"},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana"},"application/lost+xml":{source:"iana",extensions:["lostxml"]},"application/lostsync+xml":{source:"iana"},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",extensions:["mads"]},"application/manifest+json":{charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",extensions:["mathml"]},"application/mathml-content+xml":{source:"iana"},"application/mathml-presentation+xml":{source:"iana"},"application/mbms-associated-procedure-description+xml":{source:"iana"},"application/mbms-deregister+xml":{source:"iana"},"application/mbms-envelope+xml":{source:"iana"},"application/mbms-msk+xml":{source:"iana"},"application/mbms-msk-response+xml":{source:"iana"},"application/mbms-protection-description+xml":{source:"iana"},"application/mbms-reception-report+xml":{source:"iana"},"application/mbms-register+xml":{source:"iana"},"application/mbms-register-response+xml":{source:"iana"},"application/mbms-schedule+xml":{source:"iana"},"application/mbms-user-service-description+xml":{source:"iana"},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana"},"application/media_control+xml":{source:"iana"},"application/mediaservercontrol+xml":{source:"iana",extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",extensions:["metalink"]},"application/metalink4+xml":{source:"iana",extensions:["meta4"]},"application/mets+xml":{source:"iana",extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mods+xml":{source:"iana",extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana"},"application/mrb-publish+xml":{source:"iana"},"application/msc-ivr+xml":{source:"iana"},"application/msc-mixer+xml":{source:"iana"},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mxf":{source:"iana",extensions:["mxf"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana"},"application/news-groupinfo":{source:"iana"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana"},"application/nss":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p2p-overlay+xml":{source:"iana"},"application/parityfec":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana"},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana"},"application/pidf-diff+xml":{source:"iana"},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",extensions:["pls"]},"application/poc-settings+xml":{source:"iana"},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/provenance+xml":{source:"iana"},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.hpub+zip":{source:"iana"},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana"},"application/pskc+xml":{source:"iana",extensions:["pskcxml"]},"application/qsig":{source:"iana"},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf"]},"application/reginfo+xml":{source:"iana",extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",extensions:["rld"]},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana"},"application/rls-services+xml":{source:"iana",extensions:["rs"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana"},"application/samlmetadata+xml":{source:"iana"},"application/sbml+xml":{source:"iana",extensions:["sbml"]},"application/scaip+xml":{source:"iana"},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/sep+xml":{source:"iana"},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",extensions:["shf"]},"application/sieve":{source:"iana"},"application/simple-filter+xml":{source:"iana"},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",extensions:["srx"]},"application/spirits-event+xml":{source:"iana"},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",extensions:["grxml"]},"application/sru+xml":{source:"iana",extensions:["sru"]},"application/ssdl+xml":{source:"apache",extensions:["ssdl"]},"application/ssml+xml":{source:"iana",extensions:["ssml"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/tei+xml":{source:"iana",extensions:["tei","teicorpus"]},"application/thraud+xml":{source:"iana",extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/ttml+xml":{source:"iana"},"application/tve-trigger":{source:"iana"},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana"},"application/urc-ressheet+xml":{source:"iana"},"application/urc-targetdesc+xml":{source:"iana"},"application/urc-uisocketdesc+xml":{source:"iana"},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana"},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.3gpp.bsf+xml":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.ussd+xml":{source:"iana"},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana"},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",extensions:["mpkg"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avistar+xml":{source:"iana"},"application/vnd.balsamiq.bmml+xml":{source:"iana"},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.biopax.rdf+xml":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",extensions:["cdxml"]},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana"},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",extensions:["wbs"]},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana"},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana"},"application/vnd.cybank":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume-movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana"},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana"},"application/vnd.dvb.notif-container+xml":{source:"iana"},"application/vnd.dvb.notif-generic+xml":{source:"iana"},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana"},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana"},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana"},"application/vnd.dvb.notif-init+xml":{source:"iana"},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana"},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana"},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.eszigno3+xml":{source:"iana",extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana"},"application/vnd.etsi.asic-e+zip":{source:"iana"},"application/vnd.etsi.asic-s+zip":{source:"iana"},"application/vnd.etsi.cug+xml":{source:"iana"},"application/vnd.etsi.iptvcommand+xml":{source:"iana"},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana"},"application/vnd.etsi.iptvprofile+xml":{source:"iana"},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana"},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana"},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana"},"application/vnd.etsi.iptvservice+xml":{source:"iana"},"application/vnd.etsi.iptvsync+xml":{source:"iana"},"application/vnd.etsi.iptvueprofile+xml":{source:"iana"},"application/vnd.etsi.mcid+xml":{source:"iana"},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana"},"application/vnd.etsi.pstn+xml":{source:"iana"},"application/vnd.etsi.sci+xml":{source:"iana"},"application/vnd.etsi.simservs+xml":{source:"iana"},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana"},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eudora.data":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana"},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana"},"application/vnd.gov.sk.e-form+zip":{source:"iana"},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana"},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana"},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana"},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana", -extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana"},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana"},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana"},"application/vnd.iptc.g2.newsitem+xml":{source:"iana"},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana"},"application/vnd.iptc.g2.packageitem+xml":{source:"iana"},"application/vnd.iptc.g2.planningitem+xml":{source:"iana"},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las.las+xml":{source:"iana",extensions:["lasxml"]},"application/vnd.liberty-request+xml":{source:"iana"},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",extensions:["lbe"]},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana"},"application/vnd.marlin.drm.conftoken+xml":{source:"iana"},"application/vnd.marlin.drm.license+xml":{source:"iana"},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana"},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana"},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printing.printticket+xml":{source:"apache"},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana"},"application/vnd.nokia.iptv.config+xml":{source:"iana"},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana"},"application/vnd.nokia.landmarkcollection+xml":{source:"iana"},"application/vnd.nokia.n-gage.ac+xml":{source:"iana"},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana"},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana"},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana"},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana"},"application/vnd.oipf.dae.xhtml+xml":{source:"iana"},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana"},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana"},"application/vnd.oipf.spdlist+xml":{source:"iana"},"application/vnd.oipf.ueprofile+xml":{source:"iana"},"application/vnd.oipf.userprofile+xml":{source:"iana"},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana"},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana"},"application/vnd.oma.bcast.imd+xml":{source:"iana"},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana"},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana"},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana"},"application/vnd.oma.bcast.sprov+xml":{source:"iana"},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana"},"application/vnd.oma.cab-feature-handler+xml":{source:"iana"},"application/vnd.oma.cab-pcc+xml":{source:"iana"},"application/vnd.oma.cab-subs-invite+xml":{source:"iana"},"application/vnd.oma.cab-user-prefs+xml":{source:"iana"},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana"},"application/vnd.oma.group-usage-list+xml":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana"},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana"},"application/vnd.oma.poc.final-report+xml":{source:"iana"},"application/vnd.oma.poc.groups+xml":{source:"iana"},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana"},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana"},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana"},"application/vnd.oma.xcap-directory+xml":{source:"iana"},"application/vnd.omads-email+xml":{source:"iana"},"application/vnd.omads-file+xml":{source:"iana"},"application/vnd.omads-folder+xml":{source:"iana"},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml-template":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"apache",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml-template":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"apache",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml-template":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"apache",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana"},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana"},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana"},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana"},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana"},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos+xml":{source:"iana"},"application/vnd.paos.xml":{source:"apache"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana"},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana"},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana"},"application/vnd.radisys.msml+xml":{source:"iana"},"application/vnd.radisys.msml-audit+xml":{source:"iana"},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana"},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana"},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana"},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana"},"application/vnd.radisys.msml-conf+xml":{source:"iana"},"application/vnd.radisys.msml-dialog+xml":{source:"iana"},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana"},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana"},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana"},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana"},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana"},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana"},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.software602.filler.form+xml":{source:"iana"},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana"},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana"},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana"},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.tmd.mediaflex.api+xml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{ -source:"iana",extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana"},"application/vnd.wv.ssp+xml":{source:"iana"},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana"},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",extensions:["zaz"]},"application/voicexml+xml":{source:"iana",extensions:["vxml"]},"application/vq-rtcpxr":{source:"iana"},"application/watcherinfo+xml":{source:"iana"},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-otf":{source:"apache",compressible:!0,extensions:["otf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-ttf":{source:"apache",compressible:!0,extensions:["ttf","ttc"]},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"apache",extensions:["der","crt","pem"]},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana"},"application/xaml+xml":{source:"apache",extensions:["xaml"]},"application/xcap-att+xml":{source:"iana"},"application/xcap-caps+xml":{source:"iana"},"application/xcap-diff+xml":{source:"iana",extensions:["xdf"]},"application/xcap-el+xml":{source:"iana"},"application/xcap-error+xml":{source:"iana"},"application/xcap-ns+xml":{source:"iana"},"application/xcon-conference-info+xml":{source:"iana"},"application/xcon-conference-info-diff+xml":{source:"iana"},"application/xenc+xml":{source:"iana",extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache"},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana"},"application/xmpp+xml":{source:"iana"},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",extensions:["xpl"]},"application/xslt+xml":{source:"iana",extensions:["xslt"]},"application/xspf+xml":{source:"apache",extensions:["xspf"]},"application/xv+xml":{source:"iana",extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yin+xml":{source:"iana",extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana"},"audio/3gpp2":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana"},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana"},"audio/mp4":{source:"iana",compressible:!1,extensions:["mp4a","m4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tone":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/opentype":{compressible:!0,extensions:["otf"]},"image/bmp":{source:"apache",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/fits":{source:"iana"},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jp2":{source:"iana"},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jpm":{source:"iana"},"image/jpx":{source:"iana"},"image/ktx":{source:"iana",extensions:["ktx"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana"},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana"},"image/tiff":{source:"iana",compressible:!1,extensions:["tiff","tif"]},"image/tiff-fx":{source:"iana"},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana"},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana"},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana"},"image/vnd.valve.source.texture":{source:"iana"},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana"},"image/webp":{source:"apache",extensions:["webp"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana"},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana"},"message/global-delivery-status":{source:"iana"},"message/global-disposition-notification":{source:"iana"},"message/global-headers":{source:"iana"},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana"},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/vnd.collada+xml":{source:"iana",extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana"},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana"},"model/vnd.parasolid.transmit.binary":{source:"iana"},"model/vnd.parasolid.transmit.text":{source:"iana"},"model/vnd.valve.source.compiled-map":{source:"iana"},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana"},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana"},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana",compressible:!1},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/css":{source:"iana",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fwdred":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/hjson":{extensions:["hjson"]},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{extensions:["less"]},"text/markdown":{source:"iana"},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{ -extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["markdown","md","mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"apache"},"video/3gpp":{source:"apache",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"apache"},"video/3gpp2":{source:"apache",extensions:["3g2"]},"video/bmpeg":{source:"apache"},"video/bt656":{source:"apache"},"video/celb":{source:"apache"},"video/dv":{source:"apache"},"video/h261":{source:"apache",extensions:["h261"]},"video/h263":{source:"apache",extensions:["h263"]},"video/h263-1998":{source:"apache"},"video/h263-2000":{source:"apache"},"video/h264":{source:"apache",extensions:["h264"]},"video/h264-rcdo":{source:"apache"},"video/h264-svc":{source:"apache"},"video/jpeg":{source:"apache",extensions:["jpgv"]},"video/jpeg2000":{source:"apache"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/mj2":{source:"apache",extensions:["mj2","mjp2"]},"video/mp1s":{source:"apache"},"video/mp2p":{source:"apache"},"video/mp2t":{source:"apache",extensions:["ts"]},"video/mp4":{source:"apache",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"apache"},"video/mpeg":{source:"apache",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"apache"},"video/mpv":{source:"apache"},"video/nv":{source:"apache"},"video/ogg":{source:"apache",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"apache"},"video/pointer":{source:"apache"},"video/quicktime":{source:"apache",compressible:!1,extensions:["qt","mov"]},"video/raw":{source:"apache"},"video/rtp-enc-aescm128":{source:"apache"},"video/rtx":{source:"apache"},"video/smpte292m":{source:"apache"},"video/ulpfec":{source:"apache"},"video/vc1":{source:"apache"},"video/vnd.cctv":{source:"apache"},"video/vnd.dece.hd":{source:"apache",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"apache",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"apache"},"video/vnd.dece.pd":{source:"apache",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"apache",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"apache",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"apache"},"video/vnd.directv.mpeg-tts":{source:"apache"},"video/vnd.dlna.mpeg-tts":{source:"apache"},"video/vnd.dvb.file":{source:"apache",extensions:["dvb"]},"video/vnd.fvt":{source:"apache",extensions:["fvt"]},"video/vnd.hns.video":{source:"apache"},"video/vnd.iptvforum.1dparityfec-1010":{source:"apache"},"video/vnd.iptvforum.1dparityfec-2005":{source:"apache"},"video/vnd.iptvforum.2dparityfec-1010":{source:"apache"},"video/vnd.iptvforum.2dparityfec-2005":{source:"apache"},"video/vnd.iptvforum.ttsavc":{source:"apache"},"video/vnd.iptvforum.ttsmpeg2":{source:"apache"},"video/vnd.motorola.video":{source:"apache"},"video/vnd.motorola.videop":{source:"apache"},"video/vnd.mpegurl":{source:"apache",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"apache",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"apache"},"video/vnd.nokia.videovoip":{source:"apache"},"video/vnd.objectvideo":{source:"apache"},"video/vnd.sealed.mpeg1":{source:"apache"},"video/vnd.sealed.mpeg4":{source:"apache"},"video/vnd.sealed.swf":{source:"apache"},"video/vnd.sealedmedia.softseal.mov":{source:"apache"},"video/vnd.uvvu.mp4":{source:"apache",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"apache",extensions:["viv"]},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}}},{}],404:[function(a,b,c){b.exports=a("./db.json")},{"./db.json":403}],405:[function(a,b,c){(function(){function a(a,b,c){var d=b&&c||0,e=0;for(b=b||[],a.toLowerCase().replace(/[0-9a-f]{2}/g,function(a){16>e&&(b[d+e++]=n[a])});16>e;)b[d+e++]=0;return b}function c(a,b){var c=b||0,d=m;return d[a[c++]]+d[a[c++]]+d[a[c++]]+d[a[c++]]+"-"+d[a[c++]]+d[a[c++]]+"-"+d[a[c++]]+d[a[c++]]+"-"+d[a[c++]]+d[a[c++]]+"-"+d[a[c++]]+d[a[c++]]+d[a[c++]]+d[a[c++]]+d[a[c++]]+d[a[c++]]}function d(a,b,d){var e=b&&d||0,f=b||[];a=a||{};var g=null!=a.clockseq?a.clockseq:r,h=null!=a.msecs?a.msecs:(new Date).getTime(),i=null!=a.nsecs?a.nsecs:t+1,j=h-s+(i-t)/1e4;if(0>j&&null==a.clockseq&&(g=g+1&16383),(0>j||h>s)&&null==a.nsecs&&(i=0),i>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=h,t=i,r=g,h+=122192928e5;var k=(1e4*(268435455&h)+i)%4294967296;f[e++]=k>>>24&255,f[e++]=k>>>16&255,f[e++]=k>>>8&255,f[e++]=255&k;var l=h/4294967296*1e4&268435455;f[e++]=l>>>8&255,f[e++]=255&l,f[e++]=l>>>24&15|16,f[e++]=l>>>16&255,f[e++]=g>>>8|128,f[e++]=255&g;for(var m=a.node||q,n=0;6>n;n++)f[e+n]=m[n];return b?b:c(f)}function e(a,b,d){var e=b&&d||0;"string"==typeof a&&(b="binary"==a?new l(16):null,a=null),a=a||{};var g=a.random||(a.rng||f)();if(g[6]=15&g[6]|64,g[8]=63&g[8]|128,b)for(var h=0;16>h;h++)b[e+h]=g[h];return b||c(g)}var f,g=this;if("function"==typeof g.require)try{var h=g.require("crypto").randomBytes;f=h&&function(){return h(16)}}catch(i){}if(!f&&g.crypto&&crypto.getRandomValues){var j=new Uint8Array(16);f=function(){return crypto.getRandomValues(j),j}}if(!f){var k=new Array(16);f=function(){for(var a,b=0;16>b;b++)0===(3&b)&&(a=4294967296*Math.random()),k[b]=a>>>((3&b)<<3)&255;return k}}for(var l="function"==typeof g.Buffer?g.Buffer:Array,m=[],n={},o=0;256>o;o++)m[o]=(o+256).toString(16).substr(1),n[m[o]]=o;var p=f(),q=[1|p[0],p[1],p[2],p[3],p[4],p[5]],r=16383&(p[6]<<8|p[7]),s=0,t=0,u=e;if(u.v1=d,u.v4=e,u.parse=a,u.unparse=c,u.BufferClass=l,"undefined"!=typeof b&&b.exports)b.exports=u;else if("function"==typeof define&&define.amd)define(function(){return u});else{var v=g.uuid;u.noConflict=function(){return g.uuid=v,u},g.uuid=u}}).call(this)},{}],406:[function(a,b,c){function d(a,b){return n.createHmac("sha1",a).update(b).digest("base64")}function e(a,b){return n.createSign("RSA-SHA1").update(b).sign(a,"base64")}function f(a){return encodeURIComponent(a).replace(/!/g,"%21").replace(/\*/g,"%2A").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/'/g,"%27")}function g(a){var b,c,d=[];for(b in a)if(c=a[b],Array.isArray(c))for(var e=0;eb?1:b>a?-1:0}function i(a,b,c){var d=g(c).map(function(a){return[f(a[0]),f(a[1]||"")]}).sort(function(a,b){return h(a[0],b[0])||h(a[1],b[1])}).map(function(a){return a.join("=")}).join("&"),e=[f(a?a.toUpperCase():"GET"),f(b),f(d)].join("&");return e}function j(a,b,c,e,g){var h=i(a,b,c),j=[e||"",g||""].map(f).join("&");return d(j,h)}function k(a,b,c,d,f){var g=i(a,b,c),h=d||"";return e(h,g)}function l(a,b){var c=[a||"",b||""].map(f).join("&");return c}function m(a,b,c,d,e,f){var g,h=1;switch(a){case"RSA-SHA1":g=k;break;case"HMAC-SHA1":g=j;break;case"PLAINTEXT":g=l,h=4;break;default:throw new Error("Signature method not supported: "+a)}return g.apply(null,[].slice.call(arguments,h))}var n=a("crypto");a("querystring");c.hmacsign=j,c.rsasign=k,c.plaintext=l,c.sign=m,c.rfc3986=f},{crypto:151,querystring:305}],407:[function(a,b,c){var d=a("./stringify"),e=a("./parse");b.exports={stringify:d,parse:e}},{"./parse":408,"./stringify":409}],408:[function(a,b,c){var d=a("./utils"),e={delimiter:"&",depth:5,arrayLimit:20,parameterLimit:1e3,strictNullHandling:!1,plainObjects:!1,allowPrototypes:!1};e.parseValues=function(a,b){for(var c={},e=a.split(b.delimiter,b.parameterLimit===1/0?void 0:b.parameterLimit),f=0,g=e.length;g>f;++f){var h=e[f],i=-1===h.indexOf("]=")?h.indexOf("="):h.indexOf("]=")+1;if(-1===i)c[d.decode(h)]="",b.strictNullHandling&&(c[d.decode(h)]=null);else{var j=d.decode(h.slice(0,i)),k=d.decode(h.slice(i+1));Object.prototype.hasOwnProperty.call(c,j)?c[j]=[].concat(c[j]).concat(k):c[j]=k}}return c},e.parseObject=function(a,b,c){if(!a.length)return b;var d,f=a.shift();if("[]"===f)d=[],d=d.concat(e.parseObject(a,b,c));else{d=c.plainObjects?Object.create(null):{};var g="["===f[0]&&"]"===f[f.length-1]?f.slice(1,f.length-1):f,h=parseInt(g,10),i=""+h;!isNaN(h)&&f!==g&&i===g&&h>=0&&c.parseArrays&&h<=c.arrayLimit?(d=[],d[h]=e.parseObject(a,b,c)):d[g]=e.parseObject(a,b,c)}return d},e.parseKeys=function(a,b,c){if(a){c.allowDots&&(a=a.replace(/\.([^\.\[]+)/g,"[$1]"));var d=/^([^\[\]]*)/,f=/(\[[^\[\]]*\])/g,g=d.exec(a),h=[];if(g[1]){if(!c.plainObjects&&Object.prototype.hasOwnProperty(g[1])&&!c.allowPrototypes)return;h.push(g[1])}for(var i=0;null!==(g=f.exec(a))&&ih;++h){var j=g[h],k=e.parseKeys(j,c[j],b);f=d.merge(f,k,b)}return d.compact(f)}},{"./utils":410}],409:[function(a,b,c){var d=a("./utils"),e={delimiter:"&",arrayPrefixGenerators:{brackets:function(a,b){return a+"[]"},indices:function(a,b){return a+"["+b+"]"},repeat:function(a,b){return a}},strictNullHandling:!1};e.stringify=function(a,b,c,f,g){if("function"==typeof g)a=g(b,a);else if(d.isBuffer(a))a=a.toString();else if(a instanceof Date)a=a.toISOString();else if(null===a){if(f)return d.encode(b);a=""}if("string"==typeof a||"number"==typeof a||"boolean"==typeof a)return[d.encode(b)+"="+d.encode(a)];var h=[];if("undefined"==typeof a)return h;for(var i=Array.isArray(g)?g:Object.keys(a),j=0,k=i.length;k>j;++j){var l=i[j];h=Array.isArray(a)?h.concat(e.stringify(a[l],c(b,l),c,f,g)):h.concat(e.stringify(a[l],b+"["+l+"]",c,f,g))}return h},b.exports=function(a,b){b=b||{};var c,d,f="undefined"==typeof b.delimiter?e.delimiter:b.delimiter,g="boolean"==typeof b.strictNullHandling?b.strictNullHandling:e.strictNullHandling;"function"==typeof b.filter?(d=b.filter,a=d("",a)):Array.isArray(b.filter)&&(c=d=b.filter);var h=[];if("object"!=typeof a||null===a)return"";var i;i=b.arrayFormat in e.arrayPrefixGenerators?b.arrayFormat:"indices"in b?b.indices?"indices":"repeat":"indices";var j=e.arrayPrefixGenerators[i];c||(c=Object.keys(a));for(var k=0,l=c.length;l>k;++k){var m=c[k];h=h.concat(e.stringify(a[m],m,j,g,d))}return h.join(f)}},{"./utils":410}],410:[function(a,b,c){var d={};d.hexTable=new Array(256);for(var e=0;256>e;++e)d.hexTable[e]="%"+((16>e?"0":"")+e.toString(16)).toUpperCase();c.arrayToObject=function(a,b){for(var c=b.plainObjects?Object.create(null):{},d=0,e=a.length;e>d;++d)"undefined"!=typeof a[d]&&(c[d]=a[d]);return c},c.merge=function(a,b,d){if(!b)return a;if("object"!=typeof b)return Array.isArray(a)?a.push(b):"object"==typeof a?a[b]=!0:a=[a,b],a;if("object"!=typeof a)return a=[a].concat(b);Array.isArray(a)&&!Array.isArray(b)&&(a=c.arrayToObject(a,d));for(var e=Object.keys(b),f=0,g=e.length;g>f;++f){var h=e[f],i=b[h];Object.prototype.hasOwnProperty.call(a,h)?a[h]=c.merge(a[h],i,d):a[h]=i}return a},c.decode=function(a){try{return decodeURIComponent(a.replace(/\+/g," "))}catch(b){return a}},c.encode=function(a){if(0===a.length)return a;"string"!=typeof a&&(a=""+a);for(var b="",c=0,e=a.length;e>c;++c){var f=a.charCodeAt(c);45===f||46===f||95===f||126===f||f>=48&&57>=f||f>=65&&90>=f||f>=97&&122>=f?b+=a[c]:128>f?b+=d.hexTable[f]:2048>f?b+=d.hexTable[192|f>>6]+d.hexTable[128|63&f]:55296>f||f>=57344?b+=d.hexTable[224|f>>12]+d.hexTable[128|f>>6&63]+d.hexTable[128|63&f]:(++c,f=65536+((1023&f)<<10|1023&a.charCodeAt(c)),b+=d.hexTable[240|f>>18]+d.hexTable[128|f>>12&63]+d.hexTable[128|f>>6&63]+d.hexTable[128|63&f])}return b},c.compact=function(a,b){if("object"!=typeof a||null===a)return a;b=b||[];var d=b.indexOf(a);if(-1!==d)return b[d];if(b.push(a),Array.isArray(a)){for(var e=[],f=0,g=a.length;g>f;++f)"undefined"!=typeof a[f]&&e.push(a[f]);return e}var h=Object.keys(a);for(f=0,g=h.length;g>f;++f){var i=h[f];a[i]=c.compact(a[i],b)}return a},c.isRegExp=function(a){return"[object RegExp]"===Object.prototype.toString.call(a)},c.isBuffer=function(a){return null===a||"undefined"==typeof a?!1:!!(a.constructor&&a.constructor.isBuffer&&a.constructor.isBuffer(a))}},{}],411:[function(a,b,c){(function(c){function d(a,b){return this instanceof d?(h.call(this),null==a&&(a="utf8"),this.readable=this.writable=!0,this.paused=!1,this.toEncoding=null==b?a:b,this.fromEncoding=null==b?"":a,void(this.decoder=new e(this.toEncoding))):new d(a,b)}function e(a){switch(i.call(this,a),this.encoding){case"base64":this.write=f,this.alignedBuffer=new c(3),this.alignedBytes=0}}function f(a){var b=(this.alignedBytes+a.length)%this.alignedBuffer.length;if(!b&&!this.alignedBytes)return a.toString(this.encoding);var d=new c(this.alignedBytes+a.length-b);return this.alignedBuffer.copy(d,0,0,this.alignedBytes),a.copy(d,this.alignedBytes,0,a.length-b),a.copy(this.alignedBuffer,0,a.length-b,a.length),this.alignedBytes=b,d.toString(this.encoding)}var g=a("util"),h=a("stream"),i=a("string_decoder").StringDecoder;b.exports=d,b.exports.AlignedStringDecoder=e,g.inherits(d,h),d.prototype.write=function(a){if(!this.writable){var b=new Error("stream not writable");return b.code="EPIPE",this.emit("error",b),!1}this.fromEncoding&&(c.isBuffer(a)&&(a=a.toString()),a=new c(a,this.fromEncoding));var d=this.decoder.write(a);return d.length&&this.emit("data",d),!this.paused},d.prototype.flush=function(){if(this.decoder.flush){var a=this.decoder.flush();a.length&&this.emit("data",a)}},d.prototype.end=function(){(this.writable||this.readable)&&(this.flush(),this.emit("end"),this.writable=this.readable=!1,this.destroy())},d.prototype.destroy=function(){this.decoder=null,this.writable=this.readable=!1,this.emit("close")},d.prototype.pause=function(){this.paused=!0},d.prototype.resume=function(){this.paused&&this.emit("drain"),this.paused=!1},g.inherits(e,i),e.prototype.flush=function(){if(!this.alignedBuffer||!this.alignedBytes)return"";var a=this.alignedBuffer.toString(this.encoding,0,this.alignedBytes);return this.alignedBytes=0,a}}).call(this,a("buffer").Buffer)},{buffer:145,stream:317,string_decoder:318,util:321}],412:[function(a,b,c){"use strict";function d(a){if(a){var b=a.split(A);if(b){for(var c=null,d=null,e=null,f=null,g=null,h=null,i=0;i23||d>59||e>59)return}else if(null===f&&(k=G.exec(j))){if(f=parseInt(k,10),1>f||f>31)return}else if(null===g&&(k=I.exec(j)))g=J[k[1].toLowerCase()];else if(null===h&&(k=M.exec(j),k&&(h=parseInt(k[0],10),h>=70&&99>=h?h+=1900:h>=0&&69>=h&&(h+=2e3),1601>h)))return}}if(null!==e&&null!==f&&null!==g&&null!==h)return new Date(Date.UTC(h,g,f,c,d,e))}}}function e(a){var b=a.getUTCDate();b=b>=10?b:"0"+b;var c=a.getUTCHours();c=c>=10?c:"0"+c;var d=a.getUTCMinutes();d=d>=10?d:"0"+d;var e=a.getUTCSeconds();return e=e>=10?e:"0"+e,L[a.getUTCDay()]+", "+b+" "+K[a.getUTCMonth()]+" "+a.getUTCFullYear()+" "+c+":"+d+":"+e+" GMT"}function f(a){return null==a?null:(a=a.trim().replace(/^\./,""),r&&/[^\u0001-\u007f]/.test(a)&&(a=r.toASCII(a)),a.toLowerCase())}function g(a,b,c){if(null==a||null==b)return null;if(c!==!1&&(a=f(a),b=f(b)),a==b)return!0;if(s.isIP(a))return!1;var d=a.indexOf(b);return 0>=d?!1:a.length!==b.length+d?!1:"."!==a.substr(d-1,1)?!1:!0}function h(a){if(!a||"/"!==a.substr(0,1))return"/";if("/"===a)return a;var b=a.lastIndexOf("/");return 0===b?"/":a.slice(0,b)}function i(a){a=a.trim();var b=F.exec(a);b&&(a=a.slice(0,b.index));var c=a.indexOf(";"),e=D.exec(-1===c?a:a.substr(0,c));if(e){var f=new o;if(f.key=e[1].trim(),f.value=e[2].trim(),-1===c)return f;var g=a.slice(c).replace(/^\s*;\s*/,"").trim();if(0===g.length)return f;for(var h=g.split(/\s*;\s*/);h.length;){var i,j,k=h.shift(),l=k.indexOf("=");switch(-1===l?(i=k,j=null):(i=k.substr(0,l),j=k.substr(l+1)),i=i.trim().toLowerCase(),j&&(j=j.trim()),i){case"expires":if(j){var m=d(j);m&&(f.expires=m)}break;case"max-age":if(j&&/^-?[0-9]+$/.test(j)){var n=parseInt(j,10);f.setMaxAge(n)}break;case"domain":if(j){var p=j.trim().replace(/^\./,"");p&&(f.domain=p.toLowerCase())}break;case"path":f.path=j&&"/"===j[0]?j:null;break;case"secure":f.secure=!0;break;case"httponly":f.httpOnly=!0;break;default:f.extensions=f.extensions||[],f.extensions.push(k)}}return f}}function j(a){var b;try{b=JSON.parse(a)}catch(c){return c}return b}function k(a){if(!a)return null;var b;if("string"==typeof a){if(b=j(a),b instanceof Error)return null}else b=a;for(var c=new o,d=0;d1;){var c=a.lastIndexOf("/");if(0===c)break;a=a.substr(0,c),b.push(a)}return b.push("/"),b}function n(a){if(a instanceof Object)return a;try{a=decodeURI(a)}catch(b){}return t(a)}function o(a){a=a||{},Object.keys(a).forEach(function(b){o.prototype.hasOwnProperty(b)&&o.prototype[b]!==a[b]&&"_"!==b.substr(0,1)&&(this[b]=a[b])},this),this.creation=this.creation||new Date,Object.defineProperty(this,"creationIndex",{configurable:!1,enumerable:!1,writable:!0,value:++o.cookiesCreated})}function p(a,b){null!=b&&(this.rejectPublicSuffixes=b),a||(a=new w),this.store=a}function q(a){return function(){if(!this.store.synchronous)throw new Error("CookieJar store is not synchronous; use async API instead.");var b,c,d=Array.prototype.slice.call(arguments);if(d.push(function(a,d){b=a,c=d}),this[a].apply(this,d),b)throw b;return c}}var r,s=a("net"),t=a("url").parse,u=a("./pubsuffix"),v=a("./store").Store,w=a("./memstore").MemoryCookieStore,x=a("./pathMatch").pathMatch,y=a("../package.json").version;try{r=a("punycode")}catch(z){console.warn("cookie: can't load punycode; won't use punycode for domain normalization")}var A=/[\x09\x20-\x2F\x3B-\x40\x5B-\x60\x7B-\x7E]/,B=/[\x21\x23-\x2B\x2D-\x3A\x3C-\x5B\x5D-\x7E]/,C=new RegExp("^"+B.source+"$"),D=/^([^=;]+)\s*=\s*(("?)[^\n\r\0]*\3)/,E=/[\x20-\x3A\x3C-\x7E]+/,F=/;+$/,G=/^(\d{1,2})[^\d]*$/,H=/^(\d{1,2})[^\d]*:(\d{1,2})[^\d]*:(\d{1,2})[^\d]*$/,I=/^(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)/i,J={jan:0,feb:1,mar:2,apr:3,may:4,jun:5,jul:6,aug:7,sep:8,oct:9,nov:10,dec:11},K=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],L=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],M=/^(\d{2}|\d{4})$/,N=2147483647e3,O=0;o.cookiesCreated=0,o.parse=i,o.fromJSON=k,o.prototype.key="",o.prototype.value="",o.prototype.expires="Infinity",o.prototype.maxAge=null,o.prototype.domain=null,o.prototype.path=null,o.prototype.secure=!1,o.prototype.httpOnly=!1,o.prototype.extensions=null,o.prototype.hostOnly=null,o.prototype.pathIsDefault=null,o.prototype.creation=null,o.prototype.lastAccessed=null,Object.defineProperty(o.prototype,"creationIndex",{configurable:!0,enumerable:!1,writable:!0,value:0}),o.serializableProperties=Object.keys(o.prototype).filter(function(a){return!(o.prototype[a]instanceof Function||"creationIndex"===a||"_"===a.substr(0,1))}),o.prototype.inspect=function(){var a=Date.now();return'Cookie="'+this.toString()+"; hostOnly="+(null!=this.hostOnly?this.hostOnly:"?")+"; aAge="+(this.lastAccessed?a-this.lastAccessed.getTime()+"ms":"?")+"; cAge="+(this.creation?a-this.creation.getTime()+"ms":"?")+'"'},o.prototype.toJSON=function(){for(var a={},b=o.serializableProperties,c=0;ch){var m=f.slice(0,h+1).reverse().join(".");return c?d.toUnicode(m):m}return null};var e=b.exports.index=Object.freeze({ac:!0,"com.ac":!0,"edu.ac":!0,"gov.ac":!0,"net.ac":!0,"mil.ac":!0,"org.ac":!0,ad:!0,"nom.ad":!0,ae:!0,"co.ae":!0,"net.ae":!0,"org.ae":!0,"sch.ae":!0,"ac.ae":!0,"gov.ae":!0,"mil.ae":!0,aero:!0,"accident-investigation.aero":!0,"accident-prevention.aero":!0,"aerobatic.aero":!0, -"aeroclub.aero":!0,"aerodrome.aero":!0,"agents.aero":!0,"aircraft.aero":!0,"airline.aero":!0,"airport.aero":!0,"air-surveillance.aero":!0,"airtraffic.aero":!0,"air-traffic-control.aero":!0,"ambulance.aero":!0,"amusement.aero":!0,"association.aero":!0,"author.aero":!0,"ballooning.aero":!0,"broker.aero":!0,"caa.aero":!0,"cargo.aero":!0,"catering.aero":!0,"certification.aero":!0,"championship.aero":!0,"charter.aero":!0,"civilaviation.aero":!0,"club.aero":!0,"conference.aero":!0,"consultant.aero":!0,"consulting.aero":!0,"control.aero":!0,"council.aero":!0,"crew.aero":!0,"design.aero":!0,"dgca.aero":!0,"educator.aero":!0,"emergency.aero":!0,"engine.aero":!0,"engineer.aero":!0,"entertainment.aero":!0,"equipment.aero":!0,"exchange.aero":!0,"express.aero":!0,"federation.aero":!0,"flight.aero":!0,"freight.aero":!0,"fuel.aero":!0,"gliding.aero":!0,"government.aero":!0,"groundhandling.aero":!0,"group.aero":!0,"hanggliding.aero":!0,"homebuilt.aero":!0,"insurance.aero":!0,"journal.aero":!0,"journalist.aero":!0,"leasing.aero":!0,"logistics.aero":!0,"magazine.aero":!0,"maintenance.aero":!0,"marketplace.aero":!0,"media.aero":!0,"microlight.aero":!0,"modelling.aero":!0,"navigation.aero":!0,"parachuting.aero":!0,"paragliding.aero":!0,"passenger-association.aero":!0,"pilot.aero":!0,"press.aero":!0,"production.aero":!0,"recreation.aero":!0,"repbody.aero":!0,"res.aero":!0,"research.aero":!0,"rotorcraft.aero":!0,"safety.aero":!0,"scientist.aero":!0,"services.aero":!0,"show.aero":!0,"skydiving.aero":!0,"software.aero":!0,"student.aero":!0,"taxi.aero":!0,"trader.aero":!0,"trading.aero":!0,"trainer.aero":!0,"union.aero":!0,"workinggroup.aero":!0,"works.aero":!0,af:!0,"gov.af":!0,"com.af":!0,"org.af":!0,"net.af":!0,"edu.af":!0,ag:!0,"com.ag":!0,"org.ag":!0,"net.ag":!0,"co.ag":!0,"nom.ag":!0,ai:!0,"off.ai":!0,"com.ai":!0,"net.ai":!0,"org.ai":!0,al:!0,"com.al":!0,"edu.al":!0,"gov.al":!0,"mil.al":!0,"net.al":!0,"org.al":!0,am:!0,an:!0,"com.an":!0,"net.an":!0,"org.an":!0,"edu.an":!0,ao:!0,"ed.ao":!0,"gv.ao":!0,"og.ao":!0,"co.ao":!0,"pb.ao":!0,"it.ao":!0,aq:!0,ar:!0,"com.ar":!0,"edu.ar":!0,"gob.ar":!0,"gov.ar":!0,"int.ar":!0,"mil.ar":!0,"net.ar":!0,"org.ar":!0,"tur.ar":!0,arpa:!0,"e164.arpa":!0,"in-addr.arpa":!0,"ip6.arpa":!0,"iris.arpa":!0,"uri.arpa":!0,"urn.arpa":!0,as:!0,"gov.as":!0,asia:!0,at:!0,"ac.at":!0,"co.at":!0,"gv.at":!0,"or.at":!0,au:!0,"com.au":!0,"net.au":!0,"org.au":!0,"edu.au":!0,"gov.au":!0,"asn.au":!0,"id.au":!0,"info.au":!0,"conf.au":!0,"oz.au":!0,"act.au":!0,"nsw.au":!0,"nt.au":!0,"qld.au":!0,"sa.au":!0,"tas.au":!0,"vic.au":!0,"wa.au":!0,"act.edu.au":!0,"nsw.edu.au":!0,"nt.edu.au":!0,"qld.edu.au":!0,"sa.edu.au":!0,"tas.edu.au":!0,"vic.edu.au":!0,"wa.edu.au":!0,"qld.gov.au":!0,"sa.gov.au":!0,"tas.gov.au":!0,"vic.gov.au":!0,"wa.gov.au":!0,aw:!0,"com.aw":!0,ax:!0,az:!0,"com.az":!0,"net.az":!0,"int.az":!0,"gov.az":!0,"org.az":!0,"edu.az":!0,"info.az":!0,"pp.az":!0,"mil.az":!0,"name.az":!0,"pro.az":!0,"biz.az":!0,ba:!0,"org.ba":!0,"net.ba":!0,"edu.ba":!0,"gov.ba":!0,"mil.ba":!0,"unsa.ba":!0,"unbi.ba":!0,"co.ba":!0,"com.ba":!0,"rs.ba":!0,bb:!0,"biz.bb":!0,"co.bb":!0,"com.bb":!0,"edu.bb":!0,"gov.bb":!0,"info.bb":!0,"net.bb":!0,"org.bb":!0,"store.bb":!0,"tv.bb":!0,"*.bd":!0,be:!0,"ac.be":!0,bf:!0,"gov.bf":!0,bg:!0,"a.bg":!0,"b.bg":!0,"c.bg":!0,"d.bg":!0,"e.bg":!0,"f.bg":!0,"g.bg":!0,"h.bg":!0,"i.bg":!0,"j.bg":!0,"k.bg":!0,"l.bg":!0,"m.bg":!0,"n.bg":!0,"o.bg":!0,"p.bg":!0,"q.bg":!0,"r.bg":!0,"s.bg":!0,"t.bg":!0,"u.bg":!0,"v.bg":!0,"w.bg":!0,"x.bg":!0,"y.bg":!0,"z.bg":!0,"0.bg":!0,"1.bg":!0,"2.bg":!0,"3.bg":!0,"4.bg":!0,"5.bg":!0,"6.bg":!0,"7.bg":!0,"8.bg":!0,"9.bg":!0,bh:!0,"com.bh":!0,"edu.bh":!0,"net.bh":!0,"org.bh":!0,"gov.bh":!0,bi:!0,"co.bi":!0,"com.bi":!0,"edu.bi":!0,"or.bi":!0,"org.bi":!0,biz:!0,bj:!0,"asso.bj":!0,"barreau.bj":!0,"gouv.bj":!0,bm:!0,"com.bm":!0,"edu.bm":!0,"gov.bm":!0,"net.bm":!0,"org.bm":!0,"*.bn":!0,bo:!0,"com.bo":!0,"edu.bo":!0,"gov.bo":!0,"gob.bo":!0,"int.bo":!0,"org.bo":!0,"net.bo":!0,"mil.bo":!0,"tv.bo":!0,br:!0,"adm.br":!0,"adv.br":!0,"agr.br":!0,"am.br":!0,"arq.br":!0,"art.br":!0,"ato.br":!0,"b.br":!0,"bio.br":!0,"blog.br":!0,"bmd.br":!0,"cim.br":!0,"cng.br":!0,"cnt.br":!0,"com.br":!0,"coop.br":!0,"ecn.br":!0,"eco.br":!0,"edu.br":!0,"emp.br":!0,"eng.br":!0,"esp.br":!0,"etc.br":!0,"eti.br":!0,"far.br":!0,"flog.br":!0,"fm.br":!0,"fnd.br":!0,"fot.br":!0,"fst.br":!0,"g12.br":!0,"ggf.br":!0,"gov.br":!0,"imb.br":!0,"ind.br":!0,"inf.br":!0,"jor.br":!0,"jus.br":!0,"leg.br":!0,"lel.br":!0,"mat.br":!0,"med.br":!0,"mil.br":!0,"mp.br":!0,"mus.br":!0,"net.br":!0,"*.nom.br":!0,"not.br":!0,"ntr.br":!0,"odo.br":!0,"org.br":!0,"ppg.br":!0,"pro.br":!0,"psc.br":!0,"psi.br":!0,"qsl.br":!0,"radio.br":!0,"rec.br":!0,"slg.br":!0,"srv.br":!0,"taxi.br":!0,"teo.br":!0,"tmp.br":!0,"trd.br":!0,"tur.br":!0,"tv.br":!0,"vet.br":!0,"vlog.br":!0,"wiki.br":!0,"zlg.br":!0,bs:!0,"com.bs":!0,"net.bs":!0,"org.bs":!0,"edu.bs":!0,"gov.bs":!0,bt:!0,"com.bt":!0,"edu.bt":!0,"gov.bt":!0,"net.bt":!0,"org.bt":!0,bv:!0,bw:!0,"co.bw":!0,"org.bw":!0,by:!0,"gov.by":!0,"mil.by":!0,"com.by":!0,"of.by":!0,bz:!0,"com.bz":!0,"net.bz":!0,"org.bz":!0,"edu.bz":!0,"gov.bz":!0,ca:!0,"ab.ca":!0,"bc.ca":!0,"mb.ca":!0,"nb.ca":!0,"nf.ca":!0,"nl.ca":!0,"ns.ca":!0,"nt.ca":!0,"nu.ca":!0,"on.ca":!0,"pe.ca":!0,"qc.ca":!0,"sk.ca":!0,"yk.ca":!0,"gc.ca":!0,cat:!0,cc:!0,cd:!0,"gov.cd":!0,cf:!0,cg:!0,ch:!0,ci:!0,"org.ci":!0,"or.ci":!0,"com.ci":!0,"co.ci":!0,"edu.ci":!0,"ed.ci":!0,"ac.ci":!0,"net.ci":!0,"go.ci":!0,"asso.ci":!0,"xn--aroport-bya.ci":!0,"int.ci":!0,"presse.ci":!0,"md.ci":!0,"gouv.ci":!0,"*.ck":!0,"www.ck":!1,cl:!0,"gov.cl":!0,"gob.cl":!0,"co.cl":!0,"mil.cl":!0,cm:!0,"co.cm":!0,"com.cm":!0,"gov.cm":!0,"net.cm":!0,cn:!0,"ac.cn":!0,"com.cn":!0,"edu.cn":!0,"gov.cn":!0,"net.cn":!0,"org.cn":!0,"mil.cn":!0,"xn--55qx5d.cn":!0,"xn--io0a7i.cn":!0,"xn--od0alg.cn":!0,"ah.cn":!0,"bj.cn":!0,"cq.cn":!0,"fj.cn":!0,"gd.cn":!0,"gs.cn":!0,"gz.cn":!0,"gx.cn":!0,"ha.cn":!0,"hb.cn":!0,"he.cn":!0,"hi.cn":!0,"hl.cn":!0,"hn.cn":!0,"jl.cn":!0,"js.cn":!0,"jx.cn":!0,"ln.cn":!0,"nm.cn":!0,"nx.cn":!0,"qh.cn":!0,"sc.cn":!0,"sd.cn":!0,"sh.cn":!0,"sn.cn":!0,"sx.cn":!0,"tj.cn":!0,"xj.cn":!0,"xz.cn":!0,"yn.cn":!0,"zj.cn":!0,"hk.cn":!0,"mo.cn":!0,"tw.cn":!0,co:!0,"arts.co":!0,"com.co":!0,"edu.co":!0,"firm.co":!0,"gov.co":!0,"info.co":!0,"int.co":!0,"mil.co":!0,"net.co":!0,"nom.co":!0,"org.co":!0,"rec.co":!0,"web.co":!0,com:!0,coop:!0,cr:!0,"ac.cr":!0,"co.cr":!0,"ed.cr":!0,"fi.cr":!0,"go.cr":!0,"or.cr":!0,"sa.cr":!0,cu:!0,"com.cu":!0,"edu.cu":!0,"org.cu":!0,"net.cu":!0,"gov.cu":!0,"inf.cu":!0,cv:!0,cw:!0,"com.cw":!0,"edu.cw":!0,"net.cw":!0,"org.cw":!0,cx:!0,"gov.cx":!0,"*.cy":!0,cz:!0,de:!0,dj:!0,dk:!0,dm:!0,"com.dm":!0,"net.dm":!0,"org.dm":!0,"edu.dm":!0,"gov.dm":!0,"do":!0,"art.do":!0,"com.do":!0,"edu.do":!0,"gob.do":!0,"gov.do":!0,"mil.do":!0,"net.do":!0,"org.do":!0,"sld.do":!0,"web.do":!0,dz:!0,"com.dz":!0,"org.dz":!0,"net.dz":!0,"gov.dz":!0,"edu.dz":!0,"asso.dz":!0,"pol.dz":!0,"art.dz":!0,ec:!0,"com.ec":!0,"info.ec":!0,"net.ec":!0,"fin.ec":!0,"k12.ec":!0,"med.ec":!0,"pro.ec":!0,"org.ec":!0,"edu.ec":!0,"gov.ec":!0,"gob.ec":!0,"mil.ec":!0,edu:!0,ee:!0,"edu.ee":!0,"gov.ee":!0,"riik.ee":!0,"lib.ee":!0,"med.ee":!0,"com.ee":!0,"pri.ee":!0,"aip.ee":!0,"org.ee":!0,"fie.ee":!0,eg:!0,"com.eg":!0,"edu.eg":!0,"eun.eg":!0,"gov.eg":!0,"mil.eg":!0,"name.eg":!0,"net.eg":!0,"org.eg":!0,"sci.eg":!0,"*.er":!0,es:!0,"com.es":!0,"nom.es":!0,"org.es":!0,"gob.es":!0,"edu.es":!0,et:!0,"com.et":!0,"gov.et":!0,"org.et":!0,"edu.et":!0,"biz.et":!0,"name.et":!0,"info.et":!0,eu:!0,fi:!0,"aland.fi":!0,"*.fj":!0,"*.fk":!0,fm:!0,fo:!0,fr:!0,"com.fr":!0,"asso.fr":!0,"nom.fr":!0,"prd.fr":!0,"presse.fr":!0,"tm.fr":!0,"aeroport.fr":!0,"assedic.fr":!0,"avocat.fr":!0,"avoues.fr":!0,"cci.fr":!0,"chambagri.fr":!0,"chirurgiens-dentistes.fr":!0,"experts-comptables.fr":!0,"geometre-expert.fr":!0,"gouv.fr":!0,"greta.fr":!0,"huissier-justice.fr":!0,"medecin.fr":!0,"notaires.fr":!0,"pharmacien.fr":!0,"port.fr":!0,"veterinaire.fr":!0,ga:!0,gb:!0,gd:!0,ge:!0,"com.ge":!0,"edu.ge":!0,"gov.ge":!0,"org.ge":!0,"mil.ge":!0,"net.ge":!0,"pvt.ge":!0,gf:!0,gg:!0,"co.gg":!0,"net.gg":!0,"org.gg":!0,gh:!0,"com.gh":!0,"edu.gh":!0,"gov.gh":!0,"org.gh":!0,"mil.gh":!0,gi:!0,"com.gi":!0,"ltd.gi":!0,"gov.gi":!0,"mod.gi":!0,"edu.gi":!0,"org.gi":!0,gl:!0,gm:!0,gn:!0,"ac.gn":!0,"com.gn":!0,"edu.gn":!0,"gov.gn":!0,"org.gn":!0,"net.gn":!0,gov:!0,gp:!0,"com.gp":!0,"net.gp":!0,"mobi.gp":!0,"edu.gp":!0,"org.gp":!0,"asso.gp":!0,gq:!0,gr:!0,"com.gr":!0,"edu.gr":!0,"net.gr":!0,"org.gr":!0,"gov.gr":!0,gs:!0,gt:!0,"com.gt":!0,"edu.gt":!0,"gob.gt":!0,"ind.gt":!0,"mil.gt":!0,"net.gt":!0,"org.gt":!0,"*.gu":!0,gw:!0,gy:!0,"co.gy":!0,"com.gy":!0,"net.gy":!0,hk:!0,"com.hk":!0,"edu.hk":!0,"gov.hk":!0,"idv.hk":!0,"net.hk":!0,"org.hk":!0,"xn--55qx5d.hk":!0,"xn--wcvs22d.hk":!0,"xn--lcvr32d.hk":!0,"xn--mxtq1m.hk":!0,"xn--gmqw5a.hk":!0,"xn--ciqpn.hk":!0,"xn--gmq050i.hk":!0,"xn--zf0avx.hk":!0,"xn--io0a7i.hk":!0,"xn--mk0axi.hk":!0,"xn--od0alg.hk":!0,"xn--od0aq3b.hk":!0,"xn--tn0ag.hk":!0,"xn--uc0atv.hk":!0,"xn--uc0ay4a.hk":!0,hm:!0,hn:!0,"com.hn":!0,"edu.hn":!0,"org.hn":!0,"net.hn":!0,"mil.hn":!0,"gob.hn":!0,hr:!0,"iz.hr":!0,"from.hr":!0,"name.hr":!0,"com.hr":!0,ht:!0,"com.ht":!0,"shop.ht":!0,"firm.ht":!0,"info.ht":!0,"adult.ht":!0,"net.ht":!0,"pro.ht":!0,"org.ht":!0,"med.ht":!0,"art.ht":!0,"coop.ht":!0,"pol.ht":!0,"asso.ht":!0,"edu.ht":!0,"rel.ht":!0,"gouv.ht":!0,"perso.ht":!0,hu:!0,"co.hu":!0,"info.hu":!0,"org.hu":!0,"priv.hu":!0,"sport.hu":!0,"tm.hu":!0,"2000.hu":!0,"agrar.hu":!0,"bolt.hu":!0,"casino.hu":!0,"city.hu":!0,"erotica.hu":!0,"erotika.hu":!0,"film.hu":!0,"forum.hu":!0,"games.hu":!0,"hotel.hu":!0,"ingatlan.hu":!0,"jogasz.hu":!0,"konyvelo.hu":!0,"lakas.hu":!0,"media.hu":!0,"news.hu":!0,"reklam.hu":!0,"sex.hu":!0,"shop.hu":!0,"suli.hu":!0,"szex.hu":!0,"tozsde.hu":!0,"utazas.hu":!0,"video.hu":!0,id:!0,"ac.id":!0,"biz.id":!0,"co.id":!0,"desa.id":!0,"go.id":!0,"mil.id":!0,"my.id":!0,"net.id":!0,"or.id":!0,"sch.id":!0,"web.id":!0,ie:!0,"gov.ie":!0,"*.il":!0,im:!0,"ac.im":!0,"co.im":!0,"com.im":!0,"ltd.co.im":!0,"net.im":!0,"org.im":!0,"plc.co.im":!0,"tt.im":!0,"tv.im":!0,"in":!0,"co.in":!0,"firm.in":!0,"net.in":!0,"org.in":!0,"gen.in":!0,"ind.in":!0,"nic.in":!0,"ac.in":!0,"edu.in":!0,"res.in":!0,"gov.in":!0,"mil.in":!0,info:!0,"int":!0,"eu.int":!0,io:!0,"com.io":!0,iq:!0,"gov.iq":!0,"edu.iq":!0,"mil.iq":!0,"com.iq":!0,"org.iq":!0,"net.iq":!0,ir:!0,"ac.ir":!0,"co.ir":!0,"gov.ir":!0,"id.ir":!0,"net.ir":!0,"org.ir":!0,"sch.ir":!0,"xn--mgba3a4f16a.ir":!0,"xn--mgba3a4fra.ir":!0,is:!0,"net.is":!0,"com.is":!0,"edu.is":!0,"gov.is":!0,"org.is":!0,"int.is":!0,it:!0,"gov.it":!0,"edu.it":!0,"abr.it":!0,"abruzzo.it":!0,"aosta-valley.it":!0,"aostavalley.it":!0,"bas.it":!0,"basilicata.it":!0,"cal.it":!0,"calabria.it":!0,"cam.it":!0,"campania.it":!0,"emilia-romagna.it":!0,"emiliaromagna.it":!0,"emr.it":!0,"friuli-v-giulia.it":!0,"friuli-ve-giulia.it":!0,"friuli-vegiulia.it":!0,"friuli-venezia-giulia.it":!0,"friuli-veneziagiulia.it":!0,"friuli-vgiulia.it":!0,"friuliv-giulia.it":!0,"friulive-giulia.it":!0,"friulivegiulia.it":!0,"friulivenezia-giulia.it":!0,"friuliveneziagiulia.it":!0,"friulivgiulia.it":!0,"fvg.it":!0,"laz.it":!0,"lazio.it":!0,"lig.it":!0,"liguria.it":!0,"lom.it":!0,"lombardia.it":!0,"lombardy.it":!0,"lucania.it":!0,"mar.it":!0,"marche.it":!0,"mol.it":!0,"molise.it":!0,"piedmont.it":!0,"piemonte.it":!0,"pmn.it":!0,"pug.it":!0,"puglia.it":!0,"sar.it":!0,"sardegna.it":!0,"sardinia.it":!0,"sic.it":!0,"sicilia.it":!0,"sicily.it":!0,"taa.it":!0,"tos.it":!0,"toscana.it":!0,"trentino-a-adige.it":!0,"trentino-aadige.it":!0,"trentino-alto-adige.it":!0,"trentino-altoadige.it":!0,"trentino-s-tirol.it":!0,"trentino-stirol.it":!0,"trentino-sud-tirol.it":!0,"trentino-sudtirol.it":!0,"trentino-sued-tirol.it":!0,"trentino-suedtirol.it":!0,"trentinoa-adige.it":!0,"trentinoaadige.it":!0,"trentinoalto-adige.it":!0,"trentinoaltoadige.it":!0,"trentinos-tirol.it":!0,"trentinostirol.it":!0,"trentinosud-tirol.it":!0,"trentinosudtirol.it":!0,"trentinosued-tirol.it":!0,"trentinosuedtirol.it":!0,"tuscany.it":!0,"umb.it":!0,"umbria.it":!0,"val-d-aosta.it":!0,"val-daosta.it":!0,"vald-aosta.it":!0,"valdaosta.it":!0,"valle-aosta.it":!0,"valle-d-aosta.it":!0,"valle-daosta.it":!0,"valleaosta.it":!0,"valled-aosta.it":!0,"valledaosta.it":!0,"vallee-aoste.it":!0,"valleeaoste.it":!0,"vao.it":!0,"vda.it":!0,"ven.it":!0,"veneto.it":!0,"ag.it":!0,"agrigento.it":!0,"al.it":!0,"alessandria.it":!0,"alto-adige.it":!0,"altoadige.it":!0,"an.it":!0,"ancona.it":!0,"andria-barletta-trani.it":!0,"andria-trani-barletta.it":!0,"andriabarlettatrani.it":!0,"andriatranibarletta.it":!0,"ao.it":!0,"aosta.it":!0,"aoste.it":!0,"ap.it":!0,"aq.it":!0,"aquila.it":!0,"ar.it":!0,"arezzo.it":!0,"ascoli-piceno.it":!0,"ascolipiceno.it":!0,"asti.it":!0,"at.it":!0,"av.it":!0,"avellino.it":!0,"ba.it":!0,"balsan.it":!0,"bari.it":!0,"barletta-trani-andria.it":!0,"barlettatraniandria.it":!0,"belluno.it":!0,"benevento.it":!0,"bergamo.it":!0,"bg.it":!0,"bi.it":!0,"biella.it":!0,"bl.it":!0,"bn.it":!0,"bo.it":!0,"bologna.it":!0,"bolzano.it":!0,"bozen.it":!0,"br.it":!0,"brescia.it":!0,"brindisi.it":!0,"bs.it":!0,"bt.it":!0,"bz.it":!0,"ca.it":!0,"cagliari.it":!0,"caltanissetta.it":!0,"campidano-medio.it":!0,"campidanomedio.it":!0,"campobasso.it":!0,"carbonia-iglesias.it":!0,"carboniaiglesias.it":!0,"carrara-massa.it":!0,"carraramassa.it":!0,"caserta.it":!0,"catania.it":!0,"catanzaro.it":!0,"cb.it":!0,"ce.it":!0,"cesena-forli.it":!0,"cesenaforli.it":!0,"ch.it":!0,"chieti.it":!0,"ci.it":!0,"cl.it":!0,"cn.it":!0,"co.it":!0,"como.it":!0,"cosenza.it":!0,"cr.it":!0,"cremona.it":!0,"crotone.it":!0,"cs.it":!0,"ct.it":!0,"cuneo.it":!0,"cz.it":!0,"dell-ogliastra.it":!0,"dellogliastra.it":!0,"en.it":!0,"enna.it":!0,"fc.it":!0,"fe.it":!0,"fermo.it":!0,"ferrara.it":!0,"fg.it":!0,"fi.it":!0,"firenze.it":!0,"florence.it":!0,"fm.it":!0,"foggia.it":!0,"forli-cesena.it":!0,"forlicesena.it":!0,"fr.it":!0,"frosinone.it":!0,"ge.it":!0,"genoa.it":!0,"genova.it":!0,"go.it":!0,"gorizia.it":!0,"gr.it":!0,"grosseto.it":!0,"iglesias-carbonia.it":!0,"iglesiascarbonia.it":!0,"im.it":!0,"imperia.it":!0,"is.it":!0,"isernia.it":!0,"kr.it":!0,"la-spezia.it":!0,"laquila.it":!0,"laspezia.it":!0,"latina.it":!0,"lc.it":!0,"le.it":!0,"lecce.it":!0,"lecco.it":!0,"li.it":!0,"livorno.it":!0,"lo.it":!0,"lodi.it":!0,"lt.it":!0,"lu.it":!0,"lucca.it":!0,"macerata.it":!0,"mantova.it":!0,"massa-carrara.it":!0,"massacarrara.it":!0,"matera.it":!0,"mb.it":!0,"mc.it":!0,"me.it":!0,"medio-campidano.it":!0,"mediocampidano.it":!0,"messina.it":!0,"mi.it":!0,"milan.it":!0,"milano.it":!0,"mn.it":!0,"mo.it":!0,"modena.it":!0,"monza-brianza.it":!0,"monza-e-della-brianza.it":!0,"monza.it":!0,"monzabrianza.it":!0,"monzaebrianza.it":!0,"monzaedellabrianza.it":!0,"ms.it":!0,"mt.it":!0,"na.it":!0,"naples.it":!0,"napoli.it":!0,"no.it":!0,"novara.it":!0,"nu.it":!0,"nuoro.it":!0,"og.it":!0,"ogliastra.it":!0,"olbia-tempio.it":!0,"olbiatempio.it":!0,"or.it":!0,"oristano.it":!0,"ot.it":!0,"pa.it":!0,"padova.it":!0,"padua.it":!0,"palermo.it":!0,"parma.it":!0,"pavia.it":!0,"pc.it":!0,"pd.it":!0,"pe.it":!0,"perugia.it":!0,"pesaro-urbino.it":!0,"pesarourbino.it":!0,"pescara.it":!0,"pg.it":!0,"pi.it":!0,"piacenza.it":!0,"pisa.it":!0,"pistoia.it":!0,"pn.it":!0,"po.it":!0,"pordenone.it":!0,"potenza.it":!0,"pr.it":!0,"prato.it":!0,"pt.it":!0,"pu.it":!0,"pv.it":!0,"pz.it":!0,"ra.it":!0,"ragusa.it":!0,"ravenna.it":!0,"rc.it":!0,"re.it":!0,"reggio-calabria.it":!0,"reggio-emilia.it":!0,"reggiocalabria.it":!0,"reggioemilia.it":!0,"rg.it":!0,"ri.it":!0,"rieti.it":!0,"rimini.it":!0,"rm.it":!0,"rn.it":!0,"ro.it":!0,"roma.it":!0,"rome.it":!0,"rovigo.it":!0,"sa.it":!0,"salerno.it":!0,"sassari.it":!0,"savona.it":!0,"si.it":!0,"siena.it":!0,"siracusa.it":!0,"so.it":!0,"sondrio.it":!0,"sp.it":!0,"sr.it":!0,"ss.it":!0,"suedtirol.it":!0,"sv.it":!0,"ta.it":!0,"taranto.it":!0,"te.it":!0,"tempio-olbia.it":!0,"tempioolbia.it":!0,"teramo.it":!0,"terni.it":!0,"tn.it":!0,"to.it":!0,"torino.it":!0,"tp.it":!0,"tr.it":!0,"trani-andria-barletta.it":!0,"trani-barletta-andria.it":!0,"traniandriabarletta.it":!0,"tranibarlettaandria.it":!0,"trapani.it":!0,"trentino.it":!0,"trento.it":!0,"treviso.it":!0,"trieste.it":!0,"ts.it":!0,"turin.it":!0,"tv.it":!0,"ud.it":!0,"udine.it":!0,"urbino-pesaro.it":!0,"urbinopesaro.it":!0,"va.it":!0,"varese.it":!0,"vb.it":!0,"vc.it":!0,"ve.it":!0,"venezia.it":!0,"venice.it":!0,"verbania.it":!0,"vercelli.it":!0,"verona.it":!0,"vi.it":!0,"vibo-valentia.it":!0,"vibovalentia.it":!0,"vicenza.it":!0,"viterbo.it":!0,"vr.it":!0,"vs.it":!0,"vt.it":!0,"vv.it":!0,je:!0,"co.je":!0,"net.je":!0,"org.je":!0,"*.jm":!0,jo:!0,"com.jo":!0,"org.jo":!0,"net.jo":!0,"edu.jo":!0,"sch.jo":!0,"gov.jo":!0,"mil.jo":!0,"name.jo":!0,jobs:!0,jp:!0,"ac.jp":!0,"ad.jp":!0,"co.jp":!0,"ed.jp":!0,"go.jp":!0,"gr.jp":!0,"lg.jp":!0,"ne.jp":!0,"or.jp":!0,"aichi.jp":!0,"akita.jp":!0,"aomori.jp":!0,"chiba.jp":!0,"ehime.jp":!0,"fukui.jp":!0,"fukuoka.jp":!0,"fukushima.jp":!0,"gifu.jp":!0,"gunma.jp":!0,"hiroshima.jp":!0,"hokkaido.jp":!0,"hyogo.jp":!0,"ibaraki.jp":!0,"ishikawa.jp":!0,"iwate.jp":!0,"kagawa.jp":!0,"kagoshima.jp":!0,"kanagawa.jp":!0,"kochi.jp":!0,"kumamoto.jp":!0,"kyoto.jp":!0,"mie.jp":!0,"miyagi.jp":!0,"miyazaki.jp":!0,"nagano.jp":!0,"nagasaki.jp":!0,"nara.jp":!0,"niigata.jp":!0,"oita.jp":!0,"okayama.jp":!0,"okinawa.jp":!0,"osaka.jp":!0,"saga.jp":!0,"saitama.jp":!0,"shiga.jp":!0,"shimane.jp":!0,"shizuoka.jp":!0,"tochigi.jp":!0,"tokushima.jp":!0,"tokyo.jp":!0,"tottori.jp":!0,"toyama.jp":!0,"wakayama.jp":!0,"yamagata.jp":!0,"yamaguchi.jp":!0,"yamanashi.jp":!0,"xn--4pvxs.jp":!0,"xn--vgu402c.jp":!0,"xn--c3s14m.jp":!0,"xn--f6qx53a.jp":!0,"xn--8pvr4u.jp":!0,"xn--uist22h.jp":!0,"xn--djrs72d6uy.jp":!0,"xn--mkru45i.jp":!0,"xn--0trq7p7nn.jp":!0,"xn--8ltr62k.jp":!0,"xn--2m4a15e.jp":!0,"xn--efvn9s.jp":!0,"xn--32vp30h.jp":!0,"xn--4it797k.jp":!0,"xn--1lqs71d.jp":!0,"xn--5rtp49c.jp":!0,"xn--5js045d.jp":!0,"xn--ehqz56n.jp":!0,"xn--1lqs03n.jp":!0,"xn--qqqt11m.jp":!0,"xn--kbrq7o.jp":!0,"xn--pssu33l.jp":!0,"xn--ntsq17g.jp":!0,"xn--uisz3g.jp":!0,"xn--6btw5a.jp":!0,"xn--1ctwo.jp":!0,"xn--6orx2r.jp":!0,"xn--rht61e.jp":!0,"xn--rht27z.jp":!0,"xn--djty4k.jp":!0,"xn--nit225k.jp":!0,"xn--rht3d.jp":!0,"xn--klty5x.jp":!0,"xn--kltx9a.jp":!0,"xn--kltp7d.jp":!0,"xn--uuwu58a.jp":!0,"xn--zbx025d.jp":!0,"xn--ntso0iqx3a.jp":!0,"xn--elqq16h.jp":!0,"xn--4it168d.jp":!0,"xn--klt787d.jp":!0,"xn--rny31h.jp":!0,"xn--7t0a264c.jp":!0,"xn--5rtq34k.jp":!0,"xn--k7yn95e.jp":!0,"xn--tor131o.jp":!0,"xn--d5qv7z876c.jp":!0,"*.kawasaki.jp":!0,"*.kitakyushu.jp":!0,"*.kobe.jp":!0,"*.nagoya.jp":!0,"*.sapporo.jp":!0,"*.sendai.jp":!0,"*.yokohama.jp":!0,"city.kawasaki.jp":!1,"city.kitakyushu.jp":!1,"city.kobe.jp":!1,"city.nagoya.jp":!1,"city.sapporo.jp":!1,"city.sendai.jp":!1,"city.yokohama.jp":!1,"aisai.aichi.jp":!0,"ama.aichi.jp":!0,"anjo.aichi.jp":!0,"asuke.aichi.jp":!0,"chiryu.aichi.jp":!0,"chita.aichi.jp":!0,"fuso.aichi.jp":!0,"gamagori.aichi.jp":!0,"handa.aichi.jp":!0,"hazu.aichi.jp":!0,"hekinan.aichi.jp":!0,"higashiura.aichi.jp":!0,"ichinomiya.aichi.jp":!0,"inazawa.aichi.jp":!0,"inuyama.aichi.jp":!0,"isshiki.aichi.jp":!0,"iwakura.aichi.jp":!0,"kanie.aichi.jp":!0,"kariya.aichi.jp":!0,"kasugai.aichi.jp":!0,"kira.aichi.jp":!0,"kiyosu.aichi.jp":!0,"komaki.aichi.jp":!0,"konan.aichi.jp":!0,"kota.aichi.jp":!0,"mihama.aichi.jp":!0,"miyoshi.aichi.jp":!0,"nishio.aichi.jp":!0,"nisshin.aichi.jp":!0,"obu.aichi.jp":!0,"oguchi.aichi.jp":!0,"oharu.aichi.jp":!0,"okazaki.aichi.jp":!0,"owariasahi.aichi.jp":!0,"seto.aichi.jp":!0,"shikatsu.aichi.jp":!0,"shinshiro.aichi.jp":!0,"shitara.aichi.jp":!0,"tahara.aichi.jp":!0,"takahama.aichi.jp":!0,"tobishima.aichi.jp":!0,"toei.aichi.jp":!0,"togo.aichi.jp":!0,"tokai.aichi.jp":!0,"tokoname.aichi.jp":!0,"toyoake.aichi.jp":!0,"toyohashi.aichi.jp":!0,"toyokawa.aichi.jp":!0,"toyone.aichi.jp":!0,"toyota.aichi.jp":!0,"tsushima.aichi.jp":!0,"yatomi.aichi.jp":!0,"akita.akita.jp":!0,"daisen.akita.jp":!0,"fujisato.akita.jp":!0,"gojome.akita.jp":!0,"hachirogata.akita.jp":!0,"happou.akita.jp":!0,"higashinaruse.akita.jp":!0,"honjo.akita.jp":!0,"honjyo.akita.jp":!0,"ikawa.akita.jp":!0,"kamikoani.akita.jp":!0,"kamioka.akita.jp":!0,"katagami.akita.jp":!0,"kazuno.akita.jp":!0,"kitaakita.akita.jp":!0,"kosaka.akita.jp":!0,"kyowa.akita.jp":!0,"misato.akita.jp":!0,"mitane.akita.jp":!0,"moriyoshi.akita.jp":!0,"nikaho.akita.jp":!0,"noshiro.akita.jp":!0,"odate.akita.jp":!0,"oga.akita.jp":!0,"ogata.akita.jp":!0,"semboku.akita.jp":!0,"yokote.akita.jp":!0,"yurihonjo.akita.jp":!0,"aomori.aomori.jp":!0,"gonohe.aomori.jp":!0,"hachinohe.aomori.jp":!0,"hashikami.aomori.jp":!0,"hiranai.aomori.jp":!0,"hirosaki.aomori.jp":!0,"itayanagi.aomori.jp":!0,"kuroishi.aomori.jp":!0,"misawa.aomori.jp":!0,"mutsu.aomori.jp":!0,"nakadomari.aomori.jp":!0,"noheji.aomori.jp":!0,"oirase.aomori.jp":!0,"owani.aomori.jp":!0,"rokunohe.aomori.jp":!0,"sannohe.aomori.jp":!0,"shichinohe.aomori.jp":!0,"shingo.aomori.jp":!0,"takko.aomori.jp":!0,"towada.aomori.jp":!0,"tsugaru.aomori.jp":!0,"tsuruta.aomori.jp":!0,"abiko.chiba.jp":!0,"asahi.chiba.jp":!0,"chonan.chiba.jp":!0,"chosei.chiba.jp":!0,"choshi.chiba.jp":!0,"chuo.chiba.jp":!0,"funabashi.chiba.jp":!0,"futtsu.chiba.jp":!0,"hanamigawa.chiba.jp":!0,"ichihara.chiba.jp":!0,"ichikawa.chiba.jp":!0,"ichinomiya.chiba.jp":!0,"inzai.chiba.jp":!0,"isumi.chiba.jp":!0,"kamagaya.chiba.jp":!0,"kamogawa.chiba.jp":!0,"kashiwa.chiba.jp":!0,"katori.chiba.jp":!0,"katsuura.chiba.jp":!0,"kimitsu.chiba.jp":!0,"kisarazu.chiba.jp":!0,"kozaki.chiba.jp":!0,"kujukuri.chiba.jp":!0,"kyonan.chiba.jp":!0,"matsudo.chiba.jp":!0,"midori.chiba.jp":!0,"mihama.chiba.jp":!0,"minamiboso.chiba.jp":!0,"mobara.chiba.jp":!0,"mutsuzawa.chiba.jp":!0,"nagara.chiba.jp":!0,"nagareyama.chiba.jp":!0,"narashino.chiba.jp":!0,"narita.chiba.jp":!0,"noda.chiba.jp":!0,"oamishirasato.chiba.jp":!0,"omigawa.chiba.jp":!0,"onjuku.chiba.jp":!0,"otaki.chiba.jp":!0,"sakae.chiba.jp":!0,"sakura.chiba.jp":!0,"shimofusa.chiba.jp":!0,"shirako.chiba.jp":!0,"shiroi.chiba.jp":!0,"shisui.chiba.jp":!0,"sodegaura.chiba.jp":!0,"sosa.chiba.jp":!0,"tako.chiba.jp":!0,"tateyama.chiba.jp":!0,"togane.chiba.jp":!0,"tohnosho.chiba.jp":!0,"tomisato.chiba.jp":!0,"urayasu.chiba.jp":!0,"yachimata.chiba.jp":!0,"yachiyo.chiba.jp":!0,"yokaichiba.chiba.jp":!0,"yokoshibahikari.chiba.jp":!0,"yotsukaido.chiba.jp":!0,"ainan.ehime.jp":!0,"honai.ehime.jp":!0,"ikata.ehime.jp":!0,"imabari.ehime.jp":!0,"iyo.ehime.jp":!0,"kamijima.ehime.jp":!0,"kihoku.ehime.jp":!0,"kumakogen.ehime.jp":!0,"masaki.ehime.jp":!0,"matsuno.ehime.jp":!0,"matsuyama.ehime.jp":!0,"namikata.ehime.jp":!0,"niihama.ehime.jp":!0,"ozu.ehime.jp":!0,"saijo.ehime.jp":!0,"seiyo.ehime.jp":!0,"shikokuchuo.ehime.jp":!0,"tobe.ehime.jp":!0,"toon.ehime.jp":!0,"uchiko.ehime.jp":!0,"uwajima.ehime.jp":!0,"yawatahama.ehime.jp":!0,"echizen.fukui.jp":!0,"eiheiji.fukui.jp":!0,"fukui.fukui.jp":!0,"ikeda.fukui.jp":!0,"katsuyama.fukui.jp":!0,"mihama.fukui.jp":!0,"minamiechizen.fukui.jp":!0,"obama.fukui.jp":!0,"ohi.fukui.jp":!0,"ono.fukui.jp":!0,"sabae.fukui.jp":!0,"sakai.fukui.jp":!0,"takahama.fukui.jp":!0,"tsuruga.fukui.jp":!0,"wakasa.fukui.jp":!0,"ashiya.fukuoka.jp":!0,"buzen.fukuoka.jp":!0,"chikugo.fukuoka.jp":!0,"chikuho.fukuoka.jp":!0,"chikujo.fukuoka.jp":!0,"chikushino.fukuoka.jp":!0,"chikuzen.fukuoka.jp":!0,"chuo.fukuoka.jp":!0,"dazaifu.fukuoka.jp":!0,"fukuchi.fukuoka.jp":!0,"hakata.fukuoka.jp":!0,"higashi.fukuoka.jp":!0,"hirokawa.fukuoka.jp":!0,"hisayama.fukuoka.jp":!0,"iizuka.fukuoka.jp":!0,"inatsuki.fukuoka.jp":!0,"kaho.fukuoka.jp":!0,"kasuga.fukuoka.jp":!0,"kasuya.fukuoka.jp":!0,"kawara.fukuoka.jp":!0,"keisen.fukuoka.jp":!0,"koga.fukuoka.jp":!0,"kurate.fukuoka.jp":!0,"kurogi.fukuoka.jp":!0,"kurume.fukuoka.jp":!0,"minami.fukuoka.jp":!0,"miyako.fukuoka.jp":!0,"miyama.fukuoka.jp":!0,"miyawaka.fukuoka.jp":!0,"mizumaki.fukuoka.jp":!0,"munakata.fukuoka.jp":!0,"nakagawa.fukuoka.jp":!0,"nakama.fukuoka.jp":!0,"nishi.fukuoka.jp":!0,"nogata.fukuoka.jp":!0,"ogori.fukuoka.jp":!0,"okagaki.fukuoka.jp":!0,"okawa.fukuoka.jp":!0,"oki.fukuoka.jp":!0,"omuta.fukuoka.jp":!0,"onga.fukuoka.jp":!0,"onojo.fukuoka.jp":!0,"oto.fukuoka.jp":!0,"saigawa.fukuoka.jp":!0,"sasaguri.fukuoka.jp":!0,"shingu.fukuoka.jp":!0,"shinyoshitomi.fukuoka.jp":!0,"shonai.fukuoka.jp":!0,"soeda.fukuoka.jp":!0,"sue.fukuoka.jp":!0,"tachiarai.fukuoka.jp":!0,"tagawa.fukuoka.jp":!0,"takata.fukuoka.jp":!0,"toho.fukuoka.jp":!0,"toyotsu.fukuoka.jp":!0,"tsuiki.fukuoka.jp":!0,"ukiha.fukuoka.jp":!0,"umi.fukuoka.jp":!0,"usui.fukuoka.jp":!0,"yamada.fukuoka.jp":!0,"yame.fukuoka.jp":!0,"yanagawa.fukuoka.jp":!0,"yukuhashi.fukuoka.jp":!0,"aizubange.fukushima.jp":!0,"aizumisato.fukushima.jp":!0,"aizuwakamatsu.fukushima.jp":!0,"asakawa.fukushima.jp":!0,"bandai.fukushima.jp":!0,"date.fukushima.jp":!0,"fukushima.fukushima.jp":!0,"furudono.fukushima.jp":!0,"futaba.fukushima.jp":!0,"hanawa.fukushima.jp":!0,"higashi.fukushima.jp":!0,"hirata.fukushima.jp":!0,"hirono.fukushima.jp":!0,"iitate.fukushima.jp":!0,"inawashiro.fukushima.jp":!0,"ishikawa.fukushima.jp":!0,"iwaki.fukushima.jp":!0,"izumizaki.fukushima.jp":!0,"kagamiishi.fukushima.jp":!0,"kaneyama.fukushima.jp":!0,"kawamata.fukushima.jp":!0,"kitakata.fukushima.jp":!0,"kitashiobara.fukushima.jp":!0,"koori.fukushima.jp":!0,"koriyama.fukushima.jp":!0,"kunimi.fukushima.jp":!0,"miharu.fukushima.jp":!0,"mishima.fukushima.jp":!0,"namie.fukushima.jp":!0,"nango.fukushima.jp":!0,"nishiaizu.fukushima.jp":!0,"nishigo.fukushima.jp":!0,"okuma.fukushima.jp":!0,"omotego.fukushima.jp":!0,"ono.fukushima.jp":!0,"otama.fukushima.jp":!0,"samegawa.fukushima.jp":!0,"shimogo.fukushima.jp":!0,"shirakawa.fukushima.jp":!0,"showa.fukushima.jp":!0,"soma.fukushima.jp":!0,"sukagawa.fukushima.jp":!0,"taishin.fukushima.jp":!0,"tamakawa.fukushima.jp":!0,"tanagura.fukushima.jp":!0,"tenei.fukushima.jp":!0,"yabuki.fukushima.jp":!0,"yamato.fukushima.jp":!0,"yamatsuri.fukushima.jp":!0,"yanaizu.fukushima.jp":!0,"yugawa.fukushima.jp":!0,"anpachi.gifu.jp":!0,"ena.gifu.jp":!0,"gifu.gifu.jp":!0,"ginan.gifu.jp":!0,"godo.gifu.jp":!0,"gujo.gifu.jp":!0,"hashima.gifu.jp":!0,"hichiso.gifu.jp":!0,"hida.gifu.jp":!0,"higashishirakawa.gifu.jp":!0,"ibigawa.gifu.jp":!0,"ikeda.gifu.jp":!0,"kakamigahara.gifu.jp":!0,"kani.gifu.jp":!0,"kasahara.gifu.jp":!0,"kasamatsu.gifu.jp":!0,"kawaue.gifu.jp":!0,"kitagata.gifu.jp":!0,"mino.gifu.jp":!0,"minokamo.gifu.jp":!0,"mitake.gifu.jp":!0,"mizunami.gifu.jp":!0,"motosu.gifu.jp":!0,"nakatsugawa.gifu.jp":!0,"ogaki.gifu.jp":!0,"sakahogi.gifu.jp":!0,"seki.gifu.jp":!0,"sekigahara.gifu.jp":!0,"shirakawa.gifu.jp":!0,"tajimi.gifu.jp":!0,"takayama.gifu.jp":!0,"tarui.gifu.jp":!0,"toki.gifu.jp":!0,"tomika.gifu.jp":!0,"wanouchi.gifu.jp":!0,"yamagata.gifu.jp":!0,"yaotsu.gifu.jp":!0,"yoro.gifu.jp":!0,"annaka.gunma.jp":!0,"chiyoda.gunma.jp":!0,"fujioka.gunma.jp":!0,"higashiagatsuma.gunma.jp":!0,"isesaki.gunma.jp":!0,"itakura.gunma.jp":!0,"kanna.gunma.jp":!0,"kanra.gunma.jp":!0,"katashina.gunma.jp":!0,"kawaba.gunma.jp":!0,"kiryu.gunma.jp":!0,"kusatsu.gunma.jp":!0,"maebashi.gunma.jp":!0,"meiwa.gunma.jp":!0,"midori.gunma.jp":!0,"minakami.gunma.jp":!0,"naganohara.gunma.jp":!0,"nakanojo.gunma.jp":!0,"nanmoku.gunma.jp":!0,"numata.gunma.jp":!0,"oizumi.gunma.jp":!0,"ora.gunma.jp":!0,"ota.gunma.jp":!0,"shibukawa.gunma.jp":!0,"shimonita.gunma.jp":!0,"shinto.gunma.jp":!0,"showa.gunma.jp":!0,"takasaki.gunma.jp":!0,"takayama.gunma.jp":!0,"tamamura.gunma.jp":!0,"tatebayashi.gunma.jp":!0,"tomioka.gunma.jp":!0,"tsukiyono.gunma.jp":!0,"tsumagoi.gunma.jp":!0,"ueno.gunma.jp":!0,"yoshioka.gunma.jp":!0,"asaminami.hiroshima.jp":!0,"daiwa.hiroshima.jp":!0,"etajima.hiroshima.jp":!0,"fuchu.hiroshima.jp":!0,"fukuyama.hiroshima.jp":!0,"hatsukaichi.hiroshima.jp":!0,"higashihiroshima.hiroshima.jp":!0,"hongo.hiroshima.jp":!0,"jinsekikogen.hiroshima.jp":!0,"kaita.hiroshima.jp":!0,"kui.hiroshima.jp":!0,"kumano.hiroshima.jp":!0,"kure.hiroshima.jp":!0,"mihara.hiroshima.jp":!0,"miyoshi.hiroshima.jp":!0,"naka.hiroshima.jp":!0,"onomichi.hiroshima.jp":!0,"osakikamijima.hiroshima.jp":!0,"otake.hiroshima.jp":!0,"saka.hiroshima.jp":!0,"sera.hiroshima.jp":!0,"seranishi.hiroshima.jp":!0,"shinichi.hiroshima.jp":!0,"shobara.hiroshima.jp":!0,"takehara.hiroshima.jp":!0,"abashiri.hokkaido.jp":!0,"abira.hokkaido.jp":!0,"aibetsu.hokkaido.jp":!0,"akabira.hokkaido.jp":!0,"akkeshi.hokkaido.jp":!0,"asahikawa.hokkaido.jp":!0,"ashibetsu.hokkaido.jp":!0,"ashoro.hokkaido.jp":!0,"assabu.hokkaido.jp":!0,"atsuma.hokkaido.jp":!0,"bibai.hokkaido.jp":!0,"biei.hokkaido.jp":!0,"bifuka.hokkaido.jp":!0,"bihoro.hokkaido.jp":!0,"biratori.hokkaido.jp":!0,"chippubetsu.hokkaido.jp":!0,"chitose.hokkaido.jp":!0,"date.hokkaido.jp":!0,"ebetsu.hokkaido.jp":!0,"embetsu.hokkaido.jp":!0,"eniwa.hokkaido.jp":!0,"erimo.hokkaido.jp":!0,"esan.hokkaido.jp":!0,"esashi.hokkaido.jp":!0,"fukagawa.hokkaido.jp":!0,"fukushima.hokkaido.jp":!0,"furano.hokkaido.jp":!0,"furubira.hokkaido.jp":!0,"haboro.hokkaido.jp":!0,"hakodate.hokkaido.jp":!0,"hamatonbetsu.hokkaido.jp":!0,"hidaka.hokkaido.jp":!0,"higashikagura.hokkaido.jp":!0,"higashikawa.hokkaido.jp":!0,"hiroo.hokkaido.jp":!0,"hokuryu.hokkaido.jp":!0,"hokuto.hokkaido.jp":!0,"honbetsu.hokkaido.jp":!0,"horokanai.hokkaido.jp":!0,"horonobe.hokkaido.jp":!0,"ikeda.hokkaido.jp":!0,"imakane.hokkaido.jp":!0,"ishikari.hokkaido.jp":!0,"iwamizawa.hokkaido.jp":!0,"iwanai.hokkaido.jp":!0,"kamifurano.hokkaido.jp":!0,"kamikawa.hokkaido.jp":!0,"kamishihoro.hokkaido.jp":!0,"kamisunagawa.hokkaido.jp":!0,"kamoenai.hokkaido.jp":!0,"kayabe.hokkaido.jp":!0,"kembuchi.hokkaido.jp":!0,"kikonai.hokkaido.jp":!0,"kimobetsu.hokkaido.jp":!0,"kitahiroshima.hokkaido.jp":!0,"kitami.hokkaido.jp":!0,"kiyosato.hokkaido.jp":!0,"koshimizu.hokkaido.jp":!0,"kunneppu.hokkaido.jp":!0,"kuriyama.hokkaido.jp":!0,"kuromatsunai.hokkaido.jp":!0,"kushiro.hokkaido.jp":!0,"kutchan.hokkaido.jp":!0,"kyowa.hokkaido.jp":!0,"mashike.hokkaido.jp":!0,"matsumae.hokkaido.jp":!0,"mikasa.hokkaido.jp":!0,"minamifurano.hokkaido.jp":!0,"mombetsu.hokkaido.jp":!0,"moseushi.hokkaido.jp":!0,"mukawa.hokkaido.jp":!0,"muroran.hokkaido.jp":!0,"naie.hokkaido.jp":!0,"nakagawa.hokkaido.jp":!0,"nakasatsunai.hokkaido.jp":!0,"nakatombetsu.hokkaido.jp":!0,"nanae.hokkaido.jp":!0,"nanporo.hokkaido.jp":!0,"nayoro.hokkaido.jp":!0,"nemuro.hokkaido.jp":!0,"niikappu.hokkaido.jp":!0,"niki.hokkaido.jp":!0,"nishiokoppe.hokkaido.jp":!0,"noboribetsu.hokkaido.jp":!0,"numata.hokkaido.jp":!0,"obihiro.hokkaido.jp":!0,"obira.hokkaido.jp":!0,"oketo.hokkaido.jp":!0,"okoppe.hokkaido.jp":!0,"otaru.hokkaido.jp":!0,"otobe.hokkaido.jp":!0,"otofuke.hokkaido.jp":!0,"otoineppu.hokkaido.jp":!0,"oumu.hokkaido.jp":!0,"ozora.hokkaido.jp":!0,"pippu.hokkaido.jp":!0,"rankoshi.hokkaido.jp":!0,"rebun.hokkaido.jp":!0,"rikubetsu.hokkaido.jp":!0,"rishiri.hokkaido.jp":!0,"rishirifuji.hokkaido.jp":!0,"saroma.hokkaido.jp":!0,"sarufutsu.hokkaido.jp":!0,"shakotan.hokkaido.jp":!0,"shari.hokkaido.jp":!0,"shibecha.hokkaido.jp":!0,"shibetsu.hokkaido.jp":!0,"shikabe.hokkaido.jp":!0,"shikaoi.hokkaido.jp":!0,"shimamaki.hokkaido.jp":!0,"shimizu.hokkaido.jp":!0,"shimokawa.hokkaido.jp":!0,"shinshinotsu.hokkaido.jp":!0,"shintoku.hokkaido.jp":!0,"shiranuka.hokkaido.jp":!0,"shiraoi.hokkaido.jp":!0,"shiriuchi.hokkaido.jp":!0,"sobetsu.hokkaido.jp":!0,"sunagawa.hokkaido.jp":!0,"taiki.hokkaido.jp":!0,"takasu.hokkaido.jp":!0,"takikawa.hokkaido.jp":!0,"takinoue.hokkaido.jp":!0,"teshikaga.hokkaido.jp":!0,"tobetsu.hokkaido.jp":!0,"tohma.hokkaido.jp":!0,"tomakomai.hokkaido.jp":!0,"tomari.hokkaido.jp":!0,"toya.hokkaido.jp":!0,"toyako.hokkaido.jp":!0,"toyotomi.hokkaido.jp":!0,"toyoura.hokkaido.jp":!0,"tsubetsu.hokkaido.jp":!0,"tsukigata.hokkaido.jp":!0,"urakawa.hokkaido.jp":!0,"urausu.hokkaido.jp":!0,"uryu.hokkaido.jp":!0,"utashinai.hokkaido.jp":!0,"wakkanai.hokkaido.jp":!0,"wassamu.hokkaido.jp":!0,"yakumo.hokkaido.jp":!0,"yoichi.hokkaido.jp":!0,"aioi.hyogo.jp":!0,"akashi.hyogo.jp":!0,"ako.hyogo.jp":!0,"amagasaki.hyogo.jp":!0,"aogaki.hyogo.jp":!0,"asago.hyogo.jp":!0,"ashiya.hyogo.jp":!0,"awaji.hyogo.jp":!0,"fukusaki.hyogo.jp":!0,"goshiki.hyogo.jp":!0,"harima.hyogo.jp":!0,"himeji.hyogo.jp":!0,"ichikawa.hyogo.jp":!0,"inagawa.hyogo.jp":!0,"itami.hyogo.jp":!0,"kakogawa.hyogo.jp":!0, -"kamigori.hyogo.jp":!0,"kamikawa.hyogo.jp":!0,"kasai.hyogo.jp":!0,"kasuga.hyogo.jp":!0,"kawanishi.hyogo.jp":!0,"miki.hyogo.jp":!0,"minamiawaji.hyogo.jp":!0,"nishinomiya.hyogo.jp":!0,"nishiwaki.hyogo.jp":!0,"ono.hyogo.jp":!0,"sanda.hyogo.jp":!0,"sannan.hyogo.jp":!0,"sasayama.hyogo.jp":!0,"sayo.hyogo.jp":!0,"shingu.hyogo.jp":!0,"shinonsen.hyogo.jp":!0,"shiso.hyogo.jp":!0,"sumoto.hyogo.jp":!0,"taishi.hyogo.jp":!0,"taka.hyogo.jp":!0,"takarazuka.hyogo.jp":!0,"takasago.hyogo.jp":!0,"takino.hyogo.jp":!0,"tamba.hyogo.jp":!0,"tatsuno.hyogo.jp":!0,"toyooka.hyogo.jp":!0,"yabu.hyogo.jp":!0,"yashiro.hyogo.jp":!0,"yoka.hyogo.jp":!0,"yokawa.hyogo.jp":!0,"ami.ibaraki.jp":!0,"asahi.ibaraki.jp":!0,"bando.ibaraki.jp":!0,"chikusei.ibaraki.jp":!0,"daigo.ibaraki.jp":!0,"fujishiro.ibaraki.jp":!0,"hitachi.ibaraki.jp":!0,"hitachinaka.ibaraki.jp":!0,"hitachiomiya.ibaraki.jp":!0,"hitachiota.ibaraki.jp":!0,"ibaraki.ibaraki.jp":!0,"ina.ibaraki.jp":!0,"inashiki.ibaraki.jp":!0,"itako.ibaraki.jp":!0,"iwama.ibaraki.jp":!0,"joso.ibaraki.jp":!0,"kamisu.ibaraki.jp":!0,"kasama.ibaraki.jp":!0,"kashima.ibaraki.jp":!0,"kasumigaura.ibaraki.jp":!0,"koga.ibaraki.jp":!0,"miho.ibaraki.jp":!0,"mito.ibaraki.jp":!0,"moriya.ibaraki.jp":!0,"naka.ibaraki.jp":!0,"namegata.ibaraki.jp":!0,"oarai.ibaraki.jp":!0,"ogawa.ibaraki.jp":!0,"omitama.ibaraki.jp":!0,"ryugasaki.ibaraki.jp":!0,"sakai.ibaraki.jp":!0,"sakuragawa.ibaraki.jp":!0,"shimodate.ibaraki.jp":!0,"shimotsuma.ibaraki.jp":!0,"shirosato.ibaraki.jp":!0,"sowa.ibaraki.jp":!0,"suifu.ibaraki.jp":!0,"takahagi.ibaraki.jp":!0,"tamatsukuri.ibaraki.jp":!0,"tokai.ibaraki.jp":!0,"tomobe.ibaraki.jp":!0,"tone.ibaraki.jp":!0,"toride.ibaraki.jp":!0,"tsuchiura.ibaraki.jp":!0,"tsukuba.ibaraki.jp":!0,"uchihara.ibaraki.jp":!0,"ushiku.ibaraki.jp":!0,"yachiyo.ibaraki.jp":!0,"yamagata.ibaraki.jp":!0,"yawara.ibaraki.jp":!0,"yuki.ibaraki.jp":!0,"anamizu.ishikawa.jp":!0,"hakui.ishikawa.jp":!0,"hakusan.ishikawa.jp":!0,"kaga.ishikawa.jp":!0,"kahoku.ishikawa.jp":!0,"kanazawa.ishikawa.jp":!0,"kawakita.ishikawa.jp":!0,"komatsu.ishikawa.jp":!0,"nakanoto.ishikawa.jp":!0,"nanao.ishikawa.jp":!0,"nomi.ishikawa.jp":!0,"nonoichi.ishikawa.jp":!0,"noto.ishikawa.jp":!0,"shika.ishikawa.jp":!0,"suzu.ishikawa.jp":!0,"tsubata.ishikawa.jp":!0,"tsurugi.ishikawa.jp":!0,"uchinada.ishikawa.jp":!0,"wajima.ishikawa.jp":!0,"fudai.iwate.jp":!0,"fujisawa.iwate.jp":!0,"hanamaki.iwate.jp":!0,"hiraizumi.iwate.jp":!0,"hirono.iwate.jp":!0,"ichinohe.iwate.jp":!0,"ichinoseki.iwate.jp":!0,"iwaizumi.iwate.jp":!0,"iwate.iwate.jp":!0,"joboji.iwate.jp":!0,"kamaishi.iwate.jp":!0,"kanegasaki.iwate.jp":!0,"karumai.iwate.jp":!0,"kawai.iwate.jp":!0,"kitakami.iwate.jp":!0,"kuji.iwate.jp":!0,"kunohe.iwate.jp":!0,"kuzumaki.iwate.jp":!0,"miyako.iwate.jp":!0,"mizusawa.iwate.jp":!0,"morioka.iwate.jp":!0,"ninohe.iwate.jp":!0,"noda.iwate.jp":!0,"ofunato.iwate.jp":!0,"oshu.iwate.jp":!0,"otsuchi.iwate.jp":!0,"rikuzentakata.iwate.jp":!0,"shiwa.iwate.jp":!0,"shizukuishi.iwate.jp":!0,"sumita.iwate.jp":!0,"tanohata.iwate.jp":!0,"tono.iwate.jp":!0,"yahaba.iwate.jp":!0,"yamada.iwate.jp":!0,"ayagawa.kagawa.jp":!0,"higashikagawa.kagawa.jp":!0,"kanonji.kagawa.jp":!0,"kotohira.kagawa.jp":!0,"manno.kagawa.jp":!0,"marugame.kagawa.jp":!0,"mitoyo.kagawa.jp":!0,"naoshima.kagawa.jp":!0,"sanuki.kagawa.jp":!0,"tadotsu.kagawa.jp":!0,"takamatsu.kagawa.jp":!0,"tonosho.kagawa.jp":!0,"uchinomi.kagawa.jp":!0,"utazu.kagawa.jp":!0,"zentsuji.kagawa.jp":!0,"akune.kagoshima.jp":!0,"amami.kagoshima.jp":!0,"hioki.kagoshima.jp":!0,"isa.kagoshima.jp":!0,"isen.kagoshima.jp":!0,"izumi.kagoshima.jp":!0,"kagoshima.kagoshima.jp":!0,"kanoya.kagoshima.jp":!0,"kawanabe.kagoshima.jp":!0,"kinko.kagoshima.jp":!0,"kouyama.kagoshima.jp":!0,"makurazaki.kagoshima.jp":!0,"matsumoto.kagoshima.jp":!0,"minamitane.kagoshima.jp":!0,"nakatane.kagoshima.jp":!0,"nishinoomote.kagoshima.jp":!0,"satsumasendai.kagoshima.jp":!0,"soo.kagoshima.jp":!0,"tarumizu.kagoshima.jp":!0,"yusui.kagoshima.jp":!0,"aikawa.kanagawa.jp":!0,"atsugi.kanagawa.jp":!0,"ayase.kanagawa.jp":!0,"chigasaki.kanagawa.jp":!0,"ebina.kanagawa.jp":!0,"fujisawa.kanagawa.jp":!0,"hadano.kanagawa.jp":!0,"hakone.kanagawa.jp":!0,"hiratsuka.kanagawa.jp":!0,"isehara.kanagawa.jp":!0,"kaisei.kanagawa.jp":!0,"kamakura.kanagawa.jp":!0,"kiyokawa.kanagawa.jp":!0,"matsuda.kanagawa.jp":!0,"minamiashigara.kanagawa.jp":!0,"miura.kanagawa.jp":!0,"nakai.kanagawa.jp":!0,"ninomiya.kanagawa.jp":!0,"odawara.kanagawa.jp":!0,"oi.kanagawa.jp":!0,"oiso.kanagawa.jp":!0,"sagamihara.kanagawa.jp":!0,"samukawa.kanagawa.jp":!0,"tsukui.kanagawa.jp":!0,"yamakita.kanagawa.jp":!0,"yamato.kanagawa.jp":!0,"yokosuka.kanagawa.jp":!0,"yugawara.kanagawa.jp":!0,"zama.kanagawa.jp":!0,"zushi.kanagawa.jp":!0,"aki.kochi.jp":!0,"geisei.kochi.jp":!0,"hidaka.kochi.jp":!0,"higashitsuno.kochi.jp":!0,"ino.kochi.jp":!0,"kagami.kochi.jp":!0,"kami.kochi.jp":!0,"kitagawa.kochi.jp":!0,"kochi.kochi.jp":!0,"mihara.kochi.jp":!0,"motoyama.kochi.jp":!0,"muroto.kochi.jp":!0,"nahari.kochi.jp":!0,"nakamura.kochi.jp":!0,"nankoku.kochi.jp":!0,"nishitosa.kochi.jp":!0,"niyodogawa.kochi.jp":!0,"ochi.kochi.jp":!0,"okawa.kochi.jp":!0,"otoyo.kochi.jp":!0,"otsuki.kochi.jp":!0,"sakawa.kochi.jp":!0,"sukumo.kochi.jp":!0,"susaki.kochi.jp":!0,"tosa.kochi.jp":!0,"tosashimizu.kochi.jp":!0,"toyo.kochi.jp":!0,"tsuno.kochi.jp":!0,"umaji.kochi.jp":!0,"yasuda.kochi.jp":!0,"yusuhara.kochi.jp":!0,"amakusa.kumamoto.jp":!0,"arao.kumamoto.jp":!0,"aso.kumamoto.jp":!0,"choyo.kumamoto.jp":!0,"gyokuto.kumamoto.jp":!0,"hitoyoshi.kumamoto.jp":!0,"kamiamakusa.kumamoto.jp":!0,"kashima.kumamoto.jp":!0,"kikuchi.kumamoto.jp":!0,"kosa.kumamoto.jp":!0,"kumamoto.kumamoto.jp":!0,"mashiki.kumamoto.jp":!0,"mifune.kumamoto.jp":!0,"minamata.kumamoto.jp":!0,"minamioguni.kumamoto.jp":!0,"nagasu.kumamoto.jp":!0,"nishihara.kumamoto.jp":!0,"oguni.kumamoto.jp":!0,"ozu.kumamoto.jp":!0,"sumoto.kumamoto.jp":!0,"takamori.kumamoto.jp":!0,"uki.kumamoto.jp":!0,"uto.kumamoto.jp":!0,"yamaga.kumamoto.jp":!0,"yamato.kumamoto.jp":!0,"yatsushiro.kumamoto.jp":!0,"ayabe.kyoto.jp":!0,"fukuchiyama.kyoto.jp":!0,"higashiyama.kyoto.jp":!0,"ide.kyoto.jp":!0,"ine.kyoto.jp":!0,"joyo.kyoto.jp":!0,"kameoka.kyoto.jp":!0,"kamo.kyoto.jp":!0,"kita.kyoto.jp":!0,"kizu.kyoto.jp":!0,"kumiyama.kyoto.jp":!0,"kyotamba.kyoto.jp":!0,"kyotanabe.kyoto.jp":!0,"kyotango.kyoto.jp":!0,"maizuru.kyoto.jp":!0,"minami.kyoto.jp":!0,"minamiyamashiro.kyoto.jp":!0,"miyazu.kyoto.jp":!0,"muko.kyoto.jp":!0,"nagaokakyo.kyoto.jp":!0,"nakagyo.kyoto.jp":!0,"nantan.kyoto.jp":!0,"oyamazaki.kyoto.jp":!0,"sakyo.kyoto.jp":!0,"seika.kyoto.jp":!0,"tanabe.kyoto.jp":!0,"uji.kyoto.jp":!0,"ujitawara.kyoto.jp":!0,"wazuka.kyoto.jp":!0,"yamashina.kyoto.jp":!0,"yawata.kyoto.jp":!0,"asahi.mie.jp":!0,"inabe.mie.jp":!0,"ise.mie.jp":!0,"kameyama.mie.jp":!0,"kawagoe.mie.jp":!0,"kiho.mie.jp":!0,"kisosaki.mie.jp":!0,"kiwa.mie.jp":!0,"komono.mie.jp":!0,"kumano.mie.jp":!0,"kuwana.mie.jp":!0,"matsusaka.mie.jp":!0,"meiwa.mie.jp":!0,"mihama.mie.jp":!0,"minamiise.mie.jp":!0,"misugi.mie.jp":!0,"miyama.mie.jp":!0,"nabari.mie.jp":!0,"shima.mie.jp":!0,"suzuka.mie.jp":!0,"tado.mie.jp":!0,"taiki.mie.jp":!0,"taki.mie.jp":!0,"tamaki.mie.jp":!0,"toba.mie.jp":!0,"tsu.mie.jp":!0,"udono.mie.jp":!0,"ureshino.mie.jp":!0,"watarai.mie.jp":!0,"yokkaichi.mie.jp":!0,"furukawa.miyagi.jp":!0,"higashimatsushima.miyagi.jp":!0,"ishinomaki.miyagi.jp":!0,"iwanuma.miyagi.jp":!0,"kakuda.miyagi.jp":!0,"kami.miyagi.jp":!0,"kawasaki.miyagi.jp":!0,"kesennuma.miyagi.jp":!0,"marumori.miyagi.jp":!0,"matsushima.miyagi.jp":!0,"minamisanriku.miyagi.jp":!0,"misato.miyagi.jp":!0,"murata.miyagi.jp":!0,"natori.miyagi.jp":!0,"ogawara.miyagi.jp":!0,"ohira.miyagi.jp":!0,"onagawa.miyagi.jp":!0,"osaki.miyagi.jp":!0,"rifu.miyagi.jp":!0,"semine.miyagi.jp":!0,"shibata.miyagi.jp":!0,"shichikashuku.miyagi.jp":!0,"shikama.miyagi.jp":!0,"shiogama.miyagi.jp":!0,"shiroishi.miyagi.jp":!0,"tagajo.miyagi.jp":!0,"taiwa.miyagi.jp":!0,"tome.miyagi.jp":!0,"tomiya.miyagi.jp":!0,"wakuya.miyagi.jp":!0,"watari.miyagi.jp":!0,"yamamoto.miyagi.jp":!0,"zao.miyagi.jp":!0,"aya.miyazaki.jp":!0,"ebino.miyazaki.jp":!0,"gokase.miyazaki.jp":!0,"hyuga.miyazaki.jp":!0,"kadogawa.miyazaki.jp":!0,"kawaminami.miyazaki.jp":!0,"kijo.miyazaki.jp":!0,"kitagawa.miyazaki.jp":!0,"kitakata.miyazaki.jp":!0,"kitaura.miyazaki.jp":!0,"kobayashi.miyazaki.jp":!0,"kunitomi.miyazaki.jp":!0,"kushima.miyazaki.jp":!0,"mimata.miyazaki.jp":!0,"miyakonojo.miyazaki.jp":!0,"miyazaki.miyazaki.jp":!0,"morotsuka.miyazaki.jp":!0,"nichinan.miyazaki.jp":!0,"nishimera.miyazaki.jp":!0,"nobeoka.miyazaki.jp":!0,"saito.miyazaki.jp":!0,"shiiba.miyazaki.jp":!0,"shintomi.miyazaki.jp":!0,"takaharu.miyazaki.jp":!0,"takanabe.miyazaki.jp":!0,"takazaki.miyazaki.jp":!0,"tsuno.miyazaki.jp":!0,"achi.nagano.jp":!0,"agematsu.nagano.jp":!0,"anan.nagano.jp":!0,"aoki.nagano.jp":!0,"asahi.nagano.jp":!0,"azumino.nagano.jp":!0,"chikuhoku.nagano.jp":!0,"chikuma.nagano.jp":!0,"chino.nagano.jp":!0,"fujimi.nagano.jp":!0,"hakuba.nagano.jp":!0,"hara.nagano.jp":!0,"hiraya.nagano.jp":!0,"iida.nagano.jp":!0,"iijima.nagano.jp":!0,"iiyama.nagano.jp":!0,"iizuna.nagano.jp":!0,"ikeda.nagano.jp":!0,"ikusaka.nagano.jp":!0,"ina.nagano.jp":!0,"karuizawa.nagano.jp":!0,"kawakami.nagano.jp":!0,"kiso.nagano.jp":!0,"kisofukushima.nagano.jp":!0,"kitaaiki.nagano.jp":!0,"komagane.nagano.jp":!0,"komoro.nagano.jp":!0,"matsukawa.nagano.jp":!0,"matsumoto.nagano.jp":!0,"miasa.nagano.jp":!0,"minamiaiki.nagano.jp":!0,"minamimaki.nagano.jp":!0,"minamiminowa.nagano.jp":!0,"minowa.nagano.jp":!0,"miyada.nagano.jp":!0,"miyota.nagano.jp":!0,"mochizuki.nagano.jp":!0,"nagano.nagano.jp":!0,"nagawa.nagano.jp":!0,"nagiso.nagano.jp":!0,"nakagawa.nagano.jp":!0,"nakano.nagano.jp":!0,"nozawaonsen.nagano.jp":!0,"obuse.nagano.jp":!0,"ogawa.nagano.jp":!0,"okaya.nagano.jp":!0,"omachi.nagano.jp":!0,"omi.nagano.jp":!0,"ookuwa.nagano.jp":!0,"ooshika.nagano.jp":!0,"otaki.nagano.jp":!0,"otari.nagano.jp":!0,"sakae.nagano.jp":!0,"sakaki.nagano.jp":!0,"saku.nagano.jp":!0,"sakuho.nagano.jp":!0,"shimosuwa.nagano.jp":!0,"shinanomachi.nagano.jp":!0,"shiojiri.nagano.jp":!0,"suwa.nagano.jp":!0,"suzaka.nagano.jp":!0,"takagi.nagano.jp":!0,"takamori.nagano.jp":!0,"takayama.nagano.jp":!0,"tateshina.nagano.jp":!0,"tatsuno.nagano.jp":!0,"togakushi.nagano.jp":!0,"togura.nagano.jp":!0,"tomi.nagano.jp":!0,"ueda.nagano.jp":!0,"wada.nagano.jp":!0,"yamagata.nagano.jp":!0,"yamanouchi.nagano.jp":!0,"yasaka.nagano.jp":!0,"yasuoka.nagano.jp":!0,"chijiwa.nagasaki.jp":!0,"futsu.nagasaki.jp":!0,"goto.nagasaki.jp":!0,"hasami.nagasaki.jp":!0,"hirado.nagasaki.jp":!0,"iki.nagasaki.jp":!0,"isahaya.nagasaki.jp":!0,"kawatana.nagasaki.jp":!0,"kuchinotsu.nagasaki.jp":!0,"matsuura.nagasaki.jp":!0,"nagasaki.nagasaki.jp":!0,"obama.nagasaki.jp":!0,"omura.nagasaki.jp":!0,"oseto.nagasaki.jp":!0,"saikai.nagasaki.jp":!0,"sasebo.nagasaki.jp":!0,"seihi.nagasaki.jp":!0,"shimabara.nagasaki.jp":!0,"shinkamigoto.nagasaki.jp":!0,"togitsu.nagasaki.jp":!0,"tsushima.nagasaki.jp":!0,"unzen.nagasaki.jp":!0,"ando.nara.jp":!0,"gose.nara.jp":!0,"heguri.nara.jp":!0,"higashiyoshino.nara.jp":!0,"ikaruga.nara.jp":!0,"ikoma.nara.jp":!0,"kamikitayama.nara.jp":!0,"kanmaki.nara.jp":!0,"kashiba.nara.jp":!0,"kashihara.nara.jp":!0,"katsuragi.nara.jp":!0,"kawai.nara.jp":!0,"kawakami.nara.jp":!0,"kawanishi.nara.jp":!0,"koryo.nara.jp":!0,"kurotaki.nara.jp":!0,"mitsue.nara.jp":!0,"miyake.nara.jp":!0,"nara.nara.jp":!0,"nosegawa.nara.jp":!0,"oji.nara.jp":!0,"ouda.nara.jp":!0,"oyodo.nara.jp":!0,"sakurai.nara.jp":!0,"sango.nara.jp":!0,"shimoichi.nara.jp":!0,"shimokitayama.nara.jp":!0,"shinjo.nara.jp":!0,"soni.nara.jp":!0,"takatori.nara.jp":!0,"tawaramoto.nara.jp":!0,"tenkawa.nara.jp":!0,"tenri.nara.jp":!0,"uda.nara.jp":!0,"yamatokoriyama.nara.jp":!0,"yamatotakada.nara.jp":!0,"yamazoe.nara.jp":!0,"yoshino.nara.jp":!0,"aga.niigata.jp":!0,"agano.niigata.jp":!0,"gosen.niigata.jp":!0,"itoigawa.niigata.jp":!0,"izumozaki.niigata.jp":!0,"joetsu.niigata.jp":!0,"kamo.niigata.jp":!0,"kariwa.niigata.jp":!0,"kashiwazaki.niigata.jp":!0,"minamiuonuma.niigata.jp":!0,"mitsuke.niigata.jp":!0,"muika.niigata.jp":!0,"murakami.niigata.jp":!0,"myoko.niigata.jp":!0,"nagaoka.niigata.jp":!0,"niigata.niigata.jp":!0,"ojiya.niigata.jp":!0,"omi.niigata.jp":!0,"sado.niigata.jp":!0,"sanjo.niigata.jp":!0,"seiro.niigata.jp":!0,"seirou.niigata.jp":!0,"sekikawa.niigata.jp":!0,"shibata.niigata.jp":!0,"tagami.niigata.jp":!0,"tainai.niigata.jp":!0,"tochio.niigata.jp":!0,"tokamachi.niigata.jp":!0,"tsubame.niigata.jp":!0,"tsunan.niigata.jp":!0,"uonuma.niigata.jp":!0,"yahiko.niigata.jp":!0,"yoita.niigata.jp":!0,"yuzawa.niigata.jp":!0,"beppu.oita.jp":!0,"bungoono.oita.jp":!0,"bungotakada.oita.jp":!0,"hasama.oita.jp":!0,"hiji.oita.jp":!0,"himeshima.oita.jp":!0,"hita.oita.jp":!0,"kamitsue.oita.jp":!0,"kokonoe.oita.jp":!0,"kuju.oita.jp":!0,"kunisaki.oita.jp":!0,"kusu.oita.jp":!0,"oita.oita.jp":!0,"saiki.oita.jp":!0,"taketa.oita.jp":!0,"tsukumi.oita.jp":!0,"usa.oita.jp":!0,"usuki.oita.jp":!0,"yufu.oita.jp":!0,"akaiwa.okayama.jp":!0,"asakuchi.okayama.jp":!0,"bizen.okayama.jp":!0,"hayashima.okayama.jp":!0,"ibara.okayama.jp":!0,"kagamino.okayama.jp":!0,"kasaoka.okayama.jp":!0,"kibichuo.okayama.jp":!0,"kumenan.okayama.jp":!0,"kurashiki.okayama.jp":!0,"maniwa.okayama.jp":!0,"misaki.okayama.jp":!0,"nagi.okayama.jp":!0,"niimi.okayama.jp":!0,"nishiawakura.okayama.jp":!0,"okayama.okayama.jp":!0,"satosho.okayama.jp":!0,"setouchi.okayama.jp":!0,"shinjo.okayama.jp":!0,"shoo.okayama.jp":!0,"soja.okayama.jp":!0,"takahashi.okayama.jp":!0,"tamano.okayama.jp":!0,"tsuyama.okayama.jp":!0,"wake.okayama.jp":!0,"yakage.okayama.jp":!0,"aguni.okinawa.jp":!0,"ginowan.okinawa.jp":!0,"ginoza.okinawa.jp":!0,"gushikami.okinawa.jp":!0,"haebaru.okinawa.jp":!0,"higashi.okinawa.jp":!0,"hirara.okinawa.jp":!0,"iheya.okinawa.jp":!0,"ishigaki.okinawa.jp":!0,"ishikawa.okinawa.jp":!0,"itoman.okinawa.jp":!0,"izena.okinawa.jp":!0,"kadena.okinawa.jp":!0,"kin.okinawa.jp":!0,"kitadaito.okinawa.jp":!0,"kitanakagusuku.okinawa.jp":!0,"kumejima.okinawa.jp":!0,"kunigami.okinawa.jp":!0,"minamidaito.okinawa.jp":!0,"motobu.okinawa.jp":!0,"nago.okinawa.jp":!0,"naha.okinawa.jp":!0,"nakagusuku.okinawa.jp":!0,"nakijin.okinawa.jp":!0,"nanjo.okinawa.jp":!0,"nishihara.okinawa.jp":!0,"ogimi.okinawa.jp":!0,"okinawa.okinawa.jp":!0,"onna.okinawa.jp":!0,"shimoji.okinawa.jp":!0,"taketomi.okinawa.jp":!0,"tarama.okinawa.jp":!0,"tokashiki.okinawa.jp":!0,"tomigusuku.okinawa.jp":!0,"tonaki.okinawa.jp":!0,"urasoe.okinawa.jp":!0,"uruma.okinawa.jp":!0,"yaese.okinawa.jp":!0,"yomitan.okinawa.jp":!0,"yonabaru.okinawa.jp":!0,"yonaguni.okinawa.jp":!0,"zamami.okinawa.jp":!0,"abeno.osaka.jp":!0,"chihayaakasaka.osaka.jp":!0,"chuo.osaka.jp":!0,"daito.osaka.jp":!0,"fujiidera.osaka.jp":!0,"habikino.osaka.jp":!0,"hannan.osaka.jp":!0,"higashiosaka.osaka.jp":!0,"higashisumiyoshi.osaka.jp":!0,"higashiyodogawa.osaka.jp":!0,"hirakata.osaka.jp":!0,"ibaraki.osaka.jp":!0,"ikeda.osaka.jp":!0,"izumi.osaka.jp":!0,"izumiotsu.osaka.jp":!0,"izumisano.osaka.jp":!0,"kadoma.osaka.jp":!0,"kaizuka.osaka.jp":!0,"kanan.osaka.jp":!0,"kashiwara.osaka.jp":!0,"katano.osaka.jp":!0,"kawachinagano.osaka.jp":!0,"kishiwada.osaka.jp":!0,"kita.osaka.jp":!0,"kumatori.osaka.jp":!0,"matsubara.osaka.jp":!0,"minato.osaka.jp":!0,"minoh.osaka.jp":!0,"misaki.osaka.jp":!0,"moriguchi.osaka.jp":!0,"neyagawa.osaka.jp":!0,"nishi.osaka.jp":!0,"nose.osaka.jp":!0,"osakasayama.osaka.jp":!0,"sakai.osaka.jp":!0,"sayama.osaka.jp":!0,"sennan.osaka.jp":!0,"settsu.osaka.jp":!0,"shijonawate.osaka.jp":!0,"shimamoto.osaka.jp":!0,"suita.osaka.jp":!0,"tadaoka.osaka.jp":!0,"taishi.osaka.jp":!0,"tajiri.osaka.jp":!0,"takaishi.osaka.jp":!0,"takatsuki.osaka.jp":!0,"tondabayashi.osaka.jp":!0,"toyonaka.osaka.jp":!0,"toyono.osaka.jp":!0,"yao.osaka.jp":!0,"ariake.saga.jp":!0,"arita.saga.jp":!0,"fukudomi.saga.jp":!0,"genkai.saga.jp":!0,"hamatama.saga.jp":!0,"hizen.saga.jp":!0,"imari.saga.jp":!0,"kamimine.saga.jp":!0,"kanzaki.saga.jp":!0,"karatsu.saga.jp":!0,"kashima.saga.jp":!0,"kitagata.saga.jp":!0,"kitahata.saga.jp":!0,"kiyama.saga.jp":!0,"kouhoku.saga.jp":!0,"kyuragi.saga.jp":!0,"nishiarita.saga.jp":!0,"ogi.saga.jp":!0,"omachi.saga.jp":!0,"ouchi.saga.jp":!0,"saga.saga.jp":!0,"shiroishi.saga.jp":!0,"taku.saga.jp":!0,"tara.saga.jp":!0,"tosu.saga.jp":!0,"yoshinogari.saga.jp":!0,"arakawa.saitama.jp":!0,"asaka.saitama.jp":!0,"chichibu.saitama.jp":!0,"fujimi.saitama.jp":!0,"fujimino.saitama.jp":!0,"fukaya.saitama.jp":!0,"hanno.saitama.jp":!0,"hanyu.saitama.jp":!0,"hasuda.saitama.jp":!0,"hatogaya.saitama.jp":!0,"hatoyama.saitama.jp":!0,"hidaka.saitama.jp":!0,"higashichichibu.saitama.jp":!0,"higashimatsuyama.saitama.jp":!0,"honjo.saitama.jp":!0,"ina.saitama.jp":!0,"iruma.saitama.jp":!0,"iwatsuki.saitama.jp":!0,"kamiizumi.saitama.jp":!0,"kamikawa.saitama.jp":!0,"kamisato.saitama.jp":!0,"kasukabe.saitama.jp":!0,"kawagoe.saitama.jp":!0,"kawaguchi.saitama.jp":!0,"kawajima.saitama.jp":!0,"kazo.saitama.jp":!0,"kitamoto.saitama.jp":!0,"koshigaya.saitama.jp":!0,"kounosu.saitama.jp":!0,"kuki.saitama.jp":!0,"kumagaya.saitama.jp":!0,"matsubushi.saitama.jp":!0,"minano.saitama.jp":!0,"misato.saitama.jp":!0,"miyashiro.saitama.jp":!0,"miyoshi.saitama.jp":!0,"moroyama.saitama.jp":!0,"nagatoro.saitama.jp":!0,"namegawa.saitama.jp":!0,"niiza.saitama.jp":!0,"ogano.saitama.jp":!0,"ogawa.saitama.jp":!0,"ogose.saitama.jp":!0,"okegawa.saitama.jp":!0,"omiya.saitama.jp":!0,"otaki.saitama.jp":!0,"ranzan.saitama.jp":!0,"ryokami.saitama.jp":!0,"saitama.saitama.jp":!0,"sakado.saitama.jp":!0,"satte.saitama.jp":!0,"sayama.saitama.jp":!0,"shiki.saitama.jp":!0,"shiraoka.saitama.jp":!0,"soka.saitama.jp":!0,"sugito.saitama.jp":!0,"toda.saitama.jp":!0,"tokigawa.saitama.jp":!0,"tokorozawa.saitama.jp":!0,"tsurugashima.saitama.jp":!0,"urawa.saitama.jp":!0,"warabi.saitama.jp":!0,"yashio.saitama.jp":!0,"yokoze.saitama.jp":!0,"yono.saitama.jp":!0,"yorii.saitama.jp":!0,"yoshida.saitama.jp":!0,"yoshikawa.saitama.jp":!0,"yoshimi.saitama.jp":!0,"aisho.shiga.jp":!0,"gamo.shiga.jp":!0,"higashiomi.shiga.jp":!0,"hikone.shiga.jp":!0,"koka.shiga.jp":!0,"konan.shiga.jp":!0,"kosei.shiga.jp":!0,"koto.shiga.jp":!0,"kusatsu.shiga.jp":!0,"maibara.shiga.jp":!0,"moriyama.shiga.jp":!0,"nagahama.shiga.jp":!0,"nishiazai.shiga.jp":!0,"notogawa.shiga.jp":!0,"omihachiman.shiga.jp":!0,"otsu.shiga.jp":!0,"ritto.shiga.jp":!0,"ryuoh.shiga.jp":!0,"takashima.shiga.jp":!0,"takatsuki.shiga.jp":!0,"torahime.shiga.jp":!0,"toyosato.shiga.jp":!0,"yasu.shiga.jp":!0,"akagi.shimane.jp":!0,"ama.shimane.jp":!0,"gotsu.shimane.jp":!0,"hamada.shimane.jp":!0,"higashiizumo.shimane.jp":!0,"hikawa.shimane.jp":!0,"hikimi.shimane.jp":!0,"izumo.shimane.jp":!0,"kakinoki.shimane.jp":!0,"masuda.shimane.jp":!0,"matsue.shimane.jp":!0,"misato.shimane.jp":!0,"nishinoshima.shimane.jp":!0,"ohda.shimane.jp":!0,"okinoshima.shimane.jp":!0,"okuizumo.shimane.jp":!0,"shimane.shimane.jp":!0,"tamayu.shimane.jp":!0,"tsuwano.shimane.jp":!0,"unnan.shimane.jp":!0,"yakumo.shimane.jp":!0,"yasugi.shimane.jp":!0,"yatsuka.shimane.jp":!0,"arai.shizuoka.jp":!0,"atami.shizuoka.jp":!0,"fuji.shizuoka.jp":!0,"fujieda.shizuoka.jp":!0,"fujikawa.shizuoka.jp":!0,"fujinomiya.shizuoka.jp":!0,"fukuroi.shizuoka.jp":!0,"gotemba.shizuoka.jp":!0,"haibara.shizuoka.jp":!0,"hamamatsu.shizuoka.jp":!0,"higashiizu.shizuoka.jp":!0,"ito.shizuoka.jp":!0,"iwata.shizuoka.jp":!0,"izu.shizuoka.jp":!0,"izunokuni.shizuoka.jp":!0,"kakegawa.shizuoka.jp":!0,"kannami.shizuoka.jp":!0,"kawanehon.shizuoka.jp":!0,"kawazu.shizuoka.jp":!0,"kikugawa.shizuoka.jp":!0,"kosai.shizuoka.jp":!0,"makinohara.shizuoka.jp":!0,"matsuzaki.shizuoka.jp":!0,"minamiizu.shizuoka.jp":!0,"mishima.shizuoka.jp":!0,"morimachi.shizuoka.jp":!0,"nishiizu.shizuoka.jp":!0,"numazu.shizuoka.jp":!0,"omaezaki.shizuoka.jp":!0,"shimada.shizuoka.jp":!0,"shimizu.shizuoka.jp":!0,"shimoda.shizuoka.jp":!0,"shizuoka.shizuoka.jp":!0,"susono.shizuoka.jp":!0,"yaizu.shizuoka.jp":!0,"yoshida.shizuoka.jp":!0,"ashikaga.tochigi.jp":!0,"bato.tochigi.jp":!0,"haga.tochigi.jp":!0,"ichikai.tochigi.jp":!0,"iwafune.tochigi.jp":!0,"kaminokawa.tochigi.jp":!0,"kanuma.tochigi.jp":!0,"karasuyama.tochigi.jp":!0,"kuroiso.tochigi.jp":!0,"mashiko.tochigi.jp":!0,"mibu.tochigi.jp":!0,"moka.tochigi.jp":!0,"motegi.tochigi.jp":!0,"nasu.tochigi.jp":!0,"nasushiobara.tochigi.jp":!0,"nikko.tochigi.jp":!0,"nishikata.tochigi.jp":!0,"nogi.tochigi.jp":!0,"ohira.tochigi.jp":!0,"ohtawara.tochigi.jp":!0,"oyama.tochigi.jp":!0,"sakura.tochigi.jp":!0,"sano.tochigi.jp":!0,"shimotsuke.tochigi.jp":!0,"shioya.tochigi.jp":!0,"takanezawa.tochigi.jp":!0,"tochigi.tochigi.jp":!0,"tsuga.tochigi.jp":!0,"ujiie.tochigi.jp":!0,"utsunomiya.tochigi.jp":!0,"yaita.tochigi.jp":!0,"aizumi.tokushima.jp":!0,"anan.tokushima.jp":!0,"ichiba.tokushima.jp":!0,"itano.tokushima.jp":!0,"kainan.tokushima.jp":!0,"komatsushima.tokushima.jp":!0,"matsushige.tokushima.jp":!0,"mima.tokushima.jp":!0,"minami.tokushima.jp":!0,"miyoshi.tokushima.jp":!0,"mugi.tokushima.jp":!0,"nakagawa.tokushima.jp":!0,"naruto.tokushima.jp":!0,"sanagochi.tokushima.jp":!0,"shishikui.tokushima.jp":!0,"tokushima.tokushima.jp":!0,"wajiki.tokushima.jp":!0,"adachi.tokyo.jp":!0,"akiruno.tokyo.jp":!0,"akishima.tokyo.jp":!0,"aogashima.tokyo.jp":!0,"arakawa.tokyo.jp":!0,"bunkyo.tokyo.jp":!0,"chiyoda.tokyo.jp":!0,"chofu.tokyo.jp":!0,"chuo.tokyo.jp":!0,"edogawa.tokyo.jp":!0,"fuchu.tokyo.jp":!0,"fussa.tokyo.jp":!0,"hachijo.tokyo.jp":!0,"hachioji.tokyo.jp":!0,"hamura.tokyo.jp":!0,"higashikurume.tokyo.jp":!0,"higashimurayama.tokyo.jp":!0,"higashiyamato.tokyo.jp":!0,"hino.tokyo.jp":!0,"hinode.tokyo.jp":!0,"hinohara.tokyo.jp":!0,"inagi.tokyo.jp":!0,"itabashi.tokyo.jp":!0,"katsushika.tokyo.jp":!0,"kita.tokyo.jp":!0,"kiyose.tokyo.jp":!0,"kodaira.tokyo.jp":!0,"koganei.tokyo.jp":!0,"kokubunji.tokyo.jp":!0,"komae.tokyo.jp":!0,"koto.tokyo.jp":!0,"kouzushima.tokyo.jp":!0,"kunitachi.tokyo.jp":!0,"machida.tokyo.jp":!0,"meguro.tokyo.jp":!0,"minato.tokyo.jp":!0,"mitaka.tokyo.jp":!0,"mizuho.tokyo.jp":!0,"musashimurayama.tokyo.jp":!0,"musashino.tokyo.jp":!0,"nakano.tokyo.jp":!0,"nerima.tokyo.jp":!0,"ogasawara.tokyo.jp":!0,"okutama.tokyo.jp":!0,"ome.tokyo.jp":!0,"oshima.tokyo.jp":!0,"ota.tokyo.jp":!0,"setagaya.tokyo.jp":!0,"shibuya.tokyo.jp":!0,"shinagawa.tokyo.jp":!0,"shinjuku.tokyo.jp":!0,"suginami.tokyo.jp":!0,"sumida.tokyo.jp":!0,"tachikawa.tokyo.jp":!0,"taito.tokyo.jp":!0,"tama.tokyo.jp":!0,"toshima.tokyo.jp":!0,"chizu.tottori.jp":!0,"hino.tottori.jp":!0,"kawahara.tottori.jp":!0,"koge.tottori.jp":!0,"kotoura.tottori.jp":!0,"misasa.tottori.jp":!0,"nanbu.tottori.jp":!0,"nichinan.tottori.jp":!0,"sakaiminato.tottori.jp":!0,"tottori.tottori.jp":!0,"wakasa.tottori.jp":!0,"yazu.tottori.jp":!0,"yonago.tottori.jp":!0,"asahi.toyama.jp":!0,"fuchu.toyama.jp":!0,"fukumitsu.toyama.jp":!0,"funahashi.toyama.jp":!0,"himi.toyama.jp":!0,"imizu.toyama.jp":!0,"inami.toyama.jp":!0,"johana.toyama.jp":!0,"kamiichi.toyama.jp":!0,"kurobe.toyama.jp":!0,"nakaniikawa.toyama.jp":!0,"namerikawa.toyama.jp":!0,"nanto.toyama.jp":!0,"nyuzen.toyama.jp":!0,"oyabe.toyama.jp":!0,"taira.toyama.jp":!0,"takaoka.toyama.jp":!0,"tateyama.toyama.jp":!0,"toga.toyama.jp":!0,"tonami.toyama.jp":!0,"toyama.toyama.jp":!0,"unazuki.toyama.jp":!0,"uozu.toyama.jp":!0,"yamada.toyama.jp":!0,"arida.wakayama.jp":!0,"aridagawa.wakayama.jp":!0,"gobo.wakayama.jp":!0,"hashimoto.wakayama.jp":!0,"hidaka.wakayama.jp":!0,"hirogawa.wakayama.jp":!0,"inami.wakayama.jp":!0,"iwade.wakayama.jp":!0,"kainan.wakayama.jp":!0,"kamitonda.wakayama.jp":!0,"katsuragi.wakayama.jp":!0,"kimino.wakayama.jp":!0,"kinokawa.wakayama.jp":!0,"kitayama.wakayama.jp":!0,"koya.wakayama.jp":!0,"koza.wakayama.jp":!0,"kozagawa.wakayama.jp":!0,"kudoyama.wakayama.jp":!0,"kushimoto.wakayama.jp":!0,"mihama.wakayama.jp":!0,"misato.wakayama.jp":!0,"nachikatsuura.wakayama.jp":!0,"shingu.wakayama.jp":!0,"shirahama.wakayama.jp":!0,"taiji.wakayama.jp":!0,"tanabe.wakayama.jp":!0,"wakayama.wakayama.jp":!0,"yuasa.wakayama.jp":!0,"yura.wakayama.jp":!0,"asahi.yamagata.jp":!0,"funagata.yamagata.jp":!0,"higashine.yamagata.jp":!0,"iide.yamagata.jp":!0,"kahoku.yamagata.jp":!0,"kaminoyama.yamagata.jp":!0,"kaneyama.yamagata.jp":!0,"kawanishi.yamagata.jp":!0,"mamurogawa.yamagata.jp":!0,"mikawa.yamagata.jp":!0,"murayama.yamagata.jp":!0,"nagai.yamagata.jp":!0,"nakayama.yamagata.jp":!0,"nanyo.yamagata.jp":!0,"nishikawa.yamagata.jp":!0,"obanazawa.yamagata.jp":!0,"oe.yamagata.jp":!0,"oguni.yamagata.jp":!0,"ohkura.yamagata.jp":!0,"oishida.yamagata.jp":!0,"sagae.yamagata.jp":!0,"sakata.yamagata.jp":!0,"sakegawa.yamagata.jp":!0,"shinjo.yamagata.jp":!0,"shirataka.yamagata.jp":!0,"shonai.yamagata.jp":!0,"takahata.yamagata.jp":!0,"tendo.yamagata.jp":!0,"tozawa.yamagata.jp":!0,"tsuruoka.yamagata.jp":!0,"yamagata.yamagata.jp":!0,"yamanobe.yamagata.jp":!0,"yonezawa.yamagata.jp":!0,"yuza.yamagata.jp":!0,"abu.yamaguchi.jp":!0,"hagi.yamaguchi.jp":!0,"hikari.yamaguchi.jp":!0,"hofu.yamaguchi.jp":!0,"iwakuni.yamaguchi.jp":!0,"kudamatsu.yamaguchi.jp":!0,"mitou.yamaguchi.jp":!0,"nagato.yamaguchi.jp":!0,"oshima.yamaguchi.jp":!0,"shimonoseki.yamaguchi.jp":!0,"shunan.yamaguchi.jp":!0,"tabuse.yamaguchi.jp":!0,"tokuyama.yamaguchi.jp":!0,"toyota.yamaguchi.jp":!0,"ube.yamaguchi.jp":!0,"yuu.yamaguchi.jp":!0,"chuo.yamanashi.jp":!0,"doshi.yamanashi.jp":!0,"fuefuki.yamanashi.jp":!0,"fujikawa.yamanashi.jp":!0,"fujikawaguchiko.yamanashi.jp":!0,"fujiyoshida.yamanashi.jp":!0,"hayakawa.yamanashi.jp":!0,"hokuto.yamanashi.jp":!0,"ichikawamisato.yamanashi.jp":!0,"kai.yamanashi.jp":!0,"kofu.yamanashi.jp":!0,"koshu.yamanashi.jp":!0,"kosuge.yamanashi.jp":!0,"minami-alps.yamanashi.jp":!0,"minobu.yamanashi.jp":!0,"nakamichi.yamanashi.jp":!0,"nanbu.yamanashi.jp":!0,"narusawa.yamanashi.jp":!0,"nirasaki.yamanashi.jp":!0,"nishikatsura.yamanashi.jp":!0,"oshino.yamanashi.jp":!0,"otsuki.yamanashi.jp":!0,"showa.yamanashi.jp":!0,"tabayama.yamanashi.jp":!0,"tsuru.yamanashi.jp":!0,"uenohara.yamanashi.jp":!0,"yamanakako.yamanashi.jp":!0,"yamanashi.yamanashi.jp":!0,"*.ke":!0,kg:!0,"org.kg":!0,"net.kg":!0,"com.kg":!0,"edu.kg":!0,"gov.kg":!0,"mil.kg":!0,"*.kh":!0,ki:!0,"edu.ki":!0,"biz.ki":!0,"net.ki":!0,"org.ki":!0,"gov.ki":!0,"info.ki":!0,"com.ki":!0,km:!0,"org.km":!0,"nom.km":!0,"gov.km":!0,"prd.km":!0,"tm.km":!0,"edu.km":!0,"mil.km":!0,"ass.km":!0,"com.km":!0,"coop.km":!0,"asso.km":!0,"presse.km":!0,"medecin.km":!0,"notaires.km":!0,"pharmaciens.km":!0,"veterinaire.km":!0,"gouv.km":!0,kn:!0,"net.kn":!0,"org.kn":!0,"edu.kn":!0,"gov.kn":!0,kp:!0,"com.kp":!0,"edu.kp":!0,"gov.kp":!0,"org.kp":!0,"rep.kp":!0,"tra.kp":!0,kr:!0,"ac.kr":!0,"co.kr":!0,"es.kr":!0,"go.kr":!0,"hs.kr":!0,"kg.kr":!0,"mil.kr":!0,"ms.kr":!0,"ne.kr":!0,"or.kr":!0,"pe.kr":!0,"re.kr":!0,"sc.kr":!0,"busan.kr":!0,"chungbuk.kr":!0,"chungnam.kr":!0,"daegu.kr":!0,"daejeon.kr":!0,"gangwon.kr":!0,"gwangju.kr":!0,"gyeongbuk.kr":!0,"gyeonggi.kr":!0,"gyeongnam.kr":!0,"incheon.kr":!0,"jeju.kr":!0,"jeonbuk.kr":!0,"jeonnam.kr":!0,"seoul.kr":!0,"ulsan.kr":!0,"*.kw":!0,ky:!0,"edu.ky":!0,"gov.ky":!0,"com.ky":!0,"org.ky":!0,"net.ky":!0,kz:!0,"org.kz":!0,"edu.kz":!0,"net.kz":!0,"gov.kz":!0,"mil.kz":!0,"com.kz":!0,la:!0,"int.la":!0,"net.la":!0,"info.la":!0,"edu.la":!0,"gov.la":!0,"per.la":!0,"com.la":!0,"org.la":!0,lb:!0,"com.lb":!0,"edu.lb":!0,"gov.lb":!0,"net.lb":!0,"org.lb":!0,lc:!0,"com.lc":!0,"net.lc":!0,"co.lc":!0,"org.lc":!0,"edu.lc":!0,"gov.lc":!0,li:!0,lk:!0,"gov.lk":!0,"sch.lk":!0,"net.lk":!0,"int.lk":!0,"com.lk":!0,"org.lk":!0,"edu.lk":!0,"ngo.lk":!0,"soc.lk":!0,"web.lk":!0,"ltd.lk":!0,"assn.lk":!0,"grp.lk":!0,"hotel.lk":!0,lr:!0,"com.lr":!0,"edu.lr":!0,"gov.lr":!0,"org.lr":!0,"net.lr":!0,ls:!0,"co.ls":!0,"org.ls":!0,lt:!0,"gov.lt":!0,lu:!0,lv:!0,"com.lv":!0,"edu.lv":!0,"gov.lv":!0,"org.lv":!0,"mil.lv":!0,"id.lv":!0,"net.lv":!0,"asn.lv":!0,"conf.lv":!0,ly:!0,"com.ly":!0,"net.ly":!0,"gov.ly":!0,"plc.ly":!0,"edu.ly":!0,"sch.ly":!0,"med.ly":!0,"org.ly":!0,"id.ly":!0,ma:!0,"co.ma":!0,"net.ma":!0,"gov.ma":!0,"org.ma":!0,"ac.ma":!0,"press.ma":!0,mc:!0,"tm.mc":!0,"asso.mc":!0,md:!0,me:!0,"co.me":!0,"net.me":!0,"org.me":!0,"edu.me":!0,"ac.me":!0,"gov.me":!0,"its.me":!0,"priv.me":!0,mg:!0,"org.mg":!0,"nom.mg":!0,"gov.mg":!0,"prd.mg":!0,"tm.mg":!0,"edu.mg":!0,"mil.mg":!0,"com.mg":!0,mh:!0,mil:!0,mk:!0,"com.mk":!0,"org.mk":!0,"net.mk":!0,"edu.mk":!0,"gov.mk":!0,"inf.mk":!0,"name.mk":!0,ml:!0,"com.ml":!0,"edu.ml":!0,"gouv.ml":!0,"gov.ml":!0,"net.ml":!0,"org.ml":!0,"presse.ml":!0,"*.mm":!0,mn:!0,"gov.mn":!0,"edu.mn":!0,"org.mn":!0,mo:!0,"com.mo":!0,"net.mo":!0,"org.mo":!0,"edu.mo":!0,"gov.mo":!0,mobi:!0,mp:!0,mq:!0,mr:!0,"gov.mr":!0,ms:!0,"com.ms":!0,"edu.ms":!0,"gov.ms":!0,"net.ms":!0,"org.ms":!0,mt:!0,"com.mt":!0,"edu.mt":!0,"net.mt":!0,"org.mt":!0,mu:!0,"com.mu":!0,"net.mu":!0,"org.mu":!0,"gov.mu":!0,"ac.mu":!0,"co.mu":!0,"or.mu":!0,museum:!0,"academy.museum":!0,"agriculture.museum":!0,"air.museum":!0,"airguard.museum":!0,"alabama.museum":!0,"alaska.museum":!0,"amber.museum":!0,"ambulance.museum":!0,"american.museum":!0,"americana.museum":!0,"americanantiques.museum":!0,"americanart.museum":!0,"amsterdam.museum":!0,"and.museum":!0,"annefrank.museum":!0,"anthro.museum":!0,"anthropology.museum":!0,"antiques.museum":!0,"aquarium.museum":!0,"arboretum.museum":!0,"archaeological.museum":!0,"archaeology.museum":!0,"architecture.museum":!0,"art.museum":!0,"artanddesign.museum":!0,"artcenter.museum":!0,"artdeco.museum":!0,"arteducation.museum":!0,"artgallery.museum":!0,"arts.museum":!0,"artsandcrafts.museum":!0,"asmatart.museum":!0,"assassination.museum":!0,"assisi.museum":!0,"association.museum":!0,"astronomy.museum":!0,"atlanta.museum":!0,"austin.museum":!0,"australia.museum":!0,"automotive.museum":!0,"aviation.museum":!0,"axis.museum":!0,"badajoz.museum":!0,"baghdad.museum":!0,"bahn.museum":!0,"bale.museum":!0,"baltimore.museum":!0,"barcelona.museum":!0,"baseball.museum":!0,"basel.museum":!0,"baths.museum":!0,"bauern.museum":!0,"beauxarts.museum":!0,"beeldengeluid.museum":!0,"bellevue.museum":!0,"bergbau.museum":!0,"berkeley.museum":!0,"berlin.museum":!0,"bern.museum":!0,"bible.museum":!0,"bilbao.museum":!0,"bill.museum":!0,"birdart.museum":!0,"birthplace.museum":!0,"bonn.museum":!0,"boston.museum":!0,"botanical.museum":!0,"botanicalgarden.museum":!0,"botanicgarden.museum":!0,"botany.museum":!0,"brandywinevalley.museum":!0,"brasil.museum":!0,"bristol.museum":!0,"british.museum":!0,"britishcolumbia.museum":!0,"broadcast.museum":!0,"brunel.museum":!0,"brussel.museum":!0,"brussels.museum":!0,"bruxelles.museum":!0,"building.museum":!0,"burghof.museum":!0,"bus.museum":!0,"bushey.museum":!0,"cadaques.museum":!0,"california.museum":!0,"cambridge.museum":!0,"can.museum":!0,"canada.museum":!0,"capebreton.museum":!0,"carrier.museum":!0,"cartoonart.museum":!0,"casadelamoneda.museum":!0,"castle.museum":!0,"castres.museum":!0,"celtic.museum":!0,"center.museum":!0,"chattanooga.museum":!0,"cheltenham.museum":!0,"chesapeakebay.museum":!0,"chicago.museum":!0,"children.museum":!0,"childrens.museum":!0,"childrensgarden.museum":!0,"chiropractic.museum":!0,"chocolate.museum":!0,"christiansburg.museum":!0,"cincinnati.museum":!0,"cinema.museum":!0,"circus.museum":!0,"civilisation.museum":!0,"civilization.museum":!0,"civilwar.museum":!0,"clinton.museum":!0,"clock.museum":!0,"coal.museum":!0,"coastaldefence.museum":!0,"cody.museum":!0,"coldwar.museum":!0,"collection.museum":!0,"colonialwilliamsburg.museum":!0,"coloradoplateau.museum":!0,"columbia.museum":!0,"columbus.museum":!0,"communication.museum":!0,"communications.museum":!0,"community.museum":!0,"computer.museum":!0,"computerhistory.museum":!0,"xn--comunicaes-v6a2o.museum":!0,"contemporary.museum":!0,"contemporaryart.museum":!0,"convent.museum":!0,"copenhagen.museum":!0,"corporation.museum":!0,"xn--correios-e-telecomunicaes-ghc29a.museum":!0,"corvette.museum":!0,"costume.museum":!0,"countryestate.museum":!0,"county.museum":!0,"crafts.museum":!0,"cranbrook.museum":!0,"creation.museum":!0,"cultural.museum":!0,"culturalcenter.museum":!0,"culture.museum":!0,"cyber.museum":!0,"cymru.museum":!0,"dali.museum":!0,"dallas.museum":!0,"database.museum":!0,"ddr.museum":!0,"decorativearts.museum":!0,"delaware.museum":!0,"delmenhorst.museum":!0,"denmark.museum":!0,"depot.museum":!0,"design.museum":!0,"detroit.museum":!0,"dinosaur.museum":!0,"discovery.museum":!0,"dolls.museum":!0, -"donostia.museum":!0,"durham.museum":!0,"eastafrica.museum":!0,"eastcoast.museum":!0,"education.museum":!0,"educational.museum":!0,"egyptian.museum":!0,"eisenbahn.museum":!0,"elburg.museum":!0,"elvendrell.museum":!0,"embroidery.museum":!0,"encyclopedic.museum":!0,"england.museum":!0,"entomology.museum":!0,"environment.museum":!0,"environmentalconservation.museum":!0,"epilepsy.museum":!0,"essex.museum":!0,"estate.museum":!0,"ethnology.museum":!0,"exeter.museum":!0,"exhibition.museum":!0,"family.museum":!0,"farm.museum":!0,"farmequipment.museum":!0,"farmers.museum":!0,"farmstead.museum":!0,"field.museum":!0,"figueres.museum":!0,"filatelia.museum":!0,"film.museum":!0,"fineart.museum":!0,"finearts.museum":!0,"finland.museum":!0,"flanders.museum":!0,"florida.museum":!0,"force.museum":!0,"fortmissoula.museum":!0,"fortworth.museum":!0,"foundation.museum":!0,"francaise.museum":!0,"frankfurt.museum":!0,"franziskaner.museum":!0,"freemasonry.museum":!0,"freiburg.museum":!0,"fribourg.museum":!0,"frog.museum":!0,"fundacio.museum":!0,"furniture.museum":!0,"gallery.museum":!0,"garden.museum":!0,"gateway.museum":!0,"geelvinck.museum":!0,"gemological.museum":!0,"geology.museum":!0,"georgia.museum":!0,"giessen.museum":!0,"glas.museum":!0,"glass.museum":!0,"gorge.museum":!0,"grandrapids.museum":!0,"graz.museum":!0,"guernsey.museum":!0,"halloffame.museum":!0,"hamburg.museum":!0,"handson.museum":!0,"harvestcelebration.museum":!0,"hawaii.museum":!0,"health.museum":!0,"heimatunduhren.museum":!0,"hellas.museum":!0,"helsinki.museum":!0,"hembygdsforbund.museum":!0,"heritage.museum":!0,"histoire.museum":!0,"historical.museum":!0,"historicalsociety.museum":!0,"historichouses.museum":!0,"historisch.museum":!0,"historisches.museum":!0,"history.museum":!0,"historyofscience.museum":!0,"horology.museum":!0,"house.museum":!0,"humanities.museum":!0,"illustration.museum":!0,"imageandsound.museum":!0,"indian.museum":!0,"indiana.museum":!0,"indianapolis.museum":!0,"indianmarket.museum":!0,"intelligence.museum":!0,"interactive.museum":!0,"iraq.museum":!0,"iron.museum":!0,"isleofman.museum":!0,"jamison.museum":!0,"jefferson.museum":!0,"jerusalem.museum":!0,"jewelry.museum":!0,"jewish.museum":!0,"jewishart.museum":!0,"jfk.museum":!0,"journalism.museum":!0,"judaica.museum":!0,"judygarland.museum":!0,"juedisches.museum":!0,"juif.museum":!0,"karate.museum":!0,"karikatur.museum":!0,"kids.museum":!0,"koebenhavn.museum":!0,"koeln.museum":!0,"kunst.museum":!0,"kunstsammlung.museum":!0,"kunstunddesign.museum":!0,"labor.museum":!0,"labour.museum":!0,"lajolla.museum":!0,"lancashire.museum":!0,"landes.museum":!0,"lans.museum":!0,"xn--lns-qla.museum":!0,"larsson.museum":!0,"lewismiller.museum":!0,"lincoln.museum":!0,"linz.museum":!0,"living.museum":!0,"livinghistory.museum":!0,"localhistory.museum":!0,"london.museum":!0,"losangeles.museum":!0,"louvre.museum":!0,"loyalist.museum":!0,"lucerne.museum":!0,"luxembourg.museum":!0,"luzern.museum":!0,"mad.museum":!0,"madrid.museum":!0,"mallorca.museum":!0,"manchester.museum":!0,"mansion.museum":!0,"mansions.museum":!0,"manx.museum":!0,"marburg.museum":!0,"maritime.museum":!0,"maritimo.museum":!0,"maryland.museum":!0,"marylhurst.museum":!0,"media.museum":!0,"medical.museum":!0,"medizinhistorisches.museum":!0,"meeres.museum":!0,"memorial.museum":!0,"mesaverde.museum":!0,"michigan.museum":!0,"midatlantic.museum":!0,"military.museum":!0,"mill.museum":!0,"miners.museum":!0,"mining.museum":!0,"minnesota.museum":!0,"missile.museum":!0,"missoula.museum":!0,"modern.museum":!0,"moma.museum":!0,"money.museum":!0,"monmouth.museum":!0,"monticello.museum":!0,"montreal.museum":!0,"moscow.museum":!0,"motorcycle.museum":!0,"muenchen.museum":!0,"muenster.museum":!0,"mulhouse.museum":!0,"muncie.museum":!0,"museet.museum":!0,"museumcenter.museum":!0,"museumvereniging.museum":!0,"music.museum":!0,"national.museum":!0,"nationalfirearms.museum":!0,"nationalheritage.museum":!0,"nativeamerican.museum":!0,"naturalhistory.museum":!0,"naturalhistorymuseum.museum":!0,"naturalsciences.museum":!0,"nature.museum":!0,"naturhistorisches.museum":!0,"natuurwetenschappen.museum":!0,"naumburg.museum":!0,"naval.museum":!0,"nebraska.museum":!0,"neues.museum":!0,"newhampshire.museum":!0,"newjersey.museum":!0,"newmexico.museum":!0,"newport.museum":!0,"newspaper.museum":!0,"newyork.museum":!0,"niepce.museum":!0,"norfolk.museum":!0,"north.museum":!0,"nrw.museum":!0,"nuernberg.museum":!0,"nuremberg.museum":!0,"nyc.museum":!0,"nyny.museum":!0,"oceanographic.museum":!0,"oceanographique.museum":!0,"omaha.museum":!0,"online.museum":!0,"ontario.museum":!0,"openair.museum":!0,"oregon.museum":!0,"oregontrail.museum":!0,"otago.museum":!0,"oxford.museum":!0,"pacific.museum":!0,"paderborn.museum":!0,"palace.museum":!0,"paleo.museum":!0,"palmsprings.museum":!0,"panama.museum":!0,"paris.museum":!0,"pasadena.museum":!0,"pharmacy.museum":!0,"philadelphia.museum":!0,"philadelphiaarea.museum":!0,"philately.museum":!0,"phoenix.museum":!0,"photography.museum":!0,"pilots.museum":!0,"pittsburgh.museum":!0,"planetarium.museum":!0,"plantation.museum":!0,"plants.museum":!0,"plaza.museum":!0,"portal.museum":!0,"portland.museum":!0,"portlligat.museum":!0,"posts-and-telecommunications.museum":!0,"preservation.museum":!0,"presidio.museum":!0,"press.museum":!0,"project.museum":!0,"public.museum":!0,"pubol.museum":!0,"quebec.museum":!0,"railroad.museum":!0,"railway.museum":!0,"research.museum":!0,"resistance.museum":!0,"riodejaneiro.museum":!0,"rochester.museum":!0,"rockart.museum":!0,"roma.museum":!0,"russia.museum":!0,"saintlouis.museum":!0,"salem.museum":!0,"salvadordali.museum":!0,"salzburg.museum":!0,"sandiego.museum":!0,"sanfrancisco.museum":!0,"santabarbara.museum":!0,"santacruz.museum":!0,"santafe.museum":!0,"saskatchewan.museum":!0,"satx.museum":!0,"savannahga.museum":!0,"schlesisches.museum":!0,"schoenbrunn.museum":!0,"schokoladen.museum":!0,"school.museum":!0,"schweiz.museum":!0,"science.museum":!0,"scienceandhistory.museum":!0,"scienceandindustry.museum":!0,"sciencecenter.museum":!0,"sciencecenters.museum":!0,"science-fiction.museum":!0,"sciencehistory.museum":!0,"sciences.museum":!0,"sciencesnaturelles.museum":!0,"scotland.museum":!0,"seaport.museum":!0,"settlement.museum":!0,"settlers.museum":!0,"shell.museum":!0,"sherbrooke.museum":!0,"sibenik.museum":!0,"silk.museum":!0,"ski.museum":!0,"skole.museum":!0,"society.museum":!0,"sologne.museum":!0,"soundandvision.museum":!0,"southcarolina.museum":!0,"southwest.museum":!0,"space.museum":!0,"spy.museum":!0,"square.museum":!0,"stadt.museum":!0,"stalbans.museum":!0,"starnberg.museum":!0,"state.museum":!0,"stateofdelaware.museum":!0,"station.museum":!0,"steam.museum":!0,"steiermark.museum":!0,"stjohn.museum":!0,"stockholm.museum":!0,"stpetersburg.museum":!0,"stuttgart.museum":!0,"suisse.museum":!0,"surgeonshall.museum":!0,"surrey.museum":!0,"svizzera.museum":!0,"sweden.museum":!0,"sydney.museum":!0,"tank.museum":!0,"tcm.museum":!0,"technology.museum":!0,"telekommunikation.museum":!0,"television.museum":!0,"texas.museum":!0,"textile.museum":!0,"theater.museum":!0,"time.museum":!0,"timekeeping.museum":!0,"topology.museum":!0,"torino.museum":!0,"touch.museum":!0,"town.museum":!0,"transport.museum":!0,"tree.museum":!0,"trolley.museum":!0,"trust.museum":!0,"trustee.museum":!0,"uhren.museum":!0,"ulm.museum":!0,"undersea.museum":!0,"university.museum":!0,"usa.museum":!0,"usantiques.museum":!0,"usarts.museum":!0,"uscountryestate.museum":!0,"usculture.museum":!0,"usdecorativearts.museum":!0,"usgarden.museum":!0,"ushistory.museum":!0,"ushuaia.museum":!0,"uslivinghistory.museum":!0,"utah.museum":!0,"uvic.museum":!0,"valley.museum":!0,"vantaa.museum":!0,"versailles.museum":!0,"viking.museum":!0,"village.museum":!0,"virginia.museum":!0,"virtual.museum":!0,"virtuel.museum":!0,"vlaanderen.museum":!0,"volkenkunde.museum":!0,"wales.museum":!0,"wallonie.museum":!0,"war.museum":!0,"washingtondc.museum":!0,"watchandclock.museum":!0,"watch-and-clock.museum":!0,"western.museum":!0,"westfalen.museum":!0,"whaling.museum":!0,"wildlife.museum":!0,"williamsburg.museum":!0,"windmill.museum":!0,"workshop.museum":!0,"york.museum":!0,"yorkshire.museum":!0,"yosemite.museum":!0,"youth.museum":!0,"zoological.museum":!0,"zoology.museum":!0,"xn--9dbhblg6di.museum":!0,"xn--h1aegh.museum":!0,mv:!0,"aero.mv":!0,"biz.mv":!0,"com.mv":!0,"coop.mv":!0,"edu.mv":!0,"gov.mv":!0,"info.mv":!0,"int.mv":!0,"mil.mv":!0,"museum.mv":!0,"name.mv":!0,"net.mv":!0,"org.mv":!0,"pro.mv":!0,mw:!0,"ac.mw":!0,"biz.mw":!0,"co.mw":!0,"com.mw":!0,"coop.mw":!0,"edu.mw":!0,"gov.mw":!0,"int.mw":!0,"museum.mw":!0,"net.mw":!0,"org.mw":!0,mx:!0,"com.mx":!0,"org.mx":!0,"gob.mx":!0,"edu.mx":!0,"net.mx":!0,my:!0,"com.my":!0,"net.my":!0,"org.my":!0,"gov.my":!0,"edu.my":!0,"mil.my":!0,"name.my":!0,"*.mz":!0,"teledata.mz":!1,na:!0,"info.na":!0,"pro.na":!0,"name.na":!0,"school.na":!0,"or.na":!0,"dr.na":!0,"us.na":!0,"mx.na":!0,"ca.na":!0,"in.na":!0,"cc.na":!0,"tv.na":!0,"ws.na":!0,"mobi.na":!0,"co.na":!0,"com.na":!0,"org.na":!0,name:!0,nc:!0,"asso.nc":!0,ne:!0,net:!0,nf:!0,"com.nf":!0,"net.nf":!0,"per.nf":!0,"rec.nf":!0,"web.nf":!0,"arts.nf":!0,"firm.nf":!0,"info.nf":!0,"other.nf":!0,"store.nf":!0,ng:!0,"com.ng":!0,"edu.ng":!0,"name.ng":!0,"net.ng":!0,"org.ng":!0,"sch.ng":!0,"gov.ng":!0,"mil.ng":!0,"mobi.ng":!0,"*.ni":!0,nl:!0,"bv.nl":!0,no:!0,"fhs.no":!0,"vgs.no":!0,"fylkesbibl.no":!0,"folkebibl.no":!0,"museum.no":!0,"idrett.no":!0,"priv.no":!0,"mil.no":!0,"stat.no":!0,"dep.no":!0,"kommune.no":!0,"herad.no":!0,"aa.no":!0,"ah.no":!0,"bu.no":!0,"fm.no":!0,"hl.no":!0,"hm.no":!0,"jan-mayen.no":!0,"mr.no":!0,"nl.no":!0,"nt.no":!0,"of.no":!0,"ol.no":!0,"oslo.no":!0,"rl.no":!0,"sf.no":!0,"st.no":!0,"svalbard.no":!0,"tm.no":!0,"tr.no":!0,"va.no":!0,"vf.no":!0,"gs.aa.no":!0,"gs.ah.no":!0,"gs.bu.no":!0,"gs.fm.no":!0,"gs.hl.no":!0,"gs.hm.no":!0,"gs.jan-mayen.no":!0,"gs.mr.no":!0,"gs.nl.no":!0,"gs.nt.no":!0,"gs.of.no":!0,"gs.ol.no":!0,"gs.oslo.no":!0,"gs.rl.no":!0,"gs.sf.no":!0,"gs.st.no":!0,"gs.svalbard.no":!0,"gs.tm.no":!0,"gs.tr.no":!0,"gs.va.no":!0,"gs.vf.no":!0,"akrehamn.no":!0,"xn--krehamn-dxa.no":!0,"algard.no":!0,"xn--lgrd-poac.no":!0,"arna.no":!0,"brumunddal.no":!0,"bryne.no":!0,"bronnoysund.no":!0,"xn--brnnysund-m8ac.no":!0,"drobak.no":!0,"xn--drbak-wua.no":!0,"egersund.no":!0,"fetsund.no":!0,"floro.no":!0,"xn--flor-jra.no":!0,"fredrikstad.no":!0,"hokksund.no":!0,"honefoss.no":!0,"xn--hnefoss-q1a.no":!0,"jessheim.no":!0,"jorpeland.no":!0,"xn--jrpeland-54a.no":!0,"kirkenes.no":!0,"kopervik.no":!0,"krokstadelva.no":!0,"langevag.no":!0,"xn--langevg-jxa.no":!0,"leirvik.no":!0,"mjondalen.no":!0,"xn--mjndalen-64a.no":!0,"mo-i-rana.no":!0,"mosjoen.no":!0,"xn--mosjen-eya.no":!0,"nesoddtangen.no":!0,"orkanger.no":!0,"osoyro.no":!0,"xn--osyro-wua.no":!0,"raholt.no":!0,"xn--rholt-mra.no":!0,"sandnessjoen.no":!0,"xn--sandnessjen-ogb.no":!0,"skedsmokorset.no":!0,"slattum.no":!0,"spjelkavik.no":!0,"stathelle.no":!0,"stavern.no":!0,"stjordalshalsen.no":!0,"xn--stjrdalshalsen-sqb.no":!0,"tananger.no":!0,"tranby.no":!0,"vossevangen.no":!0,"afjord.no":!0,"xn--fjord-lra.no":!0,"agdenes.no":!0,"al.no":!0,"xn--l-1fa.no":!0,"alesund.no":!0,"xn--lesund-hua.no":!0,"alstahaug.no":!0,"alta.no":!0,"xn--lt-liac.no":!0,"alaheadju.no":!0,"xn--laheadju-7ya.no":!0,"alvdal.no":!0,"amli.no":!0,"xn--mli-tla.no":!0,"amot.no":!0,"xn--mot-tla.no":!0,"andebu.no":!0,"andoy.no":!0,"xn--andy-ira.no":!0,"andasuolo.no":!0,"ardal.no":!0,"xn--rdal-poa.no":!0,"aremark.no":!0,"arendal.no":!0,"xn--s-1fa.no":!0,"aseral.no":!0,"xn--seral-lra.no":!0,"asker.no":!0,"askim.no":!0,"askvoll.no":!0,"askoy.no":!0,"xn--asky-ira.no":!0,"asnes.no":!0,"xn--snes-poa.no":!0,"audnedaln.no":!0,"aukra.no":!0,"aure.no":!0,"aurland.no":!0,"aurskog-holand.no":!0,"xn--aurskog-hland-jnb.no":!0,"austevoll.no":!0,"austrheim.no":!0,"averoy.no":!0,"xn--avery-yua.no":!0,"balestrand.no":!0,"ballangen.no":!0,"balat.no":!0,"xn--blt-elab.no":!0,"balsfjord.no":!0,"bahccavuotna.no":!0,"xn--bhccavuotna-k7a.no":!0,"bamble.no":!0,"bardu.no":!0,"beardu.no":!0,"beiarn.no":!0,"bajddar.no":!0,"xn--bjddar-pta.no":!0,"baidar.no":!0,"xn--bidr-5nac.no":!0,"berg.no":!0,"bergen.no":!0,"berlevag.no":!0,"xn--berlevg-jxa.no":!0,"bearalvahki.no":!0,"xn--bearalvhki-y4a.no":!0,"bindal.no":!0,"birkenes.no":!0,"bjarkoy.no":!0,"xn--bjarky-fya.no":!0,"bjerkreim.no":!0,"bjugn.no":!0,"bodo.no":!0,"xn--bod-2na.no":!0,"badaddja.no":!0,"xn--bdddj-mrabd.no":!0,"budejju.no":!0,"bokn.no":!0,"bremanger.no":!0,"bronnoy.no":!0,"xn--brnny-wuac.no":!0,"bygland.no":!0,"bykle.no":!0,"barum.no":!0,"xn--brum-voa.no":!0,"bo.telemark.no":!0,"xn--b-5ga.telemark.no":!0,"bo.nordland.no":!0,"xn--b-5ga.nordland.no":!0,"bievat.no":!0,"xn--bievt-0qa.no":!0,"bomlo.no":!0,"xn--bmlo-gra.no":!0,"batsfjord.no":!0,"xn--btsfjord-9za.no":!0,"bahcavuotna.no":!0,"xn--bhcavuotna-s4a.no":!0,"dovre.no":!0,"drammen.no":!0,"drangedal.no":!0,"dyroy.no":!0,"xn--dyry-ira.no":!0,"donna.no":!0,"xn--dnna-gra.no":!0,"eid.no":!0,"eidfjord.no":!0,"eidsberg.no":!0,"eidskog.no":!0,"eidsvoll.no":!0,"eigersund.no":!0,"elverum.no":!0,"enebakk.no":!0,"engerdal.no":!0,"etne.no":!0,"etnedal.no":!0,"evenes.no":!0,"evenassi.no":!0,"xn--eveni-0qa01ga.no":!0,"evje-og-hornnes.no":!0,"farsund.no":!0,"fauske.no":!0,"fuossko.no":!0,"fuoisku.no":!0,"fedje.no":!0,"fet.no":!0,"finnoy.no":!0,"xn--finny-yua.no":!0,"fitjar.no":!0,"fjaler.no":!0,"fjell.no":!0,"flakstad.no":!0,"flatanger.no":!0,"flekkefjord.no":!0,"flesberg.no":!0,"flora.no":!0,"fla.no":!0,"xn--fl-zia.no":!0,"folldal.no":!0,"forsand.no":!0,"fosnes.no":!0,"frei.no":!0,"frogn.no":!0,"froland.no":!0,"frosta.no":!0,"frana.no":!0,"xn--frna-woa.no":!0,"froya.no":!0,"xn--frya-hra.no":!0,"fusa.no":!0,"fyresdal.no":!0,"forde.no":!0,"xn--frde-gra.no":!0,"gamvik.no":!0,"gangaviika.no":!0,"xn--ggaviika-8ya47h.no":!0,"gaular.no":!0,"gausdal.no":!0,"gildeskal.no":!0,"xn--gildeskl-g0a.no":!0,"giske.no":!0,"gjemnes.no":!0,"gjerdrum.no":!0,"gjerstad.no":!0,"gjesdal.no":!0,"gjovik.no":!0,"xn--gjvik-wua.no":!0,"gloppen.no":!0,"gol.no":!0,"gran.no":!0,"grane.no":!0,"granvin.no":!0,"gratangen.no":!0,"grimstad.no":!0,"grong.no":!0,"kraanghke.no":!0,"xn--kranghke-b0a.no":!0,"grue.no":!0,"gulen.no":!0,"hadsel.no":!0,"halden.no":!0,"halsa.no":!0,"hamar.no":!0,"hamaroy.no":!0,"habmer.no":!0,"xn--hbmer-xqa.no":!0,"hapmir.no":!0,"xn--hpmir-xqa.no":!0,"hammerfest.no":!0,"hammarfeasta.no":!0,"xn--hmmrfeasta-s4ac.no":!0,"haram.no":!0,"hareid.no":!0,"harstad.no":!0,"hasvik.no":!0,"aknoluokta.no":!0,"xn--koluokta-7ya57h.no":!0,"hattfjelldal.no":!0,"aarborte.no":!0,"haugesund.no":!0,"hemne.no":!0,"hemnes.no":!0,"hemsedal.no":!0,"heroy.more-og-romsdal.no":!0,"xn--hery-ira.xn--mre-og-romsdal-qqb.no":!0,"heroy.nordland.no":!0,"xn--hery-ira.nordland.no":!0,"hitra.no":!0,"hjartdal.no":!0,"hjelmeland.no":!0,"hobol.no":!0,"xn--hobl-ira.no":!0,"hof.no":!0,"hol.no":!0,"hole.no":!0,"holmestrand.no":!0,"holtalen.no":!0,"xn--holtlen-hxa.no":!0,"hornindal.no":!0,"horten.no":!0,"hurdal.no":!0,"hurum.no":!0,"hvaler.no":!0,"hyllestad.no":!0,"hagebostad.no":!0,"xn--hgebostad-g3a.no":!0,"hoyanger.no":!0,"xn--hyanger-q1a.no":!0,"hoylandet.no":!0,"xn--hylandet-54a.no":!0,"ha.no":!0,"xn--h-2fa.no":!0,"ibestad.no":!0,"inderoy.no":!0,"xn--indery-fya.no":!0,"iveland.no":!0,"jevnaker.no":!0,"jondal.no":!0,"jolster.no":!0,"xn--jlster-bya.no":!0,"karasjok.no":!0,"karasjohka.no":!0,"xn--krjohka-hwab49j.no":!0,"karlsoy.no":!0,"galsa.no":!0,"xn--gls-elac.no":!0,"karmoy.no":!0,"xn--karmy-yua.no":!0,"kautokeino.no":!0,"guovdageaidnu.no":!0,"klepp.no":!0,"klabu.no":!0,"xn--klbu-woa.no":!0,"kongsberg.no":!0,"kongsvinger.no":!0,"kragero.no":!0,"xn--krager-gya.no":!0,"kristiansand.no":!0,"kristiansund.no":!0,"krodsherad.no":!0,"xn--krdsherad-m8a.no":!0,"kvalsund.no":!0,"rahkkeravju.no":!0,"xn--rhkkervju-01af.no":!0,"kvam.no":!0,"kvinesdal.no":!0,"kvinnherad.no":!0,"kviteseid.no":!0,"kvitsoy.no":!0,"xn--kvitsy-fya.no":!0,"kvafjord.no":!0,"xn--kvfjord-nxa.no":!0,"giehtavuoatna.no":!0,"kvanangen.no":!0,"xn--kvnangen-k0a.no":!0,"navuotna.no":!0,"xn--nvuotna-hwa.no":!0,"kafjord.no":!0,"xn--kfjord-iua.no":!0,"gaivuotna.no":!0,"xn--givuotna-8ya.no":!0,"larvik.no":!0,"lavangen.no":!0,"lavagis.no":!0,"loabat.no":!0,"xn--loabt-0qa.no":!0,"lebesby.no":!0,"davvesiida.no":!0,"leikanger.no":!0,"leirfjord.no":!0,"leka.no":!0,"leksvik.no":!0,"lenvik.no":!0,"leangaviika.no":!0,"xn--leagaviika-52b.no":!0,"lesja.no":!0,"levanger.no":!0,"lier.no":!0,"lierne.no":!0,"lillehammer.no":!0,"lillesand.no":!0,"lindesnes.no":!0,"lindas.no":!0,"xn--linds-pra.no":!0,"lom.no":!0,"loppa.no":!0,"lahppi.no":!0,"xn--lhppi-xqa.no":!0,"lund.no":!0,"lunner.no":!0,"luroy.no":!0,"xn--lury-ira.no":!0,"luster.no":!0,"lyngdal.no":!0,"lyngen.no":!0,"ivgu.no":!0,"lardal.no":!0,"lerdal.no":!0,"xn--lrdal-sra.no":!0,"lodingen.no":!0,"xn--ldingen-q1a.no":!0,"lorenskog.no":!0,"xn--lrenskog-54a.no":!0,"loten.no":!0,"xn--lten-gra.no":!0,"malvik.no":!0,"masoy.no":!0,"xn--msy-ula0h.no":!0,"muosat.no":!0,"xn--muost-0qa.no":!0,"mandal.no":!0,"marker.no":!0,"marnardal.no":!0,"masfjorden.no":!0,"meland.no":!0,"meldal.no":!0,"melhus.no":!0,"meloy.no":!0,"xn--mely-ira.no":!0,"meraker.no":!0,"xn--merker-kua.no":!0,"moareke.no":!0,"xn--moreke-jua.no":!0,"midsund.no":!0,"midtre-gauldal.no":!0,"modalen.no":!0,"modum.no":!0,"molde.no":!0,"moskenes.no":!0,"moss.no":!0,"mosvik.no":!0,"malselv.no":!0,"xn--mlselv-iua.no":!0,"malatvuopmi.no":!0,"xn--mlatvuopmi-s4a.no":!0,"namdalseid.no":!0,"aejrie.no":!0,"namsos.no":!0,"namsskogan.no":!0,"naamesjevuemie.no":!0,"xn--nmesjevuemie-tcba.no":!0,"laakesvuemie.no":!0,"nannestad.no":!0,"narvik.no":!0,"narviika.no":!0,"naustdal.no":!0,"nedre-eiker.no":!0,"nes.akershus.no":!0,"nes.buskerud.no":!0,"nesna.no":!0,"nesodden.no":!0,"nesseby.no":!0,"unjarga.no":!0,"xn--unjrga-rta.no":!0,"nesset.no":!0,"nissedal.no":!0,"nittedal.no":!0,"nord-aurdal.no":!0,"nord-fron.no":!0,"nord-odal.no":!0,"norddal.no":!0,"nordkapp.no":!0,"davvenjarga.no":!0,"xn--davvenjrga-y4a.no":!0,"nordre-land.no":!0,"nordreisa.no":!0,"raisa.no":!0,"xn--risa-5na.no":!0,"nore-og-uvdal.no":!0,"notodden.no":!0,"naroy.no":!0,"xn--nry-yla5g.no":!0,"notteroy.no":!0,"xn--nttery-byae.no":!0,"odda.no":!0,"oksnes.no":!0,"xn--ksnes-uua.no":!0,"oppdal.no":!0,"oppegard.no":!0,"xn--oppegrd-ixa.no":!0,"orkdal.no":!0,"orland.no":!0,"xn--rland-uua.no":!0,"orskog.no":!0,"xn--rskog-uua.no":!0,"orsta.no":!0,"xn--rsta-fra.no":!0,"os.hedmark.no":!0,"os.hordaland.no":!0,"osen.no":!0,"osteroy.no":!0,"xn--ostery-fya.no":!0,"ostre-toten.no":!0,"xn--stre-toten-zcb.no":!0,"overhalla.no":!0,"ovre-eiker.no":!0,"xn--vre-eiker-k8a.no":!0,"oyer.no":!0,"xn--yer-zna.no":!0,"oygarden.no":!0,"xn--ygarden-p1a.no":!0,"oystre-slidre.no":!0,"xn--ystre-slidre-ujb.no":!0,"porsanger.no":!0,"porsangu.no":!0,"xn--porsgu-sta26f.no":!0,"porsgrunn.no":!0,"radoy.no":!0,"xn--rady-ira.no":!0,"rakkestad.no":!0,"rana.no":!0,"ruovat.no":!0,"randaberg.no":!0,"rauma.no":!0,"rendalen.no":!0,"rennebu.no":!0,"rennesoy.no":!0,"xn--rennesy-v1a.no":!0,"rindal.no":!0,"ringebu.no":!0,"ringerike.no":!0,"ringsaker.no":!0,"rissa.no":!0,"risor.no":!0,"xn--risr-ira.no":!0,"roan.no":!0,"rollag.no":!0,"rygge.no":!0,"ralingen.no":!0,"xn--rlingen-mxa.no":!0,"rodoy.no":!0,"xn--rdy-0nab.no":!0,"romskog.no":!0,"xn--rmskog-bya.no":!0,"roros.no":!0,"xn--rros-gra.no":!0,"rost.no":!0,"xn--rst-0na.no":!0,"royken.no":!0,"xn--ryken-vua.no":!0,"royrvik.no":!0,"xn--ryrvik-bya.no":!0,"rade.no":!0,"xn--rde-ula.no":!0,"salangen.no":!0,"siellak.no":!0,"saltdal.no":!0,"salat.no":!0,"xn--slt-elab.no":!0,"xn--slat-5na.no":!0,"samnanger.no":!0,"sande.more-og-romsdal.no":!0,"sande.xn--mre-og-romsdal-qqb.no":!0,"sande.vestfold.no":!0,"sandefjord.no":!0,"sandnes.no":!0,"sandoy.no":!0,"xn--sandy-yua.no":!0,"sarpsborg.no":!0,"sauda.no":!0,"sauherad.no":!0,"sel.no":!0,"selbu.no":!0,"selje.no":!0,"seljord.no":!0,"sigdal.no":!0,"siljan.no":!0,"sirdal.no":!0,"skaun.no":!0,"skedsmo.no":!0,"ski.no":!0,"skien.no":!0,"skiptvet.no":!0,"skjervoy.no":!0,"xn--skjervy-v1a.no":!0,"skierva.no":!0,"xn--skierv-uta.no":!0,"skjak.no":!0,"xn--skjk-soa.no":!0,"skodje.no":!0,"skanland.no":!0,"xn--sknland-fxa.no":!0,"skanit.no":!0,"xn--sknit-yqa.no":!0,"smola.no":!0,"xn--smla-hra.no":!0,"snillfjord.no":!0,"snasa.no":!0,"xn--snsa-roa.no":!0,"snoasa.no":!0,"snaase.no":!0,"xn--snase-nra.no":!0,"sogndal.no":!0,"sokndal.no":!0,"sola.no":!0,"solund.no":!0,"songdalen.no":!0,"sortland.no":!0,"spydeberg.no":!0,"stange.no":!0,"stavanger.no":!0,"steigen.no":!0,"steinkjer.no":!0,"stjordal.no":!0,"xn--stjrdal-s1a.no":!0,"stokke.no":!0,"stor-elvdal.no":!0,"stord.no":!0,"stordal.no":!0,"storfjord.no":!0,"omasvuotna.no":!0,"strand.no":!0,"stranda.no":!0,"stryn.no":!0,"sula.no":!0,"suldal.no":!0,"sund.no":!0,"sunndal.no":!0,"surnadal.no":!0,"sveio.no":!0,"svelvik.no":!0,"sykkylven.no":!0,"sogne.no":!0,"xn--sgne-gra.no":!0,"somna.no":!0,"xn--smna-gra.no":!0,"sondre-land.no":!0,"xn--sndre-land-0cb.no":!0,"sor-aurdal.no":!0,"xn--sr-aurdal-l8a.no":!0,"sor-fron.no":!0,"xn--sr-fron-q1a.no":!0,"sor-odal.no":!0,"xn--sr-odal-q1a.no":!0,"sor-varanger.no":!0,"xn--sr-varanger-ggb.no":!0,"matta-varjjat.no":!0,"xn--mtta-vrjjat-k7af.no":!0,"sorfold.no":!0,"xn--srfold-bya.no":!0,"sorreisa.no":!0,"xn--srreisa-q1a.no":!0,"sorum.no":!0,"xn--srum-gra.no":!0,"tana.no":!0,"deatnu.no":!0,"time.no":!0,"tingvoll.no":!0,"tinn.no":!0,"tjeldsund.no":!0,"dielddanuorri.no":!0,"tjome.no":!0,"xn--tjme-hra.no":!0,"tokke.no":!0,"tolga.no":!0,"torsken.no":!0,"tranoy.no":!0,"xn--trany-yua.no":!0,"tromso.no":!0,"xn--troms-zua.no":!0,"tromsa.no":!0,"romsa.no":!0,"trondheim.no":!0,"troandin.no":!0,"trysil.no":!0,"trana.no":!0,"xn--trna-woa.no":!0,"trogstad.no":!0,"xn--trgstad-r1a.no":!0,"tvedestrand.no":!0,"tydal.no":!0,"tynset.no":!0,"tysfjord.no":!0,"divtasvuodna.no":!0,"divttasvuotna.no":!0,"tysnes.no":!0,"tysvar.no":!0,"xn--tysvr-vra.no":!0,"tonsberg.no":!0,"xn--tnsberg-q1a.no":!0,"ullensaker.no":!0,"ullensvang.no":!0,"ulvik.no":!0,"utsira.no":!0,"vadso.no":!0,"xn--vads-jra.no":!0,"cahcesuolo.no":!0,"xn--hcesuolo-7ya35b.no":!0,"vaksdal.no":!0,"valle.no":!0,"vang.no":!0,"vanylven.no":!0,"vardo.no":!0,"xn--vard-jra.no":!0,"varggat.no":!0,"xn--vrggt-xqad.no":!0,"vefsn.no":!0,"vaapste.no":!0,"vega.no":!0,"vegarshei.no":!0,"xn--vegrshei-c0a.no":!0,"vennesla.no":!0,"verdal.no":!0,"verran.no":!0,"vestby.no":!0,"vestnes.no":!0,"vestre-slidre.no":!0,"vestre-toten.no":!0,"vestvagoy.no":!0,"xn--vestvgy-ixa6o.no":!0,"vevelstad.no":!0,"vik.no":!0,"vikna.no":!0,"vindafjord.no":!0,"volda.no":!0,"voss.no":!0,"varoy.no":!0,"xn--vry-yla5g.no":!0,"vagan.no":!0,"xn--vgan-qoa.no":!0,"voagat.no":!0,"vagsoy.no":!0,"xn--vgsy-qoa0j.no":!0,"vaga.no":!0,"xn--vg-yiab.no":!0,"valer.ostfold.no":!0,"xn--vler-qoa.xn--stfold-9xa.no":!0,"valer.hedmark.no":!0,"xn--vler-qoa.hedmark.no":!0,"*.np":!0,nr:!0,"biz.nr":!0,"info.nr":!0,"gov.nr":!0,"edu.nr":!0,"org.nr":!0,"net.nr":!0,"com.nr":!0,nu:!0,nz:!0,"ac.nz":!0,"co.nz":!0,"cri.nz":!0,"geek.nz":!0,"gen.nz":!0,"govt.nz":!0,"health.nz":!0,"iwi.nz":!0,"kiwi.nz":!0,"maori.nz":!0,"mil.nz":!0,"xn--mori-qsa.nz":!0,"net.nz":!0,"org.nz":!0,"parliament.nz":!0,"school.nz":!0,om:!0,"co.om":!0,"com.om":!0,"edu.om":!0,"gov.om":!0,"med.om":!0,"museum.om":!0,"net.om":!0,"org.om":!0,"pro.om":!0,org:!0,pa:!0,"ac.pa":!0,"gob.pa":!0,"com.pa":!0,"org.pa":!0,"sld.pa":!0,"edu.pa":!0,"net.pa":!0,"ing.pa":!0,"abo.pa":!0,"med.pa":!0,"nom.pa":!0,pe:!0,"edu.pe":!0,"gob.pe":!0,"nom.pe":!0,"mil.pe":!0,"org.pe":!0,"com.pe":!0,"net.pe":!0,pf:!0,"com.pf":!0,"org.pf":!0,"edu.pf":!0,"*.pg":!0,ph:!0,"com.ph":!0,"net.ph":!0,"org.ph":!0,"gov.ph":!0,"edu.ph":!0,"ngo.ph":!0,"mil.ph":!0,"i.ph":!0,pk:!0,"com.pk":!0,"net.pk":!0,"edu.pk":!0,"org.pk":!0,"fam.pk":!0,"biz.pk":!0,"web.pk":!0,"gov.pk":!0,"gob.pk":!0,"gok.pk":!0,"gon.pk":!0,"gop.pk":!0,"gos.pk":!0,"info.pk":!0,pl:!0,"com.pl":!0,"net.pl":!0,"org.pl":!0,"info.pl":!0,"waw.pl":!0,"gov.pl":!0,"aid.pl":!0,"agro.pl":!0,"atm.pl":!0,"auto.pl":!0,"biz.pl":!0,"edu.pl":!0,"gmina.pl":!0,"gsm.pl":!0,"mail.pl":!0,"miasta.pl":!0,"media.pl":!0,"mil.pl":!0,"nieruchomosci.pl":!0,"nom.pl":!0,"pc.pl":!0,"powiat.pl":!0,"priv.pl":!0,"realestate.pl":!0,"rel.pl":!0,"sex.pl":!0,"shop.pl":!0,"sklep.pl":!0,"sos.pl":!0,"szkola.pl":!0,"targi.pl":!0,"tm.pl":!0,"tourism.pl":!0,"travel.pl":!0,"turystyka.pl":!0,"uw.gov.pl":!0,"um.gov.pl":!0,"ug.gov.pl":!0,"upow.gov.pl":!0,"starostwo.gov.pl":!0,"so.gov.pl":!0,"sr.gov.pl":!0,"po.gov.pl":!0,"pa.gov.pl":!0,"augustow.pl":!0,"babia-gora.pl":!0,"bedzin.pl":!0,"beskidy.pl":!0,"bialowieza.pl":!0,"bialystok.pl":!0,"bielawa.pl":!0,"bieszczady.pl":!0,"boleslawiec.pl":!0,"bydgoszcz.pl":!0,"bytom.pl":!0,"cieszyn.pl":!0,"czeladz.pl":!0,"czest.pl":!0,"dlugoleka.pl":!0,"elblag.pl":!0,"elk.pl":!0,"glogow.pl":!0,"gniezno.pl":!0,"gorlice.pl":!0,"grajewo.pl":!0,"ilawa.pl":!0,"jaworzno.pl":!0,"jelenia-gora.pl":!0,"jgora.pl":!0,"kalisz.pl":!0,"kazimierz-dolny.pl":!0,"karpacz.pl":!0,"kartuzy.pl":!0,"kaszuby.pl":!0,"katowice.pl":!0,"kepno.pl":!0,"ketrzyn.pl":!0,"klodzko.pl":!0,"kobierzyce.pl":!0,"kolobrzeg.pl":!0,"konin.pl":!0,"konskowola.pl":!0,"kutno.pl":!0,"lapy.pl":!0,"lebork.pl":!0,"legnica.pl":!0,"lezajsk.pl":!0,"limanowa.pl":!0,"lomza.pl":!0,"lowicz.pl":!0,"lubin.pl":!0,"lukow.pl":!0,"malbork.pl":!0,"malopolska.pl":!0,"mazowsze.pl":!0,"mazury.pl":!0,"mielec.pl":!0,"mielno.pl":!0,"mragowo.pl":!0,"naklo.pl":!0,"nowaruda.pl":!0,"nysa.pl":!0,"olawa.pl":!0,"olecko.pl":!0,"olkusz.pl":!0,"olsztyn.pl":!0,"opoczno.pl":!0,"opole.pl":!0,"ostroda.pl":!0,"ostroleka.pl":!0,"ostrowiec.pl":!0,"ostrowwlkp.pl":!0,"pila.pl":!0,"pisz.pl":!0,"podhale.pl":!0,"podlasie.pl":!0,"polkowice.pl":!0,"pomorze.pl":!0,"pomorskie.pl":!0,"prochowice.pl":!0,"pruszkow.pl":!0,"przeworsk.pl":!0,"pulawy.pl":!0,"radom.pl":!0,"rawa-maz.pl":!0,"rybnik.pl":!0,"rzeszow.pl":!0,"sanok.pl":!0,"sejny.pl":!0,"slask.pl":!0,"slupsk.pl":!0,"sosnowiec.pl":!0,"stalowa-wola.pl":!0,"skoczow.pl":!0,"starachowice.pl":!0,"stargard.pl":!0,"suwalki.pl":!0,"swidnica.pl":!0,"swiebodzin.pl":!0,"swinoujscie.pl":!0,"szczecin.pl":!0,"szczytno.pl":!0,"tarnobrzeg.pl":!0,"tgory.pl":!0,"turek.pl":!0,"tychy.pl":!0,"ustka.pl":!0,"walbrzych.pl":!0,"warmia.pl":!0,"warszawa.pl":!0,"wegrow.pl":!0,"wielun.pl":!0,"wlocl.pl":!0,"wloclawek.pl":!0,"wodzislaw.pl":!0,"wolomin.pl":!0,"wroclaw.pl":!0,"zachpomor.pl":!0,"zagan.pl":!0,"zarow.pl":!0,"zgora.pl":!0,"zgorzelec.pl":!0,pm:!0,pn:!0,"gov.pn":!0,"co.pn":!0,"org.pn":!0,"edu.pn":!0,"net.pn":!0,post:!0,pr:!0,"com.pr":!0,"net.pr":!0,"org.pr":!0,"gov.pr":!0,"edu.pr":!0,"isla.pr":!0,"pro.pr":!0,"biz.pr":!0,"info.pr":!0,"name.pr":!0,"est.pr":!0,"prof.pr":!0,"ac.pr":!0,pro:!0,"aca.pro":!0,"bar.pro":!0,"cpa.pro":!0,"jur.pro":!0,"law.pro":!0,"med.pro":!0,"eng.pro":!0,ps:!0,"edu.ps":!0,"gov.ps":!0,"sec.ps":!0,"plo.ps":!0,"com.ps":!0,"org.ps":!0,"net.ps":!0,pt:!0,"net.pt":!0,"gov.pt":!0,"org.pt":!0,"edu.pt":!0,"int.pt":!0,"publ.pt":!0,"com.pt":!0,"nome.pt":!0,pw:!0,"co.pw":!0,"ne.pw":!0,"or.pw":!0,"ed.pw":!0,"go.pw":!0,"belau.pw":!0,py:!0,"com.py":!0,"coop.py":!0,"edu.py":!0,"gov.py":!0,"mil.py":!0,"net.py":!0,"org.py":!0,qa:!0,"com.qa":!0,"edu.qa":!0,"gov.qa":!0,"mil.qa":!0,"name.qa":!0,"net.qa":!0,"org.qa":!0,"sch.qa":!0,re:!0,"com.re":!0,"asso.re":!0,"nom.re":!0,ro:!0,"com.ro":!0,"org.ro":!0,"tm.ro":!0,"nt.ro":!0,"nom.ro":!0,"info.ro":!0,"rec.ro":!0,"arts.ro":!0,"firm.ro":!0,"store.ro":!0,"www.ro":!0,rs:!0,"co.rs":!0,"org.rs":!0,"edu.rs":!0,"ac.rs":!0,"gov.rs":!0,"in.rs":!0,ru:!0,"ac.ru":!0,"com.ru":!0,"edu.ru":!0,"int.ru":!0,"net.ru":!0,"org.ru":!0,"pp.ru":!0,"adygeya.ru":!0,"altai.ru":!0,"amur.ru":!0,"arkhangelsk.ru":!0,"astrakhan.ru":!0,"bashkiria.ru":!0,"belgorod.ru":!0,"bir.ru":!0,"bryansk.ru":!0,"buryatia.ru":!0,"cbg.ru":!0,"chel.ru":!0,"chelyabinsk.ru":!0,"chita.ru":!0,"chukotka.ru":!0,"chuvashia.ru":!0,"dagestan.ru":!0,"dudinka.ru":!0,"e-burg.ru":!0,"grozny.ru":!0,"irkutsk.ru":!0,"ivanovo.ru":!0,"izhevsk.ru":!0,"jar.ru":!0,"joshkar-ola.ru":!0,"kalmykia.ru":!0,"kaluga.ru":!0,"kamchatka.ru":!0,"karelia.ru":!0,"kazan.ru":!0,"kchr.ru":!0,"kemerovo.ru":!0,"khabarovsk.ru":!0,"khakassia.ru":!0,"khv.ru":!0,"kirov.ru":!0,"koenig.ru":!0,"komi.ru":!0,"kostroma.ru":!0,"krasnoyarsk.ru":!0,"kuban.ru":!0,"kurgan.ru":!0,"kursk.ru":!0,"lipetsk.ru":!0,"magadan.ru":!0,"mari.ru":!0,"mari-el.ru":!0,"marine.ru":!0,"mordovia.ru":!0,"msk.ru":!0,"murmansk.ru":!0,"nalchik.ru":!0,"nnov.ru":!0,"nov.ru":!0,"novosibirsk.ru":!0,"nsk.ru":!0,"omsk.ru":!0,"orenburg.ru":!0,"oryol.ru":!0,"palana.ru":!0,"penza.ru":!0,"perm.ru":!0,"ptz.ru":!0,"rnd.ru":!0,"ryazan.ru":!0,"sakhalin.ru":!0,"samara.ru":!0,"saratov.ru":!0,"simbirsk.ru":!0,"smolensk.ru":!0,"spb.ru":!0,"stavropol.ru":!0,"stv.ru":!0,"surgut.ru":!0,"tambov.ru":!0,"tatarstan.ru":!0,"tom.ru":!0,"tomsk.ru":!0,"tsaritsyn.ru":!0,"tsk.ru":!0,"tula.ru":!0,"tuva.ru":!0,"tver.ru":!0,"tyumen.ru":!0,"udm.ru":!0,"udmurtia.ru":!0,"ulan-ude.ru":!0,"vladikavkaz.ru":!0,"vladimir.ru":!0,"vladivostok.ru":!0,"volgograd.ru":!0,"vologda.ru":!0,"voronezh.ru":!0,"vrn.ru":!0,"vyatka.ru":!0,"yakutia.ru":!0,"yamal.ru":!0,"yaroslavl.ru":!0,"yekaterinburg.ru":!0,"yuzhno-sakhalinsk.ru":!0,"amursk.ru":!0,"baikal.ru":!0,"cmw.ru":!0,"fareast.ru":!0,"jamal.ru":!0,"kms.ru":!0,"k-uralsk.ru":!0,"kustanai.ru":!0,"kuzbass.ru":!0,"magnitka.ru":!0,"mytis.ru":!0,"nakhodka.ru":!0,"nkz.ru":!0,"norilsk.ru":!0,"oskol.ru":!0,"pyatigorsk.ru":!0,"rubtsovsk.ru":!0,"snz.ru":!0,"syzran.ru":!0,"vdonsk.ru":!0,"zgrad.ru":!0,"gov.ru":!0,"mil.ru":!0,"test.ru":!0,rw:!0,"gov.rw":!0,"net.rw":!0,"edu.rw":!0,"ac.rw":!0,"com.rw":!0,"co.rw":!0,"int.rw":!0,"mil.rw":!0,"gouv.rw":!0,sa:!0,"com.sa":!0,"net.sa":!0,"org.sa":!0,"gov.sa":!0,"med.sa":!0,"pub.sa":!0,"edu.sa":!0,"sch.sa":!0,sb:!0,"com.sb":!0,"edu.sb":!0,"gov.sb":!0,"net.sb":!0,"org.sb":!0,sc:!0,"com.sc":!0,"gov.sc":!0,"net.sc":!0,"org.sc":!0,"edu.sc":!0,sd:!0,"com.sd":!0,"net.sd":!0,"org.sd":!0,"edu.sd":!0,"med.sd":!0,"tv.sd":!0,"gov.sd":!0,"info.sd":!0,se:!0,"a.se":!0,"ac.se":!0,"b.se":!0,"bd.se":!0,"brand.se":!0,"c.se":!0,"d.se":!0,"e.se":!0,"f.se":!0,"fh.se":!0,"fhsk.se":!0,"fhv.se":!0,"g.se":!0,"h.se":!0,"i.se":!0,"k.se":!0,"komforb.se":!0,"kommunalforbund.se":!0,"komvux.se":!0,"l.se":!0,"lanbib.se":!0,"m.se":!0,"n.se":!0,"naturbruksgymn.se":!0,"o.se":!0,"org.se":!0,"p.se":!0,"parti.se":!0,"pp.se":!0,"press.se":!0,"r.se":!0,"s.se":!0,"t.se":!0,"tm.se":!0,"u.se":!0,"w.se":!0,"x.se":!0,"y.se":!0,"z.se":!0,sg:!0,"com.sg":!0,"net.sg":!0,"org.sg":!0,"gov.sg":!0,"edu.sg":!0,"per.sg":!0,sh:!0,"com.sh":!0,"net.sh":!0,"gov.sh":!0,"org.sh":!0,"mil.sh":!0,si:!0,sj:!0,sk:!0,sl:!0,"com.sl":!0,"net.sl":!0,"edu.sl":!0,"gov.sl":!0,"org.sl":!0,sm:!0,sn:!0,"art.sn":!0,"com.sn":!0,"edu.sn":!0,"gouv.sn":!0,"org.sn":!0,"perso.sn":!0,"univ.sn":!0,so:!0,"com.so":!0,"net.so":!0,"org.so":!0,sr:!0,st:!0,"co.st":!0,"com.st":!0,"consulado.st":!0,"edu.st":!0,"embaixada.st":!0,"gov.st":!0,"mil.st":!0,"net.st":!0,"org.st":!0,"principe.st":!0,"saotome.st":!0,"store.st":!0,su:!0,"adygeya.su":!0,"arkhangelsk.su":!0,"balashov.su":!0,"bashkiria.su":!0,"bryansk.su":!0,"dagestan.su":!0,"grozny.su":!0,"ivanovo.su":!0,"kalmykia.su":!0,"kaluga.su":!0,"karelia.su":!0,"khakassia.su":!0,"krasnodar.su":!0,"kurgan.su":!0,"lenug.su":!0,"mordovia.su":!0,"msk.su":!0,"murmansk.su":!0,"nalchik.su":!0,"nov.su":!0,"obninsk.su":!0,"penza.su":!0,"pokrovsk.su":!0,"sochi.su":!0,"spb.su":!0,"togliatti.su":!0,"troitsk.su":!0,"tula.su":!0,"tuva.su":!0,"vladikavkaz.su":!0,"vladimir.su":!0,"vologda.su":!0,sv:!0,"com.sv":!0,"edu.sv":!0,"gob.sv":!0,"org.sv":!0,"red.sv":!0,sx:!0,"gov.sx":!0,sy:!0,"edu.sy":!0,"gov.sy":!0,"net.sy":!0,"mil.sy":!0,"com.sy":!0,"org.sy":!0,sz:!0,"co.sz":!0,"ac.sz":!0,"org.sz":!0,tc:!0,td:!0,tel:!0,tf:!0,tg:!0,th:!0,"ac.th":!0,"co.th":!0,"go.th":!0,"in.th":!0,"mi.th":!0,"net.th":!0,"or.th":!0,tj:!0,"ac.tj":!0,"biz.tj":!0,"co.tj":!0,"com.tj":!0,"edu.tj":!0,"go.tj":!0,"gov.tj":!0,"int.tj":!0,"mil.tj":!0,"name.tj":!0,"net.tj":!0,"nic.tj":!0,"org.tj":!0,"test.tj":!0,"web.tj":!0,tk:!0,tl:!0,"gov.tl":!0,tm:!0,"com.tm":!0,"co.tm":!0,"org.tm":!0,"net.tm":!0,"nom.tm":!0,"gov.tm":!0,"mil.tm":!0,"edu.tm":!0,tn:!0,"com.tn":!0,"ens.tn":!0,"fin.tn":!0,"gov.tn":!0,"ind.tn":!0,"intl.tn":!0,"nat.tn":!0,"net.tn":!0,"org.tn":!0,"info.tn":!0, -"perso.tn":!0,"tourism.tn":!0,"edunet.tn":!0,"rnrt.tn":!0,"rns.tn":!0,"rnu.tn":!0,"mincom.tn":!0,"agrinet.tn":!0,"defense.tn":!0,"turen.tn":!0,to:!0,"com.to":!0,"gov.to":!0,"net.to":!0,"org.to":!0,"edu.to":!0,"mil.to":!0,tp:!0,tr:!0,"com.tr":!0,"info.tr":!0,"biz.tr":!0,"net.tr":!0,"org.tr":!0,"web.tr":!0,"gen.tr":!0,"tv.tr":!0,"av.tr":!0,"dr.tr":!0,"bbs.tr":!0,"name.tr":!0,"tel.tr":!0,"gov.tr":!0,"bel.tr":!0,"pol.tr":!0,"mil.tr":!0,"k12.tr":!0,"edu.tr":!0,"kep.tr":!0,"nc.tr":!0,"gov.nc.tr":!0,travel:!0,tt:!0,"co.tt":!0,"com.tt":!0,"org.tt":!0,"net.tt":!0,"biz.tt":!0,"info.tt":!0,"pro.tt":!0,"int.tt":!0,"coop.tt":!0,"jobs.tt":!0,"mobi.tt":!0,"travel.tt":!0,"museum.tt":!0,"aero.tt":!0,"name.tt":!0,"gov.tt":!0,"edu.tt":!0,tv:!0,tw:!0,"edu.tw":!0,"gov.tw":!0,"mil.tw":!0,"com.tw":!0,"net.tw":!0,"org.tw":!0,"idv.tw":!0,"game.tw":!0,"ebiz.tw":!0,"club.tw":!0,"xn--zf0ao64a.tw":!0,"xn--uc0atv.tw":!0,"xn--czrw28b.tw":!0,tz:!0,"ac.tz":!0,"co.tz":!0,"go.tz":!0,"hotel.tz":!0,"info.tz":!0,"me.tz":!0,"mil.tz":!0,"mobi.tz":!0,"ne.tz":!0,"or.tz":!0,"sc.tz":!0,"tv.tz":!0,ua:!0,"com.ua":!0,"edu.ua":!0,"gov.ua":!0,"in.ua":!0,"net.ua":!0,"org.ua":!0,"cherkassy.ua":!0,"cherkasy.ua":!0,"chernigov.ua":!0,"chernihiv.ua":!0,"chernivtsi.ua":!0,"chernovtsy.ua":!0,"ck.ua":!0,"cn.ua":!0,"cr.ua":!0,"crimea.ua":!0,"cv.ua":!0,"dn.ua":!0,"dnepropetrovsk.ua":!0,"dnipropetrovsk.ua":!0,"dominic.ua":!0,"donetsk.ua":!0,"dp.ua":!0,"if.ua":!0,"ivano-frankivsk.ua":!0,"kh.ua":!0,"kharkiv.ua":!0,"kharkov.ua":!0,"kherson.ua":!0,"khmelnitskiy.ua":!0,"khmelnytskyi.ua":!0,"kiev.ua":!0,"kirovograd.ua":!0,"km.ua":!0,"kr.ua":!0,"krym.ua":!0,"ks.ua":!0,"kv.ua":!0,"kyiv.ua":!0,"lg.ua":!0,"lt.ua":!0,"lugansk.ua":!0,"lutsk.ua":!0,"lv.ua":!0,"lviv.ua":!0,"mk.ua":!0,"mykolaiv.ua":!0,"nikolaev.ua":!0,"od.ua":!0,"odesa.ua":!0,"odessa.ua":!0,"pl.ua":!0,"poltava.ua":!0,"rivne.ua":!0,"rovno.ua":!0,"rv.ua":!0,"sb.ua":!0,"sebastopol.ua":!0,"sevastopol.ua":!0,"sm.ua":!0,"sumy.ua":!0,"te.ua":!0,"ternopil.ua":!0,"uz.ua":!0,"uzhgorod.ua":!0,"vinnica.ua":!0,"vinnytsia.ua":!0,"vn.ua":!0,"volyn.ua":!0,"yalta.ua":!0,"zaporizhzhe.ua":!0,"zaporizhzhia.ua":!0,"zhitomir.ua":!0,"zhytomyr.ua":!0,"zp.ua":!0,"zt.ua":!0,"co.ua":!0,"pp.ua":!0,ug:!0,"co.ug":!0,"or.ug":!0,"ac.ug":!0,"sc.ug":!0,"go.ug":!0,"ne.ug":!0,"com.ug":!0,"org.ug":!0,uk:!0,"ac.uk":!0,"co.uk":!0,"gov.uk":!0,"ltd.uk":!0,"me.uk":!0,"net.uk":!0,"nhs.uk":!0,"org.uk":!0,"plc.uk":!0,"police.uk":!0,"*.sch.uk":!0,us:!0,"dni.us":!0,"fed.us":!0,"isa.us":!0,"kids.us":!0,"nsn.us":!0,"ak.us":!0,"al.us":!0,"ar.us":!0,"as.us":!0,"az.us":!0,"ca.us":!0,"co.us":!0,"ct.us":!0,"dc.us":!0,"de.us":!0,"fl.us":!0,"ga.us":!0,"gu.us":!0,"hi.us":!0,"ia.us":!0,"id.us":!0,"il.us":!0,"in.us":!0,"ks.us":!0,"ky.us":!0,"la.us":!0,"ma.us":!0,"md.us":!0,"me.us":!0,"mi.us":!0,"mn.us":!0,"mo.us":!0,"ms.us":!0,"mt.us":!0,"nc.us":!0,"nd.us":!0,"ne.us":!0,"nh.us":!0,"nj.us":!0,"nm.us":!0,"nv.us":!0,"ny.us":!0,"oh.us":!0,"ok.us":!0,"or.us":!0,"pa.us":!0,"pr.us":!0,"ri.us":!0,"sc.us":!0,"sd.us":!0,"tn.us":!0,"tx.us":!0,"ut.us":!0,"vi.us":!0,"vt.us":!0,"va.us":!0,"wa.us":!0,"wi.us":!0,"wv.us":!0,"wy.us":!0,"k12.ak.us":!0,"k12.al.us":!0,"k12.ar.us":!0,"k12.as.us":!0,"k12.az.us":!0,"k12.ca.us":!0,"k12.co.us":!0,"k12.ct.us":!0,"k12.dc.us":!0,"k12.de.us":!0,"k12.fl.us":!0,"k12.ga.us":!0,"k12.gu.us":!0,"k12.ia.us":!0,"k12.id.us":!0,"k12.il.us":!0,"k12.in.us":!0,"k12.ks.us":!0,"k12.ky.us":!0,"k12.la.us":!0,"k12.ma.us":!0,"k12.md.us":!0,"k12.me.us":!0,"k12.mi.us":!0,"k12.mn.us":!0,"k12.mo.us":!0,"k12.ms.us":!0,"k12.mt.us":!0,"k12.nc.us":!0,"k12.ne.us":!0,"k12.nh.us":!0,"k12.nj.us":!0,"k12.nm.us":!0,"k12.nv.us":!0,"k12.ny.us":!0,"k12.oh.us":!0,"k12.ok.us":!0,"k12.or.us":!0,"k12.pa.us":!0,"k12.pr.us":!0,"k12.ri.us":!0,"k12.sc.us":!0,"k12.tn.us":!0,"k12.tx.us":!0,"k12.ut.us":!0,"k12.vi.us":!0,"k12.vt.us":!0,"k12.va.us":!0,"k12.wa.us":!0,"k12.wi.us":!0,"k12.wy.us":!0,"cc.ak.us":!0,"cc.al.us":!0,"cc.ar.us":!0,"cc.as.us":!0,"cc.az.us":!0,"cc.ca.us":!0,"cc.co.us":!0,"cc.ct.us":!0,"cc.dc.us":!0,"cc.de.us":!0,"cc.fl.us":!0,"cc.ga.us":!0,"cc.gu.us":!0,"cc.hi.us":!0,"cc.ia.us":!0,"cc.id.us":!0,"cc.il.us":!0,"cc.in.us":!0,"cc.ks.us":!0,"cc.ky.us":!0,"cc.la.us":!0,"cc.ma.us":!0,"cc.md.us":!0,"cc.me.us":!0,"cc.mi.us":!0,"cc.mn.us":!0,"cc.mo.us":!0,"cc.ms.us":!0,"cc.mt.us":!0,"cc.nc.us":!0,"cc.nd.us":!0,"cc.ne.us":!0,"cc.nh.us":!0,"cc.nj.us":!0,"cc.nm.us":!0,"cc.nv.us":!0,"cc.ny.us":!0,"cc.oh.us":!0,"cc.ok.us":!0,"cc.or.us":!0,"cc.pa.us":!0,"cc.pr.us":!0,"cc.ri.us":!0,"cc.sc.us":!0,"cc.sd.us":!0,"cc.tn.us":!0,"cc.tx.us":!0,"cc.ut.us":!0,"cc.vi.us":!0,"cc.vt.us":!0,"cc.va.us":!0,"cc.wa.us":!0,"cc.wi.us":!0,"cc.wv.us":!0,"cc.wy.us":!0,"lib.ak.us":!0,"lib.al.us":!0,"lib.ar.us":!0,"lib.as.us":!0,"lib.az.us":!0,"lib.ca.us":!0,"lib.co.us":!0,"lib.ct.us":!0,"lib.dc.us":!0,"lib.de.us":!0,"lib.fl.us":!0,"lib.ga.us":!0,"lib.gu.us":!0,"lib.hi.us":!0,"lib.ia.us":!0,"lib.id.us":!0,"lib.il.us":!0,"lib.in.us":!0,"lib.ks.us":!0,"lib.ky.us":!0,"lib.la.us":!0,"lib.ma.us":!0,"lib.md.us":!0,"lib.me.us":!0,"lib.mi.us":!0,"lib.mn.us":!0,"lib.mo.us":!0,"lib.ms.us":!0,"lib.mt.us":!0,"lib.nc.us":!0,"lib.nd.us":!0,"lib.ne.us":!0,"lib.nh.us":!0,"lib.nj.us":!0,"lib.nm.us":!0,"lib.nv.us":!0,"lib.ny.us":!0,"lib.oh.us":!0,"lib.ok.us":!0,"lib.or.us":!0,"lib.pa.us":!0,"lib.pr.us":!0,"lib.ri.us":!0,"lib.sc.us":!0,"lib.sd.us":!0,"lib.tn.us":!0,"lib.tx.us":!0,"lib.ut.us":!0,"lib.vi.us":!0,"lib.vt.us":!0,"lib.va.us":!0,"lib.wa.us":!0,"lib.wi.us":!0,"lib.wy.us":!0,"pvt.k12.ma.us":!0,"chtr.k12.ma.us":!0,"paroch.k12.ma.us":!0,uy:!0,"com.uy":!0,"edu.uy":!0,"gub.uy":!0,"mil.uy":!0,"net.uy":!0,"org.uy":!0,uz:!0,"co.uz":!0,"com.uz":!0,"net.uz":!0,"org.uz":!0,va:!0,vc:!0,"com.vc":!0,"net.vc":!0,"org.vc":!0,"gov.vc":!0,"mil.vc":!0,"edu.vc":!0,ve:!0,"arts.ve":!0,"co.ve":!0,"com.ve":!0,"e12.ve":!0,"edu.ve":!0,"firm.ve":!0,"gob.ve":!0,"gov.ve":!0,"info.ve":!0,"int.ve":!0,"mil.ve":!0,"net.ve":!0,"org.ve":!0,"rec.ve":!0,"store.ve":!0,"tec.ve":!0,"web.ve":!0,vg:!0,vi:!0,"co.vi":!0,"com.vi":!0,"k12.vi":!0,"net.vi":!0,"org.vi":!0,vn:!0,"com.vn":!0,"net.vn":!0,"org.vn":!0,"edu.vn":!0,"gov.vn":!0,"int.vn":!0,"ac.vn":!0,"biz.vn":!0,"info.vn":!0,"name.vn":!0,"pro.vn":!0,"health.vn":!0,vu:!0,"com.vu":!0,"edu.vu":!0,"net.vu":!0,"org.vu":!0,wf:!0,ws:!0,"com.ws":!0,"net.ws":!0,"org.ws":!0,"gov.ws":!0,"edu.ws":!0,yt:!0,"xn--mgbaam7a8h":!0,"xn--54b7fta0cc":!0,"xn--fiqs8s":!0,"xn--fiqz9s":!0,"xn--lgbbat1ad8j":!0,"xn--wgbh1c":!0,"xn--node":!0,"xn--j6w193g":!0,"xn--h2brj9c":!0,"xn--mgbbh1a71e":!0,"xn--fpcrj9c3d":!0,"xn--gecrj9c":!0,"xn--s9brj9c":!0,"xn--45brj9c":!0,"xn--xkc2dl3a5ee0h":!0,"xn--mgba3a4f16a":!0,"xn--mgba3a4fra":!0,"xn--mgbayh7gpa":!0,"xn--3e0b707e":!0,"xn--80ao21a":!0,"xn--fzc2c9e2c":!0,"xn--xkc2al3hye2a":!0,"xn--mgbc0a9azcg":!0,"xn--l1acc":!0,"xn--mgbx4cd0ab":!0,"xn--mgb9awbf":!0,"xn--ygbi2ammx":!0,"xn--90a3ac":!0,"xn--o1ac.xn--90a3ac":!0,"xn--c1avg.xn--90a3ac":!0,"xn--90azh.xn--90a3ac":!0,"xn--d1at.xn--90a3ac":!0,"xn--o1ach.xn--90a3ac":!0,"xn--80au.xn--90a3ac":!0,"xn--p1ai":!0,"xn--wgbl6a":!0,"xn--mgberp4a5d4ar":!0,"xn--mgberp4a5d4a87g":!0,"xn--mgbqly7c0a67fbc":!0,"xn--mgbqly7cvafr":!0,"xn--ogbpf8fl":!0,"xn--mgbtf8fl":!0,"xn--yfro4i67o":!0,"xn--clchc0ea0b2g2a9gcd":!0,"xn--o3cw4h":!0,"xn--pgbs0dh":!0,"xn--kpry57d":!0,"xn--kprw13d":!0,"xn--nnx388a":!0,"xn--j1amh":!0,"xn--mgb2ddes":!0,xxx:!0,"*.ye":!0,"*.za":!0,"*.zm":!0,"*.zw":!0,aaa:!0,abb:!0,abbott:!0,abogado:!0,academy:!0,accenture:!0,accountant:!0,accountants:!0,aco:!0,active:!0,actor:!0,ads:!0,adult:!0,aeg:!0,afl:!0,africa:!0,africamagic:!0,agency:!0,aig:!0,airforce:!0,airtel:!0,alibaba:!0,alipay:!0,allfinanz:!0,alsace:!0,amsterdam:!0,analytics:!0,android:!0,anquan:!0,apartments:!0,aquarelle:!0,aramco:!0,archi:!0,army:!0,arte:!0,associates:!0,attorney:!0,auction:!0,audio:!0,author:!0,auto:!0,autos:!0,avianca:!0,axa:!0,azure:!0,baidu:!0,band:!0,bank:!0,bar:!0,barcelona:!0,barclaycard:!0,barclays:!0,bargains:!0,bauhaus:!0,bayern:!0,bbc:!0,bbva:!0,bcg:!0,bcn:!0,beer:!0,bentley:!0,berlin:!0,best:!0,bharti:!0,bible:!0,bid:!0,bike:!0,bing:!0,bingo:!0,bio:!0,black:!0,blackfriday:!0,bloomberg:!0,blue:!0,bms:!0,bmw:!0,bnl:!0,bnpparibas:!0,boats:!0,bom:!0,bond:!0,boo:!0,boots:!0,bot:!0,boutique:!0,bradesco:!0,bridgestone:!0,broadway:!0,broker:!0,brother:!0,brussels:!0,budapest:!0,build:!0,builders:!0,business:!0,buy:!0,buzz:!0,bzh:!0,cab:!0,cafe:!0,cal:!0,call:!0,camera:!0,camp:!0,cancerresearch:!0,canon:!0,capetown:!0,capital:!0,car:!0,caravan:!0,cards:!0,care:!0,career:!0,careers:!0,cars:!0,cartier:!0,casa:!0,cash:!0,casino:!0,catering:!0,cba:!0,cbn:!0,center:!0,ceo:!0,cern:!0,cfa:!0,cfd:!0,channel:!0,chat:!0,cheap:!0,chloe:!0,christmas:!0,chrome:!0,church:!0,cipriani:!0,circle:!0,cisco:!0,citic:!0,city:!0,cityeats:!0,claims:!0,cleaning:!0,click:!0,clinic:!0,clothing:!0,club:!0,coach:!0,codes:!0,coffee:!0,college:!0,cologne:!0,commbank:!0,community:!0,company:!0,computer:!0,comsec:!0,condos:!0,construction:!0,consulting:!0,contact:!0,contractors:!0,cooking:!0,cool:!0,corsica:!0,country:!0,coupon:!0,coupons:!0,courses:!0,credit:!0,creditcard:!0,creditunion:!0,cricket:!0,crown:!0,crs:!0,cruises:!0,csc:!0,cuisinella:!0,cymru:!0,cyou:!0,dabur:!0,dad:!0,dance:!0,date:!0,dating:!0,datsun:!0,day:!0,dclk:!0,dealer:!0,deals:!0,degree:!0,delivery:!0,dell:!0,delta:!0,democrat:!0,dental:!0,dentist:!0,desi:!0,design:!0,dev:!0,diamonds:!0,diet:!0,digital:!0,direct:!0,directory:!0,discount:!0,dnp:!0,docs:!0,dog:!0,doha:!0,domains:!0,doosan:!0,download:!0,drive:!0,dstv:!0,dubai:!0,durban:!0,dvag:!0,earth:!0,eat:!0,edeka:!0,education:!0,email:!0,emerck:!0,energy:!0,engineer:!0,engineering:!0,enterprises:!0,epson:!0,equipment:!0,erni:!0,esq:!0,estate:!0,eurovision:!0,eus:!0,events:!0,everbank:!0,exchange:!0,expert:!0,exposed:!0,express:!0,fage:!0,fail:!0,fairwinds:!0,faith:!0,family:!0,fan:!0,fans:!0,farm:!0,fashion:!0,fast:!0,feedback:!0,ferrero:!0,film:!0,"final":!0,finance:!0,financial:!0,firestone:!0,firmdale:!0,fish:!0,fishing:!0,fit:!0,fitness:!0,flickr:!0,flights:!0,florist:!0,flowers:!0,flsmidth:!0,fly:!0,foo:!0,football:!0,ford:!0,forex:!0,forsale:!0,forum:!0,foundation:!0,frl:!0,frogans:!0,frontier:!0,fund:!0,furniture:!0,futbol:!0,fyi:!0,gal:!0,gallery:!0,gallup:!0,garden:!0,gbiz:!0,gdn:!0,gea:!0,gent:!0,genting:!0,ggee:!0,gift:!0,gifts:!0,gives:!0,giving:!0,glass:!0,gle:!0,global:!0,globo:!0,gmail:!0,gmo:!0,gmx:!0,gold:!0,goldpoint:!0,golf:!0,goo:!0,goog:!0,google:!0,gop:!0,got:!0,gotv:!0,graphics:!0,gratis:!0,green:!0,gripe:!0,group:!0,gucci:!0,guge:!0,guide:!0,guitars:!0,guru:!0,hamburg:!0,hangout:!0,haus:!0,hdfcbank:!0,health:!0,healthcare:!0,help:!0,helsinki:!0,here:!0,hermes:!0,hiphop:!0,hitachi:!0,hiv:!0,hockey:!0,holdings:!0,holiday:!0,homedepot:!0,homes:!0,honda:!0,horse:!0,host:!0,hosting:!0,hoteles:!0,hotmail:!0,house:!0,how:!0,hsbc:!0,htc:!0,ibm:!0,icbc:!0,ice:!0,icu:!0,ifm:!0,iinet:!0,immo:!0,immobilien:!0,industries:!0,infiniti:!0,ing:!0,ink:!0,institute:!0,insurance:!0,insure:!0,international:!0,investments:!0,ipiranga:!0,irish:!0,iselect:!0,ist:!0,istanbul:!0,itau:!0,iwc:!0,jaguar:!0,java:!0,jcb:!0,jetzt:!0,jewelry:!0,jio:!0,jlc:!0,jll:!0,jmp:!0,joburg:!0,jot:!0,joy:!0,jprs:!0,juegos:!0,kaufen:!0,kddi:!0,kfh:!0,kim:!0,kinder:!0,kitchen:!0,kiwi:!0,koeln:!0,komatsu:!0,kpn:!0,krd:!0,kred:!0,kyknet:!0,kyoto:!0,lacaixa:!0,lancaster:!0,land:!0,landrover:!0,lasalle:!0,lat:!0,latrobe:!0,law:!0,lawyer:!0,lds:!0,lease:!0,leclerc:!0,legal:!0,lgbt:!0,liaison:!0,lidl:!0,life:!0,lifeinsurance:!0,lifestyle:!0,lighting:!0,like:!0,limited:!0,limo:!0,lincoln:!0,linde:!0,link:!0,live:!0,lixil:!0,loan:!0,loans:!0,lol:!0,london:!0,lotte:!0,lotto:!0,love:!0,ltd:!0,ltda:!0,lupin:!0,luxe:!0,luxury:!0,madrid:!0,maif:!0,maison:!0,makeup:!0,man:!0,management:!0,mango:!0,market:!0,marketing:!0,markets:!0,marriott:!0,mba:!0,media:!0,meet:!0,melbourne:!0,meme:!0,memorial:!0,men:!0,menu:!0,meo:!0,miami:!0,microsoft:!0,mini:!0,mma:!0,mnet:!0,mobily:!0,moda:!0,moe:!0,moi:!0,monash:!0,money:!0,montblanc:!0,mormon:!0,mortgage:!0,moscow:!0,motorcycles:!0,mov:!0,movie:!0,movistar:!0,mtn:!0,mtpc:!0,mtr:!0,multichoice:!0,mutual:!0,mzansimagic:!0,nadex:!0,nagoya:!0,naspers:!0,natura:!0,navy:!0,nec:!0,netbank:!0,network:!0,neustar:!0,"new":!0,news:!0,nexus:!0,ngo:!0,nhk:!0,nico:!0,ninja:!0,nissan:!0,nokia:!0,norton:!0,nowruz:!0,nra:!0,nrw:!0,ntt:!0,nyc:!0,obi:!0,office:!0,okinawa:!0,omega:!0,one:!0,ong:!0,onl:!0,online:!0,ooo:!0,oracle:!0,orange:!0,organic:!0,orientexpress:!0,osaka:!0,otsuka:!0,ovh:!0,page:!0,pamperedchef:!0,panerai:!0,paris:!0,pars:!0,partners:!0,parts:!0,party:!0,passagens:!0,payu:!0,pharmacy:!0,philips:!0,photo:!0,photography:!0,photos:!0,physio:!0,piaget:!0,pics:!0,pictet:!0,pictures:!0,pid:!0,pin:!0,pink:!0,pizza:!0,place:!0,play:!0,plumbing:!0,plus:!0,pohl:!0,poker:!0,porn:!0,praxi:!0,press:!0,prod:!0,productions:!0,prof:!0,promo:!0,properties:!0,property:!0,pub:!0,qpon:!0,quebec:!0,quest:!0,racing:!0,read:!0,realtor:!0,realty:!0,recipes:!0,red:!0,redstone:!0,redumbrella:!0,rehab:!0,reise:!0,reisen:!0,reit:!0,reliance:!0,ren:!0,rent:!0,rentals:!0,repair:!0,report:!0,republican:!0,rest:!0,restaurant:!0,review:!0,reviews:!0,rich:!0,ricoh:!0,ril:!0,rio:!0,rip:!0,rocher:!0,rocks:!0,rodeo:!0,room:!0,rsvp:!0,ruhr:!0,run:!0,rwe:!0,ryukyu:!0,saarland:!0,safe:!0,safety:!0,sakura:!0,sale:!0,salon:!0,samsung:!0,sandvik:!0,sandvikcoromant:!0,sanofi:!0,sap:!0,sapo:!0,sarl:!0,sas:!0,saxo:!0,sbi:!0,sbs:!0,sca:!0,scb:!0,schmidt:!0,scholarships:!0,school:!0,schule:!0,schwarz:!0,science:!0,scor:!0,scot:!0,seat:!0,seek:!0,sener:!0,services:!0,sew:!0,sex:!0,sexy:!0,sharp:!0,shia:!0,shiksha:!0,shoes:!0,shouji:!0,show:!0,shriram:!0,sina:!0,singles:!0,site:!0,skin:!0,sky:!0,skype:!0,smile:!0,sncf:!0,soccer:!0,social:!0,software:!0,sohu:!0,solar:!0,solutions:!0,song:!0,sony:!0,soy:!0,space:!0,spiegel:!0,spot:!0,spreadbetting:!0,stada:!0,star:!0,starhub:!0,statebank:!0,statoil:!0,stc:!0,stcgroup:!0,stockholm:!0,storage:!0,studio:!0,study:!0,style:!0,sucks:!0,supersport:!0,supplies:!0,supply:!0,support:!0,surf:!0,surgery:!0,suzuki:!0,swatch:!0,swiss:!0,sydney:!0,symantec:!0,systems:!0,tab:!0,taipei:!0,taobao:!0,tatamotors:!0,tatar:!0,tattoo:!0,tax:!0,taxi:!0,tci:!0,team:!0,tech:!0,technology:!0,telecity:!0,telefonica:!0,temasek:!0,tennis:!0,thd:!0,theater:!0,tickets:!0,tienda:!0,tiffany:!0,tips:!0,tires:!0,tirol:!0,tmall:!0,today:!0,tokyo:!0,tools:!0,top:!0,toray:!0,toshiba:!0,tours:!0,town:!0,toys:!0,trade:!0,trading:!0,training:!0,travelers:!0,travelersinsurance:!0,trust:!0,trv:!0,tui:!0,tunes:!0,tushu:!0,tvs:!0,ubs:!0,university:!0,uno:!0,uol:!0,vacations:!0,vana:!0,vegas:!0,ventures:!0,versicherung:!0,vet:!0,viajes:!0,video:!0,viking:!0,villas:!0,vip:!0,virgin:!0,vision:!0,vista:!0,vistaprint:!0,viva:!0,vlaanderen:!0,vodka:!0,vote:!0,voting:!0,voto:!0,voyage:!0,vuelos:!0,wales:!0,walter:!0,wang:!0,wanggou:!0,watch:!0,watches:!0,weather:!0,weatherchannel:!0,webcam:!0,website:!0,wed:!0,wedding:!0,weibo:!0,weir:!0,whoswho:!0,wien:!0,wiki:!0,williamhill:!0,win:!0,windows:!0,wme:!0,work:!0,works:!0,world:!0,wtc:!0,wtf:!0,xbox:!0,xerox:!0,xihuan:!0,xin:!0,"xn--11b4c3d":!0,"xn--1ck2e1b":!0,"xn--1qqw23a":!0,"xn--30rr7y":!0,"xn--3bst00m":!0,"xn--3ds443g":!0,"xn--3pxu8k":!0,"xn--42c2d9a":!0,"xn--45q11c":!0,"xn--4gbrim":!0,"xn--55qw42g":!0,"xn--55qx5d":!0,"xn--5tzm5g":!0,"xn--6frz82g":!0,"xn--6qq986b3xl":!0,"xn--80adxhks":!0,"xn--80asehdb":!0,"xn--80aswg":!0,"xn--8y0a063a":!0,"xn--9dbq2a":!0,"xn--9et52u":!0,"xn--9krt00a":!0,"xn--b4w605ferd":!0,"xn--bck1b9a5dre4c":!0,"xn--c1avg":!0,"xn--c2br7g":!0,"xn--cck2b3b":!0,"xn--cg4bki":!0,"xn--czr694b":!0,"xn--czrs0t":!0,"xn--czru2d":!0,"xn--d1acj3b":!0,"xn--eckvdtc9d":!0,"xn--efvy88h":!0,"xn--estv75g":!0,"xn--fhbei":!0,"xn--fiq228c5hs":!0,"xn--fiq64b":!0,"xn--fjq720a":!0,"xn--flw351e":!0,"xn--g2xx48c":!0,"xn--gckr3f0f":!0,"xn--hxt814e":!0,"xn--i1b6b1a6a2e":!0,"xn--imr513n":!0,"xn--io0a7i":!0,"xn--j1aef":!0,"xn--jlq61u9w7b":!0,"xn--jvr189m":!0,"xn--kcrx77d1x4a":!0,"xn--kpu716f":!0,"xn--kput3i":!0,"xn--mgba3a3ejt":!0,"xn--mgbab2bd":!0,"xn--mgbb9fbpob":!0,"xn--mgbt3dhd":!0,"xn--mk1bu44c":!0,"xn--mxtq1m":!0,"xn--ngbc5azd":!0,"xn--ngbe9e0a":!0,"xn--nqv7f":!0,"xn--nqv7fs00ema":!0,"xn--nyqy26a":!0,"xn--p1acf":!0,"xn--pbt977c":!0,"xn--pssy2u":!0,"xn--q9jyb4c":!0,"xn--qcka1pmc":!0,"xn--rhqv96g":!0,"xn--rovu88b":!0,"xn--ses554g":!0,"xn--t60b56a":!0,"xn--tckwe":!0,"xn--unup4y":!0,"xn--vermgensberater-ctb":!0,"xn--vermgensberatung-pwb":!0,"xn--vhquv":!0,"xn--vuq861b":!0,"xn--xhq521b":!0,"xn--zfr164b":!0,xyz:!0,yachts:!0,yahoo:!0,yamaxun:!0,yandex:!0,yodobashi:!0,yoga:!0,yokohama:!0,youtube:!0,yun:!0,zara:!0,zero:!0,zip:!0,zone:!0,zuerich:!0,"cloudfront.net":!0,"ap-northeast-1.compute.amazonaws.com":!0,"ap-southeast-1.compute.amazonaws.com":!0,"ap-southeast-2.compute.amazonaws.com":!0,"cn-north-1.compute.amazonaws.cn":!0,"compute.amazonaws.cn":!0,"compute.amazonaws.com":!0,"compute-1.amazonaws.com":!0,"eu-west-1.compute.amazonaws.com":!0,"eu-central-1.compute.amazonaws.com":!0,"sa-east-1.compute.amazonaws.com":!0,"us-east-1.amazonaws.com":!0,"us-gov-west-1.compute.amazonaws.com":!0,"us-west-1.compute.amazonaws.com":!0,"us-west-2.compute.amazonaws.com":!0,"z-1.compute-1.amazonaws.com":!0,"z-2.compute-1.amazonaws.com":!0,"elasticbeanstalk.com":!0,"elb.amazonaws.com":!0,"s3.amazonaws.com":!0,"s3-us-west-2.amazonaws.com":!0,"s3-us-west-1.amazonaws.com":!0,"s3-eu-west-1.amazonaws.com":!0,"s3-ap-southeast-1.amazonaws.com":!0,"s3-ap-southeast-2.amazonaws.com":!0,"s3-ap-northeast-1.amazonaws.com":!0,"s3-sa-east-1.amazonaws.com":!0,"s3-us-gov-west-1.amazonaws.com":!0,"s3-fips-us-gov-west-1.amazonaws.com":!0,"s3-website-us-east-1.amazonaws.com":!0,"s3-website-us-west-2.amazonaws.com":!0,"s3-website-us-west-1.amazonaws.com":!0,"s3-website-eu-west-1.amazonaws.com":!0,"s3-website-ap-southeast-1.amazonaws.com":!0,"s3-website-ap-southeast-2.amazonaws.com":!0,"s3-website-ap-northeast-1.amazonaws.com":!0,"s3-website-sa-east-1.amazonaws.com":!0,"s3-website-us-gov-west-1.amazonaws.com":!0,"betainabox.com":!0,"ae.org":!0,"ar.com":!0,"br.com":!0,"cn.com":!0,"com.de":!0,"com.se":!0,"de.com":!0,"eu.com":!0,"gb.com":!0,"gb.net":!0,"hu.com":!0,"hu.net":!0,"jp.net":!0,"jpn.com":!0,"kr.com":!0,"mex.com":!0,"no.com":!0,"qc.com":!0,"ru.com":!0,"sa.com":!0,"se.com":!0,"se.net":!0,"uk.com":!0,"uk.net":!0,"us.com":!0,"uy.com":!0,"za.bz":!0,"za.com":!0,"africa.com":!0,"gr.com":!0,"in.net":!0,"us.org":!0,"co.com":!0,"c.la":!0,"cloudcontrolled.com":!0,"cloudcontrolapp.com":!0,"co.ca":!0,"co.nl":!0,"co.no":!0,"*.platform.sh":!0,"cupcake.is":!0,"dreamhosters.com":!0,"dyndns-at-home.com":!0,"dyndns-at-work.com":!0,"dyndns-blog.com":!0,"dyndns-free.com":!0,"dyndns-home.com":!0,"dyndns-ip.com":!0,"dyndns-mail.com":!0,"dyndns-office.com":!0,"dyndns-pics.com":!0,"dyndns-remote.com":!0,"dyndns-server.com":!0,"dyndns-web.com":!0,"dyndns-wiki.com":!0,"dyndns-work.com":!0,"dyndns.biz":!0,"dyndns.info":!0,"dyndns.org":!0,"dyndns.tv":!0,"at-band-camp.net":!0,"ath.cx":!0,"barrel-of-knowledge.info":!0,"barrell-of-knowledge.info":!0,"better-than.tv":!0,"blogdns.com":!0,"blogdns.net":!0,"blogdns.org":!0,"blogsite.org":!0,"boldlygoingnowhere.org":!0,"broke-it.net":!0,"buyshouses.net":!0,"cechire.com":!0,"dnsalias.com":!0,"dnsalias.net":!0,"dnsalias.org":!0,"dnsdojo.com":!0,"dnsdojo.net":!0,"dnsdojo.org":!0,"does-it.net":!0,"doesntexist.com":!0,"doesntexist.org":!0,"dontexist.com":!0,"dontexist.net":!0,"dontexist.org":!0,"doomdns.com":!0,"doomdns.org":!0,"dvrdns.org":!0,"dyn-o-saur.com":!0,"dynalias.com":!0,"dynalias.net":!0,"dynalias.org":!0,"dynathome.net":!0,"dyndns.ws":!0,"endofinternet.net":!0,"endofinternet.org":!0,"endoftheinternet.org":!0,"est-a-la-maison.com":!0,"est-a-la-masion.com":!0,"est-le-patron.com":!0,"est-mon-blogueur.com":!0,"for-better.biz":!0,"for-more.biz":!0,"for-our.info":!0,"for-some.biz":!0,"for-the.biz":!0,"forgot.her.name":!0,"forgot.his.name":!0,"from-ak.com":!0,"from-al.com":!0,"from-ar.com":!0,"from-az.net":!0,"from-ca.com":!0,"from-co.net":!0,"from-ct.com":!0,"from-dc.com":!0,"from-de.com":!0,"from-fl.com":!0,"from-ga.com":!0,"from-hi.com":!0,"from-ia.com":!0,"from-id.com":!0,"from-il.com":!0,"from-in.com":!0,"from-ks.com":!0,"from-ky.com":!0,"from-la.net":!0,"from-ma.com":!0,"from-md.com":!0,"from-me.org":!0,"from-mi.com":!0,"from-mn.com":!0,"from-mo.com":!0,"from-ms.com":!0,"from-mt.com":!0,"from-nc.com":!0,"from-nd.com":!0,"from-ne.com":!0,"from-nh.com":!0,"from-nj.com":!0,"from-nm.com":!0,"from-nv.com":!0,"from-ny.net":!0,"from-oh.com":!0,"from-ok.com":!0,"from-or.com":!0,"from-pa.com":!0,"from-pr.com":!0,"from-ri.com":!0,"from-sc.com":!0,"from-sd.com":!0,"from-tn.com":!0,"from-tx.com":!0,"from-ut.com":!0,"from-va.com":!0,"from-vt.com":!0,"from-wa.com":!0,"from-wi.com":!0,"from-wv.com":!0,"from-wy.com":!0,"ftpaccess.cc":!0,"fuettertdasnetz.de":!0,"game-host.org":!0,"game-server.cc":!0,"getmyip.com":!0,"gets-it.net":!0,"go.dyndns.org":!0,"gotdns.com":!0,"gotdns.org":!0,"groks-the.info":!0,"groks-this.info":!0,"ham-radio-op.net":!0,"here-for-more.info":!0,"hobby-site.com":!0,"hobby-site.org":!0,"home.dyndns.org":!0,"homedns.org":!0,"homeftp.net":!0,"homeftp.org":!0,"homeip.net":!0,"homelinux.com":!0,"homelinux.net":!0,"homelinux.org":!0,"homeunix.com":!0,"homeunix.net":!0,"homeunix.org":!0,"iamallama.com":!0,"in-the-band.net":!0,"is-a-anarchist.com":!0,"is-a-blogger.com":!0,"is-a-bookkeeper.com":!0,"is-a-bruinsfan.org":!0,"is-a-bulls-fan.com":!0,"is-a-candidate.org":!0,"is-a-caterer.com":!0,"is-a-celticsfan.org":!0,"is-a-chef.com":!0,"is-a-chef.net":!0,"is-a-chef.org":!0,"is-a-conservative.com":!0,"is-a-cpa.com":!0,"is-a-cubicle-slave.com":!0,"is-a-democrat.com":!0,"is-a-designer.com":!0,"is-a-doctor.com":!0,"is-a-financialadvisor.com":!0,"is-a-geek.com":!0,"is-a-geek.net":!0,"is-a-geek.org":!0,"is-a-green.com":!0,"is-a-guru.com":!0,"is-a-hard-worker.com":!0,"is-a-hunter.com":!0,"is-a-knight.org":!0,"is-a-landscaper.com":!0,"is-a-lawyer.com":!0,"is-a-liberal.com":!0,"is-a-libertarian.com":!0,"is-a-linux-user.org":!0,"is-a-llama.com":!0,"is-a-musician.com":!0,"is-a-nascarfan.com":!0,"is-a-nurse.com":!0,"is-a-painter.com":!0,"is-a-patsfan.org":!0,"is-a-personaltrainer.com":!0,"is-a-photographer.com":!0,"is-a-player.com":!0,"is-a-republican.com":!0,"is-a-rockstar.com":!0,"is-a-socialist.com":!0,"is-a-soxfan.org":!0,"is-a-student.com":!0,"is-a-teacher.com":!0,"is-a-techie.com":!0,"is-a-therapist.com":!0,"is-an-accountant.com":!0,"is-an-actor.com":!0,"is-an-actress.com":!0,"is-an-anarchist.com":!0,"is-an-artist.com":!0,"is-an-engineer.com":!0,"is-an-entertainer.com":!0,"is-by.us":!0,"is-certified.com":!0,"is-found.org":!0,"is-gone.com":!0,"is-into-anime.com":!0,"is-into-cars.com":!0,"is-into-cartoons.com":!0,"is-into-games.com":!0,"is-leet.com":!0,"is-lost.org":!0,"is-not-certified.com":!0,"is-saved.org":!0,"is-slick.com":!0,"is-uberleet.com":!0,"is-very-bad.org":!0,"is-very-evil.org":!0,"is-very-good.org":!0,"is-very-nice.org":!0,"is-very-sweet.org":!0,"is-with-theband.com":!0,"isa-geek.com":!0,"isa-geek.net":!0,"isa-geek.org":!0,"isa-hockeynut.com":!0,"issmarterthanyou.com":!0,"isteingeek.de":!0,"istmein.de":!0,"kicks-ass.net":!0,"kicks-ass.org":!0,"knowsitall.info":!0,"land-4-sale.us":!0,"lebtimnetz.de":!0,"leitungsen.de":!0,"likes-pie.com":!0,"likescandy.com":!0,"merseine.nu":!0,"mine.nu":!0,"misconfused.org":!0,"mypets.ws":!0,"myphotos.cc":!0,"neat-url.com":!0,"office-on-the.net":!0,"on-the-web.tv":!0,"podzone.net":!0,"podzone.org":!0,"readmyblog.org":!0,"saves-the-whales.com":!0,"scrapper-site.net":!0,"scrapping.cc":!0,"selfip.biz":!0,"selfip.com":!0,"selfip.info":!0,"selfip.net":!0,"selfip.org":!0,"sells-for-less.com":!0,"sells-for-u.com":!0,"sells-it.net":!0,"sellsyourhome.org":!0,"servebbs.com":!0,"servebbs.net":!0,"servebbs.org":!0,"serveftp.net":!0,"serveftp.org":!0,"servegame.org":!0,"shacknet.nu":!0,"simple-url.com":!0,"space-to-rent.com":!0,"stuff-4-sale.org":!0,"stuff-4-sale.us":!0,"teaches-yoga.com":!0,"thruhere.net":!0,"traeumtgerade.de":!0,"webhop.biz":!0,"webhop.info":!0,"webhop.net":!0,"webhop.org":!0,"worse-than.tv":!0,"writesthisblog.com":!0,"a.ssl.fastly.net":!0,"b.ssl.fastly.net":!0,"global.ssl.fastly.net":!0,"a.prod.fastly.net":!0,"global.prod.fastly.net":!0,"firebaseapp.com":!0,"flynnhub.com":!0,"service.gov.uk":!0,"github.io":!0,"githubusercontent.com":!0,"ro.com":!0,"appspot.com":!0,"blogspot.ae":!0,"blogspot.be":!0,"blogspot.bj":!0,"blogspot.ca":!0,"blogspot.cf":!0,"blogspot.ch":!0,"blogspot.co.at":!0,"blogspot.co.il":!0,"blogspot.co.nz":!0,"blogspot.co.uk":!0,"blogspot.com":!0,"blogspot.com.ar":!0,"blogspot.com.au":!0,"blogspot.com.br":!0,"blogspot.com.es":!0,"blogspot.com.tr":!0,"blogspot.cv":!0,"blogspot.cz":!0,"blogspot.de":!0,"blogspot.dk":!0,"blogspot.fi":!0,"blogspot.fr":!0,"blogspot.gr":!0,"blogspot.hk":!0,"blogspot.hu":!0,"blogspot.ie":!0,"blogspot.in":!0,"blogspot.it":!0,"blogspot.jp":!0,"blogspot.kr":!0,"blogspot.mr":!0,"blogspot.mx":!0,"blogspot.nl":!0,"blogspot.no":!0,"blogspot.pt":!0,"blogspot.re":!0,"blogspot.ro":!0,"blogspot.ru":!0,"blogspot.se":!0,"blogspot.sg":!0,"blogspot.sk":!0,"blogspot.td":!0,"blogspot.tw":!0,"codespot.com":!0,"googleapis.com":!0,"googlecode.com":!0,"pagespeedmobilizer.com":!0,"withgoogle.com":!0,"herokuapp.com":!0,"herokussl.com":!0,"iki.fi":!0,"biz.at":!0,"info.at":!0,"co.pl":!0,"azurewebsites.net":!0,"azure-mobile.net":!0,"cloudapp.net":!0,"nfshost.com":!0,"nyc.mn":!0,"nid.io":!0,"operaunite.com":!0,"outsystemscloud.com":!0,"art.pl":!0,"gliwice.pl":!0,"krakow.pl":!0,"poznan.pl":!0,"wroc.pl":!0,"zakopane.pl":!0,"priv.at":!0,"rhcloud.com":!0,"sinaapp.com":!0,"vipsinaapp.com":!0,"1kapp.com":!0,"gda.pl":!0,"gdansk.pl":!0,"gdynia.pl":!0,"med.pl":!0,"sopot.pl":!0,"hk.com":!0,"hk.org":!0,"ltd.hk":!0,"inc.hk":!0,"yolasite.com":!0,"za.net":!0,"za.org":!0})},{punycode:302}],417:[function(a,b,c){"use strict";function d(){}c.Store=d,d.prototype.synchronous=!1,d.prototype.findCookie=function(a,b,c,d){throw new Error("findCookie is not implemented")},d.prototype.findCookies=function(a,b,c){throw new Error("findCookies is not implemented")},d.prototype.putCookie=function(a,b){throw new Error("putCookie is not implemented")},d.prototype.updateCookie=function(a,b,c){throw new Error("updateCookie is not implemented")},d.prototype.removeCookie=function(a,b,c,d){throw new Error("removeCookie is not implemented")},d.prototype.removeCookies=function(a,b,c){throw new Error("removeCookies is not implemented")},d.prototype.getAllCookies=function(a){throw new Error("getAllCookies is not implemented (therefore jar cannot be serialized)")}},{}],418:[function(a,b,c){b.exports={author:{name:"Jeremy Stashewsky",email:"jstashewsky@salesforce.com"},license:"BSD-3-Clause",name:"tough-cookie",description:"RFC6265 Cookies and Cookie Jar for node.js",keywords:["HTTP","cookie","cookies","set-cookie","cookiejar","jar","RFC6265","RFC2965"],version:"2.0.0",homepage:"https://github.com/SalesforceEng/tough-cookie",repository:{type:"git",url:"git://github.com/SalesforceEng/tough-cookie.git"},bugs:{url:"https://github.com/SalesforceEng/tough-cookie/issues"},main:"./lib/cookie",scripts:{test:"vows test/*_test.js"},engines:{node:">=0.10.0"},devDependencies:{vows:"0.7.0",async:">=0.1.12"},gitHead:"a3af6104da7787c23bb98910109b0e0e8a10153c",_id:"tough-cookie@2.0.0",_shasum:"41ce08720b35cf90beb044dd2609fb19e928718f",_from:"tough-cookie@>=0.12.0",_npmVersion:"2.7.4",_nodeVersion:"0.12.2",_npmUser:{name:"jstash",email:"jstash@gmail.com"},dist:{shasum:"41ce08720b35cf90beb044dd2609fb19e928718f",tarball:"http://registry.npmjs.org/tough-cookie/-/tough-cookie-2.0.0.tgz"},maintainers:[{name:"jstash",email:"jeremy@goinstant.com"},{name:"goinstant",email:"services@goinstant.com"}],directories:{},_resolved:"https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.0.0.tgz",readme:"ERROR: No README data found!"}},{}],419:[function(a,b,c){(function(b,d){"use strict";function e(a){var b=new i(a);return b.request=m.request,b}function f(a){var b=new i(a);return b.request=m.request,b.createSocket=j,b}function g(a){var b=new i(a);return b.request=n.request,b}function h(a){var b=new i(a);return b.request=n.request,b.createSocket=j,b}function i(a){var b=this;b.options=a||{},b.proxyOptions=b.options.proxy||{},b.maxSockets=b.options.maxSockets||m.Agent.defaultMaxSockets,b.requests=[],b.sockets=[],b.on("free",function(a,c,d){for(var e=0,f=b.requests.length;f>e;++e){var g=b.requests[e];if(g.host===c&&g.port===d)return b.requests.splice(e,1),void g.request.onSocket(a)}a.destroy(),b.removeSocket(a)})}function j(a,b){var c=this;i.prototype.createSocket.call(c,a,function(d){var e=l.connect(0,k({},c.options,{servername:a.host,socket:d}));c.sockets[c.sockets.indexOf(d)]=e,b(e)})}function k(a){for(var b=1,c=arguments.length;c>b;++b){var d=arguments[b];if("object"==typeof d)for(var e=Object.keys(d),f=0,g=e.length;g>f;++f){var h=e[f];void 0!==d[h]&&(a[h]=d[h])}}return a}var l=(a("net"),a("tls")),m=a("http"),n=a("https"),o=a("events"),p=a("assert"),q=a("util");c.httpOverHttp=e,c.httpsOverHttp=f,c.httpOverHttps=g,c.httpsOverHttps=h,q.inherits(i,o.EventEmitter),i.prototype.addRequest=function(a,b){var c=this;return"string"==typeof b&&(b={host:b,port:arguments[2],path:arguments[3]}),c.sockets.length>=this.maxSockets?void c.requests.push({host:b.host,port:b.port,request:a}):void c.createConnection({host:b.host,port:b.port,request:a})},i.prototype.createConnection=function(a){var b=this;b.createSocket(a,function(c){function d(){b.emit("free",c,a.host,a.port)}function e(a){b.removeSocket(c),c.removeListener("free",d),c.removeListener("close",e),c.removeListener("agentRemove",e)}c.on("free",d),c.on("close",e),c.on("agentRemove",e),a.request.onSocket(c)})},i.prototype.createSocket=function(a,c){function e(a){a.upgrade=!0}function f(a,c,d){b.nextTick(function(){g(a,c,d)})}function g(b,d,e){if(m.removeAllListeners(),d.removeAllListeners(),200===b.statusCode)p.equal(e.length,0),r("tunneling connection has established"),i.sockets[i.sockets.indexOf(j)]=d,c(d);else{r("tunneling socket could not be established, statusCode=%d",b.statusCode);var f=new Error("tunneling socket could not be established, statusCode="+b.statusCode);f.code="ECONNRESET",a.request.emit("error",f),i.removeSocket(j)}}function h(b){m.removeAllListeners(),r("tunneling socket could not be established, cause=%s\n",b.message,b.stack);var c=new Error("tunneling socket could not be established, cause="+b.message);c.code="ECONNRESET",a.request.emit("error",c),i.removeSocket(j)}var i=this,j={};i.sockets.push(j);var l=k({},i.proxyOptions,{method:"CONNECT",path:a.host+":"+a.port,agent:!1});l.proxyAuth&&(l.headers=l.headers||{},l.headers["Proxy-Authorization"]="Basic "+new d(l.proxyAuth).toString("base64")),r("making CONNECT request");var m=i.request(l);m.useChunkedEncodingByDefault=!1,m.once("response",e),m.once("upgrade",f),m.once("connect",g),m.once("error",h),m.end()},i.prototype.removeSocket=function(a){var b=this.sockets.indexOf(a);if(-1!==b){this.sockets.splice(b,1);var c=this.requests.shift();c&&this.createConnection(c)}};var r;r=b.env.NODE_DEBUG&&/\btunnel\b/.test(b.env.NODE_DEBUG)?function(){var a=Array.prototype.slice.call(arguments);"string"==typeof a[0]?a[0]="TUNNEL: "+a[0]:a.unshift("TUNNEL:"),console.error.apply(console,a)}:function(){},c.debug=r}).call(this,a("_process"),a("buffer").Buffer)},{_process:301,assert:130,buffer:145,events:292,http:293,https:297,net:129,tls:129,util:321}],420:[function(a,b,c){(function(c,d){"use strict";function e(a,b){var c={};for(var d in b){var e=-1===a.indexOf(d);e&&(c[d]=b[d])}return c}function f(a,b){var c={};for(var d in b){var e=!(-1===a.indexOf(d)),f="function"==typeof b[d];e&&f||(c[d]=b[d])}return c}function g(a){var b=this;b.res?b.res.request?b.res.request.emit("error",a):b.res.emit("error",a):b._httpMessage.emit("error",a)}function h(){var a=this;return{uri:a.uri,method:a.method,headers:a.headers}}function i(){var a=this;return{statusCode:a.statusCode,body:a.body,headers:a.headers,request:h.call(a.request)}}function j(a){var b=this;a.har&&(b._har=new E(b),a=b._har.options(a)),p.Stream.call(b);var c=Object.keys(j.prototype),d=e(c,a); -p.Stream.call(b),o._extend(b,d),a=f(c,a),b.readable=!0,b.writable=!0,a.method&&(b.explicitMethod=!0),b._qs=new D(b),b._auth=new F(b),b._oauth=new G(b),b._multipart=new H(b),b._redirect=new I(b),b._tunnel=new J(b),b.init(a)}function k(){j.debug&&console.error("REQUEST %s",o.format.apply(o,arguments))}var l=a("http"),m=a("https"),n=a("url"),o=a("util"),p=a("stream"),q=a("zlib"),r=a("bl"),s=a("hawk"),t=a("aws-sign2"),u=a("http-signature"),v=a("mime-types"),w=a("stringstream"),x=a("caseless"),y=a("forever-agent"),z=a("form-data"),A=a("./lib/helpers"),B=a("./lib/cookies"),C=a("./lib/getProxyFromURI"),D=a("./lib/querystring").Querystring,E=a("./lib/har").Har,F=a("./lib/auth").Auth,G=a("./lib/oauth").OAuth,H=a("./lib/multipart").Multipart,I=a("./lib/redirect").Redirect,J=a("./lib/tunnel").Tunnel,K=A.safeStringify,L=A.isReadStream,M=A.toBase64,N=A.defer,O=A.copy,P=A.version,Q=B.jar(),R={};o.inherits(j,p.Stream),j.debug=c.env.NODE_DEBUG&&/\brequest\b/.test(c.env.NODE_DEBUG),j.prototype.debug=k,j.prototype.init=function(a){function b(){if(!c.hasHeader("content-length")){var a;a="string"==typeof c.body?d.byteLength(c.body):Array.isArray(c.body)?c.body.reduce(function(a,b){return a+b.length},0):c.body.length,a?c.setHeader("content-length",a):c.emit("error",new Error("Argument error, options.body."))}}var c=this;a||(a={}),c.headers=c.headers?O(c.headers):{};for(var e in c.headers)"undefined"==typeof c.headers[e]&&delete c.headers[e];if(x.httpify(c,c.headers),c.method||(c.method=a.method||"GET"),c.localAddress||(c.localAddress=a.localAddress),c._qs.init(a),k(a),c.pool||c.pool===!1||(c.pool=R),c.dests=c.dests||[],c.__isRequestRequest=!0,!c._callback&&c.callback&&(c._callback=c.callback,c.callback=function(){c._callbackCalled||(c._callbackCalled=!0,c._callback.apply(c,arguments))},c.on("error",c.callback.bind()),c.on("complete",c.callback.bind(c,null))),!c.uri&&c.url&&(c.uri=c.url,delete c.url),c.baseUrl){if("string"!=typeof c.baseUrl)return c.emit("error",new Error("options.baseUrl must be a string"));if("string"!=typeof c.uri)return c.emit("error",new Error("options.uri must be a string when using options.baseUrl"));if(0===c.uri.indexOf("//")||-1!==c.uri.indexOf("://"))return c.emit("error",new Error("options.uri must be a path when using options.baseUrl"));var f=c.baseUrl.lastIndexOf("/")===c.baseUrl.length-1,g=0===c.uri.indexOf("/");f&&g?c.uri=c.baseUrl+c.uri.slice(1):f||g?c.uri=c.baseUrl+c.uri:""===c.uri?c.uri=c.baseUrl:c.uri=c.baseUrl+"/"+c.uri,delete c.baseUrl}if(!c.uri)return c.emit("error",new Error("options.uri is a required argument"));if("string"==typeof c.uri&&(c.uri=n.parse(c.uri)),"unix:"===c.uri.protocol)return c.emit("error",new Error("`unix://` URL scheme is no longer supported. Please use the format `http://unix:SOCKET:PATH`"));if("unix"===c.uri.host){var h=c.uri.path.split(":"),i=h[0],j=h[1];c.socketPath=i,c.uri.pathname=j,c.uri.path=j,c.uri.host=i,c.uri.hostname=i,c.uri.isUnix=!0}if(c.strictSSL===!1&&(c.rejectUnauthorized=!1),c.uri.pathname||(c.uri.pathname="/"),!(c.uri.host||c.uri.hostname&&c.uri.port||c.uri.isUnix)){var o=n.format(c.uri),p='Invalid URI "'+o+'"';return 0===Object.keys(a).length&&(p+=". This can be caused by a crappy redirection."),c.emit("error",new Error(p))}if(c.hasOwnProperty("proxy")||(c.proxy=C(c.uri)),c.tunnel=c._tunnel.isEnabled(a),c.proxy&&c._tunnel.setup(a),c._redirect.onRequest(a),c.setHost=!1,!c.hasHeader("host")){var q=c.originalHostHeaderName||"host";c.setHeader(q,c.uri.hostname),c.uri.port&&(80===c.uri.port&&"http:"===c.uri.protocol||443===c.uri.port&&"https:"===c.uri.protocol||c.setHeader(q,c.getHeader("host")+(":"+c.uri.port))),c.setHost=!0}if(c.jar(c._jar||a.jar),c.uri.port||("http:"===c.uri.protocol?c.uri.port=80:"https:"===c.uri.protocol&&(c.uri.port=443)),c.proxy&&!c.tunnel?(c.port=c.proxy.port,c.host=c.proxy.hostname):(c.port=c.uri.port,c.host=c.uri.hostname),a.form&&c.form(a.form),a.formData){var r=a.formData,s=c.form(),t=function(a,b){b.hasOwnProperty("value")&&b.hasOwnProperty("options")?s.append(a,b.value,b.options):s.append(a,b)};for(var u in r)if(r.hasOwnProperty(u)){var w=r[u];if(w instanceof Array)for(var z=0;z0&&"\ufeff"===o[0][0]&&(o[0]=o[0].substring(1)),a.body=o.join("")),b._json)try{a.body=JSON.parse(a.body,b._jsonReviver)}catch(c){k("invalid JSON received",b.uri.href)}k("emitting complete",b.uri.href),"undefined"!=typeof a.body||b._json||(a.body=null===b.encoding?new d(0):""),b.emit("complete",a,a.body)})}else b.on("end",function(){return b._aborted?void k("aborted",b.uri.href):void b.emit("complete",a)});k("finish init function",b.uri.href)}},j.prototype.abort=function(){var a=this;a._aborted=!0,a.req?a.req.abort():a.response&&a.response.abort(),a.emit("abort")},j.prototype.pipeDest=function(a){var b=this,c=b.response;if(a.headers&&!a.headersSent){if(c.caseless.has("content-type")){var d=c.caseless.has("content-type");a.setHeader?a.setHeader(d,c.headers[d]):a.headers[d]=c.headers[d]}if(c.caseless.has("content-length")){var e=c.caseless.has("content-length");a.setHeader?a.setHeader(e,c.headers[e]):a.headers[e]=c.headers[e]}}if(a.setHeader&&!a.headersSent){for(var f in c.headers)b.gzip&&"content-encoding"===f||a.setHeader(f,c.headers[f]);a.statusCode=c.statusCode}b.pipefilter&&b.pipefilter(c,a)},j.prototype.qs=function(a,b){var c,d=this;c=!b&&d.uri.query?d._qs.parse(d.uri.query):{};for(var e in a)c[e]=a[e];if(""===d._qs.stringify(c))return d;var f=d._qs.stringify(c);return d.uri=n.parse(d.uri.href.split("?")[0]+"?"+f),d.url=d.uri,d.path=d.uri.path,d},j.prototype.form=function(a){var b=this;return a?(/^application\/x-www-form-urlencoded\b/.test(b.getHeader("content-type"))||b.setHeader("content-type","application/x-www-form-urlencoded"),b.body="string"==typeof a?b._qs.rfc3986(a.toString("utf8")):b._qs.stringify(a).toString("utf8"),b):(b._form=new z,b._form.on("error",function(a){a.message="form-data: "+a.message,b.emit("error",a),b.abort()}),b._form)},j.prototype.multipart=function(a){var b=this;return b._multipart.onRequest(a),b._multipart.chunked||(b.body=b._multipart.body),b},j.prototype.json=function(a){var b=this;return b.hasHeader("accept")||b.setHeader("accept","application/json"),b._json=!0,"boolean"==typeof a?void 0!==b.body&&(/^application\/x-www-form-urlencoded\b/.test(b.getHeader("content-type"))?b.body=b._qs.rfc3986(b.body):b.body=K(b.body),b.hasHeader("content-type")||b.setHeader("content-type","application/json")):(b.body=K(a),b.hasHeader("content-type")||b.setHeader("content-type","application/json")),"function"==typeof b.jsonReviver&&(b._jsonReviver=b.jsonReviver),b},j.prototype.getHeader=function(a,b){var c,d,e,f=this;return b||(b=f.headers),Object.keys(b).forEach(function(f){f.length===a.length&&(d=new RegExp(a,"i"),e=f.match(d),e&&(c=b[f]))}),c},j.prototype.auth=function(a,b,c,d){var e=this;return e._auth.onRequest(a,b,c,d),e},j.prototype.aws=function(a,b){var c=this;if(!b)return c._aws=a,c;var d=new Date;c.setHeader("date",d.toUTCString());var e={key:a.key,secret:a.secret,verb:c.method.toUpperCase(),date:d,contentType:c.getHeader("content-type")||"",md5:c.getHeader("content-md5")||"",amazonHeaders:t.canonicalizeHeaders(c.headers)},f=c.uri.path;return a.bucket&&f?e.resource="/"+a.bucket+f:a.bucket&&!f?e.resource="/"+a.bucket:!a.bucket&&f?e.resource=f:a.bucket||f||(e.resource="/"),e.resource=t.canonicalizeResource(e.resource),c.setHeader("authorization",t.authorization(e)),c},j.prototype.httpSignature=function(a){var b=this;return u.signRequest({getHeader:function(a){return b.getHeader(a,b.headers)},setHeader:function(a,c){b.setHeader(a,c)},method:b.method,path:b.path},a),k("httpSignature authorization",b.getHeader("authorization")),b},j.prototype.hawk=function(a){var b=this;b.setHeader("Authorization",s.client.header(b.uri,b.method,a).field)},j.prototype.oauth=function(a){var b=this;return b._oauth.onRequest(a),b},j.prototype.jar=function(a){var b,c=this;if(0===c._redirect.redirectsFollowed&&(c.originalCookieHeader=c.getHeader("cookie")),a){var d=a&&a.getCookieString?a:Q,e=c.uri.href;d&&(b=d.getCookieString(e))}else b=!1,c._disableCookies=!0;return b&&b.length&&(c.originalCookieHeader?c.setHeader("cookie",c.originalCookieHeader+"; "+b):c.setHeader("cookie",b)),c._jar=a,c},j.prototype.pipe=function(a,b){var c=this;if(!c.response)return c.dests.push(a),p.Stream.prototype.pipe.call(c,a,b),a;if(c._destdata)c.emit("error",new Error("You cannot pipe after data has been emitted from the response."));else{if(!c._ended)return p.Stream.prototype.pipe.call(c,a,b),c.pipeDest(a),a;c.emit("error",new Error("You cannot pipe after the response has been ended."))}},j.prototype.write=function(){var a=this;return a._started||a.start(),a.req.write.apply(a.req,arguments)},j.prototype.end=function(a){var b=this;a&&b.write(a),b._started||b.start(),b.req.end()},j.prototype.pause=function(){var a=this;a.responseContent?a.responseContent.pause.apply(a.responseContent,arguments):a._paused=!0},j.prototype.resume=function(){var a=this;a.responseContent?a.responseContent.resume.apply(a.responseContent,arguments):a._paused=!1},j.prototype.destroy=function(){var a=this;a._ended?a.response&&a.response.destroy():a.end()},j.defaultProxyHeaderWhiteList=J.defaultProxyHeaderWhiteList.slice(),j.defaultProxyHeaderExclusiveList=J.defaultProxyHeaderExclusiveList.slice(),j.prototype.toJSON=h,b.exports=j}).call(this,a("_process"),a("buffer").Buffer)},{"./lib/auth":331,"./lib/cookies":332,"./lib/getProxyFromURI":333,"./lib/har":334,"./lib/helpers":335,"./lib/multipart":336,"./lib/oauth":337,"./lib/querystring":338,"./lib/redirect":339,"./lib/tunnel":340,_process:301,"aws-sign2":341,bl:342,buffer:145,caseless:353,"forever-agent":357,"form-data":358,hawk:384,http:293,"http-signature":385,https:297,"mime-types":402,stream:317,stringstream:411,url:319,util:321,zlib:144}],421:[function(a,b,c){"use strict";function d(a){throw a}function e(a,b,c){4!==b.length&&d(new n.exception.invalid("invalid aes block size"));var e=a.b[c],f=b[0]^e[0],g=b[c?3:1]^e[1],h=b[2]^e[2];b=b[c?1:3]^e[3];var i,j,k,l,m=e.length/4-2,o=4,p=[0,0,0,0];i=a.k[c],a=i[0];var q=i[1],r=i[2],s=i[3],t=i[4];for(l=0;m>l;l++)i=a[f>>>24]^q[g>>16&255]^r[h>>8&255]^s[255&b]^e[o],j=a[g>>>24]^q[h>>16&255]^r[b>>8&255]^s[255&f]^e[o+1],k=a[h>>>24]^q[b>>16&255]^r[f>>8&255]^s[255&g]^e[o+2],b=a[b>>>24]^q[f>>16&255]^r[g>>8&255]^s[255&h]^e[o+3],o+=4,f=i,g=j,h=k;for(l=0;4>l;l++)p[c?3&-l:l]=t[f>>>24]<<24^t[g>>16&255]<<16^t[h>>8&255]<<8^t[255&b]^e[o++],i=f,f=g,g=h,h=b,b=i;return p}function f(a,b){var c,d,e,f=b.slice(0),g=a.r,h=a.b,i=g[0],j=g[1],k=g[2],l=g[3],m=g[4],n=g[5],o=g[6],p=g[7];for(c=0;64>c;c++)16>c?d=f[c]:(d=f[c+1&15],e=f[c+14&15],d=f[15&c]=(d>>>7^d>>>18^d>>>3^d<<25^d<<14)+(e>>>17^e>>>19^e>>>10^e<<15^e<<13)+f[15&c]+f[c+9&15]|0),d=d+p+(m>>>6^m>>>11^m>>>25^m<<26^m<<21^m<<7)+(o^m&(n^o))+h[c],p=o,o=n,n=m,m=l+d|0,l=k,k=j,j=i,i=d+(j&k^l&(j^k))+(j>>>2^j>>>13^j>>>22^j<<30^j<<19^j<<10)|0;g[0]=g[0]+i|0,g[1]=g[1]+j|0,g[2]=g[2]+k|0,g[3]=g[3]+l|0,g[4]=g[4]+m|0,g[5]=g[5]+n|0,g[6]=g[6]+o|0,g[7]=g[7]+p|0}function g(a,b){var c,d=n.random.w[a],e=[];for(c in d)d.hasOwnProperty(c)&&e.push(d[c]);for(c=0;cb&&(a.f[b]=a.f[b]+1|0,!a.f[b]);b++);return a.A.encrypt(a.f)}function k(a,b){return function(){b.apply(a,arguments)}}var l=void 0,m=!1,n={cipher:{},hash:{},keyexchange:{},mode:{},misc:{},codec:{},exception:{corrupt:function(a){this.toString=function(){return"CORRUPT: "+this.message},this.message=a},invalid:function(a){this.toString=function(){return"INVALID: "+this.message},this.message=a},bug:function(a){this.toString=function(){return"BUG: "+this.message},this.message=a},notReady:function(a){this.toString=function(){return"NOT READY: "+this.message},this.message=a}}};"undefined"!=typeof b&&b.exports&&(b.exports=n),"function"==typeof define&&define([],function(){return n}),n.cipher.aes=function(a){this.k[0][0][0]||this.D();var b,c,e,f,g=this.k[0][4],h=this.k[1];b=a.length;var i=1;for(4!==b&&6!==b&&8!==b&&d(new n.exception.invalid("invalid aes key size")),this.b=[e=a.slice(0),f=[]],a=b;4*b+28>a;a++)c=e[a-1],(0===a%b||8===b&&4===a%b)&&(c=g[c>>>24]<<24^g[c>>16&255]<<16^g[c>>8&255]<<8^g[255&c],0===a%b&&(c=c<<8^c>>>24^i<<24,i=i<<1^283*(i>>7))),e[a]=e[a-b]^c;for(b=0;a;b++,a--)c=e[3&b?a:a-4],f[b]=4>=a||4>b?c:h[0][g[c>>>24]]^h[1][g[c>>16&255]]^h[2][g[c>>8&255]]^h[3][g[255&c]]},n.cipher.aes.prototype={encrypt:function(a){return e(this,a,0)},decrypt:function(a){return e(this,a,1)},k:[[[],[],[],[],[]],[[],[],[],[],[]]],D:function(){var a,b,c,d,e,f,g,h=this.k[0],i=this.k[1],j=h[4],k=i[4],l=[],m=[];for(a=0;256>a;a++)m[(l[a]=a<<1^283*(a>>7))^a]=a;for(b=c=0;!j[b];b^=d||1,c=m[c]||1)for(f=c^c<<1^c<<2^c<<3^c<<4,f=f>>8^255&f^99,j[b]=f,k[f]=b,e=l[a=l[d=l[b]]],g=16843009*e^65537*a^257*d^16843008*b,e=257*l[f]^16843008*f,a=0;4>a;a++)h[a][b]=e=e<<24^e>>>8,i[a][f]=g=g<<24^g>>>8;for(a=0;5>a;a++)h[a]=h[a].slice(0),i[a]=i[a].slice(0)}},n.bitArray={bitSlice:function(a,b,c){return a=n.bitArray.P(a.slice(b/32),32-(31&b)).slice(1),c===l?a:n.bitArray.clamp(a,c-b)},extract:function(a,b,c){var d=Math.floor(-b-c&31);return(-32&(b+c-1^b)?a[b/32|0]<<32-d^a[b/32+1|0]>>>d:a[b/32|0]>>>d)&(1<0&&b&&(a[c-1]=n.bitArray.partial(b,a[c-1]&2147483648>>b-1,1)),a},partial:function(a,b,c){return 32===a?b:(c?0|b:b<<32-a)+1099511627776*a},getPartial:function(a){return Math.round(a/1099511627776)||32},equal:function(a,b){if(n.bitArray.bitLength(a)!==n.bitArray.bitLength(b))return m;var c,d=0;for(c=0;c=32;b-=32)d.push(c),c=0;if(0===b)return d.concat(a);for(e=0;e>>b),c=a[e]<<32-b;return e=a.length?a[a.length-1]:0,a=n.bitArray.getPartial(e),d.push(n.bitArray.partial(b+a&31,b+a>32?c:d.pop(),1)),d},l:function(a,b){return[a[0]^b[0],a[1]^b[1],a[2]^b[2],a[3]^b[3]]},byteswapM:function(a){var b,c;for(b=0;b>>24|c>>>8&65280|(65280&c)<<8|c<<24;return a}},n.codec.utf8String={fromBits:function(a){var b,c,d="",e=n.bitArray.bitLength(a);for(b=0;e/8>b;b++)0===(3&b)&&(c=a[b/4]),d+=String.fromCharCode(c>>>24),c<<=8;return decodeURIComponent(escape(d))},toBits:function(a){a=unescape(encodeURIComponent(a));var b,c=[],d=0;for(b=0;b>>e)>>>26),6>e?(g=a[c]<<6-e,e+=26,c++):(g<<=6,e-=6);for(;3&d.length&&!b;)d+="=";return d},toBits:function(a,b){a=a.replace(/\s|=/g,"");var c,e,f=[],g=0,h=n.codec.base64.J,i=0;for(b&&(h=h.substr(0,62)+"-_"),c=0;ce&&d(new n.exception.invalid("this isn't base64!")),g>26?(g-=26,f.push(i^e>>>g),i=e<<32-g):(g+=6,i^=e<<32-g);return 56&g&&f.push(n.bitArray.partial(56&g,i,1)),f}},n.codec.base64url={fromBits:function(a){return n.codec.base64.fromBits(a,1,1)},toBits:function(a){return n.codec.base64.toBits(a,1)}},n.hash.sha256=function(a){this.b[0]||this.D(),a?(this.r=a.r.slice(0),this.o=a.o.slice(0),this.h=a.h):this.reset()},n.hash.sha256.hash=function(a){return(new n.hash.sha256).update(a).finalize()},n.hash.sha256.prototype={blockSize:512,reset:function(){return this.r=this.N.slice(0),this.o=[],this.h=0,this},update:function(a){"string"==typeof a&&(a=n.codec.utf8String.toBits(a));var b,c=this.o=n.bitArray.concat(this.o,a);for(b=this.h,a=this.h=b+n.bitArray.bitLength(a),b=512+b&-512;a>=b;b+=512)f(this,c.splice(0,16));return this},finalize:function(){var a,b=this.o,c=this.r,b=n.bitArray.concat(b,[n.bitArray.partial(1,1)]);for(a=b.length+2;15&a;a++)b.push(0);for(b.push(Math.floor(this.h/4294967296)),b.push(0|this.h);b.length;)f(this,b.splice(0,16));return this.reset(),c},N:[],b:[],D:function(){function a(a){return 4294967296*(a-Math.floor(a))|0}var b,c=0,d=2;a:for(;64>c;d++){for(b=2;d>=b*b;b++)if(0===d%b)continue a;8>c&&(this.N[c]=a(Math.pow(d,.5))),this.b[c]=a(Math.pow(d,1/3)),c++}}},n.mode.ccm={name:"ccm",encrypt:function(a,b,c,e,f){var g,h=b.slice(0),i=n.bitArray,j=i.bitLength(c)/8,k=i.bitLength(h)/8;for(f=f||64,e=e||[],7>j&&d(new n.exception.invalid("ccm: iv must be at least 7 bytes")),g=2;4>g&&k>>>8*g;g++);return 15-j>g&&(g=15-j),c=i.clamp(c,8*(15-g)),b=n.mode.ccm.L(a,b,c,e,f,g),h=n.mode.ccm.p(a,h,c,b,f,g),i.concat(h.data,h.tag)},decrypt:function(a,b,c,e,f){f=f||64,e=e||[];var g=n.bitArray,h=g.bitLength(c)/8,i=g.bitLength(b),j=g.clamp(b,i-f),k=g.bitSlice(b,i-f),i=(i-f)/8;for(7>h&&d(new n.exception.invalid("ccm: iv must be at least 7 bytes")),b=2;4>b&&i>>>8*b;b++);return 15-h>b&&(b=15-h),c=g.clamp(c,8*(15-b)),j=n.mode.ccm.p(a,j,c,k,f,b),a=n.mode.ccm.L(a,j.data,c,e,f,b),g.equal(j.tag,a)||d(new n.exception.corrupt("ccm: tag doesn't match")),j.data},L:function(a,b,c,e,f,g){var h=[],i=n.bitArray,j=i.l;if(f/=8,(f%2||4>f||f>16)&&d(new n.exception.invalid("ccm: invalid tag length")),(4294967295=c?h=[i.partial(16,c)]:4294967295>=c&&(h=i.concat([i.partial(16,65534)],[c])),h=i.concat(h,e),e=0;eg;g+=4)c[3]++,e=a.encrypt(c),b[g]^=e[0],b[g+1]^=e[1],b[g+2]^=e[2],b[g+3]^=e[3];return{tag:d,data:h.clamp(b,j)}}},n.mode.ocb2={name:"ocb2",encrypt:function(a,b,c,e,f,g){128!==n.bitArray.bitLength(c)&&d(new n.exception.invalid("ocb iv must be 128 bits"));var h,i=n.mode.ocb2.H,j=n.bitArray,k=j.l,l=[0,0,0,0];c=i(a.encrypt(c));var m,o=[];for(e=e||[],f=f||64,h=0;h+4c+4;c+=4)h=l(o,a.decrypt(l(o,b.slice(c,c+4)))),m=l(m,h),q=q.concat(h),o=j(o);return i=p-32*c,h=a.encrypt(l(o,[0,0,0,i])),h=l(h,k.clamp(b.slice(c),i).concat([0,0,0])),m=l(m,h),m=a.encrypt(l(m,l(o,j(o)))),e.length&&(m=l(m,g?e:n.mode.ocb2.pmac(a,e))),k.equal(k.clamp(m,f),k.bitSlice(b,p))||d(new n.exception.corrupt("ocb: tag doesn't match")),q.concat(k.clamp(h,i))},pmac:function(a,b){var c,d=n.mode.ocb2.H,e=n.bitArray,f=e.l,g=[0,0,0,0],h=a.encrypt([0,0,0,0]),h=f(h,d(d(h)));for(c=0;c+4e.bitLength(c)&&(h=f(h,d(h)),c=e.concat(c,[-2147483648,0,0,0])),g=f(g,c),a.encrypt(f(d(f(h,d(h))),g))},H:function(a){return[a[0]<<1^a[1]>>>31,a[1]<<1^a[2]>>>31,a[2]<<1^a[3]>>>31,a[3]<<1^135*(a[0]>>>31)]}},n.mode.gcm={name:"gcm",encrypt:function(a,b,c,d,e){var f=b.slice(0);return b=n.bitArray,d=d||[],a=n.mode.gcm.p(!0,a,f,d,c,e||128),b.concat(a.data,a.tag)},decrypt:function(a,b,c,e,f){var g=b.slice(0),h=n.bitArray,i=h.bitLength(g);return f=f||128,e=e||[],i>=f?(b=h.bitSlice(g,i-f),g=h.bitSlice(g,0,i-f)):(b=g,g=[]),a=n.mode.gcm.p(m,a,g,e,c,f),h.equal(a.tag,b)||d(new n.exception.corrupt("gcm: tag doesn't match")),a.data},Z:function(a,b){var c,d,e,f,g,h=n.bitArray.l;for(e=[0,0,0,0],f=b.slice(0),c=0;128>c;c++){for((d=0!==(a[Math.floor(c/32)]&1<<31-c%32))&&(e=h(e,f)),g=0!==(1&f[3]),d=3;d>0;d--)f[d]=f[d]>>>1|(1&f[d-1])<<31;f[0]>>>=1,g&&(f[0]^=-520093696)}return e},g:function(a,b,c){var d,e=c.length;for(b=b.slice(0),d=0;e>d;d+=4)b[0]^=4294967295&c[d],b[1]^=4294967295&c[d+1],b[2]^=4294967295&c[d+2],b[3]^=4294967295&c[d+3],b=n.mode.gcm.Z(b,a);return b},p:function(a,b,c,d,e,f){var g,h,i,j,k,l,m,o,p=n.bitArray;for(l=c.length,m=p.bitLength(c),o=p.bitLength(d),h=p.bitLength(e),g=b.encrypt([0,0,0,0]),96===h?(e=e.slice(0),e=p.concat(e,[1])):(e=n.mode.gcm.g(g,[0,0,0,0],e),e=n.mode.gcm.g(g,e,[0,0,Math.floor(h/4294967296),4294967295&h])),h=n.mode.gcm.g(g,[0,0,0,0],d),k=e.slice(0),d=h.slice(0),a||(d=n.mode.gcm.g(g,h,c)),j=0;l>j;j+=4)k[3]++,i=b.encrypt(k),c[j]^=i[0],c[j+1]^=i[1],c[j+2]^=i[2],c[j+3]^=i[3];return c=p.clamp(c,m),a&&(d=n.mode.gcm.g(g,h,c)),a=[Math.floor(o/4294967296),4294967295&o,Math.floor(m/4294967296),4294967295&m],d=n.mode.gcm.g(g,d,a),i=b.encrypt(e),d[0]^=i[0],d[1]^=i[1],d[2]^=i[2],d[3]^=i[3],{tag:p.bitSlice(d,0,f),data:c}}},n.misc.hmac=function(a,b){this.M=b=b||n.hash.sha256;var c,d=[[],[]],e=b.prototype.blockSize/32;for(this.n=[new b,new b],a.length>e&&(a=b.hash(a)),c=0;e>c;c++)d[0][c]=909522486^a[c],d[1][c]=1549556828^a[c];this.n[0].update(d[0]),this.n[1].update(d[1]),this.G=new b(this.n[0])},n.misc.hmac.prototype.encrypt=n.misc.hmac.prototype.mac=function(a){return this.Q&&d(new n.exception.invalid("encrypt on already updated hmac called!")),this.update(a),this.digest(a)},n.misc.hmac.prototype.reset=function(){this.G=new this.M(this.n[0]),this.Q=m},n.misc.hmac.prototype.update=function(a){this.Q=!0,this.G.update(a)},n.misc.hmac.prototype.digest=function(){var a=this.G.finalize(),a=new this.M(this.n[1]).update(a).finalize();return this.reset(),a},n.misc.pbkdf2=function(a,b,c,e,f){c=c||1e3,(0>e||0>c)&&d(n.exception.invalid("invalid params to pbkdf2")),"string"==typeof a&&(a=n.codec.utf8String.toBits(a)),"string"==typeof b&&(b=n.codec.utf8String.toBits(b)),f=f||n.misc.hmac,a=new f(a);var g,h,i,j,k=[],l=n.bitArray;for(j=1;32*k.length<(e||1);j++){for(f=g=a.encrypt(l.concat(b,[j])),h=1;c>h;h++)for(g=a.encrypt(g),i=0;ig;g++)f.push(4294967296*Math.random()|0);for(g=0;g=1<this.j&&(this.j=h),this.F++,this.b=n.hash.sha256.hash(this.b.concat(f)),this.A=new n.cipher.aes(this.b),c=0;4>c&&(this.f[c]=this.f[c]+1|0,!this.f[c]);c++);}for(c=0;a>c;c+=4)0===(c+1)%this.S&&i(this),f=j(this),e.push(f[0],f[1],f[2],f[3]);return i(this),e.slice(0,a)},setDefaultParanoia:function(a,b){0===a&&"Setting paranoia=0 will ruin your security; use it only for testing"!==b&&d("Setting paranoia=0 will ruin your security; use it only for testing"),this.B=a},addEntropy:function(a,b,c){c=c||"user";var e,f,h=(new Date).valueOf(),i=this.s[c],j=this.isReady(),k=0;switch(e=this.K[c],e===l&&(e=this.K[c]=this.W++),i===l&&(i=this.s[c]=0),this.s[c]=(this.s[c]+1)%this.c.length,typeof a){case"number":b===l&&(b=1),this.c[i].update([e,this.C++,1,b,h,1,0|a]);break;case"object":if(c=Object.prototype.toString.call(a),"[object Uint32Array]"===c){for(f=[],c=0;c0;)b++,f>>>=1;this.c[i].update([e,this.C++,2,b,h,a.length].concat(a))}break;case"string":b===l&&(b=a.length),this.c[i].update([e,this.C++,3,b,h,a.length]),this.c[i].update(a);break;default:k=1}k&&d(new n.exception.bug("random: addEntropy only supports number, array of numbers or string")),this.i[i]+=b,this.d+=b,j===this.m&&(this.isReady()!==this.m&&g("seeded",Math.max(this.j,this.d)),g("progress",this.getProgress()))},isReady:function(a){return a=this.I[a!==l?a:this.B],this.j&&this.j>=a?this.i[0]>this.R&&(new Date).valueOf()>this.O?this.u|this.t:this.t:this.d>=a?this.u|this.m:this.m},getProgress:function(a){return a=this.I[a?a:this.B],this.j>=a?1:this.d>a?1:this.d/a},startCollectors:function(){this.q||(this.a={loadTimeCollector:k(this,this.aa),mouseCollector:k(this,this.ba),keyboardCollector:k(this,this.$),accelerometerCollector:k(this,this.U),touchCollector:k(this,this.da)},window.addEventListener?(window.addEventListener("load",this.a.loadTimeCollector,m),window.addEventListener("mousemove",this.a.mouseCollector,m),window.addEventListener("keypress",this.a.keyboardCollector,m),window.addEventListener("devicemotion",this.a.accelerometerCollector,m),window.addEventListener("touchmove",this.a.touchCollector,m)):document.attachEvent?(document.attachEvent("onload",this.a.loadTimeCollector),document.attachEvent("onmousemove",this.a.mouseCollector),document.attachEvent("keypress",this.a.keyboardCollector)):d(new n.exception.bug("can't attach event")),this.q=!0)},stopCollectors:function(){this.q&&(window.removeEventListener?(window.removeEventListener("load",this.a.loadTimeCollector,m),window.removeEventListener("mousemove",this.a.mouseCollector,m),window.removeEventListener("keypress",this.a.keyboardCollector,m),window.removeEventListener("devicemotion",this.a.accelerometerCollector,m),window.removeEventListener("touchmove",this.a.touchCollector,m)):document.detachEvent&&(document.detachEvent("onload",this.a.loadTimeCollector),document.detachEvent("onmousemove",this.a.mouseCollector),document.detachEvent("keypress",this.a.keyboardCollector)),this.q=m)},addEventListener:function(a,b){this.w[a][this.V++]=b},removeEventListener:function(a,b){var c,d,e=this.w[a],f=[];for(d in e)e.hasOwnProperty(d)&&e[d]===b&&f.push(d);for(c=0;c=h.iter||64!==h.ts&&96!==h.ts&&128!==h.ts||128!==h.ks&&192!==h.ks&&256!==h.ks||2>h.iv.length||4=b.iter||64!==b.ts&&96!==b.ts&&128!==b.ts||128!==b.ks&&192!==b.ks&&256!==b.ks||!b.iv||2>b.iv.length||40&&!this.encoding){var a=this.packetBuffer.shift();this.packet(a)}},d.prototype.cleanup=function(){for(var a;a=this.subs.shift();)a.destroy();this.packetBuffer=[],this.encoding=!1,this.decoder.destroy()},d.prototype.close=d.prototype.disconnect=function(){this.skipReconnect=!0,this.backoff.reset(),this.readyState="closed",this.engine&&this.engine.close()},d.prototype.onclose=function(a){k("close"),this.cleanup(),this.backoff.reset(),this.readyState="closed",this.emit("close",a),this._reconnection&&!this.skipReconnect&&this.reconnect()},d.prototype.reconnect=function(){if(this.reconnecting||this.skipReconnect)return this;var a=this;if(this.backoff.attempts>=this._reconnectionAttempts)k("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var b=this.backoff.duration();k("will wait %dms before reconnect attempt",b),this.reconnecting=!0;var c=setTimeout(function(){a.skipReconnect||(k("attempting reconnect"),a.emitAll("reconnect_attempt",a.backoff.attempts),a.emitAll("reconnecting",a.backoff.attempts),a.skipReconnect||a.open(function(b){b?(k("reconnect attempt error"),a.reconnecting=!1,a.reconnect(),a.emitAll("reconnect_error",b.data)):(k("reconnect success"),a.onreconnect())}))},b);this.subs.push({destroy:function(){clearTimeout(c)}})}},d.prototype.onreconnect=function(){var a=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",a)}},{"./on":425,"./socket":426,"./url":427,backo2:428,"component-bind":429,"component-emitter":430,debug:431,"engine.io-client":432,indexof:463,"object-component":464,"socket.io-parser":467}],425:[function(a,b,c){function d(a,b,c){return a.on(b,c),{destroy:function(){a.removeListener(b,c)}}}b.exports=d},{}],426:[function(a,b,c){function d(a,b){this.io=a,this.nsp=b,this.json=this,this.ids=0,this.acks={},this.io.autoConnect&&this.open(),this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0}var e=a("socket.io-parser"),f=a("component-emitter"),g=a("to-array"),h=a("./on"),i=a("component-bind"),j=a("debug")("socket.io-client:socket"),k=a("has-binary");b.exports=c=d;var l={connect:1,connect_error:1,connect_timeout:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1},m=f.prototype.emit;f(d.prototype),d.prototype.subEvents=function(){if(!this.subs){var a=this.io;this.subs=[h(a,"open",i(this,"onopen")),h(a,"packet",i(this,"onpacket")),h(a,"close",i(this,"onclose"))]}},d.prototype.open=d.prototype.connect=function(){return this.connected?this:(this.subEvents(),this.io.open(),"open"==this.io.readyState&&this.onopen(),this)},d.prototype.send=function(){var a=g(arguments);return a.unshift("message"),this.emit.apply(this,a),this},d.prototype.emit=function(a){if(l.hasOwnProperty(a))return m.apply(this,arguments),this;var b=g(arguments),c=e.EVENT;k(b)&&(c=e.BINARY_EVENT);var d={type:c,data:b};return"function"==typeof b[b.length-1]&&(j("emitting packet with ack id %d",this.ids),this.acks[this.ids]=b.pop(),d.id=this.ids++),this.connected?this.packet(d):this.sendBuffer.push(d),this},d.prototype.packet=function(a){a.nsp=this.nsp,this.io.packet(a)},d.prototype.onopen=function(){j("transport is open - connecting"),"/"!=this.nsp&&this.packet({type:e.CONNECT})},d.prototype.onclose=function(a){j("close (%s)",a),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",a)},d.prototype.onpacket=function(a){if(a.nsp==this.nsp)switch(a.type){case e.CONNECT:this.onconnect();break;case e.EVENT:this.onevent(a);break;case e.BINARY_EVENT:this.onevent(a);break;case e.ACK:this.onack(a);break;case e.BINARY_ACK:this.onack(a);break;case e.DISCONNECT:this.ondisconnect();break;case e.ERROR:this.emit("error",a.data)}},d.prototype.onevent=function(a){var b=a.data||[];j("emitting event %j",b),null!=a.id&&(j("attaching ack callback to event"),b.push(this.ack(a.id))),this.connected?m.apply(this,b):this.receiveBuffer.push(b)},d.prototype.ack=function(a){var b=this,c=!1;return function(){if(!c){c=!0;var d=g(arguments);j("sending ack %j",d);var f=k(d)?e.BINARY_ACK:e.ACK;b.packet({type:f,id:a,data:d})}}},d.prototype.onack=function(a){j("calling ack %s with %j",a.id,a.data);var b=this.acks[a.id];b.apply(this,a.data),delete this.acks[a.id]},d.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emit("connect"),this.emitBuffered()},d.prototype.emitBuffered=function(){var a;for(a=0;a0&&a.jitter<=1?a.jitter:0,this.attempts=0}b.exports=d,d.prototype.duration=function(){var a=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var b=Math.random(),c=Math.floor(b*this.jitter*a);a=0==(1&Math.floor(10*b))?a-c:a+c}return 0|Math.min(a,this.max)},d.prototype.reset=function(){this.attempts=0},d.prototype.setMin=function(a){this.ms=a},d.prototype.setMax=function(a){this.max=a},d.prototype.setJitter=function(a){this.jitter=a}},{}],429:[function(a,b,c){var d=[].slice;b.exports=function(a,b){if("string"==typeof b&&(b=a[b]),"function"!=typeof b)throw new Error("bind() requires a function");var c=d.call(arguments,2);return function(){return b.apply(a,c.concat(d.call(arguments)))}}},{}],430:[function(a,b,c){function d(a){return a?e(a):void 0}function e(a){for(var b in d.prototype)a[b]=d.prototype[b];return a}b.exports=d,d.prototype.on=d.prototype.addEventListener=function(a,b){return this._callbacks=this._callbacks||{},(this._callbacks[a]=this._callbacks[a]||[]).push(b),this},d.prototype.once=function(a,b){function c(){d.off(a,c),b.apply(this,arguments)}var d=this;return this._callbacks=this._callbacks||{},c.fn=b,this.on(a,c),this},d.prototype.off=d.prototype.removeListener=d.prototype.removeAllListeners=d.prototype.removeEventListener=function(a,b){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var c=this._callbacks[a];if(!c)return this;if(1==arguments.length)return delete this._callbacks[a],this;for(var d,e=0;ed;++d)c[d].apply(this,b)}return this},d.prototype.listeners=function(a){return this._callbacks=this._callbacks||{},this._callbacks[a]||[]},d.prototype.hasListeners=function(a){return!!this.listeners(a).length}},{}],431:[function(a,b,c){function d(a){return d.enabled(a)?function(b){b=e(b);var c=new Date,f=c-(d[a]||c);d[a]=c,b=a+" "+b+" +"+d.humanize(f),window.console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}:function(){}}function e(a){return a instanceof Error?a.stack||a.message:a}b.exports=d,d.names=[],d.skips=[],d.enable=function(a){try{localStorage.debug=a}catch(b){}for(var c=(a||"").split(/[\s,]+/),e=c.length,f=0;e>f;f++)a=c[f].replace("*",".*?"),"-"===a[0]?d.skips.push(new RegExp("^"+a.substr(1)+"$")):d.names.push(new RegExp("^"+a+"$"))},d.disable=function(){d.enable("")},d.humanize=function(a){var b=1e3,c=6e4,d=60*c;return a>=d?(a/d).toFixed(1)+"h":a>=c?(a/c).toFixed(1)+"m":a>=b?(a/b|0)+"s":a+"ms"},d.enabled=function(a){for(var b=0,c=d.skips.length;c>b;b++)if(d.skips[b].test(a))return!1;for(var b=0,c=d.names.length;c>b;b++)if(d.names[b].test(a))return!0;return!1};try{window.localStorage&&d.enable(localStorage.debug)}catch(f){}},{}],432:[function(a,b,c){b.exports=a("./lib/")},{"./lib/":433}],433:[function(a,b,c){b.exports=a("./socket"),b.exports.parser=a("engine.io-parser")},{"./socket":434,"engine.io-parser":446}],434:[function(a,b,c){(function(c){function d(a,b){if(!(this instanceof d))return new d(a,b);if(b=b||{},a&&"object"==typeof a&&(b=a,a=null),a&&(a=k(a),b.host=a.host,b.secure="https"==a.protocol||"wss"==a.protocol,b.port=a.port,a.query&&(b.query=a.query)),this.secure=null!=b.secure?b.secure:c.location&&"https:"==location.protocol,b.host){var e=b.host.split(":");b.hostname=e.shift(),e.length?b.port=e.pop():b.port||(b.port=this.secure?"443":"80")}this.agent=b.agent||!1,this.hostname=b.hostname||(c.location?location.hostname:"localhost"),this.port=b.port||(c.location&&location.port?location.port:this.secure?443:80),this.query=b.query||{},"string"==typeof this.query&&(this.query=m.decode(this.query)),this.upgrade=!1!==b.upgrade,this.path=(b.path||"/engine.io").replace(/\/$/,"")+"/",this.forceJSONP=!!b.forceJSONP,this.jsonp=!1!==b.jsonp,this.forceBase64=!!b.forceBase64,this.enablesXDR=!!b.enablesXDR,this.timestampParam=b.timestampParam||"t",this.timestampRequests=b.timestampRequests,this.transports=b.transports||["polling","websocket"],this.readyState="",this.writeBuffer=[],this.callbackBuffer=[],this.policyPort=b.policyPort||843,this.rememberUpgrade=b.rememberUpgrade||!1,this.binaryType=null,this.onlyBinaryUpgrades=b.onlyBinaryUpgrades,this.pfx=b.pfx||null,this.key=b.key||null,this.passphrase=b.passphrase||null,this.cert=b.cert||null,this.ca=b.ca||null,this.ciphers=b.ciphers||null,this.rejectUnauthorized=b.rejectUnauthorized||null,this.open()}function e(a){var b={};for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b}var f=a("./transports"),g=a("component-emitter"),h=a("debug")("engine.io-client:socket"),i=a("indexof"),j=a("engine.io-parser"),k=a("parseuri"),l=a("parsejson"),m=a("parseqs");b.exports=d,d.priorWebsocketSuccess=!1,g(d.prototype),d.protocol=j.protocol,d.Socket=d,d.Transport=a("./transport"),d.transports=a("./transports"),d.parser=a("engine.io-parser"),d.prototype.createTransport=function(a){h('creating transport "%s"',a);var b=e(this.query);b.EIO=j.protocol,b.transport=a,this.id&&(b.sid=this.id);var c=new f[a]({agent:this.agent,hostname:this.hostname,port:this.port,secure:this.secure,path:this.path,query:b,forceJSONP:this.forceJSONP,jsonp:this.jsonp,forceBase64:this.forceBase64,enablesXDR:this.enablesXDR,timestampRequests:this.timestampRequests,timestampParam:this.timestampParam,policyPort:this.policyPort,socket:this,pfx:this.pfx,key:this.key,passphrase:this.passphrase,cert:this.cert,ca:this.ca,ciphers:this.ciphers,rejectUnauthorized:this.rejectUnauthorized});return c},d.prototype.open=function(){var a;if(this.rememberUpgrade&&d.priorWebsocketSuccess&&-1!=this.transports.indexOf("websocket"))a="websocket";else{if(0==this.transports.length){var b=this;return void setTimeout(function(){b.emit("error","No transports available")},0)}a=this.transports[0]}this.readyState="opening";var a;try{a=this.createTransport(a)}catch(c){return this.transports.shift(),void this.open()}a.open(),this.setTransport(a)},d.prototype.setTransport=function(a){h("setting transport %s",a.name);var b=this;this.transport&&(h("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=a,a.on("drain",function(){b.onDrain()}).on("packet",function(a){b.onPacket(a)}).on("error",function(a){b.onError(a)}).on("close",function(){b.onClose("transport close")})},d.prototype.probe=function(a){function b(){if(m.onlyBinaryUpgrades){var b=!this.supportsBinary&&m.transport.supportsBinary;l=l||b}l||(h('probe transport "%s" opened',a),k.send([{type:"ping",data:"probe"}]),k.once("packet",function(b){if(!l)if("pong"==b.type&&"probe"==b.data){if(h('probe transport "%s" pong',a),m.upgrading=!0,m.emit("upgrading",k),!k)return;d.priorWebsocketSuccess="websocket"==k.name,h('pausing current transport "%s"',m.transport.name),m.transport.pause(function(){l||"closed"!=m.readyState&&(h("changing transport and sending upgrade packet"),j(),m.setTransport(k),k.send([{type:"upgrade"}]),m.emit("upgrade",k),k=null,m.upgrading=!1,m.flush())})}else{h('probe transport "%s" failed',a);var c=new Error("probe error");c.transport=k.name,m.emit("upgradeError",c)}}))}function c(){l||(l=!0,j(),k.close(),k=null)}function e(b){var d=new Error("probe error: "+b);d.transport=k.name,c(),h('probe transport "%s" failed because of error: %s',a,b),m.emit("upgradeError",d)}function f(){e("transport closed")}function g(){e("socket closed")}function i(a){k&&a.name!=k.name&&(h('"%s" works - aborting "%s"',a.name,k.name),c())}function j(){k.removeListener("open",b),k.removeListener("error",e),k.removeListener("close",f),m.removeListener("close",g),m.removeListener("upgrading",i)}h('probing transport "%s"',a);var k=this.createTransport(a,{probe:1}),l=!1,m=this;d.priorWebsocketSuccess=!1,k.once("open",b),k.once("error",e),k.once("close",f),this.once("close",g),this.once("upgrading",i),k.open()},d.prototype.onOpen=function(){if(h("socket open"),this.readyState="open",d.priorWebsocketSuccess="websocket"==this.transport.name,this.emit("open"),this.flush(),"open"==this.readyState&&this.upgrade&&this.transport.pause){h("starting upgrade probes");for(var a=0,b=this.upgrades.length;b>a;a++)this.probe(this.upgrades[a])}},d.prototype.onPacket=function(a){if("opening"==this.readyState||"open"==this.readyState)switch(h('socket receive: type "%s", data "%s"',a.type,a.data),this.emit("packet",a),this.emit("heartbeat"),a.type){case"open":this.onHandshake(l(a.data));break;case"pong":this.setPing();break;case"error":var b=new Error("server error");b.code=a.data,this.emit("error",b);break;case"message":this.emit("data",a.data),this.emit("message",a.data)}else h('packet received with socket readyState "%s"',this.readyState)},d.prototype.onHandshake=function(a){this.emit("handshake",a),this.id=a.sid,this.transport.query.sid=a.sid,this.upgrades=this.filterUpgrades(a.upgrades),this.pingInterval=a.pingInterval,this.pingTimeout=a.pingTimeout,this.onOpen(),"closed"!=this.readyState&&(this.setPing(),this.removeListener("heartbeat",this.onHeartbeat),this.on("heartbeat",this.onHeartbeat))},d.prototype.onHeartbeat=function(a){clearTimeout(this.pingTimeoutTimer);var b=this;b.pingTimeoutTimer=setTimeout(function(){"closed"!=b.readyState&&b.onClose("ping timeout")},a||b.pingInterval+b.pingTimeout)},d.prototype.setPing=function(){var a=this;clearTimeout(a.pingIntervalTimer),a.pingIntervalTimer=setTimeout(function(){h("writing ping packet - expecting pong within %sms",a.pingTimeout),a.ping(),a.onHeartbeat(a.pingTimeout)},a.pingInterval)},d.prototype.ping=function(){this.sendPacket("ping")},d.prototype.onDrain=function(){for(var a=0;ac;c++)~i(this.transports,a[c])&&b.push(a[c]);return b}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{}); -},{"./transport":435,"./transports":436,"component-emitter":430,debug:443,"engine.io-parser":446,indexof:463,parsejson:457,parseqs:458,parseuri:459}],435:[function(a,b,c){function d(a){this.path=a.path,this.hostname=a.hostname,this.port=a.port,this.secure=a.secure,this.query=a.query,this.timestampParam=a.timestampParam,this.timestampRequests=a.timestampRequests,this.readyState="",this.agent=a.agent||!1,this.socket=a.socket,this.enablesXDR=a.enablesXDR,this.pfx=a.pfx,this.key=a.key,this.passphrase=a.passphrase,this.cert=a.cert,this.ca=a.ca,this.ciphers=a.ciphers,this.rejectUnauthorized=a.rejectUnauthorized}var e=a("engine.io-parser"),f=a("component-emitter");b.exports=d,f(d.prototype),d.timestamps=0,d.prototype.onError=function(a,b){var c=new Error(a);return c.type="TransportError",c.description=b,this.emit("error",c),this},d.prototype.open=function(){return("closed"==this.readyState||""==this.readyState)&&(this.readyState="opening",this.doOpen()),this},d.prototype.close=function(){return("opening"==this.readyState||"open"==this.readyState)&&(this.doClose(),this.onClose()),this},d.prototype.send=function(a){if("open"!=this.readyState)throw new Error("Transport not open");this.write(a)},d.prototype.onOpen=function(){this.readyState="open",this.writable=!0,this.emit("open")},d.prototype.onData=function(a){var b=e.decodePacket(a,this.socket.binaryType);this.onPacket(b)},d.prototype.onPacket=function(a){this.emit("packet",a)},d.prototype.onClose=function(){this.readyState="closed",this.emit("close")}},{"component-emitter":430,"engine.io-parser":446}],436:[function(a,b,c){(function(b){function d(a){var c,d=!1,h=!1,i=!1!==a.jsonp;if(b.location){var j="https:"==location.protocol,k=location.port;k||(k=j?443:80),d=a.hostname!=location.hostname||k!=a.port,h=a.secure!=j}if(a.xdomain=d,a.xscheme=h,c=new e(a),"open"in c&&!a.forceJSONP)return new f(a);if(!i)throw new Error("JSONP disabled");return new g(a)}var e=a("xmlhttprequest"),f=a("./polling-xhr"),g=a("./polling-jsonp"),h=a("./websocket");c.polling=d,c.websocket=h}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./polling-jsonp":437,"./polling-xhr":438,"./websocket":440,xmlhttprequest:441}],437:[function(a,b,c){(function(c){function d(){}function e(a){f.call(this,a),this.query=this.query||{},h||(c.___eio||(c.___eio=[]),h=c.___eio),this.index=h.length;var b=this;h.push(function(a){b.onData(a)}),this.query.j=this.index,c.document&&c.addEventListener&&c.addEventListener("beforeunload",function(){b.script&&(b.script.onerror=d)},!1)}var f=a("./polling"),g=a("component-inherit");b.exports=e;var h,i=/\n/g,j=/\\n/g;g(e,f),e.prototype.supportsBinary=!1,e.prototype.doClose=function(){this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),this.form&&(this.form.parentNode.removeChild(this.form),this.form=null,this.iframe=null),f.prototype.doClose.call(this)},e.prototype.doPoll=function(){var a=this,b=document.createElement("script");this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),b.async=!0,b.src=this.uri(),b.onerror=function(b){a.onError("jsonp poll error",b)};var c=document.getElementsByTagName("script")[0];c.parentNode.insertBefore(b,c),this.script=b;var d="undefined"!=typeof navigator&&/gecko/i.test(navigator.userAgent);d&&setTimeout(function(){var a=document.createElement("iframe");document.body.appendChild(a),document.body.removeChild(a)},100)},e.prototype.doWrite=function(a,b){function c(){d(),b()}function d(){if(e.iframe)try{e.form.removeChild(e.iframe)}catch(a){e.onError("jsonp polling iframe removal error",a)}try{var b='