/iphone|mac|ipad|ipod/[Link]([Link]())&&(console={},console.
log=function(e){var t=[Link]("iframe");[Link]("src","ios-log:
"+e),[Link](t),[Link](t),t=null},console.d
ebug=[Link]=[Link]=[Link]=[Link]),function(){var
e=[Link]={},t=[Link](),n=/iphone|mac|ipad|ipod/[Link]
(t),r=/android/[Link](t),i=[Link]={nativeSDKFiredReady:!1,nativeCallQueue:[],native
CallInFlight:!1,lastSizeChangeProperties:null};function o(e){var t,i;N([Link],"调用方法:
"+e),n?(t=e,(i=[Link]("iframe")).setAttribute("frameborder","0"),[Link]
="width:0;height:0;border:0;display:none;",[Link]("src",t),setTimeout(function(){document.
[Link](i)},5)):r&&[Link](e,"mraid:")}[Link]=function(e){for(var t
in
e){if([Link](t))(0,A[t])(e[t])}},[Link]=function(e){0!==[Link]
[Link]?o([Link]()):[Link]=!1},[Link]=function(
e){var t=[Link]();if(![Link])return [Link]("rejecting "+t+" because mraid
is not ready"),void [Link]("mraid is not ready",t);for(var
n,r,a="mraid://"+t,s=!0,u=0;u<[Link];u+=2)n=e[u],null!==(r=e[u+1])&&(s?(a+="?",s=!1):a+="&",
a+=encodeURIComponent(n)+"="+encodeURIComponent(r));[Link]?[Link]
[Link](a):([Link]=!0,o(a))},[Link]=function(e,t,n,r){d={x:e,
y:t,width:n,height:r},N([Link],"Set current position to
"+I(d))},[Link]=function(e,t,n,r){g={x:e,y:t,width:n,height:r},N([Link],"Set default
position to
"+I(g))},[Link]=function(e,t){p={width:e,height:t},[Link]=e,[Link]=t,N([Link],"Set max
size to "+I(p))},[Link]=function(e){O=e,N([Link],"Set placement type to
"+I(O))},[Link]=function(e,t){m={width:e,height:t},N([Link],"Set screen size to
"+I(m))},[Link]=function(e){R=e,N([Link],"Set state to
"+I(R)),N([Link],R)},[Link]=function(e){y=e,N([Link],"Set isViewable to
"+I(y)),N([Link],y)},[Link]=function(e,t,n,r,i){f={[Link]
ePicture:r,inlineVideo:i}},[Link]=function(){[Link]=!0,N([Link]
Y)},[Link]=function(e,t){N([Link],e,t)},[Link]=[Link],[Link]
rrorEvent=[Link],[Link]=function(e,t){[Link]
es&&e==[Link]&&t==[Link]||(this.l
astSizeChangeProperties={width:e,height:t},N([Link],e,t))},[Link]=
function(){R===[Link]&&N([Link],"Native SDK initialized."),N([Link],"Set state to
"+I(R)),N([Link],R)},[Link]=function(){N([Link],"Set
isViewable to
"+I(y)),N([Link],y)},[Link]=function(e){w=e,N([Link],"Set
audioVolumeChange to "+I(e)),N([Link],w)};[Link]="3.0";var
a=[Link]={LOADING:"loading",DEFAULT:"default",EXPANDED:"expanded",HIDDEN:"hidde
n",RESIZED:"resized"},s=[Link]={ERROR:"error",INFO:"info",READY:"ready",STATECHAN
GE:"stateChange",VIEWABLECHANGE:"viewableChange",SIZECHANGE:"sizeChange",AUDI
OVOLUMECHANGE:"audioVolumeChange"},u=e.PLACEMENT_TYPES={UNKNOWN:"unknow
n",INLINE:"inline",INTERSTITIAL:"interstitial"},h={width:!1,height:!1,useCustomClose:!1,isModal:
!0},l={width:!1,height:!1,offsetX:!1,offsetY:!1,customClosePosition:"top-right",allowOffscreen:!0},c
={allowOrientationChange:!0,forceOrientation:"none"},f={[Link]
,inlineVideo:!1},p={},d={},g={},m={},v={},E={},w="",R=[Link],y=!1,O=[Link],C={maj
or:0,minor:0,patch:0},N=function(){for(var e=new
Array([Link]),t=[Link],n=0;n<t;n++)e[n]=arguments[n];var
r=[Link]();v[r]&&v[r].broadcast(e)},S=function(e,t){for(var n in
t)if(t[n]===e)return!0;return!1},I=function(e){if("object"==typeof e){var t=[];if([Link]){for(var n in
e)[Link](e[n]);return"["+[Link](",")+"]"}for(var n in e)[Link]("'"+n+"':
"+e[n]);return"{"+[Link](",")+"}"}return
String(e)},A={state:function(e){R===[Link]&&N([Link],"Native SDK
initialized."),R=e,N([Link],"Set state to
"+I(e)),N([Link],R)},viewable:function(e){y=e,N([Link],"Set isViewable to
"+I(e)),N([Link],y)},placementType:function(e){N([Link],"Set placementType
to "+I(e)),O=e},sizeChange:function(e){for(var t in N([Link],"Set screenSize to
"+I(e)),e)[Link](t)&&(m[t]=e[t])},currentAppOrientation:function(e,t){E={orientation:e,
locked:t},N([Link],"Set app orientation to "+I(E))},supports:function(e){N([Link],"Set supports
to "+I(e)),f=e},hostSDKVersion:function(e){var t=[Link](".").map(function(e){return
parseInt(e,10)}).filter(function(e){return
e>=0});[Link]>=3&&([Link]=parseInt(t[0],10),[Link]=parseInt(t[1],10),[Link]=parseInt(t[2],
10),N([Link],"Set hostSDKVersion to "+I(C)))}},P=function(e,t,n,r){if(!r){if(null===e)return
N([Link],"Required object not provided.",n),!1;for(var i in t)if([Link](i)&&void
0===e[i])return N([Link],"Object is missing required property: "+i,n),!1}for(var o in e){var
a=t[o],u=e[o];if(a&&!a(u))return N([Link],"Value of property "+o+" is invalid:
"+u,n),!1}return!0},b={useCustomClose:function(e){return"boolean"==typeof
e}};[Link]=function(t,n){t&&n?S(t,s)?(v[t]||(v[t]=new
function(t){[Link]=t,[Link]=0;var n={};[Link]=function(e){var
t=String(e);n[t]||(n[t]=e,[Link]++)},[Link]=function(e){var
t=String(e);return!!n[t]&&(n[t]=null,delete n[t],[Link]--,!0)},[Link]=function(){for(var e
in n)[Link](e)&&[Link](n[e])},[Link]=function(t){for(var r in
n)[Link](r)&&n[r].apply(e,t)},[Link]=function(){var e=[t,":"];for(var r in
n)[Link](r)&&[Link]("|",r,"|");return [Link]("")}}(t)),v[t].add(n)):N([Link],"Unknown
MRAID event: "+t,"addEventListener"):N([Link],"Both event and listener are
required.","addEventListener")},[Link]=function(){R===[Link]?N([Link],"Ad cannot be
closed when it is already
hidden.","close"):[Link](["close"])},[Link]=function(){R===[Link]?N([Link]
ROR,"Ad cannot be unload when it is already
EXPANDED.","close"):[Link](["unload"])},[Link]=function(e){if([Link]()!==
[Link]&&[Link]()!==[Link])N([Link],"Ad can only be expanded from the
default or resized state.","expand");else{var
t=["expand","shouldUseCustomClose",!1];e&&(t=[Link](["url",e])),[Link](t)}},[Link]
ExpandProperties=function(){return{width:[Link],height:[Link],useCustomClose:[Link]
mClose,isModal:[Link]}},[Link]=function(){return{x:d.x,y:d.y,width:[Link],heig
ht:[Link]}},[Link]=function(){return{x:g.x,y:g.y,width:[Link],height:[Link]}},e.g
etMaxSize=function(){return{width:[Link]||[Link],height:[Link]||[Link]
ht}},[Link]=function(){return
O},[Link]=function(){return{width:[Link]||[Link],height:[Link]||wind
[Link]}},[Link]=function(){return R},[Link]=function(){return
y},[Link]=function(){return
[Link]},[Link]=function(){return{orientation:[Link],locked:[Link]
ked}},[Link]=function(){return
w},[Link]=function(e){e?[Link](["open","url",e]):N([Link],"URL is
required.","open")},[Link]=function(e,t){if(e){if(t){var
n=!1;if(v[e]&&(n=v[e].remove(t)),!n)return void N([Link],"Listener not currently registered for
event.","removeEventListener")}else!t&&v[e]&&v[e].removeAll();v[e]&&0===v[e].count&&(v[e]=n
ull,delete v[e])}else N([Link],"Event is
required.","removeEventListener")},[Link]=function(e){P(e,b,"setExpandPropert
ies",!0)&&[Link]("useCustomClose")&&([Link]=!1)},[Link]
e=function(e){},[Link]=function(e){[Link](e),[Link]()?[Link](
[Link]):N([Link],[Link][0],"createCalendarEvent")},[Link]=function(e){return
f[e]},[Link]=function(t){[Link]()?t?[Link](["playVideo","uri",t]):N([Link]
OR,"playVideo must be called with a valid URI","playVideo"):N([Link],"playVideo cannot be
called until the ad is
viewable","playVideo")},[Link]=function(t){[Link]()?t?[Link](["storePi
cture","uri",t]):N([Link],"storePicture must be called with a valid
URI","storePicture"):N([Link],"storePicture cannot be called until the ad is
viewable","storePicture")};var
V={width:function(e){return!isNaN(e)&&e>0},height:function(e){return!isNaN(e)&&e>0},offsetX:fu
nction(e){return!isNaN(e)},offsetY:function(e){return!isNaN(e)},customClosePosition:function(e){r
eturn"string"==typeof
e&&["top-right","bottom-right","top-left","bottom-left","center","top-center","bottom-center"].index
Of(e)>-1},allowOffscreen:function(e){return"boolean"==typeof
e}};[Link]=function(e){[Link]("allowOrientationChange")&&([Link]
owOrientationChange=[Link]),[Link]("forceOrientation")&&([Link]
rceOrientation=[Link]);var
t=["setOrientationProperties","allowOrientationChange",[Link],"forceOrientat
ion",[Link]];[Link](t)},[Link]=function(){return{allow
OrientationChange:[Link],forceOrientation:[Link]}},[Link]=fun
ction(){if([Link]()!==[Link]&&[Link]()!==[Link])N([Link],"Ad can
only be resized from the default or resized state.","resize");else if([Link]&&[Link]){var
e=["resize","width",[Link],"height",[Link],"offsetX",[Link]||0,"offsetY",[Link]||0,"customClos
ePosition",[Link],"allowOffscreen",!![Link]];[Link](e)}els
e N([Link],"Must set resize properties before calling
resize()","resize")},[Link]=function(){return{width:[Link],height:[Link],offsetX:l.
offsetX,offsetY:[Link],customClosePosition:[Link],allowOffscreen:[Link]
een}},[Link]=function(e){if(P(e,V,"setResizeProperties",!0))for(var
t=["width","height","offsetX","offsetY","customClosePosition","allowOffscreen"],n=[Link],r=0;r<n
;r++){var i=t[r];[Link](i)&&(l[i]=e[i])}},[Link]=function(){return C};var
D={initialize:function(e){[Link]=e,[Link]=[],[Link]=["createCalendarEvent"]
},parse:function(){[Link]?([Link](),[Link](),[Link]
ary(),[Link](),[Link](),[Link](),[Link]
sparency()):[Link]("The object passed to createCalendarEvent cannot be null.");var
e=[Link];return
e&&([Link]=0),0===e},parseDescription:function(){this._processStringValue("de
scription")},parseLocation:function(){this._processStringValue("location")},parseSummary:functio
n(){this._processStringValue("summary")},parseStartAndEndDates:function(){this._processDate
Value("start"),this._processDateValue("end")},parseReminder:function(){var
e=this._getParameter("reminder");e&&(e<0?([Link]("relativeReminder"),[Link]
[Link](parseInt(e)/1e3)):([Link]("absoluteReminder"),[Link](e)
))},parseRecurrence:function(){var
e=this._getParameter("recurrence");e&&([Link](e),[Link]
Frequency(e),[Link](e),[Link](e,"daysInWeek
"),[Link](e,"daysInMonth"),[Link](e,"daysIn
Year"),[Link](e,"monthsInYear"))},parseTransparency:function(){if(this
.[Link]("transparency")){var
e=[Link];S(e,["opaque","transparent"])?([Link]("transparen
cy"),[Link](e)):[Link]("transparency must be opaque or
transparent")}},parseRecurrenceArrayValue:function(e,t){if([Link](t)){var
n=e[t];if(n&&n instanceof Array){var
r=[Link](",");[Link](t),[Link](r)}else [Link](t+" must be an
array.")}},parseRecurrenceInterval:function(e){if([Link]("interval")){var
t=[Link];t?([Link]("interval"),[Link](t)):[Link]("Recurren
ce interval cannot be null.")}else
[Link]("interval"),[Link](1)},parseRecurrenceFrequency:function(e){
if([Link]("frequency")){var
t=[Link];S(t,["daily","weekly","monthly","yearly"])?([Link]("frequency"),[Link]
[Link](t)):[Link]('Recurrence frequency must be one of: "daily", "weekly",
"monthly", "yearly".')}},parseRecurrenceEndDate:function(e){var
t=[Link];t&&([Link]("expires"),[Link](t))},_getParameter:function
(e){return
[Link](e)?[Link][e]:null},_processStringValue:function(e){if(t
[Link](e)){var
t=[Link][e];[Link](e),[Link](t)}},_processDateValue:functio
n(e){if([Link](e)){var
t=this._getParameter(e);[Link](e),[Link](t)}}}}();