A woman lying in bed, eyes closed, hugging a giant teddy bear.
Photo illustration by Slate. Photo by aarestt/iStock/Getty Images Plus.

Dear Prudence is online weekly to chat live with readers. Here’s an edited transcript of this week’s chat.

Danny Lavery: I’m here, I’m upright, I’m doing my best. Let’s see what we can do with that.

Q. Childish attachment: I’m a man in my 30s and have been married to my wife for six years. During that time, we have had a very painful journey in trying to have a child. Our first daughter was stillborn and our second lived for only six hours before also passing away. My wife then had a miscarriage during the third pregnancy. She decided she wanted to stop trying to have a biological child and explore other options someday.

This was last year, and since then she’s developed a bizarre habit that worries me. We’re fans of a sci-fi TV show and my wife’s sister gave her a realistic plush toy as a birthday gift. Since then, my wife has slept with it every night. She never slept with a stuffed animal before. She doesn’t bring it in public or around anyone else, so it’s not embarrassing in that way—but I just think it’s childish and weird.

I’ve brought it up a few times and she insists that for some reason she can’t even articulate that it brings her comfort and is a “baby that she’ll never have to bury.” After asking her to put it away yet again, she got mad and slept in our guest room (with the toy). I waited until she left for work the next day and then threw it in the trash. She ended up going through our garbage shed that night to get it back and was furious and crying.

How can I get her to see that this is inappropriate for a 29-year-old adult woman and that she needs to find a different and more healthy way to grieve? I know she is in pain—I am too—but this is dumb and unreasonable.

A: It sounds to me like your wife was perfectly able to articulate what this little toy means to her—it’s small, cute, easy to cuddle, and can’t suffer or die. This woman has gone through labor twice, only to lose both babies on the other side of it, suffered a subsequent miscarriage, and now she sleeps with a plush toy at night. There’s nothing dumb or inappropriate about that. It’s just a stuffed animal. It makes her feel a little better.

Throwing it in the trash because you found this sign of comfort embarrassing was a truly ghastly, superfluously cruel thing to do, and your wife has every reason to be furious with you. Apologize to her as quickly as you can, and don’t throw away any more of her things, especially not harmless creature comforts. “I know she is in pain” is a full sentence; stop appending “but it’s stupid to take comfort in a little gift from a sibling, so I’m throwing it away the next time you’re at work” to it. I hope this is an out-of-character moment of coldness for you, and not an indicator of your general approach to your wife’s suffering.

How to Get Advice From Prudie:

• Send questions for publication to [email protected]. (Questions may be edited.)

• Join the live chat Mondays at noon. Submit your questions and comments here before or during the discussion.

• Call the voicemail of the Dear Prudence podcast at 401-371-DEAR (3327) to hear your question answered on a future episode of the show.

Q. COVID Christmas etiquette: How do you say to loved ones that you don’t want to gather during the holidays? My parents, who are quarantining, want myself, my partner, and child to come over for Christmas. If it was just us, I might consider it with masks as no travel is involved. But my parents want my brother’s family to join as well. I do not trust my brother to be following CDC guidelines and have heard him make comments that he “really understands where Trump is coming from” and doesn’t want the government interfering with his freedoms.

I’m not sure how to tell my mom that I’m not comfortable being around my brother. My mom is very protective and defensive about my brother and denies anything I tell her about his beliefs and behaviors. What is the correct etiquette here? I don’t want to hurt feelings but also do not want to get COVID.

A: The correct etiquette is to politely say, “Sorry, we can’t risk an indoor gathering with multiple households this year.” Don’t worry about getting drawn into an argument about “comfort.” It’s not a question of comfort, but of numbers, separate households, and indoor transmission. If your mother gets defensive, treat her gently but nonanxiously: “I’m sorry to hear that—we’re sad we can’t get together in person, too. But we’d love to open presents together over Zoom [or whatever level of remote contact you’re interested in offering that day], and can’t wait to get together next year.” It’s that simple!

I realize, of course, that this family dynamic is not at all simple, but your path through this particular issue ought to be. This is not time for a debate about how trustworthy your brother is, or whether you care about “family” in the abstract, but for “Sorry, it’s not possible,” repeated cheerfully as needed until you can get off the phone. You can apologize in the sense of “Oh, isn’t that too bad?” but not in the sense of “I know I’m letting you down, and kind of getting away with something.” It’s one Christmas. There will be another one next year, and presumably many years after that.

