text: pbjsChunk([22],{229:function(e,t,r){e.exports=r(230)},230:function(e,t,r){"use strict";var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},n=r(4),d=r(0),a=r(5),p=r(2),o=r(3),s=r(7).default,c=r(1),u="https://in-appadvertising.com/api/bidRequest?",l="https://in-appadvertising.com/api/userSync.js";function I(){var e=new s("trion"),t=null;function r(e){t.int_t||(t.int_t=window.TR_INT_T||-1);for(var r=0;r<e.length;r++){var i=e[r],n=i.bidId;a.loadScript(c(i,n))}}function c(e,r){var i=d.getBidIdParameter("pubId",e.params),n=d.getBidIdParameter("sectionId",e.params),a=d.getBidIdParameter("re",e.params),p=d.getTopWindowUrl(),o=d.parseSizesInput(e.sizes).join(","),s=u;return s=d.tryAppendQueryString(s,"callback","pbjs.handleTrionCB"),s=d.tryAppendQueryString(s,"bidId",r),s=d.tryAppendQueryString(s,"pubId",i),s=d.tryAppendQueryString(s,"sectionId",n),s=d.tryAppendQueryString(s,"re",a),s=d.tryAppendQueryString(s,"slot",e.placementCode),p&&(s+="url="+p+"&"),o&&(s+="sizes="+o+"&"),t&&(s+="tag="+encodeURIComponent(JSON.stringify(t))+"&"),s.lastIndexOf("&")===s.length-1&&(s=s.substring(0,s.length-1)),s}return e.callBids=function(e){var i=e.bids||[];i.length&&(window.TRION_INT?(t=window.TRION_INT,r(i)):a.loadScript(l,(function(){(t=window.TRION_INT||{}).pubId=d.getBidIdParameter("pubId",i[0].params),t.sectionId=d.getBidIdParameter("sectionId",i[0].params),t.to?setTimeout((function(){r(i)}),t.to):r(i)}),!0))},pbjs.handleTrionCB=function(e){var t,r={},i="";if(e&&e.bidId){var a,s=e.bidId,c=e&&e.result;if((r=d.getBidRequest(s))&&(a=r.bidder,i=r.placementCode),c&&c.cpm&&c.placeBid&&c.ad){var u=parseInt(c.cpm,10)/100;(t=o.createBid(n.STATUS.GOOD,r)).bidderCode=a,t.cpm=u,t.ad=c.ad,t.width=c.width,t.height=c.height}}t||(t=o.createBid(n.STATUS.NO_BID,r)),p.addBidResponse(i,t)},i(this,{callBids:e.callBids,setBidderCode:e.setBidderCode,buildTrionUrl:c})}c.registerBidAdapter(new I,"trion"),e.exports=I}},[229]);