1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,911966,(e,t,n)=>{"use strict";t.exports=function e(e,t){for(var n=Array(arguments.length-1),o=0,r=2,i=!0;r<arguments.length;)n[o++]=arguments[r++];return new Promise(function(r,a){n[o]=function(e){if(i)if(i=!1,e)a(e);else{for(var t=Array(arguments.length-1),n=0;n<t.length;)t[n++]=arguments[n];r.apply(null,t)}};try{e.apply(t||null,n)}catch(e){i&&(i=!1,a(e))}})}},930284,(e,t,n)=>{"use strict";var o=n;o.length=function(e){var t=e.length;if(!t)return 0;for(var n=0;--t%4>1&&"="===e.charAt(t);)++n;return Math.ceil(3*e.length)/4-n};for(var r=Array(64),i=Array(123),a=0;a<64;)i[r[a]=a<26?a+65:a<52?a+71:a<62?a-4:a-59|43]=a++;o.encode=function(e,t,n){for(var o,i=null,a=[],l=0,s=0;t<n;){var u=e[t++];switch(s){case 0:a[l++]=r[u>>2],o=(3&u)<<4,s=1;break;case 1:a[l++]=r[o|u>>4],o=(15&u)<<2,s=2;break;case 2:a[l++]=r[o|u>>6],a[l++]=r[63&u],s=0}l>8191&&((i||(i=[])).push(String.fromCharCode.apply(String,a)),l=0)}return(s&&(a[l++]=r[o],a[l++]=61,1===s&&(a[l++]=61)),i)?(l&&i.push(String.fromCharCode.apply(String,a.slice(0,l))),i.join("")):String.fromCharCode.apply(String,a.slice(0,l))};var l="invalid encoding";o.decode=function(e,t,n){for(var o,r=n,a=0,s=0;s<e.length;){var u=e.charCodeAt(s++);if(61===u&&a>1)break;if(void 0===(u=i[u]))throw Error(l);switch(a){case 0:o=u,a=1;break;case 1:t[n++]=o<<2|(48&u)>>4,o=u,a=2;break;case 2:t[n++]=(15&o)<<4|(60&u)>>2,o=u,a=3;break;case 3:t[n++]=(3&o)<<6|u,a=0}}if(1===a)throw Error(l);return n-r},o.test=function(e){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e)}},793545,(e,t,n)=>{"use strict";function o(){this._listeners={}}t.exports=o,o.prototype.on=function(e,t,n){return(this._listeners[e]||(this._listeners[e]=[])).push({fn:t,ctx:n||this}),this},o.prototype.off=function(e,t){if(void 0===e)this._listeners={};else if(void 0===t)this._listeners[e]=[];else for(var n=this._listeners[e],o=0;o<n.length;)n[o].fn===t?n.splice(o,1):++o;return this},o.prototype.emit=function(e){var t=this._listeners[e];if(t){for(var n=[],o=1;o<arguments.length;)n.push(arguments[o++]);for(o=0;o<t.length;)t[o].fn.apply(t[o++].ctx,n)}return this}},482253,(e,t,n)=>{"use strict";function o(e){return"u">typeof Float32Array?!function(){var t=new Float32Array([-0]),n=new Uint8Array(t.buffer),o=128===n[3];function r(e,o,r){t[0]=e,o[r]=n[0],o[r+1]=n[1],o[r+2]=n[2],o[r+3]=n[3]}function i(e,o,r){t[0]=e,o[r]=n[3],o[r+1]=n[2],o[r+2]=n[1],o[r+3]=n[0]}function a(e,o){return n[0]=e[o],n[1]=e[o+1],n[2]=e[o+2],n[3]=e[o+3],t[0]}function l(e,o){return n[3]=e[o],n[2]=e[o+1],n[1]=e[o+2],n[0]=e[o+3],t[0]}e.writeFloatLE=o?r:i,e.writeFloatBE=o?i:r,e.readFloatLE=o?a:l,e.readFloatBE=o?l:a}():!function(){function t(e,t,n,o){var r=+(t<0);if(r&&(t=-t),0===t)e(1/t>0?0:0x80000000,n,o);else if(isNaN(t))e(0x7fc00000,n,o);else if(t>34028234663852886e22)e((r<<31|0x7f800000)>>>0,n,o);else if(t<11754943508222875e-54)e((r<<31|Math.round(t/1401298464324817e-60))>>>0,n,o);else{var i=Math.floor(Math.log(t)/Math.LN2),a=8388607&Math.round(t*Math.pow(2,-i)*8388608);e((r<<31|i+127<<23|a)>>>0,n,o)}}function n(e,t,n){var o=e(t,n),r=(o>>31)*2+1,i=o>>>23&255,a=8388607&o;return 255===i?a?NaN:1/0*r:0===i?1401298464324817e-60*r*a:r*Math.pow(2,i-150)*(a+8388608)}e.writeFloatLE=t.bind(null,r),e.writeFloatBE=t.bind(null,i),e.readFloatLE=n.bind(null,a),e.readFloatBE=n.bind(null,l)}(),"u">typeof Float64Array?!function(){var t=new Float64Array([-0]),n=new Uint8Array(t.buffer),o=128===n[7];function r(e,o,r){t[0]=e,o[r]=n[0],o[r+1]=n[1],o[r+2]=n[2],o[r+3]=n[3],o[r+4]=n[4],o[r+5]=n[5],o[r+6]=n[6],o[r+7]=n[7]}function i(e,o,r){t[0]=e,o[r]=n[7],o[r+1]=n[6],o[r+2]=n[5],o[r+3]=n[4],o[r+4]=n[3],o[r+5]=n[2],o[r+6]=n[1],o[r+7]=n[0]}function a(e,o){return n[0]=e[o],n[1]=e[o+1],n[2]=e[o+2],n[3]=e[o+3],n[4]=e[o+4],n[5]=e[o+5],n[6]=e[o+6],n[7]=e[o+7],t[0]}function l(e,o){return n[7]=e[o],n[6]=e[o+1],n[5]=e[o+2],n[4]=e[o+3],n[3]=e[o+4],n[2]=e[o+5],n[1]=e[o+6],n[0]=e[o+7],t[0]}e.writeDoubleLE=o?r:i,e.writeDoubleBE=o?i:r,e.readDoubleLE=o?a:l,e.readDoubleBE=o?l:a}():!function(){function t(e,t,n,o,r,i){var a,l=+(o<0);if(l&&(o=-o),0===o)e(0,r,i+t),e(1/o>0?0:0x80000000,r,i+n);else if(isNaN(o))e(0,r,i+t),e(0x7ff80000,r,i+n);else if(o>17976931348623157e292)e(0,r,i+t),e((l<<31|0x7ff00000)>>>0,r,i+n);else if(o<22250738585072014e-324)e((a=o/5e-324)>>>0,r,i+t),e((l<<31|a/0x100000000)>>>0,r,i+n);
1else{var s=Math.floor(Math.log(o)/Math.LN2);1024===s&&(s=1023),e(0x10000000000000*(a=o*Math.pow(2,-s))>>>0,r,i+t),e((l<<31|s+1023<<20|1048576*a&1048575)>>>0,r,i+n)}}function n(e,t,n,o,r){var i=e(o,r+t),a=e(o,r+n),l=(a>>31)*2+1,s=a>>>20&2047,u=0x100000000*(1048575&a)+i;return 2047===s?u?NaN:1/0*l:0===s?5e-324*l*u:l*Math.pow(2,s-1075)*(u+0x10000000000000)}e.writeDoubleLE=t.bind(null,r,0,4),e.writeDoubleBE=t.bind(null,i,4,0),e.readDoubleLE=n.bind(null,a,0,4),e.readDoubleBE=n.bind(null,l,4,0)}(),e}function r(e,t,n){t[n]=255&e,t[n+1]=e>>>8&255,t[n+2]=e>>>16&255,t[n+3]=e>>>24}function i(e,t,n){t[n]=e>>>24,t[n+1]=e>>>16&255,t[n+2]=e>>>8&255,t[n+3]=255&e}function a(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}function l(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}t.exports=o(o)},411166,(__turbopack_context__,module,exports)=>{"use strict";function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(e){}return null}module.exports=inquire},352677,(e,t,n)=>{"use strict";var o=n;o.length=function(e){for(var t=0,n=0,o=0;o<e.length;++o)(n=e.charCodeAt(o))<128?t+=1:n<2048?t+=2:(64512&n)==55296&&(64512&e.charCodeAt(o+1))==56320?(++o,t+=4):t+=3;return t},o.read=function(e,t,n){if(n-t<1)return"";for(var o,r=null,i=[],a=0;t<n;)(o=e[t++])<128?i[a++]=o:o>191&&o<224?i[a++]=(31&o)<<6|63&e[t++]:o>239&&o<365?(o=((7&o)<<18|(63&e[t++])<<12|(63&e[t++])<<6|63&e[t++])-65536,i[a++]=55296+(o>>10),i[a++]=56320+(1023&o)):i[a++]=(15&o)<<12|(63&e[t++])<<6|63&e[t++],a>8191&&((r||(r=[])).push(String.fromCharCode.apply(String,i)),a=0);return r?(a&&r.push(String.fromCharCode.apply(String,i.slice(0,a))),r.join("")):String.fromCharCode.apply(String,i.slice(0,a))},o.write=function(e,t,n){for(var o,r,i=n,a=0;a<e.length;++a)(o=e.charCodeAt(a))<128?t[n++]=o:(o<2048?t[n++]=o>>6|192:((64512&o)==55296&&(64512&(r=e.charCodeAt(a+1)))==56320?(o=65536+((1023&o)<<10)+(1023&r),++a,t[n++]=o>>18|240,t[n++]=o>>12&63|128):t[n++]=o>>12|224,t[n++]=o>>6&63|128),t[n++]=63&o|128);return n-i}},66762,(e,t,n)=>{"use strict";t.exports=function e(e,t,n){var o=n||8192,r=o>>>1,i=null,a=o;return function(n){if(n<1||n>r)return e(n);a+n>o&&(i=e(o),a=0);var l=t.call(i,a,a+=n);return 7&a&&(a=(7|a)+1),l}}},266762,(e,t,n)=>{"use strict";t.exports=r;var o=e.r(319665);function r(e,t){this.lo=e>>>0,this.hi=t>>>0}var i=r.zero=new r(0,0);i.toNumber=function(){return 0},i.zzEncode=i.zzDecode=function(){return this},i.length=function(){return 1};var a=r.zeroHash="\0\0\0\0\0\0\0\0";r.fromNumber=function(e){if(0===e)return i;var t=e<0;t&&(e=-e);var n=e>>>0,o=(e-n)/0x100000000>>>0;return t&&(o=~o>>>0,n=~n>>>0,++n>0xffffffff&&(n=0,++o>0xffffffff&&(o=0))),new r(n,o)},r.from=function(e){if("number"==typeof e)return r.fromNumber(e);if(o.isString(e))if(!o.Long)return r.fromNumber(parseInt(e,10));else e=o.Long.fromString(e);return e.low||e.high?new r(e.low>>>0,e.high>>>0):i},r.prototype.toNumber=function(e){if(!e&&this.hi>>>31){var t=~this.lo+1>>>0,n=~this.hi>>>0;return t||(n=n+1>>>0),-(t+0x100000000*n)}return this.lo+0x100000000*this.hi},r.prototype.toLong=function(e){return o.Long?new o.Long(0|this.lo,0|this.hi,!!e):{low:0|this.lo,high:0|this.hi,unsigned:!!e}};var l=String.prototype.charCodeAt;r.fromHash=function(e){return e===a?i:new r((l.call(e,0)|l.call(e,1)<<8|l.call(e,2)<<16|l.call(e,3)<<24)>>>0,(l.call(e,4)|l.call(e,5)<<8|l.call(e,6)<<16|l.call(e,7)<<24)>>>0)},r.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},r.prototype.zzEncode=function(){var e=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^e)>>>0,this.lo=(this.lo<<1^e)>>>0,this},r.prototype.zzDecode=function(){var e=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^e)>>>0,this.hi=(this.hi>>>1^e)>>>0,this},r.prototype.length=function(){var e=this.lo,t=(this.lo>>>28|this.hi<<4)>>>0,n=this.hi>>>24;return 0===n?0===t?e<16384?e<128?1:2:e<2097152?3:4:t<16384?t<128?5:6:t<2097152?7:8:n<128?9:10}},319665,(e,t,n)=>{"use strict";var o=n;function r(e,t,n){for(var o=Object.keys(t),r=0;r<o.length;++r)void 0!==e[o[r]]&&n||(e[o[r]]=t[o[r]]);return e}function i(e){function t(e,n){if(!(this instanceof t))return new t(e,n);Object.defineProperty(this,"message",{get:function(){return e}}),Error.captureStackTrace?Error.captureStackTrace(this,t):Object.defineProperty(this,"stack",{value:Error().stack||""}),n&&r(this,n)}return t.prototype=Object.create(Error.prototype,{constructor:{value:t,writable:!0,enumerable:!1,
1configurable:!0},name:{get:function(){return e},set:void 0,enumerable:!1,configurable:!0},toString:{value:function(){return this.name+": "+this.message},writable:!0,enumerable:!1,configurable:!0}}),t}o.asPromise=e.r(911966),o.base64=e.r(930284),o.EventEmitter=e.r(793545),o.float=e.r(482253),o.inquire=e.r(411166),o.utf8=e.r(352677),o.pool=e.r(66762),o.LongBits=e.r(266762),o.isNode=!!(e.g&&e.g.process&&e.g.process.versions&&e.g.process.versions.node),o.global=o.isNode&&e.g||"u">typeof window&&window||"u">typeof self&&self||e.e,o.emptyArray=Object.freeze?Object.freeze([]):[],o.emptyObject=Object.freeze?Object.freeze({}):{},o.isInteger=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},o.isString=function(e){return"string"==typeof e||e instanceof String},o.isObject=function(e){return e&&"object"==typeof e},o.isset=o.isSet=function(e,t){var n=e[t];return!!(null!=n&&e.hasOwnProperty(t))&&("object"!=typeof n||(Array.isArray(n)?n.length:Object.keys(n).length)>0)},o.Buffer=function(){try{var e=o.inquire("buffer").Buffer;return e.prototype.utf8Write?e:null}catch(e){return null}}(),o._Buffer_from=null,o._Buffer_allocUnsafe=null,o.newBuffer=function(e){return"number"==typeof e?o.Buffer?o._Buffer_allocUnsafe(e):new o.Array(e):o.Buffer?o._Buffer_from(e):"u"<typeof Uint8Array?e:new Uint8Array(e)},o.Array="u">typeof Uint8Array?Uint8Array:Array,o.Long=o.global.dcodeIO&&o.global.dcodeIO.Long||o.global.Long||o.inquire("long"),o.key2Re=/^true|false|0|1$/,o.key32Re=/^-?(?:0|[1-9][0-9]*)$/,o.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,o.longToHash=function(e){return e?o.LongBits.from(e).toHash():o.LongBits.zeroHash},o.longFromHash=function(e,t){var n=o.LongBits.fromHash(e);return o.Long?o.Long.fromBits(n.lo,n.hi,t):n.toNumber(!!t)},o.merge=r,o.lcFirst=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},o.newError=i,o.ProtocolError=i("ProtocolError"),o.oneOfGetter=function(e){for(var t={},n=0;n<e.length;++n)t[e[n]]=1;return function(){for(var e=Object.keys(this),n=e.length-1;n>-1;--n)if(1===t[e[n]]&&void 0!==this[e[n]]&&null!==this[e[n]])return e[n]}},o.oneOfSetter=function(e){return function(t){for(var n=0;n<e.length;++n)e[n]!==t&&delete this[e[n]]}},o.toJSONOptions={longs:String,enums:String,bytes:String,json:!0},o._configure=function(){var e=o.Buffer;if(!e){o._Buffer_from=o._Buffer_allocUnsafe=null;return}o._Buffer_from=e.from!==Uint8Array.from&&e.from||function(t,n){return new e(t,n)},o._Buffer_allocUnsafe=e.allocUnsafe||function(t){return new e(t)}}},627978,(e,t,n)=>{"use strict";t.exports=p;var o,r=e.r(319665),i=r.LongBits,a=r.base64,l=r.utf8;function s(e,t,n){this.fn=e,this.len=t,this.next=void 0,this.val=n}function u(){}function c(e){this.head=e.head,this.tail=e.tail,this.len=e.len,this.next=e.states}function p(){this.len=0,this.head=new s(u,0,0),this.tail=this.head,this.states=null}var d=function(){return r.Buffer?function(){return(p.create=function(){return new o})()}:function(){return new p}};function f(e,t,n){t[n]=255&e}function g(e,t,n){for(;e>127;)t[n++]=127&e|128,e>>>=7;t[n]=e}function h(e,t){this.len=e,this.next=void 0,this.val=t}function y(e,t,n){for(;e.hi;)t[n++]=127&e.lo|128,e.lo=(e.lo>>>7|e.hi<<25)>>>0,e.hi>>>=7;for(;e.lo>127;)t[n++]=127&e.lo|128,e.lo=e.lo>>>7;t[n++]=e.lo}function b(e,t,n){t[n]=255&e,t[n+1]=e>>>8&255,t[n+2]=e>>>16&255,t[n+3]=e>>>24}p.create=d(),p.alloc=function(e){return new r.Array(e)},r.Array!==Array&&(p.alloc=r.pool(p.alloc,r.Array.prototype.subarray)),p.prototype._push=function(e,t,n){return this.tail=this.tail.next=new s(e,t,n),this.len+=t,this},h.prototype=Object.create(s.prototype),h.prototype.fn=g,p.prototype.uint32=function(e){return this.len+=(this.tail=this.tail.next=new h((e>>>=0)<128?1:e<16384?2:e<2097152?3:e<0x10000000?4:5,e)).len,this},p.prototype.int32=function(e){return e<0?this._push(y,10,i.fromNumber(e)):this.uint32(e)},p.prototype.sint32=function(e){return this.uint32((e<<1^e>>31)>>>0)},p.prototype.uint64=function(e){var t=i.from(e);return this._push(y,t.length(),t)},p.prototype.int64=p.prototype.uint64,p.prototype.sint64=function(e){var t=i.from(e).zzEncode();return this._push(y,t.length(),t)},p.prototype.bool=function(e){return this._push(f,1,+!!e)},p.prototype.fixed32=function(e){return this._push(b,4,e>>>0)},p.prototype.sfixed32=p.prototype.fixed32,p.prototype.fixed64=function(e){var t=i.from(e);return this._push(b,4,t.lo)._push(b,4,t.hi)},p.prototype.sfixed64=p.prototype.fixed64,p.prototype.float=function(e){return this._push(r.float.writeFloatLE,4,e)},p.prototype.double=function(e){return this._push(r.float.writeDoubleLE,8,e)};var m=r.Array.prototype.set?function(e,t,n){t.set(e,n)}:function(e,t,n){for(var o=0;o<e.length;++o)t[n+o]=e[o]};p.prototype.bytes=function(e){var t=e.length>>>0;if(!t)return this._push(f,1,0);if(r.isString(e)){var n=p.alloc(t=a.length(e));a.decode(e,n,0),e=n}return this.uint32(t)._push(m,t,e)},p.prototype.string=function(e){var t=l.length(e);return t?this.uint32(t)._push(l.write,t,e):this._push(f,1,0)},p.prototype.fork=function(){return this.states=new c(this),this.head=this.tail=new s(u,0,0),this.len=0,this},p.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new s(u,0,0),this.len=0),this},p.prototype.ldelim=function(){var e=this.head,t=this.tail,n=this.len;return this.reset().uint32(n),n&&(this.tail.next=e.next,this.tail=t,this.len+=n),this},p.prototype.finish=function(){for(var e=this.head.next,t=this.constructor.alloc(this.len),n=0;e;)e.fn(e.val,t,n),n+=e.len,e=e.next;return t},p._configure=function(e){o=e,p.create=d(),o._configure()}},4967,(e,t,n)=>{"use strict";
1t.exports=i;var o=e.r(627978);(i.prototype=Object.create(o.prototype)).constructor=i;var r=e.r(319665);function i(){o.call(this)}function a(e,t,n){e.length<40?r.utf8.write(e,t,n):t.utf8Write?t.utf8Write(e,n):t.write(e,n)}i._configure=function(){i.alloc=r._Buffer_allocUnsafe,i.writeBytesBuffer=r.Buffer&&r.Buffer.prototype instanceof Uint8Array&&"set"===r.Buffer.prototype.set.name?function(e,t,n){t.set(e,n)}:function(e,t,n){if(e.copy)e.copy(t,n,0,e.length);else for(var o=0;o<e.length;)t[n++]=e[o++]}},i.prototype.bytes=function(e){r.isString(e)&&(e=r._Buffer_from(e,"base64"));var t=e.length>>>0;return this.uint32(t),t&&this._push(i.writeBytesBuffer,t,e),this},i.prototype.string=function(e){var t=r.Buffer.byteLength(e);return this.uint32(t),t&&this._push(a,t,e),this},i._configure()},573217,(e,t,n)=>{"use strict";t.exports=s;var o,r=e.r(319665),i=r.LongBits,a=r.utf8;function l(e,t){return RangeError("index out of range: "+e.pos+" + "+(t||1)+" > "+e.len)}function s(e){this.buf=e,this.pos=0,this.len=e.length}var u="u">typeof Uint8Array?function(e){if(e instanceof Uint8Array||Array.isArray(e))return new s(e);throw Error("illegal buffer")}:function(e){if(Array.isArray(e))return new s(e);throw Error("illegal buffer")},c=function(){return r.Buffer?function(e){return(s.create=function(e){return r.Buffer.isBuffer(e)?new o(e):u(e)})(e)}:u};function p(){var e=new i(0,0),t=0;if(this.len-this.pos>4){for(;t<4;++t)if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e;if(e.lo=(e.lo|(127&this.buf[this.pos])<<28)>>>0,e.hi=(e.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return e;t=0}else{for(;t<3;++t){if(this.pos>=this.len)throw l(this);if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e}return e.lo=(e.lo|(127&this.buf[this.pos++])<<7*t)>>>0,e}if(this.len-this.pos>4){for(;t<5;++t)if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}else for(;t<5;++t){if(this.pos>=this.len)throw l(this);if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}throw Error("invalid varint encoding")}function d(e,t){return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0}function f(){if(this.pos+8>this.len)throw l(this,8);return new i(d(this.buf,this.pos+=4),d(this.buf,this.pos+=4))}s.create=c(),s.prototype._slice=r.Array.prototype.subarray||r.Array.prototype.slice,s.prototype.uint32=function(){var e=0xffffffff;return function(){if(e=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128||(e=(e|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)||(e=(e|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)||(e=(e|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)||(e=(e|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128))return e;if((this.pos+=5)>this.len)throw this.pos=this.len,l(this,10);return e}}(),s.prototype.int32=function(){return 0|this.uint32()},s.prototype.sint32=function(){var e=this.uint32();return e>>>1^-(1&e)},s.prototype.bool=function(){return 0!==this.uint32()},s.prototype.fixed32=function(){if(this.pos+4>this.len)throw l(this,4);return d(this.buf,this.pos+=4)},s.prototype.sfixed32=function(){if(this.pos+4>this.len)throw l(this,4);return 0|d(this.buf,this.pos+=4)},s.prototype.float=function(){if(this.pos+4>this.len)throw l(this,4);var e=r.float.readFloatLE(this.buf,this.pos);return this.pos+=4,e},s.prototype.double=function(){if(this.pos+8>this.len)throw l(this,4);var e=r.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,e},s.prototype.bytes=function(){var e=this.uint32(),t=this.pos,n=this.pos+e;if(n>this.len)throw l(this,e);if(this.pos+=e,Array.isArray(this.buf))return this.buf.slice(t,n);if(t===n){var o=r.Buffer;return o?o.alloc(0):new this.buf.constructor(0)}return this._slice.call(this.buf,t,n)},s.prototype.string=function(){var e=this.bytes();return a.read(e,0,e.length)},s.prototype.skip=function(e){if("number"==typeof e){if(this.pos+e>this.len)throw l(this,e);this.pos+=e}else do if(this.pos>=this.len)throw l(this);while(128&this.buf[this.pos++])return this},s.prototype.skipType=function(e){switch(e){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;4!=(e=7&this.uint32());)this.skipType(e);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+e+" at offset "+this.pos)}return this},s._configure=function(e){o=e,s.create=c(),o._configure();var t=r.Long?"toLong":"toNumber";r.merge(s.prototype,{int64:function(){return p.call(this)[t](!1)},uint64:function(){return p.call(this)[t](!0)},sint64:function(){return p.call(this).zzDecode()[t](!1)},fixed64:function(){return f.call(this)[t](!0)},sfixed64:function(){return f.call(this)[t](!1)}})}},409088,(e,t,n)=>{"use strict";
1t.exports=i;var o=e.r(573217);(i.prototype=Object.create(o.prototype)).constructor=i;var r=e.r(319665);function i(e){o.call(this,e)}i._configure=function(){r.Buffer&&(i.prototype._slice=r.Buffer.prototype.slice)},i.prototype.string=function(){var e=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+e,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+e,this.len))},i._configure()},223176,(e,t,n)=>{"use strict";t.exports=r;var o=e.r(319665);function r(e,t,n){if("function"!=typeof e)throw TypeError("rpcImpl must be a function");o.EventEmitter.call(this),this.rpcImpl=e,this.requestDelimited=!!t,this.responseDelimited=!!n}(r.prototype=Object.create(o.EventEmitter.prototype)).constructor=r,r.prototype.rpcCall=function e(t,n,r,i,a){if(!i)throw TypeError("request must be specified");var l=this;if(!a)return o.asPromise(e,l,t,n,r,i);if(!l.rpcImpl)return void setTimeout(function(){a(Error("already ended"))},0);try{return l.rpcImpl(t,n[l.requestDelimited?"encodeDelimited":"encode"](i).finish(),function(e,n){if(e)return l.emit("error",e,t),a(e);if(null===n)return void l.end(!0);if(!(n instanceof r))try{n=r[l.responseDelimited?"decodeDelimited":"decode"](n)}catch(e){return l.emit("error",e,t),a(e)}return l.emit("data",n,t),a(null,n)})}catch(e){l.emit("error",e,t),setTimeout(function(){a(e)},0);return}},r.prototype.end=function(e){return this.rpcImpl&&(e||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},811373,(e,t,n)=>{"use strict";n.Service=e.r(223176)},705612,(e,t,n)=>{"use strict";t.exports={}},746014,(e,t,n)=>{"use strict";var o=n;function r(){o.util._configure(),o.Writer._configure(o.BufferWriter),o.Reader._
1configure(o.BufferReader)}o.build="minimal",o.Writer=e.r(627978),o.BufferWriter=e.r(4967),o.Reader=e.r(573217),o.BufferReader=e.r(409088),o.util=e.r(319665),o.rpc=e.r(811373),o.roots=e.r(705612),o.configure=r,r()},279209,(e,t,n)=>{"use strict";t.exports=e.r(746014)},372099,e=>{"use strict";var t=e.i(279209);let n=t.Reader,o=t.Writer,r=t.util,i=t.roots.default||(t.roots.default={}),a=i.Proto=(()=>{let e={};return e.Announcement=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.id=0,e.prototype.subject="",e.prototype.body="",e.prototype.published=0,e.encode=function(e,t){return t||(t=o.create()),null!=e.id&&Object.hasOwnProperty.call(e,"id")&&t.uint32(8).uint32(e.id),null!=e.subject&&Object.hasOwnProperty.call(e,"subject")&&t.uint32(18).string(e.subject),null!=e.body&&Object.hasOwnProperty.call(e,"body")&&t.uint32(26).string(e.body),null!=e.published&&Object.hasOwnProperty.call(e,"published")&&t.uint32(32).uint32(e.published),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.Announcement;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.id=e.uint32();break;case 2:a.subject=e.string();break;case 3:a.body=e.string();break;case 4:a.published=e.uint32();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.Announcement"},e}(),e.Author=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.id=0,e.prototype.name="",e.prototype.nameKana="",e.prototype.role="",e.prototype.image=null,e.prototype.fanLetterEnabled=!1,e.prototype.authorPageEnabled=!1,e.prototype.isFollowing=!1,e.encode=function(e,t){return t||(t=o.create()),null!=e.id&&Object.hasOwnProperty.call(e,"id")&&t.uint32(8).uint32(e.id),null!=e.name&&Object.hasOwnProperty.call(e,"name")&&t.uint32(18).string(e.name),null!=e.nameKana&&Object.hasOwnProperty.call(e,"nameKana")&&t.uint32(26).string(e.nameKana),null!=e.role&&Object.hasOwnProperty.call(e,"role")&&t.uint32(34).string(e.role),null!=e.image&&Object.hasOwnProperty.call(e,"image")&&i.Proto.Image.encode(e.image,t.uint32(42).fork()).ldelim(),null!=e.fanLetterEnabled&&Object.hasOwnProperty.call(e,"fanLetterEnabled")&&t.uint32(48).bool(e.fanLetterEnabled),null!=e.authorPageEnabled&&Object.hasOwnProperty.call(e,"authorPageEnabled")&&t.uint32(56).bool(e.authorPageEnabled),null!=e.isFollowing&&Object.hasOwnProperty.call(e,"isFollowing")&&t.uint32(64).bool(e.isFollowing),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.Author;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.id=e.uint32();break;case 2:a.name=e.string();break;case 3:a.nameKana=e.string();break;case 4:a.role=e.string();break;case 5:a.image=i.Proto.Image.decode(e,e.uint32());break;case 6:a.fanLetterEnabled=e.bool();break;case 7:a.authorPageEnabled=e.bool();break;case 8:a.isFollowing=e.bool();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.Author"},e}(),e.Image=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.src="",e.prototype.height=0,e.prototype.width=0,e.prototype.alt="",e.prototype.url="",e.prototype.targetBlank=!1,e.encode=function(e,t){return t||(t=o.create()),null!=e.src&&Object.hasOwnProperty.call(e,"src")&&t.uint32(10).string(e.src),null!=e.height&&Object.hasOwnProperty.call(e,"height")&&t.uint32(16).uint32(e.height),null!=e.width&&Object.hasOwnProperty.call(e,"width")&&t.uint32(24).uint32(e.width),null!=e.alt&&Object.hasOwnProperty.call(e,"alt")&&t.uint32(34).string(e.alt),null!=e.url&&Object.hasOwnProperty.call(e,"url")&&t.uint32(42).string(e.url),null!=e.targetBlank&&Object.hasOwnProperty.call(e,"targetBlank")&&t.uint32(48).bool(e.targetBlank),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.Image;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.src=e.string();break;case 2:a.height=e.uint32();break;case 3:a.width=e.uint32();break;case 4:a.alt=e.string();break;case 5:a.url=e.string();break;case 6:a.targetBlank=e.bool();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.Image"},e}(),e.Banner=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.id=0,e.prototype.slotId=0,e.prototype.image=null,e.prototype.bannerMemo="",e.prototype.titleForLog="",e.encode=function(e,t){return t||(t=o.create()),null!=e.id&&Object.hasOwnProperty.call(e,"id")&&t.uint32(8).uint32(e.id),null!=e.slotId&&Object.hasOwnProperty.call(e,"slotId")&&t.uint32(16).uint32(e.slotId),null!=e.image&&Object.hasOwnProperty.call(e,"image")&&i.Proto.Image.encode(e.image,t.uint32(26).fork()).ldelim(),null!=e.bannerMemo&&Object.hasOwnProperty.call(e,"bannerMemo")&&t.uint32(34).string(e.bannerMemo),null!=e.titleForLog&&Object.hasOwnProperty.call(e,"titleForLog")&&t.uint32(42).string(e.titleForLog),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.Banner;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.id=e.uint32();break;case 2:a.slotId=e.uint32();break;case 3:a.image=i.Proto.Image.decode(e,e.uint32());break;case 4:a.bannerMemo=e.string();break;case 5:a.titleForLog=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.Banner"},e}(),e.Chapter=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.id=0,e.prototype.mainName="",e.prototype.subName="",e.prototype.image=null,e.prototype.pointConsumption=null,e.prototype.endOfRentalPeriod=0,e.prototype.numberOfComments=0,e.prototype.numberOfLikes=0,e.prototype.startTime=0,e.prototype.endTime=0,e.prototype.badge=0,e.prototype.alreadyViewed=!1,e.prototype.nextUpdateTime=0,e.prototype.latestFreeStory="",e.prototype.priority=0,e.prototype.isPointBackCampaign=!1,e.encode=function(e,t){return t||(t=o.create()),null!=e.id&&Object.hasOwnProperty.call(e,"id")&&t.uint32(8).uint32(e.id),null!=e.mainName&&Object.hasOwnProperty.call(e,"mainName")&&t.uint32(18).string(e.mainName),null!=e.subName&&Object.hasOwnProperty.call(e,"subName")&&t.uint32(26).string(e.subName),null!=e.image&&Object.hasOwnProperty.call(e,"image")&&i.Proto.Image.encode(e.image,t.uint32(34).fork()).ldelim(),null!=e.pointConsumption&&Object.hasOwnProperty.call(e,"pointConsumption")&&i.Proto.PointConsumption.encode(e.pointConsumption,t.uint32(42).fork()).ldelim(),null!=e.endOfRentalPeriod&&Object.hasOwnProperty.call(e,"endOfRentalPeriod")&&t.uint32(48).uint32(e.endOfRentalPeriod),null!=e.numberOfComments&&Object.hasOwnProperty.call(e,"numberOfComments")&&t.uint32(56).uint32(e.numberOfComments),null!=e.numberOfLikes&&Object.hasOwnProperty.call(e,"numberOfLikes")&&t.uint32(64).uint32(e.numberOfLikes),null!=e.startTime&&Object.hasOwnProperty.call(e,"startTime")&&t.uint32(72).uint32(e.startTime),null!=e.endTime&&Object.hasOwnProperty.call(e,"endTime")&&t.uint32(80).uint32(e.endTime),null!=e.badge&&Object.hasOwnProperty.call(e,"badge")&&t.uint32(88).int32(e.badge),null!=e.alreadyViewed&&Object.hasOwnProperty.call(e,"alreadyViewed")&&t.uint32(96).bool(e.alreadyViewed),null!=e.nextUpdateTime&&Object.hasOwnProperty.call(e,"nextUpdateTime")&&t.uint32(104).uint32(e.nextUpdateTime),null!=e.latestFreeStory&&Object.hasOwnProperty.call(e,"latestFreeStory")&&t.uint32(114).string(e.latestFreeStory),null!=e.priority&&Object.hasOwnProperty.call(e,"priority")&&t.uint32(125).float(e.priority),null!=e.isPointBackCampaign&&Object.hasOwnProperty.call(e,"isPointBackCampaign")&&t.uint32(128).bool(e.isPointBackCampaign),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.Chapter;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.id=e.uint32();break;case 2:a.mainName=e.string();break;case 3:a.subName=e.string();break;case 4:a.image=i.Proto.Image.decode(e,e.uint32());break;case 5:a.pointConsumption=i.Proto.PointConsumption.decode(e,e.uint32());break;case 6:a.endOfRentalPeriod=e.uint32();break;case 7:a.numberOfComments=e.uint32();break;case 8:a.numberOfLikes=e.uint32();break;case 9:a.startTime=e.uint32();break;case 10:a.endTime=e.uint32();break;case 11:a.badge=e.int32();break;case 12:a.alreadyViewed=e.bool();break;case 13:a.nextUpdateTime=e.uint32();break;case 14:a.latestFreeStory=e.string();break;case 15:a.priority=e.float();break;case 16:a.isPointBackCampaign=e.bool();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.Chapter"},e.Badge=function(){let e={},t=Object.create(e);return t[e[0]="NONE"]=0,t[e[1]="UPDATE"]=1,t[e[2]="FREE"]=2,t[e[3]="ADVANCE"]=3,t[e[4]="PREMIUM"]=4,t}(),e}(),e.PointConsumption=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.type=0,e.prototype.amount=0,e.encode=function(e,t){return t||(t=o.create()),null!=e.type&&Object.hasOwnProperty.call(e,"type")&&t.uint32(8).int32(e.type),null!=e.amount&&Object.hasOwnProperty.call(e,"amount")&&t.uint32(16).uint32(e.amount),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.PointConsumption;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.type=e.int32();break;case 2:a.amount=e.uint32();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.PointConsumption"},e.Type=function(){let e={},t=Object.create(e);return t[e[0]="ANY_ITEMS"]=0,t[e[1]="EVENT_OR_PAID"]=1,t[e[2]="PAID_ONLY"]=2,t[e[3]="LOGIN_FREE"]=3,t}(),e}(),e.CiaoAuthor=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.id=0,e.prototype.name="",e.prototype.nameKana="",e.prototype.role="",e.prototype.image=null,e.prototype.fanLetterEnabled=!1,e.prototype.authorPageEnabled=!1,e.prototype.isFollowing=!1,e.encode=function(e,t){return t||(t=o.create()),null!=e.id&&Object.hasOwnProperty.call(e,"id")&&t.uint32(8).uint32(e.id),null!=e.name&&Object.hasOwnProperty.call(e,"name")&&t.uint32(18).string(e.name),null!=e.nameKana&&Object.hasOwnProperty.call(e,"nameKana")&&t.uint32(26).string(e.nameKana),null!=e.role&&Object.hasOwnProperty.call(e,"role")&&t.uint32(34).string(e.role),null!=e.image&&Object.hasOwnProperty.call(e,"image")&&i.Proto.CiaoImage.encode(e.image,t.uint32(42).fork()).ldelim(),null!=e.fanLetterEnabled&&Object.hasOwnProperty.call(e,"fanLetterEnabled")&&t.uint32(48).bool(e.fanLetterEnabled),null!=e.authorPageEnabled&&Object.hasOwnProperty.call(e,"authorPageEnabled")&&t.uint32(56).bool(e.authorPageEnabled),null!=e.isFollowing&&Object.hasOwnProperty.call(e,"isFollowing")&&t.uint32(64).bool(e.isFollowing),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.CiaoAuthor;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.id=e.uint32();break;case 2:a.name=e.string();break;case 3:a.nameKana=e.string();break;case 4:a.role=e.string();break;case 5:a.image=i.Proto.CiaoImage.decode(e,e.uint32());break;case 6:a.fanLetterEnabled=e.bool();break;case 7:a.authorPageEnabled=e.bool();break;case 8:a.isFollowing=e.bool();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.CiaoAuthor"},e}(),e.CiaoImage=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.src="",e.prototype.height=0,e.prototype.width=0,e.prototype.alt="",e.prototype.url="",e.prototype.targetBlank=!1,e.encode=function(e,t){return t||(t=o.create()),null!=e.src&&Object.hasOwnProperty.call(e,"src")&&t.uint32(10).string(e.src),null!=e.height&&Object.hasOwnProperty.call(e,"height")&&t.uint32(16).uint32(e.height),null!=e.width&&Object.hasOwnProperty.call(e,"width")&&t.uint32(24).uint32(e.width),null!=e.alt&&Object.hasOwnProperty.call(e,"alt")&&t.uint32(34).string(e.alt),null!=e.url&&Object.hasOwnProperty.call(e,"url")&&t.uint32(42).string(e.url),null!=e.targetBlank&&Object.hasOwnProperty.call(e,"targetBlank")&&t.uint32(48).bool(e.targetBlank),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.CiaoImage;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.src=e.string();break;case 2:a.height=e.uint32();break;case 3:a.width=e.uint32();break;case 4:a.alt=e.string();break;case 5:a.url=e.string();break;case 6:a.targetBlank=e.bool();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.CiaoImage"},e}(),e.CiaoBanner=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.id=0,e.prototype.slotId=0,e.prototype.image=null,e.prototype.bannerMemo="",e.prototype.titleForLog="",e.encode=function(e,t){return t||(t=o.create()),null!=e.id&&Object.hasOwnProperty.call(e,"id")&&t.uint32(8).uint32(e.id),null!=e.slotId&&Object.hasOwnProperty.call(e,"slotId")&&t.uint32(16).uint32(e.slotId),null!=e.image&&Object.hasOwnProperty.call(e,"image")&&i.Proto.CiaoImage.encode(e.image,t.uint32(26).fork()).ldelim(),null!=e.bannerMemo&&Object.hasOwnProperty.call(e,"bannerMemo")&&t.uint32(34).string(e.bannerMemo),null!=e.titleForLog&&Object.hasOwnProperty.call(e,"titleForLog")&&t.uint32(42).string(e.titleForLog),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.CiaoBanner;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.id=e.uint32();break;case 2:a.slotId=e.uint32();break;case 3:a.image=i.Proto.CiaoImage.decode(e,e.uint32());break;case 4:a.bannerMemo=e.string();break;case 5:a.titleForLog=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.CiaoBanner"},e}(),e.CiaoChapter=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.id=0,e.prototype.mainName="",e.prototype.subName="",e.prototype.image=null,e.prototype.pointConsumption=null,e.prototype.endOfRentalPeriod=0,e.prototype.numberOfComments=0,e.prototype.numberOfLikes=0,e.prototype.startTime=0,e.prototype.endTime=0,e.prototype.badge=0,e.prototype.alreadyViewed=!1,e.prototype.nextUpdateTime=0,e.prototype.latestFreeStory="",e.prototype.priority=0,e.prototype.isPointBackCampaign=!1,e.encode=function(e,t){return t||(t=o.create()),null!=e.id&&Object.hasOwnProperty.call(e,"id")&&t.uint32(8).uint32(e.id),null!=e.mainName&&Object.hasOwnProperty.call(e,"mainName")&&t.uint32(18).string(e.mainName),null!=e.subName&&Object.hasOwnProperty.call(e,"subName")&&t.uint32(26).string(e.subName),null!=e.image&&Object.hasOwnProperty.call(e,"image")&&i.Proto.CiaoImage.encode(e.image,t.uint32(34).fork()).ldelim(),null!=e.pointConsumption&&Object.hasOwnProperty.call(e,"pointConsumption")&&i.Proto.CiaoPointConsumption.encode(e.pointConsumption,t.uint32(42).fork()).ldelim(),null!=e.endOfRentalPeriod&&Object.hasOwnProperty.call(e,"endOfRentalPeriod")&&t.uint32(48).uint32(e.endOfRentalPeriod),null!=e.numberOfComments&&Object.hasOwnProperty.call(e,"numberOfComments")&&t.uint32(56).uint32(e.numberOfComments),null!=e.numberOfLikes&&Object.hasOwnProperty.call(e,"numberOfLikes")&&t.uint32(64).uint32(e.numberOfLikes),null!=e.startTime&&Object.hasOwnProperty.call(e,"startTime")&&t.uint32(72).uint32(e.startTime),null!=e.endTime&&Object.hasOwnProperty.call(e,"endTime")&&t.uint32(80).uint32(e.endTime),null!=e.badge&&Object.hasOwnProperty.call(e,"badge")&&t.uint32(88).int32(e.badge),null!=e.alreadyViewed&&Object.hasOwnProperty.call(e,"alreadyViewed")&&t.uint32(96).bool(e.alreadyViewed),null!=e.nextUpdateTime&&Object.hasOwnProperty.call(e,"nextUpdateTime")&&t.uint32(104).uint32(e.nextUpdateTime),null!=e.latestFreeSto
1ry&&Object.hasOwnProperty.call(e,"latestFreeStory")&&t.uint32(114).string(e.latestFreeStory),null!=e.priority&&Object.hasOwnProperty.call(e,"priority")&&t.uint32(125).float(e.priority),null!=e.isPointBackCampaign&&Object.hasOwnProperty.call(e,"isPointBackCampaign")&&t.uint32(128).bool(e.isPointBackCampaign),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.CiaoChapter;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.id=e.uint32();break;case 2:a.mainName=e.string();break;case 3:a.subName=e.string();break;case 4:a.image=i.Proto.CiaoImage.decode(e,e.uint32());break;case 5:a.pointConsumption=i.Proto.CiaoPointConsumption.decode(e,e.uint32());break;case 6:a.endOfRentalPeriod=e.uint32();break;case 7:a.numberOfComments=e.uint32();break;case 8:a.numberOfLikes=e.uint32();break;case 9:a.startTime=e.uint32();break;case 10:a.endTime=e.uint32();break;case 11:a.badge=e.int32();break;case 12:a.alreadyViewed=e.bool();break;case 13:a.nextUpdateTime=e.uint32();break;case 14:a.latestFreeStory=e.string();break;case 15:a.priority=e.float();break;case 16:a.isPointBackCampaign=e.bool();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.CiaoChapter"},e.Badge=function(){let e={},t=Object.create(e);return t[e[0]="NONE"]=0,t[e[1]="UPDATE"]=1,t[e[2]="FREE"]=2,t[e[3]="ADVANCE"]=3,t[e[4]="PREMIUM"]=4,t}(),e}(),e.CiaoPointConsumption=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.type=0,e.prototype.amount=0,e.encode=function(e,t){return t||(t=o.create()),null!=e.type&&Object.hasOwnProperty.call(e,"type")&&t.uint32(8).int32(e.type),null!=e.amount&&Object.hasOwnProperty.call(e,"amount")&&t.uint32(16).uint32(e.amount),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.CiaoPointConsumption;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.type=e.int32();break;case 2:a.amount=e.uint32();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.CiaoPointConsumption"},e.Type=function(){let e={},t=Object.create(e);return t[e[0]="ANY_ITEMS"]=0,t[e[1]="EVENT_OR_PAID"]=1,t[e[2]="PAID_ONLY"]=2,t[e[3]="LOGIN_FREE"]=3,t}(),e}(),e.CiaoMission=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.id=0,e.prototype.name="",e.prototype.eventPoint=0,e.prototype.description="",e.prototype.url="",e.prototype.expiration="",e.prototype.achievedCount=0,e.prototype.totalCount=0,e.prototype.moveButton="",e.encode=function(e,t){return t||(t=o.create()),null!=e.id&&Object.hasOwnProperty.call(e,"id")&&t.uint32(8).uint32(e.id),null!=e.name&&Object.hasOwnProperty.call(e,"name")&&t.uint32(18).string(e.name),null!=e.eventPoint&&Object.hasOwnProperty.call(e,"eventPoint")&&t.uint32(24).uint32(e.eventPoint),null!=e.description&&Object.hasOwnProperty.call(e,"description")&&t.uint32(34).string(e.description),null!=e.url&&Object.hasOwnProperty.call(e,"url")&&t.uint32(42).string(e.url),null!=e.expiration&&Object.hasOwnProperty.call(e,"expiration")&&t.uint32(50).string(e.expiration),null!=e.achievedCount&&Object.hasOwnProperty.call(e,"achievedCount")&&t.uint32(56).uint32(e.achievedCount),null!=e.totalCount&&Object.hasOwnProperty.call(e,"totalCount")&&t.uint32(64).uint32(e.totalCount),null!=e.moveButton&&Object.hasOwnProperty.call(e,"moveButton")&&t.uint32(74).string(e.moveButton),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.CiaoMission;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.id=e.uint32();break;case 2:a.name=e.string();break;case 3:a.eventPoint=e.uint32();break;case 4:a.description=e.string();break;case 5:a.url=e.string();break;case 6:a.expiration=e.string();break;case 7:a.achievedCount=e.uint32();break;case 8:a.totalCount=e.uint32();break;case 9:a.moveButton=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.CiaoMission"},e}(),e.CiaoPoint=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.event=0,e.prototype.paid=0,e.encode=function(e,t){return t||(t=o.create()),null!=e.event&&Object.hasOwnProperty.call(e,"event")&&t.uint32(8).uint32(e.event),null!=e.paid&&Object.hasOwnProperty.call(e,"paid")&&t.uint32(16).uint32(e.paid),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.CiaoPoint;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.event=e.uint32();break;case 2:a.paid=e.uint32();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.CiaoPoint"},e}(),e.CiaoPopup=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.id=0,e.prototype.popupCode="",e.prototype.subject="",e.prototype.body="",e.prototype.image=null,e.prototype.okButton="",e.prototype.url="",e.prototype.targetBlank=!1,e.prototype.type=0,e.prototype.start=0,e.prototype.titleForLog="",e.encode=function(e,t){return t||(t=o.create()),null!=e.id&&Object.hasOwnProperty.call(e,"id")&&t.uint32(8).uint32(e.id),null!=e.popupCode&&Ob
1ject.hasOwnProperty.call(e,"popupCode")&&t.uint32(18).string(e.popupCode),null!=e.subject&&Object.hasOwnProperty.call(e,"subject")&&t.uint32(26).string(e.subject),null!=e.body&&Object.hasOwnProperty.call(e,"body")&&t.uint32(34).string(e.body),null!=e.image&&Object.hasOwnProperty.call(e,"image")&&i.Proto.CiaoImage.encode(e.image,t.uint32(42).fork()).ldelim(),null!=e.okButton&&Object.hasOwnProperty.call(e,"okButton")&&t.uint32(50).string(e.okButton),null!=e.url&&Object.hasOwnProperty.call(e,"url")&&t.uint32(58).string(e.url),null!=e.targetBlank&&Object.hasOwnProperty.call(e,"targetBlank")&&t.uint32(64).bool(e.targetBlank),null!=e.type&&Object.hasOwnProperty.call(e,"type")&&t.uint32(72).int32(e.type),null!=e.start&&Object.hasOwnProperty.call(e,"start")&&t.uint32(80).uint32(e.start),null!=e.titleForLog&&Object.hasOwnProperty.call(e,"titleForLog")&&t.uint32(90).string(e.titleForLog),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.CiaoPopup;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.id=e.uint32();break;case 2:a.popupCode=e.string();break;case 3:a.subject=e.string();break;case 4:a.body=e.string();break;case 5:a.image=i.Proto.CiaoImage.decode(e,e.uint32());break;case 6:a.okButton=e.string();break;case 7:a.url=e.string();break;case 8:a.targetBlank=e.bool();break;case 9:a.type=e.int32();break;case 10:a.start=e.uint32();break;case 11:a.titleForLog=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.CiaoPopup"},e.CiaoPopupType=function(){let e={},t=Object.create(e);return t[e[0]="CONTACT"]=0,t[e[1]="POPUP"]=1,t[e[2]="SIGNUP_POPUP"]=2,t}(),e}(),e.CiaoSns=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.body="",e.prototype.url="",e.encode=function(e,t){return t||(t=o.create()),null!=e.body&&Object.hasOwnProperty.call(e,"body")&&t.uint32(10).string(e.body),null!=e.url&&Object.hasOwnProperty.call(e,"url")&&t.uint32(18).string(e.url),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.CiaoSns;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.body=e.string();break;case 2:a.url=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.CiaoSns"},e}(),e.CiaoTag=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.id="",e.prototype.type="",e.prototype.name="",e.prototype.url="",e.encode=function(e,t){return t||(t=o.create()),null!=e.id&&Object.hasOwnProperty.call(e,"id")&&t.uint32(10).string(e.id),null!=e.type&&Object.hasOwnProperty.call(e,"type")&&t.uint32(18).string(e.type),null!=e.name&&Object.hasOwnProperty.call(e,"name")&&t.uint32(26).string(e.name),null!=e.url&&Object.hasOwnProperty.call(e,"url")&&t.uint32(34).string(e.url),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.CiaoTag;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.id=e.string();break;case 2:a.type=e.string();break;case 3:a.name=e.string();break;case 4:a.url=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.CiaoTag"},e}(),e.CiaoTitle=function(){let e;function t(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return t.prototype.id=0,t.prototype.chapterId=0,t.prototype.name="",t.prototype.nameKana="",t.prototype.image=null,t.prototype.shortDescription="",t.prototype.campaign="",t.prototype.numberOfTotalChapterLikes=0,t.prototype.numberOfBookmarks=0,t.prototype.badge=0,t.prototype.ticketRecoveryTime=null,t.prototype.lastUpdated=0,t.prototype.latestFreeStory="",t.prototype.latestStory="",t.prototype.original=0,Object.defineProperty(t.prototype,"_ticketRecoveryTime",{get:r.oneOfGetter(e=["ticketRecoveryTime"]),set:r.oneOfSetter(e)}),t.encode=function(e,t){return t||(t=o.create()),null!=e.id&&Object.hasOwnProperty.call(e,"id")&&t.uint32(8).uint32(e.id),null!=e.chapterId&&Object.hasOwnProperty.call(e,"chapterId")&&t.uint32(16).uint32(e.chapterId),null!=e.name&&Object.hasOwnProperty.call(e,"name")&&t.uint32(26).string(e.name),null!=e.nameKana&&Object.hasOwnProperty.call(e,"nameKana")&&t.uint32(34).string(e.nameKana),null!=e.image&&Object.hasOwnProperty.call(e,"image")&&i.Proto.CiaoImage.encode(e.image,t.uint32(42).fork()).ldelim(),null!=e.shortDe
1scription&&Object.hasOwnProperty.call(e,"shortDescription")&&t.uint32(50).string(e.shortDescription),null!=e.campaign&&Object.hasOwnProperty.call(e,"campaign")&&t.uint32(58).string(e.campaign),null!=e.numberOfTotalChapterLikes&&Object.hasOwnProperty.call(e,"numberOfTotalChapterLikes")&&t.uint32(64).uint32(e.numberOfTotalChapterLikes),null!=e.numberOfBookmarks&&Object.hasOwnProperty.call(e,"numberOfBookmarks")&&t.uint32(72).uint32(e.numberOfBookmarks),null!=e.badge&&Object.hasOwnProperty.call(e,"badge")&&t.uint32(80).int32(e.badge),null!=e.ticketRecoveryTime&&Object.hasOwnProperty.call(e,"ticketRecoveryTime")&&t.uint32(88).uint32(e.ticketRecoveryTime),null!=e.lastUpdated&&Object.hasOwnProperty.call(e,"lastUpdated")&&t.uint32(96).uint32(e.lastUpdated),null!=e.latestFreeStory&&Object.hasOwnProperty.call(e,"latestFreeStory")&&t.uint32(106).string(e.latestFreeStory),null!=e.latestStory&&Object.hasOwnProperty.call(e,"latestStory")&&t.uint32(114).string(e.latestStory),null!=e.original&&Object.hasOwnProperty.call(e,"original")&&t.uint32(120).int32(e.original),t},t.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.CiaoTitle;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.id=e.uint32();break;case 2:a.chapterId=e.uint32();break;case 3:a.name=e.string();break;case 4:a.nameKana=e.string();break;case 5:a.image=i.Proto.CiaoImage.decode(e,e.uint32());break;case 6:a.shortDescription=e.string();break;case 7:a.campaign=e.string();break;case 8:a.numberOfTotalChapterLikes=e.uint32();break;case 9:a.numberOfBookmarks=e.uint32();break;case 10:a.badge=e.int32();break;case 11:a.ticketRecoveryTime=e.uint32();break;case 12:a.lastUpdated=e.uint32();break;case 13:a.latestFreeStory=e.string();break;case 14:a.latestStory=e.string();break;case 15:a.original=e.int32();break;default:e.skipType(7&t)}}return a},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.CiaoTitle"},t.Badge=function(){let e={},t=Object.create(e);return t[e[0]="NONE"]=0,t[e[1]="NEW"]=1,t[e[2]="UPDATE"]=2,t[e[3]="UNREAD"]=3,t}(),t.Original=function(){let e={},t=Object.create(e);return t[e[0]="ORIGINAL_NONE"]=0,t[e[1]="ORIGINAL"]=1,t}(),t}(),e.CiaoTitleList=function(){function e(e){if(this.titles=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.tag=null,e.prototype.titles=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.tag&&Object.hasOwnProperty.call(e,"tag")&&i.Proto.CiaoTag.encode(e.tag,t.uint32(10).fork()).ldelim(),null!=e.titles&&e.titles.length)for(let n=0;n<e.titles.length;++n)i.Proto.CiaoTitle.encode(e.titles[n],t.uint32(18).fork()).ldelim();return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.CiaoTitleList;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.tag=i.Proto.CiaoTag.decode(e,e.uint32());break;case 2:a.titles&&a.titles.length||(a.titles=[]),a.titles.push(i.Proto.CiaoTitle.decode(e,e.uint32()));break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.CiaoTitleList"},e}(),e.CiaoViewerLastPage=function(){function e(e){if(this.recommendedTitles=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.userPoint=null,e.prototype.isFavorite=!1,e.prototype.numberOfFavorites=0,e.prototype.numberOfLikes=0,e.prototype.numberOfMyLikes=0,e.prototype.isCommentEnabled=!1,e.prototype.numberOfComments=0,e.prototype.nextChapter=null,e.prototype.recommendedTitles=r.emptyArray,e.prototype.nextUpdateInfo="",e.prototype.displaySurvey=!1,e.encode=function(e,t){if(t||(t=o.create()),null!=e.userPoint&&Object.hasOwnProperty.call(e,"userPoint")&&i.Proto.CiaoPoint.encode(e.userPoint,t.uint32(10).fork()).ldelim(),null!=e.isFavorite&&Object.hasOwnProperty.call(e,"isFavorite")&&t.uint32(16).bool(e.isFavorite),null!=e.numberOfFavorites&&Object.hasOwnProperty.call(e,"numberOfFavorites")&&t.uint32(24).uint32(e.numberOfFavorites),null!=e.numberOfLikes&&Object.hasOwnProperty.call(e,"numberOfLikes")&&t.uint32(32).uint32(e.numberOfLikes),null!=e.numberOfMyLikes&&Object.hasOwnProperty.call(e,"numberOfMyLikes")&&t.uint32(40).uint32(e.numberOfMyLikes),null!=e.isCommentEnabled&&Object.hasOwnProperty.call(e,"isCommentEnabled")&&t.uint32(48).bool(e.isCommentEnabled),null!=e.numberOfComments&&Object.hasOwnProperty.call(e,"numberOfComments")&&t.uint32(56).uint32(e.numberOfComments),null!=e.nextChapter&&Object.hasOwnProperty.call(e,"nextChapter")&&i.Proto.CiaoChapter.encode(e.nextChapter,t.uint32(66).fork()).ldelim(),null!=e.recommendedTitles&&e.recommendedTitles.length)for(let n=0;n<e.recommendedTitles.length;++n)i.Proto.CiaoTitle.encode(e.recommendedTitles[n],t.uint32(74).fork()).ldelim();return null!=e.nextUpdateInfo&&Object.hasOwnProperty.call(e,"nextUpdateInfo")&&t.uint32(82).string(e.nextUpdateInfo),null!=e.displaySurvey&&Object.hasOwnProperty.call(e,"displaySurvey")&&t.uint32(88).bool(e.displaySurvey),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.CiaoViewerLastPage;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.userPoint=i.Proto.CiaoPoint.decode(e,e.uint32());break;case 2:a.isFavorite=e.bool();break;case 3:a.numberOfFavorites=e.uint32();break;case 4:a.numberOfLikes=e.uint32();break;case 5:a.numberOfMyLikes=e.uint32();break;case 6:a.isCommentEnabled=e.bool();break;case 7:a.numberOfComments=e.uint32();break;case 8:a.nextChapter=i.Proto.CiaoChapter.decode(e,e.uint32());break;case 9:a.recommendedTitles&&a.recommendedTitles.length||(a.recommendedTitles=[]),a.recommendedTitles.push(i.Proto.CiaoTitle.decode(e,e.uint32()));break;case 10:a.nextUpdateInfo=e.string();break;case 11:a.displaySurvey=e.bool();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.CiaoViewerLastPage"},e}(),e.Comment=function(){let e;function t(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return t.prototype.id=0,t.prototype.index=0,t.prototype.isMyComment=!1,t.prototype.alreadyLiked=!1,t.prototype.numberOfLikes=0,t.prototype.body=null,t.prototype.stamp=null,t.prototype.created=0,Object.defineProperty(t.prototype,"bodyOrStamp",{get:r.oneOfGetter(e=["body","stamp"]),set:r.oneOfSetter(e)}),t.encode=function(e,t){return t||(t=o.create()),null!=e.id&&Object.hasOwnProperty.call(e,"id")&&t.uint32(8).uint32(e.id),null!=e.index&&Object.hasOwnProperty.call(e,"index")&&t.uint32(16).uint32(e.index),null!=e.isMyComment&&Object.hasOwnProperty.call(e,"isMyComment")&&t.uint32(24).bool(e.isMyComment),null!=e.alreadyLiked&&Object.hasOwnProperty.call(e,"alreadyLiked")&&t.uint32(32).bool(e.alreadyLiked),null!=e.numberOfLikes&&Object.hasOwnProperty.call(e,"numberOfLikes")&&t.uint32(40).uint32(e.numberOfLikes),null!=e.body&&Object.hasOwnProperty.call(e,"body")&&t.uint32(50).string(e.body),null!=e.created&&Object.hasOwnProperty.call(e,"created")&&t.uint32(56).uint32(e.created),null!=e.stamp&&Object.hasOwnProperty.call(e,"stamp")&&i.Proto.Stamp.encode(e.stamp,t.uint32(74).fork()).ldelim(),t},t.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.Comment;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.id=e.uint32();break;case 2:a.index=e.uint32();break;case 3:a.isMyComment=e.bool();break;case 4:a.alreadyLiked=e.bool();break;case 5:a.numberOfLikes=e.uint32();break;case 6:a.body=e.string();break;case 9:a.stamp=i.Proto.Stamp.decode(e,e.uint32());break;case 7:a.created=e.uint32();break;default:e.skipType(7&t)}}return a},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.Comment"},t}(),e.Stamp=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.id=0,e.prototype.image=null,e.encode=function(e,t){return t||(t=o.create()),null!=e.id&&Object.hasOwnProperty.call(e,"id")&&t.uint32(8).uint32(e.id),null!=e.image&&Object.hasOwnProperty.call(e,"image")&&i.Proto.Image.encode(e.image,t.uint32(18).fork()).ldelim(),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.Stamp;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.id=e.uint32();break;case 2:a.image=i.Proto.Image.decode(e,e.uint32());break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.Stamp"},e}(),e.Contact=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.id=0,e.prototype.isReply=!1,e.prototype.body="",e.prototype.created=0,e.encode=function(e,t){return t||(t=o.create()),null!=e.id&&Object.hasOwnProperty.call(e,"id")&&t.uint32(8).uint32(e.id),null!=e.isReply&&Object.hasOwnProperty.call(e,"isReply")&&t.uint32(16).bool(e.isReply),null!=e.body&&Object.hasOwnProperty.call(e,"body")&&t.uint32(26).string(e.body),null!=e.created&&Object.hasOwnProperty.call(e,"created")&&t.uint32(32).uint32(e.created),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.Contact;
1for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.id=e.uint32();break;case 2:a.isReply=e.bool();break;case 3:a.body=e.string();break;case 4:a.created=e.uint32();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.Contact"},e}(),e.Fortune=function(){function e(e){if(this.hashTagsV2=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.id=0,e.prototype.image=null,e.prototype.name="",e.prototype.descriptionShort="",e.prototype.descriptionLong="",e.prototype.hashTags="",e.prototype.title=null,e.prototype.result=null,e.prototype.shareText="",e.prototype.hashTagsV2=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.id&&Object.hasOwnProperty.call(e,"id")&&t.uint32(8).uint32(e.id),null!=e.image&&Object.hasOwnProperty.call(e,"image")&&i.Proto.Image.encode(e.image,t.uint32(18).fork()).ldelim(),null!=e.name&&Object.hasOwnProperty.call(e,"name")&&t.uint32(26).string(e.name),null!=e.descriptionShort&&Object.hasOwnProperty.call(e,"descriptionShort")&&t.uint32(34).string(e.descriptionShort),null!=e.descriptionLong&&Object.hasOwnProperty.call(e,"descriptionLong")&&t.uint32(42).string(e.descriptionLong),null!=e.hashTags&&Object.hasOwnProperty.call(e,"hashTags")&&t.uint32(50).string(e.hashTags),null!=e.title&&Object.hasOwnProperty.call(e,"title")&&i.Proto.Title.encode(e.title,t.uint32(58).fork()).ldelim(),null!=e.result&&Object.hasOwnProperty.call(e,"result")&&i.Proto.Fortune.FortuneResult.encode(e.result,t.uint32(66).fork()).ldelim(),null!=e.shareText&&Object.hasOwnProperty.call(e,"shareText")&&t.uint32(74).string(e.shareText),null!=e.hashTagsV2&&e.hashTagsV2.length)for(let n=0;n<e.hashTagsV2.length;++n)i.Proto.Fortune.HashTags.encode(e.hashTagsV2[n],t.uint32(82).fork()).ldelim();return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.Fortune;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.id=e.uint32();break;case 2:a.image=i.Proto.Image.decode(e,e.uint32());break;case 3:a.name=e.string();break;case 4:a.descriptionShort=e.string();break;case 5:a.descriptionLong=e.string();break;case 6:a.hashTags=e.string();break;case 7:a.title=i.Proto.Title.decode(e,e.uint32());break;case 8:a.result=i.Proto.Fortune.FortuneResult.decode(e,e.uint32());break;case 9:a.shareText=e.string();break;case 10:a.hashTagsV2&&a.hashTagsV2.length||(a.hashTagsV2=[]),a.hashTagsV2.push(i.Proto.Fortune.HashTags.decode(e,e.uint32()));break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.Fortune"},e.FortuneResult=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.eventPoint=0,e.prototype.synastryPercentCharacter=0,e.encode=function(e,t){return t||(t=o.create()),null!=e.eventPoint&&Object.hasOwnProperty.call(e,"eventPoint")&&t.uint32(8).uint32(e.eventPoint),null!=e.synastryPercentCharacter&&Object.hasOwnProperty.call(e,"synastryPercentCharacter")&&t.uint32(16).uint32(e.synastryPercentCharacter),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.Fortune.FortuneResult;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.eventPoint=e.uint32();break;case 2:a.synastryPercentCharacter=e.uint32();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.Fortune.FortuneResult"},e}(),e.HashTags=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.name="",e.encode=function(e,t){return t||(t=o.create()),null!=e.name&&Object.hasOwnProperty.call(e,"name")&&t.uint32(10).string(e.name),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.Fortune.HashTags;for(;e.pos<r;){let t=e.uint32();if(t===o)break;t>>>3==1?a.name=e.string():e.skipType(7&t)}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.Fortune.HashTags"},e}(),e}(),e.Title=function(){let e;function t(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return t.prototype.id=0,t.prototype.chapterId=0,t.prototype.name="",t.prototype.nameKana="",t.prototype.image=null,t.prototype.shortDe
1scription="",t.prototype.campaign="",t.prototype.numberOfTotalChapterLikes=0,t.prototype.numberOfBookmarks=0,t.prototype.badge=0,t.prototype.ticketRecoveryTime=null,t.prototype.lastUpdated=0,t.prototype.isCommentEnabled=!1,t.prototype.latestFreeStory="",t.prototype.latestStory="",t.prototype.original=0,t.prototype.safeFilter=!1,Object.defineProperty(t.prototype,"_ticketRecoveryTime",{get:r.oneOfGetter(e=["ticketRecoveryTime"]),set:r.oneOfSetter(e)}),t.encode=function(e,t){return t||(t=o.create()),null!=e.id&&Object.hasOwnProperty.call(e,"id")&&t.uint32(8).uint32(e.id),null!=e.chapterId&&Object.hasOwnProperty.call(e,"chapterId")&&t.uint32(16).uint32(e.chapterId),null!=e.name&&Object.hasOwnProperty.call(e,"name")&&t.uint32(26).string(e.name),null!=e.nameKana&&Object.hasOwnProperty.call(e,"nameKana")&&t.uint32(34).string(e.nameKana),null!=e.image&&Object.hasOwnProperty.call(e,"image")&&i.Proto.Image.encode(e.image,t.uint32(42).fork()).ldelim(),null!=e.shortDescription&&Object.hasOwnProperty.call(e,"shortDescription")&&t.uint32(50).string(e.shortDescription),null!=e.campaign&&Object.hasOwnProperty.call(e,"campaign")&&t.uint32(58).string(e.campaign),null!=e.numberOfTotalChapterLikes&&Object.hasOwnProperty.call(e,"numberOfTotalChapterLikes")&&t.uint32(64).uint32(e.numberOfTotalChapterLikes),null!=e.numberOfBookmarks&&Object.hasOwnProperty.call(e,"numberOfBookmarks")&&t.uint32(72).uint32(e.numberOfBookmarks),null!=e.badge&&Object.hasOwnProperty.call(e,"badge")&&t.uint32(80).int32(e.badge),null!=e.ticketRecoveryTime&&Object.hasOwnProperty.call(e,"ticketRecoveryTime")&&t.uint32(88).uint32(e.ticketRecoveryTime),null!=e.lastUpdated&&Object.hasOwnProperty.call(e,"lastUpdated")&&t.uint32(96).uint32(e.lastUpdated),null!=e.isCommentEnabled&&Object.hasOwnProperty.call(e,"isCommentEnabled")&&t.uint32(104).bool(e.isCommentEnabled),null!=e.latestFreeStory&&Object.hasOwnProperty.call(e,"latestFreeStory")&&t.uint32(114).string(e.latestFreeStory),null!=e.latestStory&&Object.hasOwnProperty.call(e,"latestStory")&&t.uint32(122).string(e.latestStory),null!=e.original&&Object.hasOwnProperty.call(e,"original")&&t.uint32(128).int32(e.original),null!=e.safeFilter&&Object.hasOwnProperty.call(e,"safeFilter")&&t.uint32(136).bool(e.safeFilter),t},t.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.Title;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.id=e.uint32();break;case 2:a.chapterId=e.uint32();break;case 3:a.name=e.string();break;case 4:a.nameKana=e.string();break;case 5:a.image=i.Proto.Image.decode(e,e.uint32());break;case 6:a.shortDescription=e.string();break;case 7:a.campaign=e.string();break;case 8:a.numberOfTotalChapterLikes=e.uint32();break;case 9:a.numberOfBookmarks=e.uint32();break;case 10:a.badge=e.int32();break;case 11:a.ticketRecoveryTime=e.uint32();break;case 12:a.lastUpdated=e.uint32();break;case 13:a.isCommentEnabled=e.bool();break;case 14:a.latestFreeStory=e.string();break;case 15:a.latestStory=e.string();break;case 16:a.original=e.int32();break;case 17:a.safeFilter=e.bool();break;default:e.skipType(7&t)}}return a},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.Title"},t.Badge=function(){let e={},t=Object.create(e);return t[e[0]="NONE"]=0,t[e[1]="NEW"]=1,t[e[2]="UPDATE"]=2,t[e[3]="UNREAD"]=3,t}(),t.Original=function(){let e={},t=Object.create(e);return t[e[0]="ORIGINAL_NONE"]=0,t[e[1]="ORIGINAL"]=1,t[e[2]="CIAO_ORIGINAL"]=2,t}(),t}(),e.HamburgerMenuItem=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.slug="",e.prototype.href="",e.prototype.iconImage=null,e.prototype.iconName="",e.prototype.visibleOnlyLoggedIn=!1,e.encode=function(e,t){return t||(t=o.create()),null!=e.slug&&Object.hasOwnProperty.call(e,"slug")&&t.uint32(10).string(e.slug),null!=e.href&&Object.hasOwnProperty.call(e,"href")&&t.uint32(18).string(e.href),null!=e.iconImage&&Object.hasOwnProperty.call(e,"iconImage")&&i.Proto.Image.encode(e.iconImage,t.uint32(26).fork()).ldelim(),null!=e.iconName&&Object.hasOwnProperty.call(e,"iconName")&&t.uint32(34).string(e.iconName),null!=e.visibleOnlyLoggedIn&&Object.hasOwnProperty.call(e,"visibleOnlyLoggedIn")&&t.uint32(40).bool(e.visibleOnlyLoggedIn),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.HamburgerMenuItem;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.slug=e.string();break;case 2:a.href=e.string();break;case 3:a.iconImage=i.Proto.Image.decode(e,e.uint32());break;case 4:a.iconName=e.string();break;case 5:a.visibleOnlyLoggedIn=e.bool();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.HamburgerMenuItem"},e}(),e.LikeRanking=function(){function e(e){if(this.rankings=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.lastUpdated=0,e.prototype.rankings=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.lastUpdated&&Object.hasOwnProperty.call(e,"lastUpdated")&&t.uint32(8).uint32(e.lastUpdated),null!=e.rankings&&e.rankings.length)for(let n=0;n<e.rankings.length;++n)i.Proto.LikeRanking.LikeRankingSection.encode(e.rankings[n],t.uint32(18).fork()).ldelim();return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.LikeRanking;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.lastUpdated=e.uint32();break;case 2:a.rankings&&a.rankings.length||(a.rankings=[]),a.rankings.push(i.Proto.LikeRanking.LikeRankingSection.decode(e,e.uint32()));break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.LikeRanking"},e.LikeRankingSection=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.rank=0,e.prototype.title=null,e.prototype.numberOfLikes=0,e.prototype.likedAwardComment="",e.prototype.chapter=null,e.prototype.showReadButton=!1,e.prototype.userPoint=null,e.encode=function(e,t){return t||(t=o.create()),null!=e.rank&&Object.hasOwnProperty.call(e,"rank")&&t.uint32(8).uint32(e.rank),null!=e.title&&Object.hasOwnProperty.call(e,"title")&&i.Proto.Title.encode(e.title,t.uint32(18).fork()).ldelim(),null!=e.numberOfLikes&&Object.hasOwnProperty.call(e,"numberOfLikes")&&t.uint32(24).uint32(e.numberOfLikes),null!=e.likedAwardComment&&Object.hasOwnProperty.call(e,"likedAwardComment")&&t.uint32(34).string(e.likedAwardComment),null!=e.chapter&&Object.hasOwnProperty.call(e,"chapter")&&i.Proto.Chapter.encode(e.chapter,t.uint32(42).fork()).ldelim(),null!=e.showReadButton&&Object.hasOwnProperty.call(e,"showReadButton")&&t.uint32(48).bool(e.showReadButton),null!=e.userPoint&&Object.hasOwnProperty.call(e,"userPoint")&&i.Proto.Point.encode(e.userPoint,t.uint32(58).fork()).ldelim(),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.LikeRanking.LikeRankingSection;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.rank=e.uint32();break;case 2:a.title=i.Proto.Title.decode(e,e.uint32());break;case 3:a.numberOfLikes=e.uint32();break;case 4:a.likedAwardComment=e.string();break;case 5:a.chapter=i.Proto.Chapter.decode(e,e.uint32());break;case 6:a.showReadButton=e.bool();break;case 7:a.userPoint=i.Proto.Point.decode(e,e.uint32());break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.LikeRanking.LikeRankingSection"},e}(),e}(),e.Point=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.event=0,e.prototype.paid=0,e.encode=function(e,t){return t||(t=o.create()),null!=e.event&&Object.hasOwnProperty.call(e,"event")&&t.uint32(8).uint32(e.event),null!=e.paid&&Object.hasOwnProperty.call(e,"paid")&&t.uint32(16).uint32(e.paid),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.Point;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.event=e.uint32();break;case 2:a.paid=e.uint32();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.Point"},e}(),e.LoginValidation=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.emailErrMsg="",e.prototype.passwordErrMsg="",e.prototype.otherErrMsg="",e.encode=function(e,t){return t||(t=o.create()),null!=e.emailErrMsg&&Object.hasOwnProperty.call(e,"emailErrMsg")&&t.uint32(18).string(e.emailErrMsg),null!=e.passwordErrMsg&&Object.hasOwnProperty.call(e,"passwordErrMsg")&&t.uint32(26).string(e.passwordErrMsg),null!=e.otherErrMsg&&Object.hasOwnProperty.call(e,"otherErrMsg")&&t.uint32(34).string(e.otherErrMsg),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.LoginValidation;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 2:a.emailErrMsg=e.string();break;case 3:a.passwordErrMsg=e.string();break;case 4:a.otherErrMsg=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.LoginValidation"},e}(),e.MangaAwardPrize=function(){function e(e){if(this.benefits=[],this.notes=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.title="",e.prototype.order=0,e.prototype.prizeMoney="",e.prototype.benefits=r.emptyArray,e.prototype.notes=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.title&&Object.hasOwnProperty.call(e,"title")&&t.uint32(10).string(e.title),null!=e.order&&Object.hasOwnProperty.call(e,"order")&&t.uint32(16).uint32(e.order),null!=e.prizeMoney&&Object.hasOwnProperty.call(e,"prizeMoney")&&t.uint32(26).string(e.prizeMoney),null!=e.benefits&&e.benefits.length)for(let n=0;n<e.benefits.length;++n)t.uint32(34).string(e.benefits[n]);if(null!=e.notes&&e.notes.length)for(let n=0;n<e.notes.length;++n)t.uint32(42).string(e.notes[n]);return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.MangaAwardPrize;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.title=e.string();break;case 2:a.order=e.uint32();break;case 3:a.prizeMoney=e.string();break;case 4:a.benefits&&a.benefits.length||(a.benefits=[]),a.benefits.push(e.string());break;case 5:a.notes&&a.notes.length||(a.notes=[]),a.notes.push(e.string());break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.MangaAwardPrize"},e}(),e.Mission=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.id=0,e.prototype.name="",e.prototype.eventPoint=0,e.prototype.description="",e.prototype.url="",e.prototype.expiration="",e.prototype.achievedCount=0,e.prototype.totalCount=0,e.prototype.moveButton="",e.encode=function(e,t){return t||(t=o.create()),null!=e.id&&Object.hasOwnProperty.call(e,"id")&&t.uint32(8).uint32(e.id),null!=e.name&&Object.hasOwnProperty.call(e,"name")&&t.uint32(18).string(e.name),null!=e.eventPoint&&Object.hasOwnProperty.call(e,"eventPoint")&&t.uint32(24).uint32(e.eventPoint),null!=e.description&&Object.hasOwnProperty.call(e,"description")&&t.uint32(34).string(e.description),null!=e.url&&Object.hasOwnProperty.call(e,"url")&&t.uint32(42).string(e.url),null!=e.expiration&&Object.hasOwnProperty.call(e,"expiration")&&t.uint32(50).string(e.expiration),null!=e.achievedCount&&Object.hasOwnProperty.call(e,"achievedCount")&&t.uint32(56).uint32(e.achievedCount),null!=e.totalCount&&Object.hasOwnProperty.call(e,"totalCount")&&t.uint32(64).uint32(e.totalCount),null!=e.moveButton&&Object.hasOwnProperty.call(e,"moveButton")&&t.uint32(74).string(e.moveButton),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.Mission;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.id=e.uint32();break;case 2:a.name=e.string();break;case 3:a.eventPoint=e.uint32();break;case 4:a.description=e.string();break;case 5:a.url=e.string();break;case 6:a.expiration=e.string();break;case 7:a.achievedCount=e.uint32();break;case 8:a.totalCount=e.uint32();break;case 9:a.moveButton=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.Mission"},e}(),e.MyComment=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.id=0,e.prototype.index=0,e.prototype.titleId=0,e.prototype.chapterId=0,e.prototype.titleName="",e.prototype.chapterName="",e.prototype.chapterSubName="",e.prototype.numberOfLikes=0,e.prototype.body="",e.prototype.created=0,e.encode=function(e,t){return t||(t=o.create()),null!=e.id&&Object.hasOwnProperty.call(e,"id")&&t.uint32(8).uint32(e.id),null!=e.index&&Object.hasOwnProperty.call(e,"index")&&t.uint32(16).uint32(e.index),null!=e.titleId&&Object.hasOwnProperty.call(e,"titleId")&&t.uint32(24).uint32(e.titleId),null!=e.chapterId&&Object.hasOwnProperty.call(e,"chapterId")&&t.uint32(32).uint32(e.chapterId),null!=e.titleName&&Object.hasOwnProperty.call(e,"titleName")&&t.uint32(42).string(e.titleName),null!=e.chapterName&&Object.hasOwnProperty.call(e,"chapterName")&&t.uint32(50).string(e.chapterName),null!=e.chapterSubName&&Object.hasOwnProperty.call(e,"chapterSubName")&&t.uint32(58).string(e.chapterSubName),null!=e.numberOfLikes&&Object.hasOwnProperty.call(e,"numberOfLikes")&&t.uint32(64).uint32(e.numberOfLikes),null!=e.body&&Object.hasOwnProperty.call(e,"body")&&t.uint32(74).string(e.body),null!=e.created&&Object.hasOwnProperty.call(e,"created")&&t.uint32(80).uint32(e.created),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.MyComment;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.id=e.uint32();break;case 2:a.index=e.uint32();break;case 3:a.titleId=e.uint32();break;case 4:a.chapterId=e.uint32();break;case 5:a.titleName=e.string();break;case 6:a.chapterName=e.string();break;case 7:a.chapterSubName=e.string();break;case 8:a.numberOfLikes=e.uint32();break;case 9:a.body=e.string();break;case 10:a.created=e.uint32();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.MyComment"},e}(),e.Pickup=function(){function e(e){if(this.image=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}
1return e.prototype.id=0,e.prototype.name="",e.prototype.shortDescription="",e.prototype.image=r.emptyArray,e.prototype.moveButton="",e.encode=function(e,t){if(t||(t=o.create()),null!=e.id&&Object.hasOwnProperty.call(e,"id")&&t.uint32(8).uint32(e.id),null!=e.name&&Object.hasOwnProperty.call(e,"name")&&t.uint32(18).string(e.name),null!=e.shortDescription&&Object.hasOwnProperty.call(e,"shortDescription")&&t.uint32(26).string(e.shortDescription),null!=e.image&&e.image.length)for(let n=0;n<e.image.length;++n)i.Proto.Image.encode(e.image[n],t.uint32(34).fork()).ldelim();return null!=e.moveButton&&Object.hasOwnProperty.call(e,"moveButton")&&t.uint32(42).string(e.moveButton),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.Pickup;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.id=e.uint32();break;case 2:a.name=e.string();break;case 3:a.shortDescription=e.string();break;case 4:a.image&&a.image.length||(a.image=[]),a.image.push(i.Proto.Image.decode(e,e.uint32()));break;case 5:a.moveButton=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.Pickup"},e}(),e.PointBack=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.id=0,e.prototype.name="",e.prototype.rewardPoints=0,e.prototype.maxRewardPoints=0,e.encode=function(e,t){return t||(t=o.create()),null!=e.id&&Object.hasOwnProperty.call(e,"id")&&t.uint32(8).uint32(e.id),null!=e.name&&Object.hasOwnProperty.call(e,"name")&&t.uint32(18).string(e.name),null!=e.rewardPoints&&Object.hasOwnProperty.call(e,"rewardPoints")&&t.uint32(24).uint32(e.rewardPoints),null!=e.maxRewardPoints&&Object.hasOwnProperty.call(e,"maxRewardPoints")&&t.uint32(32).uint32(e.maxRewardPoints),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.PointBack;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.id=e.uint32();break;case 2:a.name=e.string();break;case 3:a.rewardPoints=e.uint32();break;case 4:a.maxRewardPoints=e.uint32();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.PointBack"},e}(),e.Popup=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.id=0,e.prototype.popupCode="",e.prototype.subject="",e.prototype.body="",e.prototype.image=null,e.prototype.okButton="",e.prototype.url="",e.prototype.targetBlank=!1,e.prototype.type=0,e.prototype.start=0,e.prototype.titleForLog="",e.encode=function(e,t){return t||(t=o.create()),null!=e.id&&Object.hasOwnProperty.call(e,"id")&&t.uint32(8).uint32(e.id),null!=e.popupCode&&Object.hasOwnProperty.call(e,"popupCode")&&t.uint32(18).string(e.popupCode),null!=e.subject&&Object.hasOwnProperty.call(e,"subject")&&t.uint32(26).string(e.subject),null!=e.body&&Object.hasOwnProperty.call(e,"body")&&t.uint32(34).string(e.body),null!=e.image&&Object.hasOwnProperty.call(e,"image")&&i.Proto.Image.encode(e.image,t.uint32(42).fork()).ldelim(),null!=e.okButton&&Object.hasOwnProperty.call(e,"okButton")&&t.uint32(50).string(e.okButton),null!=e.url&&Object.hasOwnProperty.call(e,"url")&&t.uint32(58).string(e.url),null!=e.targetBlank&&Object.hasOwnProperty.call(e,"targetBlank")&&t.uint32(64).bool(e.targetBlank),null!=e.type&&Object.hasOwnProperty.call(e,"type")&&t.uint32(72).int32(e.type),null!=e.start&&Object.hasOwnProperty.call(e,"start")&&t.uint32(80).uint32(e.start),null!=e.titleForLog&&Object.hasOwnProperty.call(e,"titleForLog")&&t.uint32(90).string(e.titleForLog),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.Popup;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.id=e.uint32();break;case 2:a.popupCode=e.string();break;case 3:a.subject=e.string();break;case 4:a.body=e.string();break;case 5:a.image=i.Proto.Image.decode(e,e.uint32());break;case 6:a.okButton=e.string();break;case 7:a.url=e.string();break;case 8:a.targetBlank=e.bool();break;case 9:a.type=e.int32();break;case 10:a.start=e.uint32();break;case 11:a.titleForLog=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.Popup"},e.PopupType=function(){let e={},t=Object.create(e);return t[e[0]="CONTACT"]=0,t[e[1]="POPUP"]=1,t[e[2]="SIGNUP_POPUP"]=2,t}(),e}(),e.Quiz=function(){function e(e){if(this.quizOption=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.id=0,e.prototype.quizText="",e.prototype.quizBanner=null,e.prototype.quizOption=r.emptyArray,e.prototype.hint=null,e.encode=function(e,t){if(t||(t=o.create()),null!=e.id&&Object.hasOwnProperty.call(e,"id")&&t.uint32(8).uint32(e.id),null!=e.quizText&&Object.hasOwnProperty.call(e,"quizText")&&t.uint32(18).string(e.quizText),null!=e.quizBanner&&Ob
1ject.hasOwnProperty.call(e,"quizBanner")&&i.Proto.Image.encode(e.quizBanner,t.uint32(26).fork()).ldelim(),null!=e.quizOption&&e.quizOption.length)for(let n=0;n<e.quizOption.length;++n)i.Proto.QuizOption.encode(e.quizOption[n],t.uint32(34).fork()).ldelim();return null!=e.hint&&Object.hasOwnProperty.call(e,"hint")&&i.Proto.Hint.encode(e.hint,t.uint32(42).fork()).ldelim(),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.Quiz;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.id=e.uint32();break;case 2:a.quizText=e.string();break;case 3:a.quizBanner=i.Proto.Image.decode(e,e.uint32());break;case 4:a.quizOption&&a.quizOption.length||(a.quizOption=[]),a.quizOption.push(i.Proto.QuizOption.decode(e,e.uint32()));break;case 5:a.hint=i.Proto.Hint.decode(e,e.uint32());break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.Quiz"},e}(),e.QuizOption=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.id=0,e.prototype.text="",e.prototype.optionBanner=null,e.encode=function(e,t){return t||(t=o.create()),null!=e.id&&Object.hasOwnProperty.call(e,"id")&&t.uint32(8).uint32(e.id),null!=e.text&&Object.hasOwnProperty.call(e,"text")&&t.uint32(18).string(e.text),null!=e.optionBanner&&Object.hasOwnProperty.call(e,"optionBanner")&&i.Proto.Image.encode(e.optionBanner,t.uint32(26).fork()).ldelim(),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.QuizOption;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.id=e.uint32();break;case 2:a.text=e.string();break;case 3:a.optionBanner=i.Proto.Image.decode(e,e.uint32());break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.QuizOption"},e}(),e.Hint=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.text="",e.prototype.chapter=null,e.prototype.externalUrl="",e.prototype.title=null,e.encode=function(e,t){return t||(t=o.create()),null!=e.text&&Object.hasOwnProperty.call(e,"text")&&t.uint32(10).string(e.text),null!=e.chapter&&Object.hasOwnProperty.call(e,"chapter")&&i.Proto.Chapter.encode(e.chapter,t.uint32(18).fork()).ldelim(),null!=e.externalUrl&&Object.hasOwnProperty.call(e,"externalUrl")&&t.uint32(26).string(e.externalUrl),null!=e.title&&Object.hasOwnProperty.call(e,"title")&&i.Proto.Title.encode(e.title,t.uint32(34).fork()).ldelim(),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.Hint;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.text=e.string();break;case 2:a.chapter=i.Proto.Chapter.decode(e,e.uint32());break;case 3:a.externalUrl=e.string();break;case 4:a.title=i.Proto.Title.decode(e,e.uint32());break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.Hint"},e}(),e.QuizSummary=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.id=0,e.prototype.title="",e.prototype.achievedCount=0,e.prototype.totalCount=0,e.encode=function(e,t){return t||(t=o.create()),null!=e.id&&Object.hasOwnProperty.call(e,"id")&&t.uint32(8).uint32(e.id),null!=e.title&&Object.hasOwnProperty.call(e,"title")&&t.uint32(18).string(e.title),null!=e.achievedCount&&Object.hasOwnProperty.call(e,"achievedCount")&&t.uint32(24).uint32(e.achievedCount),null!=e.totalCount&&Object.hasOwnProperty.call(e,"totalCount")&&t.uint32(32).uint32(e.totalCount),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.QuizSummary;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.id=e.uint32();break;case 2:a.title=e.string();break;case 3:a.achievedCount=e.uint32();break;case 4:a.totalCount=e.uint32();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.QuizSummary"},e}(),e.Sns=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.body="",e.prototype.url="",e.encode=function(e,t){return t||(t=o.create()),null!=e.body&&Object.hasOwnProperty.call(e,"body")&&t.uint32(10).string(e.body),null!=e.url&&Object.hasOwnProperty.call(e,"url")&&t.uint32(18).string(e.url),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.Sns;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.body=e.string();break;case 2:a.url=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.Sns"},e}(),e.SpecialBlock=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.id=0,e.prototype.image=null,e.encode=function(e,t){return t||(t=o.create()),null!=e.id&&Object.hasOwnProperty.call(e,"id")&&t.uint32(8).uint32(e.id),null!=e.image&&Object.hasOwnProperty.call(e,"image")&&i.Proto.Image.encode(e.image,t.uint32(18).fork()).ldelim(),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.SpecialBlock;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.id=e.uint32();break;case 2:a.image=i.Proto.Image.decode(e,e.uint32());break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.SpecialBlock"},e}(),e.Tag=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.id="",e.prototype.type="",e.prototype.name="",e.prototype.url="",e.encode=function(e,t){return t||(t=o.create()),null!=e.id&&Object.hasOwnProperty.call(e,"id")&&t.uint32(10).string(e.id),null!=e.type&&Object.hasOwnProperty.call(e,"type")&&t.uint32(18).string(e.type),null!=e.name&&Object.hasOwnProperty.call(e,"name")&&t.uint32(26).string(e.name),null!=e.url&&Object.hasOwnProperty.call(e,"url")&&t.uint32(34).string(e.url),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.Tag;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.id=e.string();break;case 2:a.type=e.string();break;case 3:a.name=e.string();break;case 4:a.url=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.Tag"},e}(),e.TitleList=function(){function e(e){if(this.titles=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.tag=null,e.prototype.titles=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.tag&&Object.hasOwnProperty.call(e,"tag")&&i.Proto.Tag.encode(e.tag,t.uint32(10).fork()).ldelim(),null!=e.titles&&e.titles.length)for(let n=0;n<e.titles.length;++n)i.Proto.Title.encode(e.titles[n],t.uint32(18).fork()).ldelim();return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.TitleList;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.tag=i.Proto.Tag.decode(e,e.uint32());break;case 2:a.titles&&a.titles.length||(a.titles=[]),a.titles.push(i.Proto.Title.decode(e,e.uint32()));break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.TitleList"},e}(),e.TopCommentSection=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.id=0,e.prototype.title="",e.prototype.body="",e.prototype.image=null,e.prototype.chapterId=0,e.encode=function(e,t){return t||(t=o.create()),null!=e.id&&Object.hasOwnProperty.call(e,"id")&&t.uint32(8).uint32(e.id),null!=e.title&&Object.hasOwnProperty.call(e,"title")&&t.uint32(18).string(e.title),null!=e.body&&Object.hasOwnProperty.call(e,"body")&&t.uint32(26).string(e.body),null!=e.image&&Object.hasOwnProperty.call(e,"image")&&i.Proto.Image.encode(e.image,t.uint32(34).fork()).ldelim(),null!=e.chapterId&&Object.hasOwnProperty.call(e,"chapterId")&&t.uint32(40).uint32(e.chapterId),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.TopCommentSection;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.id=e.uint32();break;case 2:a.title=e.string();break;case 3:a.body=e.string();break;case 4:a.image=i.Proto.Image.decode(e,e.uint32());break;case 5:a.chapterId=e.uint32();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.TopCommentSection"},e}(),e.ViewerLastPage=function(){function e(e){if(this.recommendedTitles=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.userPoint=null,e.prototype.isFavorite=!1,e.prototype.numberOfFavorites=0,e.prototype.numberOfLikes=0,e.prototype.numberOfMyLikes=0,e.prototype.isCommentEnabled=!1,e.prototype.numberOfComments=0,e.prototype.nextChapter=null,e.prototype.recommendedTitles=r.emptyArray,e.prototype.nextUpdateInfo="",e.prototype.displaySurvey=!1,e.encode=function(e,t){if(t||(t=o.create()),null!=e.userPoint&&Object.hasOwnProperty.call(e,"userPoint")&&i.Proto.Point.encode(e.userPoint,t.uint32(10).fork()).ldelim(),null!=e.isFavorite&&Object.hasOwnProperty.call(e,"isFavorite")&&t.uint32(16).bool(e.isFavorite),null!=e.numberOfFavorites&&Object.hasOwnProperty.call(e,"numberOfFavorites")&&t.uint32(24).uint32(e.numberOfFavorites),null!=e.numberOfLikes&&Object.hasOwnProperty.call(e,"numberOfLikes")&&t.uint32(32).uint32(e.numberOfLikes),null!=e.numberOfMyLikes&&Object.hasOwnProperty.call(e,"numberOfMyLikes")&&t.uint32(40).uint32(e.numberOfMyLikes),null!=e.isCommentEnabled&&Object.hasOwnProperty.call(e,"isCommentEnabled")&&t.uint32(48).bool(e.isCommentEnabled),null!=e.numberOfComments&&Object.hasOwnProperty.call(e,"numberOfComments")&&t.uint32(56).uint32(e.numberOfComments),null!=e.nextChapter&&Object.hasOwnProperty.call(e,"nextChapter")&&i.Proto.Chapter.encode(e.nextChapter,t.uint32(66).fork()).ldelim(),null!=e.recommendedTitles&&e.recommendedTitles.length)for(let n=0;n<e.recommendedTitles.length;++n)i.Proto.Title.encode(e.recommendedTitles[n],t.uint32(74).fork()).ldelim();return null!=e.nextUpdateInfo&&Object.hasOwnProperty.call(e,"nextUpdateInfo")&&t.uint32(82).string(e.nextUpdateInfo),null!=e.displaySurvey&&Object.hasOwnProperty.call(e,"displaySurvey")&&t.uint32(88).bool(e.displaySurvey),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.ViewerLastPage;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.userPoint=i.Proto.Point.decode(e,e.uint32());break;case 2:a.isFavorite=e.bool();break;case 3:a.numberOfFavorites=e.uint32();break;case 4:a.numberOfLikes=e.uint32();break;case 5:a.numberOfMyLikes=e.uint32();break;case 6:a.isCommentEnabled=e.bool();break;case 7:a.numberOfComments=e.uint32();break;case 8:a.nextChapter=i.Proto.Chapter.decode(e,e.uint32());break;case 9:a.recommendedTitles&&a.recommendedTitles.length||(a.recommendedTitles=[]),a.recommendedTitles.push(i.Proto.Title.decode(e,e.uint32()));break;case 10:a.nextUpdateInfo=e.string();break;case 11:a.displaySurvey=e.bool();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.ViewerLastPage"},e}(),e.AnnouncementListView=function(){function e(e){if(this.announcements=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.announcements=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.announcements&&e.announcements.length)for(let n=0;n<e.announcements.length;++n)i.Proto.Announcement.encode(e.announcements[n],t.uint32(10).fork()).ldelim();return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.AnnouncementListView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;t>>>3==1?(a.announcements&&a.announcements.length||(a.announcements=[]),a.announcements.push(i.Proto.Announcement.decode(e,e.uint32()))):e.ski
1pType(7&t)}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.AnnouncementListView"},e}(),e.AuthorDetailView=function(){function e(e){if(this.relatedTitles=[],this.sns=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.author=null,e.prototype.relatedTitles=r.emptyArray,e.prototype.sns=r.emptyArray,e.prototype.bio="",e.prototype.twitterId="",e.prototype.canFanletterPost=!1,e.encode=function(e,t){if(t||(t=o.create()),null!=e.author&&Object.hasOwnProperty.call(e,"author")&&i.Proto.Author.encode(e.author,t.uint32(10).fork()).ldelim(),null!=e.relatedTitles&&e.relatedTitles.length)for(let n=0;n<e.relatedTitles.length;++n)i.Proto.Title.encode(e.relatedTitles[n],t.uint32(18).fork()).ldelim();if(null!=e.sns&&e.sns.length)for(let n=0;n<e.sns.length;++n)i.Proto.AuthorDetailView.Sns.encode(e.sns[n],t.uint32(26).fork()).ldelim();return null!=e.bio&&Object.hasOwnProperty.call(e,"bio")&&t.uint32(34).string(e.bio),null!=e.twitterId&&Object.hasOwnProperty.call(e,"twitterId")&&t.uint32(42).string(e.twitterId),null!=e.canFanletterPost&&Object.hasOwnProperty.call(e,"canFanletterPost")&&t.uint32(48).bool(e.canFanletterPost),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.AuthorDetailView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.author=i.Proto.Author.decode(e,e.uint32());break;case 2:a.relatedTitles&&a.relatedTitles.length||(a.relatedTitles=[]),a.relatedTitles.push(i.Proto.Title.decode(e,e.uint32()));break;case 3:a.sns&&a.sns.length||(a.sns=[]),a.sns.push(i.Proto.AuthorDetailView.Sns.decode(e,e.uint32()));break;case 4:a.bio=e.string();break;case 5:a.twitterId=e.string();break;case 6:a.canFanletterPost=e.bool();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.AuthorDetailView"},e.Sns=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.type=0,e.prototype.url="",e.encode=function(e,t){return t||(t=o.create()),null!=e.type&&Object.hasOwnProperty.call(e,"type")&&t.uint32(8).int32(e.type),null!=e.url&&Object.hasOwnProperty.call(e,"url")&&t.uint32(18).string(e.url),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.AuthorDetailView.Sns;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.type=e.int32();break;case 2:a.url=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.AuthorDetailView.Sns"},e}(),e.SnsType=function(){let e={},t=Object.create(e);return t[e[0]="BLOG"]=0,t[e[1]="HP"]=1,t[e[2]="FACEBOOK"]=2,t[e[3]="INSTAGRAM"]=3,t[e[4]="LITLINK"]=4,t[e[5]="MIXI"]=5,t[e[6]="NOTE"]=6,t[e[7]="PIXIV"]=7,t[e[8]="TIKTOK"]=8,t[e[9]="TWITTER"]=9,t[e[10]="YOUTUBE"]=10,t}(),e}(),e.AuthorListView=function(){function e(e){if(this.authors=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.authors=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.authors&&e.authors.length)for(let n=0;n<e.authors.length;++n)i.Proto.Author.encode(e.authors[n],t.uint32(10).fork()).ldelim();return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.AuthorListView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;t>>>3==1?(a.authors&&a.authors.length||(a.authors=[]),a.authors.push(i.Proto.Author.decode(e,e.uint32()))):e.skipType(7&t)}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.AuthorListView"},e}(),e.AwardPortalView=function(){function e(e){if(this.awardView=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.awardView=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.awardView&&e.awardView.length)for(let n=0;n<e.awardView.length;++n)i.Proto.AwardView.encode(e.awardView[n],t.uint32(10).fork()).ldelim();return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.AwardPortalView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;t>>>3==1?(a.awardView&&a.awardView.length||(a.awardView=[]),a.awardView.push(i.Proto.AwardView.decode(e,e.uint32()))):e.ski
1pType(7&t)}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.AwardPortalView"},e}(),e.AwardView=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.bannerId=0,e.prototype.bannerImage=null,e.prototype.url="",e.encode=function(e,t){return t||(t=o.create()),null!=e.bannerId&&Object.hasOwnProperty.call(e,"bannerId")&&t.uint32(8).uint32(e.bannerId),null!=e.bannerImage&&Object.hasOwnProperty.call(e,"bannerImage")&&i.Proto.Image.encode(e.bannerImage,t.uint32(18).fork()).ldelim(),null!=e.url&&Object.hasOwnProperty.call(e,"url")&&t.uint32(26).string(e.url),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.AwardView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.bannerId=e.uint32();break;case 2:a.bannerImage=i.Proto.Image.decode(e,e.uint32());break;case 3:a.url=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.AwardView"},e}(),e.CampaignArchiveListView=function(){function e(e){if(this.campaigns=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.campaigns=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.campaigns&&e.campaigns.length)for(let n=0;n<e.campaigns.length;++n)i.Proto.Campaign.encode(e.campaigns[n],t.uint32(10).fork()).ldelim();return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.CampaignArchiveListView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;t>>>3==1?(a.campaigns&&a.campaigns.length||(a.campaigns=[]),a.campaigns.push(i.Proto.Campaign.decode(e,e.uint32()))):e.skipType(7&t)}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.CampaignArchiveListView"},e}(),e.Campaign=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.campaignId=0,e.prototype.campaignImage=null,e.prototype.campaignTitle="",e.prototype.campaignStartDate="",e.prototype.campaignEndDate="",e.prototype.campaignUrl="",e.encode=function(e,t){return t||(t=o.create()),null!=e.campaignId&&Object.hasOwnProperty.call(e,"campaignId")&&t.uint32(8).uint32(e.campaignId),null!=e.campaignImage&&Object.hasOwnProperty.call(e,"campaignImage")&&i.Proto.Image.encode(e.campaignImage,t.uint32(18).fork()).ldelim(),null!=e.campaignTitle&&Object.hasOwnProperty.call(e,"campaignTitle")&&t.uint32(26).string(e.campaignTitle),null!=e.campaignStartDate&&Object.hasOwnProperty.call(e,"campaignStartDate")&&t.uint32(34).string(e.campaignStartDate),null!=e.campaignEndDate&&Object.hasOwnProperty.call(e,"campaignEndDate")&&t.uint32(42).string(e.campaignEndDate),null!=e.campaignUrl&&Object.hasOwnProperty.call(e,"campaignUrl")&&t.uint32(50).string(e.campaignUrl),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.Campaign;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.campaignId=e.uint32();break;case 2:a.campaignImage=i.Proto.Image.decode(e,e.uint32());break;case 3:a.campaignTitle=e.string();break;case 4:a.campaignStartDate=e.string();break;case 5:a.campaignEndDate=e.string();break;case 6:a.campaignUrl=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.Campaign"},e}(),e.CiaoHomeView=function(){function e(e){if(this.topBanners=[],this.updatedTitles=[],this.rankings=[],this.tagRelatedTitles=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.topBanners=r.emptyArray,e.prototype.updatedTitles=r.emptyArray,e.prototype.rankings=r.emptyArray,e.prototype.tagRelatedTitles=r.emptyArray,e.prototype.popup=null,e.encode=function(e,t){if(t||(t=o.create()),null!=e.topBanners&&e.topBanners.length)for(let n=0;n<e.topBanners.length;++n)i.Proto.CiaoBanner.encode(e.topBanners[n],t.uint32(10).fork()).ldelim();if(null!=e.updatedTitles&&e.updatedTitles.length)for(let n=0;n<e.updatedTitles.length;++n)i.Proto.CiaoTitle.encode(e.updatedTitles[n],t.uint32(18).fork()).ldelim();if(null!=e.rankings&&e.rankings.length)for(let n=0;n<e.rankings.length;++n)i.Proto.CiaoTitleList.encode(e.rankings[n],t.uint32(26).fork()).ldelim();if(null!=e.tagRelatedTitles&&e.tagRelatedTitles.length)for(let n=0;n<e.tagRelatedTitles.length;++n)i.Proto.CiaoTitleList.encode(e.tagRelatedTitles[n],t.uint32(34).fork()).ldelim();return null!=e.popup&&Object.hasOwnProperty.call(e,"popup")&&i.Proto.CiaoPopup.encode(e.popup,t.uint32(42).fork()).ldelim(),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.CiaoHomeView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.topBanners&&a.topBanners.length||(a.topBanners=[]),a.topBanners.push(i.Proto.CiaoBanner.decode(e,e.uint32()));break;case 2:a.updatedTitles&&a.updatedTitles.length||(a.updatedTitles=[]),a.updatedTitles.push(i.Proto.CiaoTitle.decode(e,e.uint32()));break;case 3:a.rankings&&a.rankings.length||(a.rankings=[]),a.rankings.push(i.Proto.CiaoTitleList.decode(e,e.uint32()));break;case 4:a.tagRelatedTitles&&a.tagRelatedTitles.length||(a.tagRelatedTitles=[]),a.tagRelatedTitles.push(i.Proto.CiaoTitleList.decode(e,e.uint32()));break;case 5:a.popup=i.Proto.CiaoPopup.decode(e,e.uint32());break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.CiaoHomeView"},e}
1(),e.CiaoTitleDetailView=function(){function e(e){if(this.authors=[],this.tags=[],this.chapters=[],this.bannerLink=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.userPoint=null,e.prototype.title=null,e.prototype.authors=r.emptyArray,e.prototype.tags=r.emptyArray,e.prototype.isFavorite=!1,e.prototype.longDescription="",e.prototype.nextUpdateInfo="",e.prototype.chapters=r.emptyArray,e.prototype.movieUrl="",e.prototype.volumeShopUrl="",e.prototype.magazineBanner=null,e.prototype.viewButton=null,e.prototype.rewardUrl="",e.prototype.sns=null,e.prototype.freeRecommendation=null,e.prototype.continueChapterId=0,e.prototype.bannerLink=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.userPoint&&Object.hasOwnProperty.call(e,"userPoint")&&i.Proto.CiaoPoint.encode(e.userPoint,t.uint32(10).fork()).ldelim(),null!=e.title&&Object.hasOwnProperty.call(e,"title")&&i.Proto.CiaoTitle.encode(e.title,t.uint32(18).fork()).ldelim(),null!=e.authors&&e.authors.length)for(let n=0;n<e.authors.length;++n)i.Proto.CiaoAuthor.encode(e.authors[n],t.uint32(26).fork()).ldelim();if(null!=e.tags&&e.tags.length)for(let n=0;n<e.tags.length;++n)i.Proto.CiaoTag.encode(e.tags[n],t.uint32(34).fork()).ldelim();if(null!=e.isFavorite&&Object.hasOwnProperty.call(e,"isFavorite")&&t.uint32(40).bool(e.isFavorite),null!=e.longDescription&&Object.hasOwnProperty.call(e,"longDescription")&&t.uint32(50).string(e.longDescription),null!=e.nextUpdateInfo&&Object.hasOwnProperty.call(e,"nextUpdateInfo")&&t.uint32(58).string(e.nextUpdateInfo),null!=e.chapters&&e.chapters.length)for(let n=0;n<e.chapters.length;++n)i.Proto.CiaoChapter.encode(e.chapters[n],t.uint32(66).fork()).ldelim();if(null!=e.movieUrl&&Object.hasOwnProperty.call(e,"movieUrl")&&t.uint32(74).string(e.movieUrl),null!=e.volumeShopUrl&&Object.hasOwnProperty.call(e,"volumeShopUrl")&&t.uint32(82).string(e.volumeShopUrl),null!=e.magazineBanner&&Object.hasOwnProperty.call(e,"magazineBanner")&&i.Proto.CiaoTitleDetailView.MagazineBanner.encode(e.magazineBanner,t.uint32(90).fork()).ldelim(),null!=e.viewButton&&Object.hasOwnProperty.call(e,"viewButton")&&i.Proto.CiaoTitleDetailView.ViewButton.encode(e.viewButton,t.uint32(98).fork()).ldelim(),null!=e.rewardUrl&&Object.hasOwnProperty.call(e,"rewardUrl")&&t.uint32(106).string(e.rewardUrl),null!=e.sns&&Object.hasOwnProperty.call(e,"sns")&&i.Proto.CiaoSns.encode(e.sns,t.uint32(114).fork()).ldelim(),null!=e.freeRecommendation&&Object.hasOwnProperty.call(e,"freeRecommendation")&&i.Proto.CiaoTitle.encode(e.freeRecommendation,t.uint32(122).fork()).ldelim(),null!=e.continueChapterId&&Object.hasOwnProperty.call(e,"continueChapterId")&&t.uint32(128).uint32(e.continueChapterId),null!=e.bannerLink&&e.bannerLink.length)for(let n=0;n<e.bannerLink.length;++n)i.Proto.CiaoTitleDetailView.BannerLink.encode(e.bannerLink[n],t.uint32(138).fork()).ldelim();return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.CiaoTitleDetailView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.userPoint=i.Proto.CiaoPoint.decode(e,e.uint32());break;case 2:a.title=i.Proto.CiaoTitle.decode(e,e.uint32());break;case 3:a.authors&&a.authors.length||(a.authors=[]),a.authors.push(i.Proto.CiaoAuthor.decode(e,e.uint32()));break;case 4:a.tags&&a.tags.length||(a.tags=[]),a.tags.push(i.Proto.CiaoTag.decode(e,e.uint32()));break;case 5:a.isFavorite=e.bool();break;case 6:a.longDescription=e.string();break;case 7:a.nextUpdateInfo=e.string();break;case 8:a.chapters&&a.chapters.length||(a.chapters=[]),a.chapters.push(i.Proto.CiaoChapter.decode(e,e.uint32()));break;case 9:a.movieUrl=e.string();break;case 10:a.volumeShopUrl=e.string();break;case 11:a.magazineBanner=i.Proto.CiaoTitleDetailView.MagazineBanner.decode(e,e.uint32());break;case 12:a.viewButton=i.Proto.CiaoTitleDetailView.ViewButton.decode(e,e.uint32());break;case 13:a.rewardUrl=e.string();break;case 14:a.sns=i.Proto.CiaoSns.decode(e,e.uint32());break;case 15:a.freeRecommendation=i.Proto.CiaoTitle.decode(e,e.uint32());break;case 16:a.continueChapterId=e.uint32();break;case 17:a.bannerLink&&a.bannerLink.length||(a.bannerLink=[]),a.bannerLink.push(i.Proto.CiaoTitleDetailVie
1w.BannerLink.decode(e,e.uint32()));break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.CiaoTitleDetailView"},e.ViewButton=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.chapter=null,e.prototype.buttonTitle="",e.encode=function(e,t){return t||(t=o.create()),null!=e.chapter&&Object.hasOwnProperty.call(e,"chapter")&&i.Proto.CiaoChapter.encode(e.chapter,t.uint32(10).fork()).ldelim(),null!=e.buttonTitle&&Object.hasOwnProperty.call(e,"buttonTitle")&&t.uint32(18).string(e.buttonTitle),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.CiaoTitleDetailView.ViewButton;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.chapter=i.Proto.CiaoChapter.decode(e,e.uint32());break;case 2:a.buttonTitle=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.CiaoTitleDetailView.ViewButton"},e}(),e.MagazineBanner=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.image=null,e.prototype.description="",e.encode=function(e,t){return t||(t=o.create()),null!=e.image&&Object.hasOwnProperty.call(e,"image")&&i.Proto.CiaoImage.encode(e.image,t.uint32(10).fork()).ldelim(),null!=e.description&&Object.hasOwnProperty.call(e,"description")&&t.uint32(18).string(e.description),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.CiaoTitleDetailView.MagazineBanner;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.image=i.Proto.CiaoImage.decode(e,e.uint32());break;case 2:a.description=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.CiaoTitleDetailView.MagazineBanner"},e}(),e.BannerLink=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.campaignUrl="",e.prototype.bannerType=0,e.prototype.bannerImage=null,e.prototype.text="",e.prototype.bannerId=0,e.prototype.bannerSlotId=0,e.encode=function(e,t){return t||(t=o.create()),null!=e.campaignUrl&&Object.hasOwnProperty.call(e,"campaignUrl")&&t.uint32(10).string(e.campaignUrl),null!=e.bannerType&&Object.hasOwnProperty.call(e,"bannerType")&&t.uint32(16).int32(e.bannerType),null!=e.bannerImage&&Object.hasOwnProperty.call(e,"bannerImage")&&i.Proto.CiaoImage.encode(e.bannerImage,t.uint32(26).fork()).ldelim(),null!=e.text&&Object.hasOwnProperty.call(e,"text")&&t.uint32(34).string(e.text),null!=e.bannerId&&Object.hasOwnProperty.call(e,"bannerId")&&t.uint32(40).uint32(e.bannerId),null!=e.bannerSlotId&&Object.hasOwnProperty.call(e,"bannerSlotId")&&t.uint32(48).uint32(e.bannerSlotId),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.CiaoTitleDetailView.BannerLink;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.campaignUrl=e.string();break;case 2:a.bannerType=e.int32();break;case 3:a.bannerImage=i.Proto.CiaoImage.decode(e,e.uint32());break;case 4:a.text=e.string();break;case 5:a.bannerId=e.uint32();break;case 6:a.bannerSlotId=e.uint32();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.CiaoTitleDetailView.BannerLink"},e}(),e.BannerType=function(){let e={},t=Object.create(e);return t[e[0]="campaign_text"]=0,t[e[1]="campaign_banner"]=1,t}(),e}(),e.CiaoTitleListListView=function(){function e(e){if(this.titleLists=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.titleLists=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.titleLists&&e.titleLists.length)for(let n=0;n<e.titleLists.length;++n)i.Proto.CiaoTitleList.encode(e.titleLists[n],t.uint32(10).fork()).ldelim();return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.CiaoTitleListListView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;t>>>3==1?(a.titleLists&&a.titleLists.length||(a.titleLists=[]),a.titleLists.push(i.Proto.CiaoTitleList.decode(e,e.uint32()))):e.ski
1pType(7&t)}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.CiaoTitleListListView"},e}(),e.CiaoTitleListView=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.titles=null,e.encode=function(e,t){return t||(t=o.create()),null!=e.titles&&Object.hasOwnProperty.call(e,"titles")&&i.Proto.CiaoTitleList.encode(e.titles,t.uint32(10).fork()).ldelim(),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.CiaoTitleListView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;t>>>3==1?a.titles=i.Proto.CiaoTitleList.decode(e,e.uint32()):e.skipType(7&t)}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.CiaoTitleListView"},e}(),e.CiaoViewerSeoView=function(){function e(e){if(this.authors=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.title=null,e.prototype.chapter=null,e.prototype.authors=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.title&&Object.hasOwnProperty.call(e,"title")&&i.Proto.CiaoTitle.encode(e.title,t.uint32(10).fork()).ldelim(),null!=e.chapter&&Object.hasOwnProperty.call(e,"chapter")&&i.Proto.CiaoChapter.encode(e.chapter,t.uint32(18).fork()).ldelim(),null!=e.authors&&e.authors.length)for(let n=0;n<e.authors.length;++n)i.Proto.CiaoAuthor.encode(e.authors[n],t.uint32(26).fork()).ldelim();return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.CiaoViewerSeoView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.title=i.Proto.CiaoTitle.decode(e,e.uint32());break;case 2:a.chapter=i.Proto.CiaoChapter.decode(e,e.uint32());break;case 3:a.authors&&a.authors.length||(a.authors=[]),a.authors.push(i.Proto.CiaoAuthor.decode(e,e.uint32()));break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.CiaoViewerSeoView"},e}(),e.CiaoViewerView=function(){function e(e){if(this.pages=[],this.beforeBanners=[],this.afterBanners=[],this.chapters=[],this.authors=[],this.missions=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.userPoint=null,e.prototype.pages=r.emptyArray,e.prototype.beforeBanners=r.emptyArray,e.prototype.afterBanners=r.emptyArray,e.prototype.currentChapter=null,e.prototype.prevChapter=null,e.prototype.nextChapter=null,e.prototype.pageStart=0,e.prototype.scroll=0,e.prototype.chapters=r.emptyArray,e.prototype.volumeShopUrl="",e.prototype.lastPage=null,e.prototype.title=null,e.prototype.sns=null,e.prototype.authors=r.emptyArray,e.prototype.missions=r.emptyArray,e.prototype.aesKey="",e.prototype.aesIv="",e.prototype.result=0,e.prototype.freeRecommendation=null,e.encode=function(e,t){if(t||(t=o.create()),null!=e.userPoint&&Object.hasOwnProperty.call(e,"userPoint")&&i.Proto.CiaoPoint.encode(e.userPoint,t.uint32(10).fork()).ldelim(),null!=e.pages&&e.pages.length)for(let n=0;n<e.pages.length;++n)i.Proto.CiaoImage.encode(e.pages[n],t.uint32(18).fork()).ldelim();if(null!=e.beforeBanners&&e.beforeBanners.length)for(let n=0;n<e.beforeBanners.length;++n)i.Proto.CiaoBanner.encode(e.beforeBanners[n],t.uint32(26).fork()).ldelim();if(null!=e.afterBanners&&e.afterBanners.length)for(let n=0;n<e.afterBanners.length;++n)i.Proto.CiaoBanner.encode(e.afterBanners[n],t.uint32(34).fork()).ldelim();if(null!=e.currentChapter&&Object.hasOwnProperty.call(e,"currentChapter")&&i.Proto.CiaoChapter.encode(e.currentChapter,t.uint32(42).fork()).ldelim(),null!=e.prevChapter&&Object.hasOwnProperty.call(e,"prevChapter")&&i.Proto.CiaoChapter.encode(e.prevChapter,t.uint32(50).fork()).ldelim(),null!=e.nextChapter&&Object.hasOwnProperty.call(e,"nextChapter")&&i.Proto.CiaoChapter.encode(e.nextChapter,t.uint32(58).fork()).ldelim(),null!=e.pageStart&&Object.hasOwnProperty.call(e,"pageStart")&&t.uint32(64).int32(e.pageStart),null!=e.scroll&&Object.hasOwnProperty.call(e,"scroll")&&t.uint32(72).int32(e.scroll),null!=e.chapters&&e.chapters.length)for(let n=0;n<e.chapters.length;++n)i.Proto.CiaoChapter.encode(e.chapters[n],t.uint32(82).fork()).ldelim();if(null!=e.volumeShopUrl&&Object.hasOwnProperty.call(e,"volumeShopUrl")&&t.uint32(90).string(e.volumeShopUrl),null!=e.lastPage&&Object.hasOwnProperty.call(e,"lastPage")&&i.Proto.CiaoViewerLastPage.encode(e.lastPage,t.uint32(98).fork()).ldelim(),null!=e.title&&Object.hasOwnProperty.call(e,"title")&&i.Proto.CiaoTitle.encode(e.title,t.uint32(106).fork()).ldelim(),null!=e.sns&&Object.hasOwnProperty.call(e,"sns")&&i.Proto.CiaoSns.encode(e.sns,t.uint32(114).fork()).ldelim(),null!=e.authors&&e.authors.length)for(let n=0;n<e.authors.length;++n)i.Proto.CiaoAuthor.encode(e.authors[n],t.uint32(122).fork()).ldelim();if(null!=e.missions&&e.missions.length)for(let n=0;n<e.missions.length;++n)i.Proto.CiaoMission.encode(e.missions[n],t.uint32(130).fork()).ldelim();return null!=e.aesKey&&Object.hasOwnProperty.call(e,"aesKey")&&t.uint32(138).string(e.aesKey),null!=e.aesIv&&Ob
1ject.hasOwnProperty.call(e,"aesIv")&&t.uint32(146).string(e.aesIv),null!=e.result&&Object.hasOwnProperty.call(e,"result")&&t.uint32(152).int32(e.result),null!=e.freeRecommendation&&Object.hasOwnProperty.call(e,"freeRecommendation")&&i.Proto.CiaoTitle.encode(e.freeRecommendation,t.uint32(162).fork()).ldelim(),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.CiaoViewerView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.userPoint=i.Proto.CiaoPoint.decode(e,e.uint32());break;case 2:a.pages&&a.pages.length||(a.pages=[]),a.pages.push(i.Proto.CiaoImage.decode(e,e.uint32()));break;case 3:a.beforeBanners&&a.beforeBanners.length||(a.beforeBanners=[]),a.beforeBanners.push(i.Proto.CiaoBanner.decode(e,e.uint32()));break;case 4:a.afterBanners&&a.afterBanners.length||(a.afterBanners=[]),a.afterBanners.push(i.Proto.CiaoBanner.decode(e,e.uint32()));break;case 5:a.currentChapter=i.Proto.CiaoChapter.decode(e,e.uint32());break;case 6:a.prevChapter=i.Proto.CiaoChapter.decode(e,e.uint32());break;case 7:a.nextChapter=i.Proto.CiaoChapter.decode(e,e.uint32());break;case 8:a.pageStart=e.int32();break;case 9:a.scroll=e.int32();break;case 10:a.chapters&&a.chapters.length||(a.chapters=[]),a.chapters.push(i.Proto.CiaoChapter.decode(e,e.uint32()));break;case 11:a.volumeShopUrl=e.string();break;case 12:a.lastPage=i.Proto.CiaoViewerLastPage.decode(e,e.uint32());break;case 13:a.title=i.Proto.CiaoTitle.decode(e,e.uint32());break;case 14:a.sns=i.Proto.CiaoSns.decode(e,e.uint32());break;case 15:a.authors&&a.authors.length||(a.authors=[]),a.authors.push(i.Proto.CiaoAuthor.decode(e,e.uint32()));break;case 16:a.missions&&a.missions.length||(a.missions=[]),a.missions.push(i.Proto.CiaoMission.decode(e,e.uint32()));break;case 17:a.aesKey=e.string();break;case 18:a.aesIv=e.string();break;case 19:a.result=e.int32();break;case 20:a.freeRecommendation=i.Proto.CiaoTitle.decode(e,e.uint32());break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.CiaoViewerView"},e.PageStart=function(){let e={},t=Object.create(e);return t[e[0]="LEFT"]=0,t[e[1]="RIGHT"]=1,t}(),e.ScrollDirection=function(){let e={},t=Object.create(e);return t[e[0]="HORIZONTAL_LEFT"]=0,t[e[1]="HORIZONTAL_RIGHT"]=1,t[e[2]="VERTICAL"]=2,t}(),e.Result=function(){let e={},t=Object.create(e);return t[e[0]="SUCCESS"]=0,t[e[1]="AUTHENTICATION_ERROR"]=1,t[e[2]="NOT_PAYMENT_ERROR"]=2,t}(),e}(),e.CommentListView=function(){function e(e){if(this.comments=[],this.missions=[],this.stamp=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.comments=r.emptyArray,e.prototype.canPost=!1,e.prototype.title=null,e.prototype.chapter=null,e.prototype.missions=r.emptyArray,e.prototype.hasPostedComment=!1,e.prototype.hasHappyWord=!1,e.prototype.animation=0,e.prototype.postType=0,e.prototype.stamp=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.comments&&e.comments.length)for(let n=0;n<e.comments.length;++n)i.Proto.Comment.encode(e.comments[n],t.uint32(10).fork()).ldelim();if(null!=e.canPost&&Object.hasOwnProperty.call(e,"canPost")&&t.uint32(16).bool(e.canPost),null!=e.title&&Object.hasOwnProperty.call(e,"title")&&i.Proto.Title.encode(e.title,t.uint32(26).fork()).ldelim(),null!=e.chapter&&Object.hasOwnProperty.call(e,"chapter")&&i.Proto.Chapter.encode(e.chapter,t.uint32(34).fork()).ldelim(),null!=e.missions&&e.missions.length)for(let n=0;n<e.missions.length;++n)i.Proto.Mission.encode(e.missions[n],t.uint32(42).fork()).ldelim();if(null!=e.hasPostedComment&&Object.hasOwnProperty.call(e,"hasPostedComment")&&t.uint32(48).bool(e.hasPostedComment),null!=e.hasHappyWord&&Object.hasOwnProperty.call(e,"hasHappyWord")&&t.uint32(56).bool(e.hasHappyWord),null!=e.animation&&Object.hasOwnProperty.call(e,"animation")&&t.uint32(64).int32(e.animation),null!=e.postType&&Object.hasOwnProperty.call(e,"postType")&&t.uint32(72).int32(e.postType),null!=e.stamp&&e.stamp.length)for(let n=0;n<e.stamp.length;++n)i.Proto.Stamp.encode(e.stamp[n],t.uint32(82).fork()).ldelim();return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.CommentListView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.comments&&a.comments.length||(a.comments=[]),a.comments.push(i.Proto.Comment.decode(e,e.uint32()));break;case 2:a.canPost=e.bool();break;case 3:a.title=i.Proto.Title.decode(e,e.uint32());break;case 4:a.chapter=i.Proto.Chapter.decode(e,e.uint32());break;case 5:a.missions&&a.missions.length||(a.missions=[]),a.missions.push(i.Proto.Mission.decode(e,e.uint32()));break;case 6:a.hasPostedComment=e.bool();break;case 7:a.hasHappyWord=e.bool();break;case 8:a.animation=e.int32();break;case 9:a.postType=e.int32();break;case 10:a.stamp&&a.stamp.length||(a.stamp=[]),a.stamp.push(i.Proto.Stamp.decode(e,e.uint32()));break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.CommentListView"},e}(),e.Animation=function(){let e={},t=Object.create(e);return t[e[0]="STARLIGHT_BACKGROUND"]=0,t}(),e.PostType=function(){let e={},t=Object.create(e);return t[e[0]="ALL"]=0,t[e[1]="COMMENT_ONLY"]=1,t[e[2]="STAMP_ONLY"]=2,t[e[3]="NONE"]=3,t}(),e.CommentStampView=function(){function e(e){if(this.stamps=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.stamps=r.emptyArray,e.prototype.postType=0,e.encode=function(e,t){if(t||(t=o.create()),null!=e.stamps&&e.stamps.length)for(let n=0;n<e.stamps.length;++n)i.Proto.Stamp.encode(e.stamps[n],t.uint32(10).fork()).ldelim();return null!=e.postType&&Object.hasOwnProperty.call(e,"postType")&&t.uint32(16).int32(e.postType),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.CommentStampView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.stamps&&a.stamps.length||(a.stamps=[]),a.stamps.push(i.Proto.Stamp.decode(e,e.uint32()));break;case 2:a.postType=e.int32();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.CommentStampView"},e}(),e.ContactListView=function(){function e(e){if(this.contacts=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.contacts=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.contacts&&e.contacts.length)for(let n=0;n<e.contacts.length;++n)i.Proto.Contact.encode(e.contacts[n],t.uint32(10).fork()).ldelim();return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.ContactListView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;t>>>3==1?(a.contacts&&a.contacts.length||(a.contacts=[]),a.contacts.push(i.Proto.Contact.decode(e,e.uint32()))):e.ski
1pType(7&t)}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.ContactListView"},e}(),e.CopyrightListView=function(){function e(e){if(this.copyrightNotice=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.copyrightNotice=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.copyrightNotice&&e.copyrightNotice.length)for(let n=0;n<e.copyrightNotice.length;++n)i.Proto.CopyrightListView.CopyrightNotice.encode(e.copyrightNotice[n],t.uint32(10).fork()).ldelim();return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.CopyrightListView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;t>>>3==1?(a.copyrightNotice&&a.copyrightNotice.length||(a.copyrightNotice=[]),a.copyrightNotice.push(i.Proto.CopyrightListView.CopyrightNotice.decode(e,e.uint32()))):e.skipType(7&t)}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.CopyrightListView"},e.CopyrightNotice=function(){function e(e){if(this.copyright=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.titleName="",e.prototype.copyright=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.titleName&&Object.hasOwnProperty.call(e,"titleName")&&t.uint32(10).string(e.titleName),null!=e.copyright&&e.copyright.length)for(let n=0;n<e.copyright.length;++n)t.uint32(18).string(e.copyright[n]);return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.CopyrightListView.CopyrightNotice;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.titleName=e.string();break;case 2:a.copyright&&a.copyright.length||(a.copyright=[]),a.copyright.push(e.string());break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.CopyrightListView.CopyrightNotice"},e}(),e}(),e.FortuneListView=function(){function e(e){if(this.fortuneList=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.fortuneList=r.emptyArray,e.prototype.choiceOfToday=null,e.prototype.isTodayFortuneChecked=!1,e.encode=function(e,t){if(t||(t=o.create()),null!=e.fortuneList&&e.fortuneList.length)for(let n=0;n<e.fortuneList.length;++n)i.Proto.Fortune.encode(e.fortuneList[n],t.uint32(10).fork()).ldelim();return null!=e.choiceOfToday&&Object.hasOwnProperty.call(e,"choiceOfToday")&&i.Proto.Fortune.encode(e.choiceOfToday,t.uint32(18).fork()).ldelim(),null!=e.isTodayFortuneChecked&&Object.hasOwnProperty.call(e,"isTodayFortuneChecked")&&t.uint32(24).bool(e.isTodayFortuneChecked),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.FortuneListView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.fortuneList&&a.fortuneList.length||(a.fortuneList=[]),a.fortuneList.push(i.Proto.Fortune.decode(e,e.uint32()));break;case 2:a.choiceOfToday=i.Proto.Fortune.decode(e,e.uint32());break;case 3:a.isTodayFortuneChecked=e.bool();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.FortuneListView"},e}(),e.FortuneOgpView=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.ogpTitle="",e.prototype.ogpDescription="",e.prototype.ogpImage=null,e.encode=function(e,t){return t||(t=o.create()),null!=e.ogpTitle&&Object.hasOwnProperty.call(e,"ogpTitle")&&t.uint32(10).string(e.ogpTitle),null!=e.ogpImage&&Object.hasOwnProperty.call(e,"ogpImage")&&i.Proto.Image.encode(e.ogpImage,t.uint32(18).fork()).ldelim(),null!=e.ogpDescription&&Object.hasOwnProperty.call(e,"ogpDescription")&&t.uint32(26).string(e.ogpDescription),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.FortuneOgpView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.ogpTitle=e.string();break;case 3:a.ogpDescription=e.string();break;case 2:a.ogpImage=i.Proto.Image.decode(e,e.uint32());break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.FortuneOgpView"},e}(),e.FortuneResultView=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.result=null,e.encode=function(e,t){return t||(t=o.create()),null!=e.result&&Object.hasOwnProperty.call(e,"result")&&i.Proto.Fortune.encode(e.result,t.uint32(10).fork()).ldelim(),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.FortuneResultView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;t>>>
13==1?a.result=i.Proto.Fortune.decode(e,e.uint32()):e.skipType(7&t)}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.FortuneResultView"},e}(),e.GiftConfirmView=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.state=0,e.prototype.eventPoint=0,e.encode=function(e,t){return t||(t=o.create()),null!=e.state&&Object.hasOwnProperty.call(e,"state")&&t.uint32(8).int32(e.state),null!=e.eventPoint&&Object.hasOwnProperty.call(e,"eventPoint")&&t.uint32(16).uint32(e.eventPoint),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.GiftConfirmView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.state=e.int32();break;case 2:a.eventPoint=e.uint32();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.GiftConfirmView"},e.State=function(){let e={},t=Object.create(e);return t[e[0]="NONE"]=0,t[e[1]="VALID"]=1,t[e[2]="INVALID"]=2,t[e[3]="EXPIRED"]=3,t[e[4]="USED"]=4,t[e[5]="LIMIT"]=5,t}(),e}(),e.HomeView=function(){function e(e){if(this.topBanners=[],this.updatedTitles=[],this.rankings=[],this.tagRelatedTitles=[],this.oneShots=[],this.topSubBanners=[],this.commentSection=[],this.continueTitles=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.userPoint=null,e.prototype.announcement=null,e.prototype.topBanners=r.emptyArray,e.prototype.updatedTitles=r.emptyArray,e.prototype.pickup=null,e.prototype.rankings=r.emptyArray,e.prototype.tagRelatedTitles=r.emptyArray,e.prototype.oneShots=r.emptyArray,e.prototype.popup=null,e.prototype.pushPermission=!1,e.prototype.topSubBanners=r.emptyArray,e.prototype.commentSection=r.emptyArray,e.prototype.continueTitles=r.emptyArray,e.prototype.alreadyOpenedPwa=!1,e.encode=function(e,t){if(t||(t=o.create()),null!=e.userPoint&&Object.hasOwnProperty.call(e,"userPoint")&&i.Proto.Point.encode(e.userPoint,t.uint32(10).fork()).ldelim(),null!=e.announcement&&Object.hasOwnProperty.call(e,"announcement")&&i.Proto.Announcement.encode(e.announcement,t.uint32(18).fork()).ldelim(),null!=e.topBanners&&e.topBanners.length)for(let n=0;n<e.topBanners.length;++n)i.Proto.Banner.encode(e.topBanners[n],t.uint32(26).fork()).ldelim();if(null!=e.updatedTitles&&e.updatedTitles.length)for(let n=0;n<e.updatedTitles.length;++n)i.Proto.Title.encode(e.updatedTitles[n],t.uint32(34).fork()).ldelim();if(null!=e.pickup&&Object.hasOwnProperty.call(e,"pickup")&&i.Proto.Pickup.encode(e.pickup,t.uint32(42).fork()).ldelim(),null!=e.rankings&&e.rankings.length)for(let n=0;n<e.rankings.length;++n)i.Proto.TitleList.encode(e.rankings[n],t.uint32(50).fork()).ldelim();if(null!=e.tagRelatedTitles&&e.tagRelatedTitles.length)for(let n=0;n<e.tagRelatedTitles.length;++n)i.Proto.TitleList.encode(e.tagRelatedTitles[n],t.uint32(58).fork()).ldelim();if(null!=e.oneShots&&e.oneShots.length)for(let n=0;n<e.oneShots.length;++n)i.Proto.Title.encode(e.oneShots[n],t.uint32(66).fork()).ldelim();if(null!=e.popup&&Object.hasOwnProperty.call(e,"popup")&&i.Proto.Popup.encode(e.popup,t.uint32(74).fork()).ldelim(),null!=e.pushPermission&&Object.hasOwnProperty.call(e,"pushPermission")&&t.uint32(80).bool(e.pushPermission),null!=e.topSubBanners&&e.topSubBanners.length)for(let n=0;n<e.topSubBanners.length;++n)i.Proto.Banner.encode(e.topSubBanners[n],t.uint32(90).fork()).ldelim();if(null!=e.commentSection&&e.commentSection.length)for(let n=0;n<e.commentSection.length;++n)i.Proto.TopCommentSection.encode(e.commentSection[n],t.uint32(98).fork()).ldelim();if(null!=e.continueTitles&&e.continueTitles.length)for(let n=0;n<e.continueTitles.length;++n)i.Proto.Title.encode(e.continueTitles[n],t.uint32(106).fork()).ldelim();return null!=e.alreadyOpenedPwa&&Object.hasOwnProperty.call(e,"alreadyOpenedPwa")&&t.uint32(112).bool(e.alreadyOpenedPwa),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.HomeView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.userPoint=i.Proto.Point.decode(e,e.uint32());break;case 2:a.announcement=i.Proto.Announcement.decode(e,e.uint32());break;case 3:a.topBanners&&a.topBanners.length||(a.topBanners=[]),a.topBanners.push(i.Proto.Banner.decode(e,e.uint32()));break;case 4:a.updatedTitles&&a.updatedTitles.length||(a.updatedTitles=[]),a.updatedTitles.push(i.Proto.Title.decode(e,e.uint32()));break;case 5:a.pickup=i.Proto.Pickup.decode(e,e.uint32());break;case 6:a.rankings&&a.rankings.length||(a.rankings=[]),a.rankings.push(i.Proto.TitleList.decode(e,e.uint32()));break;case 7:a.tagRelatedTitles&&a.tagRelatedTitles.length||(a.tagRelatedTitles=[]),a.tagRelatedTitles.push(i.Proto.TitleList.decode(e,e.uint32()));break;case 8:a.oneShots&&a.oneShots.length||(a.oneShots=[]),a.oneShots.push(i.Proto.Title.decode(e,e.uint32()));break;case 9:a.popup=i.Proto.Popup.decode(e,e.uint32());break;case 10:a.pushPermission=e.bool();break;case 11:a.topSubBanners&&a.topSubBanners.length||(a.topSubBanners=[]),a.topSubBanners.push(i.Proto.Banner.decode(e,e.uint32()));break;case 12:a.commentSection&&a.commentSection.length||(a.commentSection=[]),a.commentSection.push(i.Proto.TopCommentSection.decode(e,e.uint32()));break;case 13:a.continueTitles&&a.continueTitles.length||(a.continueTitles=[]),a.continueTitles.push(i.Proto.Title.decode(e,e.uint32()));break;case 14:a.alreadyOpenedPwa=e.bool();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.HomeView"},e}(),e.HoshihitomiLotteryView=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.status=!1,e.prototype.lotteryStatus=0,e.encode=function(e,t){return t||(t=o.create()),null!=e.status&&Object.hasOwnProperty.call(e,"status")&&t.uint32(8).bool(e.status),null!=e.lotteryStatus&&Object.hasOwnProperty.call(e,"lotteryStatus")&&t.uint32(16).int32(e.lotteryStatus),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.HoshihitomiLotteryView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.status=e.bool();break;case 2:a.lotteryStatus=e.int32();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.HoshihitomiLotteryView"},e.HoshihitomiLotteryStatus=function(){let e={},t=Object.create(e);return t[e[0]="LOTTERY_PERIOD"]=0,t[e[1]="LOTTERY_END"]=1,t}(),e}(),e.KitagawaPopularityView=function(){function e(e){if(this.votingCandidateImages=[],this.resultRankingImages=[],this.publishedTitles=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.votingCandidateImages=r.emptyArray,e.prototype.votePerio
1dStatus=0,e.prototype.resultRankingImages=r.emptyArray,e.prototype.lpUrl="",e.prototype.publishedTitles=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.votingCandidateImages&&e.votingCandidateImages.length)for(let n=0;n<e.votingCandidateImages.length;++n)i.Proto.KitagawaPopularityView.VotingCandidateImage.encode(e.votingCandidateImages[n],t.uint32(10).fork()).ldelim();if(null!=e.votePeriodStatus&&Object.hasOwnProperty.call(e,"votePeriodStatus")&&t.uint32(16).int32(e.votePeriodStatus),null!=e.resultRankingImages&&e.resultRankingImages.length)for(let n=0;n<e.resultRankingImages.length;++n)i.Proto.Image.encode(e.resultRankingImages[n],t.uint32(26).fork()).ldelim();if(null!=e.lpUrl&&Object.hasOwnProperty.call(e,"lpUrl")&&t.uint32(34).string(e.lpUrl),null!=e.publishedTitles&&e.publishedTitles.length)for(let n=0;n<e.publishedTitles.length;++n)i.Proto.Title.encode(e.publishedTitles[n],t.uint32(42).fork()).ldelim();return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.KitagawaPopularityView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.votingCandidateImages&&a.votingCandidateImages.length||(a.votingCandidateImages=[]),a.votingCandidateImages.push(i.Proto.KitagawaPopularityView.VotingCandidateImage.decode(e,e.uint32()));break;case 2:a.votePeriodStatus=e.int32();break;case 3:a.resultRankingImages&&a.resultRankingImages.length||(a.resultRankingImages=[]),a.resultRankingImages.push(i.Proto.Image.decode(e,e.uint32()));break;case 4:a.lpUrl=e.string();break;case 5:a.publishedTitles&&a.publishedTitles.length||(a.publishedTitles=[]),a.publishedTitles.push(i.Proto.Title.decode(e,e.uint32()));break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.KitagawaPopularityView"},e.VotingCandidateImage=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.voteId=0,e.prototype.titleId=0,e.prototype.coverPicture=null,e.prototype.isPortrait=!1,e.encode=function(e,t){return t||(t=o.create()),null!=e.voteId&&Object.hasOwnProperty.call(e,"voteId")&&t.uint32(8).uint32(e.voteId),null!=e.titleId&&Object.hasOwnProperty.call(e,"titleId")&&t.uint32(16).uint32(e.titleId),null!=e.coverPicture&&Object.hasOwnProperty.call(e,"coverPicture")&&i.Proto.Image.encode(e.coverPicture,t.uint32(26).fork()).ldelim(),null!=e.isPortrait&&Object.hasOwnProperty.call(e,"isPortrait")&&t.uint32(32).bool(e.isPortrait),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.KitagawaPopularityView.VotingCandidateImage;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.voteId=e.uint32();break;case 2:a.titleId=e.uint32();break;case 3:a.coverPicture=i.Proto.Image.decode(e,e.uint32());break;case 4:a.isPortrait=e.bool();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.KitagawaPopularityView.VotingCandidateImage"},e}(),e.VotePeriodStatus=function(){let e={},t=Object.create(e);return t[e[0]="VOTING_PERIOD"]=0,t[e[1]="VOTING_END"]=1,t[e[2]="RESULT_ANNOUNCEMENT"]=2,t}(),e}(),e.KitagawaPopularityVoteOgpView=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.ogpTitle="",e.prototype.ogpDescription="",e.prototype.ogpImage=null,e.encode=function(e,t){return t||(t=o.create()),null!=e.ogpTitle&&Object.hasOwnProperty.call(e,"ogpTitle")&&t.uint32(10).string(e.ogpTitle),null!=e.ogpImage&&Object.hasOwnProperty.call(e,"ogpImage")&&i.Proto.Image.encode(e.ogpImage,t.uint32(18).fork()).ldelim(),null!=e.ogpDescription&&Object.hasOwnProperty.call(e,"ogpDescription")&&t.uint32(26).string(e.ogpDescription),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.KitagawaPopularityVoteOgpView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.ogpTitle=e.string();break;case 3:a.ogpDescription=e.string();break;case 2:a.ogpImage=i.Proto.Image.decode(e,e.uint32());break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.KitagawaPopularityVoteOgpView"},e}(),e.LayoutView=function(){function e(e){if(this.hamburgerMenuItems=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.hamburgerMenuItems=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.hamburgerMenuItems&&e.hamburgerMenuItems.length)for(let n=0;n<e.hamburgerMenuItems.length;++n)i.Proto.HamburgerMenuItem.encode(e.hamburgerMenuItems[n],t.uint32(10).fork()).ldelim();return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.LayoutView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;t>>>3==1?(a.hamburgerMenuItems&&a.hamburgerMenuItems.length||(a.hamburgerMenuItems=[]),a.hamburgerMenuItems.push(i.Proto.HamburgerMenuItem.decode(e,e.uint32()))):e.ski
1pType(7&t)}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.LayoutView"},e}(),e.LikeRankingListView=function(){function e(e){if(this.rankings=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.rankings=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.rankings&&e.rankings.length)for(let n=0;n<e.rankings.length;++n)i.Proto.LikeRanking.encode(e.rankings[n],t.uint32(10).fork()).ldelim();return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.LikeRankingListView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;t>>>3==1?(a.rankings&&a.rankings.length||(a.rankings=[]),a.rankings.push(i.Proto.LikeRanking.decode(e,e.uint32()))):e.skipType(7&t)}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.LikeRankingListView"},e}(),e.LoginTeaserView=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.result=!1,e.prototype.loginValidation=null,e.encode=function(e,t){return t||(t=o.create()),null!=e.result&&Object.hasOwnProperty.call(e,"result")&&t.uint32(8).bool(e.result),null!=e.loginValidation&&Object.hasOwnProperty.call(e,"loginValidation")&&i.Proto.LoginValidation.encode(e.loginValidation,t.uint32(18).fork()).ldelim(),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.LoginTeaserView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.result=e.bool();break;case 2:a.loginValidation=i.Proto.LoginValidation.decode(e,e.uint32());break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.LoginTeaserView"},e}(),e.LoginView=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.result=!1,e.prototype.url="",e.prototype.loginValidation=null,e.prototype.items=null,e.encode=function(e,t){return t||(t=o.create()),null!=e.result&&Object.hasOwnProperty.call(e,"result")&&t.uint32(8).bool(e.result),null!=e.url&&Object.hasOwnProperty.call(e,"url")&&t.uint32(18).string(e.url),null!=e.loginValidation&&Object.hasOwnProperty.call(e,"loginValidation")&&i.Proto.LoginValidation.encode(e.loginValidation,t.uint32(26).fork()).ldelim(),null!=e.items&&Object.hasOwnProperty.call(e,"items")&&i.Proto.LoginView.TermsOfUseItemsRequiredAgreement.encode(e.items,t.uint32(34).fork()).ldelim(),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.LoginView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.result=e.bool();break;case 2:a.url=e.string();break;case 3:a.loginValidation=i.Proto.LoginValidation.decode(e,e.uint32());break;case 4:a.items=i.Proto.LoginView.TermsOfUseItemsRequiredAgreement.decode(e,e.uint32());break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.LoginView"},e.TermsOfUseItemsRequiredAgreement=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.flowerComics=!1,e.prototype.digitalComicsService=!1,e.encode=function(e,t){return t||(t=o.create()),null!=e.flowerComics&&Object.hasOwnProperty.call(e,"flowerComics")&&t.uint32(8).bool(e.flowerComics),null!=e.digitalComicsService&&Object.hasOwnProperty.call(e,"digitalComicsService")&&t.uint32(16).bool(e.digitalComicsService),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.LoginView.TermsOfUseItemsRequiredAgreement;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.flowerComics=e.bool();break;case 2:a.digitalComicsService=e.bool();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.LoginView.TermsOfUseItemsRequiredAgreement"},e}(),e}(),e.LotteryView=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.status=!1,e.prototype.lotteryStatus=0,e.encode=function(e,t){return t||(t=o.create()),null!=e.status&&Object.hasOwnProperty.call(e,"status")&&t.uint32(8).bool(e.status),null!=e.lotteryStatus&&Object.hasOwnProperty.call(e,"lotteryStatus")&&t.uint32(16).int32(e.lotteryStatus),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.LotteryView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.status=e.bool();break;case 2:a.lotteryStatus=e.int32();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.LotteryView"},e.LotteryStatus=function(){let e={},t=Object.create(e);return t[e[0]="LOTTERY_PERIOD"]=0,t[e[1]="LOTTERY_END"]=1,t}(),e}(),e.MailNotificationView=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.receiveFavoriteUpdate=!1,e.prototype.receiveSiteAnnouncement=!1,e.encode=function(e,t){return t||(t=o.create()),null!=e.receiveFavoriteUpdate&&Object.hasOwnProperty.call(e,"receiveFavoriteUpdate")&&t.uint32(8).bool(e.receiveFavoriteUpdate),null!=e.receiveSiteAnnouncement&&Object.hasOwnProperty.call(e,"receiveSiteAnnouncement")&&t.uint32(16).bool(e.receiveSiteAnnouncement),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.MailNotificationView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.receiveFavoriteUpdate=e.bool();break;case 2:a.receiveSiteAnnouncement=e.bool();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.MailNotificationView"},e}(),e.MangaAwardApplicationView=function(){function e(e){if(this.prizeList=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.awardTitle="",e.prototype.awardSessionTitle="",e.prototype.heroBanner=null,e.prototype.leadText="",e.prototype.applicationStartDate="",e.prototype.applicationEndDate="",e.prototype.resultAnnouncementDate="",e.prototype.prizeList=r.emptyArray,e.prototype.hasPreviousSession=!1,e.encode=function(e,t){if(t||(t=o.create()),null!=e.awardTitle&&Object.hasOwnProperty.call(e,"awardTitle")&&t.uint32(10).string(e.awardTitle),null!=e.awardSessionTitle&&Object.hasOwnProperty.call(e,"awardSessionTitle")&&t.uint32(18).string(e.awardSessionTitle),null!=e.heroBanner&&Ob
1ject.hasOwnProperty.call(e,"heroBanner")&&i.Proto.Image.encode(e.heroBanner,t.uint32(26).fork()).ldelim(),null!=e.leadText&&Object.hasOwnProperty.call(e,"leadText")&&t.uint32(34).string(e.leadText),null!=e.applicationStartDate&&Object.hasOwnProperty.call(e,"applicationStartDate")&&t.uint32(42).string(e.applicationStartDate),null!=e.applicationEndDate&&Object.hasOwnProperty.call(e,"applicationEndDate")&&t.uint32(50).string(e.applicationEndDate),null!=e.resultAnnouncementDate&&Object.hasOwnProperty.call(e,"resultAnnouncementDate")&&t.uint32(58).string(e.resultAnnouncementDate),null!=e.prizeList&&e.prizeList.length)for(let n=0;n<e.prizeList.length;++n)i.Proto.MangaAwardPrize.encode(e.prizeList[n],t.uint32(66).fork()).ldelim();return null!=e.hasPreviousSession&&Object.hasOwnProperty.call(e,"hasPreviousSession")&&t.uint32(72).bool(e.hasPreviousSession),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.MangaAwardApplicationView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.awardTitle=e.string();break;case 2:a.awardSessionTitle=e.string();break;case 3:a.heroBanner=i.Proto.Image.decode(e,e.uint32());break;case 4:a.leadText=e.string();break;case 5:a.applicationStartDate=e.string();break;case 6:a.applicationEndDate=e.string();break;case 7:a.resultAnnouncementDate=e.string();break;case 8:a.prizeList&&a.prizeList.length||(a.prizeList=[]),a.prizeList.push(i.Proto.MangaAwardPrize.decode(e,e.uint32()));break;case 9:a.hasPreviousSession=e.bool();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.MangaAwardApplicationView"},e}(),e.MangaAwardResultView=function(){function e(e){if(this.prizes=[],this.historyResults=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.awardTitle="",e.prototype.leadText="",e.prototype.roundResult=null,e.prototype.prizes=r.emptyArray,e.prototype.nextApplicationBanner=null,e.prototype.historyResults=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.awardTitle&&Object.hasOwnProperty.call(e,"awardTitle")&&t.uint32(10).string(e.awardTitle),null!=e.leadText&&Object.hasOwnProperty.call(e,"leadText")&&t.uint32(18).string(e.leadText),null!=e.roundResult&&Object.hasOwnProperty.call(e,"roundResult")&&i.Proto.MangaAwardResultView.MangaAwardRoundResult.encode(e.roundResult,t.uint32(26).fork()).ldelim(),null!=e.prizes&&e.prizes.length)for(let n=0;n<e.prizes.length;++n)i.Proto.MangaAwardPrize.encode(e.prizes[n],t.uint32(34).fork()).ldelim();if(null!=e.nextApplicationBanner&&Object.hasOwnProperty.call(e,"nextApplicationBanner")&&i.Proto.Banner.encode(e.nextApplicationBanner,t.uint32(42).fork()).ldelim(),null!=e.historyResults&&e.historyResults.length)for(let n=0;n<e.historyResults.length;++n)i.Proto.MangaAwardResultView.MangaAwardRoundResult.encode(e.historyResults[n],t.uint32(50).fork()).ldelim();return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.MangaAwardResultView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.awardTitle=e.string();break;case 2:a.leadText=e.string();break;case 3:a.roundResult=i.Proto.MangaAwardResultView.MangaAwardRoundResult.decode(e,e.uint32());break;case 4:a.prizes&&a.prizes.length||(a.prizes=[]),a.prizes.push(i.Proto.MangaAwardPrize.decode(e,e.uint32()));break;case 5:a.nextApplicationBanner=i.Proto.Banner.decode(e,e.uint32());break;case 6:a.historyResults&&a.historyResults.length||(a.historyResults=[]),a.historyResults.push(i.Proto.MangaAwardResultView.MangaAwardRoundResult.decode(e,e.uint32()));break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.MangaAwardResultView"},e.MangaAwardRoundResult=function(){function e(e){if(this.prizedTitleInfos=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.awardSessionTitle="",e.prototype.prizedTitleInfos=r.emptyArray,e.prototype.generalComment="",e.encode=function(e,t){if(t||(t=o.create()),null!=e.awardSessionTitle&&Object.hasOwnProperty.call(e,"awardSessionTitle")&&t.uint32(10).string(e.awardSessionTitle),null!=e.prizedTitleInfos&&e.prizedTitleInfos.length)for(let n=0;n<e.prizedTitleInfos.length;++n)i.Proto.MangaAwardResultView.PrizedTitleInfo.encode(e.prizedTitleInfos[n],t.uint32(18).fork()).ldelim();return null!=e.generalComment&&Object.hasOwnProperty.call(e,"generalComment")&&t.uint32(26).string(e.generalComment),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.MangaAwardResultView.MangaAwardRoundResult;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.awardSessionTitle=e.string();break;case 2:a.prizedTitleInfos&&a.prizedTitleInfos.length||(a.prizedTitleInfos=[]),a.prizedTitleInfos.push(i.Proto.MangaAwardResultView.PrizedTitleInfo.decode(e,e.uint32()));break;case 3:a.generalComment=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.MangaAwardResultView.MangaAwardRoundResult"},e}(),e.PrizedTitleInfo=function(){function e(e){if(this.authors=[],this.wonPrizes=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.title=null,e.prototype.authors=r.emptyArray,e.prototype.wonPrizes=r.emptyArray,e.prototype.editorComment="",e.encode=function(e,t){if(t||(t=o.create()),null!=e.title&&Object.hasOwnProperty.call(e,"title")&&i.Proto.Title.encode(e.title,t.uint32(10).fork()).ldelim(),null!=e.authors&&e.authors.length)for(let n=0;n<e.authors.length;++n)i.Proto.Author.encode(e.authors[n],t.uint32(18).fork()).ldelim();if(null!=e.wonPrizes&&e.wonPrizes.length)for(let n=0;n<e.wonPrizes.length;++n)i.Proto.MangaAwardPrize.encode(e.wonPrizes[n],t.uint32(26).fork()).ldelim();return null!=e.editorComment&&Object.hasOwnProperty.call(e,"editorComment")&&t.uint32(34).string(e.editorComment),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.MangaAwardResultView.PrizedTitleInfo;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.title=i.Proto.Title.decode(e,e.uint32());break;case 2:a.authors&&a.authors.length||(a.authors=[]),a.authors.push(i.Proto.Author.decode(e,e.uint32()));break;case 3:a.wonPrizes&&a.wonPrizes.length||(a.wonPrizes=[]),a.wonPrizes.push(i.Proto.MangaAwardPrize.decode(e,e.uint32()));break;case 4:a.editorComment=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.MangaAwardResultView.PrizedTitleInfo"},e}(),e}(),e.MissionListView=function(){function e(e){if(this.missionLists=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.missionLists=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.missionLists&&e.missionLists.length)for(let n=0;n<e.missionLists.length;++n)i.Proto.MissionList.encode(e.missionLists[n],t.uint32(10).fork()).ldelim();return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.MissionListView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;t>>>3==1?(a.missionLists&&a.missionLists.length||(a.missionLists=[]),a.missionLists.push(i.Proto.MissionList.decode(e,e.uint32()))):e.ski
1pType(7&t)}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.MissionListView"},e}(),e.MissionList=function(){function e(e){if(this.missions=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.name="",e.prototype.missions=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.name&&Object.hasOwnProperty.call(e,"name")&&t.uint32(10).string(e.name),null!=e.missions&&e.missions.length)for(let n=0;n<e.missions.length;++n)i.Proto.Mission.encode(e.missions[n],t.uint32(18).fork()).ldelim();return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.MissionList;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.name=e.string();break;case 2:a.missions&&a.missions.length||(a.missions=[]),a.missions.push(i.Proto.Mission.decode(e,e.uint32()));break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.MissionList"},e}(),e.MyCommentListView=function(){function e(e){if(this.comments=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.comments=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.comments&&e.comments.length)for(let n=0;n<e.comments.length;++n)i.Proto.MyComment.encode(e.comments[n],t.uint32(10).fork()).ldelim();return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.MyCommentListView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;t>>>3==1?(a.comments&&a.comments.length||(a.comments=[]),a.comments.push(i.Proto.MyComment.decode(e,e.uint32()))):e.skipType(7&t)}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.MyCommentListView"},e}(),e.PointView=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.userPoint=null,e.encode=function(e,t){return t||(t=o.create()),null!=e.userPoint&&Object.hasOwnProperty.call(e,"userPoint")&&i.Proto.Point.encode(e.userPoint,t.uint32(10).fork()).ldelim(),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.PointView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;t>>>3==1?a.userPoint=i.Proto.Point.decode(e,e.uint32()):e.skipType(7&t)}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.PointView"},e}(),e.PopularityVoteOgpView=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.ogpTitle="",e.prototype.ogpDescription="",e.prototype.ogpImage=null,e.encode=function(e,t){return t||(t=o.create()),null!=e.ogpTitle&&Object.hasOwnProperty.call(e,"ogpTitle")&&t.uint32(10).string(e.ogpTitle),null!=e.ogpImage&&Object.hasOwnProperty.call(e,"ogpImage")&&i.Proto.Image.encode(e.ogpImage,t.uint32(18).fork()).ldelim(),null!=e.ogpDescription&&Object.hasOwnProperty.call(e,"ogpDescription")&&t.uint32(26).string(e.ogpDescription),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.PopularityVoteOgpView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.ogpTitle=e.string();break;case 3:a.ogpDescription=e.string();break;case 2:a.ogpImage=i.Proto.Image.decode(e,e.uint32());break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.PopularityVoteOgpView"},e}(),e.PopularityVoteView=function(){function e(e){if(this.votingCandidateImages=[],this.resultRankingImages=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.votingCandidateImages=r.emptyArray,e.prototype.votePeriodStatus=0,e.prototype.resultRankingImages=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.votingCandidateImages&&e.votingCandidateImages.length)for(let n=0;n<e.votingCandidateImages.length;++n)i.Proto.PopularityVoteView.VotingCandidateImage.encode(e.votingCandidateImages[n],t.uint32(10).fork()).ldelim();
1if(null!=e.votePeriodStatus&&Object.hasOwnProperty.call(e,"votePeriodStatus")&&t.uint32(16).int32(e.votePeriodStatus),null!=e.resultRankingImages&&e.resultRankingImages.length)for(let n=0;n<e.resultRankingImages.length;++n)i.Proto.Image.encode(e.resultRankingImages[n],t.uint32(26).fork()).ldelim();return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.PopularityVoteView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.votingCandidateImages&&a.votingCandidateImages.length||(a.votingCandidateImages=[]),a.votingCandidateImages.push(i.Proto.PopularityVoteView.VotingCandidateImage.decode(e,e.uint32()));break;case 2:a.votePeriodStatus=e.int32();break;case 3:a.resultRankingImages&&a.resultRankingImages.length||(a.resultRankingImages=[]),a.resultRankingImages.push(i.Proto.Image.decode(e,e.uint32()));break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.PopularityVoteView"},e.VotingCandidateImage=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.chapterId=0,e.prototype.coverPicture=null,e.encode=function(e,t){return t||(t=o.create()),null!=e.chapterId&&Object.hasOwnProperty.call(e,"chapterId")&&t.uint32(8).uint32(e.chapterId),null!=e.coverPicture&&Object.hasOwnProperty.call(e,"coverPicture")&&i.Proto.Image.encode(e.coverPicture,t.uint32(18).fork()).ldelim(),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.PopularityVoteView.VotingCandidateImage;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.chapterId=e.uint32();break;case 2:a.coverPicture=i.Proto.Image.decode(e,e.uint32());break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.PopularityVoteView.VotingCandidateImage"},e}(),e.VotePeriodStatus=function(){let e={},t=Object.create(e);return t[e[0]="VOTING_PERIOD"]=0,t[e[1]="VOTING_END"]=1,t[e[2]="RESULT_ANNOUNCEMENT"]=2,t}(),e}(),e.QuizListView=function(){function e(e){if(this.quizSummaries=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.quizSummaries=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.quizSummaries&&e.quizSummaries.length)for(let n=0;n<e.quizSummaries.length;++n)i.Proto.QuizSummary.encode(e.quizSummaries[n],t.uint32(10).fork()).ldelim();return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.QuizListView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;t>>>3==1?(a.quizSummaries&&a.quizSummaries.length||(a.quizSummaries=[]),a.quizSummaries.push(i.Proto.QuizSummary.decode(e,e.uint32()))):e.skipType(7&t)}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.QuizListView"},e}(),e.QuizOgpView=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.ogpTitle="",e.prototype.ogpImage=null,e.prototype.ogpDescription="",e.encode=function(e,t){return t||(t=o.create()),null!=e.ogpTitle&&Object.hasOwnProperty.call(e,"ogpTitle")&&t.uint32(10).string(e.ogpTitle),null!=e.ogpImage&&Object.hasOwnProperty.call(e,"ogpImage")&&i.Proto.Image.encode(e.ogpImage,t.uint32(18).fork()).ldelim(),null!=e.ogpDescription&&Object.hasOwnProperty.call(e,"ogpDescription")&&t.uint32(26).string(e.ogpDescription),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.QuizOgpView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.ogpTitle=e.string();break;case 2:a.ogpImage=i.Proto.Image.decode(e,e.uint32());break;case 3:a.ogpDescription=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.QuizOgpView"},e}(),e.QuizResultView=function(){function e(e){if(this.quizAnswer=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.point=0,e.prototype.bannerImage=null,e.prototype.correctAnswerCount=0,e.prototype.quizAnswer=r.emptyArray,e.prototype.isNextStage=!1,e.prototype.totalQuizCount=0,e.prototype.quizName="",e.prototype.isFirstAnswer=!1,e.prototype.quizLevel="",e.prototype.resultImage=null,e.encode=function(e,t){if(t||(t=o.create()),null!=e.point&&Object.hasOwnProperty.call(e,"point")&&t.uint32(8).uint32(e.point),null!=e.bannerImage&&Object.hasOwnProperty.call(e,"bannerImage")&&i.Proto.Image.encode(e.bannerImage,t.uint32(18).fork()).ldelim(),null!=e.correctAnswerCount&&Object.hasOwnProperty.call(e,"correctAnswerCount")&&t.uint32(24).uint32(e.correctAnswerCount),null!=e.quizAnswer&&e.quizAnswer.length)for(let n=0;n<e.quizAnswer.length;++n)i.Proto.QuizAnswer.encode(e.quizAnswer[n],t.uint32(34).fork()).ldelim();return null!=e.isNextStage&&Object.hasOwnProperty.call(e,"isNextStage")&&t.uint32(40).bool(e.isNextStage),null!=e.totalQuizCount&&Object.hasOwnProperty.call(e,"totalQuizCount")&&t.uint32(48).uint32(e.totalQuizCount),null!=e.quizName&&Object.hasOwnProperty.call(e,"quizName")&&t.uint32(58).string(e.quizName),null!=e.isFirstAnswer&&Ob
1ject.hasOwnProperty.call(e,"isFirstAnswer")&&t.uint32(64).bool(e.isFirstAnswer),null!=e.quizLevel&&Object.hasOwnProperty.call(e,"quizLevel")&&t.uint32(74).string(e.quizLevel),null!=e.resultImage&&Object.hasOwnProperty.call(e,"resultImage")&&i.Proto.Image.encode(e.resultImage,t.uint32(82).fork()).ldelim(),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.QuizResultView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.point=e.uint32();break;case 2:a.bannerImage=i.Proto.Image.decode(e,e.uint32());break;case 3:a.correctAnswerCount=e.uint32();break;case 4:a.quizAnswer&&a.quizAnswer.length||(a.quizAnswer=[]),a.quizAnswer.push(i.Proto.QuizAnswer.decode(e,e.uint32()));break;case 5:a.isNextStage=e.bool();break;case 6:a.totalQuizCount=e.uint32();break;case 7:a.quizName=e.string();break;case 8:a.isFirstAnswer=e.bool();break;case 9:a.quizLevel=e.string();break;case 10:a.resultImage=i.Proto.Image.decode(e,e.uint32());break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.QuizResultView"},e}(),e.QuizAnswer=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.quiz=null,e.prototype.isCorrect=!1,e.encode=function(e,t){return t||(t=o.create()),null!=e.quiz&&Object.hasOwnProperty.call(e,"quiz")&&i.Proto.Quiz.encode(e.quiz,t.uint32(10).fork()).ldelim(),null!=e.isCorrect&&Object.hasOwnProperty.call(e,"isCorrect")&&t.uint32(16).bool(e.isCorrect),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.QuizAnswer;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.quiz=i.Proto.Quiz.decode(e,e.uint32());break;case 2:a.isCorrect=e.bool();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.QuizAnswer"},e}(),e.QuizView=function(){function e(e){if(this.quizes=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.quizes=r.emptyArray,e.prototype.totalQuizCount=0,e.prototype.quizStartView=null,e.prototype.quizLevel="",e.encode=function(e,t){if(t||(t=o.create()),null!=e.quizes&&e.quizes.length)for(let n=0;n<e.quizes.length;++n)i.Proto.Quiz.encode(e.quizes[n],t.uint32(10).fork()).ldelim();return null!=e.totalQuizCount&&Object.hasOwnProperty.call(e,"totalQuizCount")&&t.uint32(16).uint32(e.totalQuizCount),null!=e.quizStartView&&Object.hasOwnProperty.call(e,"quizStartView")&&i.Proto.QuizStartView.encode(e.quizStartView,t.uint32(26).fork()).ldelim(),null!=e.quizLevel&&Object.hasOwnProperty.call(e,"quizLevel")&&t.uint32(34).string(e.quizLevel),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.QuizView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.quizes&&a.quizes.length||(a.quizes=[]),a.quizes.push(i.Proto.Quiz.decode(e,e.uint32()));break;case 2:a.totalQuizCount=e.uint32();break;case 3:a.quizStartView=i.Proto.QuizStartView.decode(e,e.uint32());break;case 4:a.quizLevel=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.QuizView"},e}(),e.QuizStartView=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.bannerImage=null,e.prototype.subscription="",e.prototype.titleUrl="",e.prototype.isCompleted=!1,e.encode=function(e,t){return t||(t=o.create()),null!=e.bannerImage&&Object.hasOwnProperty.call(e,"bannerImage")&&i.Proto.Image.encode(e.bannerImage,t.uint32(10).fork()).ldelim(),null!=e.subscription&&Object.hasOwnProperty.call(e,"subscription")&&t.uint32(18).string(e.subscription),null!=e.titleUrl&&Object.hasOwnProperty.call(e,"titleUrl")&&t.uint32(26).string(e.titleUrl),null!=e.isCompleted&&Object.hasOwnProperty.call(e,"isCompleted")&&t.uint32(32).bool(e.isCompleted),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.QuizStartView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.bannerImage=i.Proto.Image.decode(e,e.uint32());break;case 2:a.subscription=e.string();break;case 3:a.titleUrl=e.string();break;case 4:a.isCompleted=e.bool();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.QuizStartView"},e}(),e.RegisterResultView=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.result=!1,e.prototype.successMsg="",e.prototype.emailErrMsg="",e.prototype.passwordErrMsg="",e.prototype.birthdayErrMsg="",e.prototype.sexErrMsg="",e.prototype.otherErrMsg="",e.encode=function(e,t){return t||(t=o.create()),null!=e.result&&Object.hasOwnProperty.call(e,"result")&&t.uint32(8).bool(e.result),null!=e.successMsg&&Object.hasOwnProperty.call(e,"successMsg")&&t.uint32(18).string(e.successMsg),null!=e.emailErrMsg&&Object.hasOwnProperty.call(e,"emailErrMsg")&&t.uint32(26).string(e.emailErrMsg),null!=e.passwordErrMsg&&Object.hasOwnProperty.call(e,"passwordErrMsg")&&t.uint32(34).string(e.passwordErrMsg),null!=e.birthdayErrMsg&&Object.hasOwnProperty.call(e,"birthdayErrMsg")&&t.uint32(42).string(e.birthdayErrMsg),null!=e.sexErrMsg&&Object.hasOwnProperty.call(e,"sexErrMsg")&&t.uint32(50).string(e.sexErrMsg),null!=e.otherErrMsg&&Object.hasOwnProperty.call(e,"otherErrMsg")&&t.uint32(58).string(e.otherErrMsg),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.RegisterResultView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.result=e.bool();break;case 2:a.successMsg=e.string();break;case 3:a.emailErrMsg=e.string();break;case 4:a.passwordErrMsg=e.string();break;case 5:a.birthdayErrMsg=e.string();break;case 6:a.sexErrMsg=e.string();break;case 7:a.otherErrMsg=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.RegisterResultView"},e}(),e.ServerTimeView=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.state=0,e.prototype.serverTime=r.Long?r.Long.fromBits(0,0,!0):0,e.encode=function(e,t){return t||(t=o.create()),null!=e.state&&Object.hasOwnProperty.call(e,"state")&&t.uint32(8).int32(e.state),null!=e.serverTime&&Object.hasOwnProperty.call(e,"serverTime")&&t.uint32(16).uint64(e.serverTime),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.ServerTimeView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.state=e.int32();break;case 2:a.serverTime=e.uint64();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.ServerTimeView"},e.State=function(){let e={},t=Object.create(e);return t[e[0]="NORMAL"]=0,t[e[1]="IP_ADRESS"]=1,t[e[2]="ADMIN"]=2,t}(),e}(),e.SpecialView=function(){function e(e){if(this.blocks=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.name="",e.prototype.blocks=r.emptyArray,e.prototype.description="",e.prototype.isFinished=!1,e.encode=function(e,t){if(t||(t=o.create()),null!=e.name&&Object.hasOwnProperty.call(e,"name")&&t.uint32(10).string(e.name),null!=e.blocks&&e.blocks.length)for(let n=0;n<e.blocks.length;++n)i.Proto.SpecialBlock.encode(e.blocks[n],t.uint32(18).fork()).ldelim();return null!=e.description&&Object.hasOwnProperty.call(e,"description")&&t.uint32(26).string(e.description),null!=e.isFinished&&Object.hasOwnProperty.call(e,"isFinished")&&t.uint32(32).bool(e.isFinished),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.SpecialView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.name=e.string();break;case 2:a.blocks&&a.blocks.length||(a.blocks=[]),a.blocks.push(i.Proto.SpecialBlock.decode(e,e.uint32()));break;case 3:a.description=e.string();break;case 4:a.isFinished=e.bool();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.SpecialView"},e}(),e.StaticPageView=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.slug="",e.prototype.title="",e.prototype.htmlContent="",e.prototype.ogpImage=null,e.encode=function(e,t){return t||(t=o.create()),null!=e.slug&&Object.hasOwnProperty.call(e,"slug")&&t.uint32(10).string(e.slug),null!=e.title&&Object.hasOwnProperty.call(e,"title")&&t.uint32(18).string(e.title),null!=e.htmlContent&&Object.hasOwnProperty.call(e,"htmlContent")&&t.uint32(26).string(e.htmlContent),null!=e.ogpImage&&Object.hasOwnProperty.call(e,"ogpImage")&&i.Proto.Image.encode(e.ogpImage,t.uint32(34).fork()).ldelim(),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.StaticPageView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.slug=e.string();break;case 2:a.title=e.string();break;case 3:a.htmlContent=e.string();break;case 4:a.ogpImage=i.Proto.Image.decode(e,e.uint32());break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.StaticPageView"},e}(),e.TagTitleListView=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.titles=null,e.prototype.lpInfo=null,e.encode=function(e,t){return t||(t=o.create()),null!=e.titles&&Object.hasOwnProperty.call(e,"titles")&&i.Proto.TitleList.encode(e.titles,t.uint32(10).fork()).ldelim(),null!=e.lpInfo&&Object.hasOwnProperty.call(e,"lpInfo")&&i.Proto.LpInfo.encode(e.lpInfo,t.uint32(18).fork()).ldelim(),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.TagTitleListView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.titles=i.Proto.TitleList.decode(e,e.uint32());break;case 2:a.lpInfo=i.Proto.LpInfo.decode(e,e.uint32());break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.TagTitleListView"},e}(),e.LpInfo=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.image=null,e.prototype.text="",e.prototype.url="",e.prototype.buttonText="",e.encode=function(e,t){return t||(t=o.create()),null!=e.image&&Object.hasOwnProperty.call(e,"image")&&i.Proto.Image.encode(e.image,t.uint32(10).fork()).ldelim(),null!=e.text&&Object.hasOwnProperty.call(e,"text")&&t.uint32(18).string(e.text),null!=e.url&&Object.hasOwnProperty.call(e,"url")&&t.uint32(26).string(e.url),null!=e.buttonText&&Object.hasOwnProperty.call(e,"buttonText")&&t.uint32(34).string(e.buttonText),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.LpInfo;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.image=i.Proto.Image.decode(e,e.uint32());break;case 2:a.text=e.string();break;case 3:a.url=e.string();break;case 4:a.buttonText=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.LpInfo"},e}(),e.TemplatePopularityView=function(){function e(e){if(this.votingStorySections=[],this.resultRankings=[],this.publishedTitles=[],this.downloadImage=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.votingStorySections=r.emptyArray,e.prototype.votePerio
1dStatus=0,e.prototype.resultRankings=r.emptyArray,e.prototype.lpUrl="",e.prototype.publishedTitles=r.emptyArray,e.prototype.downloadImage=r.emptyArray,e.prototype.userPoint=null,e.encode=function(e,t){if(t||(t=o.create()),null!=e.votingStorySections&&e.votingStorySections.length)for(let n=0;n<e.votingStorySections.length;++n)i.Proto.TemplatePopularityView.VotingStorySection.encode(e.votingStorySections[n],t.uint32(10).fork()).ldelim();if(null!=e.votePeriodStatus&&Object.hasOwnProperty.call(e,"votePeriodStatus")&&t.uint32(16).int32(e.votePeriodStatus),null!=e.resultRankings&&e.resultRankings.length)for(let n=0;n<e.resultRankings.length;++n)i.Proto.TemplatePopularityView.ResultRanking.encode(e.resultRankings[n],t.uint32(26).fork()).ldelim();if(null!=e.lpUrl&&Object.hasOwnProperty.call(e,"lpUrl")&&t.uint32(34).string(e.lpUrl),null!=e.publishedTitles&&e.publishedTitles.length)for(let n=0;n<e.publishedTitles.length;++n)i.Proto.Title.encode(e.publishedTitles[n],t.uint32(42).fork()).ldelim();if(null!=e.downloadImage&&e.downloadImage.length)for(let n=0;n<e.downloadImage.length;++n)i.Proto.Image.encode(e.downloadImage[n],t.uint32(50).fork()).ldelim();return null!=e.userPoint&&Object.hasOwnProperty.call(e,"userPoint")&&i.Proto.Point.encode(e.userPoint,t.uint32(58).fork()).ldelim(),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.TemplatePopularityView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.votingStorySections&&a.votingStorySections.length||(a.votingStorySections=[]),a.votingStorySections.push(i.Proto.TemplatePopularityView.VotingStorySection.decode(e,e.uint32()));break;case 2:a.votePeriodStatus=e.int32();break;case 3:a.resultRankings&&a.resultRankings.length||(a.resultRankings=[]),a.resultRankings.push(i.Proto.TemplatePopularityView.ResultRanking.decode(e,e.uint32()));break;case 4:a.lpUrl=e.string();break;case 5:a.publishedTitles&&a.publishedTitles.length||(a.publishedTitles=[]),a.publishedTitles.push(i.Proto.Title.decode(e,e.uint32()));break;case 6:a.downloadImage&&a.downloadImage.length||(a.downloadImage=[]),a.downloadImage.push(i.Proto.Image.decode(e,e.uint32()));break;case 7:a.userPoint=i.Proto.Point.decode(e,e.uint32());break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.TemplatePopularityView"},e.VotingStorySection=function(){function e(e){if(this.votingCandidates=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.sectionTitle="",e.prototype.votingCandidates=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.sectionTitle&&Object.hasOwnProperty.call(e,"sectionTitle")&&t.uint32(10).string(e.sectionTitle),null!=e.votingCandidates&&e.votingCandidates.length)for(let n=0;n<e.votingCandidates.length;++n)i.Proto.TemplatePopularityView.VotingCandidate.encode(e.votingCandidates[n],t.uint32(18).fork()).ldelim();return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.TemplatePopularityView.VotingStorySection;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.sectionTitle=e.string();break;case 2:a.votingCandidates&&a.votingCandidates.length||(a.votingCandidates=[]),a.votingCandidates.push(i.Proto.TemplatePopularityView.VotingCandidate.decode(e,e.uint32()));break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.TemplatePopularityView.VotingStorySection"},e}(),e.VotingCandidate=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.voteId=0,e.prototype.titleId=0,e.prototype.coverPicture=null,e.prototype.isPortrait=!1,e.prototype.caption="",e.prototype.chapter=null,e.prototype.title=null,e.encode=function(e,t){return t||(t=o.create()),null!=e.voteId&&Object.hasOwnProperty.call(e,"voteId")&&t.uint32(8).uint32(e.voteId),null!=e.titleId&&Object.hasOwnProperty.call(e,"titleId")&&t.uint32(16).uint32(e.titleId),null!=e.coverPicture&&Object.hasOwnProperty.call(e,"coverPicture")&&i.Proto.Image.encode(e.coverPicture,t.uint32(26).fork()).ldelim(),null!=e.isPortrait&&Object.hasOwnProperty.call(e,"isPortrait")&&t.uint32(32).bool(e.isPortrait),null!=e.caption&&Object.hasOwnProperty.call(e,"caption")&&t.uint32(42).string(e.caption),null!=e.chapter&&Object.hasOwnProperty.call(e,"chapter")&&i.Proto.Chapter.encode(e.chapter,t.uint32(50).fork()).ldelim(),null!=e.title&&Object.hasOwnProperty.call(e,"title")&&i.Proto.Title.encode(e.title,t.uint32(58).fork()).ldelim(),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.TemplatePopularityView.V
1otingCandidate;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.voteId=e.uint32();break;case 2:a.titleId=e.uint32();break;case 3:a.coverPicture=i.Proto.Image.decode(e,e.uint32());break;case 4:a.isPortrait=e.bool();break;case 5:a.caption=e.string();break;case 6:a.chapter=i.Proto.Chapter.decode(e,e.uint32());break;case 7:a.title=i.Proto.Title.decode(e,e.uint32());break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.TemplatePopularityView.VotingCandidate"},e}(),e.ResultRanking=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.coverPicture=null,e.prototype.caption="",e.encode=function(e,t){return t||(t=o.create()),null!=e.coverPicture&&Object.hasOwnProperty.call(e,"coverPicture")&&i.Proto.Image.encode(e.coverPicture,t.uint32(10).fork()).ldelim(),null!=e.caption&&Object.hasOwnProperty.call(e,"caption")&&t.uint32(18).string(e.caption),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.TemplatePopularityView.ResultRanking;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.coverPicture=i.Proto.Image.decode(e,e.uint32());break;case 2:a.caption=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.TemplatePopularityView.ResultRanking"},e}(),e.VotePeriodStatus=function(){let e={},t=Object.create(e);return t[e[0]="VOTING_PERIOD"]=0,t[e[1]="VOTING_END"]=1,t[e[2]="RESULT_ANNOUNCEMENT"]=2,t}(),e}(),e.TemplatePopularityVoteOgpView=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.ogpTitle="",e.prototype.ogpImage=null,e.prototype.ogpDescription="",e.encode=function(e,t){return t||(t=o.create()),null!=e.ogpTitle&&Object.hasOwnProperty.call(e,"ogpTitle")&&t.uint32(10).string(e.ogpTitle),null!=e.ogpImage&&Object.hasOwnProperty.call(e,"ogpImage")&&i.Proto.Image.encode(e.ogpImage,t.uint32(18).fork()).ldelim(),null!=e.ogpDescription&&Object.hasOwnProperty.call(e,"ogpDescription")&&t.uint32(26).string(e.ogpDescription),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.TemplatePopularityVoteOgpView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.ogpTitle=e.string();break;case 2:a.ogpImage=i.Proto.Image.decode(e,e.uint32());break;case 3:a.ogpDescription=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.TemplatePopularityVoteOgpView"},e}(),e.TermsAgreementView=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.items=null,e.encode=function(e,t){return t||(t=o.create()),null!=e.items&&Object.hasOwnProperty.call(e,"items")&&i.Proto.TermsAgreementView.TermsOfUseItemsRequiredAgreement.encode(e.items,t.uint32(10).fork()).ldelim(),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.TermsAgreementView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;t>>>3==1?a.items=i.Proto.TermsAgreementView.TermsOfUseItemsRequiredAgreement.decode(e,e.uint32()):e.skipType(7&t)}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.TermsAgreementView"},e.TermsOfUseItemsRequiredAgreement=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.flowerComics=!1,e.prototype.digitalComicsService=!1,e.encode=function(e,t){return t||(t=o.create()),null!=e.flowerComics&&Object.hasOwnProperty.call(e,"flowerComics")&&t.uint32(8).bool(e.flowerComics),null!=e.digitalComicsService&&Object.hasOwnProperty.call(e,"digitalComicsService")&&t.uint32(16).bool(e.digitalComicsService),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.TermsAgreementView.TermsOfUseItemsRequiredAgreement;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.flowerComics=e.bool();break;case 2:a.digitalComicsService=e.bool();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.TermsAgreementView.TermsOfUseItemsRequiredAgreement"},e}(),e}
1(),e.TitleDetailView=function(){function e(e){if(this.authors=[],this.tags=[],this.chapters=[],this.recommendedTitles=[],this.relatedTitles=[],this.bannerLink=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.userPoint=null,e.prototype.title=null,e.prototype.authors=r.emptyArray,e.prototype.tags=r.emptyArray,e.prototype.isFavorite=!1,e.prototype.longDescription="",e.prototype.nextUpdateInfo="",e.prototype.chapters=r.emptyArray,e.prototype.recommendedTitles=r.emptyArray,e.prototype.relatedTitles=r.emptyArray,e.prototype.movieUrl="",e.prototype.volumeShopUrl="",e.prototype.magazineBanner=null,e.prototype.viewButton=null,e.prototype.rewardUrl="",e.prototype.sns=null,e.prototype.freeRecommendation=null,e.prototype.continueChapterId=0,e.prototype.bannerLink=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.userPoint&&Object.hasOwnProperty.call(e,"userPoint")&&i.Proto.Point.encode(e.userPoint,t.uint32(10).fork()).ldelim(),null!=e.title&&Object.hasOwnProperty.call(e,"title")&&i.Proto.Title.encode(e.title,t.uint32(18).fork()).ldelim(),null!=e.authors&&e.authors.length)for(let n=0;n<e.authors.length;++n)i.Proto.Author.encode(e.authors[n],t.uint32(26).fork()).ldelim();if(null!=e.tags&&e.tags.length)for(let n=0;n<e.tags.length;++n)i.Proto.Tag.encode(e.tags[n],t.uint32(34).fork()).ldelim();if(null!=e.isFavorite&&Object.hasOwnProperty.call(e,"isFavorite")&&t.uint32(40).bool(e.isFavorite),null!=e.longDescription&&Object.hasOwnProperty.call(e,"longDescription")&&t.uint32(50).string(e.longDescription),null!=e.nextUpdateInfo&&Object.hasOwnProperty.call(e,"nextUpdateInfo")&&t.uint32(58).string(e.nextUpdateInfo),null!=e.chapters&&e.chapters.length)for(let n=0;n<e.chapters.length;++n)i.Proto.Chapter.encode(e.chapters[n],t.uint32(66).fork()).ldelim();if(null!=e.recommendedTitles&&e.recommendedTitles.length)for(let n=0;n<e.recommendedTitles.length;++n)i.Proto.Title.encode(e.recommendedTitles[n],t.uint32(74).fork()).ldelim();if(null!=e.relatedTitles&&e.relatedTitles.length)for(let n=0;n<e.relatedTitles.length;++n)i.Proto.Title.encode(e.relatedTitles[n],t.uint32(82).fork()).ldelim();if(null!=e.movieUrl&&Object.hasOwnProperty.call(e,"movieUrl")&&t.uint32(90).string(e.movieUrl),null!=e.volumeShopUrl&&Object.hasOwnProperty.call(e,"volumeShopUrl")&&t.uint32(98).string(e.volumeShopUrl),null!=e.magazineBanner&&Object.hasOwnProperty.call(e,"magazineBanner")&&i.Proto.TitleDetailView.MagazineBanner.encode(e.magazineBanner,t.uint32(106).fork()).ldelim(),null!=e.viewButton&&Object.hasOwnProperty.call(e,"viewButton")&&i.Proto.TitleDetailView.ViewButton.encode(e.viewButton,t.uint32(114).fork()).ldelim(),null!=e.rewardUrl&&Object.hasOwnProperty.call(e,"rewardUrl")&&t.uint32(130).string(e.rewardUrl),null!=e.sns&&Object.hasOwnProperty.call(e,"sns")&&i.Proto.Sns.encode(e.sns,t.uint32(138).fork()).ldelim(),null!=e.freeRecommendation&&Object.hasOwnProperty.call(e,"freeRecommendation")&&i.Proto.Title.encode(e.freeRecommendation,t.uint32(146).fork()).ldelim(),null!=e.continueChapterId&&Object.hasOwnProperty.call(e,"continueChapterId")&&t.uint32(152).uint32(e.continueChapterId),null!=e.bannerLink&&e.bannerLink.length)for(let n=0;n<e.bannerLink.length;++n)i.Proto.TitleDetailView.BannerLink.encode(e.bannerLink[n],t.uint32(162).fork()).ldelim();return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.TitleDetailView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.userPoint=i.Proto.Point.decode(e,e.uint32());break;case 2:a.title=i.Proto.Title.decode(e,e.uint32());break;case 3:a.authors&&a.authors.length||(a.authors=[]),a.authors.push(i.Proto.Author.decode(e,e.uint32()));break;case 4:a.tags&&a.tags.length||(a.tags=[]),a.tags.push(i.Proto.Tag.decode(e,e.uint32()));break;case 5:a.isFavorite=e.bool();break;case 6:a.longDescription=e.string();break;case 7:a.nextUpdateInfo=e.string();break;case 8:a.chapters&&a.chapters.length||(a.chapters=[]),a.chapters.push(i.Proto.Chapter.decode(e,e.uint32()));break;case 9:a.recommendedTitles&&a.recommendedTitles.length||(a.recommendedTitles=[]),a.recommendedTitles.push(i.Proto.Title.decode(e,e.uint32()));break;case 10:a.relatedTitles&&a.relatedTitles.length||(a.relatedTitles=[]),a.relatedTitles.push(i.Proto.Title.decode(e,e.uint32()));break;case 11:a.movieUrl=e.string();break;case 12:a.volumeShopUrl=e.string();break;
1case 13:a.magazineBanner=i.Proto.TitleDetailView.MagazineBanner.decode(e,e.uint32());break;case 14:a.viewButton=i.Proto.TitleDetailView.ViewButton.decode(e,e.uint32());break;case 16:a.rewardUrl=e.string();break;case 17:a.sns=i.Proto.Sns.decode(e,e.uint32());break;case 18:a.freeRecommendation=i.Proto.Title.decode(e,e.uint32());break;case 19:a.continueChapterId=e.uint32();break;case 20:a.bannerLink&&a.bannerLink.length||(a.bannerLink=[]),a.bannerLink.push(i.Proto.TitleDetailView.BannerLink.decode(e,e.uint32()));break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.TitleDetailView"},e.ViewButton=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.chapter=null,e.prototype.buttonTitle="",e.encode=function(e,t){return t||(t=o.create()),null!=e.chapter&&Object.hasOwnProperty.call(e,"chapter")&&i.Proto.Chapter.encode(e.chapter,t.uint32(10).fork()).ldelim(),null!=e.buttonTitle&&Object.hasOwnProperty.call(e,"buttonTitle")&&t.uint32(18).string(e.buttonTitle),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.TitleDetailView.ViewButton;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.chapter=i.Proto.Chapter.decode(e,e.uint32());break;case 2:a.buttonTitle=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.TitleDetailView.ViewButton"},e}(),e.MagazineBanner=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.image=null,e.prototype.description="",e.encode=function(e,t){return t||(t=o.create()),null!=e.image&&Object.hasOwnProperty.call(e,"image")&&i.Proto.Image.encode(e.image,t.uint32(10).fork()).ldelim(),null!=e.description&&Object.hasOwnProperty.call(e,"description")&&t.uint32(18).string(e.description),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.TitleDetailView.MagazineBanner;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.image=i.Proto.Image.decode(e,e.uint32());break;case 2:a.description=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.TitleDetailView.MagazineBanner"},e}(),e.BannerLink=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.campaignUrl="",e.prototype.bannerType=0,e.prototype.bannerImage=null,e.prototype.text="",e.prototype.bannerId=0,e.prototype.bannerSlotId=0,e.encode=function(e,t){return t||(t=o.create()),null!=e.campaignUrl&&Object.hasOwnProperty.call(e,"campaignUrl")&&t.uint32(10).string(e.campaignUrl),null!=e.bannerType&&Object.hasOwnProperty.call(e,"bannerType")&&t.uint32(16).int32(e.bannerType),null!=e.bannerImage&&Object.hasOwnProperty.call(e,"bannerImage")&&i.Proto.Image.encode(e.bannerImage,t.uint32(26).fork()).ldelim(),null!=e.text&&Object.hasOwnProperty.call(e,"text")&&t.uint32(34).string(e.text),null!=e.bannerId&&Object.hasOwnProperty.call(e,"bannerId")&&t.uint32(40).uint32(e.bannerId),null!=e.bannerSlotId&&Object.hasOwnProperty.call(e,"bannerSlotId")&&t.uint32(48).uint32(e.bannerSlotId),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.TitleDetailView.BannerLink;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.campaignUrl=e.string();break;case 2:a.bannerType=e.int32();break;case 3:a.bannerImage=i.Proto.Image.decode(e,e.uint32());break;case 4:a.text=e.string();break;case 5:a.bannerId=e.uint32();break;case 6:a.bannerSlotId=e.uint32();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.TitleDetailView.BannerLink"},e}(),e.BannerType=function(){let e={},t=Object.create(e);return t[e[0]="campaign_text"]=0,t[e[1]="campaign_banner"]=1,t}(),e}(),e.TitleListListView=function(){function e(e){if(this.titleLists=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.titleLists=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.titleLists&&e.titleLists.length)for(let n=0;n<e.titleLists.length;++n)i.Proto.TitleList.encode(e.titleLists[n],t.uint32(10).fork()).ldelim();return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.TitleListListView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;t>>>3==1?(a.titleLists&&a.titleLists.length||(a.titleLists=[]),a.titleLists.push(i.Proto.TitleList.decode(e,e.uint32()))):e.ski
1pType(7&t)}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.TitleListListView"},e}(),e.TitleListView=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.titles=null,e.encode=function(e,t){return t||(t=o.create()),null!=e.titles&&Object.hasOwnProperty.call(e,"titles")&&i.Proto.TitleList.encode(e.titles,t.uint32(10).fork()).ldelim(),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.TitleListView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;t>>>3==1?a.titles=i.Proto.TitleList.decode(e,e.uint32()):e.skipType(7&t)}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.TitleListView"},e}(),e.UmezawaPopularityView=function(){function e(e){if(this.votingStorySections=[],this.resultRankings=[],this.publishedTitles=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.votingStorySections=r.emptyArray,e.prototype.votePeriodStatus=0,e.prototype.resultRankings=r.emptyArray,e.prototype.lpUrl="",e.prototype.publishedTitles=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.votingStorySections&&e.votingStorySections.length)for(let n=0;n<e.votingStorySections.length;++n)i.Proto.UmezawaPopularityView.VotingStorySection.encode(e.votingStorySections[n],t.uint32(10).fork()).ldelim();if(null!=e.votePeriodStatus&&Object.hasOwnProperty.call(e,"votePeriodStatus")&&t.uint32(16).int32(e.votePeriodStatus),null!=e.resultRankings&&e.resultRankings.length)for(let n=0;n<e.resultRankings.length;++n)i.Proto.UmezawaPopularityView.ResultRanking.encode(e.resultRankings[n],t.uint32(26).fork()).ldelim();if(null!=e.lpUrl&&Object.hasOwnProperty.call(e,"lpUrl")&&t.uint32(34).string(e.lpUrl),null!=e.publishedTitles&&e.publishedTitles.length)for(let n=0;n<e.publishedTitles.length;++n)i.Proto.Title.encode(e.publishedTitles[n],t.uint32(42).fork()).ldelim();return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.UmezawaPopularityView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.votingStorySections&&a.votingStorySections.length||(a.votingStorySections=[]),a.votingStorySections.push(i.Proto.UmezawaPopularityView.VotingStorySection.decode(e,e.uint32()));break;case 2:a.votePeriodStatus=e.int32();break;case 3:a.resultRankings&&a.resultRankings.length||(a.resultRankings=[]),a.resultRankings.push(i.Proto.UmezawaPopularityView.ResultRanking.decode(e,e.uint32()));break;case 4:a.lpUrl=e.string();break;case 5:a.publishedTitles&&a.publishedTitles.length||(a.publishedTitles=[]),a.publishedTitles.push(i.Proto.Title.decode(e,e.uint32()));break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.UmezawaPopularityView"},e.VotingStorySection=function(){function e(e){if(this.votingCandidates=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.sectionTitle="",e.prototype.votingCandidates=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.sectionTitle&&Object.hasOwnProperty.call(e,"sectionTitle")&&t.uint32(10).string(e.sectionTitle),null!=e.votingCandidates&&e.votingCandidates.length)for(let n=0;n<e.votingCandidates.length;++n)i.Proto.UmezawaPopularityView.VotingCandidate.encode(e.votingCandidates[n],t.uint32(18).fork()).ldelim();return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.UmezawaPopularityView.VotingStorySection;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.sectionTitle=e.string();break;case 2:a.votingCandidates&&a.votingCandidates.length||(a.votingCandidates=[]),a.votingCandidates.push(i.Proto.UmezawaPopularityView.VotingCandidate.decode(e,e.uint32()));break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.UmezawaPopularityView.VotingStorySection"},e}(),e.VotingCandidate=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.voteId=0,e.prototype.titleId=0,e.prototype.coverPicture=null,e.prototype.isPortrait=!1,e.prototype.description="",e.encode=function(e,t){return t||(t=o.create()),null!=e.voteId&&Object.hasOwnProperty.call(e,"voteId")&&t.uint32(8).uint32(e.voteId),null!=e.titleId&&Object.hasOwnProperty.call(e,"titleId")&&t.uint32(16).uint32(e.titleId),null!=e.coverPicture&&Object.hasOwnProperty.call(e,"coverPicture")&&i.Proto.Image.encode(e.coverPicture,t.uint32(26).fork()).ldelim(),null!=e.isPortrait&&Object.hasOwnProperty.call(e,"isPortrait")&&t.uint32(32).bool(e.isPortrait),null!=e.description&&Object.hasOwnProperty.call(e,"description")&&t.uint32(42).string(e.description),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.UmezawaPopularityView.V
1otingCandidate;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.voteId=e.uint32();break;case 2:a.titleId=e.uint32();break;case 3:a.coverPicture=i.Proto.Image.decode(e,e.uint32());break;case 4:a.isPortrait=e.bool();break;case 5:a.description=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.UmezawaPopularityView.VotingCandidate"},e}(),e.ResultRanking=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.coverPicture=null,e.prototype.description="",e.encode=function(e,t){return t||(t=o.create()),null!=e.coverPicture&&Object.hasOwnProperty.call(e,"coverPicture")&&i.Proto.Image.encode(e.coverPicture,t.uint32(10).fork()).ldelim(),null!=e.description&&Object.hasOwnProperty.call(e,"description")&&t.uint32(18).string(e.description),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.UmezawaPopularityView.ResultRanking;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.coverPicture=i.Proto.Image.decode(e,e.uint32());break;case 2:a.description=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.UmezawaPopularityView.ResultRanking"},e}(),e.VotePeriodStatus=function(){let e={},t=Object.create(e);return t[e[0]="VOTING_PERIOD"]=0,t[e[1]="VOTING_END"]=1,t[e[2]="RESULT_ANNOUNCEMENT"]=2,t}(),e}(),e.UmezawaPopularityVoteOgpView=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.ogpTitle="",e.prototype.ogpDescription="",e.prototype.ogpImage=null,e.encode=function(e,t){return t||(t=o.create()),null!=e.ogpTitle&&Object.hasOwnProperty.call(e,"ogpTitle")&&t.uint32(10).string(e.ogpTitle),null!=e.ogpDescription&&Object.hasOwnProperty.call(e,"ogpDescription")&&t.uint32(18).string(e.ogpDescription),null!=e.ogpImage&&Object.hasOwnProperty.call(e,"ogpImage")&&i.Proto.Image.encode(e.ogpImage,t.uint32(26).fork()).ldelim(),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.UmezawaPopularityVoteOgpView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.ogpTitle=e.string();break;case 2:a.ogpDescription=e.string();break;case 3:a.ogpImage=i.Proto.Image.decode(e,e.uint32());break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.UmezawaPopularityVoteOgpView"},e}(),e.ViewerSeoView=function(){function e(e){if(this.authors=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.title=null,e.prototype.chapter=null,e.prototype.authors=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.title&&Object.hasOwnProperty.call(e,"title")&&i.Proto.Title.encode(e.title,t.uint32(10).fork()).ldelim(),null!=e.chapter&&Object.hasOwnProperty.call(e,"chapter")&&i.Proto.Chapter.encode(e.chapter,t.uint32(18).fork()).ldelim(),null!=e.authors&&e.authors.length)for(let n=0;n<e.authors.length;++n)i.Proto.Author.encode(e.authors[n],t.uint32(26).fork()).ldelim();return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.ViewerSeoView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.title=i.Proto.Title.decode(e,e.uint32());break;case 2:a.chapter=i.Proto.Chapter.decode(e,e.uint32());break;case 3:a.authors&&a.authors.length||(a.authors=[]),a.authors.push(i.Proto.Author.decode(e,e.uint32()));break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.ViewerSeoView"},e}(),e.ViewerView=function(){function e(e){if(this.pages=[],this.beforeBanners=[],this.afterBanners=[],this.chapters=[],this.recommendedTitles=[],this.relatedTitles=[],this.authors=[],this.missions=[],this.pointBack=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.userPoint=null,e.prototype.pages=r.emptyArray,e.prototype.beforeBanners=r.emptyArray,e.prototype.afterBanners=r.emptyArray,e.prototype.currentChapter=null,e.prototype.prevChapter=null,e.prototype.nextChapter=null,e.prototype.pageStart=0,e.prototype.scroll=0,e.prototype.chapters=r.emptyArray,e.prototype.recommendedTitles=r.emptyArray,e.prototype.relatedTitles=r.emptyArray,e.prototype.volumeShopUrl="",e.prototype.lastPage=null,e.prototype.title=null,e.prototype.sns=null,e.prototype.authors=r.emptyArray,e.prototype.missions=r.emptyArray,e.prototype.aesKey="",e.prototype.aesIv="",e.prototype.result=0,e.prototype.freeRecommendation=null,e.prototype.pointBack=r.emptyArray,e.prototype.requiredConsumption=null,e.encode=function(e,t){if(t||(t=o.create()),null!=e.userPoint&&Object.hasOwnProperty.call(e,"userPoint")&&i.Proto.Point.encode(e.userPoint,t.uint32(10).fork()).ldelim(),null!=e.pages&&e.pages.length)for(let n=0;n<e.pages.length;++n)i.Proto.Image.encode(e.pages[n],t.uint32(18).fork()).ldelim();if(null!=e.beforeBanners&&e.beforeBanners.length)for(let n=0;n<e.beforeBanners.length;++n)i.Proto.Banner.encode(e.beforeBanners[n],t.uint32(26).fork()).ldelim();if(null!=e.afterBanners&&e.afterBanners.length)for(let n=0;n<e.afterBanners.length;++n)i.Proto.Banner.encode(e.afterBanners[n],t.uint32(34).fork()).ldelim();if(null!=e.currentChapter&&Object.hasOwnProperty.call(e,"currentChapter")&&i.Proto.Chapter.encode(e.currentChapter,t.uint32(42).fork()).ldelim(),null!=e.prevChapter&&Object.hasOwnProperty.call(e,"prevChapter")&&i.Proto.Chapter.encode(e.prevChapter,t.uint32(50).fork()).ldelim(),null!=e.nextChapter&&Object.hasOwnProperty.call(e,"nextChapter")&&i.Proto.Chapter.encode(e.nextChapter,t.uint32(58).fork()).ldelim(),null!=e.pageStart&&Object.hasOwnProperty.call(e,"pageStart")&&t.uint32(64).int32(e.pageStart),null!=e.scroll&&Object.hasOwnProperty.call(e,"scroll")&&t.uint32(72).int32(e.scroll),null!=e.chapters&&e.chapters.length)for(let n=0;n<e.chapters.length;++n)i.Proto.Chapter.encode(e.chapters[n],t.uint32(82).fork()).ldelim();if(null!=e.recommendedTitles&&e.recommendedTitles.length)for(let n=0;n<e.recommendedTitles.length;++n)i.Proto.Title.encode(e.recommendedTitles[n],t.uint32(90).fork()).ldelim();if(null!=e.relatedTitles&&e.relatedTitles.length)for(let n=0;n<e.relatedTitles.length;++n)i.Proto.Title.encode(e.relatedTitles[n],t.uint32(98).fork()).ldelim();if(null!=e.volumeShopUrl&&Object.hasOwnProperty.call(e,"volumeShopUrl")&&t.uint32(106).string(e.volumeShopUrl),null!=e.lastPage&&Object.hasOwnProperty.call(e,"lastPage")&&i.Proto.ViewerLastPage.encode(e.lastPage,t.uint32(114).fork()).ldelim(),null!=e.title&&Object.hasOwnProperty.call(e,"title")&&i.Proto.Title.encode(e.title,t.uint32(122).fork()).ldelim(),null!=e.sns&&Object.hasOwnProperty.call(e,"sns")&&i.Proto.Sns.encode(e.sns,t.uint32(130).fork()).ldelim(),null!=e.authors&&e.authors.length)for(let n=0;n<e.authors.length;++n)i.Proto.Author.encode(e.authors[n],t.uint32(138).fork()).ldelim();if(null!=e.missions&&e.missions.length)for(let n=0;n<e.missions.length;++n)i.Proto.Mission.encode(e.missions[n],t.uint32(146).fork()).ldelim();if(null!=e.aesKey&&Object.hasOwnProperty.call(e,"aesKey")&&t.uint32(154).string(e.aesKey),null!=e.aesIv&&Ob
1ject.hasOwnProperty.call(e,"aesIv")&&t.uint32(162).string(e.aesIv),null!=e.result&&Object.hasOwnProperty.call(e,"result")&&t.uint32(168).int32(e.result),null!=e.freeRecommendation&&Object.hasOwnProperty.call(e,"freeRecommendation")&&i.Proto.Title.encode(e.freeRecommendation,t.uint32(178).fork()).ldelim(),null!=e.pointBack&&e.pointBack.length)for(let n=0;n<e.pointBack.length;++n)i.Proto.PointBack.encode(e.pointBack[n],t.uint32(186).fork()).ldelim();return null!=e.requiredConsumption&&Object.hasOwnProperty.call(e,"requiredConsumption")&&i.Proto.PointConsumption.encode(e.requiredConsumption,t.uint32(194).fork()).ldelim(),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.ViewerView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.userPoint=i.Proto.Point.decode(e,e.uint32());break;case 2:a.pages&&a.pages.length||(a.pages=[]),a.pages.push(i.Proto.Image.decode(e,e.uint32()));break;case 3:a.beforeBanners&&a.beforeBanners.length||(a.beforeBanners=[]),a.beforeBanners.push(i.Proto.Banner.decode(e,e.uint32()));break;case 4:a.afterBanners&&a.afterBanners.length||(a.afterBanners=[]),a.afterBanners.push(i.Proto.Banner.decode(e,e.uint32()));break;case 5:a.currentChapter=i.Proto.Chapter.decode(e,e.uint32());break;case 6:a.prevChapter=i.Proto.Chapter.decode(e,e.uint32());break;case 7:a.nextChapter=i.Proto.Chapter.decode(e,e.uint32());break;case 8:a.pageStart=e.int32();break;case 9:a.scroll=e.int32();break;case 10:a.chapters&&a.chapters.length||(a.chapters=[]),a.chapters.push(i.Proto.Chapter.decode(e,e.uint32()));break;case 11:a.recommendedTitles&&a.recommendedTitles.length||(a.recommendedTitles=[]),a.recommendedTitles.push(i.Proto.Title.decode(e,e.uint32()));break;case 12:a.relatedTitles&&a.relatedTitles.length||(a.relatedTitles=[]),a.relatedTitles.push(i.Proto.Title.decode(e,e.uint32()));break;case 13:a.volumeShopUrl=e.string();break;case 14:a.lastPage=i.Proto.ViewerLastPage.decode(e,e.uint32());break;case 15:a.title=i.Proto.Title.decode(e,e.uint32());break;case 16:a.sns=i.Proto.Sns.decode(e,e.uint32());break;case 17:a.authors&&a.authors.length||(a.authors=[]),a.authors.push(i.Proto.Author.decode(e,e.uint32()));break;case 18:a.missions&&a.missions.length||(a.missions=[]),a.missions.push(i.Proto.Mission.decode(e,e.uint32()));break;case 19:a.aesKey=e.string();break;case 20:a.aesIv=e.string();break;case 21:a.result=e.int32();break;case 22:a.freeRecommendation=i.Proto.Title.decode(e,e.uint32());break;case 23:a.pointBack&&a.pointBack.length||(a.pointBack=[]),a.pointBack.push(i.Proto.PointBack.decode(e,e.uint32()));break;case 24:a.requiredConsumption=i.Proto.PointConsumption.decode(e,e.uint32());break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.ViewerView"},e.PageStart=function(){let e={},t=Object.create(e);return t[e[0]="LEFT"]=0,t[e[1]="RIGHT"]=1,t}(),e.ScrollDirection=function(){let e={},t=Object.create(e);return t[e[0]="HORIZONTAL_LEFT"]=0,t[e[1]="HORIZONTAL_RIGHT"]=1,t[e[2]="VERTICAL"]=2,t}(),e.Result=function(){let e={},t=Object.create(e);return t[e[0]="SUCCESS"]=0,t[e[1]="AUTHENTICATION_ERROR"]=1,t[e[2]="NOT_PAYMENT_ERROR"]=2,t}(),e}(),e.VotingView=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.status=!1,e.prototype.Vote_PeriodStatus=0,e.encode=function(e,t){return t||(t=o.create()),null!=e.status&&Object.hasOwnProperty.call(e,"status")&&t.uint32(8).bool(e.status),null!=e.Vote_PeriodStatus&&Object.hasOwnProperty.call(e,"Vote_PeriodStatus")&&t.uint32(16).int32(e.Vote_PeriodStatus),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.VotingView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.status=e.bool();break;
1case 2:a.Vote_PeriodStatus=e.int32();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.VotingView"},e.VotePeriodStatus=function(){let e={},t=Object.create(e);return t[e[0]="VOTE_PERIOD"]=0,t[e[1]="VOTE_END"]=1,t}(),e}(),e.WeeklyHoroscopeView=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.startPeriod="",e.prototype.endPeriod="",e.prototype.analyzeTitle="",e.prototype.analyzeDescription="",e.prototype.onePoint="",e.prototype.title=null,e.encode=function(e,t){return t||(t=o.create()),null!=e.startPeriod&&Object.hasOwnProperty.call(e,"startPeriod")&&t.uint32(10).string(e.startPeriod),null!=e.endPeriod&&Object.hasOwnProperty.call(e,"endPeriod")&&t.uint32(18).string(e.endPeriod),null!=e.analyzeTitle&&Object.hasOwnProperty.call(e,"analyzeTitle")&&t.uint32(26).string(e.analyzeTitle),null!=e.analyzeDescription&&Object.hasOwnProperty.call(e,"analyzeDescription")&&t.uint32(34).string(e.analyzeDescription),null!=e.onePoint&&Object.hasOwnProperty.call(e,"onePoint")&&t.uint32(42).string(e.onePoint),null!=e.title&&Object.hasOwnProperty.call(e,"title")&&i.Proto.Title.encode(e.title,t.uint32(50).fork()).ldelim(),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.WeeklyHoroscopeView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.startPeriod=e.string();break;case 2:a.endPeriod=e.string();break;case 3:a.analyzeTitle=e.string();break;case 4:a.analyzeDescription=e.string();break;case 5:a.onePoint=e.string();break;case 6:a.title=i.Proto.Title.decode(e,e.uint32());break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.WeeklyHoroscopeView"},e}(),e.WithdrawalView=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.result=!1,e.prototype.errorCode=0,e.encode=function(e,t){return t||(t=o.create()),null!=e.result&&Object.hasOwnProperty.call(e,"result")&&t.uint32(8).bool(e.result),null!=e.errorCode&&Object.hasOwnProperty.call(e,"errorCode")&&t.uint32(16).int32(e.errorCode),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.WithdrawalView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.result=e.bool();break;case 2:a.errorCode=e.int32();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.WithdrawalView"},e.ShogakukanErrorCode=function(){let e={},t=Object.create(e);return t[e[0]="NONE"]=0,t[e[1]="REQUIRE_USER_AUTH"]=1,t[e[2]="USER_NOT_FOUND"]=2,t}(),e}(),e.YoshinagaPopularityView=function(){function e(e){if(this.votingStorySections=[],this.resultRankings=[],this.publishedTitles=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.votingStorySections=r.emptyArray,e.prototype.votePeriodStatus=0,e.prototype.resultRankings=r.emptyArray,e.prototype.lpUrl="",e.prototype.publishedTitles=r.emptyArray,e.prototype.downloadImage=null,e.encode=function(e,t){if(t||(t=o.create()),null!=e.votingStorySections&&e.votingStorySections.length)for(let n=0;n<e.votingStorySections.length;++n)i.Proto.YoshinagaPopularityView.VotingStorySection.encode(e.votingStorySections[n],t.uint32(10).fork()).ldelim();if(null!=e.votePeriodStatus&&Object.hasOwnProperty.call(e,"votePeriodStatus")&&t.uint32(16).int32(e.votePeriodStatus),null!=e.resultRankings&&e.resultRankings.length)for(let n=0;n<e.resultRankings.length;++n)i.Proto.YoshinagaPopularityView.ResultRanking.encode(e.resultRankings[n],t.uint32(26).fork()).ldelim();if(null!=e.lpUrl&&Object.hasOwnProperty.call(e,"lpUrl")&&t.uint32(34).string(e.lpUrl),null!=e.publishedTitles&&e.publishedTitles.length)for(let n=0;n<e.publishedTitles.length;++n)i.Proto.Title.encode(e.publishedTitles[n],t.uint32(42).fork()).ldelim();return null!=e.downloadImage&&Object.hasOwnProperty.call(e,"downloadImage")&&i.Proto.Image.encode(e.downloadImage,t.uint32(50).fork()).ldelim(),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.YoshinagaPopularityView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.votingStorySections&&a.votingStorySections.length||(a.votingStorySections=[]),a.votingStorySections.push(i.Proto.YoshinagaPopularityView.V
1otingStorySection.decode(e,e.uint32()));break;case 2:a.votePeriodStatus=e.int32();break;case 3:a.resultRankings&&a.resultRankings.length||(a.resultRankings=[]),a.resultRankings.push(i.Proto.YoshinagaPopularityView.ResultRanking.decode(e,e.uint32()));break;case 4:a.lpUrl=e.string();break;case 5:a.publishedTitles&&a.publishedTitles.length||(a.publishedTitles=[]),a.publishedTitles.push(i.Proto.Title.decode(e,e.uint32()));break;case 6:a.downloadImage=i.Proto.Image.decode(e,e.uint32());break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.YoshinagaPopularityView"},e.VotingStorySection=function(){function e(e){if(this.votingCandidates=[],e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.sectionTitle="",e.prototype.votingCandidates=r.emptyArray,e.encode=function(e,t){if(t||(t=o.create()),null!=e.sectionTitle&&Object.hasOwnProperty.call(e,"sectionTitle")&&t.uint32(10).string(e.sectionTitle),null!=e.votingCandidates&&e.votingCandidates.length)for(let n=0;n<e.votingCandidates.length;++n)i.Proto.YoshinagaPopularityView.VotingCandidate.encode(e.votingCandidates[n],t.uint32(18).fork()).ldelim();return t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.YoshinagaPopularityView.VotingStorySection;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.sectionTitle=e.string();break;case 2:a.votingCandidates&&a.votingCandidates.length||(a.votingCandidates=[]),a.votingCandidates.push(i.Proto.YoshinagaPopularityView.VotingCandidate.decode(e,e.uint32()));break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.YoshinagaPopularityView.VotingStorySection"},e}(),e.VotingCandidate=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.voteId=0,e.prototype.titleId=0,e.prototype.coverPicture=null,e.prototype.isPortrait=!1,e.prototype.caption="",e.encode=function(e,t){return t||(t=o.create()),null!=e.voteId&&Object.hasOwnProperty.call(e,"voteId")&&t.uint32(8).uint32(e.voteId),null!=e.titleId&&Object.hasOwnProperty.call(e,"titleId")&&t.uint32(16).uint32(e.titleId),null!=e.coverPicture&&Object.hasOwnProperty.call(e,"coverPicture")&&i.Proto.Image.encode(e.coverPicture,t.uint32(26).fork()).ldelim(),null!=e.isPortrait&&Object.hasOwnProperty.call(e,"isPortrait")&&t.uint32(32).bool(e.isPortrait),null!=e.caption&&Object.hasOwnProperty.call(e,"caption")&&t.uint32(42).string(e.caption),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.YoshinagaPopularityView.VotingCandidate;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.voteId=e.uint32();break;case 2:a.titleId=e.uint32();break;case 3:a.coverPicture=i.Proto.Image.decode(e,e.uint32());break;case 4:a.isPortrait=e.bool();break;case 5:a.caption=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.YoshinagaPopularityView.VotingCandidate"},e}(),e.ResultRanking=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.coverPicture=null,e.prototype.caption="",e.encode=function(e,t){return t||(t=o.create()),null!=e.coverPicture&&Object.hasOwnProperty.call(e,"coverPicture")&&i.Proto.Image.encode(e.coverPicture,t.uint32(10).fork()).ldelim(),null!=e.caption&&Object.hasOwnProperty.call(e,"caption")&&t.uint32(18).string(e.caption),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.YoshinagaPopularityView.ResultRanking;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.coverPicture=i.Proto.Image.decode(e,e.uint32());break;case 2:a.caption=e.string();break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.YoshinagaPopularityView.ResultRanking"},e}(),e.VotePeriodStatus=function(){let e={},t=Object.create(e);return t[e[0]="VOTING_PERIOD"]=0,t[e[1]="VOTING_END"]=1,t[e[2]="RESULT_ANNOUNCEMENT"]=2,t}(),e}(),e.YoshinagaPopularityVoteOgpView=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return e.prototype.ogpTitle="",e.prototype.ogpDescription="",e.prototype.ogpImage=null,e.encode=function(e,t){return t||(t=o.create()),null!=e.ogpTitle&&Object.hasOwnProperty.call(e,"ogpTitle")&&t.uint32(10).string(e.ogpTitle),null!=e.ogpImage&&Object.hasOwnProperty.call(e,"ogpImage")&&i.Proto.Image.encode(e.ogpImage,t.uint32(18).fork()).ldelim(),null!=e.ogpDescription&&Object.hasOwnProperty.call(e,"ogpDescription")&&t.uint32(26).string(e.ogpDescription),t},e.decode=function(e,t,o){e instanceof n||(e=n.create(e));let r=void 0===t?e.len:e.pos+t,a=new i.Proto.YoshinagaPopularityVoteOgpView;for(;e.pos<r;){let t=e.uint32();if(t===o)break;switch(t>>>3){case 1:a.ogpTitle=e.string();break;case 3:a.ogpDescription=e.string();break;case 2:a.ogpImage=i.Proto.Image.decode(e,e.uint32());break;default:e.skipType(7&t)}}return a},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Proto.YoshinagaPopularityVoteOgpView"},e}(),e})();e.s(["Proto",0,a])}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.