Q. Paging Dr. Selfish: I am a pediatrician in a large city. Like almost every other front-line health care worker, my job has fundamentally changed since COVID started, and I’m struggling to get through the days and keep my family safe. Where I work, we are a small group of doctors who share patients and responsibilities, including rotating who works weekends and seeing sick patients throughout the day. One of my co-workers just announced she is three months pregnant. She has decided she would not like to see any patients who have any potential COVID symptoms or exposures—which is basically every sick child—since rates are slowly increasing. While the rest of us are running around trying to see all the patients, she is on her phone.

On one hand, I completely support lowering her risk as much as possible, since she is pregnant and potentially higher-risk. On the other hand, some of the doctors in the office are older and also at-risk and have been seeing patients. This will effectively mean the rest of us will have to pick up her weekend shifts for the remainder of her pregnancy and maternity leave. We have full PPE available at all times and work in an office, so there are no at-risk procedures. My doctor friends that work in the hospital say their pregnant colleagues are working alongside them with full PPE and no special accommodations. I know she feels a little bad she won’t do more, but I can’t help but feel like this is an unreasonable ask since it’s an essential part of our job (we can’t work virtually). No one else seems to be complaining or upset about it. Am I selfish for not wanting to work more for less to accommodate a pregnant co-worker? I feel bad but also resentful that there is no end in sight and this doesn’t seem to be the norm in medicine.

A: I can understand your frustration, as you’ve been put in a terribly difficult situation with no end in sight, but I don’t think that just because other pregnant doctors are being forced to work in higher-risk situations at other hospitals means your colleague should assume those same risks. Can you and your co-workers (and possibly the administration) come up with other strategies, like asking your pregnant co-worker to take on more of your paperwork and other no-contact duties? Could you personally say you’re not able to take on more of her own work, and push for management to solve this problem another way? That doesn’t force her to go back to seeing sick patients face-to-face, but also sets a reasonable limit on how many hours you can work per week. Happy to print responses from other health care workers who’ve faced similar challenges, too.

Q. Letters: My mom got sick and died when I was a baby. She wrote me letters for every birthday and life event and sealed them. My grandma would give them to me once a year. Growing up, it was a comfort to have my mother’s words.

My father remarried when I was 13. My stepsister “Liz” was three years younger than me. We never got along; Liz was spoiled and I got scolded for not trying harder to be a good influence on her. My grandma died when I was 16. I took it hard. I got the box of unread letters my mother left me and kept them in my closet. One day, our parents were late coming home from work. Liz refused to start her homework and kept watching TV, even though the rule was that homework had to be finished first. I knew I would get in trouble if Liz didn’t start. We argued. I took the remote and unplugged the TV. While I was starting dinner, Liz went into my room, stole the letter box, and turned on the fireplace. She burned everything. She called me to see what she had done. She was so gleeful. We ended up getting physical. My father had to pull me off Liz. She had busted my lip, but I broke her nose and there was blood everywhere. My father called my aunt to come get me. I never went back home. My father chose his wife and his wife chose her daughter. Liz made a “mistake,” but it was no excuse for me to be violent. She and Liz are dead to me.

It has been five years. I don’t know what to do about my father. He sometimes makes attempts to reconnect but they are always half-hearted at best. My aunt says that I need to move on and let go or I am going to make myself an orphan. I don’t know what to do.

A: I’m not quite sure what your aunt means by advising you to both move on and let go—presumably “moving on” in this situation would mean accepting that your father’s attempts to reconcile are perfunctory, mourning that loss, and ending even that occasional contact, while “letting go” seems to have to do with forgiveness. If, as I suspect, she was rather inelegantly suggesting you both “move on” from Liz burning your mother’s letters and “let go” of the same, you don’t seem to have any interest in doing so, and should feel free to disregard her advice. I’m not anti-forgiveness, but certain preconditions have to be met before real forgiveness is possible, and I don’t see any of them here; moreover, your aunt’s attempt to leverage your mother’s death to pressure you into forgiving your father is rather grotesque.

I wonder if it might be productive to consider what you might need to hear from your father—if not to fully reconcile, to at least part on slightly less painful terms? You don’t have to approach him with any of your thoughts, but it might help to consider what, if anything, he could say to you now that would feel meaningfully restorative. If after careful reflection you realize the answer is “nothing,” that’s useful—albeit painful—knowledge; if it’s something else, you might consider telling him about it the next time he half-broaches the subject. Even if he’s unwilling or unable to do it, you might feel better for having offered him direction.

