text: var QRCode;!function(u){var r="unobtrusiveAjaxClick",i="unobtrusiveAjaxClickTarget";function h(t,e){for(var o=window,a=(t||"").split(".");o&&a.length;)o=o[a.shift()];return"function"==typeof o?o:(e.push(t),Function.constructor.apply(null,e))}function s(i,t){var e,r,s,l;(e=i.getAttribute("data-ajax-confirm"))&&!window.confirm(e)||(r=u(i.getAttribute("data-ajax-loading")),l=parseInt(i.getAttribute("data-ajax-loading-duration"),10)||0,u.extend(t,{type:i.getAttribute("data-ajax-method")||void 0,url:i.getAttribute("data-ajax-url")||void 0,cache:"true"===(i.getAttribute("data-ajax-cache")||"").toLowerCase(),beforeSend:function(t){var e,o,a,n;return o=t,"GET"!==(n=a=s)&&"POST"!==n&&o.setRequestHeader("X-HTTP-Method-Override",a),!1!==(e=h(i.getAttribute("data-ajax-begin"),["xhr"]).apply(i,arguments))&&r.show(l),e},complete:function(){r.hide(l),h(i.getAttribute("data-ajax-complete"),["xhr","status"]).apply(i,arguments)},success:function(t,e,o){var a,n,r;a=i,n=t,-1===(o.getResponseHeader("Content-Type")||"text/html").indexOf("application/x-javascript")&&(r=(a.getAttribute("data-ajax-mode")||"").toUpperCase(),u(a.getAttribute("data-ajax-update")).each(function(t,e){var o;switch(r){case"BEFORE":o=e.firstChild,u("<div />").html(n).contents().each(function(){e.insertBefore(this,o)});break;case"AFTER":u("<div />").html(n).contents().each(function(){e.appendChild(this)});break;case"REPLACE-WITH":u(e).replaceWith(n);break;default:u(e).html(n)}})),h(i.getAttribute("data-ajax-success"),["data","status","xhr"]).apply(i,arguments)},error:function(){h(i.getAttribute("data-ajax-failure"),["xhr","status","error"]).apply(i,arguments)}}),"POST"===(s=t.type.toUpperCase())&&(t.cache=!1,t.processData=!1,t.contentType=!1),u.ajax(t))}u(document).on("click","a[data-ajax=true]",function(t){t.preventDefault(),s(this,{url:this.href,type:"GET",data:[]})}),u(document).on("click","form[data-ajax=true] input[type=image]",function(t){var e=t.target.name,o=u(t.target),a=u(o.parents("form")[0]),n=o.offset();a.data(r,[{name:e+".x",value:Math.round(t.pageX-n.left)},{name:e+".y",value:Math.round(t.pageY-n.top)}]),setTimeout(function(){a.removeData(r)},0)}),u(document).on("click","form[data-ajax=true] :submit",function(t){var e=t.currentTarget.name,o=u(t.target),a=u(o.parents("form")[0]);a.data(r,e?[{name:e,value:t.currentTarget.value}]:[]),a.data(i,o),setTimeout(function(){a.removeData(r),a.removeData(i)},0)}),u(document).on("submit","form[data-ajax=true]",function(t){u(this).data(r);var e=u(this).data(i),o=e&&e.hasClass("cancel");t.preventDefault();var a,n=new FormData(this);!o&&((a=u(this).data("unobtrusiveValidation"))&&a.validate&&!a.validate())||s(this,{url:this.action,type:this.method||"GET",data:n})})}(jQuery),function(h){"use strict";h.fn.nonSuckyYouTubeEmbed=function(t){var e,o,a,n,r,i,s,l,u=h.extend({defaultWidth:640,defaultHeight:390,playBtnSrc:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6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Azo3DzTZVmu12gkiYjgcXveaAUY7OzufJiYmXK8fDofXERFrtdpnOrcILHAjhBiIiIFA4HW/GEBENE3TXlpaqvh8vtVe1x8ZGVljTpbOPQX20DRNCxHxIva/l5y4Xq9/iUajb3v1B/QQLDr3/NIYODg4+BKNRv/ygoGBilCn07HT6bSnIvQHAKjVarXvSlwsFj9dZH2mxNVq9cSpxPMAoGaz2Xq/zCghxHj06NE/XpnRbDZbd5rRvjqyTCbTd0d25UOJKxHMBYNB7bxg7sqH0/+LhOZrSlmpVH7mlPL4vJQSaKLcldT3o4TopuR4RlI/c15ZRflZyyrb29vfLatc+cJWV2kxkUh8LS1OT09fSmmx0+nYiIiJROKHS4tdxd10Ol1hxd1BMjE1NbXFirvpdLrSS3GX0W9XubzO6DZrcCwuLg68wZFOpyuO4O+22y7NbdZiSiQSA2sxOWR++SLgv9vkOzw8bEqStOcmdgoGg5okSXvMw/aryddTm1WW5a42K8/zKzzPd7VZZVkeeJv1dKNbcTa6dV132+i2dF0/3ehW+tXoPu2xo86rBn6//5UgCJupVIpdNfhMCGmbpmmbpmkTQtrVavUkm81+vWpAQ2In8Jl+XzU4q6dwj4a1bi97PKFrDPSyx1l03XHdZp4m209p2eM5/b1In7HrNte92Pi/AQBeu9zDXmVhTAAAAABJRU5ErkJggg==",playBtnStyle:"position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin-left: -24px; margin-top: -24px; cursor: pointer",thumbStyle:"width: 100%; height: auto; display: inline; cursor: pointer"},t);return this.each(function(){e=h(this),o=e.attr("id"),n=e.data("alt")?e.data("alt"):"",a='<img src="https://img.youtube.com/vi/'+o+'/maxresdefault.jpg" style="'+u.thumbStyle+'" alt="'+n+'" />',r='<img style="'+u.playBtnStyle+'" src="'+u.playBtnSrc+'" alt="Play" />',e.css("position","relative"),e.html(a+r)}),this.bind("click",function(){e=h(this),o=e.attr("id"),s=e.data("width")?e.data("width"):u.defaultWidth,l=e.data("height")?e.data("height"):u.defaultHeight,"position: absolute; top: 0; left: 0; width: 100%; height: 100%","position: relative; padding-bottom: "+(l/s*100+"%")+"; padding-top: 30px; height: 0; overflow: hidden;",i='<div class="youtube-container">'+('<iframe allowfullscreen type="text/html" src="http://youtube.com/embed/'+o+'?autoplay=1" frameborder="0" height="'+l+'" width="'+s+'"></iframe>')+"</div>",e.html(i)})}}(jQuery),function(){var p=function(t){if(t){var e=t.match(/-?\d+\.\d+/g);return{latitude:e[0],longitude:e[1]}}};$(".editor-for-dbgeography, .display-for-dbgeography").each(function(t,e){var o=$(e),a=$("<div>",{css:{width:"100%",height:"400px"}}).insertAfter(o),n=null;null!==document.getElementById("PlaceId")&&(n=document.getElementById("PlaceId"));var r=p(this.value);r&&r.latitude&&r.longitude||(r={latitude:46.8729599408635,longitude:16.5243165940046});var i=new google.maps.LatLng(r.latitude,r.longitude),s=new google.maps.Map(a[0],{zoom:7,center:i,mapTypeId:"roadmap"}),l=new google.maps.Marker({position:i,map:s});$(document).ready(function(){$(window).resize(function(){google.maps.event.trigger(s,"resize"),s.setCenter(l.getPosition())}),google.maps.event.trigger(s,"resize"),s.setCenter(l.getPosition())});var u=function(t){l.setPosition(t.latLng),s.panTo(t.latLng),o.val(l.getPosition().toUrlValue(13))};if(o.hasClass("editor-for-dbgeography")){google.maps.event.addListener(s,"click",function(t){u(t),null!==n&&(n.value="")}),google.maps.event.addListener(s,"click",function(){g.close()}),$("<input>",{id:"map-search",class:"controls",type:"text",placeholder:"Enter a location"}).insertAfter(o);var h=document.getElementById("map-search"),d=($('<div id="infowindow-content"><span id="place-name" class="title"></span><br>Place ID<span id="place-id"></span><br><span id="place-address"></span></div>').insertAfter(o),document.getElementById("infowindow-content")),c=new google.maps.places.Autocomplete(h);c.bindTo("bounds",s),s.controls[google.maps.ControlPosition.TOP_LEFT].push(h);var g=new google.maps.InfoWindow;g.setContent(d),l.addListener("click",function(){g.open(s,l)}),c.addListener("place_changed",function(){g.close();var t=c.getPlace();if(t.geometry){t.geometry.viewport?s.fitBounds(t.geometry.viewport):(s.setCenter(t.geometry.location),s.setZoom(17)),t.geometry.location;var e=t.place_id;null!==n&&(n.value=e),u({latLng:t.geometry.location}),l.setVisible(!0),d.children["place-name"].textContent=t.name,d.children["place-id"].textContent=t.place_id,d.children["place-address"].textContent=t.formatted_address,g.open(s,l)}})}})}(),$(".modal-transparent").on("show.bs.modal",function(){setTimeout(function(){$(".modal-backdrop").addClass("modal-backdrop-transparent")},0)}),$(".modal-transparent").on("hidden.bs.modal",function(){$(".modal-backdrop").addClass("modal-backdrop-transparent")}),$(".modal-fullscreen").on("show.bs.modal",function(){setTimeout(function(){$(".modal-backdrop").addClass("modal-backdrop-fullscreen")},0)}),$(".modal-fullscreen").on("hidden.bs.modal",function(){$(".modal-backdrop").addClass("modal-backdrop-fullscreen")}),function(){function o(t){this.mode=r.MODE_8BIT_BYTE,this.data=t,this.parsedData=[];for(var e=0,o=this.data.length;e<o;e++){var a=[],n=this.data.charCodeAt(e);65536<n?(a[0]=240|(1835008&n)>>>18,a[1]=128|(258048&n)>>>12,a[2]=128|(4032&n)>>>6,a[3]=128|63&n):2048<n?(a[0]=224|(61440&n)>>>12,a[1]=128|(4032&n)>>>6,a[2]=128|63&n):128<n?(a[0]=192|(1984&n)>>>6,a[1]=128|63&n):a[0]=n,this.parsedData.push(a)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function l(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}o.prototype={getLength:function(t){return this.parsedData.length},write:function(t){for(var e=0,o=this.parsedData.length;e<o;e++)t.put(this.parsedData[e],8)}},l.prototype={addData:function(t){var e=new o(t);this.dataList.push(e),this.dataCache=null},isDark:function(t,e){if(t<0||this.moduleCount<=t||e<0||this.moduleCount<=e)throw new Error(t+","+e);return this.modules[t][e]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(t,e){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var o=0;o<this.moduleCount;o++){this.modules[o]=new Array(this.moduleCount);for(var a=0;a<this.moduleCount;a++)this.modules[o][a]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(t,e),7<=this.typeNumber&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=l.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,e)},setupPositionProbePattern:function(t,e){for(var o=-1;o<=7;o++)if(!(t+o<=-1||this.moduleCount<=t+o))for(var a=-1;a<=7;a++)e+a<=-1||this.moduleCount<=e+a||(this.modules[t+o][e+a]=0<=o&&o<=6&&(0==a||6==a)||0<=a&&a<=6&&(0==o||6==o)||2<=o&&o<=4&&2<=a&&a<=4)},getBestMaskPattern:function(){for(var t=0,e=0,o=0;o<8;o++){this.makeImpl(!0,o);var a=A.getLostPoint(this);(0==o||a<t)&&(t=a,e=o)}return e},createMovieClip:function(t,e,o){var a=t.createEmptyMovieClip(e,o);this.make();for(var n=0;n<this.modules.length;n++)for(var r=1*n,i=0;i<this.modules[n].length;i++){var s=1*i;this.modules[n][i]&&(a.beginFill(0,100),a.moveTo(s,r),a.lineTo(s+1,r),a.lineTo(s+1,r+1),a.lineTo(s,r+1),a.endFill())}return a},setupTimingPattern:function(){for(var t=8;t<this.moduleCount-8;t++)null==this.modules[t][6]&&(this.modules[t][6]=t%2==0);for(var e=8;e<this.moduleCount-8;e++)null==this.modules[6][e]&&(this.modules[6][e]=e%2==0)},setupPositionAdjustPattern:function(){for(var t=A.getPatternPosition(this.typeNumber),e=0;e<t.length;e++)for(var o=0;o<t.length;o++){var a=t[e],n=t[o];if(null==this.modules[a][n])for(var r=-2;r<=2;r++)for(var i=-2;i<=2;i++)this.modules[a+r][n+i]=-2==r||2==r||-2==i||2==i||0==r&&0==i}},setupTypeNumber:function(t){for(var e=A.getBCHTypeNumber(this.typeNumber),o=0;o<18;o++){var a=!t&&1==(e>>o&1);this.modules[Math.floor(o/3)][o%3+this.moduleCount-8-3]=a}for(o=0;o<18;o++){a=!t&&1==(e>>o&1);this.modules[o%3+this.moduleCount-8-3][Math.floor(o/3)]=a}},setupTypeInfo:function(t,e){for(var o=this.errorCorrectLevel<<3|e,a=A.getBCHTypeInfo(o),n=0;n<15;n++){var r=!t&&1==(a>>n&1);n<6?this.modules[n][8]=r:n<8?this.modules[n+1][8]=r:this.modules[this.moduleCount-15+n][8]=r}for(n=0;n<15;n++){r=!t&&1==(a>>n&1);n<8?this.modules[8][this.moduleCount-n-1]=r:n<9?this.modules[8][15-n-1+1]=r:this.modules[8][15-n-1]=r}this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var o=-1,a=this.moduleCount-1,n=7,r=0,i=this.moduleCount-1;0<i;i-=2)for(6==i&&i--;;){for(var s=0;s<2;s++)if(null==this.modules[a][i-s]){var l=!1;r<t.length&&(l=1==(t[r]>>>n&1)),A.getMask(e,a,i-s)&&(l=!l),this.modules[a][i-s]=l,-1==--n&&(r++,n=7)}if((a+=o)<0||this.moduleCount<=a){a-=o,o=-o;break}}}},l.PAD0=236,l.PAD1=17,l.createData=function(t,e,o){for(var a=f.getRSBlocks(t,e),n=new m,r=0;r<o.length;r++){var i=o[r];n.put(i.mode,4),n.put(i.getLength(),A.getLengthInBits(i.mode,t)),i.write(n)}var s=0;for(r=0;r<a.length;r++)s+=a[r].dataCount;if(n.getLengthInBits()>8*s)throw new Error("code length overflow. ("+n.getLengthInBits()+">"+8*s+")");for(n.getLengthInBits()+4<=8*s&&n.put(0,4);n.getLengthInBits()%8!=0;)n.putBit(!1);for(;!(n.getLengthInBits()>=8*s||(n.put(l.PAD0,8),n.getLengthInBits()>=8*s));)n.put(l.PAD1,8);return l.createBytes(n,a)},l.createBytes=function(t,e){for(var o=0,a=0,n=0,r=new Array(e.length),i=new Array(e.length),s=0;s<e.length;s++){var l=e[s].dataCount,u=e[s].totalCount-l;a=Math.max(a,l),n=Math.max(n,u),r[s]=new Array(l);for(var h=0;h<r[s].length;h++)r[s][h]=255&t.buffer[h+o];o+=l;var d=A.getErrorCorrectPolynomial(u),c=new v(r[s],d.getLength()-1).mod(d);i[s]=new Array(d.getLength()-1);for(h=0;h<i[s].length;h++){var g=h+c.getLength()-i[s].length;i[s][h]=0<=g?c.get(g):0}}var p=0;for(h=0;h<e.length;h++)p+=e[h].totalCount;var f=new Array(p),m=0;for(h=0;h<a;h++)for(s=0;s<e.length;s++)h<r[s].length&&(f[m++]=r[s][h]);for(h=0;h<n;h++)for(s=0;s<e.length;s++)h<i[s].length&&(f[m++]=i[s][h]);return f};for(var r={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},u={L:1,M:0,Q:3,H:2},a=0,n=1,i=2,s=3,h=4,d=5,c=6,g=7,A={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(t){for(var e=t<<10;0<=A.getBCHDigit(e)-A.getBCHDigit(A.G15);)e^=A.G15<<A.getBCHDigit(e)-A.getBCHDigit(A.G15);return(t<<10|e)^A.G15_MASK},getBCHTypeNumber:function(t){for(var e=t<<12;0<=A.getBCHDigit(e)-A.getBCHDigit(A.G18);)e^=A.G18<<A.getBCHDigit(e)-A.getBCHDigit(A.G18);return t<<12|e},getBCHDigit:function(t){for(var e=0;0!=t;)e++,t>>>=1;return e},getPatternPosition:function(t){return A.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,o){switch(t){case a:return(e+o)%2==0;case n:return e%2==0;case i:return o%3==0;case s:return(e+o)%3==0;case h:return(Math.floor(e/2)+Math.floor(o/3))%2==0;case d:return e*o%2+e*o%3==0;case c:return(e*o%2+e*o%3)%2==0;case g:return(e*o%3+(e+o)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new v([1],0),o=0;o<t;o++)e=e.multiply(new v([1,p.gexp(o)],0));return e},getLengthInBits:function(t,e){if(1<=e&&e<10)switch(t){case r.MODE_NUMBER:return 10;case r.MODE_ALPHA_NUM:return 9;case r.MODE_8BIT_BYTE:case r.MODE_KANJI:return 8;default:throw new Error("mode:"+t)}else if(e<27)switch(t){case r.MODE_NUMBER:return 12;case r.MODE_ALPHA_NUM:return 11;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 10;default:throw new Error("mode:"+t)}else{if(!(e<41))throw new Error("type:"+e);switch(t){case r.MODE_NUMBER:return 14;case r.MODE_ALPHA_NUM:return 13;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 12;default:throw new Error("mode:"+t)}}},getLostPoint:function(t){for(var e=t.getModuleCount(),o=0,a=0;a<e;a++)for(var n=0;n<e;n++){for(var r=0,i=t.isDark(a,n),s=-1;s<=1;s++)if(!(a+s<0||e<=a+s))for(var l=-1;l<=1;l++)n+l<0||e<=n+l||0==s&&0==l||i==t.isDark(a+s,n+l)&&r++;5<r&&(o+=3+r-5)}for(a=0;a<e-1;a++)for(n=0;n<e-1;n++){var u=0;t.isDark(a,n)&&u++,t.isDark(a+1,n)&&u++,t.isDark(a,n+1)&&u++,t.isDark(a+1,n+1)&&u++,0!=u&&4!=u||(o+=3)}for(a=0;a<e;a++)for(n=0;n<e-6;n++)t.isDark(a,n)&&!t.isDark(a,n+1)&&t.isDark(a,n+2)&&t.isDark(a,n+3)&&t.isDark(a,n+4)&&!t.isDark(a,n+5)&&t.isDark(a,n+6)&&(o+=40);for(n=0;n<e;n++)for(a=0;a<e-6;a++)t.isDark(a,n)&&!t.isDark(a+1,n)&&t.isDark(a+2,n)&&t.isDark(a+3,n)&&t.isDark(a+4,n)&&!t.isDark(a+5,n)&&t.isDark(a+6,n)&&(o+=40);var h=0;for(n=0;n<e;n++)for(a=0;a<e;a++)t.isDark(a,n)&&h++;return o+=10*(Math.abs(100*h/e/e-50)/5)}},p={glog:function(t){if(t<1)throw new Error("glog("+t+")");return p.LOG_TABLE[t]},gexp:function(t){for(;t<0;)t+=255;for(;256<=t;)t-=255;return p.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},t=0;t<8;t++)p.EXP_TABLE[t]=1<<t;for(t=8;t<256;t++)p.EXP_TABLE[t]=p.EXP_TABLE[t-4]^p.EXP_TABLE[t-5]^p.EXP_TABLE[t-6]^p.EXP_TABLE[t-8];for(t=0;t<255;t++)p.LOG_TABLE[p.EXP_TABLE[t]]=t;function v(t,e){if(null==t.length)throw new Error(t.length+"/"+e);for(var o=0;o<t.length&&0==t[o];)o++;this.num=new Array(t.length-o+e);for(var a=0;a<t.length-o;a++)this.num[a]=t[a+o]}function f(t,e){this.totalCount=t,this.dataCount=e}function m(){this.buffer=[],this.length=0}v.prototype={get:function(t){return this.num[t]},getLength:function(){return this.num.length},multiply:function(t){for(var e=new Array(this.getLength()+t.getLength()-1),o=0;o<this.getLength();o++)for(var a=0;a<t.getLength();a++)e[o+a]^=p.gexp(p.glog(this.get(o))+p.glog(t.get(a)));return new v(e,0)},mod:function(t){if(this.getLength()-t.getLength()<0)return this;for(var e=p.glog(this.get(0))-p.glog(t.get(0)),o=new Array(this.getLength()),a=0;a<this.getLength();a++)o[a]=this.get(a);for(a=0;a<t.getLength();a++)o[a]^=p.gexp(p.glog(t.get(a))+e);return new v(o,0).mod(t)}},f.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],f.getRSBlocks=function(t,e){var o=f.getRsBlockTable(t,e);if(null==o)throw new Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+e);for(var a=o.length/3,n=[],r=0;r<a;r++)for(var i=o[3*r+0],s=o[3*r+1],l=o[3*r+2],u=0;u<i;u++)n.push(new f(s,l));return n},f.getRsBlockTable=function(t,e){switch(e){case u.L:return f.RS_BLOCK_TABLE[4*(t-1)+0];case u.M:return f.RS_BLOCK_TABLE[4*(t-1)+1];case u.Q:return f.RS_BLOCK_TABLE[4*(t-1)+2];case u.H:return f.RS_BLOCK_TABLE[4*(t-1)+3];default:return}},m.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var o=0;o<e;o++)this.putBit(1==(t>>>e-o-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var C=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function w(){var t=!1,e=navigator.userAgent;if(/android/i.test(e)){t=!0;var o=e.toString().match(/android ([0-9]\.[0-9])/i);o&&o[1]&&(t=parseFloat(o[1]))}return t}var e,b,y=((e=function(t,e){this._el=t,this._htOption=e}).prototype.draw=function(t){var e=this._htOption,o=this._el,a=t.getModuleCount();function n(t,e){var o=document.createElementNS("http://www.w3.org/2000/svg",t);for(var a in e)e.hasOwnProperty(a)&&o.setAttribute(a,e[a]);return o}Math.floor(e.width/a),Math.floor(e.height/a),this.clear();var r=n("svg",{viewBox:"0 0 "+String(a)+" "+String(a),width:"100%",height:"100%",fill:e.colorLight});r.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),o.appendChild(r),r.appendChild(n("rect",{fill:e.colorLight,width:"100%",height:"100%"})),r.appendChild(n("rect",{fill:e.colorDark,width:"1",height:"1",id:"template"}));for(var i=0;i<a;i++)for(var s=0;s<a;s++)if(t.isDark(i,s)){var l=n("use",{x:String(s),y:String(i)});l.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),r.appendChild(l)}},e.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},e),B="svg"===document.documentElement.tagName.toLowerCase()?y:"undefined"==typeof CanvasRenderingContext2D?((b=function(t,e){this._el=t,this._htOption=e}).prototype.draw=function(t){for(var e=this._htOption,o=this._el,a=t.getModuleCount(),n=Math.floor(e.width/a),r=Math.floor(e.height/a),i=['<table style="border:0;border-collapse:collapse;">'],s=0;s<a;s++){i.push("<tr>");for(var l=0;l<a;l++)i.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+n+"px;height:"+r+"px;background-color:"+(t.isDark(s,l)?e.colorDark:e.colorLight)+';"></td>');i.push("</tr>")}i.push("</table>"),o.innerHTML=i.join("");var u=o.childNodes[0],h=(e.width-u.offsetWidth)/2,d=(e.height-u.offsetHeight)/2;0<h&&0<d&&(u.style.margin=d+"px "+h+"px")},b.prototype.clear=function(){this._el.innerHTML=""},b):function(){function t(){this._elImage.src=this._elCanvas.toDataURL("image/png"),this._elImage.style.display="block",this._elCanvas.style.display="none"}if(this._android&&this._android<=2.1){var h=1/window.devicePixelRatio,d=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(t,e,o,a,n,r,i,s,l){if("nodeName"in t&&/img/i.test(t.nodeName))for(var u=arguments.length-1;1<=u;u--)arguments[u]=arguments[u]*h;else void 0===s&&(e*=h,o*=h,a*=h,n*=h);d.apply(this,arguments)}}var e=function(t,e){this._bIsPainted=!1,this._android=w(),this._htOption=e,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=e.width,this._elCanvas.height=e.height,t.appendChild(this._elCanvas),this._el=t,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.alt="Scan me!",this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return e.prototype.draw=function(t){var e=this._elImage,o=this._oContext,a=this._htOption,n=t.getModuleCount(),r=a.width/n,i=a.height/n,s=Math.round(r),l=Math.round(i);e.style.display="none",this.clear();for(var u=0;u<n;u++)for(var h=0;h<n;h++){var d=t.isDark(u,h),c=h*r,g=u*i;o.strokeStyle=d?a.colorDark:a.colorLight,o.lineWidth=1,o.fillStyle=d?a.colorDark:a.colorLight,o.fillRect(c,g,r,i),o.strokeRect(Math.floor(c)+.5,Math.floor(g)+.5,s,l),o.strokeRect(Math.ceil(c)-.5,Math.ceil(g)-.5,s,l)}this._bIsPainted=!0},e.prototype.makeImage=function(){this._bIsPainted&&function(t,e){var o=this;if(o._fFail=e,o._fSuccess=t,null===o._bSupportDataURI){var a=document.createElement("img"),n=function(){o._bSupportDataURI=!1,o._fFail&&o._fFail.call(o)};return a.onabort=n,a.onerror=n,a.onload=function(){o._bSupportDataURI=!0,o._fSuccess&&o._fSuccess.call(o)},void(a.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==")}!0===o._bSupportDataURI&&o._fSuccess?o._fSuccess.call(o):!1===o._bSupportDataURI&&o._fFail&&o._fFail.call(o)}.call(this,t)},e.prototype.isPainted=function(){return this._bIsPainted},e.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},e.prototype.round=function(t){return t?Math.floor(1e3*t)/1e3:t},e}();function D(t,e){for(var o,a,n=1,r=(o=t,(a=encodeURI(o).toString().replace(/\%[0-9a-fA-F]{2}/g,"a")).length+(a.length!=o?3:0)),i=0,s=C.length;i<=s;i++){var l=0;switch(e){case u.L:l=C[i][0];break;case u.M:l=C[i][1];break;case u.Q:l=C[i][2];break;case u.H:l=C[i][3]}if(r<=l)break;n++}if(C.length<n)throw new Error("Too long data");return n}(QRCode=function(t,e){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:u.H},"string"==typeof e&&(e={text:e}),e)for(var o in e)this._htOption[o]=e[o];"string"==typeof t&&(t=document.getElementById(t)),this._htOption.useSVG&&(B=y),this._android=w(),this._el=t,this._oQRCode=null,this._oDrawing=new B(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)}).prototype.makeCode=function(t){this._oQRCode=new l(D(t,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(t),this._oQRCode.make(),this._el.title=t,this._oDrawing.draw(this._oQRCode),this.makeImage()},QRCode.prototype.makeImage=function(){"function"==typeof this._oDrawing.makeImage&&(!this._android||3<=this._android)&&this._oDrawing.makeImage()},QRCode.prototype.clear=function(){this._oDrawing.clear()},QRCode.CorrectLevel=u}(),$(window).scroll(function(){50<=$(this).scrollTop()?$("#return-to-top").fadeIn(200):$("#return-to-top").fadeOut(200)}),$("#return-to-top").click(function(){$("body,html").animate({scrollTop:0},500)}),$(document).scroll(function(){localStorage.page=document.URL,localStorage.scrollTop=$(document).scrollTop()}),$(document).ready(function(){localStorage.page==document.URL&&$(document).scrollTop(localStorage.scrollTop)});var signalRNotificationsConnection=null;function setupSignalRNotificationsConnection(){(signalRNotificationsConnection=(new signalR.HubConnectionBuilder).withUrl("/api/signalR/notifications").build()).on("ReceiveMessage",function(t){alert(t)}),signalRNotificationsConnection.on("Finished",function(){signalRNotificationsConnection.stop()}),signalRNotificationsConnection.start().catch(function(t){console.error(t.toString())})}function stripHashtags(t){var e=new RegExp("#([^\\s]*)","g");return t=t.replace(e,"")}setupSignalRNotificationsConnection(),$(function(){$("#search-form").submit(function(){return!!$("#s").val().trim()})}),$(".gallery").each(function(){$(this).magnificPopup({delegate:"a.gallery-image",type:"image",gallery:{enabled:!0},image:{cursor:null,titleSrc:"title"}})}),$(window).scroll(function(){$(".navbar").offset()&&(50<$(".navbar").offset().top?$(".scrolling-navbar").addClass("top-nav-collapse"):$(".scrolling-navbar").removeClass("top-nav-collapse"))});