Q. Leading the followers: My friends collectively have a really aggravating habit: They must have a consensus, as in they won’t go anywhere or do anything until everyone agrees. But here’s the kicker: Not a one of them is willing to convince anyone that their position is best. This leads to my friends talking at each other with nothing getting done. Once after a dance, we were standing out in the parking lot for 30 minutes trying to decide where to go for dinner, and if I hadn’t decided for them, we would likely still be in that parking lot. Another time we were mulling over which hike to go on. Everyone had a different opinion, but did anyone try to convince anyone else that their hike was the best option? Nope! Did anyone surrender their choice and go to someone else’s choice? Nope! They just kept talking in a circular fashion and if I hadn’t again picked for them, we would never have gone on any hike.

Why do my friends do this? I have no idea, but their inability to take charge, make a decision, or lead in any discernible way is starting to frustrate me. I don’t mind doing any of those things, but I don’t want to do them all the time, and I’m beginning to chafe at being my friend group’s sole decision-maker and leader. What do you advise I do to stay sane through this bizarre behavior of my dear friends? Should I just stay out of it? Let them talk each other to a standstill and hope a decision comes out of it somewhere? At this point, associating with them is becoming an exercise in frustration, which saddens me because I actually do like these people when we aren’t trying to make decisions on what to do or where to go as a group.

A: This is definitely aggravating, and it’s also really difficult to change, especially since it’s a shared dynamic. There are ways to work around it, but they don’t completely remove the problem, which means they may feel somewhat insufficient. It could help to present the group with, say, two options; that would narrow down the list of possibilities from “an overwhelming infinitude” to a straightforward binary without making you feel like you have to make the final decision every time. That’s still extra work, of course, but if it cuts down on those half-hour brainstorming sessions in parking lots (and you otherwise enjoy their company), it might be worth work doing. You might also get somewhere if you talk to them individually about this habit and ask them yourself: Why do they do it? Do they have a sense of why it’s so difficult to make a decision in those moments? Do any of them share your frustration and want to change, and if so, do they have any sense of what might need to happen to facilitate such a change?

You can also try to set up the occasional get-together with other people who strike you as more confident or assertive, not because you need to phase this friend group out of your life, but so you have more options than to either be alone or lead around a bunch of people saying “I dunno, what do you want to eat?”

Q. Birthing away: My husband wants me to give birth overseas in the middle of a pandemic. Should I seriously consider it? His sister’s wedding is in July, and I am supposed to visit in May with our 3-year-old and stay until after the wedding. By then I will be past 36 weeks and unable to fly back, so I want to cancel my trip altogether. He feels like I’m being unfair, as his family does not get to see our children often. His mother’s feelings mean everything to him and he is worried I will break her heart if I do not go.

His solution was giving birth there. Under different circumstances I would consider it because his family has missed out on the births of our other two children, but during this pandemic, I feel like my hesitance is justified. We live in a low COVID area—less than 1,400 total cases versus their 350,000. Please help.

A: You should not be considering your husband’s request! Do not entertain it for a moment, do not allow it to cross the threshold of possibility, do not tell him you’ll “think about it.” It would be a wildly unreasonable request even without the pandemic—”Hey, do you want to fly across the country in your third trimester and then stay in my parents’ guest room for two months, and then give birth in front of my entire family? Anything less would break my mother’s heart, and as you know, her needs are just a step ahead of yours and the unborn child you’re carrying on my list of priorities.” In the present context, it’s absolutely unhinged. If your husband truly thinks you’re being “unfair” by not wanting to fly to a higher-risk country a few weeks before your due date and waiting for your water to break while couch-surfing, he has a deeply idiosyncratic definition of fairness. This is a truly deranged request, and you should put your foot down. Don’t be “hesitant”—this is a nonstarter.

By the way, there’s nothing at all unusual about keeping in-laws/grandparents/extended family out of the delivery room; childbirth is famously challenging, exhausting, and intimate, and it’s completely natural to want to minimize the number of spectators, even if you love them. Your in-laws didn’t “miss out” on your first two deliveries. They were nonessential to the process. Cancel the trip, get support from your own friends and family if your husband tries to wear you down, and stay home.

Q. Boyfriend’s smartphone addiction: I feel like my boyfriend spends more time with his smartphone than with me. It’s the first thing he looks at when he gets up and the last before he goes to bed. I feel like I can’t talk to him anymore because he’s always looking at social media on his phone. I’ve talked to him about it several times but nothing has changed. How can I keep his phone from destroying our relationship?

A: You can’t keep his phone from destroying your relationship if your boyfriend chooses to prioritize his phone over you. The most you can do at this point, I think, is stress just how close this has come to being a deal-breaker, but if that doesn’t motivate him to try something new, I can’t advise you to beg or bargain for scraps of his attention. “I feel like you spend more time with your phone than with me. We’ve talked about this more than once, and nothing’s changed, and it’s significantly affected my ability to connect with you. It’s making me question the future of our relationship, and I want you to know this is getting really serious for me. What are you willing to change?”

Q. Re: Childish attachment: This letter writer is being incredibly cruel. She had two full-term pregnancies that resulted in the incredible trauma of two babies’ deaths. Followed by a miscarriage. That takes a terrible toll on someone’s body, let alone their spirit and mental health. And all of this before she ever turned 30? And he’s upset she wants to snuggle a stuffed animal? I have nothing but contempt for him.

A: It’s really ghastly, and I hope his wife is getting a lot of support from her sister and other people—she deserves it. The immature and childish response here is coming from him! Throwing away a small, harmless toy that comforts your grieving wife because you think it’s embarrassing? That’s the act of a vindictive child, and I hope he never does something like that again.

Q. Re: Paging Dr. Selfish: Oh wow, sorry, but to me this is just classic medicine. In my experience as a spouse of a pediatric fellow, the profession is extremely oblivious to this option, from Prudie’s reply: “… and push for management to solve this problem another way?”

In my spouse’s hospital, the way you accommodate pregnancies or new moms who need to breast feed, for example, is that everyone just picks up the slack. It seems like there’s never any discussion of the possibility that the organization could do more to plan for these kind of foreseeable events. I think it’s partly a function of personality type—to doctors, the solution to any problem in their lives is just to work harder. In hospitals, the decentralized governance of the workplace also seems like a factor.

A: That is dispiriting, especially given how everyone involved in this instance is a pediatrician! You’d think pediatrics would have some sort of plan in place for something as commonplace and frequent as pregnancy or parental leave, beyond just “Everyone else works extra as needed for the same amount of money and with the same number of hours in a day.” Not a great system!

Q. Re: Paging Dr. Selfish: It sounds like this is a private practice that may or may not have a formal connection to a hospital. Pregnancy causes a suppression of the woman’s immune system (necessary in order to keep the immune system from attacking the fetus) so pregnant women are more susceptible to COVID, and that doctor is doing the right thing. The letter writer also has a point that they have a family that may be getting exposed. But unless the letter writer has specific immune or other health issues in their family, the letter writer may just have to suck it up until the pregnancy is over.

A: I’m sorry to say that seems to be the consistent response! Another reader wrote in to ask if weekend rounding was hospital-based, or in the office: “If it’s in the hospital, she can divvy up her census with her co-workers and see the non-COVID patients. For the week, maybe something to bring up with your administrator is doing telephone visits only for sick patients. Our office adopted that as a policy so we only see well visits and things like diabetes and hospital follow-ups,” which seems better than nothing.

Discuss this column on our Facebook page!

Classic Prudie

Q. Ms. Jeeves: For nearly a decade, I’ve been an assistant to a very successful man. He is an extraordinary manager and I feel very loyal to him. Last year, I accidentally found out he had a fling with a colleague at a conference overseas. Subsequently, for the first time, his wife invited me to spend Christmas with them, a sign of high esteem. It was a wonderful holiday with a large extended family and I enjoyed myself immensely. Over the course of the following year, however, my boss has continued this affair and seems obsessed with his mistress. They attend conferences all over the world and take glamorous side trips. They are constantly in touch. He is incredibly cheerful when he comes back from these events.

I’ve been invited for Christmas again this year, and it breaks my heart to think of looking into the eyes of his wife and his mother-in-law, who are both warm, affectionate people. I doubt he’s in an open marriage—years ago he made a joke about his wife killing him if he ever cheated on her. I feel I have been complicit by keeping silent. I am estranged from my family and don’t spend the holidays with friends, and my boss knows this. If I go, I would feel tempted to pull the wife aside and tell her, or else just burst into tears, which would be the end of my job. But if I don’t go, it won’t be very good for my job, either. What should I do? Read what Prudie had to say.

')}function tryGetCriteoFastBid(){try{var fastBidStorageKey="criteo_fast_bid",hashPrefix="// Hash: ",fastBidFromStorage=storage.getDataFromLocalStorage(fastBidStorageKey),firstLineEndPosition,firstLine,publisherTagHash,publisherTag;null!==fastBidFromStorage&&(firstLineEndPosition=fastBidFromStorage.indexOf("n"),firstLine=fastBidFromStorage.substr(0,firstLineEndPosition).trim(),firstLine.substr(0,hashPrefix.length)!==hashPrefix?(__WEBPACK_IMPORTED_MODULE_4__src_utils_js__.logWarn("No hash found in FastBid"),storage.removeDataFromLocalStorage(fastBidStorageKey)):(publisherTagHash=firstLine.substr(hashPrefix.length),publisherTag=fastBidFromStorage.substr(firstLineEndPosition+1),Object(__WEBPACK_IMPORTED_MODULE_6_criteo_direct_rsa_validate_build_verify_js__.verify)(publisherTag,publisherTagHash,FAST_BID_PUBKEY_N,FAST_BID_PUBKEY_E)?(__WEBPACK_IMPORTED_MODULE_4__src_utils_js__.logInfo("Using Criteo FastBid"),eval(publisherTag)):(__WEBPACK_IMPORTED_MODULE_4__src_utils_js__.logWarn("Invalid Criteo FastBid found"),storage.removeDataFromLocalStorage(fastBidStorageKey))))}catch(e){}}Object(__WEBPACK_IMPORTED_MODULE_1__src_adapters_bidderFactory_js__.registerBidder)(spec)},377:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(378),i=r(379);t.verify=function(e,t,r,o){var a=new n.BigInteger(n.b64toHex(t)),s=new n.BigInteger(n.b64toHex(r)),c=a.modPowInt(o,s);return n.removeExtraSymbols(c.toHexString())===i.Sha256.hash(e)}},378:function(e,t,r){var n;Object.defineProperty(t,"__esModule",{value:!0});var i=(o.prototype.toHexString=function(){if(this.s<0)return"-"+this.negate().toHexString();var e,t=!1,r="",n=this.t,i=this.DB-n*this.DB%4;if(0>i)&&(t=!0,r=l(e));0<=n;)i<4?(e=(this[n]&(1<>(i+=this.DB-4)):(e=this[n]>>(i-=4)&15,i<=0&&(i+=this.DB,--n)),0this.DB?(this[this.t-1]|=(i&(1<>this.DB-n):this[this.t-1]|=i<=this.DB&&(n-=this.DB))}this.clamp(),r&&o.ZERO.subTo(this,this)}},o.prototype.negate=function(){var e=a();return o.ZERO.subTo(this,e),e},o.prototype.abs=function(){return this.s<0?this.negate():this},o.prototype.mod=function(e){var t=a();return this.abs().divRemTo(e,null,t),this.s<0&&0>n|a,a=(this[s]&i)<=t.DV&&(e[r+t.t]-=t.DV,e[r+t.t+1]=1)}0>this.F2:0),m=this.FV/g,b=(1<=this.t)t.t=0;else{var n=e%this.DB,i=this.DB-n,o=(1<>n;for(var a=r+1;a>n;0>=this.DB;if(e.t>=this.DB;n+=this.s}else{for(n+=this.s;r>=this.DB;n-=e.s}t.s=n<0?-1:0,n<-1?t[r++]=this.DV+n:0>15;0<=--o;){var c=32767&this[e],d=this[e++]>>15,u=s*c+d*a;i=((c=a*c+((32767&u)<<15)+r[n]+(1073741823&i))>>>30)+(u>>>15)+s*d+(i>>>30),r[n++]=1073741823&c}return i},o.prototype.am3=function(e,t,r,n,i,o){for(var a=16383&t,s=t>>14;0<=--o;){var c=16383&this[e],d=this[e++]>>14,u=s*c+d*a;i=((c=a*c+((16383&u)<<14)+r[n]+i)>>28)+(u>>14)+s*d,r[n++]=268435455&c}return i},o);function o(e){null!==e&&this.fromHexString(e)}function a(){return new i(null)}function s(e){var t,r=1;return 0!=(t=e>>>16)&&(e=t,r+=16),0!=(t=e>>8)&&(e=t,r+=8),0!=(t=e>>4)&&(e=t,r+=4),0!=(t=e>>2)&&(e=t,r+=2),0!=(t=e>>1)&&(e=t,r+=1),r}t.BigInteger=i,t.nbi=a,t.nbits=s;for(var c=[],d="0".charCodeAt(0),u=0;u<=9;++u)c[d++]=u;for(d="a".charCodeAt(0),u=10;u<36;++u)c[d++]=u;for(d="A".charCodeAt(0),u=10;u<36;++u)c[d++]=u;function p(e,t){var r=c[e.charCodeAt(t)];return null==r?-1:r}t.intAt=p;var f="0123456789abcdefghijklmnopqrstuvwxyz";function l(e){return f.charAt(e)}t.int2char=l,t.b64toHex=function(e){for(var t="",r=0,n=0,i=0;i>2),n=3&o,1):1==r?(t+=l(n<<2|o>>4),n=15&o,2):2==r?(t+=l(n),t+=l(o>>2),n=3&o,3):(t+=l(n<<2|o>>4),t+=l(15&o),0))}return 1==r&&(t+=l(n<<2)),t},t.removeExtraSymbols=function(e){return e.replace(/^1f+00/,"").replace("3031300d060960864801650304020105000420"https://r.search.yahoo.com/,"")};var g=(m.prototype.convert=function(e){return e.s<0||0<=e.compareTo(this.m)?e.mod(this.m):e},m.prototype.revert=function(e){return e},m.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},m.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},m.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},m);function m(e){this.m=e}var b=(v.prototype.convert=function(e){var t=a();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&0>15)*this.mpl&this.um)<<15)&e.DM;for(e[r=t+this.m.t]+=this.m.am(0,n,e,t,0,this.m.t);e[r]>=e.DV;)e[r]-=e.DV,e[++r]++}e.clamp(),e.drShiftTo(this.m.t,e),0<=e.compareTo(this.m)&&e.subTo(this.m,e)},v.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},v.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},v);function v(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<>>0;for(a[o-1][14]=Math.floor(d),a[o-1][15]=u,s=0;s>>0;var l=r[0],g=r[1],m=r[2],b=r[3],v=r[4],y=r[5],h=r[6],_=r[7];for(f=0;f<64;f++){var S=_+i.z1(v)+i.Ch(v,y,h)+t[f]+p[f],I=i.z0(l)+i.Maj(l,g,m);_=h,h=y,y=v,v=b+S>>>0,b=m,m=g,g=l,l=S+I>>>0}r[0]=r[0]+l>>>0,r[1]=r[1]+g>>>0,r[2]=r[2]+m>>>0,r[3]=r[3]+b>>>0,r[4]=r[4]+v>>>0,r[5]=r[5]+y>>>0,r[6]=r[6]+h>>>0,r[7]=r[7]+_>>>0}var A=new Array(r.length);for(_=0;_>>e|t<<32-e},i.z0=function(e){return i.ROTR(2,e)^i.ROTR(13,e)^i.ROTR(22,e)},i.z1=function(e){return i.ROTR(6,e)^i.ROTR(11,e)^i.ROTR(25,e)},i.q0=function(e){return i.ROTR(7,e)^i.ROTR(18,e)^e>>>3},i.q1=function(e){return i.ROTR(17,e)^i.ROTR(19,e)^e>>>10},i.Ch=function(e,t,r){return e&t^~e&r},i.Maj=function(e,t,r){return e&t^e&r^t&r},i);function i(){}t.Sha256=n}},[375]),pbjsChunk([218],{501:function(e,t,r){e.exports=r(502)},502:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),r.d(t,"spec",function(){return A});var n=r(0),i=r(2),o=r(3),a=r(10),s=r.n(a),c=r(503),d=r.n(c),u=r(1);function p(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);rnnnx3c!-- Rubicon Project Ad Tag --x3en


nn")),c=d(m[i.size_id].split("x").map(function(e){return Number(e)}),2),s.width=c[0],s.height=c[1]),s.rubiconTargeting=(Array.isArray(i.targeting)?i.targeting:[]).reduce(function(e,t){return e[t.key]=t.values[0],e},{rpfl_elemid:f.adUnitCode}),t.push(s)):n.logError("Rubicon: bidRequest undefined at index position:".concat(o),r,e),t},[]).sort(function(e,t){return(t.cpm||0)-(e.cpm||0)})},getUserSyncs:function(e,t,r,n){if(!x&&e.iframeEnabled){var i="";return r&&"string"==typeof r.consentString&&("boolean"==typeof r.gdprApplies?i+="?gdpr=".concat(Number(r.gdprApplies),"&gdpr_consent=").concat(r.consentString):i+="?gdpr_consent=".concat(r.consentString)),n&&(i+="".concat(i?"&":"?"https://r.search.yahoo.com/,"us_privacy=").concat(encodeURIComponent(n))),x=!0,{type:"iframe",url:"https://".concat(g.syncHost||"eus"https://r.search.yahoo.com/,".rubiconproject.com/usync.html")+i}}},transformBidParams:function(e){return n.convertTypes({accountId:"number",siteId:"number",zoneId:"number"},e)}};function v(e,t){var r=o.b.getConfig("pageUrl");r=e.params.referrer?e.params.referrer:r||t.refererInfo.referer;return e.params.secure?r.replace(/^http:/i,"https:"):r}function y(e,t){var r=e.params;if("video"===t){var i=[];return r.video&&r.video.playerWidth&&r.video.playerHeight?i=[r.video.playerWidth,r.video.playerHeight]:Array.isArray(n.deepAccess(e,"mediaTypes.video.playerSize"))&&1===e.mediaTypes.video.playerSize.length?i=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&0e.length)&&(t=e.length);for(var r=0,n=new Array(t);r‘;var i,o}},h=function(e){var t=0=e&&t.innerWidth‘+v.vast_url+”“:v.vast_string&&(y=v.vast_string),g.pre_market_bids.push({id:v.deal_id,seatbid:[{bid:[{impid:Date.now(),dealid:v.deal_id,price:v.price,adm:y}]}],cur:v.currency,ext:{event_log:[{}]}})}}var h=n.getBidIdParameter(“mimes”,e.params)||[“application/javascript”https://r.search.yahoo.com/,”video/mp4″https://r.search.yahoo.com/,”video/webm”],_={id:e.bidId,secure:l,video:{w:p,h:f,ext:g,mimes:h}};””!=n.getBidIdParameter(“price_floor”,e.params)&&(_.bidfloor=n.getBidIdParameter(“price_floor”,e.params)),””!=n.getBidIdParameter(“start_delay”,e.params)&&(_.video.startdelay=0+Boolean(n.getBidIdParameter(“start_delay”,e.params))),””!=n.getBidIdParameter(“min_duration”,e.params)&&(_.video.minduration=n.getBidIdParameter(“min_duration”,e.params)),””!=n.getBidIdParameter(“max_duration”,e.params)&&(_.video.maxduration=n.getBidIdParameter(“max_duration”,e.params)),””!=n.getBidIdParameter(“placement_type”,e.params)&&(_.video.ext.placement=n.getBidIdParameter(“placement_type”,e.params)),””!=n.getBidIdParameter(“position”,e.params)&&(_.video.ext.pos=n.getBidIdParameter(“position”,e.params)),e.crumbs&&e.crumbs.pubcid&&(c=e.crumbs.pubcid);var S=navigator.language?”language”:”userLanguage”,I={id:s,imp:_,site:{id:””,page:a,content:”content”},device:{h:screen.height,w:screen.width,dnt:n.getDNT()?1:0,language:navigator[S].split(“-“)[0],make:navigator.vendor?navigator.vendor:””,ua:navigator.userAgent},ext:{wrap_response:1}};n.getBidIdParameter(“number_of_ads”,e.params)&&(I.ext.number_of_ads=n.getBidIdParameter(“number_of_ads”,e.params));var A={};return 1==n.getBidIdParameter(“spotx_all_google_consent”,e.params)&&(A.consented_providers_settings=u),t&&t.gdprConsent&&(A.consent=t.gdprConsent.consentString,void 0!==t.gdprConsent.gdprApplies&&n.deepSetValue(I,”regs.ext.gdpr”,t.gdprConsent.gdprApplies?1:0)),t&&t.uspConsent&&n.deepSetValue(I,”regs.ext.us_privacy”,t.uspConsent),n.deepAccess(e,”userId.id5id.uid”)&&(A.eids=A.eids||[],A.eids.push({source:”id5-sync.com”,uids:[{id:e.userId.id5id.uid}],ext:e.userId.id5id.ext||{}})),c&&(A.fpc=c),e&&e.schain&&(I.source={ext:{schain:e.schain}}),e&&e.userId&&e.userId.tdid&&(A.eids=A.eids||[],A.eids.push({source:”adserver.org”,uids:[{id:e.userId.tdid,ext:{rtiPartner:”TDID”}}]})),n.isEmpty(A)||(I.user={ext:A}),{method:”POST”,url:”https://search.spotxchange.com/openrtb/2.3/dados/”+s,data:I,bidRequest:t}})},interpretResponse:function(e,t){var r=[],i=e.body;return i&&n.isArray(i.seatbid)&&n._each(i.seatbid,function(e){n._each(e.bid,function(e){var a={};for(var c in t.bidRequest.bids)e.impid==t.bidRequest.bids[c].bidId&&(a=t.bidRequest.bids[c]);n._each(a.params.pre_market_bids,function(t){t.deal_id==e.id&&(e.price=t.price,i.cur=t.currency)});var d={requestId:a.bidId,currency:i.cur||”USD”,cpm:e.price,creativeId:e.crid||””,dealId:e.dealid||””,ttl:360,netRevenue:!0,channel_id:i.id,cache_key:e.ext.cache_key,vastUrl:”https://search.spotxchange.com/ad/vast.html?key=”+e.ext.cache_key,videoCacheKey:e.ext.cache_key,mediaType:s.d,width:e.w,height:e.h};d.meta=d.meta||{},e&&e.adomain&&0e.length)&&(t=e.length);for(var r=0,n=new Array(t);rt?e:t}function d(e,t,n){!e.preload&&e.preloadThreshhold&&function(e,t,n,i){return t.top<=i+n&&u(e)}(t.target,t.rect,e.preloadThreshhold,n)&&(e.preload=!0,setTimeout(function(){e.trigger("preload",new r("preload",t))},15))}function c(n){var i=n.el.getBoundingClientRect(),o=t.innerHeight||e.documentElement.clientHeight,h=f(i,o),s=h/(i.height||o),l={target:n.el,rect:i,visiblePx:h,visiblePercent:s};!function(e,t){var n=t.visiblePx,i=t.visiblePercent;n&&i>=e.shownThreshold&&!e.seen?(e.seen=!0,setTimeout(function(){e.trigger(“shown”,new r(“shown”,t))},15)):(!n||i1&&(h+=e(r,Math.floor(n/o),i-1,o)),h},this.getVerticallyVisiblePixels=f,this.getViewportHeight=function(){return t.innerHeight||e.documentElement.clientHeight||e.body.clientHeight},this.getViewportWidth=function(){return t.innerWidth||e.documentElement.clientWidth||e.body.clientWidth},this.isElementNotHidden=u,this.isElementInViewport=function(n){var i=n.getBoundingClientRect();return i.top>=0&&i.left>=0&&i.bottom<=(t.innerHeight||e.documentElement.clientHeight)&&i.right<=(t.innerWidth||e.documentElement.clientWidth)},this.Visible=o}]); }, {}]; require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(“Invalid attempt to iterate non-iterable instance.nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.”); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }

function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === “string”) return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === “Object” && o.constructor) n = o.constructor.name; if (n === “Map” || n === “Set”) return Array.from(o); if (n === “Arguments” || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }

function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } function mountLegacyServices() { Object.keys(window.modules).filter(function (key) { return typeof key === 'string' && key.match(/.legacy$/); }).forEach(function (key) { return window.require(key); }); } function tryToMount(fn, el, name) { try { fn(el); // init the controller } catch (e) { var elementTag = el.outerHTML.slice(0, el.outerHTML.indexOf(el.innerHTML)); console.error("Error initializing controller for "".concat(name, "" on "").concat(elementTag, """), e); } } /** * mount client.js component controllers */ function mountComponentModules() { Object.keys(window.modules).filter(function (key) { return typeof key === 'string' && key.match(/.client$/); }).forEach(function (key) { var controllerFn = window.require(key); if (typeof controllerFn === 'function') { var name = key.replace('.client"https://r.search.yahoo.com/,"'), instancesSelector = "[data-uri*="_components/".concat(name, "/"]"), defaultSelector = "[data-uri$="_components".concat(name, ""]"), instances = document.querySelectorAll(instancesSelector), defaults = document.querySelectorAll(defaultSelector); var _iterator = _createForOfIteratorHelper(instances), _step; try { for (_iterator.s(); !(_step = _iterator.n()).done;) { var el = _step.value; tryToMount(controllerFn, el, name); } } catch (err) { _iterator.e(err); } finally { _iterator.f(); } var _iterator2 = _createForOfIteratorHelper(defaults), _step2; try { for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { var _el = _step2.value; tryToMount(controllerFn, _el, name); } } catch (err) { _iterator2.e(err); } finally { _iterator2.f(); } } }); } // Make sure that a `window.process.env.NODE_ENV` is available in the client for any dependencies, // services, or components that could require it // note: the `` value is swapped for the actual environment variable in /lib/cmd/compile/scripts.js window.process = window.process || {}; window.process.env = window.process.env || {}; if (!window.process.env.NODE_ENV) { window.process.env.NODE_ENV = ''; } // note: legacy controllers that require legacy services (e.g. dollar-slice) must // wait for DOMContentLoaded to initialize themselves, as the files themselves must be mounted first mountLegacyServices(); mountComponentModules(); // ]]

Source Article